/* Responsive */

@media only screen and (min-width: 1921px) {

}

@media only screen and (max-width: 1920px) {

}

@media only screen and (max-width: 1599.98px) {

}

@media only screen and (max-width: 1399.98px) {

}

@media only screen and (max-width: 1199.98px) {

    section.acf-block {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .acf-block:first-of-type {
        padding-top: 120px;
    }

    .acf-block:last-of-type {
        padding-bottom: 120px;
    }

    h1 {
        font-size: 62px;
        letter-spacing: -1.5px;
    }

    h2 {
        font-size: 52px;
        letter-spacing: -1px;
    }

    h3 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    h4 {
        font-size: 24px;
        letter-spacing: -1px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 16px;
    }

    .lead {
        font-weight:400;
        font-size: 20px;
        line-height: 1.4;
    }

}

@media only screen and (max-width: 991.98px) {

    :root {
        /* Font sizes */
        --font-sm: 9px;
        --font-md: 10px;
        --font-lg: 14px;
        --font-xl: 15px;
        --font-xxl: 16px;
        --font-h6: 17px;
        --font-h5: 18px;
        --font-h4: 20px;
        --font-h3: 22px;
        --font-h2: 26px;
        --font-h1: 30px;
    }

    body {
        
    }

    h1 {
        
    }

    h2 {
        
    }

    h3 {
        
    }

    h4 {
        
    }

    h5 {
        
    }

    h6 {
        
    }

    footer .scroller {
        bottom: 55px;
    }

}

@media only screen and (max-width: 767.98px) {

    :root {
        /* Font sizes */
        --font-lg: 12px;
        --font-xl: 14px;
        --font-xxl: 15px;
        --font-h6: 16px;
        --font-h5: 17px;
        --font-h4: 18px;
        --font-h3: 19px;
        --font-h2: 20px;
        --font-h1: 22px;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    section.acf-block {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .acf-block:first-of-type {
        padding-top: 90px;
    }

    .acf-block:last-of-type {
        padding-bottom: 90px;
    }

    body {
        font-size:15px;
    }

    h1 {
        font-size: 52px;
        letter-spacing: -1px;
    }

    h2 {
        font-size: 38px;
        letter-spacing: -0.6px;
    }

    h3 {
        font-size: 26px;
        letter-spacing: -0.5px;
    }

    h4 {
        font-size: 20px;
        letter-spacing: -0.5px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }

    .lead {
        font-weight:400;
        font-size: 18px;
        line-height: 1.4;
    }

    header {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        height: 100px;
        width: 100%;
        background-color: rgba(255, 255, 255, 1);
        padding: 0 0 5px;
        -webkit-transition: all 0.25s linear;
        -moz-transition: all 0.25s linear;
        -o-transition: all 0.25s linear;
        transition: all 0.25s linear;
    }

    header.active {
        height: 100vh;
    }

    header.active nav#menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 15;
    }

    header .container {
        position: relative;
        z-index: 1;
        background-color: white;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
        padding-bottom: 5px;
        max-width: 100%;
        height: 100px;
    }

    #branding {
        display: inline-block;
    }

    #site-description {
        color: black;
    }

    header nav ul {
        background-color: transparent;
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: center;
        justify-content: center;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        bottom: 100%;
        -webkit-transition: all 0.25s;
        -moz-transition: all 0.25s;
        -o-transition: all 0.25s;
        transition: all 0.25s;
    }

    header nav ul li {
        float: left;
        display: block;
        width: 100%;
    }

    header nav ul li a {
        color: black;
        display: block;
        text-align: center;
        padding: 10px 5px 10px;
        font-size: 18px;
        -webkit-transition: all 0.25s ease-in-out;
        -moz-transition: all 0.25s ease-in-out;
        -o-transition: all 0.25s ease-in-out;
        transition: all 0.25s ease-in-out;
    }

    header.active nav ul li a {
        padding: 10px 5px 25px;
    }

    header.active nav ul {
        top: 0;
        bottom: 0;
        left: 0;
        width: 100vw;
    }

    header nav ul ul {
        display: -webkit-flex;
        display: flex;
        flex-direction: row;
        visibility: visible;
        opacity: 1;
        height: auto;
        width: auto;
        top: auto;
        left: 0;
        right: 0;
        position: relative;
        bottom: auto;
        background-color: transparent;
        border: none;
    }

    header nav ul ul li {
        float: left;
        display: inline-block;
        width: auto;
        min-width: auto;
    }

    header nav ul ul li:last-of-type a {
        padding: 10px 5px 25px;
    }

    header.active nav ul ul li a {
        color: black !important;
    }

    button.menu-open-button {
        display: inline;
    }

    .hamburger {
        padding: 15px;
        display: inline-block;
        cursor: pointer;
        -webkit-transition-property: opacity, filter;
        -moz-transition-property: opacity, filter;
        -o-transition-property: opacity, filter;
        transition-property: opacity, filter;
        -webkit-transition-duration: 0.15s;
        -moz-transition-duration: 0.15s;
        -o-transition-duration: 0.15s;
        transition-duration: 0.15s;
        -webkit-transition-timing-function: linear;
        -moz-transition-timing-function: linear;
        -o-transition-timing-function: linear;
        transition-timing-function: linear;
        font: inherit;
        color: inherit;
        text-transform: none;
        background-color: transparent;
        border: 0;
        margin: 0;
        overflow: visible;
        float: right;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 99;
    }

    .hamburger-box {
        width: 40px;
        height: 24px;
        display: inline-block;
        position: relative;
    }

    .hamburger-inner {
        display: block;
        top: 50%;
        margin-top: -2px;
    }

    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
        width: 40px;
        height: 4px;
        background-color: #000000;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        position: absolute;
        -webkit-transition-property: transform;
        -moz-transition-property: transform;
        -o-transition-property: transform;
        transition-property: transform;
        -webkit-transition-duration: 0.15s;
        -moz-transition-duration: 0.15s;
        -o-transition-duration: 0.15s;
        transition-duration: 0.15s;
        -webkit-transition-timing-function: ease;
        -moz-transition-timing-function: ease;
        -o-transition-timing-function: ease;
        transition-timing-function: ease;
    }

    .hamburger-inner::before, .hamburger-inner::after {
        content: "";
        display: block;
    }

    .hamburger-inner::before {
        top: -10px;
    }

    .hamburger-inner::after {
        bottom: -10px;
    }

    /* Collapse */
    .hamburger--collapse .hamburger-inner {
        top: auto;
        bottom: 0;
        -webkit-transition-duration: 0.15s;
        -moz-transition-duration: 0.15s;
        -o-transition-duration: 0.15s;
        transition-duration: 0.15s;
        -webkit-transition-delay: 0.15s;
        -moz-transition-delay: 0.15s;
        -o-transition-delay: 0.15s;
        transition-delay: 0.15s;
        -webkit-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        -moz-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        -o-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
        transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    .hamburger--collapse .hamburger-inner::after {
        top: -20px;
        -webkit-transition: top 0.3s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
        -moz-transition: top 0.3s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
        -o-transition: top 0.3s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
        transition: top 0.3s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
    }

    .hamburger--collapse .hamburger-inner::before {
        -webkit-transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
        -moz-transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
        -o-transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
        transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    header.active .hamburger--collapse .hamburger-inner {
        -webkit-transform: translate3d(0, -10px, 0) rotate(-45deg);
        -moz-transform: translate3d(0, -10px, 0) rotate(-45deg);
        -ms-transform: translate3d(0, -10px, 0) rotate(-45deg);
        -o-transform: translate3d(0, -10px, 0) rotate(-45deg);
        transform: translate3d(0, -10px, 0) rotate(-45deg);
        -webkit-transition-delay: 0.32s;
        -moz-transition-delay: 0.32s;
        -o-transition-delay: 0.32s;
        transition-delay: 0.32s;
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -moz-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -o-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    header.active .hamburger--collapse .hamburger-inner::after {
        top: 0;
        opacity: 0;
        -webkit-transition: top 0.3s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.27s linear;
        -moz-transition: top 0.3s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.27s linear;
        -o-transition: top 0.3s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.27s linear;
        transition: top 0.3s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.27s linear;
    }

    header.active .hamburger--collapse .hamburger-inner::before {
        top: 0;
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -webkit-transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
        -moz-transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
        -o-transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
        transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    footer {
        text-align: center;
        padding: 60px 0 75px 0;
    }

    footer .logo {
        width: 100%;
        display: block;
        text-align: center;
    }

    footer .scroller {
        display: none;
    }

    #menuwrapper {
        position: relative;
    }

    header .search-wrapper {
        display: none;
    }

    .content-wrapper {
        padding-top: 100px;
    }

    .subheader {
        margin-top: 100px;
    }

    .subheader + .content-wrapper {
        padding-top: 0;
    }

    #single_post_wrapper {
        margin-top: 35px;
        padding: 0;
    }

}

@media only screen and (max-width: 575.98px) {

    section.acf-block {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .acf-block:first-of-type {
        padding-top: 75px;
    }

    .acf-block:last-of-type {
        padding-bottom: 75px;
    }

    h1 {
        font-size: 48px;
        letter-spacing: -0.8px;
    }

    h2 {
        font-size: 34px;
        letter-spacing: -0.6px;
    }

    h3 {
        font-size: 26px;
        letter-spacing: -0.5px;
    }

    h4 {
        font-size: 20px;
        letter-spacing: -0.5px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }

    .lead {
        font-weight:400;
        font-size: 18px;
        line-height: 1.4;
    }

    footer .text-right {
        text-align: center !important;
    }

}

@media only screen and (max-width: 499.98px) {

    :root {
        /* Font sizes */
        --font-lg: 11px;
        --font-xl: 12px;
        --font-xxl: 13px;
        --font-h6: 14px;
        --font-h5: 15px;
        --font-h4: 16px;
        --font-h3: 17px;
        --font-h2: 18px;
        --font-h1: 20px;
    }

    body {

    }

    h1 {

    }

    h2 {

    }

    h3 {

    }

    h4 {

    }

    h5 {

    }

    h6 {

    }

}

@media only screen and (max-width: 449.98px) {

}

@media only screen and (max-width: 399.98px) {

}

@media only screen and (max-width: 349.98px) {

}

@media only screen and (max-width: 319.98px) {

}

/* Modern responsive primary navigation */

@media only screen and (max-width: 1199.98px) {
    header#top {
        position: sticky;
        top: 0;
        right: auto;
        left: auto;
        width: 100%;
        height: 78px;
        min-height: 78px;
        max-height: 78px;
        padding: 0;
        background: rgba(255, 255, 255, .96);
        transition: none;
    }

    header#top .container {
        position: relative;
        z-index: auto;
        width: 100%;
        max-width: var(--max);
        height: 100%;
        padding-bottom: 0;
        background: transparent;
        border-bottom: 0;
    }

    header#top .topbar-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 14px;
        height: 100%;
        min-height: 0;
    }

    header#top img.logo {
        width: clamp(165px, 23vw, 225px);
        max-height: 52px;
    }

    header#top #menuwrapper {
        position: static;
        display: flex;
        justify-content: flex-end;
    }

    header#top .cta-wrapper .button {
        min-height: 44px;
        padding: 10px 17px;
        font-size: .92rem;
    }

    header#top nav#menu,
    header#top.menu-is-open nav#menu {
        position: fixed;
        top: 78px;
        right: 18px;
        bottom: auto;
        left: auto;
        z-index: 50;
        display: block;
        width: min(420px, calc(100vw - 36px));
        max-height: calc(100dvh - 96px);
        padding: 12px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: rgba(255, 255, 255, .985);
        border: 1px solid rgba(13, 26, 41, .09);
        border-radius: 22px;
        box-shadow: 0 24px 70px rgba(13, 26, 41, .2);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px) scale(.985);
        transform-origin: top right;
        visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    header#top.menu-is-open nav#menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        visibility: visible;
    }

    header#top nav#menu > ul,
    header#top.menu-is-open nav#menu > ul {
        position: static;
        display: grid;
        align-items: stretch;
        justify-content: stretch;
        gap: 4px;
        width: 100%;
        margin: 0;
        background: transparent;
        transition: none;
    }

    header#top nav#menu li,
    header#top nav#menu > ul > li {
        display: block;
        float: none;
        width: 100%;
    }

    header#top nav#menu > ul > li.menu-item-has-children {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 48px;
        align-items: center;
    }

    header#top nav#menu > ul > li > a,
    header#top.menu-is-open nav#menu > ul > li > a {
        min-height: 50px;
        padding: 13px 14px;
        color: rgba(13, 26, 41, .82);
        font-size: 1.17rem;
        font-weight: 400;
        text-align: left;
    }

    header#top nav#menu > ul > li.menu-item-has-children > a {
        padding-right: 14px;
    }

    header#top nav#menu > ul > li.menu-item-has-children > a::before {
        display: none;
    }

    header#top nav#menu > ul > li > a::after {
        right: auto;
        bottom: 9px;
        left: 14px;
        width: 28px;
        transform-origin: left;
    }

    header#top .submenu-toggle {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        padding: 0;
        background: var(--ice);
        border: 0;
        border-radius: 12px;
        color: var(--teal-dark);
        cursor: pointer;
    }

    header#top .submenu-toggle::before {
        width: 9px;
        height: 9px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        content: '';
        transform: translateY(-2px) rotate(45deg);
        transition: transform .18s ease;
    }

    header#top .menu-item-has-children.submenu-open > .submenu-toggle::before {
        transform: translateY(2px) rotate(225deg);
    }

    header#top nav#menu ul.sub-menu,
    header#top nav#menu li:hover > ul.sub-menu,
    header#top nav#menu li:focus-within > ul.sub-menu {
        position: static;
        grid-column: 1 / -1;
        display: none;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 2px 0 6px;
        padding: 5px 5px 5px 14px;
        background: rgba(216, 235, 234, .28);
        border: 0;
        border-left: 2px solid var(--teal);
        border-radius: 0 12px 12px 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
        visibility: visible;
    }

    header#top nav#menu .submenu-open > ul.sub-menu {
        display: grid;
    }

    header#top nav#menu ul.sub-menu a,
    header#top nav#menu ul.sub-menu li:last-of-type a,
    header#top.menu-is-open nav#menu ul.sub-menu a {
        padding: 11px 12px;
        color: rgba(13, 26, 41, .76) !important;
        font-size: 1.08rem;
        font-weight: 400;
        text-align: left;
    }

    header#top .hamburger {
        position: relative;
        top: auto;
        right: auto;
        z-index: 60;
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        padding: 0;
        margin: 0;
        overflow: visible;
        float: none;
        background: var(--ice);
        border: 0;
        border-radius: 14px;
        color: var(--navy);
        cursor: pointer;
    }

    header#top .hamburger-box {
        position: relative;
        display: block;
        width: 22px;
        height: 16px;
    }

    header#top .hamburger-inner,
    header#top .hamburger-inner::before,
    header#top .hamburger-inner::after {
        position: absolute;
        left: 0;
        display: block;
        width: 22px;
        height: 2px;
        margin: 0;
        background: currentColor;
        border-radius: 2px;
        transition: top .2s ease, transform .2s ease, opacity .15s ease;
    }

    header#top .hamburger-inner {
        top: 7px;
        bottom: auto;
    }

    header#top .hamburger-inner::before {
        top: -7px;
        content: '';
    }

    header#top .hamburger-inner::after {
        top: 7px;
        bottom: auto;
        content: '';
    }

    header#top.menu-is-open .hamburger-inner {
        transform: rotate(45deg);
    }

    header#top.menu-is-open .hamburger-inner::before {
        top: 0;
        transform: rotate(90deg);
    }

    header#top.menu-is-open .hamburger-inner::after {
        top: 0;
        opacity: 0;
        transform: none;
    }

    .content-wrapper {
        padding-top: 0;
    }
}

@media only screen and (max-width: 575.98px) {
    header#top {
        height: 72px;
        min-height: 72px;
        max-height: 72px;
    }

    header#top .topbar-inner {
        height: 100%;
        min-height: 0;
    }

    header#top .topbar-inner {
        gap: 9px;
    }

    header#top img.logo {
        width: clamp(128px, 37vw, 175px);
        max-height: 46px;
    }

    header#top .cta-wrapper .button {
        min-height: 40px;
        padding: 9px 13px;
        font-size: .84rem;
    }

    header#top .hamburger {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    header#top nav#menu,
    header#top.menu-is-open nav#menu {
        top: 72px;
        right: 10px;
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 84px);
        border-radius: 18px;
    }
}

@media only screen and (max-width: 374.98px) {
    header#top .topbar-inner {
        gap: 7px;
    }

    header#top img.logo {
        width: 120px;
    }

    header#top .cta-wrapper .button {
        padding: 8px 10px;
        font-size: .78rem;
    }

    header#top .hamburger {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .skip-link,
    header#top nav#menu,
    header#top nav#menu a,
    header#top nav#menu ul.sub-menu,
    header#top .hamburger-inner,
    header#top .hamburger-inner::before,
    header#top .hamburger-inner::after,
    header#top .submenu-toggle::before {
        transition: none;
    }
}

/* Modern responsive footer */

@media only screen and (max-width: 991.98px) {
    footer.site-footer {
        padding: 68px 0 24px;
        text-align: left;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 54px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        max-width: 560px;
    }

    .site-footer__bottom {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 18px 24px;
    }
}

@media only screen and (max-width: 575.98px) {
    footer.site-footer {
        padding: 56px 0 22px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .site-footer__brand {
        grid-column: auto;
    }

    footer.site-footer .site-footer__logo img.logo {
        width: min(270px, 100%);
    }

    .site-footer__description {
        margin-top: 20px;
        font-size: 1rem;
    }

    .site-footer__title {
        margin-bottom: 13px;
    }

    .site-footer__bottom {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        margin-top: 48px;
    }

    .site-footer__address,
    .site-footer__copyright {
        grid-column: 1;
    }

    .site-footer__copyright {
        grid-row: 2;
        text-align: left;
    }

    footer.site-footer .site-footer__scroller {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
        margin-left: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    footer.site-footer a {
        transition: none;
    }
}
