.meks-switcher{
    background-color: #eee;
    border-right: 1px solid #ddd;
    box-sizing: border-box;
    position: fixed;
    width: 300px;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    margin: 0;
    z-index: 99999;
}
.meks-switcher-overlay{
    z-index: 99997;
    position: relative;
    // position: fixed;
    // overflow: visible;
    // top: 0;
    // bottom: 0;
    // left: 0;
    // right: 0;
    // height: 100%;
    // min-width: 0;
}
.meks-switcher-wrapper{
    // right: auto;
    // width: 100%;
    // position: absolute;
    // left: 0;
    // top: 0;
    // bottom: 0;
    // height: 100%;
    // overflow-y: scroll;
}

.meks-switcher,
.meks-switcher-wrapper,
.meks-switcher-overlay{
    transition-property: left,right,top,bottom,width,margin;
    transition-duration: .2s;
}

//sidebar position switch start
.meks-switcher-overlay {
    margin-left: 0;
}
.meks-switcher{
    margin-left: -340px;
}

.meks-switcher-expanded .meks-switcher-overlay {
    margin-left: 300px;
}
.meks-switcher-expanded .meks-switcher{
    margin-left: 0;
}
//sidebar position switch end

//flex
.meks-switcher-inside{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    align-items: stretch;
}
.meks-switcher-header{
    background: #eeeeee;
    border-bottom: 1px solid #ddd;
    flex:1 0 45px;
    max-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}
.meks-switcher-content{
    overflow-y: scroll;
    flex: 0 0 calc(100% - 160px);
}
.meks-switcher-footer{
    background: #FFF;
    border-top: 1px solid #ddd;
    flex: 1;
    height: 160px;
    padding: 15px;
}

//Switcher elements
.meks-switcher{
    background: #f1f1f1;
    color: #444;
    font-family: Arial,sans-serif;
    font-size: 13px;
    line-height: 1.4em;
}
.meks-switcher p:last-child{
    margin-bottom: 0;
}
.meks-switcher h1,
.meks-switcher h2,
.meks-switcher h3,
.meks-switcher h4,
.meks-switcher h5,
.meks-switcher h6,
.meks-open-label{
    font-family: Arial,sans-serif;
    color: #444;
}
.meks-switcher h2{
    font-size: 16px;
    line-height: 1.4;    
}
.meks-switcher h3{
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    font-weight: bold;
}

.meks-switcher h4{
    display: block;
    font-size: 13px;
    line-height: 24px;
    font-weight: 600;
    margin: 15px 0 15px;
    padding: 0 15px;
    color: #5a626a;
}

.switcher-bg-white{
    background: #FFF;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.switcher-list{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 15px;
}
.switcher-list li{
    margin-bottom: 15px;
}
.switcher-list img{
    transition: box-shadow .15s ease-in-out;
}
.switcher-list li.active img{
    box-shadow: 0px 0px 0px 2px #3498DB;
    border: none;
    max-width: 100%;
    box-sizing: border-box;
}
.switcher-list a{
    line-height: 1;
}
.switcher-list span{
    font-size: 11px;
    line-height: 1;
    margin-top: 2px;
    color: #555d66;
    display: block;
}
.switcher-list-2 li{
    flex: 0 0 47%;
    max-width: 47%;
}
.switcher-list-3 li{
    flex: 0 0 29.2%;
    max-width: 29.2%;
}
.meks-button-label{

    border: 1px solid #ddd;
    height: 60px;
    top: 160px;
    color: #555d66;
    border-left: none;
    position: absolute;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f1f1;
    transition: all .2s ease-in-out;
}
.meks-open-label{
    width: 60px;
    height: 60px;
    font-size: 38px;
    left:0;
    z-index: 99998;
    border-radius: 0 8px 8px 0;
    position: fixed;
}
.meks-close-label{
    width: 38px;
    height: 40px;
    font-size: 24px;
    right: -38px;
    z-index: 99996;
    border-radius: 0 6px 6px 0;
    top: 170px;
}
.meks-button-label:hover,
.switcher-button-reset:hover{
    color: #3498DB;
}

.meks-switcher-expanded .meks-open-label{
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}



//Buttons
.switcher-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border-radius: 3px;
    padding: 9px 0;
    height: 38px;
    font-weight: normal;
    margin: 0 0 5px;
    transition: all .25s linear;
    font-size: 11px;
    i{
        margin-right: 5px;
    }
}

.switcher-button:hover {
    text-decoration: none;
}
.switcher-button-orange{
    color: #660006;
    background: #ffd635; 
}
.switcher-button-orange:hover{
    background: hsla(48,100%,50%,1);
    color: #660006;  
}
.switcher-button-green{
    background: #4BBB5A;
    color:#FFF;    
}
.switcher-button-green:hover{
    background: hsla(128,45%,48%,1); 
    color:#FFF;     
}

.switcher-button-hollow {
    border: 1px solid rgba(51,51,51,.3);
    line-height: 28px;
    padding: 0;
    color: rgba(51,51,51,.8);
    margin-bottom: 0;
}
.switcher-button-hollow:hover {
    color: #333;
}
.switcher-button-orange i{
    margin-top: -3px;
    vertical-align: middle;
    display: inline-block;
}

.switcher-button-reset{
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 26px;
    height: 28px;
    margin: 0;
    padding: 0 10px 1px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
    color: #555;
    border-color: #ccc;
    background: #f7f7f7;
    box-shadow: 0 1px 0 #ccc;
    vertical-align: top;
    font-weight: 400;    
    transition: color .15s ease-in-out;
}

//Spin animation
.fa-spin {
    -webkit-animation: spin 5s infinite linear;
    -moz-animation: spin 5s infinite linear;
    -o-animation: spin 5s infinite linear;
    animation: spin 5s infinite linear;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
    }
}

@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}

.meks-switcher-expanded .header-sticky{
    margin-left: 150px;
}
.header-sticky{
    transition: all .15s ease-in-out;
}

//Responsive
@media (max-width: 1441px){
    .meks-switcher-expanded .meks-switcher-overlay,
    .meks-switcher-expanded .header-sticky{
        margin-left: 0;
    }
}
@media (max-width: 700px){
    .meks-open-label{
        display: none;
    }
    .meks-switcher{
        display: none;
    }
    .meks-switcher-expanded .header-sticky{
        margin-left: 0;
    }
}
