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

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

    /* LVC RUITJE */
    #lvc-ruitje {
        top: 0;
        right: 0;
        width: 60px;
        z-index: 8;
    }

}
@media screen and (max-width: 1400px) and (min-width: 1100px) {

    #langmenu {
        position: absolute;
        bottom: -15px;
    }

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

    /* body */
    body {
        font-size: 1.1em;
        padding-top: 70px; /* #header-height */
    }
    body:after {
        height: 70px;
    }

    /* OVERALL TYPE & BUTTONS */
    h1 {
        margin-top: 0;
    }
    h1,
    body.homepage h2 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.3em;
    }
    h3 {
        font-size: 1.5em;
    }
    .btn {
        
    }
  
    /* LVC RUITJE */
    #lvc-ruitje {
        top: 70px;
    }

    /* HEADER */
    #header,
    body.scroll #header {
        height: 70px;
        filter: none;
        box-shadow: 0px 0px 30px rgba(0,0,0,0.3);
    }
    #header #logo {
        width: 160px;
    }
    .nav-button#menu-button {
        display: flex;
    }
    .nav-button#cart-button {
        right: 70px;
    }
    .nav-button#search-button {
        right: 120px;
    }
    #langmenu {
        top: auto;
        bottom: 0;
        left: 0;
        margin: 0;
        margin-top: 60px;
    }
    #langmenu a {
        margin-right: 0;
    }
    #menu-holder {
        position: fixed;
        flex-direction: column;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 3;
        background: rgba(255,255,255,0.8);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);        
        transform: translateX(100%);
        transition: transform 600ms cubic-bezier(0.76, 0, 0.24, 1);    
        box-sizing: border-box;    
        padding: 30px 30px;  
        align-items: center; 
        justify-content: center;
        column-gap: 30px;
        overflow-y: auto;   
    }
    #menu-holder.active {
        transform: translateX(0%);
    }    
    ul#menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        z-index: 3;
        line-height: 1;
        order:  0;
        column-gap: 0px;
        row-gap:  20px;
    }
    ul#menu li:last-child a.master /* reserveerbutton */ {
        margin-left: 0em;
        margin-top: 1em;
        
    }

    ul#menu li.hassub ul.sub,
    ul#menu li.hassub:hover ul.sub {
        position: relative;
        transform: none;
        bottom: auto;
        left: auto;
        background: transparent;
        visibility: visible;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    ul#menu li {
        margin-left: 0;
    }
    ul#menu li a {
        display: block;
        white-space: nowrap;
    }
    ul#menu li a.master {
        padding: 0 15px;
    }
    ul#menu-second {
        flex-direction: column;
        position: relative;
        top: auto;
        right: auto;
        order:  1;
        margin-top: 20px;
        font-size: 1em;
    }

    /* PAGE-HEADER */
    #page-header {
        /*height: 320px;*/
        min-height: 320px;
    }
    #page-header .page-header-content {
        width: 85%;
    }
    #page-header .page-header-content h3 {
        font-size: 28px;
    }
    #page-header .page-header-content h1 {
        font-size: 21px;
    }


    /* CONTENT */
    .row {
        padding: 50px 0;
    }
    .row.first {
        padding-top: 25px;
    }
    body.homepage .row.first {
        padding-top: 50px;
    }
    .content {
        display: flex;
        flex-direction: column;
        column-gap:  0px;
        row-gap:  30px;
    }
    .content .page_content,
    .content .page_content.hasmedia {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        order: 0;
        min-height: 0;
    }
    .content .page_content.hasmedia {
        order: 2;
    }
    .content .media {
        width: 100%;
        order: 1;
    }
    body.userforms .content .media {
        position: relative;
        top: auto;
    }
    .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: none;
        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;
    }

    /* fotorij temp --> misschein slider op mob etc, nu voor even zo; */
    .row.rowphotos .content .media {
        flex-direction: column;
    }
    .row.rowphotos .content .media a {
        width: 100%;
    }

    /* submenu on page */
    #submenu {
        width: 100%; max-width: 100%; min-width: 100%; 
        margin:  0;
        position: relative; top: auto; /* remove sticky */
        padding: 15px 0;
        margin-bottom: 10px;
    }
    #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;
    }



    /* ELEMENTS - tweak to your purposes & likings! */
    .elements {
        margin: 2em 0;
        width: 100%;
        margin-left: 0%;
    }
    .elements .element {
        width: 100%;
        margin: 0;
        margin-bottom: 15px;
    }
    .elements .element:last-of-type {
        margin-bottom: 0;
    }


    /* FOOTER */
    #footer {
        padding: 30px 0;
    }
    #footer #footer-container {
        flex-direction: column;
        column-gap: 0;
        row-gap:  30px;
    }
    #footer #footer-container .column {
        width: 100%;
    }
    #footer #footer-container .column.two-col ul {
        columns:  1;
    }
    #footer #footer-container .social-buttons ul {

        flex-direction: column;
        row-gap: 20px;
    }
    #footer #footer-logo {
        display: none;
    }


    /* CREDITS */
    #credits {
        padding: 20px 0;   
        font-size: .8em;
    }
    #credits #credits-container ul {
        flex-direction: column;
    }


    /* home extra fotobalk */
    .extra-image-bar {
        display: flex;
        flex-direction: column;
        padding: 50px 20px;
        row-gap: 20px;
        text-align: center;
    }
    .extra-image-bar .images {
        flex-direction: column;
        row-gap: 20px;
    }


    #logo-lvc {
        right: 3%;
        width: 40px;
        top: 70px;
        z-index: 6;
    }


}
