@font-face {
    font-family: poppins-medium;
     src: url("../fonts/poppins.medium.ttf"); 
    font-display: swap;
}
@font-face {
    font-family: poppins-regular;
     src: url("../fonts/poppins.regular.ttf"); 
    font-display: swap;
}
@font-face {
    font-family: MehrNastaliq;
     src: url("../fonts/NotoNastaliqUrdu.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: Al-Qalam;
     src: url("../fonts/kitab-base.woff2") format("woff2"),
          url("../fonts/UthmanicHafs1Ver18.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: QuranSurah2;
     src: url("../fonts/kitab-base.woff2") format("woff2"),
          url("../fonts/UthmanicHafs1Ver18.ttf") format("truetype");
    font-display: swap;
}
@font-face {
    font-family: Noor;
    src: url("../fonts/kitab-base.woff2") format("woff2"),
         url("../fonts/UthmanicHafs1Ver18.ttf") format("truetype");
    font-display: swap;
}

body{
    overflow-x:hidden;
}

.header{
    position: relative;
}
.header-back-img{
    z-index: -1;
    position: absolute;
    right: 50%;
    left: 30%;
    top: 10%;
    height: 100%;
}
.header-back-img-2{
    z-index: -1;
    position: absolute;
    right: 50%;
    left: 42%;
    top: 25%;
}
.header-back-img-3{
    z-index: -1;
    position: absolute;
    right: 50%;
    left: 30%;
    top: 10%;
    height: 100%;
}
.cus-nav ul li a{
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 27px;
    color: #000000;
}

.cus-nav ul li a:hover{
    color: #008080;
}
.cus-nav ul li a:after {
    display:block;
    content: '';
    border-bottom: solid 3px #008080;  
    transform: scaleX(0);  
    transition: transform 300ms ease-in-out;
}
.cus-nav ul li a:hover:after{ transform: scaleX(1); transform-origin: 100% 50%; }
.main-head{
    text-align-last: center;
    margin-top: 2rem;
}
.search-form {
    display: flex;
    padding: 2px;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    width: 50%;
    margin: 4rem auto;
    height: 64px;
    border: 0px;
    direction: rtl;
}
.search-form input[type="search"] {
    border: none;
    background: transparent;
    margin: 0;
    padding: 8px 10px 8px 20px;
    width: 100%;
    text-align-last: auto;
    direction: rtl;
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: rgba(0, 0, 0, 0.8);
}
.search-form input:focus-visible{
    outline: -webkit-focus-ring-color auto 0px !important;
   
}
  
.search-form  input[type="search"]::placeholder {
    color: #bbb;
}
.search-form button[type="submit"] {
    text-indent: -999px;
    overflow: hidden;
    width: 40px;
    padding: 0;
    margin: 0px 10px 0px 0px;
    border: 1px solid transparent;
    border-radius: inherit;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    cursor: pointer;
    opacity: 0.7;
}
  
.search-form button[type="submit"]:hover {
    opacity: 1;
}


.title-div{
    margin-top: 5rem;
    text-align-last: center;
    padding-bottom: 1rem;
    border-bottom: 3px solid rgba(0, 128, 128, 0.15);
}
.sintopit{
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
    padding-bottom: 2rem !important;
}
.title-div h1{
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 45px;
    color: rgba(0, 0, 0, 0.9);
}
.title-div h3{
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #000000;
    margin: 3rem 0 2rem 0rem;
    text-decoration-line: underline;
}
.title-div h3 a{
    text-decoration:none;
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 600;
    font-size: 21px;
    line-height: 27px;
    color: #000000;
    margin: 3rem 0 2rem 0rem;
    text-decoration-line: underline;
}
.title-div h3 a:hover{
    text-decoration:none;
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 27px;
    color: #008080;
    margin: 3rem 0 2rem 0rem;
    text-decoration-line: underline;
}
.title-div .row-mqmu{
    direction: rtl;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 0px;
    margin-bottom: 4px;
    margin-top: 34px;
    place-content: center;
}
.surah .row{
    direction: rtl;
    place-content: center;
}
.topic .row{
    direction: rtl;
    place-content: center;
}
.mqmu{
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    border: 0px;
    padding: 1rem 1.8rem;
    margin: 0px 0px 0px 16px;
    display: inline;
}
.mqmu:hover{
    background: #008080;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50px;
}
.mqmu:hover .card-title{
    color: rgba(255, 255, 255, 0.8);
}
.mqmu .card-title{
    margin: 0;
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    text-align: center;
    color: rgba(0, 0, 0, 0.8);
}
.surah{
    margin-bottom: 3rem;
}
.topic{
    padding-top: 4rem;
    margin-bottom: 3rem;
}
.topic-no{
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    border: 0px;
    margin-bottom: 1rem;
    cursor: pointer;
}
.topic-no:hover{
    background: #008080;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50px;
}

.topic-no .card-body{
    display: flex;
}
.topic-no .card-body div p{
    margin: 0;
}
.topic-no .card-body div{
    align-self: center;
}
.topic-no .card-body .card-title{
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 400;
    font-size: 26px;
    line-height: 47px;
    text-align: center;
    color: rgba(0, 0, 0, 0.8);
    margin: auto;
}
.topic-no:hover .card-title{
    color: #FFFFFF;
}
.surah h2{
    text-align-last: center;
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 72px;
    color: rgba(0, 0, 0, 0.9);
    margin: 2rem 0rem;
}
.surat-no{
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 0px;
    border: 2px solid #fff;
    cursor: pointer;    
    position: relative;
    height: 124px;
     transition-timing-function: ease-in-out;
    transition-duration: 0.3s;
    /*transition-delay: 0.5s;*/
}
.surat-no:hover{
    background: #FFFFFF;
    border: 2px solid #008080;
    box-shadow: 0px 0px 4px rgba(0, 128, 128, 0.5);
    border-radius: 10px;
}

.surat-no .card-body{
    display: grid;
    padding: 0.5rem 1rem;
}
.surat-no .card-body div p{
    margin: 0;
}
.surat-no .card-body div{
    align-self: center;
    margin-top: 20px;
}
.surat-no .card-body h4{
    font-family: Noor;
    font-style: normal;
    font-weight: 500;
    font-size: 30px;
    height: 75px;
    width: 75px;
    line-height: 45px;
    color: #000000;
    margin: auto;
    margin-left: 15px;
    margin-right: 10px;
    position: absolute;
    top: -37px;
    right: 28%;
    border-radius: 50%;
    padding: 15px 0px;
    z-index: 1;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgb(0 0 0 / 25%);
    text-align: center;
}
.suratname{
    font-family: Al-Qalam;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #000000;
}
.suratayat{
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #000000;
}
.surat-no:hover .surtno{
    color: #FFFFFF;
    background: #008080;
    box-shadow: 0px 0px 4px rgba(0, 128, 128, 0.5);
}
.surat-no:hover .suratayat{
    
}
.cus-footer ul li a:hover{
    color: #008080;
}
.cus-footer ul li a:after {
    display:block;
    content: '';
    border-bottom: solid 3px #008080;  
    transform: scaleX(0);  
    transition: transform 300ms ease-in-out;
}
.cus-footer ul li a:hover:after{ transform: scaleX(1); transform-origin: 100% 50%; }
.surat-no:hover .suratname{
    
}
.cus-footer{
    border-top: 3px solid rgba(0, 128, 128, 0.15);
    padding: 3rem 0rem;
}
.ul-border:after {
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5em;
    border-right: 2px solid rgba(0, 0, 0, 0.5);
    z-index: -1;
}
.cus-footer ul{
    padding: 0;
    margin: 0;
}
.ul-col{
    direction: rtl;
    text-align: center;
    align-self: center;
}

.cus-footer ul li a{
    margin: 0px 20px;
    text-decoration: none;
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 27px;
    color: #000000;
    display: block;
}
.cus-footer ul li{
    display: -webkit-inline-box;
    padding: 0;
    position: relative;
}
.social img{
    margin-right: 10px;
}
.topic-title-div{
    margin-top: 5rem;
    text-align-last: center;
    padding-bottom: 1rem;
}
.topic-title-div h1{
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    line-height: 90px;
    color: rgba(0, 0, 0, 0.8);
}
.topic-title-div p{
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 400;
    font-size: 26px;
    line-height: 47px;
    text-align: center;
    color: rgba(0, 0, 0, 0.8);
}
.surah-title-div{
    margin-top: 5rem;
    text-align-last: center;
    padding-bottom: 1rem;
}
.surah-title-div h1{
    font-family: QuranSurah2;
    font-style: normal;
    /*font-weight: 600;*/
    font-size: 50px;
    line-height: 75px;
    color: rgba(0, 0, 0, 0.9);
}
.surah-card{
    border: 0px;
    border-top: 1px solid rgba(0, 128, 128, 0.15);
    direction: rtl;
    border-radius: unset;
}
.surah-card .card-body{
    padding:1.5rem 1rem;
}
.ayat-detail{
    float: right;
    width: 95%;
}
.ayat-info{
    float: left;
    display: grid;
}
.ayat-detail h2{
    margin: 0;
    font-family: Noor;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 52px;
    text-align: right;
    color: #000000;
}
.ayat-detail p{
    margin: 0;
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 39px;
    text-align: right;
    color: rgba(0, 0, 0, 0.6);
}
.ayat-info p{
    margin: 0;
    font-family: poppins-medium;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    color: #000000;
    margin-bottom: revert;
}
.ayat-info i{
    margin: 0;
    justify-self: end;
    margin-bottom: 10px;
}
.surah .row .col{
    padding: 10px 8px 0px 8px;
}
.surah .row .col a{
    text-decoration: none;
}
.topic .row .col a{
    text-decoration: none;
}
.mqmu a{
    text-decoration: none;
}
#surah-search-id{
    display: flex;
    padding: 2px;
    background: #FFFFFF;
    border-radius: 50px;
    border: 0px;
    text-align-last: right;
    padding: 1rem;
}
.list-img{
    margin: 0;
    justify-self: end;
    margin-bottom: 10px;
    cursor: pointer;
}
.select2-selection{
    background: #FFFFFF;
    border: 0px;
    padding: 0.5rem 1.56rem 0.6rem 1.56rem;
    width: 100%;
    text-align: right;
    border: 0px !important;
    border-left: 2px solid rgba(0, 0, 0, 0.3) !important;
    border-radius: 0px !important;
}
.select2-container--default .select2-results__option--selected {
    background-color: #fff !important;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #fff !important;
    color: #000 !important;
}
.select2-selection__arrow {
    top: 7px !important;
    left: 10px !important;
}
.select2-selection__rendered{
    line-height: 20px !important;
 padding-right: 0px !important;
}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
     border-bottom-left-radius: 50px; 
     border-bottom-right-radius: 50px; 
}
.select2-container{
    width:100% !important;
    margin-top: 6px !important;
}
.select2-search__field{
    border-radius: 5px;
    direction: rtl;
}
.select2-search__field:focus-visible {
    outline:0 !important;
}
.select2-container--open .select2-dropdown--below {
     border-top: 1px solid #aaa !important; 
}
.select2-dropdown{
    background: #FFFFFF !important;
    box-shadow: 0px 0px 4px rgb(0 0 0 / 50%);
    border-radius: 10px;
}
.select2-results__options::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
.select2-results__options::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
.select2-selection #select2-suarh-id-container{
    color: rgba(0, 0, 0, 0.75) !important;
    font-family: MehrNastaliq  !important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    text-align-last: right;
}
#select2-suarh-id-results{
    direction: rtl;
    padding: 0px 7px !important;
}
#select2-suarh-id-results li{
    direction: rtl;
    background: #FFFFFF;
    font-family: Noor;
    font-style: normal;
    font-size: 27px;
    text-align: right;
    color: rgba(0, 0, 0, 0.4);
    padding: 0rem 0.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.select2-selection__arrow{
    display:none;
}
.select2-container .select2-selection--single {
    height: auto !important;
}
.links{
    display: none;
   position: absolute;
    top: 130px;
   left: -5px;
}
.links ul{
    list-style: none;
    margin: 0;
    display: flex;
    padding: 0;
}
.links ul li{
    width: max-content;
}
.links ul li img{
    cursor:pointer;
    width: 20px;
}

@media (min-width: 992px){
    .cus-nav ul li a{
        padding:0rem 0rem 0rem 3rem !important;
    }
    .surah .row .col{
        width: 20%;
        flex: 1 0 20%;
        max-width: 20%;
        padding: 51px 8px 0px 8px;
        margin: 0 !important;
    }
    .topic .row .col{
        width: 20%;
        flex: 1 0 20%;
        max-width: 20%;
        padding: 0px 8px;
        margin: 0 !important;
    }
    .fol-col{
        text-align: end;
    }
}
@media (max-width: 991px){
    .main-head img{
        width: 100%;
    }
    .header-back-img{
        z-index: -1;
        position: absolute;
        right: 0%;
        left: 0%;
        top: 10%;
        width: 100%;
    }
    .header-back-img-2{
        z-index: -1;
        position: absolute;
        right: 0%;
        left: 0%;
        top: 10%;
        width: 100%;
    }
    .header-back-img-3{
        z-index: -1;
        position: absolute;
        right: 0%;
        left: 0%;
        top: 10%;
        height: 100%;
    }
    .surah .row .col{
        width: 25%;
        flex: 1 0 25%;
    }
    .topic .row .col{
        width: 25%;
    }
    .fol-col{
        align-self: center;
    }
}
@media only screen and (max-width: 767px) {
    .surah .row .col{
        width: 50%;
        flex: 1 0 32%;
    }
    .topic .row .col{
        width: 50%;
        flex: 0 0 50%
    }
    .cus-footer{
        text-align: center;
    }
    .search-form {
        width: 100%;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px)  {

}
@media only screen and (min-width: 992px) and (max-width: 1200px)  {
}

@media (min-width:768px) {

}



.search {
    background-color: #fff;
    padding: 4px;
    border-radius: 5px;
    width: 100%;
    padding: 0.5rem 2rem;
    border-radius: 50px;
}

.search-1 {
    position: relative;
    width: 100%
}

.search-1 input {
    position: relative;
    display: inline-block;
    height: 36px;
    border: none;
    width: 100%;
    border-left: 2px solid rgba(0, 0, 0, 0.3);
    margin-top: 5px;
    border-radius: 0px;
    text-align-last: right;
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 29px;
    padding: 0;
}

.search-1 input:focus {
    border-color: none;
    box-shadow: none;
    outline: none
}

.search-1 i {
    position: absolute;
    top: 12px;
    left: 5px;
    font-size: 24px;
    color: #eee
}

.search-1::before{
    position: absolute;
    content: url('../images/caret-down.png');
    top: 15px;
    left: 17px;
    height: 20px;
    width: 20px;
    z-index: 1;
}

::placeholder {
    color: #eee;
    opacity: 1
}

.search-2 {
    position: relative;
    width: 100%
}
.search-3 {
    position: relative;
    width: 100%
}

.search-2 input {
    position: relative;
    display: inline-block;
    height: 36px;
    border: none;
    width: 100%;
    border-left: 2px solid rgba(0, 0, 0, 0.3);
    margin-top: 5px;
    border-radius: 0px;
    font-family: MehrNastaliq;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 29px;
    text-align-last: center;
    padding: 0;
    
    color: rgba(0, 0, 0, 0.75);
}
.search-2::before{
    position: absolute;
    content: url('../images/caret-down.png');
    top: 15px;
    left: 20px;
    height: 20px;
    width: 20px;
    z-index: 1;
}
.search .col-md-3{
    padding: 0px;
}

.search-2 input:focus {
    border-color: none;
    box-shadow: none;
    outline: none
}

.search-2 i {
    position: absolute;
    top: 12px;
    left: -10px;
    font-size: 24px;
    color: #eee
}

.search-3 button {
    position: absolute;
    right: 1px;
    top: 0px;
    border: none;
    height: 45px;
    background-color: red;
    color: #fff;
    width: 90px;
    border-radius: 4px;
    margin:0px !important;
}

.ayat_end{
    position: relative;
    margin-right: 10px;
}
.ayat_end img{
    width: 41px;
    height: 35px;
}
.ayat_end span{
    position: absolute;
    right: 17px;
    top: 8px;
    font-family: Noor;
    font-style: normal;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.4);
}
#bootstrap-show-notification-container button{
    display:none;
}
.ayat-info a{
    text-align:left;
}

@media (max-width:800px) {
    .search-1 input {
        border-right: none;
        border-bottom: 1px solid #eee
    }

    .search-2 i {
        left: 4px
    }

    .search-2 input {
        padding-left: 34px
    }

    .search-2 button {
        height: 37px;
        top: 5px
    }
}
