/* GENERAL STYLES */
:root {
    --bs-body-color: #374550;

    --bs-body-font-size: 1.125rem;
    --heading-1-font-size: calc(var(--bs-body-font-size)*2.5);
    --heading-2-font-size: calc(var(--bs-body-font-size)*1.5);
    --heading-3-font-size: calc(var(--bs-body-font-size)*1.125);
}

h1,
h2,
h3,
h4,
h5 {
    color: inherit;
}

h1 {
    margin-bottom: 0.75rem;
}
h2 {
    color: var(--bs-secondary);
}
h3 {
    margin-top: 1rem;
    color: var(--bs-primary);
}
p {
    margin-bottom: 0.5rem;
}
.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);
    box-shadow: 0 1px 0 0 var(--bs-body-color);
    color: var(--bs-body-color);
}
ul {
    margin-top: -0.25rem;
    padding-left: 1.125rem;
}
ol {
    padding-left: 1.125rem;
}

hr {
    background-color: unset !important;
}

.headline-text .large--title {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
}

.small {
    font-size: 0.875em;
}

.tabs .nav {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--bs-primary);
}
.tabs .nav-link {
    color: var(--bs-body-color);
    background: none;
}
.tabs .nav-link.active {
    border-bottom-color: var(--bs-primary);
    color: var(--bs-body-color);
    background: none;
}

.image-extension img:not(.no-bgap) {
    margin-bottom: 0.75rem;
}
.btn {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 1.5rem;
}
.btn.rounded-pill {
    border: 2px solid;
}

/* NAVIGATION SECTION */
#global-header .global-header {
    display: none;
}

#desktop-menu .meta-navigation ul {
    display: grid;
    grid-auto-flow: column;
    grid-auto-rows: max-content;
    grid-auto-columns: minmax(0, 1fr);
    column-gap: 1rem;
    margin-bottom: 1.5rem;
}
#desktop-menu .meta-navigation ul li {
    padding: 0;
}
#desktop-menu .meta-navigation ul li a {
    display: block;
    align-content: center;
    text-decoration: none;
    border-top: white 5px solid;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: white;
    border-radius: 0 0 20px 20px;
    padding: 0.5rem 0.75rem 0.75rem 0.75rem;
}
#desktop-menu .meta-navigation ul li a:hover,
#desktop-menu .meta-navigation ul li.active a {
    border-top: var(--bs-primary) 5px solid;
    text-decoration: none;
    color: inherit;
}


/* HERO SECTION */
.hero-banner-content__inner {
    margin-top: 10vw;
}
.hero-banner-image a {
    width: 100% !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;
    font-size: 1.2rem;
}
#hero-references p {
    margin: 0;
}

/* FOOTER SECTION */
.global-footer .headline-text p:not(:last-child) {
    margin-bottom: 0.25rem;
}

#global-footer .container-fluid {
    padding: 0;
}
#global-footer hr {
    border-top-width: 0.75rem;
}

#global-footer .headline-text a:not(.btn) {
    border-bottom: unset !important;
}

#important-information {
    background-color: #eff0f1;
    padding: 1.75rem 0 0.25rem 0;
    margin-bottom: 1.5rem;
}

/* HOME PAGE */
#home-page_pack {
    position: relative;
    z-index: 2;
    height: 0;
    bottom: 10vw;
}
#home-page_pack img {
    height: 16vw;
}
#home-page_content {
    margin-top: 5rem;
}

/* ABOUT AQUIPTA */
.cmp-tabs__tablist {
    height: auto !important;
}
.cmp-tabs__tablist button {
    height: auto !important;
}
#taking-aquipta_box-left-rounded {
    margin: 2rem 0;
    padding: 1rem 0;
    border-radius: 200px 20px 20px 200px;
}
#taking-aquipta_once-daily_box{
    margin: 1rem 0;
    padding: 2rem 0;
    border-radius: 20px;
}
#taking-aquipta_once-daily_box #pill-icon {
    background-color: #fff;
    width: fit-content;
    margin: 0 auto 0.5rem auto;
    padding: 1rem 1.5rem;
    border: 2px solid #f15e22;
    border-radius: 50rem;
}
#taking-aquipta_pack {
    position: relative;
    height: 0;
    z-index: 2;
    padding: 0 2rem;
}
#taking-aquipta_side-effects_box {
    margin-bottom: 1.5rem;
    padding: 2.5rem 5rem;
    border-radius: 20px;
}
#taking-aquipta_disclaimer {
    padding: 0 5rem;
}

/* HOW TO ACCESS */
#how-to-access_arrows {
    height: 0;
    position: relative;
    top: 3rem;
}
#how-to-access_arrows .image-container {
    margin: 0 3.5rem;
}
#how-to-access_step-by-step_heading,
#how-to-access_step-by-step_content {
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
}
#how-to-access_step-by-step_content {
    min-height: 10rem;
    margin-bottom: 1.5rem;
}
#how-to-access_step-by-step_content ol li::marker {
    color: var(--bs-primary);
    font-weight: 700;
}
#how-to-access_patient-booklet_box {
    padding: 1rem 2.5rem;
    border-radius: 20px 20px 20px 20px;
    width: 70%
}

/* ABOUT MIGRAINE */
#about-migraine_box-left-rounded {
    margin: 2rem 0;
    padding: 1rem 0;
    border-radius: 200px 20px 20px 200px;
}
#about-migraine_box-right-rounded {
    padding: 1rem 0;
    border-radius: 20px 200px 200px 20px;
}

@media(max-width: 1400px) {
    #home-page_pack {
        bottom: 11rem;
    }
    #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;
        object-fit: cover;
        object-position: top;
    }
}

@media(max-width: 1200px) {
    :root {
        --heading-1-font-size: calc(var(--bs-body-font-size)*2.25);
        --heading-2-font-size: calc(var(--bs-body-font-size)*1.25);
    }

    #home-page_pack {
        bottom: 7.5rem !important;
    }
    #how-to-access_patient-booklet_box {
        width: 80% !important;
    }
    #how-to-access_arrows .container .row {
        margin: 0 -4rem;
    }
}

@media(max-width: 991.98px) {
    h1 {
        font-size: calc(1.34375rem + 1.125vw) !important;
    }
    .hero-banner-content p {
        font-size: unset !important;
    }

    .meta-navigation ul li a {
        color: var(--bs-dark);
    }
    .meta-navigation ul {
        padding: 0;
    }
    .hero-banner-content {
        text-shadow: 2px 2px 2px black;
    }

    .hero-banner-image img:nth-child(2) {
        height: auto;
    }

    #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) {
    #desktop-menu {
        display: none !important;
    }
    #global-header .global-header {
        display: block !important;
    }

    #global-header .global-header ul {
        background: #fff !important;
        text-align: center;
    }

    .hero-banner-content {
        height: fit-content;
    }
    .hero-banner-content__inner {
        margin-top: 5rem !important;
    }

    #home-page_pack {
        width: 80%;
        margin: 0 auto 1rem auto;
    }
    #home-page_pack img {
        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;
    }

    .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;
    }
}