*{
  outline: unset !important;
}
html{
    scroll-behavior: smooth;
}
body {
    background-color: #f5f2f2;
    overflow-x: hidden;
  }
  body.urdu__text.back_img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffffe8;
    z-index: -1;
  }
  body.eng__text.back_img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffffe8;
    z-index: -1;
  }
  /* --------------------arabic te  xt starts----------------------------- */
  .arabic__text h1,
  .arabic__text h3,
  .arabic__text p {
    font-family: "Al_Mushaf";
  }
  .arabic__text h1 {
    font-size: 28px !important;
  }
  .arabic__text h3 {
    font-size: 22px !important;
  }
  .arabic__text .checkfont {
    text-align: right;
    font-family: "Al_Mushaf";
  }

  .arabic__text a.menu_tab {
    font-size: 22px !important;
    color: #000 !important;
  }
  .arabic__text .slick-dots {
    direction: ltr;
    text-align: center;
  }
  .arabic__text .isotop-btn {
    font-size: 14px;
    width: 80%;
    position: absolute;
    display: flex;
    justify-content: space-between;
    font-family: "Al_Mushaf";
    font-weight: bold;
    padding: 5px 10px;
  }
  .arabic__text .lang_font {
    font-family: "Al_Mushaf";
    font-size: 18px;
    font-weight: bold;
  }
  .arabic__text .foot_mid_sec > p {
    font-family: "Open Sans", sans-serif;
  }
  .arabic__text .foot_logo_st > p {
    font-family: "Open Sans", sans-serif;
  }
  .arabic__text .foot_inner_text {
    font-family: "Open Sans", sans-serif;
    font-size: 18px !important;
  }
  .arabic__text .font_ch_auto {
    font-family: "Al_Mushaf" !important;
  }
  .arabic__text .font_ch_auto_res {
    font-family: "Al_Mushaf" !important;
    font-size: 16px;
    color: #fff;
    margin-left: 3px;
  }
  .arabic__text .text_upper {
    line-height: 28px;
    font-size: 29px !important;
    margin-top: 10px;
  }
  .arabic__text .text_upper {
    line-height: 13px;
    font-size: 38px !important;
  }
  .arabic__text .urdu_dir_nav {
    direction: rtl;
    font-size: 22px;
  }
  .arabic__text .urdu_dir_nav_sub {
    margin-left: auto;
  }
  .arabic__text .desk__search__bar {
    text-align: right !important;
    font-size: 16px;
  }
  .arabic__text .desk__search__bar a {
    display: block;
    padding: 5px 7px;
  }
  .arabic__text .select2-results__option {
    font-size: 15px;
    font-family: "Open Sans", sans-serif !important;
  }
  /* --------------------arabic text ends----------------------------- */
  /* --------------------urdu text starts----------------------------- */
  .home_class a{
    color: #ffffff;
    height: fit-content;
    display: block;
    width: fit-content;
    margin-left: auto;
    background: radial-gradient(#214a33, #214a33cc);
    padding: 3px;
  }
.custom{
    width: 100%;
    height: 100%;
    font-size: 22px;
    background: #0b9444;
    color: white;
    padding: 6px;
    border-radius: 0.6rem;
    text-align: center;
}
.form_custom:focus{
    color: unset !important;
    background: white !important;
    border-color: #0b9444 !important;
    outline: unset !important;
}
.form_custom{
    background: white;
    border: 1px solid #0b9444;
    border-radius: 0.6rem;
}
.card_custom{
    border: 2px solid #176637;
    border-radius: 23px;
    padding: 15px
}
.table_custom{
    border: 2px solid #0b9444;
    padding: 5px;
    border-radius: 20px;
}

.table-bordered td, .table-bordered th{
    border: 2px solid #f5f2f2 !important;
    background: #efefef;
}
  .urdu__text h1,
  .urdu__text h3,
  .urdu__text p,
  .urdu__text ul,
  .urdu__text li {
    font-family: 'Mehr Nastaliq Web 3' !important;
  }

  .urdu__text .offcanvas-body-wrapper {
    font-family: 'Mehr Nastaliq Web 3' !important;
  }
  .urdu__text h1 {
    font-size: 32px !important;
    text-align: center;
  }
  .urdu__text h3 {
    font-size: 22px ;
  }
  .urdu__text .checkfont {
    text-align: right;
    font-family: 'Mehr Nastaliq Web 3' !important;
  }
  .urdu__text a.menu_tab {
    font-size: 22px !important;
    color: #000 !important;
  }
  .urdu__text .slick-dots {
    direction: ltr;
    text-align: center;
  }
  .urdu__text .isotop-btn {
    font-size: 22px;
    width: 80%;
    position: absolute;
    display: flex;
    justify-content: space-between;
    font-family: 'Mehr Nastaliq Web 3' !important;
    padding: 5px 10px !important;
  }
  .urdu__text .lang_font {
    font-family: "Mehr Nastaliq Web 3";
    font-weight: bold;
  }
  .urdu__text .foot_mid_sec > p {
    font-family: "Open Sans", sans-serif !important;
  }
  .urdu__text .foot_logo_st > p {
    font-family: "Open Sans", sans-serif !important;
  }
  .urdu__text .foot_inner_text {
    font-family: "Open Sans", sans-serif !important;
    font-size: 18px !important;
    text-align: center;
  }
  .urdu__text .font_ch_auto {
    font-family: 'Mehr Nastaliq Web 3' !important;
  }
  .urdu__text .font_ch_auto_res {
    font-family: 'Mehr Nastaliq Web 3' !important;
    font-size: 19px;
    color: #fff;
    margin-left: 10px;
  }
  .urdu__text .text_upper {
    line-height: 13px;
    font-size: 38px !important;
  }
  .urdu__text .urdu_dir_nav {
    direction: rtl;
    font-size: 22px;
  }
  .urdu__text .urdu_dir_nav_sub {
    margin-left: auto;
  }
  .urdu__text .desk__search__bar {
    text-align: right !important;
    font-size: 16px;
  }
  .urdu__text .desk__search__bar a {
    display: block;
    padding: 6px 15px 8px 15px;
  }
  .urdu__text .select2-results__option {
    font-size: 15px;
    /* font-family: "Open Sans", sans-serif !important; */
  }

  .urdu__text .res__search__bar_two {
    width: 82px;
    top: 54%;
  }
  @media (max-width: 1280px) {
    .urdu__text .res__search__bar_two {
      width: 91px;
      top: 55%;
    }
  }
  @media (max-width: 1200px) {
    .urdu__text .isotop-btn {
      font-size: 18px;
    }
  }
  @media (max-width: 991px) {
    .urdu__text .isotop-btn {
      font-size: 22px;
    }
    .urdu__text .switch_align {
      margin-right: -14px;
    }
    .urdu__text .desk__search__bar {
      margin-bottom: 20px;
    }
    .urdu__text .res__search__bar {
      top: 45%;
      width: 7%;
    }
  }
  @media (max-width: 768px) {
    .urdu__text .res__search__bar {
      top: 45%;
      width: 9%;
    }
    .margin_none{
        margin: 0px !important;
    }
    .logo_custom{
        width: 50% !important;
    }
  }
  @media (max-width: 767px) {
    .urdu__text .isotop-btn {
      font-size: 22px;
      width: 100%;
      display: flex;
      justify-content: right;
    }
    .urdu__text .topic-box-lg {
      left: 0px !important;
    }
    .urdu__text .sh_bc {
      padding: 3px 7px !important;
      margin-top: 0px !important;
    }
  }

  @media (max-width: 600px) {
    .urdu__text .res__search__bar_one {
      top: 49%;
      width: 69px;
    }
    .urdu__text .res__search__bar {
      top: 45%;
      width: 68px;
    }
  }

  @media (max-width: 567px) {
    .urdu__text .isotop-btn {
      font-size: 24px;
      width: 100%;
      display: flex;
      justify-content: right;
    }
  }
  @media (max-width: 520px) {
    .urdu__text .isotop-btn {
      font-size: 20px;
      width: 100%;
      display: flex;
      justify-content: right;
    }
  }
  @media (max-width: 480px) {
    .urdu__text .isotop-btn {
      font-size: 17px;
      width: 100%;
      display: flex;
      justify-content: right;
    }
  }

  @media (max-width: 460px) {
    .urdu__text .isotop-btn {
      font-size: 16px;
      width: 100%;
      display: flex;
      justify-content: right;
    }
    .margin_none{
        margin: 0px !important;
        width: 100%;
    }
    .urdu__text h1 {
        font-size: 20px !important;
        text-align: center !important;
    }
    .radio-item label{
        text-align: center !important;
    }
    .radio-item label:before {
        left: 217px;
  }
    .radio-item label:after {
        left: 219px;
  }
  .padding_zero{
    padding: 0px !important;
  }
  .logo_custom{
    width: 89% !important;
}
  }

  @media (max-width: 420px) {
    .urdu__text .isotop-btn {
      font-size: 14px;
      width: 100%;
      display: flex;
      justify-content: right;
    }
  }
  @media (max-width: 412px) {
    .urdu__text .isotop-btn {
      font-size: 12px;
      width: 100%;
      display: flex;
      justify-content: right;
    }

}


  @media (max-width: 380px) {
    .urdu__text .isotop-btn {
      font-size: 12px;
      width: 100%;
      display: flex;
      justify-content: right;
    }
    .urdu__text h1 {
        font-size: 19px !important;
        text-align: center !important;
    }
    tbody{
        font-size: 11px !important;
    }

  }

  @media (max-width: 360px) {
    .urdu__text .isotop-btn {
      font-size: 11px;
      width: 100%;
      display: flex;
      justify-content: right;
    }
    .urdu__text .res__search__bar_one {
      top: 50% !important;
    }
    .radio-item label{
        min-width: 150px !important;
        padding: 10px 60px !important;
    }
    .urdu__text h1 {
        font-size: 15px !important;
        text-align: center !important;
    }
    .radio-item label:before {
        left: 170px !important;
        top: calc(42% - 8px) !important;
    }
    .radio-item label:after {
        left: 172px !important;
        top: calc(51% - 10px) !important;
    }

    table.table td,
    .table th {
        vertical-align: middle !important;
    }

  }
  @media (max-width: 280px) {
    .radio-item label:before {
        left: 130px !important;
    }
    .radio-item label:after {
        left: 130px !important;
    }
  }
  @media (max-width: 280px){
.radio-item label:before {
    left: 113px !important;
}
.radio-item label:after {
    left: 113px !important;
}
  }
  /* --------------------urdu text ends----------------------------- */

  /* --------------------eng text starts----------------------------- */
  .eng__text h1,
  .eng__text h3,
  .eng__text p,
  .eng__text a {
    font-family: "Open Sans", sans-serif !important;
  }
  .eng__text .checkfont {
    direction: ltr;
    text-align: left;
    font-size: 18px;
    padding: 20px 0px;
    color: #000 !important;
  }
  .eng__text .slick-dots {
    direction: ltr;
    text-align: center;
  }
  .eng__text .text_wrap_length {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    direction: rtl;
    padding: 0px 2px;
  }
  .eng__text .checkfont li {
    padding-bottom: 10px;
    direction: rtl;
  }
  .eng__text .isotop-btn {
    font-size: 12px;
    width: 80%;
    position: absolute !important;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
  }
  .eng__text .foot_logo_st > p {
    font-family: "Open Sans", sans-serif !important;
  }
  .eng__text .foot_inner_text {
    font-family: "Open Sans", sans-serif !important;
    font-size: 18px !important;
  }
  .eng__text .font_ch_auto {
    font-family: "Open Sans", sans-serif !important;
  }
  .eng__text .nav-link {
    font-family: "Open Sans", sans-serif !important;
    font-size: 18px !important;
  }
  .eng__text .text_upper {
    line-height: 17px;
  }
  .eng__text a.menu_tab {
    color: #000 !important;
  }
  .eng__text .urdu_dir_nav {
    direction: ltr !important;
    font-size: 22px;
  }
  .eng__text .urdu_dir_nav_sub {
    margin-right: auto;
  }

  .eng__text .lang_font {
    font-family: "Open Sans", sans-serif !important;
    font-weight: bold;
  }
  .eng__text .desk_child {
    padding: 5px 7px;
    display: block;
  }
  .eng__text .isotop-btn {
    font-size: 11px;
    padding: 5px 10px;
  }
  .eng__text .font_ch_auto_res {
    font-family: 'Mehr Nastaliq Web 3' !important;
    font-size: 17px;
    color: #fff;
  }
  .eng__text .topic-box-lg {
    font-size: 14px !important;
  }

  @media (max-width: 1280px) {
    .eng__text .res__search__bar_two {
      width: 91px;
      top: 55%;
    }
  }
  @media (max-width: 1200px) {
    .eng__text .isotop-btn {
      font-size: 12px;
      font-weight: bold;
    }
    .eng__text .res__search__bar_two {
      width: 91px;
      top: 55%;
    }
  }
  @media (max-width: 1024px) {
    .eng__text .isotop-btn {
      font-size: 8px;
      font-weight: bold;
    }
    .eng__text .topic-box-lg {
      font-size: 12px !important;
    }
  }

  @media (max-width: 991px) {
    .eng__text .isotop-btn {
      font-size: 12px;
    }
    .eng__text .desk__search__bar {
      margin-left: 0px;
      margin-bottom: 10px;
      margin-top: 5px;
    }
    .eng__text .tog_left {
      margin-left: -16px;
    }
    .eng__text .topic-box-lg {
      font-size: 14px !important;
    }
    .eng__text .res__search__bar {
      top: 45%;
      width: 7%;
    }
  }
  @media (max-width: 768px) {
    .eng__text .res__search__bar {
      top: 45%;
      width: 9%;
    }
  }

  @media (max-width: 767px) {
    .eng__text .isotop-btn {
      font-size: 10px;
      width: 100%;
      display: flex;
      justify-content: right;
    }
    .eng__text .sh_bc {
      padding: 3px 8px !important;
      margin-top: 0px !important;
    }
    .eng__text .res__search__bar {
      top: 45%;
      width: 9%;
    }
  }

  @media (max-width: 640px) {
    .eng__text .res__search__bar {
      top: 45%;
      width: 11%;
    }
  }

  @media (max-width: 600px) {
    .eng__text .res__search__bar {
      top: 45%;
      width: 12%;
    }
    .eng__text .res__search__bar_two {
      width: 93px;
      top: 55%;
    }
  }

  @media (max-width: 567px) {
    .eng__text .isotop-btn {
      font-size: 12px;
    }
    .eng__text .res__search__bar_one {
      top: 49%;
      width: 68px;
    }
    .eng__text .res__search__bar_two {
      width: 91px;
      top: 55%;
    }
  }

  @media (max-width: 520px) {
    .eng__text .isotop-btn {
      font-size: 11px;
    }
  }

  @media (max-width: 480px) {
    .eng__text .res__search__bar {
      top: 45%;
      width: 14%;
    }
    .eng__text .topic-box-lg {
      font-size: 13px !important;
    }
    .eng__text .isotop-btn {
      font-size: 8px;
    }
  }

  @media (max-width: 420px) {
    .eng__text .isotop-btn {
      font-size: 8px;
    }

    .eng__text .topic-box-lg {
      font-size: 10px !important;
    }
  }
  @media (max-width: 414px) {
    .eng__text .isotop-btn {
      font-size: 7px;
    }
    .eng__text .topic-box-lg {
      font-size: 7px !important;
    }

    .eng__text .res__search__bar_one {
      top: 49%;
      width: 66px;
    }
    .eng__text .res__search__bar {
      top: 45%;
      width: 16%;
    }
    .eng__text .res__search__bar_two {
      width: 89px;
      top: 55%;
    }
  }
  @media (max-width: 385px) {
    .eng__text .isotop-btn {
      width: 103%;
      font-size: 7px;
    }
    .eng__text .topic-box-lg {
      font-size: 7px !important;
    }

    .eng__text .res__search__bar {
      top: 45%;
      width: 17%;
    }
    .eng__text .sh_bc {
      padding: 3px 5px !important;
      margin-top: 0px !important;
    }
  }
  @media (max-width: 375px) {
    .eng__text .topic-box-lg {
      font-size: 9px !important;
    }
    .eng__text .res__search__bar {
      top: 45%;
      width: 66px;
    }

    .eng__text .isotop-btn {
      font-size: 7px;
      margin-left: 4px;
    }
  }
  @media (max-width: 360px) {
    .eng__text .topic-box-lg {
      font-size: 7px !important;
    }
    .eng__text .res__search__bar_one {
      top: 50% !important;
    }

    .eng__text .sh_bc {
      padding: 3px 5px !important;
      margin-top: 0px !important;
    }
    .eng__text .isotop-btn {
      font-size: 7px;
      margin-left: 12px;
    }
  }

  /* --------------------eng text ends----------------------------- */
  .icon-bar {
    position: fixed;
    top: 56%;
    right: 0;
    z-index: 9999;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .facebook {
    color: white;
    font-size: 20px;
  }
  .facebook:hover {
    color: #fff !important;
  }

  @-webkit-keyframes slidein {
    from {
      transform: translate(50px, 0);
    }
    to {
      transform: translate(0px, 0px);
    }
  }

  @keyframes slidein {
    from {
      transform: translate(50px, 0);
    }
    to {
      transform: translate(0px, 0px);
    }
  }
  @-webkit-keyframes slideno {
    from {
      transform: translate(-50px, 0);
    }
    to {
      transform: translate(0px, 0px);
    }
  }
  @keyframes slideno {
    from {
      transform: translate(-50px, 0);
    }
    to {
      transform: translate(0px, 0px);
    }
  }
  @-webkit-keyframes returnLeft {
    from {
      transform: translate(-50px, 0);
    }
    to {
      transform: translate(0px, 0);
    }
  }
  @keyframes returnLeft {
    from {
      transform: translate(-50px, 0);
    }
    to {
      transform: translate(0px, 0);
    }
  }
  @-webkit-keyframes returnRight {
    from {
      transform: translate(50px, 0);
    }
    to {
      transform: translate(0px, 0);
    }
  }
  @keyframes returnRight {
    from {
      transform: translate(50px, 0);
    }
    to {
      transform: translate(0px, 0);
    }
  }

  /* ////////////////////// */

  /* navbar  */

  /* -------------Menus-------------- */
  .menu_tab {
    color: #fff !important;
    padding: 15px !important;
  }
  .menu_tab_inner {
    color: #fff !important;
    padding: 10px !important;
  }
  .list-group-item {
    background-color: #247178;
  }
  .m_top_head .navbar-nav .nav-item{
    margin: 0px 5px;
  }
  /* .m_top_head .navbar-nav .dropdown.nav-item .dropdown-menu{

  } */
  /* -------------Menus-------------- */

  .heading_main {
    line-height: 2em;
    padding: 5px 0px 6px;
    background: #214a33 !important;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    color: white;
    font-size: 15px;
    font-family: "Al_Mushaf" !important;
    font-weight: 300;
    font-size: 22px;
  }
  .top_sec_head {
    padding-top: 20px;
    font-size: 22px;
  }

  .top_sec_bottom {
    text-align: right;
    margin-top: -55px;
    color: #444444;
    font-size: 13px;
  }
  .main_navbar {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .class_success_btn {
    background-color: #214a33 !important;
    color: #fff;
    font-size: 15px;
  }
  .class_success_btn__show__all {
    background-color: #214a33 !important;
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
    font-family: sans-serif;
  }
  .class_success_btn__show__all:hover {
    color: white;
  }
  .class-success_text {
    color: #214a33 !important;
  }
  .main_card {
    text-align: center;
    width: 100%;
    background: #ffffff7a;
    padding-top: 30px;
    border: 1px solid #d3d3d3;
  }
  .main_card_without_padding {
    text-align: center;
    width: 100%;
  }
  .img__Div {
    border-bottom: 1px solid #d3d3d373;
  }
  .text_wrap_length {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    padding: 0px 2px;
    height: 80px;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: justify;
  }
  .main_card_without_padding .sec_slider_img {
    width: 90%;
    margin: 0px auto;
    height: 465px;
  }
  .card_img {
    width: 100%;
    height: 200px;
    background: black;
    background: #00000021;
    margin: 0px auto;
  }
  .slick-prev:before {
    color: #214a33 !important;
    content: "â†";
  }
  .slick-next:before {
    content: "â†’";
    color: #214a33 !important;
  }

  .slick-slide {
    display: none;
    float: left;
    height: unset !important;
    min-height: 1px;
  }
  .slick-dots {
    position: unset !important;
    bottom: 60px !important;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
  }
  .close {
    float: right;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: #214a33 !important;
    opacity: 1;
  }
  .color-cinnabar:after {
    background-color: #214a33 !important;
  }
  .color-azure-radiance:after {
    border-bottom: 0px solid !important;
    background-color: transparent !important;
  }
  .color-cinnabar:before {
    border-top: none;
    border-right: none;
  }
  .topic-box-lg {
    display: inline-block;
    position: relative;
    color: #ffffff;
    height: 45px;
    padding: 2px 20px 3px 20px;
    line-height: 40px;
    text-align: center;
    text-transform: capitalize;
    font-weight: 400 !important;
    font-size: 22px !important;
    z-index: 2;
    left: -10px !important;
  }

  .isotop-btn {
    position: relative;
    z-index: 1;
    right: 0px !important;
    top: -2px;
  }
  .isotop-btn .current {
    color: #214a33 !important ;
  }
  .isotop-btn a:hover {
    color: #214a33 !important ;
  }

  .scrolling_line {
    width: 100%;
    height: 422px;
    overflow: scroll;
  }
  .scrolling_line::-webkit-scrollbar {
    width: 7px;
  }

  .scrolling_line::-webkit-scrollbar-thumb {
    background-color: #214a33 !important;
  }

  .post-date-dark ul li {
    font-size: 13px;
  }
  .news_sec {
    display: flex !important;
    align-items: center;
    width: 100%;
    flex-wrap: wrap !important;
  }

  @keyframes slide {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .slick-next:before,
  .slick-prev:before {
    font-family: slick;
    font-size: 20px;
    line-height: 1;
    opacity: 1 !important;
    padding: 10px !important;
    padding-bottom: 8px !important;
    color: #fff !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #5fabb2;
    box-shadow: 0px 0px 18px -6px #00000033;
  }

  .slick-next,
  .slick-prev {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 44%;
    display: block;
    width: 40px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: 0;
    background: 0 0;
    z-index: 999;
  }
  .slick-next {
    right: -6px !important;
  }

  /* navbar   */

  /* navbar   */
  .dropdown-item.active,
  .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #214a33 !important;
  }
  .dropdown.show {
    width: fit-content;
    margin: 0px auto;
  }
  .dropdown-menu {
    top: 47px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 0px 0px 10px 10px;
    border: 0px;
    box-shadow: 0px 4px 10px -5px #000000a8;
    will-change: unset !important;
    /* transform: unset !important; */
    padding: 5px !important;
    text-align: right;
  }

  .dropdown-item {
    border-bottom: 1px solid #80808047 !important;
    font-size: 17px !important;
    color: #214a33;
    font-weight: bold;
    padding: 5px 10px 5px 15px;
  }
  .dropdown-item:focus,
  .dropdown-item:hover {
    color: #ffffff !important;
    text-decoration: none;
    background-color: #214a33 !important;
  }

  /* dropdown  for language */
  .heading__fixed {
    height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  .featuredContainer .syllabus,
  .featuredContainer .video,
  .featuredContainer .photo,
  .featuredContainer .downloads,
  .featuredContainer .result,
  .featuredContainer .fbook {
    width: 100% !important;
  }

  .syllabus .books__area img {
    width: 110px;
    height: 200px;
  }
  .syllabus .img-opacity-hover {
    text-align: center;
  }
  .syllabus .row.item-shadow-gray.mb-0 {
    padding-top: 20px;
    position: relative;
    overflow: hidden;
    margin: 0px !important;
    background: white;
    margin-bottom: 5px !important;
  }
  .syllabus .data__area .data__anchor {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 22px;
    background: #ffffff;
    padding: 5px;
    color: #2a9099;
    transition: 0.5s;
  }
  .syllabus .data__area .data__anchor:hover {
    background: #2a9099;
    color: white;
  }
  .syllabus h3.title-medium-dark a {
    height: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .syllabus .books__area {
    padding: 0px 3px;
  }
  .syllabus .row.books__sly__area {
    margin: 0px;
  }
  /*  */
  .photo .books__area img {
    width: 100%;
    height: 220px;
  }
  .photo .photo__sly__area {
    justify-content: center;
  }
  .photo .data__area {
    display: none;
  }
  .photo .books__area {
    max-width: 30%;
    flex: 30%;
    margin: 5px 5px;
    padding: 0px !important;
  }
  .photo .books__area .col-12 {
    padding: 0px !important;
  }
  .photo .item-shadow-gray {
    margin-bottom: 5px;
    box-shadow: 0px 0px 0px transparent;
    margin: 0px auto;
  }
  .video.my__video .books__area {
    padding: 0px 3px;
  }
  .video.my__video .books__area img {
    width: 175px;
    height: 175px;
  }
  .video.my__video .row.item-shadow-gray.mb-0 {
    position: relative;
    overflow: hidden;
    margin: 0px !important;
    background: white;
    margin-bottom: 5px !important;
  }
  .video.my__video .row.video__sly__area {
    margin: 0px;
  }
  .video.my__video h3.title-medium-dark a {
    height: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 0px 15px;
  }
  .video.my__video .col-12.img__areas {
    padding: 0px;
    margin-bottom: 10px;
  }
  .video.my__video .col-12.content__area {
    padding: 0px;
  }
  .video.my__video .post-date-dark {
    padding: 0px 15px;
  }
  .video.my__video .data__anchor {
    width: 100%;
    background: linear-gradient(180deg, white, #214a33) !important;
    display: block;
    text-align: center;
    color: #2a9099;
    transition: 0.5s;
  }
  .video.my__video .data__anchor:hover {
    background: #2a9099;
    color: white;
  }

  /*  ---------------------  */

  .downloads .books__area {
    padding: 0px 3px;
  }
  .downloads .books__area img {
    width: 175px;
    height: 175px;
  }
  .downloads .row.item-shadow-gray.mb-0 {
    position: relative;
    overflow: hidden;
    margin: 0px !important;
    background: white;
    margin-bottom: 5px !important;
  }
  .downloads .row.dwn__sly__area {
    margin: 0px;
  }
  .downloads h3.title-medium-dark a {
    height: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 0px 15px;
  }
  .downloads .col-12.img__areas {
    padding: 0px;
    margin-bottom: 10px;
  }
  .downloads .col-12.content__area {
    padding: 0px;
  }
  .downloads .post-date-dark {
    padding: 0px 15px;
  }
  .downloads .data__anchor {
    width: 100%;
    background: linear-gradient(180deg, white, #214a33) !important;
    display: block;
    text-align: center;
    color: #2a9099;
    transition: 0.5s;
  }
  .downloads .data__anchor:hover {
    background: #2a9099;
    color: white;
  }

  /* footer */
  .footer {
    margin-top: 10px;
    padding: 20px 0px;
    background-color: #214a33;
  }
  ul.footer-social li a {
    width: 75px;
    height: 50px;
    line-height: 60px;
    background-color: #355ba8 !important;
    text-align: center;
    color: #fff !important;
  }
  ul.footer-social li a:hover {
    color: #fff !important;
    background-color: #4eb3bd;
  }

  .inner_footer_content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
  }

  .foot2 {
    background-color: #132c1e;
    color: #fff !important;
  }

  .foot_inner_text {
    color: #bbb;
  }
  .foot_inner_text:hover {
    color: #bbb;
  }
  #scrollUp {
    background-color: #ffffff !important;
    color: #ffffff !important;
    border: 2px solid #214a33 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    bottom: 10px;
    right: 10px;
    height: fit-content;
    width: fit-content;
    padding: 5px 8px;
  }

  #scrollUp i {
    color: #214a33 !important;
  }
  .foot_first_sec {
    padding-left: 21px;
    margin-top: -23px;
  }
  .foot_mid_sec {
    margin-left: -88px;
  }
  .foot_logo_st {
    margin-left: 80px;
  }

  .main_upon_head {
    position: relative;
    width: 100%;
    height: 50px;
    z-index: 1;
  }

  .main_upon_head::after {
    content: "";
    position: absolute;
    bottom: 13px;
    left: 0;
    width: 53%;
    border-bottom: 3px solid #ffffff;
  }

  /* footer */

  /* ----------------new work menu new---------------- */
  .list h3.title-medium-dark.size-lg {
    font-size: 15px !important;
  }

  .main-menu-area .ne-main-menu nav ul li {
    text-align: left;
    position: relative;
    display: inline-block;
  }

  .dropdown-submenu {
    position: relative;
  }
  .drop_child {
    font-size: 17px !important;
    background-color: #1a3626 !important;
    border-radius: 10px;
    border: 0px solid #1a3626;
    color: #ffffff;
    font-weight: bold;
    padding: 10px 15px 10px 15px;
    box-shadow: 0px 0px 0px transparent !important;
  }
  .dropdown-submenu a::after {
    transform: rotate(90deg);
    position: absolute;
    left: 0px;
    top: 16px;
  }
  .btn-secondary.active,
  .btn-secondary:active,
  .show > .btn-secondary.dropdown-toggle {
    border-color: #214a33 !important;
  }
  .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
  }

  .navbar-light .navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 100;
    background: #1a3626;
    border-radius: 10px;
    padding: 7px 15px 10px 15px;
    transition: 0.3s;
  }
  .navbar-light .navbar-nav .nav-link:hover{
    color: #1a3626 !important;
    background: #fff;
  }
  .navbar-light .navbar-nav .nav-link:hover .st0{
    fill: #1a3626;
  }
  .desk__search__bar {
    list-style-type: none;
    text-align: left !important;
    margin-top: 0px;
  }
  .desk_child {
    text-align: left;
    font-size: 20px;
  }
  .desk__search__bar a:hover .search__text__span {
    color: white !important;
  }
  .desk__search__bar a {
    border: 0px solid transparent;
    background: #fff;
    color: #1a3626;
    border-radius: 10px;
    width: min-content;
    font-weight: 900 !important;
  }
  .desk__search__bar .fa-search {
    font-family: "FontAwesome";
    font-size: 20px;
  }
  .desk__search__bar .search__text__span {
    color: #1536388c;
    font-size: 13px !important;
  }
  .res__search__bar_one {
    position: fixed;
    width: 60px;
    z-index: 999;
    right: 0;
    top: 50%;
    background: #3b5998;
    color: #ffffff;
    padding: 7px 22px;
    font-size: 20px;
  }
  .res__search__bar_two {
    position: fixed;
    width: 82px;
    height: 33px;
    z-index: 999;
    right: -22px;
    top: 54%;
    padding: 5px 9px;
    background: #214a33 !important;
    font-size: 10px !important;
  }

  .res__search__bar {
    display: none;
    position: fixed;
    width: 50px;
    z-index: 999;
    right: 0;
    top: 45%;
    background: #214a33 !important;
    color: #ffffff;
    padding: 7px 19px;
    font-size: 20px;
  }

  .res__search__bar:hover {
    color: inherit;
  }
  .d_check {
    display: none;
  }
  .d_check_two {
    display: block;
  }
  .contact-btn {
    position: fixed;
    left: 10px;
    bottom: 15px;
    z-index: 2;
    border-radius: 12px;
  }
  .help-btn {
    position: fixed;
    right: 10px;
    bottom: 15px;
    z-index: 2;
    border-radius: 12px;
  }
  /* ----------------new work menu new---------------- */
  /* ----------------feedback---------------- */
  .head_main {
    color: #214a33;
    font-weight: bolder;
    padding-top: 40px;
    text-align: center;
  }
  .box_main {
    padding: 20px;
    background: #ffffffcc;
    border-radius: 5px;
    border-bottom: 3px solid #214a33 !important;
  }

  .hei_imp {
    height: unset !important;
    font-size: 14px !important;
  }

  ::placeholder {
    font-size: 14px !important;
  }
  .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: rgb(129, 126, 126);
    line-height: 34px;
    font-size: 14px !important;
  }
  .select2-results__option {
    font-size: 14px;
    font-family: "Open Sans", sans-serif !important;
  }
  .select2-container--default .select2-selection--single {
    border: 1px solid #0b9444 !important;
  }
  .select2-container {
    width: 100% !important;
  }
  /* ----------------feedback---------------- */

  .details.box_main a {
    width: 5%;
  }
  .details.box_main strong {
    width: 95%;
  }
  .height_iframe {
    height: 429px;
  }
  /* contact */

  .img_loc {
    width: 24px;
  }
  .cont_letters {
    font-size: 18px;
    margin-left: 15px;
    display: block;
    font-family: "Open Sans", sans-serif !important;
  }
  .cont_child {
    font-size: 14px;
    font-family: "Open Sans", sans-serif !important;
  }
  /* contact */

  .res__search__bars {
    display: none !important;
  }
  .sidebar_icons {
    width: 70px;
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 999;
  }
  .sidebar_search {
    background: #214a33 !important;
    text-align: center;
    margin-bottom: 5px;
    padding: 10px 0px;
  }
  .sidebar_facebook {
    background: #3b5998;
    text-align: center;
    margin-bottom: 5px;
    padding: 9px 0px;
  }
  .res_text {
    background: #214a33 !important;
    text-align: center;
    padding: 8px 0px;
  }
  /* ------------------------- */
  .border_class_new {
    border-top: 3px solid transparent;
    position: relative;
    z-index: 1;
    display: none;
  }
  .border_class_new:after {
    content: "";
    position: absolute;
    width: 0%;
    height: 7%;
    top: 0;
    left: 0%;
    background: #000000;
    transition: 0.1s;
    z-index: -1;
  }
  .border_class_new:active:after {
    width: 100%;
    left: 0%;
  }

  /* inner detail page CSS */
  .inner__detail__page .news-details-layout1 p {
    text-align: justify;
    font-size: 18px;
  }
  /* inner detail page CSS */

  /* new theme css */
  span.carousel-control-prev-icon {
    background-image: unset !important;
    position: relative;
    overflow: hidden;
    opacity: 1;
    padding: 20px;
    z-index: 1;
  }
  span.carousel-control-prev-icon:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top: 20px solid;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    transform: rotateZ(90deg);
  }
  span.carousel-control-next-icon {
    background-image: unset !important;
    position: relative;
    overflow: hidden;
    opacity: 1;
    padding: 20px;
    z-index: 1;
  }
  span.carousel-control-next-icon:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top: 20px solid;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    transform: rotateZ(270deg);
  }
  .lang_for_small {
    display: none !important;
  }

  .announcement .title-medium-dark a {
    font-size: 15px;
    font-family: sans-serif;
    line-height: 25px;
    text-align: justify;
    color: #000;
  }
  .announcement .title-medium-dark a:hover {
    color: #000000;
  }
  .announcement .item-shadow-gray {
    background-color: #ffffff !important;
    box-shadow: 3px -1px 8px #d3d3d38c;
  }
  .announcement .color-persian-green:after {
    background-color: #153638;
  }

  .announcement .color-persian-green:before {
    border-top: 8px solid #153638;
    border-right: 8px solid transparent;
  }
  .urdu__text .media-body.media-padding15 {
    direction: rtl;
    text-align: right;
  }
  .book__page h3.title-medium-dark a{
    height: 60px;
    display: -webkit-box;
    line-height: 27px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .urdu__text .book__page h3.title-medium-dark.size-lg.mb-none{
    direction: rtl;
  }
  .book__page h3.title-medium-dark.size-lg.mb-none{
    font-size: 18px !important;
  }
  .inner__detail__page.book__page .img-opacity-hover:after {
    content: unset !important;
  }
  .container.books.p-4 .img-opacity-hover:after {
    content: unset !important;
  }
  .videos .title-medium-dark span {
    font-size: 20px;
    color: #333;
  }
  .videos .box-padding15.bg-body.item-shadow-gray {
    padding: 15px 10px !important;
  }
  .featured .row.keep-items-4-md {
    margin: 0px;
  }
  .featured .mb-25.position-relative {
    font-family: sans-serif;
    background: white;
    box-shadow: 0px 1px 8px #d3d3d391;
    border: 1px solid #8d8b8b4d;
    margin: 0px !important;
  }
  .on__res__pading__nonoe {
    padding-left: 0px !important;
  }
  .urdu__text .featured h2.title-medium-light a {
    font-family: 'Mehr Nastaliq Web 3' !important;
  }
  .featured img.img-fluid.width-100.mb-15 {
    margin: 0px !important;
  }
  .featured .color-persian-green:before {
    border-top: 8px solid #214a33;
    border-right: 8px solid transparent;
  }
  .urdu__text .featured .title-medium-dark {
    direction: rtl;
  }
  .urdu__text  .page__event__event__head{
    direction: rtl;
  }
  h3.title-medium-dark.size-lg.page__event__event__head{
    margin: 0px !important;
    padding: 5px 10px;
  }
  .page__event__event__head a {
    text-align: center !important;
    font-size: 20px !important;
    line-height: 29px !important;
  }
  .featured h3.title-medium-dark a {
    text-align: center;
    font-size: 20px;
    line-height: 29px;
  }
  .featured .color-persian-green:after {
    background-color: #214a33;
  }
  .featured h3.title-medium-dark a:hover {
    color: #214a33;
  }
  .featured .title-medium-dark {
    font-size: 15px !important;
    padding: 5px 10px;
    margin-top: 0px !important;
    margin-bottom: 0px;
  }
  .featured.title-medium-dark a:hover {
    color: #000000;
  }
  .books .position-relative.mb-40.text-center {
    background-color: #ffffff !important;
    box-shadow: 0px 5px 13px #dddddd;
    padding: 15px 0px;
    height: 90%;
  }
  .books .color-persian-green:before {
    border-top: 8px solid #3c848d;
    border-right: 8px solid transparent;
  }
  .books .color-persian-green:after {
    background-color: #3c848d;
  }
  .books .title-medium-dark {
    font-size: 18px !important;
    font-family: sans-serif;
    padding: 0px 10px;
  }
  .books .title-medium-dark a:hover {
    color: #000000;
  }
  .announcement h2.title-medium-light a {
    font-family: 'Mehr Nastaliq Web 3' !important;
  }
  a.btn.btn-books {
    color: #317c52;
    border: 2px solid #317c52;
    width: 150px;
    padding: 10px;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: 0.5s;
    font-weight: bold;
  }
  a.btn.btn-books:hover {
    background-color: #317c52;
    color: #fff;
    border: 2px solid #317c52;
  }
  .heading_main_only_res {
    display: none;
  }

  .home-demo h2 {
    color: #fff;
    text-align: center;
    padding: 5rem 0;
    margin: 0;
    font-style: italic;
    font-weight: 300;
  }
  .owl-carousel .owl-nav {
    position: absolute !important;
    top: -103px !important;
    right: 0 !important;
    font-size: 25px !important;
    padding: 21px !important;
  }
  .owl-carousel .owl-prev {
    background: #d1d0d0f5 !important;
    width: 35px !important;
    height: 32px !important;
    outline: none !important;
  }
  .owl-carousel .owl-next {
    background: #d1d0d0f5 !important;
    width: 35px !important;
    height: 32px !important;
    outline: none !important;
  }
  .owl-theme .owl-nav {
    margin-top: 5px !important;
  }
  .owl-carousel .owl-prev span {
    font-size: 30px;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
  }
  .owl-carousel .owl-next span {
    font-size: 30px;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
  }
  /* .owl-dots {
    display: none;
  } */
  .box-padding15 {
    padding: 26px 22px 0px !important;
  }
  .urdu__text .videos .box-padding15.bg-body.item-shadow-gray {
    direction: rtl;
    text-align: right;
  }
  .videos .box-padding15.bg-body.item-shadow-gray h3.title-medium-dark {
    margin: 5px 0px !important;
    font-size: 18px !important;
    height: 71px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.7;
    overflow: hidden;
    padding: 5px;
  }
  h3.title-medium-dark a:hover {
    color: #214a33 !important;
  }
  h2.title-medium-light a:hover {
    color: #fff !important;
  }
  /* new theme css */

.ctr__selectorss{
    border: 2px solid #214a33;
    font-size: 20px !important;
    text-align: center;
    width: auto !important;
    padding: 5px 20px !important;
    background: transparent;
    width: 100%;
    font-family: 'nafees_web_naskhshipped' !important;
    font-weight: 100 !important;
}
/* width */
.ctr__selectorss::-webkit-scrollbar {
  width: 7px;
}
/* Handle */
.ctr__selectorss::-webkit-scrollbar-thumb {
  background: #214a33;
}
.ctr__selectorss option{
  font-size: 15px !important;
  font-weight: bolder;
}
  /* gallery */
  .gallery__section__wow .color-scampi:after {
    background-color: #1d759d !important;
  }
  .gallery__section__wow .color-scampi:before {
    border-top: 8px solid #1d759d;
  }
  /* gallery */
/* video */
.urdu__text .video__page .box-padding15.bg-body.item-shadow-gray{
    direction: rtl;
     text-align: right;
     direction: rtl;
     text-align: right;
     padding: 15px 10px !important;
}
.video__page .box-padding15.bg-body.item-shadow-gray h3.title-medium-dark{
    margin: 5px 0px !important;
    font-size: 18px !important;
    height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 5px;
}
.video__ka__inner__page .box-padding15.bg-body.item-shadow-gray{
    direction: rtl !important;
    text-align: right !important;
    padding: 15px 10px !important;
}
.video__ka__inner__page .box-padding15.bg-body.item-shadow-gray h3.title-medium-dark{
    margin: 5px 0px !important;
    font-size: 18px !important;
    height: 52px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    padding: 5px !important;
}
/* video */
  /* featured */
  .event__page .col-lg-3.col-md-6.col-sm-6.col-12 .mb-25.bg-white {
    box-shadow: 0px 5px 13px #dddddd;
  }
  /* event */
  .download__page .img__download {
    width: 100%;
    height: 300px;
  }
  .download__page .read__load__anchor {
    display: grid;
  }
  .download__page .read__load__anchor a {
    color: #ffffff;
    background-color: #317c52;
    border: 2px solid #317c52;
    width: fit-content;
    padding: 5px 10px;
    font-size: 15px;
    margin: 10px auto;
    transition: 0.5s;
    border-radius: 5px;
  }
  .download__page .read__load__anchor a:hover {
    box-shadow: 0px 0px 10px #0000008f;
    border-radius: 0px;
  }
  .download__page .col-lg-4.col-md-6.col-sm-6.col-12 .mb-25.bg-white {
    box-shadow: 0px 5px 13px #dddddd;
  }
  .download__page .list h3.title-medium-dark.size-lg {
    margin: 0px;
    text-align: center;
  }
  /* download page */

  .videos .owl-carousel .owl-item img {
    width: 100%;
    height: auto;
  }
  .gallerys img.img-fluid.rounded {
    height: 350px !important;
    width: 350px !important;
  }

.mfp-wrap .mfp-content .mfp-figure img.mfp-img{
  height: 100%!important;

}


  .navbar-light .navbar-toggler-icon {
    background-image: unset !important;
  }
  .navbar-toggler-icon .togle__lines {
    display: block;
    width: 100%;
    height: 2px;
    background: rgb(189, 189, 189);
    transition: 0.5s;
    margin-top: 0px;
  }
  .navbar-toggler-icon .togle__lines {
    background: #fff;
  }
  .navbar-light .navbar-toggler {
    color: #ffffff !important;
    border-color: #ffffff !important;
    height: 32px !important;
    width: 37px !important;
  }
  .announcement h3.title-medium-dark.mb-none a {
    font-size: 20px;
    font-family: 'Mehr Nastaliq Web 3' !important;
    background: #153638;
    color: white !important;
    padding: 10px 20px;
    line-height: unset;
    height: unset;
    display: -webkit-box;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: unset;
  }

  .featuredContainer img.img-fluid.width-100.mb-15 {
    height: 130px;
  }
  .featured__page h3.title-medium-dark a {
    font-size: 20px;
    height: 57px;
    line-height: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Mehr Nastaliq Web 3' !important;
    padding: 5px;
  }
  h3.title-medium-dark a {
    height: 60px;
    display: -webkit-box;
    line-height: 25px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .announcement .res__res__padding {
    padding-left: 5px;
  }
  .dropdown-menu.show .dropdown-submenu .dropdown-menu{
    right: 107%;
    min-width: fit-content;
    top: 0 !important;
    border-radius: 10px !important;
    transform: unset !important;
  }
  .dropdown-menu.show .dropdown-submenu .dropdown-menu li{
    margin: 0px;
    min-width: max-content;
  }
  .dropdown-menu.show .dropdown-submenu .dropdown-menu li a{
    text-wrap: wrap;
  }
  .urdu__text .urdu_dir_nav ul li:last-child a{
    border: 0px !important;
  }
  .urdu__text .urdu_dir_nav ul li.dropdown-submenu:last-child ul li a{
    border-bottom: 1px solid #80808047 !important;
  }
  .urdu__text .urdu_dir_nav ul li.dropdown-submenu ul li.dropdown-submenu ul{
    right: 119%;
    top: -7px !important;
  }
  .urdu__text .urdu_dir_nav ul li.dropdown-submenu:last-child ul li:last-child a{
    border: 0px !important;
  }
  ul.navbar-nav.urdu_dir_nav_sub.mt-2.mt-lg-0 li.nav-item.dropdown:last-child a{
    border-bottom: 1px solid #80808047 !important;
  }
  ul.navbar-nav.urdu_dir_nav_sub.mt-2.mt-lg-0 li.nav-item.dropdown:last-child li:last-child a{
    border-bottom: 0px !important;
  }

  .event__page{
    min-height: 50vh;
  }

.searchLibraryDiv #search{
    min-height: 43px;
}
.searchLibraryDiv #searchBtn{
    min-height: 43px;
    font-size: 18px;
    background-color: #214a33;
    margin-right: -2px;
    border: 2px solid #214a33;
    box-shadow: none !important;
}
.search-result-pagee{
    min-height: 50vh;
}
.urdu__text h1.library-headingm{
    font-size: 30px !important;
}
  .forMakCenter{
    align-items: center;
  }

  /* ---------media query------- */
  @media (max-width: 1300px) {
    .urdu__text .urdu_dir_nav{
      font-size: 18px;
    }
  }
  @media (max-width: 1280px) {
    .arabic__text .res__search__bar_two {
      width: 90px;
      top: 55%;
    }
  }
  @media (max-width: 1200px) {
    .arabic__text .isotop-btn {
      font-size: 10px;
    }
  }
  @media (max-width: 1024px) {
    .arabic__text .topic-box-lg {
      font-size: 14px !important;
    }
  }
  @media (max-width: 991px) {
    .arabic__text .isotop-btn {
      font-size: 16px;
    }
    .arabic__text .desk__search__bar {
      margin-bottom: 10px;
    }
    .arabic__text .switch_align {
      margin-right: -14px;
    }

    .arabic__text .res__search__bar {
      top: 45%;
      width: 7%;
    }
    .photo .books__area {
      max-width: 47% !important;
      flex: 47% !important;
    }
  }
  @media (max-width: 768px) {
    .arabic__text .res__search__bar {
      top: 45%;
      width: 9%;
    }
    .arabic__text .res__search__bar_two {
      width: 91px;
      top: 55%;
    }
  }
  @media (max-width: 767px) {
    .arabic__text .isotop-btn {
      font-size: 11px;
      justify-content: right;
      width: 100%;
      margin-left: 13px;
    }
    .arabic__text .topic-box-lg {
      left: 0px !important;
    }

    .arabic__text .sh_bc {
      padding: 3px 7px !important;
      margin-top: 0px !important;
      font-size: 13px;
    }
    .photo .books__area img {
      height: 170px !important;
    }
  }
  @media (max-width: 600px) {
    .arabic__text .topic-box-lg {
      font-size: 15px !important;
    }
    .arabic__text .res__search__bar {
      top: 45%;
      width: 12%;
    }
    .arabic__text .res__search__bar_two {
      width: 94px;
      top: 55%;
    }
  }
  @media (max-width: 567px) {
    .arabic__text .isotop-btn {
      font-size: 14px;
    }
    .photo .books__area {
      max-width: 100% !important;
      flex: 100% !important;
    }
    .counterMainHeding{
        font-size: 28px !important;
    }
    .kanzCounterDiv .kanzCounterDch{
        padding: 0px !important;
    }
    .kanzCounterDiv .kanzCounterDch p{
        margin: 10px 0px 0px 0px !important;
    }
    .mapsSection {
        padding: 0px !important;
  }
  .mapChangerDetailDivChDivP:nth-child(1){
    margin-bottom: 0px !important;
  }
  .mapChangerDetailDivChDivP:nth-child(2){
    margin-top: 10px !important;
  }
}
  @media (max-width: 480px) {
    .arabic__text .isotop-btn {
      font-size: 10px;
    }
    .arabic__text .topic-box-lg {
      font-size: 16px !important;
    }
    .arabic__text .sh_bc {
      padding: 3px 7px !important;
      margin-top: 0px !important;
      font-size: 10px;
    }
    .arabic__text .res__search__bar {
      top: 45%;
      width: 15%;
    }
  }
  @media (max-width: 460px) {
    .arabic__text .topic-box-lg {
      font-size: 10px !important;
    }
  }
  @media (max-width: 420px) {
    .arabic__text .topic-box-lg {
      font-size: 6px !important;
    }
  }
  @media (max-width: 414px) {
    .arabic__text .topic-box-lg {
      font-size: 9px !important;
    }
    .arabic__text .sh_bc {
      padding: 3px 7px !important;
      margin-top: 0px !important;
      font-size: 9px;
    }
    .arabic__text .res__search__bar {
      top: 45%;
      width: 17%;
    }
    .arabic__text .res__search__bar_two {
      width: 93px;
      top: 55%;
    }
    .arabic__text .res__search__bar_one {
      top: 49%;
      width: 71px;
    }
  }
  @media (max-width: 384px) {
    .arabic__text .isotop-btn {
      font-size: 8px !important;
    }
    .arabic__text .res__search__bar {
      top: 45%;
      width: 71px;
    }
    .arabic__text .sh_bc {
      padding: 3px 4px !important;
      margin-top: 0px !important;
      font-size: 9px;
    }
  }
  @media (max-width: 375px) {
    .arabic__text .topic-box-lg {
      font-size: 9px !important;
    }
    .arabic__text .sh_bc {
      padding: 3px 7px !important;
      margin-top: 0px !important;
      font-size: 7px;
    }
  }
  @media (max-width: 360px) {
    .arabic__text .topic-box-lg {
      font-size: 8px !important;
    }
    .arabic__text .sh_bc {
      padding: 3px 7px !important;
      margin-top: 0px !important;
      font-size: 6px;
    }
    .arabic__text .res__search__bar_one {
      top: 50% !important;
    }
  }
  /* ---------- media query------ */

  @media (max-width: 1280px) {
    .res__search__bar_one {
      width: 69px;
      top: 50%;
    }
    .height_iframe {
      height: 430px;
    }
  }
  @media (max-width: 1200px) {
    .main_upon_head::after {
      content: "";
      position: absolute;
      bottom: 13px;
      left: 0;
      width: 61%;
      border-bottom: 3px solid #ffffff;
    }
    .lang_for_small {
      display: block !important;
    }
    .dropdown.show{
      width: unset !important;
    }
    .navbar-nav .dropdown-menu{
      transform: unset !important;
    }
    .m_top_head .navbar-nav .nav-item{
      margin: 3px 5px;
    }
  }
  @media (max-width: 1024px) {
    .main_upon_head::after {
      content: "";
      position: absolute;
      bottom: 13px;
      left: 0;
      width: 61%;
      border-bottom: 3px solid #ffffff;
    }
    .img_loc {
      width: 29px;
    }
  }
  @media (max-width: 991px) {
    .drop_child {
      padding: 8px 10px 8px 10px;
    }
    .center_align_logo {
      justify-content: center;
    }
    .foot_mid_sec {
      margin-left: 0px;
    }
    .foot_logo_st {
      margin-left: 0px;
    }
    .main_upon_head::after {
      content: "";
      position: absolute;
      bottom: 13px;
      left: 0;
      width: 80%;
      border-bottom: 3px solid #ffffff;
    }
    .main-menu-area {
      padding-top: 3px !important;
    }
    .dropdown.show {
      width: 100%;
      margin: 1px;
    }

    .res__search__bar {
      display: block;
    }
    .m_top_head {
      margin-top: 10px;
    }
    .d_check {
      display: block;
    }
    .d_check_two {
      display: none;
    }
    .dropdown-menu {
      left: 70px !important;
    }
    .res__search__bar {
      top: 43%;
      width: 7%;
    }
    .img_loc {
      width: 32px;
    }
    .height_iframe {
      height: 555px;
    }
    .res__search__bars {
      display: block !important;
    }
  }
  @media (max-width: 768px) {
    .res__search__bar_one {
      top: 50% !important;
    }
    .res__search__bar {
      width: 9%;
    }
    .img_loc {
      width: 40px;
    }
    .height_iframe {
      height: 560px;
    }
    .featured .on__res__pading__nonoe {
      padding: 15px !important;
    }
    .announcement .res__res__padding{
        padding-left: 15px !important;
    }
  }
  @media (max-width: 767px) {
    #scrollUp{
        bottom: 40px;
    }
    .announcement .img-scale-animate img {
      width: 100% !important;
      height: auto !important;
    }

    .heading_main_only_res {
      line-height: 2em;
      padding: 2px 0px;
      background: #214a33 !important;
      text-align: center;
      width: 100%;
      color: white;
      font-size: 15px;
      font-family: "Al_Mushaf" !important;
      font-weight: 300;
      font-size: 22px;
      display: block;
    }
    .heading_main {
      display: none;
      line-height: 2em;
      padding: 5px 0px 6px;
      background: #214a33 !important;
      margin: 0 auto;
      text-align: center;
      width: 100%;
      color: white;
      font-size: 15px;
      font-family: "Al_Mushaf" !important;
      font-weight: 300;
      font-size: 14px;
    }
    .main_card_without_padding .sec_slider_img {
      width: 90%;
      margin: 0px auto;
      height: 365px;
    }

    .side_logo {
      position: absolute;
      top: 7px;
      text-align: left;
      width: 40%;
    }

    .top_sec_bottom {
      text-align: right;
      margin-top: -28px;
      color: #444444;
      font-size: 13px;
    }

    .foot_logo_st {
      text-align: left;
      margin-top: -14px;
    }
    .top_sec_bottom {
      padding: 20px 0px;
    }
    .foot_first_sec {
      padding-left: 8px;
      padding-bottom: 22px;
    }
    .foot_mid_sec {
      margin-left: 0px;
    }
    .foot_logo_st {
      margin-left: 0px;
      margin-top: 20px;
    }
    .back_img {
      background-image: none;
    }

    .main_upon_head::after {
      content: "";
      position: absolute;
      bottom: 13px;
      left: 0;
      width: 31%;
      border-bottom: 3px solid #ffffff;
    }
  }
  @media (max-width: 600px) {
    .res__search__bar_one {
      top: 49%;
      width: 72px;
    }
    .res__search__bar {
      width: 12%;
    }
    .res__search__bar_two {
      width: 94px;
    }
  }
  @media (max-width: 520px) {
    .main_upon_head::after {
      content: "";
      position: absolute;
      bottom: 13px;
      left: 0;
      width: 32%;
      border-bottom: 3px solid #ffffff;
    }
    .res__search__bar {
      width: 14%;
    }
    #scrollUp{
        bottom: 50px;
    }
  }
  @media (max-width: 414px) {
    .main_upon_head::after {
      content: "";
      position: absolute;
      bottom: 13px;
      left: 0;
      width: 42%;
      border-bottom: 3px solid #ffffff;
    }
    .dropdown-menu {
      left: 30px !important;
    }
    .res__search__bar {
      top: 44%;
      width: 16%;
    }
    .img_loc {
      width: 42px;
    }

    .res__search__bar_two {
      width: 89px;
      top: 58%;
    }
    .heading_main {
      font-size: 13px;
    }
  }
  @media (max-width: 413px) {
    .heading_main {
      font-size: 12px !important;
    }
  }
  @media (max-width: 380px) {
    .main_upon_head::after {
      content: "";
      position: absolute;
      bottom: 13px;
      left: 0;
      width: 45%;
      border-bottom: 3px solid #ffffff;
    }
    .drop_child {
      font-size: 15px !important;
      padding: 8px 10px 8px 10px;
    }
    .res__search__bar {
      width: 18%;
    }
    .cont_letters {
      font-size: 14px;
      margin-left: 15px;
    }
    .cont_child {
      font-size: 12px;
    }
    #scrollUp{
        bottom: 10px;
    }
  }
  @media (max-width: 360px) {
    .res__search__bar_one {
      top: 52% !important;
    }
    .res__search__bar {
      top: 45%;
      width: 67px;
    }
    .res__search__bar_two {
      width: 89px;
      top: 59%;
    }
  }
  @media (max-width: 360px) {
    .heading_main {
      font-size: 10px !important;
    }
  }

.html_editor table{
  width: 100% !important;
  word-wrap: break-word;
  table-layout: fixed;
}
.html_editor table tr td{
  width: fit-content !important;
}
.html_editor table tr th{
  width: fit-content !important;
}

@media(max-width: 767px){
  .html_editor table tr th span{
    font-size: 17px;
  }
  .html_editor table tr th p{
    font-size: 17px;
  }
  .html_editor table tr td span{
    font-size: 15px;
  }
  .html_editor table tr td p{
    font-size: 15px;
  }
  .html_editor table tr td p span{
    font-size: 15px;
  }
  .html_editor table tr td span p{
    font-size: 15px;
  }
}
