@font-face {
    font-family: "JameelNooriNastaleeq";
    src: url("https://hamqadam.b-cdn.net/fonts/JameelNooriNastaleeq.woff2") format("woff2"),
        url("https://hamqadam.b-cdn.net/fonts/JameelNooriNastaleeq.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vinegart";
    src: url("../fonts/vinegart-webfont.woff2") format("woff2"),
        url("../fonts/vinegart-webfont.woff") format("woff"),
        url("../fonts/Vinegart.ttf") format("truetype"),
        url("../fonts/Vinegart.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hermes";
    src: url("https://db.onlinewebfonts.com/t/0e4bdc81e88bca805aa385acc723829f.eot");
    src: url("https://db.onlinewebfonts.com/t/0e4bdc81e88bca805aa385acc723829f.eot?#iefix")format("embedded-opentype"),
        url("https://db.onlinewebfonts.com/t/0e4bdc81e88bca805aa385acc723829f.woff2")format("woff2"),
        url("https://db.onlinewebfonts.com/t/0e4bdc81e88bca805aa385acc723829f.woff")format("woff"),
        url("https://db.onlinewebfonts.com/t/0e4bdc81e88bca805aa385acc723829f.ttf")format("truetype"),
        url("https://db.onlinewebfonts.com/t/0e4bdc81e88bca805aa385acc723829f.svg#Hermes W01 Bold")format("svg");
}

.first-slider-explore,
.third-slider-accreditation-and-recognition-by,
.second-slider-get-your {
    font-family: "Vinegart", cursive !important;
}

.first-slider-halal-certification,
.second-slider-halal-certificate-now,
.third-slider-jakim-and-pakistan-halal-authority {
    font-family: "Hermes", cursive !important;

    a {
        color: white !important;
    }
}

.fatwa-questions-for-admin-page,
.my-fatwa-questions-page,
.node-fatwa-form,
.node--type-fatwa,
.header-one__main-menu,
.header-two__right,
.fatwa-section-page {
    table {
        direction: rtl;

        tbody {
            td {
                font-size: 20px !important;
            }
        }
    }

    font-family: "JameelNooriNastaleeq",
    "Noto Nastaliq Urdu",
    "Nunito",
    "Catamaran",
    "Arial",
    sans-serif !important;
    font-size: 22px !important;
}

.main {
    .node--type-fatwa {
        direction: rtl;
    }
}

.breadcrumbs {
    .block-system-breadcrumb-block {
        .breadcrumb-content-main {
            h2 .page-title:contains("Create Fatwa ") {
                font-size: 26px !important;
                font-family: "JameelNooriNastaleeq", "Noto Nastaliq Urdu", "Nunito", sans-serif !important;
                position: relative !important;
                color: transparent !important;
            }

            h2 .page-title:contains("Create Fatwa ")::after {
                content: "فتویٰ کا سوال پوچھیں" !important;
                position: absolute;
                top: 0;
                left: 0;
                color: #ffffff !important;
                font-size: 26px !important;
                font-family: "JameelNooriNastaleeq", "Noto Nastaliq Urdu", "Nunito", sans-serif !important;
            }
        }
    }
}

.breadcrumbs {
    .breadcrumb-content-main {
        .page-title {
            font-family: "JameelNooriNastaleeq", "Noto Nastaliq Urdu", "Nunito", sans-serif !important;
        }
    }
}

.header-one__top-right {
    padding-right: 50px;

    .bb-inner {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .call-anytime,
    .send-email,
    .visit-office {
        .title {
            margin: 0 0 5px;
        }
    }

    .call-anytime {
        padding-left: 0;
        padding-bottom: 40px;

        .highlight-icon {
            padding-right: 12px;
        }
    }
}

.header-one__top {
    .header-one__content {
        .header-one__inner {
            padding-top: 0 !important;
            padding-bottom: 0 !important;

            .header-one__branding {
                display: flex;
                align-items: center;
                max-width: 18%;
                height: 110px;

                .site-branding-logo {
                    img {
                        width: 105px;
                        height: auto;
                    }
                }
            }

            .header-one__top-right {
                .block-gavias-pagebuilder {
                    width: 90%;

                    .top-header {
                        .bb-inner {

                            .row-wrapper {
                                justify-content: center;
                                display: flex;
                                align-content: center;
                                align-items: center;

                                .gsc-column {
                                    padding-bottom: 0;
                                    justify-content: center;
                                    display: flex;
                                    align-content: center;
                                    align-items: center;

                                    .gsc-icon-box-classic {
                                        .title {
                                            color: #707876 !important;
                                        }

                                        .text-white {
                                            p {
                                                font-size: 16px;
                                                font-weight: 800;
                                                color: #FFFFFF;
                                            }
                                        }
                                    }
                                }

                                .call-anytime {
                                    border-style: solid;
                                    border-width: 0px 1px 0px 0px;
                                    border-color: #363945;
                                }

                                .send-email {
                                    border-style: solid;
                                    border-width: 0px 1px 0px 0px;
                                    border-color: #363945;
                                }
                            }

                        }
                    }
                }

                .block-menu {
                    width: 12%;
                }
            }
        }
    }
}

.top-header-right-youtube-icon {
    position: relative;
}

.top-header-right-youtube-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    /* adjust based on icon size */
    background-color: #E5EEEC;
    left: 140%;

}

.header-one__main {
    .header-one__content {
        .header-one__inner {
            padding: 0px 35px 0px 15px;
            line-height: 1.88em !important;

            .header-one__main-menu {
                flex: 0 0 80%;

                .menu-item {
                    padding: 30px 18px !important;
                }

                .menu-item {
                    position: relative;
                }

                .menu-item>a {
                    position: relative;
                    display: inline-block;
                    padding-bottom: 8px;
                }

                .menu-item>a::before {
                    content: "";
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 0;
                    height: 2px;
                    background: var(--halpes-theme-color);
                    transition: width 0.3s ease;
                }

                .menu-item>a.is-active::before,
                .menu-item.menu-item--active-trail>a::before {
                    width: 100%;
                }

                .menu-item>a:hover::before {
                    width: 100%;
                }

            }

            .header-one__right {
                display: flex;

                .bb-inner {
                    padding-top: 0px !important;
                    padding-bottom: 0px !important;
                    position: relative;

                    .bb-container {
                        padding: 0px !important;
                        padding-top: 0px !important;
                        padding-bottom: 0px !important;

                        .gsc-column {
                            .gsc-socials {
                                a {
                                    padding: 2px;
                                    background-color: #E5EEEC;
                                }

                                a:hover {
                                    background-color: var(--halpes-theme-color);
                                }
                            }
                        }
                    }
                }

                .search-one__box {
                    margin-left: 50px;

                }
            }
        }
    }
}


.frontpage .menu-item>a.menu-home-link {
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 10px;
}

.frontpage .menu-item>a.menu-home-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--halpes-theme-color);
    z-index: 10;
}

.process_flow_heading {
    .bb-inner {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
}

.gsc-socials {

    i {
        font-size: 18px !important;
    }
}



.gsc-column,
.column-inner,
.column-content-inner {
    overflow: visible !important;
}

.explore {
    background-image: url("https://themegavias.com/wp/halpes/wp-content/uploads/2021/02/bg-1.jpg");
    background-position: 0px -54px;
    background-repeat: repeat-x;

    .bb-inner {
        .explore-heading-outer {
            .explore-heading {
                width: 900px;

                .gsc-heading__sub-title {
                    span {
                        position: relative;
                        display: inline-block;
                        padding-left: 48px;
                        /* space for the line */
                    }

                    span::after {
                        content: '';
                        position: absolute;
                        left: 0;
                        top: 50%;
                        width: 38px;
                        height: 2px;
                        background: #15C8A0;
                        transform: translateY(-50%);
                    }
                }
            }
        }

        .explore-content-outer {
            .explore-content {
                .owl-carousel {
                    .owl-stage-outer {

                        .owl-item {
                            padding-left: 15px;
                            padding-right: 15px;

                            .item {
                                position: relative;

                                overflow: visible;
                                padding-top: 0px;


                                .views-field-field-explore-image {
                                    display: flex;
                                    justify-content: center;

                                    .field-content {
                                        .item-image {
                                            img {
                                                width: 300px !important;
                                                display: block;
                                                margin: 0 auto;
                                            }
                                        }
                                    }

                                }

                                .owl-item .views-field-view-block-content,
                                .owl-item .views-field-info,
                                .owl-item .views-field-body {
                                    position: relative;
                                    z-index: 1;
                                }

                                .views-field-view-block-content {
                                    .field-content {
                                        a {}
                                    }
                                }

                                .views-field-info {
                                    padding: 25px 30px 22px;

                                    .field-content {
                                        font-weight: 800;
                                        font-size: 24px;
                                        line-height: 32px;
                                        color: #1f2230;
                                    }
                                }

                                .views-field-body {
                                    padding: 0px 30px 0px;

                                    .field-content {
                                        p {}
                                    }
                                }
                            }

                            .item::before {
                                border: 1px solid #E9E9EE;
                                content: "";
                                position: absolute;
                                top: 20px;
                                /* leave 20px from top */
                                left: 0;
                                right: 0;
                                bottom: 0;
                                background: #fff;
                                z-index: 0;
                                border-radius: inherit;
                                /* if you have rounded corners */
                            }

                            .item>* {
                                position: relative;
                                z-index: 1;
                            }
                        }
                    }

                    .owl-nav {
                        display: block !important;

                        .owl-prev {
                            left: -50px;
                        }

                        .owl-next {
                            right: -50px;
                        }
                    }

                    .owl-dots {
                        display: block !important;
                        margin-top: 20px;
                    }
                }

            }
        }
    }
}

.views-field-field-explore-image .form-image,
.views-field-field-explore-image .content-inner {
    position: relative;
}

/* Ensure image fills normally */
.views-field-field-explore-image .item-image img {
    display: block;
    width: 300px;
    height: 220px;
}

/* Position the button on image */
.views-field-field-explore-image .btn {
    position: absolute;
    bottom: 20px;
    /* distance from bottom */
    left: -10px;
    /* distance from left */
    z-index: 5;
    background: #15C8A0;
    padding: 8px 20px;
    color: white;
}

.owl-stage {
    display: flex;
}

.owl-item {
    display: flex;
}

.owl-item .item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.item .views-field-field-explore-image {
    display: flex;
    justify-content: center;
}

.item .views-field-field-explore-image img {
    width: 300px !important;
    display: block;
    margin: 0 auto;
}

.item .views-field-info {
    padding: 25px 30px 22px;
}

.item .views-field-info .field-content {
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: #1f2230;
}

.item .views-field-body {
    padding: 0 30px;
    flex-grow: 1;
    /* KEY LINE */
}


.halal-certification {
    .views-field-field-halal-certification-body {
        .item-image {
            border-style: solid;
            border-width: 3px 3px 3px 3px;
            border-color: #23a455;
            box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.1);
            padding: 0px 0px 0px 0px;
            border-radius: 50px 50px 50px 50px;

            img {
                border-radius: 46px 46px 46px 46px;
            }
        }
    }
}

.our_happy_clients {

    max-width: 100%;

    .owl-item {
        padding-left: 15px;
        padding-right: 15px;

        .item {
            text-align: left;
            position: relative;
            max-width: 820px;
            margin: 0 auto 30px;
            background: #fff;
            padding: 55px 60px 60px;
            -webkit-box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.07);
            box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.07);
        }
    }
}

.experience_in_halal_industry {
    .row-wrapper {
        justify-content: center;
        display: flex;

        .gsc-column {


            .column-inner {
                .image-content-two__single {
                    margin-top: 0px;

                    .image-content-two__content {
                        .image-content-two__image {
                            margin-bottom: 20px;

                            img {
                                border-radius: 46px 46px 0px 0px;
                            }
                        }

                        .image-content-two__content-inner {
                            .image-content-two__title {
                                text-align: center;
                                margin-block-end: 20px;
                                font-size: 14px;
                                font-weight: 600;
                                text-transform: uppercase;
                                font-style: normal;
                                color: #23A455;
                            }

                            .image-content-two__desc {
                                margin: 0px 20px 20px 20px;
                                padding: 0px 0px 0px 0px;

                                p {
                                    span {
                                        font-family: Arial, sans-serif !important;
                                        padding-bottom: 1.5em;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        .ten-years-of-experience-heading-outer {
            background-attachment: fixed !important;
        }

        .experience-in-halal-industry-vision-block-outer,
        .experience-in-halal-industry-mission-block-outer,
        .experience-in-halal-industry-aim-block-outer {
            background-attachment: scroll !important;
        }

        .experience-in-halal-industry-vision-block,
        .experience-in-halal-industry-mission-block,
        .experience-in-halal-industry-aim-block {
            .feature-one__icon {
                display: flex;
            }

            .feature-one__title {
                font-size: 30px;
                color: #FFFFFF;
            }

            .feature-one__desc {
                font-size: 18px;
                color: white;
            }
        }

    }
}

.experience-in-halal-industry-vision-block .flaticon-chat {
    font-size: 0;
    /* hide font icon */
    display: inline-block;
    width: 60px;
    /* icon size */
    height: 60px;
    background-image: url('/sites/default/files/vission-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.experience-in-halal-industry-mission-block .flaticon-chat {
    font-size: 0;
    /* hide font icon */
    display: inline-block;
    width: 60px;
    /* icon size */
    height: 60px;
    background-image: url('/sites/default/files/mission-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.experience-in-halal-industry-aim-block .flaticon-chat {
    font-size: 0;
    /* hide font icon */
    display: inline-block;
    width: 60px;
    /* icon size */
    height: 60px;
    background-image: url('/sites/default/files/aim-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.why_jmuim {
    .owl-item {
        padding-left: 15px;
        padding-right: 15px;

        .item {

            margin-bottom: 30px;
            background-color: #fff;
            margin-top: 30px;
            border: solid 1px #e5eeec;

            .views-field {
                padding: 30px;
            }
        }
    }
}

.header-two__main-menu {
    flex: 0 0 100%;

    .menu-item {
        padding: 20px 10px !important;
    }
}

.about-us-top-heading {
    max-width: 100% !important;
}

.menu--account {
    .menu-item {
        a {
            color: white !important;
        }
    }
}

.process-flow-wrapper {
    .process_flow_heading {
        .block-gavias-pagebuilder {
            margin-bottom: 0px !important;

            .gsc-heading {
                padding-bottom: 0px !important;
            }
        }
    }
}

.certified-clients,
.forms-submissions-table,
.all-applications-page,
.my-fatwa-questions-page,
.fatwa-questions-for-admin-page {
    thead {
        background-color: #15c8a0;

        .views-field {
            color: black;
        }
    }
}

.certified-clients {
    tbody {
        .views-field-field-logo {
            display: flex;
            justify-content: center;

            .item-image {
                img {
                    height: 150px;
                }
            }
        }
    }
}

.block-gavias-sliderlayer {
    margin-bottom: 0px;
}

.gav-help-region {
    display: none !important;
}

.why-jmuim-slider {
    .views-field-body {
        justify-content: center;
        display: flex;

        p {
            color: black;
        }
    }

    .views-field-info {
        padding: 5px;

        .field-content {
            display: flex;
            justify-content: center;
            color: black;
            font-weight: bold;
        }
    }

    .views-field-field-why-jmuim-image {
        .item-image {
            display: flex;
            justify-content: center;

            img {
                border-style: solid;
                border-width: 3px 3px 3px 3px;
                border-color: #23a455;
                box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.1);
                padding: 0px 0px 0px 0px;
                border-radius: 50px 50px 50px 50px;
            }
        }
    }
}

.why-jmuim-image {
    .image-content-one__image {
        position: relative;
    }

    .image-content-one__image::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 300px;
        z-index: 1;
    }
}




.header-one__top-right>div:first-child {
    display: flex;
}

.header-one__top-right {
    padding-right: 0px;
}

.call-anytime {
    .desc {
        p {
            font-size: 13px;
            color: #707876;
        }
    }
}

.header-one__branding {
    height: 150px;
}

.our_happy_clients {
    padding: 0px;
}

.explore-our-services-button {
    .column-content-inner {
        display: flex;
        justify-content: center;
    }
}

.our-team {
    .views-row {

        .views-field-field-team-image,
        .views-field-title,
        .views-field-field-pos,
        .views-field-field-post {
            display: flex;
            justify-content: center;
            text-align: center;
            padding: 5px;

            .field-content {
                font-size: 16px;
                line-height: 24px;
                font-weight: bold;

            }
        }
    }
}

.node--type-page {
    .node {
        header {
            .container {
                .title {
                    display: none !important;
                }
            }
        }
    }
}

.path-webform {
    .main-content {
        border: 1px solid #707876;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 50px 50px;
        outline: none;

        .webform-submission-form {

            .form-text,
            .form-textarea,
            .form-email,
            .js-webform-telephone-international,
            .form-number,
            .form-number,
            .form-tel {
                border: 1px solid #707876;
                border-radius: 4px;
                padding: 6px 10px;
                outline: none;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
                border-color: #50565c;
            }

            .js-form-type-radio,
            .js-form-type-checkbox {
                display: flex;
                flex-direction: row-reverse;
                height: 40px;
                justify-content: center;
                align-items: center;
                /* Align vertically */
                gap: 6px;
                /* Add a small gap between radio and text */
                margin-bottom: 8px;

                .form-radio,
                .form-checkbox {
                    width: 50%;
                    min-height: 20px;
                    flex-shrink: 0;
                    /* Prevent radio from shrinking */
                    margin: 0;
                }

                .option {
                    flex: 1;
                    /* Let label text fill remaining space */
                    line-height: 1.4;
                }
            }

            .js-form-type-date {
                .form-date {
                    padding: 0 400px;
                }
            }

            .webform-multiple-table--operations {
                .js-form-submit {
                    width: 50px;
                }
            }
        }
    }
}

.node--type-fatwa {
    .node__content {
        .field__label {
            font-size: 26px;
            font-weight: bold;
        }

        .field__item {
            font-size: 20px;
        }
    }
}

.site-branding__text {
    display: none;
}

.frontpage {
    .content-full {
        .content-main {
            .views-element-container {
                .view-page {
                    display: none;
                }
            }
        }
    }
}

.node--type-certificate,
.node--type-final-certificate,
.node--type-qr-code-of-certificate {
    .main-content {

        .node--type-certificate,
        .node--type-final-certificate,
        .node--type-final-certificate-with-qr-code,
        .node--type-feedback-respond,
        .node--type-complaint-respond,
        .node--type-appeal-respond {
            .field {
                display: flex;
                flex-wrap: wrap;
                margin-bottom: 1rem;

                .field__label {
                    font-size: 26px;
                    font-weight: bold;
                    padding: 10px;
                    flex: 0 0 100%;
                }

                .field__item {
                    font-size: 26px;
                    padding: 10px;
                    flex: 1;
                }
            }
        }

        a {
            display: inline-block;
            background-color: #15c8a0;
            color: #000000;
            padding: 8px 16px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s ease;

            &:hover {
                background-color: #13b390;
            }
        }
    }
}



.e-codes {
    thead {
        background-color: #15c8a0;

        .views-field {
            color: black;
        }
    }
}



.node-fatwa-form {
    .js-form-wrapper {
        display: flex;
        flex-direction: row-reverse;

        .js-form-item {
            display: flex;
            flex-direction: row-reverse;
            margin-top: 50px;

            .js-form-required {
                margin-left: 20px;
            }

            .form-text,
            .form-textarea {
                direction: rtl;
                text-align: right;
            }
        }
    }

    .js-form-type-vertical-tabs {
        display: none;
    }
}

.home-page-introducing-jmuim-halal-pakistan-sharia-board-button {
    display: flex;
    justify-content: center;
}

.front-page-why-jmuim-right-main-region {
    .why-jmuim-section {
        padding: 0 0 10px;

        .gsc-heading__content {
            .gsc-heading__sub-title {
                span {
                    position: relative;
                    display: inline-block;
                    padding-left: 48px;
                    /* space for the line */
                }

                span::after {
                    content: '';
                    position: absolute;
                    left: 0;
                    top: 50%;
                    width: 38px;
                    height: 2px;
                    background: #15C8A0;
                    transform: translateY(-50%);
                }

            }
        }
    }
}

.process-flow-heading {
    .gsc-heading__sub-title {
        span {
            position: relative;
            display: inline-block;
            padding-left: 48px;
            /* space for the line */
        }

        span::after {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            width: 38px;
            height: 2px;
            background: #15C8A0;
            transform: translateY(-50%);
        }

    }
}

@media (min-width: 574px) {
    .pdf-wrapper .pdf-download {
        display: none;
    }
}

@media (min-width: 325px) and (max-width: 767px) {
    .experience_in_halal_industry {
        .below-portion {
            .row-wrapper {
                display: flex;
                justify-content: center;

                .gsc-column {
                    width: 40%;
                    border-radius: 50px 50px 50px 50px;
                    border-style: solid;
                    border-width: 5px 5px 5px 5px;
                    border-color: #23a455;
                    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.1);
                    margin: 10px 10px 10px 10px;
                    padding: 0px 0px 0px 0px;



                    .column-inner {
                        .image-content-two__single {
                            margin-top: 0px;

                            .image-content-two__content {
                                .image-content-two__image {
                                    margin-bottom: 20px;

                                    img {
                                        border-radius: 46px 46px 0px 0px;
                                    }
                                }

                                .image-content-two__content-inner {
                                    .image-content-two__title {
                                        text-align: center;
                                        margin-block-end: 20px;
                                        font-size: 14px;
                                        font-weight: 600;
                                        text-transform: uppercase;
                                        font-style: normal;
                                        color: #23A455;
                                    }

                                    .image-content-two__desc {
                                        margin: 0px 20px 20px 20px;
                                        padding: 0px 0px 0px 0px;

                                        p {
                                            padding-bottom: 1.5em;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        .ten-years-of-experience-heading {
            max-width: 400px !important;

            .gsc-heading__title {
                span {
                    font-size: 30px !important;
                }
            }
        }
    }

    .halal-certification {

        .views-row {
            display: flex;
            justify-content: center;

            .views-col {
                width: 100% !important;
                margin: 10px;

                .field-content {
                    display: flex;
                    justify-content: center;

                    .item-image {
                        border-style: solid;
                        border-width: 3px;
                        border-color: #23a455;
                        box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.1);
                        padding: 0px;
                        border-radius: 50px;
                        width: 80%;

                        img {
                            width: 100% !important;
                            border-radius: 46px;
                        }
                    }
                }
            }
        }

    }

    .home-page-our-happy-clients-region {
        background-repeat: repeat !important;
        background-size: cover !important;

        .owl-item {
            padding-left: 30px;
            padding-right: 30px;
        }
    }

    .introducing_jmuim_halal_pakistan {
        .views-row {
            display: flex;
            justify-content: center;

            .views-col {
                width: 80% !important;
                margin: 20px;

                .views-field {
                    display: flex;
                    justify-content: center;
                }
            }
        }
    }

    .about-us-page-our-team-region {
        background-repeat: repeat !important;
        background-size: cover !important;

        .views-row {
            display: flex;
            justify-content: center;

            .views-col {
                width: 80% !important;
                margin: 20px;

                .views-field {
                    display: flex;
                    justify-content: center;
                }
            }
        }
    }

    .about-us-page-our-scope-region {
        .row {
            display: flex;
            flex-direction: column-reverse;
        }
    }

    .about-us-page-our-distinction-region {
        .row {
            display: flex;
            flex-direction: column-reverse;
        }
    }

    .about-us-page-our-mission-region {
        .row {
            display: flex;
            flex-direction: column-reverse;
        }
    }

    .services-page-the-halal-certification-process-region {
        background-repeat: repeat !important;
        background-size: cover !important;
    }

    .pdf-wrapper iframe {
        display: none;
    }

    .pdf-wrapper .pdf-download {
        display: block;
        text-align: center;
        padding: 10px;
        background: #0077b5;
        color: #fff;
        border-radius: 5px;
        text-decoration: none;
    }

    .header-one__top {
        .header-one__branding {
            max-width: 38%;
            flex: 0 0 80% !important;

            a {
                width: 100px;
            }
        }

        .header-one__top-right {
            flex: 0 0 20% !important;

            .no-title {
                display: none;
            }

            .menu--account {
                width: 50% !important;
            }
        }
    }

    .header-one__main {
        .header-one__inner {
            padding: 10px 15px !important;

            .header-one__right {

                .top-header-right-main-class {
                    display: none !important;
                }

            }
        }
    }

    .explore {
        .explore-heading-outer {
            .gsc-heading {
                width: 100% !important;
                max-width: 100% !important;
            }
        }
    }

    .certified-clients-page,
    .e-codes,
    .forms-submissions-page,
    .all-applications-page,
    .my-fatwa-questions-page,
    .fatwa-questions-for-admin-page,
    .webform-submission-feedback-jmuim-form {

        .certified-clients-table,
        .e-codes-table,
        .forms-submissions-table,
        .all-applications-table,
        .my-fatwa-questions-page-table,
        .fatwa-questions-for-admin-table,
        .js-form-type-webform-likert {
            overflow-x: auto;
            /* allow horizontal scrolling */
            -webkit-overflow-scrolling: touch;
            /* smooth scrolling on iOS */
            width: 100%;

            table {
                border-collapse: collapse;
                /* min-width: 600px;   force wider table */
                width: 100%;
                position: relative;

                thead,
                tbody {

                    th:first-child,
                    td:first-child {
                        position: sticky;
                        left: 0;
                        background: #fff;
                        z-index: 2;
                        white-space: nowrap;
                    }
                }
            }
        }
    }

    .contact-us-page-last-region {
        .row {
            display: flex;
            justify-content: center;

            .contact-us-page-last-region-button {
                display: flex;
                justify-content: center;
            }
        }
    }

    .path-webform {
        .js-form-wrapper {
            .webform-submission-application-form-form {
                .legal_registrations_table {
                    table {
                        tbody {
                            tr {
                                td {
                                    display: flex;
                                    flex-direction: column;
                                    margin-right: 10px;

                                    .image-button {
                                        margin-top: 30px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    .home-page-apply-for-halal-certification-button {
        display: flex;
        justify-content: center;
    }

    .news-and-events-page-news-region {
        .item-columns {
            margin-bottom: 50px;
        }
    }

    .news-and-events-page-events-region {
        .item-columns {
            margin-bottom: 50px;

            .views-field-field-event-address {
                display: flex;
            }
        }
    }

    .webform-submission-application-form-form {
        .webform-progress {
            .webform-progress-tracker {
                flex-wrap: wrap;
            }
        }
    }
}

.gva-offcanvas-mobile {
    .after-offcanvas {
        display: none !important;
    }
}



@media (min-width: 768px) and (max-width: 1024px) {
    .header-one__top {
        .header-one__content {
            .header-one__inner {
                .header-one__branding {
                    flex: 0 0 85% !important;
                }

                .header-one__top-right {
                    flex: 0 0 15% !important;

                    .top-header-block {
                        display: none;
                    }

                    .menu--account {
                        width: 100%;
                    }
                }
            }
        }

    }

    .header-one__main {
        .header-one__inner {
            padding: 10px 15px !important;

            .top-header-right-main-class {
                display: none;
            }

            .header-one__main-menu {
                flex: 0 0 70%;
            }
        }
    }

    .slider-content {
        .content-slider {
            .gavias_sliderlayer {
                .tp-revslider-mainul .tp-revslider-slidesli {
                    .slotholder {
                        .tp-bgimg {
                            background-size: cover !important;
                        }
                    }
                }
            }
        }
    }

    .explore {
        .explore-heading-outer {
            .gsc-heading {
                width: 100%;
                max-width: 100%;
            }
        }
    }
}

.home-page-apply-for-halal-certification-button {
    a {
        font-size: 15px !important;
        padding: 5px 10px !important;
    }
}


.front-page-why-jmuim-right-main-region {

    .front-page-why-jmuim-contact-us-button-extra-space-left,
    .front-page-why-jmuim-contact-us-button-extra-space-right,
    .front-page-why-jmuim-read-more-extra-space-left,
    .front-page-why-jmuim-read-more-extra-space-right {
        display: none;
    }

    .front-page-why-jmuim-contact-us-button,
    .front-page-why-jmuim-read-more-button {
        width: 100%;
    }
}

.experience_in_halal_industry {
    .below-portion {
        .gsc-column {
            width: 50%;
            border-radius: 50px 50px 50px 50px;
            border-style: solid;
            border-width: 5px 5px 5px 5px;
            border-color: #23a455;
            box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.1);
            margin: 10px 10px 10px 10px;
            padding: 0px 0px 0px 0px;

            .column-inner {
                .image-content-two__single {
                    margin-top: 0px;

                    .image-content-two__content {
                        .image-content-two__image {
                            margin-bottom: 20px;

                            img {
                                border-radius: 46px 46px 0px 0px;
                            }
                        }

                        .image-content-two__content-inner {
                            .image-content-two__title {
                                text-align: center;
                                margin-block-end: 20px;
                                font-size: 14px;
                                font-weight: 600;
                                text-transform: uppercase;
                                font-style: normal;
                                color: #23A455;
                            }

                            .image-content-two__desc {
                                margin: 0px 20px 20px 20px;
                                padding: 0px 0px 0px 0px;

                                p {
                                    padding-bottom: 1.5em;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

.pdf-wrapper iframe {
    display: none;
}

.pdf-wrapper .pdf-download {
    display: block;
    text-align: center;
    padding: 10px;
    background: #0077b5;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

.webform-submission-application-form-form {
    .webform-progress {
        .webform-progress-tracker {
            flex-wrap: wrap;
        }
    }
}

.certified-clients-page,
.e-codes,
.forms-submissions-page,
.all-applications-page,
.my-fatwa-questions-page,
.fatwa-questions-for-admin-page,
.webform-submission-feedback-jmuim-form {

    .certified-clients-table,
    .e-codes-table,
    .forms-submissions-table,
    .all-applications-table,
    .my-fatwa-questions-page-table,
    .fatwa-questions-for-admin-table,
    .js-form-type-webform-likert {
        overflow-x: auto;
        /* allow horizontal scrolling */
        -webkit-overflow-scrolling: touch;
        /* smooth scrolling on iOS */
        width: 100%;

        table {
            border-collapse: collapse;
            /* min-width: 600px;   force wider table */
            width: 100%;
            position: relative;

            thead,
            tbody {

                th:first-child,
                td:first-child {
                    position: sticky;
                    left: 0;
                    background: #fff;
                    z-index: 2;
                    white-space: nowrap;
                }
            }
        }
    }
}

.webform-multiple-table-responsive thead {
    display: block !important;
}

.webform-likert-label.visually-hidden {
    display: none !important;
}


.news-internal-page-region,
.our-happy-clients-front-page-reviews-region {
    display: none;
}

.fatwa-internal-page,
.fatwa-admin-internal-page {
    .breadcrumbs {
        .breadcrumb-content-main {
            direction: rtl;
        }
    }

    .main {
        .fatwa-user-internal-page {
            direction: rtl;
            font-size: xx-large;
        }
    }
}

@media (min-width: 768px) {
    .certificate-modal {
        display: block !important;
    }
}