
html, body {
    height: 100%;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: var(--default-title);
}

body {
    font-family: 'Mehr Nastaliq Web';
    /*font-family: 'Jameel Noori Nastaleeq' !important;*/
    width: 100%;
    direction: rtl;
    /*line-height: 2;
     letter-spacing: 1px;*/
    color: var(--default-text);
    background: var(--main-card-bg);
    /*For styling scrollbar in firefox*/
    /*scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;*/
}

::placeholder, .form-control::placeholder, input::placeholder, select::placeholder {
    color: var(--placeholder-text) !important;
    opacity: 1; /* Firefox */
}

::-ms-input-placeholder, .form-control::-ms-input-placeholder, input::-ms-input-placeholder,
select::-ms-input-placeholder {
    color: var(--placeholder-text) !important;
}

.rich-glod {
    color: var(--rich-glod) !important;
}

.iron-grey {
    color: var(--iron-grey) !important;
}

.text-info {
    color: var(--text-info) !important;
}

.text-success {
    color: var(--text-success) !important;
}

.text-danger {
    color: var(--text-danger) !important;
}

.text-blue {
    color: var(--text-blue);
}

.default-text {
    color: var(--default-text) !important;
}

.tamheed-Img {
    content: var(--tamheed-img);
}

.bank-img {
    content: var(--bank-image);
}

.prev-hadith {
    content: var(--prev-hadith-btn);
    filter: var(--close-btn-filter);
}

.next-hadith {
    content: var(--next-hadith-btn);
    filter: var(--close-btn-filter);
}

.first-page {
    content: var(--first-page-btn);
}

.prev-page {
    content: var(--prev-page-btn);
}

.next-page {
    content: var(--next-page-btn);
}

.last-page {
    content: var(--last-page-btn);
}

.bg-yellow {
    background-color: var(--yellow-color) !important;
    color: var(--text-black);
}

.urdu-font {
    font-family: 'Mehr Nastaliq Web' !important;
}

.urduFont {
    font-family: 'Mehr Nastaliq Web' !important;
}

.eng-font {
    font-family: Arial sans-serif !important;
    direction: ltr !important;
}

.arabic-font {
    font-family: 'KFGQPC Uthman Taha Naskh' !important;
    letter-spacing: 0px !important;
}


.EngTranslation {
    font-family: Arial sans-serif !important;
    direction: ltr !important;
    text-align: justify !important;
    display: inline;
}

.engAlignment {
    display: inline-block;
    direction: ltr !important;
}

.floatL {
    float: left;
}

.text-right {
    text-align: right;
}

.text-left{
    text-align: left;
}

.text-center{
    text-align:center;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-size: 17px;
}

.quick-links {
    text-align: center;
}

p {
    margin: 0;
    line-height: 2;
    font-size: 14px;
}

.baab-name {
    margin: 0;
    line-height: 2;
    font-size: 14px;
    text-align: center;
}

.dropdown_class {
    font-size: 14px;
    height: 50px !important;
}

.dropdown_class2 {
    font-size: 14px;
    height: 40px !important;
}

a, a:hover, a:focus {
    text-decoration: none;
    outline: none;
    color: var(--default-text);
    transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    -webkit-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
}

.navbar-light .navbar-toggler {
    color: var(--default-text);
    border-color: var(--card-borders-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.article-padd {
    padding: 50px 0 50px 0;
}

.article-padd-half {
    padding: 30px 0 30px 0;
}

footer article.article-padd-half {
    background-color: var(--footer-bg);
}

button:focus {
    outline-color: transparent;
}

.shadow {
    box-shadow: var(--footer-bg);
}

hr {
    border-top: 1px solid var(--success-color);
}

/*====== Checkbox Style =======*/
.check-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
/*.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}*/

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    right: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #c5c5c5;
    box-shadow: (--card-shadow);
}

/* On mouse-over, add a grey background color */
.check-container:hover input ~ .checkmark {
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #c5c5c5;
    box-shadow: var(--card-shadow);
}

/* When the checkbox is checked, add a blue background */
.check-container input:checked ~ .checkmark {
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #c5c5c5;
    box-shadow: var(--card-shadow);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.check-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.check-container .checkmark:after {
    left: 10px;
    top: 6px;
    width: 5px;
    height: 11px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/****** Radio Button *******/
.radio-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 0;
}

    /* Hide the browser's default radio button */
    .radio-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-container:hover input ~ .checkmark {
    background-color: #fff;
}

/* When the radio button is checked, add a blue background */
.radio-container input:checked ~ .checkmark {
    background-color: #fff;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.radio-container .checkmark:after {
    top: 5px;
    left: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0a993c;
}

.navbar-brand img {
    display: none;
}

/********************/
/*	Home Pgae	    */
/********************/
#menu-logo {
    position: relative;
    background-image: url(../images/banner.jpg);
    background-size: auto 100%;
    height: 530px;
    background-position: center 15px;
    background-repeat: no-repeat;
    background-color: var(--header-banner-bg);
}

.menu-logo-homepage {
    height: 530px;
}

.menu-logo1 {
    height: 350px !important;
}

#menu-logo:before {
    position: absolute;
    background-color: var(--header-borders);
    width: 100%;
    content: '';
    height: 3px;
    left: 0;
    right: 0;
    top: 55px;
}

#menu-logo:after {
    position: absolute;
    background-color: var(--header-borders);
    width: 100%;
    content: '';
    height: 3px;
    left: 0;
    right: 0;
    bottom: 0;
}

.navbar-expand-lg {
    height: 50px;
}

    .navbar-expand-lg .navbar-nav {
        padding-top: 10px;
    }

    .navbar-expand-lg .nav-links li a {
        padding: 0 20px !important;
        color: var(--header-menu-color) !important;
        text-transform: uppercase;
        /*letter-spacing: 1px;*/
        position: relative;
    }

        .navbar-expand-lg .nav-links li a:hover {
            color: var(--hover-color) !important;
        }

    .navbar-expand-lg .nav-links li {
        position: relative;
    }

        .navbar-expand-lg .nav-links > li:hover > a:after {
            background-image: url(../images/caret.png);
            width: 8px;
            height: 7px;
            position: absolute;
            bottom: -9px;
            left: 0;
            right: 0;
            margin: 0 auto;
            content: '';
        }

        .navbar-expand-lg .nav-links li.active a {
            color: var(--hover-color) !important;
            position: relative;
        }

            .navbar-expand-lg .nav-links li.active a:after {
                content: '';
                background-image: url(../images/caret.png);
                width: 8px;
                height: 7px;
                position: absolute;
                bottom: -9px;
                left: 0;
                right: 0;
                margin: 0 auto;
            }

.lang-drop {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--fields-bg);
    float: left;
    background: var(--dropdown-icon) no-repeat scroll 97% 28px;
    background-color: var(--fields-bg);
    padding: 0 35px;
    cursor: pointer;
}

.hadees_page_ddl {
    width: 100%;
}

.search-wrap .first-wrap {
    background-position: 93% 28px;
}

.search-wrap {
    height: calc(100% - 210px);
    display: flex;
    align-items: center;
}

.search-search-wrap {
    height: calc(100% - 150px) !important;
}

.search-wrap-home {
    height: calc(100% - 100px) !important;
}

.search-wrap form {
    width: 90%;
    margin: -90px auto 0 auto;
    background-color: #ffffff1a;
    padding: 20px 40px 20px 35px;
    border-radius: 5px;
}

.search-wrap .rowform {
    width: 90%;
    margin: -110px auto 0 auto;
    background-color: var(--header-field-card-bg);
    padding: 20px 40px 20px 35px;
    border-radius: 5px;
}

.btn-success {
    background-color: var(--text-success);
    color: var(--button-text);
    border-color: var(--text-success);
}

.search-wrap form .col-md-4, .search-wrap form .col-md-2, .search-wrap form .col-md-5, .search-wrap form .col-md-1 {
    padding: 0;
}

.search-wrap .rowform .col-md-4, .search-wrap .rowform .col-md-2, .search-wrap .rowform .col-md-5, .search-wrap .rowform .col-md-1 {
    padding: 0;
}

.form-control {
    background-color: var(--fields-bg) !important;
    border: 1px solid var(--field-borders-color);
    box-shadow: none;
    color: var(--default-text);
}

    .form-control:focus, .form-control:hover {
        background-color: var(--fields-bg);
        /*border: 1px solid var(--field-borders-color);*/
        box-shadow: none;
        color: var(--input-text);
    }

.search-wrap .form-control {
    border-radius: 0;
    height: 64px !important;
    font-size: 18px;
    color: var(--input-text);
    font-weight: bold;
    line-height: 2;
}

.search-wrap .first-wrap {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: none;
}

.eng-wrap {
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.search-wrap .form-group {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.search-wrap input {
    padding: 10px 20px 10px 70px;
    border-right: 0;
}

.search-wrap .keyboard-wrap {
    position: relative;
}

    .search-wrap .keyboard-wrap img {
        position: absolute;
        top: 20px;
        left: 20px;
    }

.search-wrap input::placeholder {
    color: #000;
}

.search-wrap button {
    border: none;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 10px;
    background-color: #fff;
    float: right;
    margin-right: -1px;
}

.search-wrap input[type="image"] {
    border: none;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 5.5px;
    background-color: #fff;
    float: right;
    margin-right: -1px;
}

.search-wrap button img {
    width: 57px !important;
}

.search-wrap button p {
    display: none;
}

.side-links {
    position: absolute;
    inset-inline-end: 0; /* Dynamically sets to 'left' for LTR or 'right' for RTL */
    background-color: var(--header-menu-bg);
    top: 50%;
    transform: translateY(-39%);
    border-start-start-radius: 5px;
    border-end-start-radius: 5px;
}

    .side-links li a, .right-side-links li a {
        color: var(--header-menu-color);
        text-align: left;
        display: flex;
        padding: 5px 10px;
        font-size: 14px;
    }

    .side-links .active a, .right-side-links .active a {
        color: red;
    }

    .side-links .active a, .right-side-links .active a {
        color: var(--hover-color);
        position: relative;
    }

    .side-links a:hover, .right-side-links a:hover {
        color: var(--hover-color);
    }

    .side-links a:active, .right-side-links a:active {
        color: var(--hover-color);
    }

    .side-links .active, .right-side-links .active {
        position: relative;
    }

        .side-links .active a:after, .side-links li:hover a:after {
            position: absolute;
            content: '';
            background-color: var(--button-bg);
            inset-inline-start: 0;
            height: 20px;
            width: 3px;
        }

.right-side-links {
    position: absolute;
    inset-inline-start: 0; /* Dynamically adjusts to 'left' for LTR or 'right' for RTL */
    background-color: var(--header-menu-bg);
    top: 58%;
    transform: translateY(-50%);
    border-start-end-radius: 5px;
    border-end-end-radius: 5px;
}

    .right-side-links .active a:after, .right-side-links li:hover a:after {
        position: absolute;
        content: '';
        background-color: var(--button-bg);
        inset-inline-end: 0;
        height: 20px;
        width: 3px;
    }

.btm-links {
    position: relative;
    top: 86px;
}

    .btm-links ul {
        display: flex;
        justify-content: center;
    }


        .btm-links ul li a {
            background-color: var(--header-menu-bg);
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
            color: var(--header-menu-color);
            padding: 7px 15px;
            margin: 0 2px;
        }

    .btm-links .active a, .btm-links li a:hover {
        background-color: var(--button-bg);
    }

.bg-gray {
    background-color: var(--content-area-bg);
}

.sort-drop {
    display: flex;
    align-items: center;
    padding-right: 15px;
}

    .sort-drop select {
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    .sort-drop .input-group {
        width: 30%;
        margin: 0 10px;
    }

    .sort-drop select {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 5px !important;
        border-bottom-right-radius: 5px !important;
    }

    .sort-drop .input-group-text {
        background-color: #fff;
        border-top-left-radius: 5px !important;
        border-bottom-left-radius: 5px !important;
    }

    .sort-drop a:nth-child(2) {
        margin-right: 10px;
    }

.sort-wrap {
    background-color: #fff;
    padding: 10px 0;
    border-radius: 5px;
    border-right: 4px solid #000;
    margin-top: 50px;
}

.hadees-wrap h4 {
    margin: 0;
    padding-left: 15px;
}

.hadees-wrap span {
    color: #0a993c;
}

.latest-wrap {
    background-color: var(--main-card-bg);
    border-radius: 5px;
    padding: 15px 15px;
    border-top: 4px solid var(--card-borders-color);
}

.arabic-wrap, .trans-wrap {
    text-align: right;
    position: relative;
}

    .arabic-wrap:after {
        content: '';
        position: absolute;
        background-image: url(../images/seprate.png);
        width: 1px;
        height: 106px;
        left: -8px;
        top: 10px;
    }

    .trans-wrap span {
        color: #d91212;
    }

.latest-wrap a {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    color: var(--link-text);
    font-weight: bold;
    position: relative;
}

    .latest-wrap a:after {
        content: '';
        position: absolute;
        background-color: var(--link-text);
        height: 1px;
        width: 70px;
        bottom: -3px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

#UpdatePanel15 {
    width: 100% !important; /* Ensure width is not constrained by any parent element */
    max-width: 100% !important; /* Ensure max-width is not limiting element's width */
    box-sizing: border-box; /* Incorporates padding and border in the element's total width */
    padding: 0;
    margin: 0 auto; /* Centers the div if there's extra space */
}


.UpdatePanel {
    /*margin-top: 50px;
    width: 1497px;
    margin-right:-114px*/
}

.update-wrap h2 {
    /*text-align: right;*/
    background-color: var(--main-card-bg);
    margin-top: 0;
    padding: 15px 15px 25px 0;
    margin-bottom: 25px;
    border-radius: 5px;
    box-shadow: var(--card-shadow);
    border-inline-start: 4px solid var(--card-borders-color);
    font-size: 24px;
    padding-inline-start: 15px;
}

.update-hd-wrap {
    display: flex;
    justify-content: space-between;
}

.update-box {
    direction: ltr;
    display: block;
}

.single-box {
    background-color: var(--main-card-bg);
    border-radius: 5px;
    padding: 15px 15px;
    box-shadow: var(--card-shadow);
}

    .single-box img {
        border-radius: 5px;
    }

.update-hd-wrap {
    margin-top: 5px;
}

    .update-hd-wrap p:first-child {
        font-size: 12px;
    }

.single-box a {
    color: var(--link-text);
    position: relative;
}

    .single-box a:after {
        content: '';
        position: absolute;
        background-color: #0a993c;
        height: 1px;
        width: 50px;
        bottom: -3px;
        left: 0;
        margin: 0 auto;
    }

.single-box p:last-child {
    text-align: right;
}

.owl-dots {
    text-align: center;
    margin-top: 10px;
}

.owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #fff !important;
    border-radius: 50%;
    margin: 5px;
}

    .owl-dot.active {
        background-color: var(--button-bg) !important;
        width: 12px;
        height: 12px;
    }

.poster-wrap .single-box {
    /*height: 675px;*/
}

    .poster-wrap .single-box .img-holder {
        height: 100%;
        overflow: hidden;
    }

    .poster-wrap .single-box img {
        height: 610px;
        width: 1080px;
    }

.visits-wrap {
    background-image: url(../images/visit-bg.png);
    background-size: 100% auto;
    height: 150px;
    width: 100%;
    /*background-repeat: no-repeat;*/
    background-position: center center;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.visit-txt p {
    font-size: 20px;
    color: var(--text-white);
    text-align: center;
}

    .visit-txt p:last-child {
        font-size: 36px;
    }

.newsleter-wrap {
    background-color: var(--main-card-bg);
    border-radius: 5px;
    padding: 50px 100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 9;
}

    .newsleter-wrap .form {
        display: flex;
    }

    .newsleter-wrap input {
        background-color: #d8e1ef;
        border-radius: 45px;
        margin-left: 15px;
        padding: 15px 20px;
    }

        .newsleter-wrap input::placeholder {
            color: var(--input-text);
            font-size: 18px;
        }

    .newsleter-wrap h3 {
        margin-top: 0;
        margin-bottom: 35px;
        color: var(--success-color);
    }

    .newsleter-wrap button {
        background-image: url(../images/button.png) !important;
        background-size: cover !important;
        background-repeat: no-repeat;
        background-color: transparent !important;
        border-color: transparent !important;
        background-position: center center;
        padding: 0 20px;
        border-radius: 40px;
    }

    .newsleter-wrap .btnSubscription {
        background-image: url(../images/button.png) !important;
        background-size: cover !important;
        background-repeat: no-repeat;
        background-color: transparent !important;
        border-color: transparent !important;
        background-position: center center;
        padding: 0 20px;
        border-radius: 40px;
    }

    .newsleter-wrap button i {
        border-right: 1px solid #fff;
        padding-right: 15px;
    }

    .newsleter-wrap button span {
        padding-left: 10px;
    }

.first-row {
    display: flex;
    align-items: center;
}

/*footer {
    text-align: right;
}
*/
.standard-footer-heading {
    font-size: 36px;
    line-height: 51px;
    color: var(--footer-title);
    margin-bottom: 15px;
    text-align: center;
}

.footer-list {
    padding: 0px;
    list-style: none;
}

    .footer-list li {
        font-size: 24px;
        line-height: 34px;
        color: var(--footer-text);
        margin-top: 9px;
    }

    .footer-list .footer-link {
        color: var(--footer-text);
        text-decoration: none;
        transition: all 0.25s ease-in-out;
    }

        .footer-list .footer-link:hover {
            color: var(--hover-color);
        }

li.footer-social-icons a {
    color: var(--footer-text);
    margin-left: 10px;
}

    li.footer-social-icons a:hover {
        color: var(--hover-color);
    }

.project-list {
    display: flex;
    flex-wrap: wrap;
}

    .project-list li {
        flex: 0 0 33%;
    }

@media (max-width: 767px) {
    .project-list li {
        flex: 0 0 100%;
    }
}


.phone-address {
    background-color: #d9e2f0;
    display: flex;
    align-items: center;
    padding: 10px 10px;
    width: 268px;
    height: 95px;
}

    .phone-address:last-child {
        margin-right: 1px;
    }

    .phone-address div {
        display: flex;
        align-items: flex-start;
        text-align: right;
    }

        .phone-address div p {
            padding-right: 10px;
        }

.sec-row {
    margin-top: 1px;
}

.quick-links ul {
    width: 65%;
    margin-right: auto;
}

.quick-links li a {
    text-align: right;
    display: flex;
}

.social-wrap {
    width: 80%;
}

    .social-wrap ul {
        float: left;
    }

        .social-wrap ul li {
            text-align: right;
            margin-left: -25px;
            margin-bottom: 10px;
        }

            .social-wrap ul li a i {
                padding-left: 10px;
            }

    .social-wrap h4, .quick-links h4, .quick-links h4 a {
        color: var(--link-text);
        position: relative;
    }

.quick-links ul li {
    margin-bottom: 15PX;
}

.social-wrap h4:after {
    content: '';
    position: absolute;
    background-color: #0a993c;
    height: 1px;
    width: 135px;
    bottom: -5px;
    left: 0;
    margin: 0 auto;
}

.quick-links h4:after {
    content: '';
    position: absolute;
    background-color: #0a993c;
    height: 1px;
    width: 110px;
    bottom: -5px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.white-bg {
    position: relative;
}

    .white-bg:before {
        content: '';
        background-color: #fff;
        position: absolute;
        width: 100%;
        height: 110px;
        left: 0;
        right: 0;
        top: -110px;
    }

.toggle_hd, .toggle_hd-2 {
    display: none;
}

/*@======= Contact Page ========@*/
.inner-pages {
    background-size: cover !important;
    height: 330px !important;
    background-position: center -130px !important;
}

    .inner-pages h1 {
        color: #0a993c;
        font-size: 56px;
    }

.contact-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-flex {
    position: relative;
    background-color: var(--main-card-bg);
    width: 100%;
    border-radius: 5px;
    box-shadow: var(--card-shadow);
    height: 215px;
}

    .contact-flex p {
        transform: translateY(-25%);
        font-weight: bold;
        font-size: 18px;
    }

.img-wrap {
    box-shadow: var(--card-shadow);
    width: 101px;
    height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: var(--success-color);
    transform: translateY(-50%);
}

.contact-hd {
    margin-bottom: 90px;
}

/*@======= Donation Page ========@*/
.hadees-nabvi {
    background-color: var(--main-card-bg);
    padding: 10px 10px;
    border-top: 2px solid var(--success-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

    .hadees-nabvi h4 {
        margin-top: 0;
        color: var(--success-color);
        margin-bottom: 10px;
    }

.bank-details {
    background-color: var(--main-card-bg);
    border-left: 4px solid var(--success-color);
    border-radius: 5px;
    padding: 40px 0 40px 50px;
    position: relative;
}

    .bank-details:after {
        content: '';
        background-image: url(../images/arrow.png);
        width: 76px;
        height: 81px;
        background-repeat: no-repeat;
        position: absolute;
        top: 50px;
        right: -43px;
    }

    .bank-details ul {
        margin-bottom: 0;
    }

        .bank-details ul li {
            margin-bottom: 10px;
        }

            .bank-details ul li:last-child {
                margin-bottom: 0;
            }

.bank-flex {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

    .bank-flex:after {
        content: '';
        position: absolute;
        /*left: 30px;*/
        inset-inline-end: 30px;
        background-image: var(--bank-image);
        background-repeat: no-repeat;
        width: 96px;
        height: 92px;
    }

.bank-info h1 {
    font-size: 46px;
    color: var(--title-success);
}

.bank-info p {
    font-size: 20px;
}

/*@======= Hadees View Page ========@*/
.btn-box a {
    background-image: url(../images/green-small.png);
    background-size: cover;
    background-position: center center;
    border-radius: 5px;
    width: 130px;
    height: 41px;
    display: flex;
    text-align: center;
    color: var(--button-text);
    align-items: center;
    justify-content: center;
    margin: 0 2px;
}

.btn-box input[type="button"] {
    background-image: url(../images/green-small.png);
    background-size: cover;
    background-position: center center;
    border-radius: 5px;
    width: 130px;
    height: 41px;
    display: flex;
    text-align: center;
    color: var(--button-text);
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    cursor: pointer;
    border: none;
}

input[type="button"] {
    border: none;
}

.btn-box .active {
    background-image: var(--btn-bg-img);
}

.btn-box {
    display: flex;
}

.check-wrap ul {
    display: flex;
    margin-bottom: 0;
}

.filter-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main-card-bg);
    padding: 10px 15px;
    border-radius: 5px;
}

.btn-wrap {
    position: relative;
}

.check-container > span:first-child {
    margin-inline-start: 33px;
}

.hadees_view .check-container > span:first-child {
    margin-right: 0px !important;
}

.check-container > label {
    margin-right: 33px;
}

.drop-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main-card-bg);
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 15px;
}

.name-drop {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .name-drop select {
        width: 65%;
        padding: 0.375rem 2.25rem 0.375rem 0.75rem;
        font-size: 14px;
    }

    .name-drop .lang-drop {
        background: var(--dropdown-icon) no-repeat scroll 97% 18px;
    }

    .name-drop a {
        background-image: var(--btn-bg-img);
        background-size: cover;
        background-position: center center;
        border-radius: 5px;
        width: 90px;
        height: 41px;
        display: flex;
        text-align: center;
        color: #fff;
        align-items: center;
        justify-content: center;
        margin: 0 10px;
    }

    .name-drop input[type="button"] {
        background-image: var(--btn-bg-img);
        background-size: cover;
        background-position: center center;
        border-radius: 5px;
        width: 90px;
        height: 41px;
        display: flex;
        text-align: center;
        color: #fff;
        align-items: center;
        justify-content: center;
        margin: 0 10px;
        cursor: pointer;
    }

.drop-wrap .sort-drop {
    width: 28%;
    padding-right: 0;
    padding-left: 10px;
}

    .drop-wrap .sort-drop .input-group {
        width: 100%;
    }

.text-wrap p {
    font-size: 12px;
}

.hadith-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}



.arabic-hadees, .tarjuma-wrap {
    background-color: var(--inner-card-bg);
    border-radius: 5px;
    padding: 15px 15px;
    margin-top: 15px;
}

.hadees-wrap-height {
    height: 100%;
}

.hadees-main-div {
    margin-bottom: 30px;
}
/*.arabic-hadees span, .tarjuma-wrap span {
    color: #0a993c;
    font-weight: bold;
}*/

.arabic-hadees p, .tarjuma-wrap p {
    line-height: 2;
}

    .arabic-hadees p:last-child {
        margin-top: 32px;
    }

.p-l-7 {
    padding-left: 7px;
}

.p-r-7 {
    padding-right: 7px;
}

.hasia-wrap {
    background-color: var(--main-card-bg);
    border-radius: 5px;
    padding: 10px 15px;
    margin-top: 15px;
    /*text-align: right;*/
}

    /*.hasia-wrap p:first-child {
    color: #0a993c;
}*/

    .hasia-wrap p:nth-child(2) {
        /*font-weight: bold;*/
    }

    .hasia-wrap p:nth-child(3) {
        color: var(--default-text);
    }

.urdu-topic, .arabic-topic {
    background-color: var(--main-card-bg);
    border-radius: 5px;
    text-align: right;
    margin-top: 15px;
}

.eng-topic {
    background-color: var(--main-card-bg);
    border-radius: 5px;
    margin-top: 15px;
}

    .urdu-topic h4, .arabic-topic h4, .eng-topic h4 {
        margin: 0;
        padding: 15px 15px;
        background-color: #17202e;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        color: #fff;
    }

.urdu-topic ul, .arabic-topic ul {
    padding: 15px 25px 10px 0;
}

    .urdu-topic ul li, .arabic-topic ul li {
        margin-bottom: 10px;
    }

.side-lang, .book-selection {
    background-color: var(--main-card-bg);
    padding: 10px 10px;
    display: flex;
    border-radius: 5px;
    margin-bottom: 18px;
}

    .side-lang .lang-drop, .book-selection .lang-drop {
        background: var(--dropdown-icon) no-repeat scroll 7% 16px;
        padding: 0 15px;
        z-index: 1;
    }

.book-selection {
    margin-top: 0;
    margin-bottom: 15px;
    display: block;
    overflow: auto;
}

    .book-selection select {
        margin-bottom: 7px;
    }

        .book-selection select:last-child {
            margin-bottom: 0;
        }

.side-topic {
    text-align: right;
    background-color: var(--main-card-bg);
    border-radius: 5px;
}

    .side-topic h4 {
        margin: 0;
        background-color: var(--header-banner-bg);
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        color: var(--header-menu-color);
        padding: 15px 10px;
    }

    .side-topic .form-group {
        display: flex;
        justify-content: center;
        padding: 0 10px;
        margin-top: 15px;
    }

        .side-topic .form-group input {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            border-left: none;
        }

        .side-topic .form-group button {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            background-color: transparent;
            border-color: #ced4da;
            border-right: none;
        }

    .side-topic ul {
        padding: 0 15px;
        padding-bottom: 15px;
    }

        .side-topic ul li {
            position: relative;
            padding-right: 15px;
            padding-bottom: 5px;
        }

            .side-topic ul li:before {
                position: absolute;
                content: '';
                background-image: url(../images/caret-right.png);
                width: 8px;
                height: 9px;
                right: 0;
                top: 10px;
            }

#DDLHadithNumber.drop_list {
    color: transparent;
    padding: 0;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background-position: 10px 15px;
}

    #DDLHadithNumber.drop_list option {
        color: var(--input-text);
    }

#txtHadithNumber.no_border {
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-left-color: var(--field-borders-color);
    width: 30px;
}

.sameLineAlignment p {
    display: inline;
}


.mouzuDiv a {
    display: block;
}

#engMouzu .mouzuDiv a {
    padding: 0 20px 0 0px;
}

#topicsUrdun0Nodes table tr td {
    white-space: normal !important;
}

#topicsArabicn0Nodes table tr td {
    white-space: normal !important;
}

.sharing_text {
    font-family: Arial;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-label);
}

#chkBooks tr td {
    padding: 0 10px;
}

    #chkBooks tr td label {
        padding-inline-start: 10px;
        font-size: 18px;
    }

#rbtNoOfSearchedResults tr td {
    padding: 0 10px;
}

    #rbtNoOfSearchedResults tr td label {
        padding-inline-start: 10px;
        font-size: 18px;
    }

.nav-tabs {
    border-color: var(--field-borders-color);
}
/*@======= About Page ========@*/


.about-wrap h4 {
    color: var(--title-success);
}

.about-wrap p {
    line-height: 2;
}

.prop-wrap {
    margin-top: 10px;
}

    .prop-wrap ul li {
        background-color: var(--main-card-bg);
        border-radius: 5px;
        margin-bottom: 15px;
        padding: 0;
        font-weight: 600;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
    }

        .prop-wrap ul li span {
            padding: 21px 25px;
            border-radius: 5px;
            /*margin-left: 20px;*/
            background-color: var(--success-color);
            color: var(--button-text);
        }

        .prop-wrap ul li p {
            margin-inline-start: 20px;
        }

.about-box {
    background-color: var(--main-card-bg);
    padding: 0 15px;
    border-radius: 5px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.inner-box h4 {
    margin: 10px;
}

.tem-wrap {
    text-align: center;
    background-color: var(--main-card-bg);
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 15px;
}

/*@======= Search Result ========@*/

.result-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.radio-box {
    display: flex;
    align-items: center;
    z-index: 1;
}

.radio-container .res-name {
    margin-right: 35px;
}

.result-box .check-container input:checked ~ .checkmark {
    box-shadow: none;
}

.result-box .checkmark {
    box-shadow: none;
}

.check-wrap .checkmark {
    border-radius: 5px;
}

.check-wrap .check-container:hover input ~ .checkmark {
    box-shadow: none;
}

.result-box .check-container {
    font-size: 16px;
    padding-left: 0;
}

.page-navi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--inner-card-bg);
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    position: relative;
    z-index: 1;
}

.page-navigation {
    display: block;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 5px;
}

.arabic-count {
    text-align: right;
}

.navi-wrap ul {
    margin-bottom: 0;
}

    .navi-wrap ul li a {
        border-radius: 5px;
        margin: 0 5px;
        box-shadow: 0 2px 5px -1px #00000030;
        font-size: 14px;
        color: #676767;
        font-weight: bold;
    }

.navi-wrap .page-link:hover {
    color: var(--hover-color);
    text-decoration: none;
    background-color: #fff;
}

.navi-wrap .active {
    color: var(--hover-color);
}

.navi-wrap .page-item:first-child .page-link {
    margin-left: 1px;
}

.hadees-result-wrap {
    background-color: var(--inner-card-bg) !important;
    border-radius: 5px;
    margin-top: 15px;
    padding: 10px 15px;
}

.arabic-result, .urdu-result {
    text-align: right;
    position: relative;
}

/*.arabic-result span, .urdu-result span {
    color: #0a993c;
    font-weight: bold;
    padding-left: 5px;
}*/

.spanStyle {
    color: var(--text-label);
    /*font-weight: bold;*/
    padding-left: 0px;
}

.HadithHashiaText {
    font-size: 14px !important;
    color: var(--default-text) !important;
}

.arabic-result .red, .urdu-result .red {
    color: red;
}

.arabic-result .num {
    background-color: #17202e;
    border-radius: 5px;
    color: #fff;
    padding: 5px 12px;
    margin-bottom: 5px;
    display: inline-flex;
}

.urdu-result:before {
    position: absolute;
    background-image: url(../images/seprate.png);
    width: 1px;
    height: 120px;
    right: -20px;
    content: '';
    background-size: cover;
    bottom: 50%;
    display: flex;
    align-items: center;
    transform: translateY(50%);
}

.btm-checkbox {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.search_result_checkbox {
    bottom: 10px !important;
    width: 80%;
}

.btm-checkbox ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btm-checkbox ul li {
        color: #0a993c;
    }

.btm-checkbox table {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btm-checkbox tr td {
    color: #0a993c;
}

.btm-checkbox .check-container > span:first-child {
    font-weight: bold;
    font-size: 18px;
}

.btm-checkbox .check-container > label {
    font-weight: bold;
    font-size: 18px;
}


.overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ajax-loader {
    display: block;
    /*filter: var(--close-btn-filter);*/
    width: 300px;
}

.settingsButton {
    position: fixed;
    top: 3px;
    z-index: 10;
    margin: 0;
    width: 28px;
}

.ArabicTopic {
    display: inline-block;
    font-size: 18px;
    font-family: 'KFGQPC Uthman Taha Naskh';
    color: black;
    width: 455px;
    margin-right: 108px;
}

.UrduTopic {
    display: inline-block;
    font-size: 18px !Important;
    font-family: 'Jameel Noori Nastaleeq';
    color: black;
    margin-right: 71px;
    width: 450px;
}

.rt-social-buttons {
    right: 0;
    position: fixed;
    top: 372px;
    z-index: 10;
    margin: 0;
    width: 28px;
}

    .rt-social-buttons img {
        height: 28px;
        width: 28px;
    }

.mouzuDiv {
    padding: 15px 25px 10px 0;
}

.eng-font .mouzuDiv {
    padding: 15px 0px 0px 25px;
}

.topicslinkCss {
    margin-bottom: 10px;
}

.modal-lg {
    max-width: 1150px !important;
}

.tarjumahPopupSubHeadings {
    display: block;
    width: 100%;
    clear: both;
}

.trans_tabs li {
    border-right: 1px solid #dee2e6;
    /*padding: 10px 30px;*/
    border-top-left-radius: 3px;
    border-bottom: 0;
    border-top: 1px solid #dee2e6;
    border-top-right-radius: 3px;
}
    /*.trans_tabs li.active {
    background-color: #dee2e6;
}*/
    .trans_tabs li:first-child {
        border-left: 0;
    }

    .trans_tabs li:last-child {
        border-left: 1px solid #dee2e6;
    }

#lblTaraqeems table tr td {
    padding: 5px 0;
    cursor: pointer;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: auto !important;
    margin-bottom: 4px;
    user-select: none;
    -webkit-user-select: none;
    padding: 10px 0 !important;
    background-color: var(--fields-bg);
    border-color: var(--field-borders-color);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--input-text);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 13px !important;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-color: var(--placeholder-text) transparent transparent transparent;
    }

.tarqeem_ddl {
    line-height: 2.4;
}

.pr {
    background-color: #ced4da57;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

    .pr input {
        width: 40px;
        padding: 10px 10px;
        display: flex;
    }

.select_topic {
    display: flex;
    align-items: center;
    padding: 0 10px;
    justify-content: center;
}

    .select_topic .select_topic_input {
        /* display: inline-block; */
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

.select_topic_main {
    padding: 15px 15px;
}

/*How to use*/
.howtouseheading {
    color: #0a993c !important;
    font-size: 56px;
}

.hd-green {
    color: #079037;
    line-height: 1.9;
}

.point {
    font-size: 32px;
}

.w-bg p {
    margin-bottom: 15px;
}

    .w-bg p img {
        padding-right: 5px;
    }

.w-bg {
    background: var(--main-card-bg);
    border-radius: 5px;
    padding: 15px 10px;
}

.point-hd {
    font-size: 32px;
    display: block;
}

    .point-hd span {
        font-size: 20px;
    }

#btnSendError {
    background-color: var(--button-bg);
    border: none;
    padding: 15px 40px;
    font-size: 22px;
    color: var(--button-text);
}

.btn-info {
    color: var(--button-text);
}

#btnSelectTopic {
    margin-left: 15px;
    padding: 10px 15px;
    font-size: 18px;
    background-color: #0a993c;
    border: none;
}

#Btn_reload {
    padding: 10px 15px;
    font-size: 18px;
    background-color: #19573a;
    border: none;
}

.btnSearch {
    background-image: url(../images/search.png);
    background-repeat: no-repeat;
    border: none;
    background-color: #fff0;
    color: transparent;
    width: 80px;
    padding: 0 !important;
    margin: 0 auto;
    height: 64px;
    background-size: cover;
    cursor: pointer;
}

.page_heading {
    display: none;
}

.mobile-screen-tag {
    display: none;
}

#rbtNoOfSearchedResults tr td {
    vertical-align: top;
}

.check-container input[type=checkbox], .check-container input[type=radio] {
    background-color: var(--fields-bg);
    border-color: var(--field-borders-color);
}

#btnTakhreej {
    background-color: var(--button-bg);
    border: none;
    font-size: 20px;
    padding: 5px 20px;
}

.takhreej_search_results tr td {
    margin-inline-end: 25px;
    display: inline-block;
}

    .takhreej_search_results tr td input {
        margin-left: 7px;
    }

.main_modal .mbl-lbl {
    display: none;
}

/*.dsp_inherit {
    display: inherit;
    width: 100%;
}
*/

.trans_tabs li a.active {
    background-color: #dee2e6;
    color: var(--hover-color);
}

.trans_tabs li a {
    display: block;
    padding: 10px 30px;
}

.panel-heading {
    padding: 0;
    border: 0;
}

.panel-title > a, .panel-title > a:active {
    display: block;
    padding: 15px;
    color: #555;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-spacing: 3px;
    text-decoration: none;
}

.panel-heading a:before {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    transition: all 0.5s;
}

.panel-heading.active a:before {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

.modal-content {
    background-color: var(--main-card-bg);
    border: 1px solid var(--card-low-visible-border);
}

    .modal-content .close {
        color: var(--default-text);
    }

        .modal-content .close:hover {
            color: var(--default-title);
        }

    .modal-content .modal-header {
        border-bottom: 1px solid var(--field-borders-color);
    }

    .modal-content .modal-footer {
        border-top: 1px solid var(--field-borders-color);
    }

.table > :not(caption) > * > th, .table tbody tr:nth-child(odd) td {
    background-color: var(--main-card-bg);
    border-color: var(--field-borders-color);
}

.table > :not(caption) > * > th {
    color: var(--default-title);
}

.table tbody tr:nth-child(odd) td, .table tbody tr:nth-child(even) td {
    color: var(--default-text);
}

.table tbody tr:nth-child(even) td {
    background-color: var(--content-area-bg);
    border-color: var(--field-borders-color);
}

.modal-header .btn-close {
    filter: var(--close-btn-filter);
}

#lblBaabNameUrdu_0 span {
    background-color: var(--inner-card-bg);
}

.divTarjumatulBaab span {
    background-color: var(--inner-card-bg) !important;
}

.form-control[readonly] {
    background-color: var(--readonly-bg) !important;
    opacity: 1;
}
/*.sameLineAlignment span {
    background-color: var(--inner-card-bg);
}
*/

.book-link.active {
    background-color: var(--hover-color); /* Highlight color */
    color: var(--text-white); /* Text color */
}

/* Dark mode for Facebook Comments Plugin */
.fb_iframe_widget iframe {
    filter: var(--fb-comment-filter);
}

.fb_iframe_widget > span {
    max-width: 100% !important;
    background-color: var(--main-card-bg) !important;
    border: none !important;
}


.button-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.report-error-form {
    background-color: var(--inner-card-bg);
}

.pagination-buttons {
    display: flex;
    justify-content: space-between;
    width: 50%;
}
/********************/
/*	Globalization	*/
/********************/
/*.language-selecter {
    background: transparent;
    border: none;
    color: var(--header-menu-color) !important;
}

    .language-selecter:hover {
        color: var(--hover-color) !important;
    }*/

.language-selecter-dropdown {
    background-color: var(--header-banner-bg) !important;
}

    .language-selecter-dropdown a:hover {
        color: var(--hover-color) !important;
    }


/********************/
/*	Media Queries	*/
/********************/
@media all and (max-width: 1236px) {
}

@media all and (max-width: 1199px) {
    .btm-links {
        top: -6px;
    }

    .side-links li a {
        padding: 7px 4px;
        font-size: 12px;
    }

    .phone-address div p {
        font-size: 13px;
    }

    .inner-pages {
        background-position: center bottom !important;
    }

    .btn-box a {
        width: 100px;
        font-size: 12px;
    }

    .filter-wrap .check-container > span:first-child {
        margin-right: 30px;
    }

    .filter-wrap .check-container {
        padding-left: 25px;
    }

    .drop-wrap .sort-drop {
        width: 30%;
        padding-left: 8px;
    }
}

@media all and (max-width: 992px) {
    .navbar-brand {
        width: 70px;
    }

        .navbar-brand img {
            display: block;
            width: 100%;
        }

    .navbar-expand-lg {
        height: 100%;
    }

    .navbar-light .navbar-toggler {
        border-color: rgb(255, 255, 255);
    }

    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,<svg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'><path stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>");
    }

    .navbar-expand-lg .navbar-nav {
        background-color: var(--inner-card-bg);
        z-index: 9;
        position: relative;
        margin-top: 2px;
        padding-bottom: 10px;
        border-radius: 5px;
        box-shadow: var(--card-shadow);
    }

    .navbar-expand-lg .nav-links li {
        text-align: right;
    }

        .navbar-expand-lg .nav-links li a {
            color: var(--default-text) !important;
        }

        .navbar-expand-lg .nav-links li.active a:after {
            display: none;
        }

    #menu-logo .img-fluid {
        display: none;
    }

    #menu-logo {
        height: 100%;
    }

    .search-wrap {
        height: calc(100% - 230px);
    }

    .search-search-wrap {
        height: calc(100% - 140px) !important;
    }

    .hdr-links-wrap {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .search-wrap form {
        width: 100%;
        padding: 20px 25px 20px 25px;
        margin: 0 auto;
    }

    .first-row {
        display: block;
    }

    .phone-address {
        width: 100%;
        margin-bottom: 1px;
    }

        .phone-address:last-child {
            margin-right: 0;
        }

    .social-wrap, .quick-links {
        text-align: right;
    }

        .social-wrap ul li {
            margin-left: 0;
        }

        .social-wrap ul {
            float: none;
        }

        .quick-links ul {
            width: 100%;
        }

        .social-wrap h4:after, .quick-links h4:after {
            left: auto;
            right: 0;
        }

    .newsleter-wrap {
        padding: 50px 20px;
        width: 100%;
    }

        .newsleter-wrap form {
            display: block;
        }

        .newsleter-wrap input {
            margin-left: 0;
            margin-bottom: 25px;
        }

        .newsleter-wrap button {
            padding: 15px 20px;
            width: 100%;
        }

        .newsleter-wrap h3 {
            font-size: 24px;
        }

    .visits-wrap {
        width: 100%;
    }

    .visits-wrap {
        height: 190px;
    }

    .poster-wrap .single-box {
        height: 220px;
    }

    .social-wrap h4, .quick-links h4, .quick-links h4 a {
        font-size: 20px;
    }

    .toggle_hd, .toggle_hd-2 {
        display: flex;
        background-color: var(--header-menu-bg);
        color: var(--text-white) !important;
        padding: 10px 15px;
        text-align: right;
        border-radius: 5px;
        width: 160px;
        align-items: center;
    }

        .toggle_hd i, .toggle_hd-2 i {
            padding-right: 5px;
        }

    .side-links-wrap, .bottom-links-wrap {
        position: relative;
    }

    .side-links, .btm-links, .right-side-links {
        position: absolute;
        left: 0;
        background-color: var(--inned-card-bg);
        top: 40px;
        transform: translateY(0%);
        right: 0;
        width: 100%;
        border-radius: 5px;
        z-index: 9;
        box-shadow: var(--card-shadow);
        display: none;
    }

        .side-links ul, .right-side-links ul {
            margin-bottom: 0;
            background-color: var(--inner-card-bg) !important;
        }

        .side-links li a, .right-side-links li a {
            background-color: var(--inner-card-bg);
            padding: 7px 10px;
            color: var(--default-text);
            font-size: 16px;
        }

        .side-links .active a:after, .side-links li:hover a:after, .right-side-links .active a:after, .right-side-links li:hover a:after {
            display: none;
        }

        .side-links .active a, .right-side-links .active a {
            color: var(--hover-color);
        }

        .btm-links ul {
            display: block;
            justify-content: center;
            margin-bottom: 0;
        }

            .btm-links ul li {
                display: block;
            }

                .btm-links ul li a {
                    background-color: var(--inner-card-bg);
                    border-top-left-radius: 0;
                    border-top-right-radius: 0;
                    color: var(--default-txet);
                    display: block;
                    text-align: right;
                    margin: 0;
                }

        .btm-links .active a, .btm-links li a:hover {
            color: var(--hover-color);
            background-color: var(--inner-card-bg);
        }

    .search-wrap form {
        background-color: transparent;
    }

    .search-wrap button {
        padding: 10.1px;
    }

    #menu-logo .img-fluid {
        display: block;
    }

    .phone-address div p {
        font-size: 16px;
    }

    .navbar-expand-lg .nav-links li:hover a:after {
        display: none;
    }

    .inner-pages .toggle_hd, .inner-pages .toggle_hd-2 {
        width: 100%;
    }

    .contact-flex p {
        font-size: 14px;
    }

    .bank-flex:after {
        display: none;
    }

    .bank-info h1 {
        font-size: 34px;
    }

    .flex-center {
        width: 100%;
    }

    .btm-checkbox .check-container > span:first-child {
        font-size: 12px;
    }

    .hadees-search .search-wrap {
        height: calc(100% - 270px);
    }

    .hadees-search .search-search-wrap {
        height: calc(100% - 170px) !important;
    }

    .hadees-search .toggle_hd, .hadees-search .toggle_hd-2 {
        width: 100%;
    }

    .btm-checkbox ul li {
        padding: 0 10px;
    }

    .btm-checkbox tr td {
        padding: 0 10px;
    }

    .btm-checkbox {
        bottom: 10px;
    }

        .btm-checkbox .check-container {
            padding-left: 0;
        }

    .arabic-count p, .urdu-count p {
        font-size: 12px;
    }

    .radio-container .res-name {
        margin-right: 10px;
        font-size: 13px;
    }

    .p-l-7 {
        padding-left: 15px;
    }

    .p-r-7 {
        padding-right: 15px;
    }

    .filter-wrap {
        display: block;
    }

    .check-wrap ul {
        margin-bottom: 30px;
        justify-content: center;
    }

    .btn-box {
        justify-content: center;
    }

    .drop-wrap .sort-drop {
        width: 35%;
        padding-left: 15px;
    }
    /** New Styles **/
    .newsleter-wrap .form {
        flex-direction: column;
    }

    .newsleter-wrap .btnSubscription {
        padding: 15px 20px;
    }

    .phone-address div {
        align-items: baseline;
    }

        .phone-address div img {
            padding-top: 10px;
        }

    .update-wrap {
        margin-bottom: 50px;
    }

    .search-wrap .rowform {
        margin: -15px auto 0 auto;
        width: 100%;
        padding: 20px 30px 20px 60px;
    }

    .tem-wrap h4 {
        margin-top: 0;
    }

    .tem-wrap {
        padding: 15px 0;
    }

    .about-box {
        padding: 15px 15px;
    }

    .donation-wrap H4 {
        line-height: 1.6;
    }

    .contact-hd {
        line-height: 1.6;
    }

    .bg-gray .col-md-4:last-child .contact-box {
        margin-bottom: 0;
    }

    #txtPageNumber, #txtPageNumberBottom, #txtPageNumber, #txtPageNumberBottom {
        display: inline-block;
        margin: 0 20px;
        vertical-align: top;
    }

    .navbar-collapse {
        position: absolute;
        top: 53px;
        width: 90%;
    }
}

@media all and (max-width: 767px) {
    .search-wrap .keyboard-wrap img {
        top: 10px;
    }

    #menu-logo {
        height: 530px;
    }

        #menu-logo .img-fluid {
            display: none;
        }

    .search-wrap {
        height: calc(100% - 115px) !important;
    }

    .search-search-wrap {
        height: calc(100% - 100px) !important;
    }

    .search-wrap form {
        background-color: #ffffff1a;
    }

    .search-wrap .form-control {
        border-radius: 5px;
        margin-bottom: 15px;
    }

    .search-wrap .first-wrap {
        background-position: 97% 28px;
    }

    .form-control:focus {
        border-left: 1px solid #86b7fe;
        border-right: 1px solid #86b7fe;
    }

    select#ddlSearchedItemEnglish {
        margin-left: 5px;
    }

    .hadees-wrap {
        text-align: right;
        margin-top: 15px;
        padding-right: 15px;
    }

        .hadees-wrap h4 {
            font-size: 20px;
        }

    .search-wrap button p {
        display: block;
    }

    .search-wrap button img {
        display: none;
    }

    .search-wrap button {
        background-color: #0a993c;
        float: none;
        margin-right: 0;
        border-radius: 5px;
        width: 100%;
        color: #fff;
    }

    .prop-wrap ul li {
        padding: 10px 15px;
    }

    .about-wrap p {
        line-height: 1.6;
        font-size: 14px;
    }

    .about-wrap .p-l-7 {
        padding-left: 15px;
        margin-bottom: 15px;
    }

    .about-wrap .p-r-7 {
        padding-right: 15px;
    }

    .contact-box {
        margin-bottom: 75px;
    }

    .contact-flex p {
        font-size: 18px;
    }

    .bank-info {
        margin-bottom: 25px;
    }

    .bank-details:after, .bank-flex:after {
        display: none;
    }

    .flex-center-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        height: calc(100% - 60px);
    }

    .inner-pages h1 {
        font-size: 42px;
        margin-top: 0;
    }

    .inner-pages {
        height: 230px !important;
    }

    .page-navi {
        display: block;
        text-align: center;
    }

    .page-navigation {
        display: block;
        text-align: center;
    }

    .navi-wrap ul {
        justify-content: center;
        margin: 10px 0;
    }

    .result-box, .radio-box {
        display: block;
    }

        .radio-box .radio-container {
            display: flex;
            margin-bottom: 10px;
        }

        .result-box .check-container {
            display: flex;
            margin-top: 15px;
        }

    .hadees-search {
        height: 700px !important;
    }

        .hadees-search .search-wrap {
            height: calc(100% - 330px);
        }

    .btm-checkbox {
        bottom: 0;
    }

        .btm-checkbox ul {
            display: flex;
            flex-wrap: wrap;
            padding: 0 10px;
            width: 100%;
            margin-bottom: 0;
        }

            .btm-checkbox ul li {
                margin-bottom: 15px;
                width: 50%;
                display: flex;
                justify-content: flex-start;
            }

        .btm-checkbox tr {
            display: flex;
            flex-wrap: wrap;
            padding: 0 10px;
            width: 100%;
            margin-bottom: 0;
        }

            .btm-checkbox tr td {
                margin-bottom: 15px;
                width: 50%;
                display: flex;
                justify-content: flex-start;
            }

    .search_result_checkbox tr td {
        align-items: baseline;
    }

    .hadees-search .toggle_hd, .hadees-search .toggle_hd-2 {
        width: 100%;
    }

    .btm-checkbox .check-container > span:first-child {
        font-size: 18px;
    }

    .btm-checkbox .check-container {
        display: flex;
        justify-content: flex-start;
    }

    .urdu-result:before {
        display: none;
    }

    .arabic-count p, .urdu-count p {
        font-size: 14px;
    }

    .radio-container .res-name {
        margin-right: 35px;
        font-size: 16px;
    }

    .arabic-count {
        text-align: center;
        margin-bottom: 15px;
    }

    .filter-wrap {
        display: block;
        margin-top: 15px;
    }

        .filter-wrap .check-container {
            padding-left: 0;
        }

    .check-wrap {
        margin-bottom: 15px;
    }

    .btn-box a {
        font-size: 12px;
    }

    .filter-wrap .check-container > span:first-child {
        margin-right: 29px;
        margin-left: 10px;
    }

    .drop-wrap {
        display: block;
    }

    .name-drop {
        margin-bottom: 15px;
        justify-content: space-between;
    }

        .name-drop a {
            margin-left: 0;
        }

    .drop-wrap .sort-drop {
        margin-bottom: 15px;
        width: 100%;
    }

    .text-wrap {
        text-align: center;
    }
    /*** New Style **/
    .hadees-main-div .col-lg-6:last-child .tarjuma-wrap {
        margin-top: 30px;
        height: auto;
    }

    #hukamModal table {
        width: 100% !important;
    }

    #chkBooks {
        width: 100%;
        display: block;
    }

        #chkBooks tr td {
            padding: 0 10px;
            vertical-align: top;
        }

    .trans_tabs li:first-child {
        border-left: 1px solid #dee2e6;
    }

    .trans_tabs li {
        padding: 0;
        display: block;
        width: 100%;
        border-left: 1px solid #dee2e6;
    }

        .trans_tabs li a {
            padding: 10px 15px;
            display: block;
            font-size: 14px;
        }

            .trans_tabs li a.active {
                background-color: #f5f5f5;
            }

    .search-wrap_inner {
        display: none;
    }

    .page_heading {
        display: block;
        color: green;
        margin: 70px 0;
        font-size: 40px;
    }

    .btnSearch {
        background-color: #0a993c;
        background-image: none;
        width: 100%;
        color: #fff;
        font-size: 20px;
        border-radius: 5px;
        height: 50px;
    }

    .search-wrap .rowform {
        padding: 20px 40px 20px 35px;
    }

    #rbtNoOfSearchedResults tr td {
        vertical-align: top;
        display: flex;
        align-items: baseline;
    }

    #lblTaraqeems table {
        width: 100% !important;
        display: block;
        overflow-x: scroll;
    }

        #lblTaraqeems table tr td, #lblTaraqeems table tr th span {
            font-size: 12px;
        }

        #lblTaraqeems table tr td {
            padding: 5px 6px;
        }

            #lblTaraqeems table tr td:last-child {
                text-align: center;
            }

        #lblTaraqeems table tr th:nth-child(2), #lblTaraqeems table tr th:nth-child(4) {
            text-align: center;
        }

    .takhreejbooks tr, #rbtNoOfSearchedResults tr {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

        #rbtNoOfSearchedResults tr td label {
            margin-right: 10px;
        }

    .hadees-search .side-links-wrap {
        width: 100%;
    }

    .check-container > span:first-child {
        margin-right: 0;
    }

    .check-name {
        margin-right: 10px;
    }

    .main_modal .modal_hd {
        display: none;
    }

    .main_modal .mbl-lbl, .dsp_inherit {
        display: block;
    }

    .main_modal .col-form-label {
        margin-bottom: 20px;
        font-weight: 600;
        font-size: 20px;
    }

    .dsp_inherit .col-12 {
        margin-bottom: 20px;
    }

        .dsp_inherit .col-12:last-child {
            margin-bottom: 0;
        }

    #map-link {
        width: 375px;
    }

    .search-wrap .home-row-form {
        padding: 20px;
    }

    .home-row-form .col-6:nth-child(2) {
        padding-right: 5px !important;
    }

    .search-wrap .form-control {
        height: 50px !important;
        font-size: 13px;
    }


    .home-row-form select {
        background-position: 97% 22px;
    }

    .search-sec {
        height: 530px !important;
    }

        .search-sec .search-wrap {
            height: calc(100% - 295px) !important;
        }

    .menu-logo1 {
        height: unset !important;
    }

    .hdr-links-wrap {
        padding-bottom: 200px;
        margin-top: 10px;
    }

    .takhreejbooks tr {
        flex-direction: row;
    }

    .search-wrap {
        margin-top: 25px;
    }

    #theme-toggle {
        margin: 13px 15px 0 0;
    }

    .hdr-links-home {
        padding-bottom: 10px !important;
    }

    .mobile-booksList tr {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    .select-topic-heading {
        display: none;
    }

    .pc-screen-tag {
        display: none;
    }

    .mobile-screen-tag {
        display: block;
    }

    .settingsButton {
        left: 30px !important;
        bottom: 10px !important;
        right: unset;
        top: unset;
    }

    .recordTable {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

        .recordTable th, .recordTable td {
            padding: 8px;
            white-space: nowrap;
        }
    /*#hadees_side {
         order:1;
     }
     #DivTopicsUrdu, #DivTopicsArabic {
         order:2;
     }*/
    .visits-wrap {
        height: 100px;
        margin-bottom: 15px;
    }
    .visit-txt p {
        line-height: 42px;
    }
    .commonIFrame{
        height: 80px;
    }
    .filter-wrap{
        display: flex;
        flex-wrap:wrap;
        flex-direction: column-reverse;
    }
    .btn-box input[type="button"] {
        width: 100px;
        font-size: 15px;
        margin-bottom: 5px;
    }
    .check-wrap {
        margin-bottom: 0;
        width: 100%;
    }
        .check-wrap ul {
            margin-bottom: 0;
            justify-content: space-between;
            padding: 5px 6px;
        }

}
@media (min-width: 1440px) {
    .modal-lg, .modal-xl {
        max-width: 1300px !important;
    }

    #defaultSettingsModal .col-md-3:nth-child(1) {
        width: 16%; /* first */
    }

    #defaultSettingsModal .col-md-3:nth-child(2) {
        width: 30%; /* second */
    }

    #defaultSettingsModal .col-md-3:nth-child(3) {
        width: 31%; /* third */
    }

    #defaultSettingsModal .col-md-3:nth-child(4) {
        width: 23%; /* fourth */
    }
}

@media all and (max-width: 327px) {
}
/*.arabic-hadees span, .tarjuma-wrap span {
    color: #0a993c;
    font-weight: bold;
}*/

.TagHeading {
    color: #C00000;
    font-size: 24px;
    font-family: 'Mehr Nastaliq Web' !important;
}

.TagLeft {
    color: #00B050;
    text-align: left !important;
}

.TagSubheading {
    color: #7531A0;
    text-align: right;
    font-size: 20px;
    font-family: 'Mehr Nastaliq Web' !important;
}

.TagText {
    color: var(--default-text);
}

.TagQuran {
    color: #833C0B;
    font-family: 'KFGQPC Uthman Taha Naskh' !important;
}

.TagQuranUrduTranslation {
    color: #833C0B;
    font-family: 'Mehr Nastaliq Web' !important;
}

.TagHadith {
    color: #CE6515;
    font-family: 'KFGQPC Uthman Taha Naskh' !important;
}

.TagHadithUrduTranslation {
    color: #CE6515;
    font-family: 'Mehr Nastaliq Web' !important;
}

.TagArabic {
    color: #ED7D31;
    font-family: 'KFGQPC Uthman Taha Naskh' !important;
}

.TagArabicUrduTranslation {
    color: #ED7D31;
    font-family: 'Mehr Nastaliq Web' !important;
}

.TagReferenceArabic {
    color: var(--default-text);
    font-family: 'KFGQPC Uthman Taha Naskh' !important;
}

.TagReferenceUrdu {
    color: var(--default-text);
    font-family: 'Mehr Nastaliq Web' !important;
}


a:active, a:focus {
    outline: none !important;
    box-shadow: none !important;
    /*color: #fff;*/
}

.search-wrap .engLanguage {
    direction: ltr;
}

    .search-wrap .engLanguage .first-wrap {
        border-radius: 5px 0 0 5px;
    }

    .search-wrap .engLanguage .btnSearch {
        border-radius: 0 5px 5px 0 !important;
        transform: translateX(-3px);
    }

    .search-wrap .engLanguage #txtSearchedText {
        position: relative;
        z-index: 9;
    }

#englishDropdowns .select2-container {
    text-align: left !important;
}

#englishDropdowns .select2-container {
    text-align: left !important;
}

ul#select2-DDLEngMasadir-results {
    text-align: left;
    font-family: Arial sans-serif !important;
    direction: ltr !important;
}

ul#select2-DDLEngKutab-results {
    text-align: left;
    font-family: Arial sans-serif !important;
    direction: ltr !important;
}

ul#select2-DDLEngAbwaab-results {
    text-align: left;
    font-family: Arial sans-serif !important;
    direction: ltr !important;
}


#topicsEng a {
    word-break: break-all;
    display: block;
    box-sizing: border-box;
    width: 100%;
    font-size: 13px;
    white-space: pre-wrap;
    padding: 5px 0px 0px 0px;
}

#topicsEng {
    padding: 0 30px 20px 0px;
}

.hidden {
    display: none;
}

.commonIFrame {
    width: 100%;
    height: auto;
    border: 0;
}

.book-selection {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Adjust the spacing between dropdowns */
}

ul {
    list-style-type: none
}

#topicsEnglish, #topicsEnglish * {
    font-size: 13px !important;
    text-align: left;
}

.page-navi .col-md-6 {
    padding: 0 15px;
}

.page-navi .col-md-5 {
    padding: 0 15px;
}

.page-navi .btn {
    width: 150px
}

.button-div .btn {
    width: 150px;
    height: 40px;
    margin: 10px 5px;
}

.search-wrap .english-active .first-wrap {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.english-active .btnSearch {
    background-position: right center;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.recordTable {
    width: 100%;
    border-collapse: collapse;
    /*table-layout: fixed;*/
    background-color: white;
}

    .recordTable th, .recordTable td {
        padding: 8px;
    }

    .recordTable a.button-link {
        display: inline-block;
        width: max-content;
        padding: .375rem .75rem;
        margin-left: 5px;
        background-color: var(--bg-info);
        color: var(--button-text);
        text-align: center;
        text-decoration: none;
        font-size: 16px;
        border-radius: 4px;
        margin-bottom: 2px;
    }

.page-navi {
    margin-bottom: 20px;
}

.modalTable {
    cursor: pointer;
}

span#lblTaraqeems tr td {
    padding: 6px 25px;
}

span#lblTaraqeems tr th {
    padding: 6px 20px;
}

/* Custom Scrollbar for WebKit-based browsers */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--main-card-bg);
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 3px solid var(--field-borders-color);
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--hover-color);
    }
