@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Jameel Noori Nastaleeq';
    src: url('fonts/JameelNooriNastaleeq.eot');
    src: url('fonts/JameelNooriNastaleeq.eot?#iefix') format('embedded-opentype'), url('fonts/JameelNooriNastaleeq.woff2') format('woff2'), url('fonts/JameelNooriNastaleeq.woff') format('woff'), url('fonts/JameelNooriNastaleeq.ttf') format('truetype'), url('fonts/JameelNooriNastaleeq.svg#JameelNooriNastaleeq') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    direction: rtl;
    font-family: 'KFGQPC Uthman Taha Naskh';
    font-size: 1rem;
    background-color: #cff6b4;
    background-image: url('./images/body_bg.png');
}

.container {
    /* max-width: 1000px; */
    width: 100%;
    margin: 0 auto;
}

header {
    background-color: #26381a;
    background-image: url('./images/banner.jpg');
    background-position: center;
    background-repeat: no-repeat;
    padding: 62px 20px 53px;
    box-shadow: 0px 0px 10px #0000004d;
    margin-bottom: 50px;
    position: relative;
    border-top: solid 4px #DCBB5C;
    z-index: 2;
}

    /*header::before {
    top: 0;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #26381a;
    opacity: 0.8;
    left: 0;
    z-index: -1;
    border-radius: 0px 0 30px 30px;
}*/
    header h1 {
        font-size: 75px;
        color: #fff;
        text-align: right;
        margin: 0;
        padding: 0;
    }

.logo {
    width: 100%;
    max-width: 307px;
    cursor: pointer !important;
}

.arbi-text {
    max-width: 604px;
    width: 100%;
    margin: 35px 0 62px;
    cursor: pointer !important;
}
/*.search-area-main {*/
/* background-color: #fff; */
/*border-radius: 10px;*/
/* padding: 20px; */
/* margin-top: -46px; */
/* margin-bottom: 40px; */
/*box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.2),
        inset 0 4px 13px rgba(0, 0, 0, 0.15)
}*/
.search-main-box {
    background-color: #679348;
    border-radius: 10px;
    padding: 18px 20px;
    max-width: 1331px;
    width: 100%;
    margin: 0 auto;
    .select2-container--default .select2-selection--single

{
    background-color: #CFF6B4;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    background-color: #496419;
    color: #fff;
    width: 48px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    top: 0;
    height: 50px;
    left: 0;
    b

{
    border-color: #fff transparent transparent transparent;
    border-width: 9px 6px 0 6px;
}

}
}

footer {
    background-color: #26381a;
    background-image: url(./images/footer-banner.png);
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 0px 0px;
    box-shadow: 0px 0px 10px #0000004d;
    position: relative;
    border-bottom: solid 4px #DCBB5C;
    z-index: 2;
    font-family: 'Jameel Noori Nastaleeq' !important;
}

.standard-footer-heading {
    font-size: 36px;
    line-height: 51px;
    color: #fcb83f;
    margin-bottom: 15px;
    text-align: center;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
}

.footer-list {
    padding: 0px;
    list-style: none;
}

.project-list li {
    flex: 0 0 33%;
}

.footer-list li {
    font-size: 24px;
    line-height: 34px;
    color: #fff;
    margin-top: 9px;
}

    .footer-list li a, .footer-list li a:hover {
        color: #fff;
        text-decoration: none;
    }

li.footer-social-icons a {
    color: #fff;
    margin-left: 10px;
}

#select2-surah-select-results {
    background-color: #cff6b4;
}

.search-area-main input {
    height: 50px;
    border-radius: 10px !important;
}

    .search-area-main input:focus {
        box-shadow: none;
    }

.search-area-main .input-group input {
    height: 50px;
    border-radius: 0px 10px 10px 0px !important;
    width: calc(100% - 50px);
    background-color: #CFF6B4;
}

.search-area-main .input-group span {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #496419;
    color: #fff;
    font-size: 20px;
    border-radius: 0;
    border: 1px solid #769b36;
}

    .search-area-main .input-group span:hover {
        color: #fff;
    }

.search-area-main .input-group input:focus {
    box-shadow: none;
}

.search-area-main .input-group #btnCancel {
    border-radius: 10px 0px 0 10px;
}

#ayahNo {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    width: calc(100% - 48px);
    background-color: #CFF6B4;
}

#btnAudio {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #496419;
    color: #fff;
    font-size: 20px;
    border-radius: 0;
    border: 1px solid #769b36;
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}

.search-area-main #btnAudio:hover {
    color: #fff;
}

.select2-container--default .select2-selection--single {
    height: 50px;
    padding: 10px;
    border-radius: 10px;
    border: solid 1px #ced4da;
    text-align: right;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #496419;
    color: white;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 10px;
    right: auto;
    height: 48px;
    display: block !important;
}

#surah-modal-drp .select2-container--default .select2-selection--single {
    height: 50px;
    padding: 10px;
    border-radius: 10px;
    border: solid 1px #ced4da;
    text-align: right;
}

#surah-modal-drp .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #496419;
    color: white;
}

#surah-modal-drp .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 10px;
    right: auto;
    height: 48px;
    display: block !important;
}

.sura-modal-box {
    display: flex;
    flex-direction: column;
}

.ayah-modal-box input {
    height: 50px;
    padding: 10px;
    border-radius: 10px;
    border: solid 1px #ced4da;
    text-align: right;
}

#image-gallery input.form-control {
    height: 40px;
}

#image-gallery .select2-container--default .select2-selection--single {
    height: 40px;
    padding: 4px 10px;
}

#image-gallery .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    height: 39px;
}

.form-control:focus {
    box-shadow: none !important;
    border: none !important;
}

.writer-list {
    margin-left: -2px;
    margin-right: -2px;
}

    .writer-list .col-md-3 {
        padding: 0 4px;
    }

.list-group {
    margin-bottom: 0 !important;
}

.list-group-item {
    padding: 15px;
    margin-bottom: 8px;
    border-right: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.1);
    background-color: #4d6a32;
    /* background-image: url('./images/list_bg.png'); */
    background-position: center;
    background-size: 100% 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .list-group-item .short-title {
        color: #fff;
        font-size: 34px;
        /* font-family: 'KFGQPC Uthman Taha Naskh' */
        /* 'Jameel Noori Nastaleeq'; */
    }

    .list-group-item:hover {
        background-color: #679348;
        /* border-color: #ffce54 !important; */
        border: solid 3px #769b36 !important;
    }

        .list-group-item:hover .short-title {
            color: #fff;
        }

.list-group-item-action:focus,
.list-group-item-action:hover {
    background-color: #679348;
    border: solid 3px #769b36 !important;
}

    .list-group-item-action:focus .short-title,
    .list-group-item-action:hover .short-title {
        color: #fff;
    }

.text-center {
    text-align: center;
}

.group-flex {
    flex: 1;
    padding: 0 .3rem;
}


.list-group {
    margin: 0 0px 0.5rem;
}

    .list-group > a {
        border: none;
        text-align: center;
    }

/* .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    display: none;
} */

.input-group-text:hover {
    cursor: pointer;
}


.search-dropdown {
    position: absolute;
    display: none;
}

.search-box {
    position: relative;
}

.search-dropdown ul {
    background: #fff;
    border: 1px solid #0000004d;
    border-radius: .3rem;
    box-shadow: .05rem .2rem .6rem #0003;
    left: 0;
    line-height: 1.7;
    list-style: none;
    margin: 0;
    max-height: 70vh;
    overflow-y: auto;
    padding: 0;
    position: absolute;
    width: 100%;
    z-index: 1;
}

    .search-dropdown ul li {
        cursor: pointer;
        padding: .4rem .5rem .2rem;
        border: 0.5px solid #cdc3c34d;
    }


.aya-ref {
    color: #888;
    float: left;
    font-size: .8rem;
    padding-bottom: 1px;
    padding-right: 5px;
}

.search-dropdown ul li p {
    margin: 0;
}

.highlight {
    color: red;
}

img:hover {
    cursor: zoom-in;
}

.ZoomImg:hover {
    cursor: pointer;
}

#image-gallery .modal-dialog {
    margin: 10px auto;
}

#image-gallery .modal-content {
    width: fit-content !important;
}

.modal-header {
    padding: 0.5rem 1rem !important;
    background-color: #4d5c33;
    border-color: #5c8441;
}

    .modal-header .modal-title {
        color: #fff;
    }

.btn-close {
    background: transparent !important;
    color: #fff;
    opacity: 1;
    padding: 0 !important;
    font-size: 27px;
    margin: 0 !important;
}

#image-gallery .btn-close {
    position: absolute;
    top: 9px;
    right: 11px;
    z-index: 4;
    color: #212529;
}

.modal-body {
    background-color: #bde5a2;
}

#image-gallery .modal-body {
    height: calc(100vh - 15px - 3.5rem);
    padding: 10px 60px;
    overflow: hidden;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

    #image-gallery .modal-body img {
        height: calc(100% - 86px) !important;
    }

        #image-gallery .modal-body img.img-toggle {
            height: calc(100% - 115px) !important;
        }

.modal-footer {
    background-color: #bde5a2;
    border-color: #5c8441;
}

#image-gallery .modal-footer input {
    max-width: calc(100% - 100px - 1rem);
}

.img-section {
    overflow: auto;
    /* max-height: 650px; */
}

    .img-section::-webkit-scrollbar {
        width: 5px;
    }

    .img-section::-webkit-scrollbar-track {
        background: #798f53;
    }

    .img-section::-webkit-scrollbar-thumb {
        background: #507e00;
    }

.modal-body {
    text-align: center;
}

    .modal-body img {
        height: 1000px;
    }


.modal-body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .modal-body::-webkit-scrollbar {
        display: none;
    }

#customRange::-webkit-slider-runnable-track {
    background: #798f53;
    /* track color */
    height: 6px;
}

#customRange::-webkit-slider-thumb {
    background: #507e00;
    /* thumb color */
    border-radius: 50%;
    height: 16px;
    width: 16px;
    margin-top: -6px;
    /* align with track */
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

#customRange::-moz-range-track {
    background: #798f53;
    height: 6px;
}

#customRange::-moz-range-thumb {
    background: #507e00;
    border-radius: 50%;
    height: 16px;
    width: 16px;
    cursor: pointer;
    border: none;
}


/* loader  */

.loader {
    position: fixed;
    overflow: hidden;
    padding: 20px;
    height: 100vh;
    width: 100%;
    background-color: rgb(0, 0, 0, 1.8);
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    display: none;
}

    .loader::before {
        content: '';
        display: block;
        padding-top: 100%;
    }

.modal-loader {
    position: absolute;
    overflow: hidden;
    padding: 20px;
    height: 73vh;
    width: 100%;
    z-index: 9999;
    top: 102px;
    left: 0;
    right: 0;
    display: none;
}

    .modal-loader::before {
        content: '';
        display: block;
        padding-top: 100%;
    }

    .modal-loader .path {
        stroke: #26381a;
    }

.circular {
    width: 100px;
    height: 100px;
    position: absolute;
    inset: 0;
    margin: auto;
    transform-origin: center center;
    animation: 2s linear 0s infinite rotate;
}

.path {
    stroke: hotpink;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: 1.5s ease-in-out 0s infinite dash;
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
        stroke: #e0e1e1;
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124px;
    }
}

@keyframes rotate {
    to {
        transform: rotate(1turn);
    }
}


/* .modal-footer{
    justify-content: flex-start !important;
} */

.text-start .select2-container {
    z-index: 99999;
}

.select2-dropdown {
    z-index: 9999;
}


#audio-modal .modal-body {
    padding: 30px;
}

img.arrow-right {
    position: absolute;
    right: 5px;
    top: 50%;
    z-index: 5;
    width: 30px;
    cursor: pointer;
}

img.arrow-left {
    position: absolute;
    left: 5px;
    top: 50%;
    z-index: 5;
    width: 30px;
    cursor: pointer;
}

.arabic-font {
    font-family: 'KFGQPC Uthman Taha Naskh' !important;
}


@media (min-width: 1499px) {
    .img-section {
        /* max-height: 455px; */
    }
}

@media (min-width: 1599px) {
    .img-section {
        /* max-height: 635px !important; */
    }
}

@media (min-width: 1999px) {
    .img-section {
        /* max-height: 900px !important; */
    }
}

@media (min-width: 992px) {

    #image-gallery .modal-lg,
    #image-gallery .modal-xl {
        max-width: fit-content;
    }
}

@media (max-width: 1450px) {
    .list-group-item {
        height: 100px;
    }

    .img-section {
        /* max-height: 380px; */
    }
}

@media (max-width: 1199px) {
    .img-section {
        /* max-height: 370px; */
    }

    header h1 {
        font-size: 60px;
    }
}

@media (max-width: 991px) {
    .list-group-item .short-title {
        font-size: 26px;
    }

    header {
        padding: 5px 20px 25px;
    }

        header h1 {
            text-align: center;
        }

    .search-box {
        margin-bottom: 15px;
    }

    .img-section {
        /* max-height: 375px; */
    }
}

@media (max-width: 767px) {
    header {
        padding: 5px 0px 25px;
        margin-bottom: 20px;
    }

    .list-group-item {
        height: 80px;
    }

    #image-gallery .modal-body {
        padding: 40px;
        width: 100%;
        max-width: 350px;
        height: unset;
    }

        #image-gallery .modal-body .modal-img {
            width: 100% !important;
        }

    #image-gallery .modal-content {
        margin: 0 auto;
    }

    .img-section {
        /* max-height: 300px; */
    }
}

@media (max-height: 800px) {
    .h-80 {
        height: 70vh;
    }
}
