/* MIGRAINETREATMENT.CO.NZ */
:root {
    --bs-body-color: #374550 !important;

    --bs-body-font-size: 1rem !important;
    --heading-6-font-size: clamp(0.45rem, 0.32vi + 0.37rem, 0.59rem) !important;
    --heading-5-font-size: clamp(0.54rem, 0.56vi + 0.4rem, 0.79rem) !important;
    --heading-4-font-size: clamp(0.65rem, 0.91vi + 0.42rem, 1.06rem) !important;
    --heading-3-font-size: clamp(0.78rem, 1.41vi + 0.43rem, 1.41rem) !important;
    --heading-2-font-size: clamp(0.94rem, 2.11vi + 0.41rem, 1.88rem) !important;
    --heading-1-font-size: clamp(1.13rem, 3.1vi + 0.35rem, 2.5rem) !important;
}

h1,
h2,
h3,
h4,
h5 {
    color: inherit !important;
}

h1 {
    margin-bottom: 0.75rem !important;
}
h2 {
    color: var(--bs-secondary) !important;
}
h3 {
    margin-top: 1rem !important;
    color: var(--bs-primary) !important;
}
p {
    margin-bottom: 0.5rem !important;
}
.headline-text .large--title {
  font-size: var(--heading-3-font-size) !important;
  line-height: 3rem !important;
}

.headline-text a:not(.btn) {
    border-bottom: .0625rem solid var(--bs-body-color) !important;
    color: var(--bs-body-color) !important;
}
.headline-text a:not(.btn):hover {
    -webkit-box-shadow: 0 1px 0 0 var(--bs-body-color) !important;
    box-shadow: 0 1px 0 0 var(--bs-body-color) !important;
    color: var(--bs-body-color) !important;
}
ul {
    margin-top: -0.25rem !important;
    padding-left: 1.125rem !important;
}
ol {
    padding-left: 1.125rem !important;
}

hr {
    background-color: unset !important;
}

.headline-text .large--title {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
}

.small {
    font-size: 0.875em !important;
}

.tabs .nav {
    margin-bottom: 2rem !important;
    border-bottom: 1px solid var(--bs-primary) !important;
}
.tabs .nav-link {
    color: var(--bs-body-color) !important;
    background: none !important;
}
.tabs .nav-link.active {
    border-bottom-color: var(--bs-primary) !important;
    color: var(--bs-body-color) !important;
    background: none !important;
}

.image-extension img:not(.no-bgap) {
    margin-bottom: 0.75rem !important;
}
.btn {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    padding: 1rem 1.5rem !important;
}
.btn.rounded-pill {
    border: 2px solid !important;
}

/* NAVIGATION SECTION */
#global-header .global-header {
    display: none !important;
}

#desktop-menu .meta-navigation ul {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-rows: max-content !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    column-gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}
#desktop-menu .meta-navigation ul li {
    padding: 0 !important;
}
#desktop-menu .meta-navigation ul li a {
    display: block !important;
    align-content: center !important;
    text-decoration: none !important;
    border-top: white 5px solid !important;
    width: 100% !important;
    height: 100% !important;
    text-align: center !important;
    background-color: white !important;
    border-radius: 0 0 20px 20px !important;
    padding: 0.5rem 0.75rem 0.75rem 0.75rem !important;
}
#desktop-menu .meta-navigation ul li a:hover,
#desktop-menu .meta-navigation ul li.active a {
    border-top: var(--bs-primary) 5px solid !important;
    text-decoration: none !important;
    color: inherit !important;
}


/* HERO SECTION */
.hero-banner__inner.overlay-content.hero-banner--center-content .hero-banner-top-area .hero-banner-content__inner {
    margin-top: 12vw !important;
    max-width: 42vw !important;
}
.hero-banner-image a {
    width: 100% !important;
}
.hero-banner-content {
    align-self: anchor-center !important;
}
.hero-banner-content p {
    font-size: unset !important;
    line-height: 1.25;
}
.hero-banner-content .headline-text:last-of-type {
    width: 80% !important;
    margin-left: 10% !important;
}

.hero-banner-image .image-extension img {
    margin-bottom: 0 !important;
}

#hero-references {
    padding: 1.125rem 0 !important;
}
#hero-references p {
    margin: 0 !important;
}

/* FOOTER SECTION */
.global-footer .headline-text p:not(:last-child) {
    margin-bottom: 0.25rem !important;
}

#global-footer .container-fluid {
    padding: 0 !important;
}
#global-footer hr {
    border-top-width: 0.75rem !important;
}

#global-footer .headline-text a:not(.btn) {
    border-bottom: unset !important;
}

#important-information {
    background-color: #eff0f1 !important;
    padding: 1.75rem 0 0.25rem 0 !important;
    margin-bottom: 1.5rem !important;
}

/* HOME PAGE */
#home-page_pack {
    position: relative !important;
    z-index: 2 !important;
    height: 0 !important;
    bottom: 6vw !important;
}
#home-page_pack img {
    max-height: 10vw !important;
}
#home-page_content {
    margin-top: 5rem !important;
}

/* ABOUT AQUIPTA */
.cmp-tabs__tablist {
    height: auto !important;
}
.cmp-tabs__tablist button {
    height: auto !important;
}
#taking-aquipta_box-left-rounded {
    margin: 2rem 0 !important;
    padding: 1rem 0 !important;
    border-radius: 200px 20px 20px 200px !important;
}
#taking-aquipta_once-daily_box{
    margin: 1rem 0 !important;
    padding: 2rem 0 !important;
    border-radius: 20px !important;
}
#taking-aquipta_once-daily_box #pill-icon {
    background-color: #fff !important;
    width: fit-content !important;
    margin: 0 auto 0.5rem auto !important;
    padding: 1rem 1.5rem !important;
    border: 2px solid #f15e22 !important;
    border-radius: 50rem !important;
}
#taking-aquipta_pack {
    position: relative !important;
    height: 0 !important;
    z-index: 2 !important;
    padding: 0 2rem !important;
}
#taking-aquipta_side-effects_box {
    margin-bottom: 1.5rem !important;
    padding: 2.5rem 5rem !important;
    border-radius: 20px !important;
}
#taking-aquipta_disclaimer {
    padding: 0 5rem !important;
}

/* HOW TO ACCESS */
#how-to-access_arrows {
    height: 0 !important;
    position: relative !important;
    top: 3rem !important;
}
#how-to-access_arrows .image-container {
    margin: 0 3.5rem !important;
}
#how-to-access_step-by-step_heading,
#how-to-access_step-by-step_content {
    padding-top: 0.75rem !important;
    padding-bottom: 0.25rem !important;
}
#how-to-access_step-by-step_content {
    min-height: 10rem !important;
    margin-bottom: 1.5rem !important;
}
#how-to-access_step-by-step_content ol li::marker {
    color: var(--bs-primary) !important;
    font-weight: 700 !important;
}
#how-to-access_patient-booklet_box {
    padding: 1rem 2.5rem !important;
    border-radius: 20px 20px 20px 20px !important;
    width: 70% !important;
}

/* ABOUT MIGRAINE */
#about-migraine_box-left-rounded {
    margin: 2rem 0 !important;
    padding: 1rem 0 !important;
    border-radius: 200px 20px 20px 200px !important;
}
#about-migraine_box-right-rounded {
    padding: 1rem 0 !important;
    border-radius: 20px 200px 200px 20px !important;
}

@media(max-width: 1400px) {
    #home-page_pack {
        bottom: 4.5vw !important;
    }
    #home-page_pack img {
        max-height: 12vw !important;
    }
    #home-page_content {
        margin-top: 2rem !important;
    }

    .hero-banner-image img:first-of-type {
        display: none !important;
    }
    .hero-banner-image img:nth-child(2) {
        display: block !important;

        height: 40vw !important;
        object-fit: cover !important;
        object-position: top !important;
    }
}

@media(max-width: 1200px) {
    #home-page_pack {
        bottom: 8vw !important;
    }
    #home-page_pack img {
        max-height: 16vw !important;
    }
    #how-to-access_patient-booklet_box {
        width: 80% !important;
    }
    #how-to-access_arrows .container .row {
        margin: 0 -4rem !important;
    }
}

@media(max-width: 991.98px) {
    .hero-banner-content p {
        font-size: unset !important;
    }

    .meta-navigation ul li a {
        color: var(--bs-dark) !important;
    }
    .meta-navigation ul {
        padding: 0 !important;
    }
    .hero-banner-content {
        text-shadow: 2px 2px 2px black !important;
    }
    .hero-banner__inner.overlay-content.hero-banner--center-content .hero-banner-top-area .hero-banner-content__inner {
        max-width: unset !important;
    }

    .hero-banner-image img:nth-child(2) {
        height: auto !important;
    }

    #home-page_pack {
        position: initial !important;
        height: initial !important;
    }

    #taking-aquipta_pack {
        position: initial !important;
        height: initial !important;
        margin-top: 1rem;
    }

    #how-to-access_patient-booklet_box {
        width: 100% !important;
    }
    
    #how-to-access_arrows {
        display: none !important;
    }
}

@media(max-width: 767px) {
    .hero-banner__inner.overlay-content.hero-banner--center-content .hero-banner-top-area .hero-banner-content__inner .headline-text:last-of-type>div{
        margin: 0 !important;
    }
    #desktop-menu {
        display: none !important;
    }
    #global-header .global-header {
        display: block !important;
    }

    #global-header .global-header ul {
        background: #fff !important;
        text-align: center !important;
    }

    .hero-banner-image img:nth-child(2) {
        height: 25rem !important;
    }
    .hero-banner-content .headline-text:last-of-type {
        width: 100% !important;
        margin: unset !important;
    }

    #home-page_pack {
        width: 65% !important;
        margin: 0 auto 1rem auto !important;
    }
    #home-page_pack img {
        max-height: unset !important;
    }

    #taking-aquipta_box-left-rounded,
    #about-migraine_box-left-rounded,
    #about-migraine_box-right-rounded {
        border-radius: 20px 20px 20px 20px !important;
    }
    #about-migraine_box-left-rounded,
    #about-migraine_box-right-rounded {
        padding: 1rem 2rem !important;
    }
    #about-migraine_box-left-rounded img {
        margin-bottom: 1rem !important;
    }
    #about-migraine_box-right-rounded img {
        margin-top: 1rem !important;
    }

    .global-footer .image-container {
        justify-content: end !important;
        margin-top: 0.5rem !important;
    }

    #how-to-access_patient-booklet_box p,
    #how-to-access_patient-booklet_box .button-link {
        text-align: center !important;
    }
    .cmp-tabs__tablist {
        justify-content: space-between !important;
    }

    .mobile-hide {
        display: none !important;
    }
}

@media(max-width: 575px) { 
    .hero-banner-content p {
        font-size: var(--bs-body-font-size) !important;
    }
    .cmp-tabs__tablist button {
        padding: 0.5rem !important;
        min-width: min-content !important;
    }
}