/* CSS Document */

/*#imagecolumn*/


/* MOBILE MENU */
@media (min-width: 900px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
        width: 100%;
        position: relative;
        z-index: auto;
        background-color: inherit;
    }
}
/* Remove the WordPress default for 600px */
@media (min-width: 600px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}

@media only screen and (max-width: 1523px) {
    .is-style-main-navigation li:last-of-type {
        position: relative;
        left: 11px;
    }
    
    .is-style-main-navigation li.wp-block-pages-list__item {
        position: relative;
        left: 0;
    }
}

@media only screen and (max-width: 1380px) {
    #footercolumns {
        display: flex;
        flex-direction: column;
        row-gap: 30px;
    }
}


@media only screen and (max-width: 1370px) {
    body {
        --wp--style--global--content-size: 90%;
        --wp--style--global--wide-size: 100%;
    }
    
    #mainnav nav .is-style-main-navigation {
        gap: 20px;
        row-gap: 5px;
        margin-top: 10px;
        margin-bottom: 10px;
        max-width: 92%;
    }  
    
    nav.is-style-footer-navigation {
        width: 90vw;
    }
    
    #footercolumns > div:first-of-type > * {
        margin-left: 0!important;
    }
}


@media only screen and (max-width: 1200px) {
    #opener {
        min-height: 40vh!important;
    }
    
    #opener .wp-block-cover__inner-container > div {
        padding-top: unset!important;
    }
    
    #imagecolumn img:first-of-type {
        width: 148px!important;
    }
    
    #imagecolumn figure:last-of-type img {
        width: 430px!important;
    }
    
    .special-caption figcaption {
        bottom: 19%;
        right: -15%;
    }
    
    #arrowdown {
        top: -130px;
    }    
    
    #arrowdown img {
        scale: 0.7;
    }
}


@media only screen and (max-width: 1020px) {
    .is-style-footer-navigation {
        display: flex;
        flex-direction: column;
        width: unset;
        align-content: flex-start;
    }
    
    .is-style-footer-navigation .wp-block-navigation-item.has-child.wp-block-navigation-submenu .wp-block-navigation__submenu-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 90vw!important;
        column-gap: 20px;
        /* padding-bottom: 20px!important; */
        /* height: 100%; */
        position: relative;
        background-color: unset!important;
        position: relative;
        top: -7px;
    }
    
    .is-style-footer-navigation > li.has-child {
        display: flex;
        flex-direction: column;
        align-content: flex-start;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0!important;
    }
    
    .is-style-footer-navigation .wp-block-navigation__submenu-icon {
        display: none;
    }
    
    ul.is-style-footer-navigation {
        gap: 5px!important;
    }
}


@media only screen and (max-width: 900px) {
    #mainnav nav.is-style-main-navigation {
        display: flex;
        justify-content: flex-end;
    }
    
    .is-style-main-navigation svg {
        width: 40px;
        height: 40px;
    }
}


@media only screen and (max-width: 781px) {
    div#headercolumns {
        display: flex;
        flex-direction: row!important;
        flex-wrap: nowrap!important;
    }
    
    .home #imagecolumn {
        max-width: 50%!important;
    }
    
    .home #imagecolumn figure:last-of-type {
        margin-left: 0;
        margin-bottom: -48%!important;
    }
    
    .home #imagecolumn figure:first-of-type {
        position: relative;
        top: -20px;
        right: -20px;
        max-width: 34%;
    }
    
    .home #imagecolumn figure {
        margin-top: 0!important;
    }
    
    .special-caption figcaption {
        bottom: 50%;
        right: -35%;
    }
    
    .home h1 {
        font-size: 50px!important;
    }
    
}

@media only screen and (max-width: 650px) {
    .is-style-footer-navigation .wp-block-navigation-item.has-child.wp-block-navigation-submenu .wp-block-navigation__submenu-container {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        width: 90vw!important;
        column-gap: 20px;
        /* padding-bottom: 20px!important; */
        /* height: 100%; */
        position: relative;
        background-color: unset!important;
        position: relative;
        top: 0px;
        gap: 0!important;
        height: auto;
    }
    
    .is-style-footer-navigation .wp-block-navigation-item.has-child.wp-block-navigation-submenu .wp-block-navigation__submenu-container li a {
        padding: 3px 0 0 0;
    }
    
    .is-style-footer-navigation > ul > li {
        margin-top: 17px;
    }
    
    #opener .wp-block-cover__background {
        opacity: 0.3;
    }
        
    #arrowdown {
        top: -110px;
    }    
    
    #arrowdown img {
        scale: 0.7;
    }
}

@media only screen and (max-width: 650px) {
    .special-caption figcaption {
        bottom: 50%;
        right: -45%;
    }
    
    #opener {
        min-height: 55vh!important;
    }
}

@media only screen and (max-width: 500px) {
    div#headercolumns #logocolumn {
        flex-basis: 70%!important;
    }
    
    div#headercolumns #mainnav {
        flex-basis: 30%!important;
    }
    
    #mainnav nav.is-style-main-navigation {
        display: flex;
        justify-content: center;
    }
    
    nav.is-style-main-navigation {
        max-width: unset; 
    }
    
    .home h1 {
        font-size: 40px!important;
    }
    
    h1 {
        font-size: 35px!important;
    }
    
    h2 {
        font-size: 31px!important;
    }
    
    h3 {
        font-size: 27px!important;
    }
    
    h4 {
        font-size: 25px!important;
    }
    
    h5 {
        font-size: 21px!important;
    }
    
    h6 {
        font-size: 18px!important;
    }
    
    .wp-block-splide-carousel .splide__arrow {
        display: none;
    }
    
}




@media only screen and (max-width: 450px) {
    
    .home #imagecolumn {
        max-width: 64%!important;
    }
    
    .special-caption figcaption {
        bottom: 50%;
        right: -55%;
    }
    
    h1 {
        font-size: 31px!important;
    }
    
    h2 {
        font-size: 28px!important;
    }
    
    h3 {
        font-size: 24px!important;
    }
    
    h4 {
        font-size: 21px!important;
    }
    
    h5 {
        font-size: 19px!important;
    }
    
    h6 {
        font-size: 18px!important;
    }
    
    :root {
    --wp--preset--spacing--20: 0.33rem!important;
    --wp--preset--spacing--30: 0.44rem!important;
    --wp--preset--spacing--40: 0.67rem!important;
    --wp--preset--spacing--50: 1rem!important;
    --wp--preset--spacing--60: 0.7rem!important;
    --wp--preset--spacing--70: 2.25rem!important;
    --wp--preset--spacing--80: 3.38rem!important;  
    }
    
    .wp-block-group.has-dark-blue-background-color .wp-block-column figure.is-style-rounded {
        margin-bottom: -40px!important;
    }
    
}


