#mobile-menu-checkbox,
#mobile-menu-checkbox-close,
#mainsite-menu-back {
    display: none;
}

label[for="mobile-menu-checkbox"] > span {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    cursor: pointer;
    transition: transform 350ms cubic-bezier(0.5, 0.25, 0.5, 2.5);
}
label[for="mobile-menu-checkbox"]:hover > span {
    transform: scale(1.1);
}

label[for="mobile-menu-checkbox"] > span > span {
    height: 2px;
    background-color: var(--color-primary);
    transition: all 200ms cubic-bezier(0.5, 0.25, 0.5, 2);
}

label[for="mobile-menu-checkbox"] > span > span:nth-of-type(1){
    width: 10px;
    margin-right: 10px;
    margin-bottom: 5px;
}
label[for="mobile-menu-checkbox"] > span > span:nth-of-type(2){
    width: 20px;
}
label[for="mobile-menu-checkbox"] > span > span:nth-of-type(3){
    width: 10px;
    margin-left: 10px;
    margin-top: 5px;
}

label[for="mobile-menu-checkbox"]:hover > span > span:nth-of-type(1){
    width: 22px;
    margin-right: 0;
}
label[for="mobile-menu-checkbox"]:hover > span > span:nth-of-type(2){
    width: 22px;
}
label[for="mobile-menu-checkbox"]:hover > span > span:nth-of-type(3){
    width: 22px;
    margin-left: 0;
}

#main-menu label[for="mainsite-menu-checkbox-close"] {
    position: absolute;
    top: 64px;
    right: 116px;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    height: 32px;
    font-size: 22px;
    transition: color 200ms ease-in-out, transform 200ms cubic-bezier(0.5, 0.25, 0.5, 2);
    color: var(--color-primary);
}

#main-menu .image {
    position: absolute;
    left: 1px;
    top: 0;
    bottom: 0;
    transition: transform 1s ease-in-out;
    display: none;
}

#main-menu .image img {
    display: block;
    transform: rotate(-90deg) translate(0%, -100%);
    transform-origin: 0 0;
    width: 100vh;
    height: 100px;
    position: absolute;
    top: 100%;
}

#mainsite-menu-back label {
    display: flex;
    align-items: center;
    padding: 20px;
    display: flex;
    align-items: center;
    color: var(--color-primary);
}

#mainsite-menu-back img {
    width: 80px;
    height: auto;
    margin: 0 10px;
}

#mainsite-menu-back i {
    font-size: 20px;
}

.menu input,
.menu label {
    display: none;
}

@media only screen and (max-width: 1400px) {
    .doodads-sections {
        display: none;
    }
}
@media only screen and (max-width: 1200px) {

    #main-menu {
        transition: opacity 1000ms ease-in-out, transform 600ms cubic-bezier(0.5, 0.25, 0.5, 1.25);
        margin-right: -100px;
        position: fixed;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 10;
        background-color: var(--color-menu);
        color: var(--color-white);
        padding: 130px 100px 30px 40px;
        text-align: right;
        flex-direction: column;
        align-items: flex-end;
        min-width: 390px;
        transform: translate3d(0, 0, 0);
    }

    #main-menu a {
        color: var(--color-primary);
    }

    #mobile-menu-checkbox:not(:checked) + #main-menu {
        transform: translate3d(100%, 0, 0);
        transition: opacity 1000ms ease-in-out, transform 600ms ease-in-out;
    }

    #menu-hoofdmenu {
        flex-direction: column;
    }

    #header {
        background-color: transparent!important;
        width: calc(100% - 60px);
    }
    label[for="mobile-menu-checkbox"] {
        background-color: var(--color-light);
        border-radius: 10px;
    }

    #header-right .image,
    label[for="mobile-menu-checkbox-close"],
    label[for="mobile-menu-checkbox"],
    #mainsite-menu-back,
    label[for="mainsite-menu-checkbox-close"],
    #main-menu .image {
        display: block;
    }

    #main-menu label[for="mainsite-menu-checkbox-close"] {
        display: flex;
    }

    #header-search-button {
        color: var(--color-primary);
    }
    #header-sitename {

    }
    #header-left {
        margin-left: 0;
    }
    body.scrolled #header-left {
        background-color: var(--color-light);
        border-radius: 30px;
        padding-right: 20px;
    }
    body.scrolled #header-logo {
        margin-left: 1px;
    }

    #main-menu .button {
        margin-right: 10px;
    }

    #mainsite-menu-back {
        order: 5;
    }
    .menu-hoofdmenu-container {
        overflow: auto;
    }

    .menu li {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
    }
    #mainsite-menu li {
        justify-content: flex-start;
    }

    .menu label {
        display: flex;
        width: 30px;
        height: 30px;
        align-items: center;
        justify-content: center;
        margin-left: -15px;
        margin-right: 15px;
    }

    #mainsite-menu label {
        order: -1;
        margin-left: -8px;
        margin-right: 0;
    }

    .menu label:after {
        content: '';
        display: block;
        border-right: 2px solid var(--color-primary);
        border-bottom: 2px solid var(--color-primary);
        transform: rotate(45deg) translate(-2px, -2px);
        width: 8px;
        height: 8px;
    }

    #mainsite-menu label:after {
        border-color: var(--color-white);
    }

    .menu .sub-menu,
    .menu .sub-menu ul  {
        display: block!important;
        position: static!important;
        transform: none!important;
        background-color: transparent!important;

        opacity: 1!important;
        max-height: 0;
        transition: all 400ms ease-in-out;
        overflow: hidden;
        margin: 0!important;
        width: 100%!important;
    }

    .menu input:checked + .sub-menu,
    .menu input:checked + .sub-menu ul  {
        max-height: 600px;
    }

    .sub-menu:before {
        display: none!important;
    }

    .menu .sub-menu a {
        display: block!important;
        padding: 20px!important;
        font-weight: normal!important;
    }

    .menu-hoofdmenu-container {
        max-height: calc(100vh - 200px);
    }
}

@media only screen and (max-width: 1000px) {
    .inner {
        width: calc(100% - 40px);
    }
    #sticky-contact {
        left: 20px;
    }
    #back-to-top {
        right: 20px;
    }
    #header {
        width: calc(100% - 40px);
    }

    #content {
        margin-top: 0;
    }

    section {
        margin-bottom: 30px;
    }

    .cols:not(.grid) {
        display: block;
    }

    .cols:not(.grid).wrap {
        margin-right: 0;
    }

    :not(.grid) > .col,
    .embed {
        width: 100%;
        margin: 0 auto 30px auto!important;
        max-width: 600px;
        display: block;
    }

    .fade-slider.elipse-mask {
        position: static;
    }

    .slider-inner {
        max-height: 65vh;
    }

    #footer,
    #footer-bottom .col:last-of-type {
        text-align: center;
    }

    #footer .social-media-list,
    #footer .buttons.align-left {
        justify-content: center;
    }

    #wrap {
        background-size: 250vw;
    }

    #sticky-contact {
        border-radius: 25px 25px 0 0;
        left: 30px;
        top: auto;
        bottom: 0;
    }

    #sticky-contact ul {
        display: flex;
    }

    #sticky-contact ul li:not(:last-of-type) {
        margin-bottom: 0;
        margin-right: 10px;
    }

    .block-cta-cols .col:nth-of-type(2):not(:last-of-type) {
        transform: none;
    }

    .elipse-mask {
        max-width: 400px;
        margin: 0 auto;
    }

    h2 {
        font-size: 60px;
    }

    #home-hero h2 {
        font-size: 60px;
    }
    h3 {
        font-size: 35px;
    }
    .block h3 {
        margin-bottom: 30px;
    }
    h4 {
        font-size: 27px;
    }

    .cols {
        justify-content: flex-start;
    }

    .vacature {
        margin-bottom: 20px;
        height: calc(100% - 20px);
        padding: 30px;
        border-radius: 30px;
    }

    #scholen-filter-inner {
        margin-bottom: 30px;
        flex-wrap: wrap;
        align-items: center;
    }

    #scholen-filter-inner form {
        max-height: 200px;
        transition:
            max-height 300ms ease-in-out,
            overflow 300ms ease-in-out
        ;
        flex-direction: column;
    }

    #scholen-filter-inner form {
        width: 100%;
        order: 3;
    }

    #scholen-filter-switch:not(:checked) ~ form {
        max-height: 0;
        overflow: hidden;
    }

    label[for="scholen-filter-switch"] {
        display: inline-flex;
    }

    #scholen-filter .form-select {
        margin-right: 0;
    }
    #scholen-filter .form-select-label {
        width: 100%;
        margin-bottom: 10px;
    }

    #scholen-view-switch {
        margin-bottom: 10px;
    }

    #archive-scholen .grid {
        padding-top: 0;
    }
    #map-scholen {
        margin-top: -30px;
    }

    :not(.grid) > .col.slide {
        margin-bottom: 0!important;
    }

    #contact {
        margin-bottom: 0;
    }

    #contact .map {
        margin: 0 auto;
        width: 100%;
    }
}

@media only screen and (max-width: 800px) {
    .inner {
        width: calc(100% - 30px);
    }
    #sticky-contact {
        left: 15px;
    }
    #back-to-top {
        right: 15px;
    }
    #header {
        width: calc(100% - 30px);
    }

    h2 {
        font-size: 50px;
    }
    #home-hero h2 {
        font-size: 50px;
    }
    h3 {
        font-size: 30px;
    }
    .block h3 {
        margin-bottom: 20px;
    }
    h4 {
        font-size: 24px;
    }

    label[for="vacatures-filter-switch"] {
        display: inline-flex;
    }

    #vacatures-filters {
        max-width: 400px;
        margin-bottom: 30px;
    }

    #vacatures-filter-inner {
        max-height: 200px;
        transition:
            max-height 300ms ease-in-out,
            overflow 300ms ease-in-out
        ;
        flex-direction: column;
    }

    #vacatures-filter-switch:not(:checked) ~ #vacatures-filter-inner {
        max-height: 0;
        overflow: hidden;
    }

    #vacatures-filters .form-select {
        margin-right: 0;
    }
    #vacatures-filters .form-select-label {
        width: 100%;
        margin-bottom: 10px;
    }

    .vacature {
        margin-bottom: 15px;
        height: calc(100% - 15px);
        padding: 20px;
        border-radius: 20px;
    }

    .archive-school-content {
        padding: 20px;
    }

    #home-hero.sub-site {
        margin-bottom: 0;
    }

    .label-legenda-content {
        column-count: unset;
    }

    .label-legenda-main {
        max-height: calc(100vh - 160px);
    }
    .label-legenda-inner {
        padding: 20px;
        border-radius: 30px;
    }

    #search-inner {
        margin: 120px auto;
    }
    #search-close {
        top: 40px;
        right: 40px;
    }
    #search-header h3 {
        font-size: 40px;
    }
    #search-header,
    #search-header h3,
    #search-site-buttons a {
        margin-bottom: 20px;
    }

    #footer {
        margin-top: 0;
    }
    #footer-school {
        margin-bottom: -100px;
        padding-bottom: 100px;
    }
    #footer > img {
        height: 100px;
    }

    #footer-school ~ #footer-main {
        padding-top: 50px;
    }

    .slider-inner {
        padding: 25px 15px;
    }

}

@media only screen and (max-width: 600px) {
    #header-right {
        width: 100%;
        order: 3;
        margin-top: 10px;
        justify-content: center;
    }

    #mainsite-menu {
        padding: 20px 60px 20px 120px;
    }
    #main-menu label[for="mainsite-menu-checkbox-close"] {
        top: 50px;
    }
    #main-menu {
        padding: 100px 100px 20px 30px;
    }

    h2 {
        font-size: 40px;
    }
    #home-hero h2 {
        font-size: 40px;
    }
    h3 {
        font-size: 25px;
    }
    .block h3 {
        margin-bottom: 15px;
    }
    h4 {
        font-size: 21px;
    }

    .form-field {
        flex-direction: column;
    }
    .form-field br {
        display: none;
    }
    .form-field label {
        width: 100%;
        text-align: center;
    }

    .label-legenda-inner {
        padding: 10px;
        border-radius: 20px;
    }
    .label-legenda-main {
        max-height: calc(100vh - 120px);
    }
    label[for="label-legenda-close"] {
        margin: -10px -10px 0 0;
    }

    #search-inner {
        margin: 80px auto;
    }
    #search-close {
        top: 30px;
        right: 30px;
    }
    #search-header h3 {
        font-size: 30px;
    }
    #search-header,
    #search-header h3 {
        margin-bottom: 10px;
    }

    #search-result-categories {
        flex-wrap: wrap;
    }
    .search-result-category {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
    #search-field-query {
        display: none;
    }
    #search-site-buttons a {
        margin: 0 0 10px 0;
    }
    .labels-list {
        padding-right: 5px;
        margin-right: -20px;
    }
    .labels-list li:not(:last-of-type) {
        margin-right: 10px;
    }
    .labels-legenda-link {
        position: absolute;
        right: 10px;
    }

    #footer-school {
        margin-bottom: -50px;
        padding-bottom: 50px;
    }
    #footer > img {
        height: 75px;
    }

    .slider-inner {
        padding: 20px 10px;
    }

}

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


    h2 {
        font-size: 30px;
    }
    #home-hero h2 {
        font-size: 30px;
    }
    h3 {
        font-size: 20px;
    }
    .block h3 {
        margin-bottom: 10px;
    }
    h4 {
        font-size: 18px;
    }

    #mainsite-menu {
        padding: 20px 20px 20px 120px;
    }
    #main-menu label[for="mainsite-menu-checkbox-close"] {
        top: 20px;
    }
    #main-menu {
        padding: 60px 100px 0 10px;
    }

    #scholen-view-switch .form-switch-label {
        display: none;
    }

    #search-inner {
        margin: 40px auto;
    }
    #search-close {
        top: 20px;
        right: 20px;
    }

    #footer > img {
        height: 50px;
    }

    .slider-inner {
        padding: 15px 0;
    }
}