/*SIDEPANEL PAGE*/
.site .sidepanel-page-logo {
	display: none;
}

.close_bt_wrap {
	pointer-events: none;
}

.sidepanel-page .close_bt {
	display: none;
}

.sidepanel-page .sidepanel_right {
    width: 100% !important;
    position: inherit;
    border-right: 1px solid #EDEDED;
}

.site .sidepanel-page-btn {
	display: none;
}


/*OVERLAY SETTINGS*/

body #myoverlay {
/*     background: #394850; */
    width: 100vw;
    height: 100vh;
    opacity: 0.90;
    position: absolute;
    display: none;        
}


/*OVERLAY WHEN SIDEPANEL IS OPEN*/

body #myoverlay.show {
    display: block;
    z-index: 99999999998;
    position: fixed;
}


/*DISABLE SCROLLING BODY PAGE*/

body.disable-scroll {
    overflow: hidden;
}

main {
    margin-left: 0;
    -webkit-transition: all 400ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 400ms cubic-bezier(0.645, 0.045, 0.355, 1);
    width: 100%;
}

body .sidepanel_right {
    width: 33.33% !important;
    position: fixed;
    z-index: 1;
    height: 100%;
    top: 0;
    right: -40%;
    overflow-x: hidden;
    -webkit-transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
    will-change: right;
    z-index: 10;
    padding-left: 25px;
    padding-right: 25px;
    background: #FFFFFF;
    border-left:1px solid #EDEDED;
    z-index: 99999999999;
}


/*MEDIA QUERY 1024 - ALLE SCREENS MIT RESOLUTION VON WIDTH 1024px - 999px --> iPad Landscape*/

@media only screen and (max-width: 1024px) {
    body .sidepanel_right {
        padding-left: 15px;
        padding-right: 15px;
        background: #FFFFFF;
        z-index: 99999999999;
    }
    body .close_bt {
        width: 40%;
        padding-right: 40px;
        margin-top: 5px;
        text-align: right;
        /*background: #FF0000;*/
        font-size: 1.525vw;
    }
    body #myoverlay {
        background: #394850;
        width: 100vw;
        height: 100vh;
        opacity: 0.80;
        position: absolute;
        display: none;
        cursor: url('/wp-content/uploads/2021/03/close_cross_icon_white_small.svg') 22 22, auto;
    }
}


/*MEDIA QUERY 999 - ALLE SCREENS MIT RESOLUTION VON WIDTH 999px - 767px --> Grosse Tablets - iPad Portrait*/

@media only screen and (max-width: 999px) {
    body .sidepanel_right {
        width: 90% !important;
        position: fixed;
        z-index: 1;
        height: 100%;
        top: 0;
        right: -90%;
        overflow-x: hidden;
        -webkit-transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
        transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
        will-change: right;
        z-index: 10;
        padding-left: 30px;
        padding-right: 30px;
        background: #FFFFFF;
        z-index: 99999999999;
    }
    body .close_bt {
        width: 90%;
        padding-right: 49px;
        margin-top: 5px;
        text-align: right;
        /*background: #FF0000;*/
        font-size: 2.5vw;
    }
}


/*MEDIA QUERY 767 - ALLE SCREENS MIT RESOLUTION VON WIDTH 767px - 479px --> iPhone Landscape*/

@media only screen and (max-width: 767px) {
    body .sidepanel_right {
        width: 90% !important;
        position: fixed;
        z-index: 1;
        height: 100%;
        top: 0;
        right: -90%;
        overflow-x: hidden;
        -webkit-transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
        transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
        will-change: right;
        z-index: 10;
        padding-left: 25px;
        padding-right: 25px;
        background: #FFFFFF;
        z-index: 99999999999;
    }
    body .close_bt {
        width: 90%;
        padding-right: 40px;
        margin-top: 10px;
        text-align: right;
        /*background: #FF0000;*/
        font-size: 3.5vw;
        font-size: 18px;
    }
}


/*MEDIA QUERY 479 - ALLE SCREENS MIT RESOLUTION VON WIDTH 479px - 0px --> Grosse Smartphone - iPhone etc...*/

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