/* --------- Menu Sidebar --------- */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    overflow: hidden;
}

.content-site{
    width: 100%;
    background: #fff;
    z-index: 1;
}

#sidebarMenu {
    /*min-width: 250px;
    max-width: 250px;*/
    min-width: 300px;
    max-width: 300px;

    /*background-color: rgb(222, 54, 25);
    color: #fff;*/
    /*background-color: rgb(255, 255, 255);*/
    background-color: rgb(8, 168, 144);
    /*color: rgb(182, 14, 0);*/
    /*color: #212529;*/
    color: #ffffff;
    transition: all 0.3s;
}

#sidebarMenu.active {
    /*margin-left: -250px;*/
    margin-left: -300px;
}

#sidebarMenu .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebarMenu ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebarMenu ul p {
    /*color: #fff;*/
    /*color: rgb(182, 14, 0);*/
    color: #212529;
    padding: 10px;
}

#sidebarMenu ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    /*color: #fff;*/
    /*color: rgb(182, 14, 0);*/
    /*color: #212529;*/
    color: #dddddd;
    border-bottom: 1px solid rgb(18, 178, 154);
}

#sidebarMenu ul li a:hover {
    /*color: rgb(182, 14, 0);*/
    color: #212529;
    background: #fff;
}

#sidebarMenu ul li > ul li{
    list-style-type: none;
}

#sidebarMenu ul.sub-menu{
    padding: 0;
}

#sidebarMenu ul.sub-menu > li a{
    padding-left: 30px;
}

#sidebarMenu ul.sub-menu ul.sub-menu li a{
    padding-left: 50px;
}

#sidebarMenu .current_page_item > a{
    color: #fff;
    background: rgb(0, 160, 136);
}



#sidebarMenu ul li.active>a,
#sidebarMenu a[aria-expanded="true"] {
    color: #fff;
    background: rgb(182, 14, 0);
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
/*
#sidebarMenu {
    min-width: 250px;
    max-width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
}
*/
.overlay {
    display: none;
    position: fixed;
    /* full screen */
    width: 100vw;
    height: 100vh;
    /* transparent black */
    background: rgba(0, 0, 0, 0.7);
    /* middle layer, i.e. appears below the sidebar */
    z-index: 998;
    opacity: 0;
    /* animate the transition */
    transition: all 0.5s ease-in-out;
}
/* display .overlay when it has the .active class */
#dismiss {
    width: 35px;
    height: 35px;
    position: absolute;
    /* top right corner of the sidebar */
    top: 10px;
    right: 10px;
}

@media(min-width: 1px) {
    #sidebarMenu {
        /*min-width: 250px;
        max-width: 250px;*/
        min-width: 300px;
        max-width: 300px;
        height: 100vh;
        position: fixed;
        top: 0;
        /*right: -250px;*/
        right: -300px;
        z-index: 100000;
        display: block;
    }

    #sidebarMenu.active{
        right: 0px;
    }

    .overlay.active {
        display: block;
        opacity: 1;
    }
}