/*
 Theme Name: Combogesic Canada
 Theme URI:
 Author: Podcom Limited
 Author URI: https://www.podcom.co.nz
 Description: A custom theme for Combogesic Canada
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: combogesic
*/


/*
    1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
    box-sizing: border-box;
}
/*
    2. Remove default margin
*/
* {
    margin: 0;
}
/*
    Typographic tweaks!
    3. Add accessible line-height
    4. Improve text rendering
*/
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
body:not(.editor-styles-wrapper) {
    background: #f4f7fa;
}
/*
    5. Improve media defaults
*/
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
/*
    6. Remove built-in form typography styles
*/
input, button, textarea, select {
    font: inherit;
}
/*
    7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
/*
    8. Create a root stacking context
*/
#root, #__next {
    isolation: isolate;
}

/* Make RobotSans the default typeface */
html, body {
    font-family: 'Roboto', sans-serif;
}

@media (max-width: 767px) {
    body:not(.editor-styles-wrapper) .onlyDesktop {
        display: none !important;
    }
    .editor-styles-wrapper .onlyDesktop {
        border: 1px dotted #2451b0;
        border-radius:  7px;
        padding-top: 32px;
        background-blend-mode: lighten;
        background-color: rgba(255, 255, 255, 0.6);
    }
    .editor-styles-wrapper .onlyDesktop > * {
        opacity: 0.5 !important;
    }
    .editor-styles-wrapper .onlyDesktop::before {
        content:       'Desktop Only';
        color:          #fff;
        display:        block;
        font-size:      1rem;
        padding:        0.25rem 1rem;
        background:    #2451b0;
        border-radius:  7px 7px 0 0;
        opacity:        1;
        position:       absolute;
        left: 0;
        right: 0;
        top: 0;
    }
}
@media (min-width: 768px) {
    body:not(.editor-styles-wrapper) .onlyMobile {
        display: none !important;
    }
    .editor-styles-wrapper .onlyMobile {
        border: 1px dotted #2451b0;
        border-radius:  7px;
        padding-top: 32px;
        background-blend-mode: lighten;
        background-color: rgba(255, 255, 255, 0.6);
    }
    .editor-styles-wrapper .onlyMobile > * {
        opacity: 0.5 !important;
    }
    .editor-styles-wrapper .onlyMobile::before {
        content:       'Mobile Only';
        color:          #fff;
        display:        block;
        font-size:      1rem;
        padding:        0.25rem 1rem;
        background:     #2451b0;
        border-radius:  7px 7px 0 0;
        opacity:        1;
        position:       absolute;
        left: 0;
        right: 0;
        top: 0;
    }

    .editor-styles-wrapper .onlySmall {
        border: 1px dotted #2451b0;
        border-radius:  7px;
        padding-top: 32px;
        background-blend-mode: lighten;
        background-color: rgba(255, 255, 255, 0.6);
    }
    .editor-styles-wrapper .onlySmall > * {
        opacity: 0.5 !important;
    }
    .editor-styles-wrapper .onlySmall::before {
        content:       'Small Only';
        color:          #fff;
        display:        block;
        font-size:      1rem;
        padding:        0.25rem 1rem;
        background:     #2451b0;
        border-radius:  7px 7px 0 0;
        opacity:        1;
        position:       absolute;
        left: 0;
        right: 0;
        top: 0;
    }
}


body {
    font-size: 14px;
}
@media (min-width: 768px) {
    body {
        font-size: 16px;
    }
}

.interstate {
    font-family: "interstate-condensed",sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--wp--preset--color--custom-dark-blue);
    font-weight: 500;
}
h1 {
    font-family: "interstate-condensed",sans-serif;
    font-size: 32px;
    font-weight: 900;
    font-style: normal;
    text-transform: uppercase;
    line-height: 1;
}
@media (max-width: 767px) {
    h1 br {
        display: none;
    }
}
@media (min-width: 768px) {
    h1 {
        font-size: 48px;
    }
}
h2 {
    font-size: 24px;
}
@media (min-width: 768px) {
    h2 {
        font-size: 36px;
    }
}
h3 {
    font-size: 20px;
}
@media (min-width: 768px) {
    h3 {
        font-size: 24px;
    }
}

sub, sup {
    position: relative;
    font-size: .75em;
    line-height: 0;
    vertical-align: baseline;
}
    sup {
        top: -.5em;
    }

.slider .slick-arrow {
    z-index: 2;
    width: 32px;
    height: 32px;
}
    .slider .slick-prev {
        left:           1rem;
    }
    .slider .slick-next {
        right:          1rem;
    }
    .slider .slick-prev:before,
    .slider .slick-next:before {
        font-size: 32px;
    }

.lightblue {
    color: var(--wp--preset--color--custom-light-blue);
}

.wpforms-submit {
    background: var(--wp--preset--color--custom-dark-blue) !important;
    font-weight: 400 !important;
    padding: 10px 20px !important;
    line-height: 1.5 !important;
    height: auto !important;
}
.wpforms-submit:hover,
.wp-block-button__link:hover {
    background: var(--wp--preset--color--custom-light-blue) !important;
}



.lead {
    font-size: 16px !important;
}
@media (min-width: 768px) {
    .leadGroup {
        width: 66.6666666667%;
    }
    .lead {
        font-size: 20px !important;
    }
}

@media (min-width: 922px) {
    .width50 {
        width: 50%;
    }
    .width66 {
        width: 66.6666666667%;
    }
}

.redArrow {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.redArrow li {
    padding: 0 20px;
    color: #283583;
    font-size: 16px;
    position: relative;
    text-align: left;
}
.redArrow li:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #C70720;
    position: absolute;
    top: 5px;
    left: 0;
    bottom: 0;
    margin: 0;
}



header {
    background-color: #FFF;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.16);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.16);
}
.header .wp-block-group .wp-block-columns {
    min-height: 80px;
}
.header .wp-block-column:first-child a {
    display: block;
}
.header .wp-block-navigation-item .wp-block-navigation-item__content {
    padding: 38px 26px;
    border-bottom: 3px solid transparent;
}
.header .wp-block-navigation .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.header .wp-block-navigation > .wp-block-navigation-item:hover .wp-block-navigation__submenu-icon,
.header .current-menu-item > .wp-block-navigation-item__content {
    color: var(--wp--preset--color--custom-dark-blue) !important;
}
.header .current-menu-item > .wp-block-navigation-item__content {
    border-bottom-color: var(--wp--preset--color--custom-dark-blue);
}
.wp-block-navigation .wp-block-navigation__submenu-icon {
    margin-bottom: 5px;
    margin-left: 0;
    position: absolute;
    right: 0.5rem;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
    padding: 20px 26px;
    white-space: nowrap;
}
.wp-block-navigation__responsive-container-open {
    padding: .25rem .75rem;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: .25rem;
}
.header .navMobile {
    margin-top: 0;
}
.header .navMobile .wp-block-navigation__responsive-container {
    bottom: auto;
    background: transparent !important;
    padding: 0;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.16);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.16);
}
.header .navMobile .wp-block-navigation__responsive-dialog {
    position: static;
}
.header .navMobile .wp-block-navigation__responsive-container-close {
    padding: .25rem .75rem;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: .25rem;
    top: 67px;
    right: var(--wp--preset--spacing--60);
    background: #fff;
}
.header .navMobile .wp-block-navigation__responsive-container-content {
    background: #fff;
    padding: 0 var(--wp--preset--spacing--60) !important;
    margin-top: 100px;
    align-items: stretch !important;
}
.header .navMobile .wp-block-navigation__container {
    align-items: stretch !important;
}
.header .navMobile .wp-block-navigation .wp-block-navigation-item {
    align-items: stretch !important;
}
.header .navMobile .wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    padding: 16px 4px;
}
.header .navMobile .wp-block-navigation__submenu-container {
    padding: 0 !important;
}
.header .navMobile .wp-block-navigation__submenu-container .wp-block-navigation-item .wp-block-navigation-item__content {
    padding: 16px 26px !important;
}
@media (max-width: 991px) {
    body:not(.editor-styles-wrapper) .header .navDesktop {
        display: none;
    }
}
@media (max-width: 390px) {
    .header .wp-block-column:first-child {
        flex-basis: 170px !important;
    }
}
@media (min-width: 992px) {
    body:not(.editor-styles-wrapper) .header .navMobile {
        display: none;
    }
}


@media (min-width: 992px) {
    main {
        padding-top: 120px !important;
    }
}


.footer .wp-block-navigation .wp-block-navigation-item a {
    padding-top: 12px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
    .footer .wp-block-navigation .wp-block-navigation-item a::before {
        content: "";
        width: 42px;
        height: 1px;
        background: #FFF;
        position: absolute;
        top: 0;
        left: 0;
    }
    .footer .wp-block-navigation .wp-block-navigation-item a:hover {
        text-decoration: underline;
    }
.footer .external {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
    .footer .external::after {
        content: "↗" / "Link to external site";
        line-height: 1;
        translate: 0 -2px;
    }

@media (max-width: 390px) {
    .footer .wp-block-column:last-child .wp-block-navigation {
        gap: 16px !important;
    }
    body:not(.editor-styles-wrapper) .footer .external::after {
        display: none;
    }
}
@media (max-width: 360px) {
    .footer .wp-block-column:last-child .wp-block-navigation {
        gap: 12px !important;
    }
}


.section1 h1 {
    padding-left: 16px;
    padding-right: 16px;
}
body:not(.editor-styles-wrapper) .section1 .onlySmall {
    display: none;
}
@media (max-width: 430px) {
    .section1 .onlyMobile {
        background: none !important;
        min-height: auto !important;
    }
    .section1 .onlySmall {
        display: block !important;
    }
}
@media (min-width: 768px) {
    .section1 .wp-block-group:first-child {
        position: absolute;
        top: 0px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }
    .section1.tall .wp-block-group:first-child {
        top: 0;
    }
}

.section2 h2 {
    position: absolute !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

@media (min-width: 992px) {
    .section3 {
        padding-top: 100px !important;
    }
}

.sectionIndications .blueGradient {
    background: linear-gradient(to right, #B7EBFB 40%, #FFFFFF);
    border-radius: 16px;
}
    .sectionIndications .text {
        width: 75%;
        z-index: 1;
        position: relative;
    }
    .sectionIndications .text .wp-block-columns {
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .sectionIndications .symptoms > figure {
        position: absolute;
    }
    .sectionIndications .backpain {
        top: -3rem;
        right: calc(50vw / 3);
    }
    .sectionIndications .toothache {
        top: 15%;
        right: 10vw;
    }
    .sectionIndications .period {
        bottom: 25%;
        right: 0;
    }
    .sectionIndications .sinus {
        bottom: -3rem;
        right: 10vw;
    }
    .sectionIndications .headache {
        bottom: -4rem;
        left: 25vw;
    }
    .sectionIndications .throat {
        bottom: 10vh;
        left: 2vw;
    }
    .sectionIndications .stomach {
        top: 10vh;
        left: -3rem;
    }
    .sectionIndications .flu {
        top: 2rem;
        left: 18vw;
    }

@media (max-width: 1680px) {
    .sectionIndications .throat {
        left: 4vw;
    }
}
@media (max-width: 1440px) {
    .sectionIndications .backpain {
        right: 12vw;
    }
    .sectionIndications .toothache {
        right: 4vw;
    }
    .sectionIndications .period {
        right: 6vw;
    }
    .sectionIndications .sinus {
        right: 15vw;
    }
    .sectionIndications .headache {
        left: 10vw;
    }
    .sectionIndications .stomach {
        left: 0;
    }
}
@media (max-width: 991px) {
    .sectionIndications .blueGradient {
        padding: 50px 0 !important;
    }
    .sectionIndications .text {
        padding: 0 40px;
    }
    .sectionIndications .text .wp-block-columns {
        flex-wrap: wrap !important;
        gap: 0;
         max-width: 256px !important;
    }
    .sectionIndications .headache {
        left: 0;
    }
    .sectionIndications .stomach {
        display: none;
    }
    .sectionIndications .flu {
        left: 0;
    }
}
@media (max-width: 767px) {
    .sectionIndications .backpain {
        top: -2.5em;
        right: 6vw;
    }
    .sectionIndications .toothache {
        top: 25%;
        right: -20px;
        display: none;
    }
    .sectionIndications .period {
        bottom: 30%;
        right: -1rem;
    }
    .sectionIndications .sinus {
        bottom: -4rem;
        right: 2vw;
    }
    .sectionIndications .throat {
        display: none;
    }
    .sectionIndications .flu {
        top: -2rem;
    }
}
@media (max-width: 470px) {
    .sectionIndications .text {
        padding: 0 20px;
        width: 100% !important;
    }
}
@media (min-width: 768px) {
    .sectionIndications {
        padding: 48px !important;
    }
}

@media (max-width: 991px) {
    .section5 {
        padding: 0 40px;
    }
}
@media (min-width: 992px) {
    .section5 h2 {
        font-size: 100px !important;
    }
}

.section6 .wp-block-columns {
    position: absolute !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    justify-content: center;
}
@media (max-width: 1440px) {
    .section6 .wp-block-column:first-child {
        flex-basis: 25% !important;
    }
    .section6 .wp-block-column:last-child {
        flex-basis: 66.667% !important;
    }
}

.sectionDosing .wp-block-group:first-child .wp-block-columns {
    max-width: 750px;
}
.sectionDosing .wp-block-group:first-child .wp-block-columns {
    min-height: 530px;
    flex-wrap: wrap !important;
}
    .sectionDosing .wp-block-group:first-child .wp-block-column:first-child,
    .sectionDosing .wp-block-group:first-child .wp-block-column:last-child {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    body:not(.editor-styles-wrapper) .sectionDosing .wp-block-group:first-child .graphic {
        display: none;
    }
@media (max-width: 781px) {
    .sectionDosing .wp-block-group:first-child {
        background: none !important;
        padding-left: 20px !important;
    }
    .sectionDosing .wp-block-group:first-child .wp-block-column:first-child {
        padding-bottom: 0 !important;
    }
    .sectionDosing .wp-block-group:first-child .graphic {
        display: block !important;
    }
    .sectionDosing .wp-block-group:first-child .wp-block-buttons {
        margin-top: 0 !important;
    }
}

.section8 .wp-block-group {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}
@media (min-width: 768px) {
    .section8 p {
        font-size: 20px !important;
    }
}
@media (min-width: 992px) {
    .section8 p {
        max-width: 66.66%;
        margin: 0 auto;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .section8 {
        padding-top: 200px !important;
    }
}
@media (max-width: 440px) {
    .section8 .wp-block-group {
        position: static !important;
    }
}
@media (max-width: 767px) {
    .section8 {
        padding-top: 80px !important;
    }
}

@media (max-width: 767px) {
    .sectionWarnings > .wp-block-group {
        padding: 20px !important;
    }
    .sectionWarnings .wp-block-group .wp-block-group:not(:last-child) {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-bottom: none !important;
    }
    .sectionWarnings .wp-block-column {
        border-right: none !important;
        border-bottom: 1px solid white !important;
        padding-bottom: 24px !important;
    }
    .sectionWarnings .wp-block-column:last-child {
        padding-top: 0 !important;
    }
}

.sectionMedia .wp-block-media-text__content {
    padding: 0 !important;
}
    .sectionMedia .wp-block-columns {
        border-radius: 12px;
        box-shadow: 0px 0px 19px #00000029;
    }
@media (max-width: 781px) {
    .sectionMedia .wp-block-columns {
        max-width: 100% !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
    .sectionMedia .wp-block-column:first-child .wp-block-group {
        border-bottom-left-radius: 0 !important;
        border-top-left-radius: 12px !important;
        border-top-right-radius: 12px !important;
    }
    .sectionMedia .wp-block-column:first-child {
        height: 260px !important;
    }
}

.wp-block-accordion-item {
    border-bottom: 1px solid #9a9a9a;
    margin-top: 0 !important;
}
.wp-block-accordion-heading__toggle-icon {
    display: none;
}
    .wp-block-accordion-heading__toggle::before {
        content: "";
        width: 0px;
        height: 0px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 8px solid #0e52b2;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        margin: auto 0;
    }
        .is-open .wp-block-accordion-heading__toggle::before {
            transform: rotate(90deg);
        }
        .sectionWarnings .wp-block-accordion-heading__toggle::before {
            border-left: 8px solid #fff;
        }
.wp-block-accordion-heading__toggle {
    font-size: 20px;
    color: #3D5661;
    padding: 14px 0;
    font-weight: 400;
    line-height: 30px;
    position: relative;
    overflow: visible;
}
    .sectionWarnings .wp-block-accordion-heading__toggle {
        font-size: 16px;
        color: #fff;
        font-weight: bold;;
    }
.wp-block-accordion-heading__toggle-title {
    margin-left: 24px;
}
.wp-block-accordion-panel {
    padding: 12px 22px 30px;
    margin-top: 0 !important;
}
    .wp-block-accordion-panel > *:not(:first-child) {
        margin-top: 16px !important;
    }
    .sectionWarnings .wp-block-accordion-panel {
        padding: 0 0 30px;
    }

.section9 .wp-block-columns {
    flex-wrap: wrap !important;
    padding-bottom: 100px;
}
    .section9 .wp-block-columns
    .section9 figure {
        height: 100px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .section9 .wp-block-button__link {
        color: var(--wp--preset--color--custom-dark-blue);
        background: white;
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.08), 0px 0px 8px rgba(0, 0, 0, 0.08);
    }
@media (max-width: 781px) {
    .section9 .wp-block-columns {
        max-width: 100% !important;
    }
}

.wpforms-field-description {
    font-style: italic;
    font-size: 12px !important;
    color: #6c757d !important;
    line-height: 18px !important;
    margin: 16px 0 !important

}