/* ###############
##### Basic ######
############### */
@media all {

    html {
        background-color: rgb(190,190,190);
        scroll-padding-top: calc(var(--height-logo) + var(--size-6) + var(--size-vertical-gap));
    }

    body {
        overflow-x: clip;
        /*! max-width: 120rem; */
        margin: 0 auto;
        overflow-y: scroll;
        /*! height: 120vh; */
        background-color: rgb(0,0,0);
        font-family: 'Open Sans',sans-serif;
    }

    .page {
        overflow-x: clip;
    }

    .container-xl {
        max-width: var(--width-content-xl);
    }

    .container-xxl {
        max-width: var(--width-content-xxl);
    }

    .content {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

}

/* ###############
##### Basic ######
############### */
@media all {

    .page {
        display: flex;
        flex-direction: column;
        transition: filter .5s ease-in-out;
        background: var(--color-white) !important;
    }

    .mm-wrapper--opened .page ,
    .mm-wrapper--opened .cookieman-revoke {
        filter: blur(1px);
    }

    .page > .page-stage ,
    .page > .page-content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 1;
        /*! background: #fff; */
    }

    .page-background-container {
        position: relative;
        z-index: -1;
    }

    .page-background {
        /*
        background-image:url('../Images/bg-scratched.jpg');
        background-image:url('../Images/bg-scratched-92.webp');
        */
        background-image:url('../Images/bg-scratched-mobile-88.webp');
        background-size: 100%;
        background-repeat: no-repeat;
        aspect-ratio: 960 / 680;
        position:absolute;
        z-index:-1;
        top:0;
        right:0;
        left:0;
        width: 100%;
        bottom: unset;
    }
    .page-background::before,
    .page-background::after {
        content:"";
        display:block;
        position:absolute;
        top: 0;
        right:0;
        bottom:0;
        left:0;
    }
    .page-background::before {
        right:50%;
        background:linear-gradient(90deg,rgba(255,255,255,1) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,0) 100%);
    }
    .page-background::after {
        background:linear-gradient(0deg,rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    }

    .subpart {
        position: relative;
        overflow: clip;
        background-color: var(--color-white);
    }

    .subpart-showcase ,
    .subpart-header {
        background-color: transparent;
    }

    .subpart:last-child {
        flex-grow: 1;
    }

    .subpart-accessories {
        background-color: var(--color-gray-lightest);
    }

    .subpart::before {
        z-index: 1;
        content: "";
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: -1;
        height: 10vw;
        height: min(25vw, 38rem);
        background: linear-gradient(180deg,rgba(246,246,246,1) 0%,rgba(246,246,246,0) 100%);
    }

    .subpart::after {
        max-width: var(--max);
        margin: 0 auto;
        z-index: 2;
        content: "";
        display: none;
        position: absolute;
        bottom: 100%;
        left: 0;
        right: 0;
        padding-top: 5%;
        box-shadow: 0 0 min(10vw, 4rem) rgba(0,0,0,0.1);
        border-radius: 100%;
    }

    .subpart-additional {
        background-color: var(--color-gray-lightest);
    }

    /*
    .subpart-content ,
    .subpart-details ,
    .subpart-accessories {
    padding-top: var(--size-vertical-gap);
}    
    */

    .subpart-content::before ,
    .subpart-content::after ,
    .subpart-details::before ,
    .subpart-details::after ,
    .subpart-accessories::before ,
    .subpart-accessories::after {
        display: block;
    }

    .subpart-showcase::before ,
    .subpart-header::before {
        display: none;
    }
}

@media (min-width: 60rem) {

    .page-background {
        background-image:url('../Images/bg-scratched-88.webp');
        aspect-ratio: 1920 / 680;
    }

}

/* #################
##### Overlays ######
################# */
@media all {

    .page-overlay ,
    body .mm-wrapper__blocker {
        background:rgba(0,0,0,.25);
        box-shadow: 0 0 1px rgb(0, 0, 0) inset;
    }

    .page-overlay {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 100;
        display: none;
    }

    .dropdown-menu-opened .page-overlay {
        display: block;
    }    
    
    :is(.modal-open, .flyout-open, .dropdown-menu-opened) :is(.page-stage , .page-background-container, .page-content , .page-footer , .cookieman-revoke ) ,
    :is(.modal-open, .flyout-open) :is(.page-header-topbar, .page-header) ,
    :is(.modal-open,  .dropdown-menu-opened) :is(.page-flyout) {
        transition: var(--transition-slow);
        filter: blur(1px);
    }
    
    :is(.modal-open, .flyout-open) :is(.page-header-topbar, .page-header) {
        box-shadow: 0 -1px 0 1px rgb(0,0,0);
    }

    body.mm-wrapper--opened .mm-wrapper__blocker {
        opacity:1;
    }

}

/* ################
##### Header ######
################ */
@media all {
    .page-header-bg {
        background: var(--color-gray-dark);
        background-image: var(--texture-gray-dark);
    }

    .page-header-logo {
        /*! height: var(--height-logo); */
    }

    .page-header-logo-link,
    .page-header-logo-img {
        display: block;
        width: auto;
        height: 100%;
    }

    .page-header-logo-img {
        height: auto;
        box-sizing: content-box;
        height: var(--height-logo);
        padding-top: var(--size-3);
        padding-bottom: var(--size-3);
    }

    .page-header-searchbox-modal .btn-close {
        margin-right: 0;
    }

    .page-header-searchbox {
        width: var(--page-header-searchbox-width);
        height: var(--page-header-searchbox-height);
    }

    .page-header-searchbox .input-group {
        width: var(--page-header-searchbox-width);
        height: var(--page-header-searchbox-height)
    }

    .search-list-item .hit {
        background-color: #ffff80
    }

    .page-header-sticky .page-header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        margin-bottom: -1px;
    }
}

@media(min-width: 48rem) {

    .page-header-searchbox {
        position: static !important;
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    .page-header-searchbox-dummy {
        height: 3.375rem
    }

    .page-header-sticky.page-scrolled .page-header-logo {
        width: 10rem
    }

    .page-header-sticky.page-scrolled .top-menu {
        height: 0;
        padding: 0;
        opacity: 0;
        overflow: hidden
    }
}

@media(min-width: 62rem) {

}

/* ##############
##### Page ######
############## */
@media all {

    .pagination .page-item.disabled .page-link {
        padding-left: .25em;
        padding-right: .25em
    }

}

/* ######################
##### Product Page ######
###################### */
@media all {

    .pagination .page-item.disabled .page-link {
        padding-left: .25em;
        padding-right: .25em
    }

    .subpart-header .container-xl > .row > .col-md-6:nth-child(2) {
        justify-content: center;
        display: flex;
        flex-direction: column;        
    }

}

/* ######################
##### Product Page ######
###################### */
@media all {
    .ce-link-continents-menu {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding: 0;
        list-style: none;
        grid-column-gap: var(--size-8);
    }
    .ce-link-continents-menu li {
        position: relative;
    }
    .ce-link-continents-menu li + li::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        left: calc(var(--size-4) * -1);
        border-left: var(--border-default);
    }
    .ce-link-continents-menu a {
        display: grid;
        grid-row-gap: var(--size-2);
    }
    .ce-link-continents-menu img {
        width: 100%;
        height: auto;
    }
    .ce-link-continents-menu .item-inner {
        font-size: var(--font-size-smallest);
        text-align: center;
        line-height: 1.125;
    }
    .product-gallery {
        position: relative;
    }
    #product-slider {
        position: relative;
        overflow: clip;
    }
    #product-slider .ce-element-overlay .ce-element {
        position: absolute;
        top: 0;
        left: 0;
        width: 15%
    }
    #product-slider .ce-element-overlay .ce-layout-overlay_width_15 {
        width: 15%;
    }
    
    
    #product-slider .ce-element-overlay .ce-layout-overlay_width_15 .ce-gallery a:focus img ,
    #product-slider .ce-element-overlay .ce-layout-overlay_width_15 .ce-gallery a:hover img ,
    #product-slider .ce-element-overlay .ce-layout-overlay_width_15.ce-teaserlink:focus ,
    #product-slider .ce-element-overlay .ce-layout-overlay_width_15.ce-teaserlink:hover {
        opacity: .75;
        transform: none;
    }
}

@media (min-width: 30rem) {
    .ce-link-continents-menu .item-inner {
        font-size: var(--font-size-small);
    }    
}

@media (min-width: 48rem) {
    .ce-link-continents-menu .item-inner {
        font-size: unset;
    }    
}

/* ###############
##### Stage ######
############### */
@media all {
    .page-stage .ce-element {
        margin-bottom: 0
    }

    .page-stage .ce-textmedia.ce-below .ce-gallery,
    .page-stage .ce-textmedia.ce-above .ce-gallery {
        margin: 0
    }

    .page-stage .ce-slider .ce-gallery {
        margin-bottom: 0
    }

    .page-stage .ce-slider .ce-textmedia-inner {
        padding: var(--slick-padding)
    }
}

/* #################
##### Content ######
################# */
@media all {
    .page-content {
        position: relative;
        z-index: 1;
    }

    .page-to-top-link {
        position: fixed;
        right: .625rem;
        bottom: .625rem;
        z-index: 1030;
        width: 2.5rem;
        height: 2.5rem;
        opacity: .4
    }
}

/* ################
##### Footer ######
################ */
@media all {
    .page-footer {
    }

    .page-footer-top {
        background-color: var(--color-gray-dark);
    }

    .page-footer-bottom {
        --ce-color-bg: #ced4da;
        background-color: var(--color-gray-darkest);
    }

    .footer-menu .nav-link {
        display: inline-block;
        font-size: var(--font-size-medium);
    }

    .page-copyright {
        opacity: .5;
        font-size: var(--font-size-small);
        color: var(--color-white);
    }

    .werbelink {
        opacity: .5;
        font-weight: normal;
        color: var(--color-white);
        text-decoration: none;
        font-size: var(--font-size-small);
    }

    .werbelink:focus ,
    .werbelink:hover {
        opacity: 1;
        color: var(--color-1);
    }
}

@media(min-width: 75rem) {

    .footer-menu .nav-link {
        font-size: var(--font-size-small);
    }

}

/* ################
##### Footer ######
################ */
@media all {
    .page-flyout {
        top: 40%;
        right: 0;
    }
}