﻿/* Super Panel: www.menucool.com/ui/super-panel */

/*---- panel ----*/
#panel1 {
    position:fixed;
    z-index:10;
    top:0;
	bottom:0;
    left:auto;right:0;/*fligt ein von rechts und bleibt rechts rechts*/
    /*right:auto;left:0;/*fligt ein von rechts nach ganz links*/
    width:50%; /* Normal:360px*/
	height:100%;
    overflow:auto;
    background:rgba(25, 62, 134, 0.8);
    padding:32px 0;
    box-sizing:border-box;
    box-shadow:-4px 0 18px rgba(0,0,0,0.2);
    visibility:hidden;
}
/*---- transparent layer ---- Option transparentLayer muss in pane-panel.js true geschaltet sein*/
.transparent-layer {
    position:fixed;
    top:0;left:0;right:0;bottom:0;
    width:100%;height:100%;
    background-color:rgba(255,255,255,0.8);
    display:none;
    -webkit-transition:opacity 0.3s;
    transition:opacity 0.3s;
}



/*---- panel button ----*/
.panel-button{
    -ms-user-select:none;
    -mos-user-select:none;
    -webkit-user-select:none;
    -o-user-select:none;
    user-select:none;
}

.panel-button   
{
    position:fixed; margin:12px; top:0; right:0;
    /*display:block;float:right;position:relative;margin:10px 30px 0;*/
    
    background-color:white;

    height:3px;
    width:24px;
    border-style:solid;
    border-color:#0074d9;
    border-top-width:18px;
    border-bottom-width:18px;
    border-left-width:8px;
    border-right-width:8px;
	border-radius: 5px;
	cursor: pointer;
    box-sizing:content-box;
}


.panel-button:before, .panel-button:after {
    background-color:white;
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 24px;
    height: 3px;
    display:block;
    transition:all .2s linear;
}
.panel-button:after {
    top: 8px;
}

    
.panel-button.active {
    background-color:#0074d9;
}
.panel-button.active:before {
    transform: rotate(45deg);
    top:0;
}
.panel-button.active:after {
    transform: rotate(-45deg);
    top:0;
}


@media (max-width:900px) {
	
#panel1 {   width:60%;}
}
@media (max-width:760px) {
	
#panel1 {   width:90%;}
}
