/* 
###
BACKSTAGE 5.1 CSS > RESPONSIVE GENERAL
###
*/

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

    body {
        font-size: 1em;
    }

    .row.home-header .content .title { 
        width: 70%;
    }
    a.backlink {
        top: 200px;
    }

}

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

    /* body */
    body {
        font-size: 1em;
    }
    body:after {
        height: 140px;
    }

    #wrapper {
        padding-top: 140px; /* #header-height */
    }

    /* OVERALL TYPE & BUTTONS */
    h1 {
        font-size: 1.3em;
    }
    h2 {
        font-size: 1.3em;
    }
    h3 {
        font-size: 1.3em;
    }
    .btn {
        padding: 13px 15px;
        font-size: 1em;
    }

    a.backlink {
        top: 150px;
    }

    /* SCROLL DOWN ARROW */
    .arrow-down {
        display: none;
    }

    /* EXTRA HEADER */
    #extra-header #extra-header-container {
        width: 100%;
    }
    #extra-header #extra-header-container ul li {
        text-align: center;
        justify-content: center;
    }
    #extra-header:after {
        display: none;
    }
  

    /* HEADER */
    #header,
    body.scroll #header {
        height: 140px;
    }
    body.scroll #header {
        top: 0;
        height: 100px;
    }
    body.forceup #header {
        top: 0!important
    }
    #header #logo {
        width: 210px;
        top: 50%;
        left: auto;
        right: 0.75%;
        transform: translateY(-50%);
    }
    body.scroll #header #logo {
        width: 180px;
    }
    .nav-button#menu-button {
        display: flex;
        left: 0.75%;
        padding: 12px;
        width: 40px;
        height: 40px;
        border-radius: 0;
        box-sizing: border-box;
        background-color: #82c86f;
    }
    .nav-button#mijnnovah-button {
        width: 30px;
    }
    .nav-button#mijnnovah-button span {
        display: none;
    }
    .menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 60%;
        height: 100%;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: scroll;
        padding: 0px 20px;
        padding-top: 150px;
        box-sizing: border-box;
        transform: translateX(-100%);
        transition: transform 600ms cubic-bezier(0.76, 0, 0.24, 1);
        z-index: 3;
        line-height: 1.8;
        clip-path: polygon(0 0, 100% 0, 93% 100%, 0% 100%);
    }
    .menu.active {
        transform: translateX(0%);
    }
    ul#menu {
        flex-direction: column;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    ul#menu li {
        margin-left: 0px;
    }
    ul#secondary {
        flex-direction: column;
        position: relative;
        right: auto;
        top:  auto;
        padding-left: 0;
        line-height: 1.5;
        font-size: 1em;
    }
    ul#secondary li a {
        margin-left: 0;
    }


    /* PAGE-HEADER */
    #page-header {
        height: 30vh;
    }
    #page-header .page-header-content {
        font-size: 2em;
    }

    /* CONTENT */
    .row {
        padding: 30px 0;
    }
    .content {
        display: flex;
        flex-direction: column!important;
    }
    /* mob > uitklapper */
    .row.blue {
        max-height: 230px;
        overflow: hidden;
    }
    .row.blue.expanded {
        max-height: none;
        overflow: visible;
    }    
    .row.blue:after {
        content: "Lees meer +";
        width: 100%;
        height: 80px;
        background: linear-gradient(180deg, rgba(142,211,239,0) 0%, rgba(238, 248,253,1) 59%);
        color:  #3d444b;
        position: absolute;
        right: 0;
        bottom:  0;
        box-sizing: border-box;
        padding:  0 20px;
        text-align: right;
        line-height: 100px;
        text-shadow: 0px 0px 10px var(--light);
        font-weight: bold;
    }
    .row.blue.expanded:after {
        display: none;
    }

    /* Longtextblock */
    .text_mass {
        padding:  30px;
        font-size: .9em;
    }


    /* ROWS @ home */
    .row.home-header {
        padding:  70px 0
    }
    .row.home-header .content .title {
        width: 100%;
        position: relative;
        z-index: 2;
    }
    .row.home-header .content .illustration {
        position: relative;
        z-index: 1;
        width: 300px;
        margin-bottom: 0px;
        transform: translateX(0px);
        position: absolute;
        right: 0;
        bottom:  -80px;
        overflow: hidden;
    }
    .row.home-header .content .illustration svg {
        transform: translateX(30%);
    }
    .row.home-vacatures,
    .row.home-trainingen {
        padding: 60px 0;
    }


    /* height of slider & cards! */
    .row.home-vacatures .content .home-vacatures--listing,
    .row.home-vacatures .content .home-vacatures--listing .listing,
    .row.home-vacatures .content .home-vacatures--listing .listing .item {
        height: 300px;
    }
    .row.home-vacatures .content .home-vacatures--listing .listing .item a .title {
        font-size: 1.3em;
        position: relative;
        z-index: 2;
    }
    .row.home-vacatures .content .home-vacatures--listing .listing .item a .center-icon {
        right: -20px;
        top:  -50px;
        width: 250px;
        opacity: 0.6;
        z-index: 1;
    }
    .row.home-vacatures .content .home-vacatures--listing .listing .item a .center-icon svg {
        width: 250px;
        height: 250px;
        fill: #e5d6c7!important;
    }
    .row.home-vacatures .content .home-vacatures--listing .listing .owl-nav {
        top:  20px;
        right: 20px;
    }
    .row.home-vacatures .content .home-vacatures--listing .listing .owl-dots {
        display: none;
    }
    .row.home-trainingen .content .trainingen-intro {
        width: 100%;
        margin-bottom: 2em;
    }
    .row.home-trainingen .content .trainingen-intro h2:before {
        display: none;
    }
    .row.home-trainingen .content .trainingen-intro {
        width: 100%;
    }
    .trainingen-items {
        width: 100%;
    }
    .trainingen-items .listing {
        width: 100%;
        margin-left: 0;
    }
    .trainingen-items .listing .item {
        height: 300px;
    }
    .trainingen-items .listing .item a .title {
        font-size: 1.3em;
        padding:  0 20px;
    }

    /* CONTENT > page_content */
    .content .page_content,
    .content .page_content.hasmedia {
        width: 100%;
        order: 0;
        min-height: 0;
        min-height: 0px;
    }
    .content .page_content p:first-of-type {
        font-size: 1em;
        font-weight: 400;
        font-family: "Miriam Libre";
    }    
    .content .media {
        width: 100%;
        margin-top: 50px;
        order: 1;
    }
    .content .media a {
        margin-bottom: 20px;
    }
    .content .media a .icon, 
    .fotoalbum a .icon, 
    .news-overview .item a .image .icon, 
    .productmedia a .icon, 
    .product a .icon {
        display: block;
        width: 30px;
        height: 30px;
    }
    .content .media a .icon svg, 
    .fotoalbum a .icon svg, 
    .news-overview .item a .image .icon svg, 
    .productmedia a .icon svg, 
    .product a .icon svg {
        width: 30px;
        height: 30px;
    }


    /* SUBMENU MOBILE */
    #submenu-mob {
        display: block;
        margin-bottom: 30px;
    }


    /* submenu on page */
    #sidebar {
        width: 100%;
        margin-left: 0;
        min-width: 100%;
        margin-top: 30px;
    }
    .sidepanel {
        background-size: 400px;
    }

    #submenu {
        width: 100%;
        margin:  0;
        position: relative; top: auto; /* remove sticky */
        padding: 15px 0;
        margin-bottom: 50px;
        display: none;
    }
    #submenu #submenu-trigger {
        display: block;
        position: relative;
        width: 100%;
        font-size: 1.2em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 20px;
        padding-right: 40px;
        box-sizing: border-box;
    }
    #submenu #submenu-trigger.active {
    }
    #submenu #submenu-trigger svg {
        width: 20px;
        height: 20px;
        fill: var(--main);
        position: absolute;
        right: 20px;
        top:  50%;
        margin-top: -10px;
        transition: transform 300ms;
    }
    #submenu #submenu-trigger.active svg {
        transform: rotate(-180deg);
    }
    #submenu ul {
        flex-direction: column;
        display: none;
        border-top: 1px solid rgba(0,0,0,0.1);
        padding:  20px;
        padding-top: 15px;
        padding-bottom: 0;
        margin-top: 15px;
    }
    #submenu ul.active {
        display: block;
    }

    /* QUOTES */
    #quote-bar {
        background: var(--main);
        background: #273c74;
        color: var(--background);
    }
    #quote-bar #quote-bar-container {
        padding:  70px 0; 
        background-size: 300px;
        background-position: bottom left;
        background-image: url('/images/novah-illustratie-quote_mob.svg');
    }
    #quote-bar #quote-bar-container .element {
        padding:  30px;
    }
    #quote-bar #quote-bar-container .element .rule {
        padding: 0 60px;
    }

    /* EXTRA FOOTER */
    #extra-footer #extra-footer-container #footer-logo {
        display: none;
    }
    #extra-footer #extra-footer-container .footer-row {
        flex-direction: column;
    }
    #extra-footer #extra-footer-container .footer-row ul.footer-menu {
        margin-bottom: 20px;
    }

    /* FOOTER */
    #extra-footer {
        display: none;
    }
    #footer {
        padding: 30px 0;
        /*background-image: url('/images/beeldmerk_footer.svg');*/
        background-size: 200px;
        background-position: top right;
        background-repeat: no-repeat;
    }
    #footer #footer-container .footer-row,
    #footer #footer-container .footer-row.credits .column ul {
        flex-direction: column;
    }
     #footer #footer-container .footer-row.credits .column:first-of-type ul li,
     #footer #footer-container .footer-row.credits .column:last-of-type ul li {
        margin-left: 0em;
    }   





}
