h1 {
    font-size: 36px;
    line-height: 1.2;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

h1,
h2,
h3,
h4,
h5 {
    /* font-weight: 500; */
    margin-bottom: 15px;
    color: #1C4966;
    /* font-family: "PT Serif", serif; */
}

html {
    scroll-behavior: smooth;
}

header {
    position: sticky;
    top: 0;
}

a {
    transition: all 0.2s ease;
}

a:hover {
    color: #F78004;
}

.bg-theme-mid-gray a:not(.cta):hover {
    color: #F78004;
}

.cta {
    background-color: #F78004;
    color: #fff;
    /* display: inline-block; */
    padding: 12px 32px;
    border: 2px solid #F78004;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease !important;
}

.cta:hover {
    background-color: #f9ac6c;
    border: 2px solid #f9ac6c;
    color: #fff;
}

.cta.text-theme-grey:hover {
    color: #38424b;
}

.bg-white .cta:hover {
    background-color: #38424b;
    border: 2px solid #38424b;
    color: #fff;
}

.cta.bg-white {
    background-color: #fff;
    border-color: #fff;
    color: #1C4966;
}

.cta.bg-white:hover {
    background-color: #5C9DC1;
    border: 2px solid #5C9DC1;
    color: #fff;
}

.cta.bg-theme-blue {
    border-color: #1C4966;
}

.cta.bg-theme-blue:hover {
    border-color: #f9ac6c;
}

.cta.bg-theme-mid-blue {
    border-color: #5C9DC1;
}

.cta.bg-theme-mid-blue:hover {
    border-color: #1D4967;
    background-color: #1D4967;
}

.cta.bg-theme-blue:hover {
    border-color: #f9ac6c;
}

.comp__finance-banner .cta.bg-white:hover {
    background-color: #f9ac6c;
    border: 2px solid #f9ac6c;
    color: #38424b;
}

.cta.bg-theme-mid-gray {
    background-color: #1C4966;
    border-color: #1C4966;
    color: #fff;
}

.cta.bg-theme-mid-gray:hover {
    background-color: #f9ac6c;
    border: 2px solid #f9ac6c;
    color: #1C4966;
}

body {
    color: #545353;
    font-family: 'museo-sans', sans-serif;
}

.border-theme {
    --tw-border-opacity: 1;
    border-color: #F78004;
}

.border-light-blue {
    border-color: #C7DDEA
}

.bg-theme {
    --tw-bg-opacity: 1;
    background-color: rgb(247, 128, 4);
}

.bg-theme-25 {
    background-color: rgba(247, 128, 4, 0.25);
    ;
}

.bg-theme-50 {
    background-color: rgba(247, 128, 4, 0.5);
    ;
}

.bg-theme-80 {
    background-color: rgba(247, 128, 4, 0.8);
    ;
}

.bg-theme-blue {
    background-color: #1C4966;
}

.bg-theme-light-blue {
    background-color: #C7DDEA;
}

.bg-theme-mid-blue {
    background-color: #5C9DC1;
}

.text-theme {
    --tw-text-opacity: 1;
    color: #F78004;
}

.text-theme-blue {
    color: #1C4966;
}

.text-theme-light-blue {
    color: #C7DDEA;
}

.text-theme-mid-blue {
    color: #5C9DC1;
}

.hover\:text-theme:hover {
    --tw-text-opacity: 1;
    color: #F78004;
}

.hover\:text-theme-blue:hover {
    --tw-text-opacity: 1;
    color: #1C4966;
}

.filter-theme {
    filter: brightness(0) saturate(100%) invert(53%) sepia(74%) saturate(2142%) hue-rotate(359deg) brightness(99%) contrast(96%);
}

.responsive-iframe-wrap {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
}

.responsive-iframe-wrap>iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.cf7-form-wrap input,
.cf7-form-wrap textarea {
    width: 100%;
    margin-bottom: 15px;
    max-height: 100px;
    border-radius: 5px;
    border: none;
}

.cf7-form-wrap .wpcf7-submit {
    background-color: #1C4966;
    border: 2px solid #1C4966;
    color: #fff;
    border-radius: 8px;
    margin-top: 2rem;
    width: fit-content;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px 24px;
}

.cf7-form-wrap .wpcf7-submit:hover {
    background-color: transparent;
    color: #1C4966;
    border-color: #1C4966;
}

.cf7-form-wrap .attachments label {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.cf7-form-wrap input[type=file] {
    border-radius: 0;
}

@media (min-width: 768px) {
    .md\:bg-white {
        background-color: #ffffff;
    }
}

@media (min-width: 1024px) {
    .cf7-form-wrap {
        width: 450px;
        margin-left: auto;
        margin-right: -1rem;
        margin-top: -700px;
        position: relative;
        z-index: 10;
    }

    .lg\:bg-theme {
        background-color: #F78004;
    }

    .bg-theme-image {
        background-attachment: fixed;
    }

    .lg\:bg-theme-light-blue {
        background-color: #C7DDEA;
    }
}


@media (min-width: 1280px) {
    .cf7-form-wrap {
        width: 570px;
        margin-top: -670px;
    }

    .cf7-form-wrap .attachments {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
}

@media (min-width: 767px) {
    h2 {
        font-size: 28px;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }

}

.wysiwyg p {
    margin-bottom: 10px;
}

.wysiwyg p a:not(.cta) {
    color: #F78004;
    transition: all 0.2s ease;
}

.wysiwyg p a:not(.cta):hover {
    color: #f9ac6c;
}

.wysiwyg ul,
.comp__faqs-block ul,
.global-form-point-body ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 10px;

}

.wysiwyg ol,
.comp__faqs-block ol,
.global-form-point-body ol {
    list-style: auto;
    padding-left: 24px;
    margin-bottom: 10px;

}

.inline-block {
    display: inline-block;
}

.ti-rating-text span,
.ti-rating-text span strong {
    color: #fff !important;
}

.bullet-icons {
    list-style: none;
}

.bullet-icons li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 2rem;
}

.bullet-icons li::before {
    content: '';
    background-image: url(https://stellamari2stg.wpenginepowered.com/wp-content/uploads/2025/03/favicon-32x32-1.png);
    width: 12px;
    height: 12px;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.bullet-icons.ticks li::before {
    background-image: url(https://stellamari2stg.wpenginepowered.com/wp-content/themes/stella-maris/dist/svg/check-solid-white.svg);
}

.top-bar-reviews {
    display: flex;
    gap: 5px;
}

.top-bar-reviews .review-stars {
    margin: 0 5px;
    color: #edbd41;
}

.ti-widget.ti-goog .ti-rating-text strong.ti-rating {
    display: none !important;
}

header .header-logo {
    max-width: 200px;
    margin-right: 15px;
}

header .cta {
    padding: 2px 8px;
}

.main-nav .menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-right: 50px;
}

.main-nav .menu>ul {
    display: flex;
    gap: 2rem;
}

.main-nav .sub-menu {
    position: absolute;
    transform: translate(-68px, 32px);
    padding: 0px 68px;
    gap: 20px;
    max-height: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 0 0 20px 20px;
}

.main-nav .menu>.menu-item-has-children:hover .sub-menu {
    background-color: #062E3A;
    padding: 40px 68px;
    max-height: 200px;
}

.main-nav .menu>.menu-item-has-children:hover::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 40px;
    bottom: 0;
}

/* .main-nav .menu>.menu-item-has-children::after {
    content: '';
    display: inline-block;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-top: 6px solid #F78004;
    width: 6px;
    margin: 0 0 2px 5px;
    transition: 0.2s ease;
} */

.main-nav .menu>.menu-item-has-children:hover::after {
    transform: rotate(180deg);
}

.main-nav .menu a[aria-current="page"] {
    color: #F78004;
}

.header-search-container {
    display: none;
}

.header-search-container #primary-search {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.header-search-container #primary-search input {
    min-width: 250px;
    background: none;
    border: none;
    color: #fff;
    outline: none;
    box-shadow: none;
    margin-right: 20px;
}

.header-search-container #primary-search input::placeholder {
    color: #fff;
}

.search-bar-open .main-nav .menu-main-nav-container {
    opacity: 0;
    pointer-events: none;
}

.search-bar-open .header-search-container {
    display: block;
    width: 100vw;
    margin-right: 20px;
}

.search-bar-open #search-toggle {
    padding: 3px;
}

.search-bar-open #mobile-search-toggle {
    padding: 8px 0 2px 2px;
    transform: scale(1.5);
}

.search-bar-open #search-toggle svg,
.search-bar-open #mobile-search-toggle svg {
    display: none !important;
}

.search-bar-open #search-toggle:before,
.search-bar-open #mobile-search-toggle:before {
    content: '';
    position: absolute;
    height: 2px;
    width: 12px;
    background-color: #5C9DC1;
    transform: rotate(315deg);
}

.search-bar-open #search-toggle:after,
.search-bar-open #mobile-search-toggle:after {
    content: '';
    position: absolute;
    height: 2px;
    width: 12px;
    background-color: #5C9DC1;
    transform: rotate(45deg);
}

.search-bar-open #mobile-search-toggle:before,
.search-bar-open #mobile-search-toggle:after {
    background-color: #ffffff;
}

@media (min-width: 1024px) {

    .search-bar-open .header-search-container {
        width: auto;
        bottom: unset;
    }

}

@media (min-width: 1280px) {

    .search-bar-open .header-search-container,
    #search-toggle {
        margin-right: 200px;
        margin-left: -190px;
    }

}

#mobile-contact-menu {
    position: fixed;
    top: 0;
    width: 100vw;
    bottom: 0;
    left: -100%;
    transition: all 0.2s ease;
    overflow: auto;
}

header.mobile-contact-menu-open #mobile-contact-menu {
    left: 0;
}

#mobile-contact-menu #close-mobile-contact-menu {
    position: absolute;
    right: 32px;
    background-color: #4C5358;
    padding: 20px;
    border-radius: 0 0 20px 20px;
}

#mobile-contact-menu .cta {
    display: inline-block;
    min-width: 200px;
}

#mobile-nav-tab .fa-times,
header.mobile-nav-open #mobile-nav-tab .fa-bars {
    display: none;
}

header.mobile-nav-open #mobile-nav-tab .fa-times {
    display: block;
}

#mobile-nav {
    position: fixed;
    left: -100%;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    overflow: auto;
    transition: 0.2s;
    padding-top: 140px;
    z-index: -1;
    background-color: #051B27;
}

#mobile-nav li {
    margin-bottom: 20px;
}

header.mobile-nav-open #mobile-nav {
    left: 0;
}

#mobile-nav .no-link>a {
    pointer-events: unset;
}

#mobile-nav li.menu-item-has-children .sub-menu,
#mobile-nav li.menu-item-has-children .custom-treatments-dropdown {
    position: absolute;
    width: 100%;
    height: 100%;
    left: -100%;
    background: #29333B;
    top: 0;
    transition: all 0.3s ease;
    padding-top: 150px;
    padding-left: 40px;
    display: block;
    max-height: unset;
    transform: none;
    border-radius: 0;
    overflow: auto;
    padding-bottom: 100px;
    z-index: 5;
}

#mobile-nav li.menu-item-has-children.sub-open .sub-menu,
#mobile-nav li.menu-item-has-children.sub-open .custom-treatments-dropdown {
    left: 0;
}

#mobile-nav .custom-drop-downs .dropdown-column .treatments-header {
    margin-top: 0;
}

#mobile-nav li.menu-item-has-children.sub-open>a {
    display: none;
}

#mobile-nav .back-button>button {
    color: #606868;
}

footer .menu li {
    margin-bottom: 5px;
    font-weight: 300;
}

footer #menu-footer-nav,
footer #menu-footer-treatments {
    column-count: 2;
}

@media (min-width: 580px) {
    #mobile-nav {
        left: -400px;
        width: 400px;
    }
}

@media (min-width: 1024px) {

    header .header-logo {
        max-width: 270px;
    }

    header .cta {
        padding: 12px 32px;
        margin-right: 30px;
    }

    footer #menu-footer-nav,
    footer #menu-footer-treatments {
        column-count: 1;
    }
}

@media (max-width: 1280px) {
    header {
        border-radius: 0 0 20px 20px;
        overflow: hidden;
    }
}

@media (max-width: 767px) {

    footer .menu>ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

.opening-hours-wrap {
    width: 430px;
    max-width: 100%;
}

.opening-hours-table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
}

.opening-hours-table th,
.opening-hours-table td {
    padding: 10px 0;
    font-weight: 400;
}

.opening-hours-table tr {
    border-bottom: 1px dashed #5C9DC1;
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.opening-hours-table tr:last-child {
    border-bottom: none;
}

.opening-hours-table th {
    text-align: left;
}

@media (max-width: 1024px) {
    .comp__hero-banner-clinics .hero-banner-content .top-bar-reviews {
        border: none;
        background-color: transparent;
        padding: 0;
        min-width: 320px;
        bottom: -60px;
        left: 0;
    }

    .comp__hero-banner {
        margin-top: -20px;
    }
}

.comp__hero-banner-clinics .hero-banner-images .static-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
}

@media (min-width: 1024px) {
    .comp__hero-banner-clinics .hero-banner-images .main-image {
        margin-left: auto;
        margin-right: 0;
    }

    .comp__hero-banner-clinics .hero-banner-images .static-image {
        bottom: 0;
        width: 400px;
        right: 0;
    }

    .opening-hours-wrap {
        margin-left: auto;
    }
}

.image-hover-zoom>img {
    transition: all 0.3s ease;
}

.image-hover-zoom>img:hover {
    transform: scale(1.1);
}

/* components  */


@media (max-width: 1024px) {

    .usp-bar img {
        background-color: #1C4966;
        border-radius: 50%;
    }

    @keyframes usp1 {
        0% {
            opacity: 0;
        }

        3% {
            opacity: 1;
        }

        23% {
            opacity: 1;
        }

        25% {
            opacity: 0;
        }

        100% {
            opacity: 0;
        }
    }

    @keyframes usp2 {
        0% {
            opacity: 0;
        }

        25% {
            opacity: 0;
        }

        27% {
            opacity: 1;
        }

        48% {
            opacity: 1;
        }

        50% {
            opacity: 0;
        }

        100% {
            opacity: 0;
        }
    }

    @keyframes usp3 {
        0% {
            opacity: 0;
        }

        50% {
            opacity: 0;
        }

        52% {
            opacity: 1;
        }

        73% {
            opacity: 1;
        }

        75% {
            opacity: 0;
        }

        100% {
            opacity: 0;
        }
    }

    @keyframes usp4 {
        0% {
            opacity: 0;
        }

        75% {
            opacity: 0;
        }

        77% {
            opacity: 1;
        }

        98% {
            opacity: 1;
        }

        100% {
            opacity: 0;
        }
    }

    .usp-bar {
        height: 25px;
    }

    .usp-bar-wrap {
        border-radius: 0;
        position: relative;
        z-index: -1;
    }

    .usp-bar>div {
        animation-duration: 20s;
        width: 100%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        justify-content: center;
    }

    .usp-bar>div img {
        order: -1;
    }

    .usp-bar>div:nth-of-type(1) {
        animation-name: usp1;
        animation-iteration-count: infinite;
    }

    .usp-bar>div:nth-of-type(2) {
        animation-name: usp2;
        animation-iteration-count: infinite;
    }

    .usp-bar>div:nth-of-type(3) {
        animation-name: usp3;
        animation-iteration-count: infinite;
    }

    .usp-bar>div:nth-of-type(4) {
        animation-name: usp4;
        animation-iteration-count: infinite;
    }

    .usp-bar-wrap:before {
        content: '';
        position: absolute;
        background-color: rgba(56, 66, 75, 0.8);
        height: 60px;
        left: 0;
        right: 0;
        bottom: -60px;
    }

    .usp-bar-wrap:after {
        content: '';
        position: absolute;
        background-color: #f4f4f4;
        height: 60px;
        left: 0;
        right: 0;
        bottom: -60px;
        border-radius: 50px 0 0 0;
    }
}

.comp__hero-banner.has-no-image+.comp__feature-box-slider,
.comp__hero-banner.has-no-image+.comp__team-members {
    padding-top: 0;
    margin-top: -50px;
}

.comp__hero-banner-alt.no-image+.comp__feature-box-slider {
    padding-top: 2rem;
}

.comp__feature-box-slider .feature-box-slider-arrow {
    position: absolute;
    bottom: -160px;
    left: -30px;
    cursor: pointer;
    z-index: 1;
}

.comp__feature-box-slider .feature-box-slider-right {
    left: unset;
    right: -30px;
}

.comp__feature-box-slider .feature-box {
    min-width: calc(25% - 18px);
}

.comp__feature-box-slider.columns-5 .feature-box {
    min-width: calc(20% - 19px);
}

.comp__feature-box-slider.columns-3 .feature-box {
    min-width: calc(33% - 18px);
}

.comp__feature-box-slider .image-wrap>a {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    width: max-content;
}

.comp__feature-box-slider .image-wrap:hover>a {
    opacity: 1;
    bottom: 50px;
}

.comp__feature-box-slider .image-wrap:hover>a:hover {
    background-color: #5C9DC1;
    border-color: #5C9DC1;
    color: #fff;
}

@media (max-width: 1024px) {

    .comp__feature-box-slider {
        padding-top: 100px;
    }

    .comp__feature-box-slider .feature-box {
        min-width: 300px;
    }

    .comp__feature-box-slider .feature-box-slider-arrow {
        top: -60px;
        bottom: unset;
        left: unset;
        right: 40px;
    }

    .comp__feature-box-slider .feature-box-slider-right {
        right: 15px;
    }

    .comp__feature-box-slider .feature-box {
        background-size: cover !important;
    }

    .comp__feature-box-slider .image-wrap>a {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        transform: none;
        opacity: 0 !important;
    }

    .comp__hero-banner .hero-banner-content .top-bar-reviews {
        border: none;
        background-color: transparent;
        padding: 10px 0;
        min-width: 320px;
    }

    .page-id-215 .comp__hero-banner .hero-banner-content {
        padding-top: 12rem;
        margin-bottom: -5rem;
    }
}

@media (max-width: 767px) {

    .page-id-215 .comp__hero-banner {
        background-position-y: -115px;
    }

    .page-id-215 .comp__hero-banner .hero-banner-content {
        padding-top: 50%;
        margin-bottom: -5rem;
    }
}

@media (max-width: 520px) {
    .page-id-215 .comp__hero-banner {
        background-size: auto calc(100% + 112px);
    }

    .page-id-215 .comp__hero-banner {
        background-position-y: -50px;
    }

}

.comp__patient-journey .vertical-scrollable-timeline {
    list-style-type: none;
    position: relative;
    padding-left: 20px;
}

.comp__patient-journey .process-item {
    position: relative;
    padding: 12px 0px 15px 68px;
    max-width: 90vw;
}

.comp__patient-journey .process-item:not(:last-of-type):before {
    content: '';
    width: 8px;
    background-color: #38424b;
    height: 100%;
    left: 20px;
    position: absolute;
    top: 1px;
}

.comp__patient-journey .process-item:not(:last-of-type):after {
    content: '';
    width: 8px;
    background-color: #5C9DC1;
    height: 0%;
    left: 20px;
    position: absolute;
    top: 1px;
    transition: all 0.5s ease;
}

.comp__patient-journey .process-item.active:not(:last-of-type):after {
    height: 100%;
}

.comp__patient-journey .process-item:last-child {
    margin-bottom: 0;
}

.comp__patient-journey .icon-holder {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1C4966;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.5s ease;
}

.comp__patient-journey .icon-holder i {
    font-size: 25px;
    color: #fff;
}

.comp__patient-journey .process-item.active .icon-holder {
    background-color: #5C9DC1;
}

@media (min-width: 1024px) {

    .comp__patient-journey h2 {
        margin-left: 190px;
    }

    .comp__patient-journey .process-item {
        max-width: 600px;
        margin: auto;
        margin-right: 50px;
        padding: 0 0 70px 100px;
    }

    .comp__patient-journey .icon-holder {
        left: -10px;
        width: 68px;
        height: 68px;
    }

    .comp__patient-journey .patient-journey-image-1 {
        width: 500px;
        left: calc(50% - 400px);
        transform: translateX(-50%);
        margin: 0;
    }

    .lg\:py-20+.lg\:py-20 {
        padding-top: 0;
    }
}

@media (min-width: 1280px) {
    .comp__patient-journey h2 {
        margin-left: 450px;
    }

    .comp__patient-journey .patient-journey-image-1 {
        width: 50vw;
        left: 50%;
        transform: translateX(-100%);
    }
}

.global-form-point-header {
    padding: 1rem 3rem 1rem 0;
    border-bottom: 1px solid #cdcdcd;
    text-transform: capitalize;
}

.global-form-point-header.active {
    border-bottom: none
}

.global-form-point-header.active i {
    transform: rotate(180deg);
}

.global-form-point-body.show {
    padding: 0 0 15px 0;
    border-bottom: 1px solid #cdcdcd;
}

.global-form-point-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.comp__global-form input:not([type=checkbox]),
.comp__global-form textarea {
    width: 100%;
    border: none;
    outline: none;
    margin-bottom: 15px;
    border-radius: 5px;
    max-height: 150px;
}

.comp__global-form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.comp__global-form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    margin-left: 10px
}

.comp__global-form .wpcf7-submit.cta {
    background-color: #1C4966;
    border: 2px solid #1C4966;
    color: #fff;
    border-radius: 8px;
    margin-top: 2rem;
    width: fit-content;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comp__global-form .wpcf7-submit.cta:hover {
    background-color: #fff;
    color: #1C4966;
    border-color: #fff;
}

.comp__global-form .wpcf7-spinner {
    display: none;
}

@media (max-width:1024px) {
    .comp__global-form {
        margin-top: 100px;
    }

    .comp__global-form.custom-form {
        margin-top: 0;
        padding-top: 7rem;
    }

    .comp__global-form .container>div:first-of-type {
        display: flex;
        flex-direction: column;
    }

    .comp__global-form .cta {
        margin: 2rem 0;
    }

    .comp__global-form .global-form-bullets {
        order: 1;
        margin-bottom: 4rem;
    }

    .comp__global-form .wpcf7-submit.cta {
        margin-top: 1rem;
        width: 100%;
    }
}

.comp__team-banner .team-member {
    height: 200px;
    width: 200px;
    min-width: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.comp__team-banner .team-member:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.comp__team-banner .team-member:hover:before {
    opacity: 0.5;
}

.comp__team-banner .team-member p {
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.comp__team-banner .team-member:hover p {
    opacity: 1;
}

.comp__team-banner .sliding-team-banner {
    display: flex;
    gap: 40px;
    transition: all 0.3s ease;
}

.comp__team-banner .sliding-team-banner-container {
    overflow: hidden;
    position: relative;
    padding: 0 50px;
}

.comp__team-banner .team-banner-left,
.comp__team-banner .team-banner-right {
    cursor: pointer;
    position: absolute;
    top: 75px;
    left: 0;
    font-size: 32px;
}

.comp__team-banner .team-banner-right {
    left: unset;
    right: 0;
}

@media (max-width: 1280px) {

    .comp__team-banner .team-banner-left,
    .comp__team-banner .team-banner-right {
        display: none;
    }

    .comp__team-banner .sliding-team-banner-container {
        overflow-x: auto;
    }

    .comp__team-banner .sliding-team-banner {
        gap: 20px;
    }
}

.comp__team-members .team-member .team-member-hover-text {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.2s ease;
}

.comp__team-members .team-member:hover .team-member-hover-text {
    opacity: 1;
}

.comp__custom-usps .custom-usp {
    padding: 2rem 0;
    max-width: 200px;
    margin: auto;
}

.comp__custom-usps .custom-usp:not(:last-of-type) {
    border-bottom: 1px solid #5C9DC1;
}

@media (min-width: 767px) {
    .comp__custom-usps .custom-usp {
        padding: 0 2rem;
        max-width: 250px;
        margin: 0;
    }

    .comp__custom-usps .custom-usp:not(:last-of-type) {
        border-bottom: none;
        border-right: 1px solid #5C9DC1;
    }
}

@media (min-width: 1024px) {
    .usp-bar>div img {
        display: none;
    }
}

.comp__invisalign-banner .smile-app-image {
    max-width: calc(100% + 6rem);
    margin-left: -3rem;
    margin-right: -3rem;
}

@media (min-width: 767px) {
    .comp__invisalign-banner .smile-app-image {
        max-width: 500px;
        margin: auto;
    }
}

@media (min-width: 1280px) {
    .comp__invisalign-banner .smile-app-image {
        position: absolute;
        right: -250px;
        bottom: -6rem;
        max-width: 900px;
    }
}

/* custom page tweaks  */

/* single Team member  */

.single-team_member header {
    background-color: #313B42;
}

.single-team_member .comp__hero-banner .main-image {
    width: 300px;
    max-width: calc(100% - 100px);
}

.single-team_member .comp__hero-banner .gdc-number {
    width: 160px;
    height: 160px;
    right: 0;
}

@media (min-width: 440px) {
    .single-team_member .comp__hero-banner .gdc-number {
        left: 250px;
        right: unset;
    }
}

@media (min-width: 767px) {
    .single-team_member .comp__hero-banner:before {
        right: 0;
        bottom: 0;
    }

    .single-team_member .comp__hero-banner:after {
        bottom: 0;
        display: none;
    }

    .single-team_member .comp__hero-banner .main-image-wrap {
        position: absolute;
        top: 50%;
        right: 30px;
        transform: translateY(-50%);
    }

    .single-team_member .comp__hero-banner .main-image {
        width: 300px;
        max-width: unset;
    }

    .single-team_member .comp__hero-banner .gdc-number {
        width: 160px;
        height: 160px;
        right: -30px;
        left: unset;
    }
}

@media (min-width: 1200px) {
    .single-team_member .comp__hero-banner:before {
        right: calc(25% + 3rem);
    }

    .single-team_member .comp__hero-banner:after {
        right: calc(25% - 352px);
        display: block;
    }

    .single-team_member .comp__hero-banner .main-image {
        width: 400px;
    }

}

.comp__pricing-page .pricing-tab.active {
    font-weight: bold;
    color: #000;
}

.comp__pricing-page .pricing-body {
    display: none;
}

.comp__pricing-page ul.price-list>li:not(:last-of-type) {
    border-bottom: 1px solid #cdcdcd;
    padding-bottom: 6px;
}

.comp__pricing-page .category-header-toggle:after {
    content: '+';
    font-size: 24px;
    position: absolute;
    right: 0;
}

.comp__pricing-page .category-header-toggle.expanded {
    color: #F78004;
}

.comp__pricing-page .category-header-toggle.expanded:after {
    content: '-';
}

.comp__pricing-page ul.price-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    border-bottom: 1px solid #cdcdcd;
}


.comp__finance-banner .finance-banner-main-image {
    width: 80%;
    margin: auto;
    position: relative;
    z-index: 1;
    padding-right: 20%;
}

.comp__finance-banner .finance-banner-second-image {
    position: absolute;
    width: 50%;
    bottom: 0;
    right: 0;
}

@media (min-width: 1024px) {
    .comp__finance-banner+.comp__social-feed {
        margin-top: -100px;
    }

    .comp__finance-banner .finance-banner-main-image {
        width: 300px;
        position: absolute;
        bottom: 0;
        left: 50%;
        padding: 0;
        transform: translateX(calc(-50% - 400px));
    }

    .comp__finance-banner .finance-banner-second-image {
        position: absolute;
        width: 300px;
        bottom: 0;
        right: 0;
    }
}

.referral-form-wrap .referral-form-steps {
    position: absolute;
    top: 5rem;
    right: 3rem;
}

.wpcf7-form-control.wpcf7-validates-as-required.error {
    background-color: #ffcaca;
}

.referral-form-wrap input:not([type="checkbox"]):not([type="file"]):not([type="submit"]),
.referral-form-wrap select,
.referral-form-wrap textarea {
    width: 100%;
    border-radius: 5px;
    max-height: 100px;
}

.referral-form-wrap fieldset {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.referral-form-wrap fieldset>.f-w {
    grid-column: span 2 / span 2;
}

.referral-form-wrap .step-wrap>p {
    display: flex;
}

.referral-form-wrap .next-step,
.referral-form-wrap .cta.wpcf7-submit {
    background-color: #38424b;
    color: #fff;
    cursor: pointer;
    margin-left: auto;
}

.referral-form-wrap .next-step:hover,
.referral-form-wrap .cta.wpcf7-submit {
    background-color: #fff;
    color: #38424b;
}

.referral-form-wrap .prev-step {
    border: 1px solid #38424b;
    cursor: pointer;
    padding: 12px 32px 12px 48px;
}

.referral-form-wrap .prev-step:before {
    content: '';
    height: 10px;
    width: 10px;
    border-bottom: 2px solid #38424b;
    border-right: 2px solid #38424b;
    transform: rotate(135deg) translate(17px, 7px);
    position: absolute;
}

.referral-form-wrap .wpcf7-acceptance {
    margin-left: -15px;
}

@media (min-width: 768px) {
    .referral-form-wrap .referral-form-steps {
        position: absolute;
        top: 3rem;
    }
}

.mb-16 {
    margin-bottom: 4rem;
}

.\!ml-16 {
    margin-left: 4rem !important;
}

.global-finance-block .smile-line {
    position: absolute;
    top: 45px;
    right: 333px;
    z-index: 0;
}

.global-finance-block .finance-list {
    text-indent: -18px;
    margin-left: 18px;
}

.global-finance-block .finance-list li {
    position: relative;
    padding-left: 10px;
    text-indent: 0;
}

.global-finance-block .finance-list li:before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(315deg);
    left: -20px;
    top: 8px;
}

@media (max-width: 1280px) {
    .global-finance-block .smile-line {
        top: 64px;
        right: 180px;
    }
}

@media (max-width: 1024px) {
    .global-finance-block .smile-line {
        top: unset;
        right: unset;
        bottom: 0;
    }
}

@media (max-width: 767px) {
    .global-finance-block .mobile-header .finance-image {
        height: 200px !important;
        margin-right: 10px !important;
        margin-left: -100px !important;
    }

    .global-finance-block .md\:grid-cols-2 .max-w-\[300px\] {
        order: 1;
    }

    .global-finance-block .button {
        justify-content: center;
        width: 100%;
    }

    .global-finance-block .button i {
        display: none;
    }
}

@media (max-width: 600px) {
    .global-finance-block .mobile-header .smile-line {
        left: -20px;
    }
}

@media (min-width: 1024px) {
    .global-finance-block .col-span-1.hidden img {
        transform: scale(1.2);
        margin-left: -3rem;
        margin-bottom: -3rem;
    }
}

@media (min-width: 1280px) {
    .global-finance-block .col-span-1.hidden img {
        transform: none;
        margin-left: 0;
    }
}

.accreditation-logos {
    position: relative;
    height: 70px;
}

.accreditation-logos .logo-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease-in-out;
    justify-content: space-between;
}

.accreditation-logos .logo-group.active {
    opacity: 1;
    z-index: 1;
}

@media (max-width: 767px) {
    .accreditation-logos {
        height: 200px;
    }

    .accreditation-logos .logo-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .accreditation-logos .logo-group img {
        min-width: 33%;
        width: 33%;
    }
}

.news-feed article.news-item {
    min-width: 250px;
}

.news-feed article.news-item img {
    height: 160px;
    object-fit: cover;
    width: 100%;
}

@media (min-width: 1024px) {
    .news-feed article.news-item img {
        height: 240px;
    }
}

.fw-image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 -15px;
    width: calc(100% + 15px);
    padding: 0;
}

.fw-image-gallery img:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

@media (min-width: 767px) {
    .fw-image-gallery {
        display: flex;
        flex-wrap: wrap;
        margin: 5rem auto;
        width: 100%;
        border-radius: 20px;
        overflow: hidden;
    }

    .fw-image-gallery img {
        flex: 1 1 20%;
        object-fit: cover;
        height: auto;
        max-width: 20%;
    }

    .fw-image-gallery img:nth-child(1) {
        flex: 1 1 20%;
    }

    .fw-image-gallery img:nth-child(2) {
        order: -1;
    }
}

.comp__live-opening-hours {
    margin-top: -6px;
}

.comp__live-opening-hours .open-message {
    position: relative;
}

.comp__live-opening-hours .open-message:before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #2FA137;
    position: absolute;
    left: -12px;
    top: 4px;
}

.no-link>a {
    pointer-events: none;
}

.comp__text_and_image .global-form-point-header {
    margin-bottom: 8px;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 400;
    border: 2px solid #C6DDE9;
    transition: background-color 0.1s ease !important;
    color: #1C4966;
}

.comp__text_and_image .global-form-point-header:hover,
.comp__text_and_image .global-form-point-header.active {
    background-color: #C6DDE9;
}

.comp__text_and_image .global-form-point-body.show {
    border: none;
}

.comp__invisalign-banner img {
    margin: 2rem auto -2.5rem;
}

@media (min-width: 1024px) {
    .comp__invisalign-banner img {
        margin: 0;
        position: absolute;
        max-width: 50%;
        right: 0;
        bottom: 0;
    }
}


.comp__inner-page-nav {
    overflow-x: auto;
}

.comp__inner-page-nav>.container {
    min-width: 1240px;
}

/* meet the team  */

.comp__hero-banner-alt.no-image>.container {
    grid-template-columns: 1fr;
    justify-content: center;
    text-align: center;
    background: #fff;
    margin: 1rem auto 0;
}

.comp__hero-banner-alt.no-image .hero-banner-content {
    margin: auto;
    text-align: center;
    padding: 0;
}

.comp__hero-banner-alt.no-image .hero-banner-content .top-bar-reviews {
    margin: 0 auto 1rem;
    position: relative;
    transform: none;
    left: unset;
    bottom: unset;
}

.comp__hero-banner-alt.no-image .hero-banner-header {
    margin: auto;
}

.comp__hero-banner-alt.no-image .hero-banner-body {
    max-width: 800px;
}

.comp__hero-banner-alt.no-image .hero-banner-content .cta {
    margin: 0 auto 2rem;
}

/* meet the team  end */