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

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

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

    /* OVERALL TYPE & BUTTONS */
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.3em;
    }
    h3 {
        font-size: 1.3em;
    }


h1.tagline {
    font-size: 1.7em;
    line-height: 1.3;
    padding-bottom: 20px;
    margin-top: -20px;
}
.tagline_intro {
    text-align: center;
    padding-bottom: 30px;
}

    .btn {
        padding: 15px 20px;
        font-size: 1em;
    }
  

    /* HEADER */
    #header,
    body.scroll #header {
        height: 70px;
        border-bottom: 0;
    }
    #header #logo {
        width: 160px;
        height: 70px;
    }
    .nav-button#menu-button {
        display: flex;
    }
    .nav-button#cart-button {
        right: 70px;
    }
    .nav-button#search-button {
        right: 120px;
    }
    #langmenu {
        left: 20px;
        top: auto;
        bottom: -20px;
    }
    #langmenu a {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
    #menu-holder {
        position: fixed;
        left: 0;
        top: 0;
        width: auto;
        height: 100%;
        z-index: 3;
        background: var(--background);
        transform: translateX(-100%);
        transition: transform 600ms cubic-bezier(0.76, 0, 0.24, 1);    
        box-sizing: border-box;    
        padding: 30px 30px;  
        align-items: flex-start; 
        justify-content: center;
        column-gap: 30px;
        font-size: 1.2em; 
        overflow-y: auto;   
    }
    #menu-holder.active {
        transform: translateX(0%);
    }    
    ul#menu {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 3;
        line-height: 1;
        order:  0;
        column-gap: 0px;
        row-gap:  10px;
    }
    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-second {
        flex-direction: column;
        position: relative;
        top: auto;
        right: auto;
        order:  1;
        margin-top: 20px;
        font-size: 1em;
    }

    /* PAGE-HEADER */
    #page-header {
        
    }


    /* CONTENT */
    .row {
        padding: 30px 0;
    }
    .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 .media {
        width: 100%;
        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 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;
    }

    /* FOOTER */
    #footer {
        padding: 30px 0;
        flex-direction: column;
        justify-content: center;
        font-size: .8em;
    }
    #footer #footer-container {
        flex-direction: column;
        column-gap: 0;
        row-gap:  30px;
    }
    #footer #footer-container .cybox-tag {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        row-gap: 10px;
    }
    #footer #footer-container .cybox-tag a svg {
        width: 16px;
        margin-left: 7px;
        transform: translateY(2px);
    }





}
