
@media (max-height: 1000px) {
    section.banner h2 {
        margin-top:-15%;
    }
}

@media (max-height: 700px) {
    section.banner h2 {
        margin-top:-10%;
    }
}

@media (max-height: 500px) {
    section.banner h2 {
        margin-top:0;
    }
}

@media (min-width: 982px) {
    .desk-hide {
        display: none !important;
    }
}

@media (max-width: 1600px) {
    .logo img {
        max-width: 8rem;
    }

    .menus a {
        font-size: 14px;
    }
    ul.menu li a:before {
        bottom: -29px;
        border-width: 5px !important;
        height: 4px;
        padding-bottom: 0;
    }
    header li.menu-item.menu-item--active-trail:after {
        bottom: -26px;
        border-width: 5px !important;
        height: 4px;
        padding-bottom: 0;
    }
}

@media (max-width: 1500px) {
    header nav#block-ketjen-dutch-mainnavigation ul li a {
        font-size: 14px;
    }
    ul.menu li a:before {
        bottom: -30px;
    }
    header li.menu-item.menu-item--active-trail:after {
        bottom: -27px;
    }
}

@media (max-width: 1450px) {
    footer .container {
        gap: 0.5rem;
    }

    footer nav#block-ketjen-dutch-mainnavigation ul {
        gap: 0.5rem;
    }

    footer #block-ketjen-dutch-mainnavigation a {
        padding-right: 0.5rem;
    }
}

@media (max-width: 1300px) {
    .banner {
        height: 65vh;
    }

    section.banner h2 {
        font-size: 70px;
        max-width: 50rem;
    }
    .logo {
        padding: 1.6rem 2rem;
    }

    body .logo img {
        max-width: 6rem;
    }

    a.global-site {
        font-size: 8px;
    }

    footer .container {
        gap: 2rem;
        flex-direction: column;
    }

    footer .container .menus {
        order: 1;
    }

    footer .container .socials {
        order: 2;
    }

    footer .container p {
        order: 3;
    }
}

@media (max-width: 1230px) {
    header nav#block-ketjen-dutch-mainnavigation ul {
        gap: 0.5rem;
    }

    header nav#block-ketjen-dutch-mainnavigation ul li a {
        padding-right: 0.5rem;
    }
}

@media (max-width: 1130px) {
    header nav#block-ketjen-dutch-mainnavigation ul li a {
        font-size: 12px;
    }
    footer .container div {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    footer nav#block-ketjen-dutch-mainnavigation ul li a:after {
        display: none;
    }

    footer #block-ketjen-dutch-mainnavigation a {
        padding: 0;
    }

    footer nav#block-ketjen-dutch-mainnavigation ul {
        display: flex;
        flex-direction: column;
        padding: 0 !important;
    }
}

@media (max-width: 981px) {
    ul.menu li a:before {
        display: none !important;
    }

    .close-menu img {
        max-width: 2rem;
    }

    a.global-site {
        display: none;
    }

    section.services .heading {
        font-size: 26px;
        margin-bottom: 2rem;
        margin-top: -1rem;
    }

    section.services h2.heading:after {
        top: -143px;
        height: 16rem;
    }

    section.news.single {
        margin: 0rem 0 -4rem;
    }

    .separator-content.sm {
        height: auto;
    }

    h2.heading-60.mb-4 {
        font-size: 30px;
    }

    h2.heading-md {
        font-size: 26px;
    }

    section.history.producten {
        margin-top: 5rem;
    }

    h2.heading-sm {
        font-size: 22px;
    }

    .banner-sm h2 {
        font-size: 36px;
        text-align: center;
    }

    .banner-sm {
        height: auto;
        padding: 4rem 0 5rem;
    }

    .rounded-label {
        font-size: 18px;
    }

    .link-tabs a {
        font-size: 14px;
    }

    section.cont-image {
        padding-top: 40px;
    }

    .video-thumb {
        height: 250px;
    }

    section.video-sec {
        margin: 2rem 0 0rem;
    }

    h4.special {
        text-align: center;
    }

    .over-img.large-img {
        margin: 0;
    }

    .over-img.large-img .img-r {
        height: auto;
    }

    .close-menu {
        display: none;
    }

    header nav#block-ketjen-dutch-mainnavigation ul,
    footer nav#block-ketjen-dutch-mainnavigation ul {
        display: block;
        padding: 0;
    }

    header nav#block-ketjen-dutch-mainnavigation ul li a:after,
    header li.menu-item.menu-item--active-trail:after {
        display: none;
    }

    .page-node-115 .separator-content .link-tabs,
    .page-node-117 .separator-content .link-tabs,
    .page-node-116 .separator-content .link-tabs,
    .page-node-type-news .separator-content .link-tabs {
        padding: 0;
    }

    .page-node-117 .separator-content,
    .page-node-type-news .separator-content,
    .page-node-116 .separator-content {
        height: auto;
        margin-bottom: 2rem;
    }

    div#header-menu {
        display: block;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 3.25rem;
        background: var(--primary);
        left: -100%;
        padding: 3rem 2rem;
        border-top: 1px solid #fff;
        z-index: 199;
        transition: all 0.3s ease-in;
    }

    .col-md-12.col-lg-6.pl-5.inner-intro-right,
    .col-md-12.col-lg-6.pr-5.inner-intro-left {
        padding: 10px 15px !important;
    }

    .col-lg-6.conduct-image,
    .col-lg-6.conduct-copy {
        padding: 0 15px;
    }

    div#header-menu a {
        display: block;
        font-size: 18px;
        margin-bottom: 2rem;
    }

    div#header-menu a:after {
        display: none;
    }

    .right .menus {
        display: none;
    }

    .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 2rem;
    }

    .over-img {
        margin: 0;
    }

    section.banner h2 {
        font-size: 40px;
        overflow: hidden;
        margin-top:-10%;
    }

    section.banner {
        height: 35vh;
        background-position: center;
    }

    .logo {
        padding: 15px;
    }

    .right {
        padding-right: 2rem;
    }

    body {
        overflow-x: hidden;
    }

    div#header-menu.show {
        left: 0;
    }
}

@media (max-width: 785px) {
    a.global-cta {
        font-size: 14px;
        padding: 10px 20px;
        margin-bottom: 0;
    }

    p {
        font-size: 16px;
        margin-bottom: 0.5rem;
    }

    .news-container .col-md-6 {
        border-bottom: 2px solid var(--primary);
        padding-bottom: 2rem;
    }

    section.contact-form form .global-cta {
        width: 100%;
        margin-top: 2rem;
    }

    section.cont-image.with-cta .row {
        gap: 2rem;
    }

    section.services.warken {
        margin: 2rem 0 0 !important;
    }

    section.faqs {
        padding: 2rem 0 0;
    }

    .faq-bx {
        padding: 1rem;
    }

    .faq-bx h5 {
        font-size: 16px;
        padding-right: 2rem;
    }

    .separator-content.sm {
        margin-bottom: 2rem;
    }

    section.news {
        margin-top: 2rem;
    }

    .row-gradient-bg h3 {
        font-size: 14px;
    }

    .row.row-gradient-bg {
        margin: 0 0 2rem;
    }

    .news-box h3 {
        font-size: 24px;
        margin: 1rem 0;
    }

    .news .row:not(.row-gradient-bg) .col-md-6 {
        margin-bottom: 3rem;
        padding-bottom: 1rem;
    }

    h4.norm-h {
        font-size: 16px;
    }

    .img-r {
        height: auto;
        width: 100%;
    }

    h2.heading {
        font-size: 30px;
    }

    footer .container {
        justify-content: center;
    }

    footer .menus a {
        flex: 1;
        width: 100%;
        text-align: center;
    }

    footer .menus {
        flex-direction: column;
        margin: 1rem 0;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
        padding: 2rem 0;
    }

    footer .menus a:after {
        display: none !important;
    }

    a.globa.cta {
        font-size: 14px;
        padding: 14px 16px;
    }

    section.cont-image p {
        margin-bottom: 2rem;
    }

    section.services .heading {
        font-size: 26px;
        margin-bottom: 1rem;
        margin-top: 0rem;
        padding-top: 2rem;
    }

    section.services h2.heading:after {
        top: -6px;
        height: 8rem;
        background-size: cover;
    }

    section.services {
        padding: 0rem 0 4rem;
    }
}
