/* 
    Created on : 2019.02.14., 10:13:16
    Author     : Benczur Nándor
*/

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    /*align-items: stretch;*/
}

#sidebar {
    /*min-width: 350px;
    max-width: 350px;*/
    transition: all 0.3s;
}
#sidebar.active {
    margin-left: -350px;
}

.sb-200{
    min-width: 200px;
    max-width: 200px;
}
.sb-350{
    min-width: 350px;
    max-width: 350px;
}

#sidebar .card{
    margin-bottom: 5px;
}

#sidebar .sidebar-header {
    padding: 20px;
    /*background: #6d7fcc;*/
}
#sidebar li.np{
    padding: 0px;
}
#sidebarshow{
    position: fixed;
    top:230px;
    left: -32px;
    background: yellow;
    color: green;
    display: block;
    width: 28px;
    height: 64px;
    overflow: hidden;
    cursor: pointer;
    z-index: 1234;
    padding: 20px 0;
    text-align: center;
    box-shadow: 1px 1px 3px #000;
    transition: all 0.3s;
}
/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

.sided-content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    .wrapper {
        display: block;
        width: 100%;
    }
    /*
    #sidebar {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
    */
    .sidehider{
        display: none;
    }
    #sidebar.active {
        /*margin-left: 0;*/
    }
    #sidebarCollapse span {
        display: none;
    }
    #sidebar {
        z-index: 1233;
        /*display: none;*/
        width: 370px;
        position: fixed;
        top:0;
        left:0;
        overflow: auto;
        max-height: 100%;
        background: #fff;
        box-shadow: 1px 1px 2px #333;
    }
   
    #sidebar.slideout{
        left: -370px !important;
    }
    
    .sided-content {
        min-height:max-content;
    }
    
    #sidebarshow{
        left: 323px;
    }
    #sidebarshow.slideout{
        left:0 !important;
    }
}