@font-face {
    font-family: UthmanTN;
    src: url(../fonts/UthmanTN1-Ver10.otf);
    font-weight: normal;
}

@font-face {
    font-family: UthmanTN;
    src: url(../fonts/UthmanTN1B-Ver10.otf);
    font-weight: bold;
}

@font-face {
    font-family: Hafs;
    src: url(../fonts/UthmanicHafs1-Ver09.otf);
    font-weight: normal;
}

@font-face {
    font-family: Dubai;
    src: url(../fonts/dubai.ttf);
    /* font-weight: normal; */
}

@font-face {
    font-family: Amiri;
    src: url(../fonts/Amiri-Regular.ttf);
    font-weight: normal;
}

body {
    font-family: Dubai, sans-serif;
    background-color: #fff !important;
    font-weight: normal;
}

.quick-box-shadow {
    box-shadow: 0px 2px 5px #cbcbcb;
}

.header-search-container {
    width: 60vh;
}

@media (max-width: 1369px) {
    .header-search-container {
        width: 55vh;
    }
}

@media (max-width: 1280px) {
    .header-search-container {
        width: 45vh;
    }
}

#search-overlay {
    position: absolute;
}

.home-title {
    font-weight: normal !important;
}

.home-subtitle {
    font-size: 30px;
    letter-spacing: initial !important;
    font-weight: normal !important;
}

.header-search-group {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.header-search-group input {
    padding: 0.5rem 15px 0.5rem 50px;
    border-radius: 3rem;
    border-color: transparent;
    background-color: #ececec;
}

.header-search-group .input-group-append {
    position: absolute;
    left: 0;
}

.header-search-group .btn {
    text-transform: none;
    line-height: 20px;
    font-weight: normal;
}

.home-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-image: url("../images/wall.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.text-primary {
    color: var(--theme-color) !important;
}

.home-input-group {
    margin: auto;
    width: 90%;
    display: flex;
    background-color: white;
    border-radius: 2rem;
    justify-content: space-between;
    align-items: center;
}

.home-input-group span {
    color: #787878;
}

.home-input-group:hover {
    cursor: pointer;
}

.category-image {
    width: 7rem;
}

.subscribe-form .form-control {
    border-radius: 3rem;
}

.analytics-cycle-box .product-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

.analytics-cycle-box .product-detail .content-wrapper h4 {
    font-size: 2.5rem;
}

.mt-6 {
    margin-top: 5rem;
}

.mt-7 {
    margin-top: 6rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.mb-7 {
    margin-bottom: 6rem;
}

.ih-services {
    margin-top: -130px;
}

.ih-services .service-block {
    flex-direction: column;
    padding: 1rem;
    background-color: white;
    border-radius: 1rem;
    margin-left: 0.1rem;
    margin-bottom: 0.5rem;
    border-right: none;
    box-shadow: 0px 2px 5px #cbcbcb;
}

.ih-services .service-block img {
    margin: 0;
}

.ih-services .service-block .media-body h4 {
    line-height: 1.5rem;
}

.cycle-box-sperator {
    background-color: #cecece;
}

.ih-item-box .product-detail {
    display: flex;
    align-items: center;
}

.ih-item-box .product-detail .box-content {
    padding-left: 2rem;
}

.ih-item-box .product-detail .box-actions a {
    padding: 1rem 1.1rem;
    color: white;
    background-color: var(--theme-color);
    border-radius: 5rem;
}

.ih-enc-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.ih-enc-item .img-wrapper {
    z-index: 1;
    padding: 1.2rem;
    background-color: white;
    border-radius: 2rem;
    box-shadow: 0px 2px 5px #cbcbcb;
}

.ih-enc-item .content-wrapper {
    background-color: white;
    color: var(--theme-color);
    border-radius: 1.5rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 2rem 3rem 2rem 1rem;
    margin-right: -30px;
    box-shadow: 0px 2px 5px #cbcbcb;
}

.ih-enc-item .content-wrapper .actions a {
    padding: 1rem 1.1rem;
    border-radius: 2rem;
    color: white;
    background-color: var(--theme-color);
}

.ih-top-header {
    background-color: white !important;
}

/* .ih-top-menu {
    z-index: 10;
} */

.ih-bottom-menu {
    height: 50px;
    padding: 0rem 1rem 0rem 0rem;
}

#burger-btn {
    display: inline-block;
    padding: 0.5rem;
    background-color: white;
    border-radius: 0.7rem;
}

#main-menu li a {
    text-transform: none;
}

.top-language-btn {
    color: #787878;
    display: flex;
    padding: 0.7rem 1rem;
    background-color: white;
    border-radius: 3rem;
    align-items: center;
    align-content: center;
    text-transform: none;
}

.top-header-links {
    display: inline-block;
    padding-right: 1rem;
}

.top-header-links li {
    padding: 0 1rem;
    /* border-right: 1px solid #787878; */
}

.top-header-links li:last-child {
    border-left: none;
}

.top-header-links li a {
    color: #787878;
    font-size: medium;
    /* font-weight: bold; */
}

.top-header-links li a:hover {
    color: black;
}

.flex-center {
    display: flex;
    align-items: center;
}

.feather-16 {
    width: 16px;
    height: 16px;
}

.feather-24 {
    width: 24px;
    height: 24px;
}

.feather-32 {
    width: 32px;
    height: 32px;
}

.mobile-search-btn {
    width: 40px;
    height: 40px;
}

.lang-search-results ul li {
    margin-left: 1rem;
    margin-bottom: 2rem;
}

#languagesModal {
    padding: 0 !important;
}

#languagesModal .modal-dialog,
#languagesModal .modal-content {
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

.lang-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--theme-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.lang-result-item .lang-item-content {
    display: flex;
    align-items: center;
}

.lang-result-item .lang-icon-wrapper {
    background-color: var(--theme-color);
    color: white;
    padding: 13px 15px;
    border-radius: 50%;
    font-weight: bold;
    margin-left: 0.8rem;
}

.lang-result-item .lang-desc-wrapper h4 {
    font-size: 16px;
    letter-spacing: 0;
    margin: 0;
    color: var(--theme-color);
    font-weight: bold;
}

.lang-result-item .lang-desc-wrapper span {
    font-size: 12px;
}

.home-lang-btn {
    font-size: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.home-input-group span {
    font-size: 1rem;
}

.ih-enc-item .content-wrapper .text-content h4 {
    color: var(--theme-color);
    font-weight: bold;
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }

    .ih-top-header {
        padding: 0rem 1rem !important;
    }

    .home-title {
        font-size: 2rem;
    }

    .home-subtitle {
        font-size: 1.3rem;
    }

    .title1 .title-inner1 {
        font-size: 1rem;
        padding-right: 4rem;
    }

    .title1 .title-inner1:after {
        width: 50px;
    }

    .ih-services {
        margin-top: -50px;
    }

    .slider-contain,
    .slider-contain > div {
        margin-top: 1rem !important;
    }

    .ih-enc-item {
        flex-direction: column;
        background-color: white;
        color: var(--theme-color);
        border-radius: 1.5rem;
        display: flex;
        width: 100%;
        padding: 2rem;
        box-shadow: 0px 2px 5px #cbcbcb;
        flex-direction: column;
        align-items: center;
    }

    .ih-enc-item .img-wrapper {
        box-shadow: none;
        padding: 0;
        border: none;
    }

    .ih-enc-item .content-wrapper {
        box-shadow: none;
        border: none;
        margin-right: 0px;
        margin-top: 0px;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0rem;
    }

    .ih-enc-item .content-wrapper .text-content {
        text-align: center;
    }

    .slick-arrow {
        display: none !important;
    }
}

@media only screen and (max-width: 380px) {
    .mobile-search-btn {
        width: 30px;
        height: 30px;
    }

    .top-language-btn {
        padding: 0.2rem;
    }
}

.header-logo {
    height: auto;
    max-width: 14rem;
    max-height: 3.5rem;
}

.banner-logo {
    max-width: 12rem;
}

.contact-us-btn {
    background-color: var(--theme-color) !important;
    color: white;
}

.contact-us-btn i {
    color: white;
}

footer p {
    color: white !important;
}

.footer-theme .sub-title h4 {
    color: white !important;
}

.footer-theme .sub-title li a {
    color: white !important;
}

.sub-footer {
    background-color: var(--theme-color);
}

.footer-end {
    border-top: white 1px solid;
}

h2 {
    text-transform: none;
    color: var(--theme-color);
    font-weight: bold;
}

h3 {
    color: var(--theme-color);
    font-weight: bold;
}

.btn-solid {
    background-image: none;
    background-color: var(--theme-color);
    letter-spacing: normal;
}

.btn {
    text-transform: none;
}

.home-links-section a {
    color: darkslategrey;
}
.home-links-section a:hover {
    color: var(--theme-color);
}

.home-section {
    -webkit-border-radius: 0 0 5rem 5rem;
    -moz-border-radius: 0 0 5rem 5rem;
    border-radius: 0 0 5rem 5rem;
    padding-bottom: 3rem;
}
.home-slider {
    padding-top: 10vh;
}

.home-slider .home,
.center-slider .home {
    height: auto;
}

.search-icon {
    all: unset;
    color: grey;
    position: absolute;
    left: 0;
    height: -webkit-fill-available;
    display: flex;
    align-items: center;
    z-index: 3;
}

.search-icon:hover {
    cursor: pointer;
}

.actions-section {
    background-color: rgb(242, 242, 242);
    padding: 0.3rem 0;
    border-radius: 10rem;
}

.actions-section ul li {
    padding: 0 1rem;
    border-left: 1px solid #787878;
}

.actions-section ul li:last-child {
    border: none;
    padding-left: 0;
}

.actions-section a {
    color: darkslategrey;
}

.actions-section a:hover {
    color: var(--theme-color);
}

.progress-bar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(closest-side, white 79%, transparent 80% 100%),
        conic-gradient(var(--theme-color) 75%, #eee 0);
    color: var(--theme-color);
    font-size: 24px;
    font-weight: 600;
}

.footer-mobile-title {
    color: white;
}

footer {
    margin-bottom: 0;
}

.bounded-height {
    max-height: 40vh;
    overflow-y: auto;
}

.tap-top {
    border: white 1px solid;
}

.surah {
    margin-bottom: 1rem;
}

.surah:hover {
    background-color: var(--theme-color);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.surah:hover * {
    color: white;
    transition: 0.3s ease-in-out;
}

.surah-prev {
    border-radius: 0 8rem 8rem 0;
}

.surah-next {
    border-radius: 8rem 0 0 8rem;
}

.surah h3 {
    color: lightslategrey;
}

.child-horizontal-spacing > * {
    margin-left: 1rem !important;
}

.child-horizontal-small-spacing > * {
    margin-left: 0.25rem !important;
}

.child-horizontal-spacing > *:last-child,
.child-horizontal-small-spacing > *:last-child {
    margin-left: 0 !important;
}

.child-vertical-spacing > * {
    margin-bottom: 0.5rem;
}

.child-vertical-spacing > *:last-child {
    margin-bottom: 0;
}
.accordion-button:not(.collapsed) {
    background-color: transparent;
}

.rounded {
    border-radius: 1rem !important;
}

.ayah {
    font-size: 1.4rem;
    text-align: center;
    color: var(--theme-color);
    margin-top: 1rem;
    margin-bottom: 1rem;
    /* font-family: Hafs; */
}

.translate-ayah {
    font-size: larger;
    display: flex;
    align-items: end;
}

.ayah-selector-button {
    border-radius: 50rem !important;
}

.ayah-selector-button:hover {
    background-color: var(--theme-color);
    color: white;
    transition: 0.3s ease-in-out;
}

.btn-solid:focus:hover {
    color: black !important;
}
.btn-solid:focus {
    color: white !important;
}

h2 {
    text-align: center;
}

@media (max-width: 480px) {
    .brand-logo img {
        height: 2rem !important;
    }
}

#search-overlay {
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    z-index: 10;
    top: 0px;
    right: 0px;
    background-color: rgb(255, 255, 255);
}

.dropdown-menu.show {
    display: grid;
}

.btn-solid:focus:hover {
    color: black !important;
}
.btn-solid:focus {
    color: white !important;
}

.rounded-start {
    border-radius: 0 8rem 8rem 0 !important;
}

.rounded-end {
    border-radius: 8rem 0 0 8rem !important;
}

.icon::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.icon-next::before {
    font: var(--fa-font-solid);
    content: "\f054";
    display: none;
}

.icon-prev::before {
    font: var(--fa-font-solid);
    content: "\f053";
    display: none;
}

.row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}
.row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.row .cycle-box {
    height: 100%;
}

.custom-dropdown {
    margin-top: -1rem;
    padding-top: 1rem;
    border-right: 1px solid #d4d4d4;
    border-left: 1px solid #d4d4d4;
    border-radius: 0 0 1rem 1rem;
    max-height: 30vh;
}

.custom-dropdown li {
    border-bottom: 1px solid #d4d4d4;
    border-top: none;
    z-index: 10;
    padding: 0.5rem;
    width: 100%;
}

.custom-dropdown li:hover {
    background: #dedede;
}

@media (min-width: 991px) {
    .title-inner1 {
        text-wrap: nowrap;
    }
}

.surah h3 {
    font-weight: normal;
    padding: 0 1.5rem !important;
    line-height: 2rem;
}

select {
    border: 1px solid #ced4da;
}

.hamesh {
    text-align: start;
}

.selected-ul {
    background: var(--theme-color);
    color: white;
}

.btn-unselected {
    background: transparent;
    color: black;
}

.btn-unselected:hover {
    background: var(--theme-color);
    color: white;
}

.btn-group-prepend {
    border: 1px solid #ced4da;
    border-radius: 0 50rem 50rem 0 !important;
}

.btn-group-prepend {
    border: 1px solid #ced4da;
    border-radius: 0 50rem 50rem 0 !important;
}

.btn-group-input {
    border-radius: 50rem 0 0 50rem !important;
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden;
    min-width: 20rem;
    background-color: #aaa;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    right: auto;
    left: auto;
    top: 6%;
    border-radius: 20rem;
    position: fixed;
    right: 50%;
    transform: translate(50%, -50%);
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 3.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }
    to {
        top: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }
    to {
        top: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }
    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }
    to {
        top: 0;
        opacity: 0;
    }
}

.category {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.category:hover {
    background-color: var(--theme-color);
    color: white;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.category:hover * {
    color: white;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.rounded-icon {
    background-color: var(--theme-color);
    color: white;
    border-radius: 50%;
    padding-right: 0.25rem;
    padding-left: 0.25rem;
    min-width: 1.3rem;
    min-height: 1.3rem;
    text-align: center;
}

.category:hover .rounded-icon {
    color: var(--theme-color) !important;
    background-color: white !important;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

h4 {
    color: var(--theme-color);
    font-weight: bold;
}

.quick-action {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--theme-color);
    color: white;
    font-size: medium;
    width: 9rem;
    padding: 1rem !important;
    text-align: center;
}

.quick-action svg {
    font-size: 1.8rem !important;
    margin-bottom: 0.5rem;
}

.quick-action:hover {
    color: var(--theme-color);
    background-color: white;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.quick-action:hover * {
    color: var(--theme-color);
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.title-inner2 {
    border-bottom: 0.2rem solid;
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
}

.entry-content {
    position: relative;
    margin-top: 1rem;
    margin-right: 1rem;
}

.entry-content ul li a:hover,
.entry-content ol li a:hover {
    color: var(--theme-color);
}

.entry-content ul li a,
.entry-content ol li a {
    color: var(--theme-secondary-color) !important;
}

.entry-content ul li,
.entry-content ol li {
    display: list-item;
}

.quick-actions > * {
    width: auto !important;
    margin: 0.2rem;
}

ol {
    padding-right: 0;
    margin-bottom: 0;
}

p {
    font-size: 1.1rem;
    line-height: normal;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

button.btn.btn-solid:active:hover:focus {
    background: #eee;
}
select {
    padding: 0 1rem;
}

.amiri-font {
    font-family: Amiri;
}

.accordion-button:not(.collapsed) {
    color: var(--theme-color);
    border-color: var(--theme-color);
}

.accordion-button:focus {
    -webkit-box-shadow:0 0 0 0.25rem rgba(183, 147, 95, 0.25);
    box-shadow: 0 0 0 0.25rem rgba(183, 147, 95, 0.25);
}

.input-wrapper {
    position: relative;
    display: inline-block;
}

.input-wrapper button,
.input-wrapper a {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.modal-top-icon {
    /* border: 1px solid var(--light-grey); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* width: 2.5rem;
    height: 2.5rem; */
    align-content: center;
    border-radius: 0.5rem;
    margin: 1rem 0;
    color: var(--primary);
}
