﻿.mainwrapper {
    /*padding-left: 70px;*/
    transition: all .4s ease 0s;
    min-height: calc(100vh - 59px);
    position: relative;
    padding-bottom: 20px;
}

.sidebar-wrapper {
    margin-left: -280px;
    left: 70px;
    width: 280px;
    background: #21292f;
    position: absolute;
    height: 100%;
    z-index: 0;
    transition: all .4s ease 0s;
}

    .sidebar-wrapper svg path {
        fill: #ffffff;
    }

.sidebar-nav {
    display: block;
    float: left;
    width: 280px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#page-content-wrapper {
    padding-left: 0;
    margin-left: 0;
    width: 100%;
    height: auto;
}

.mainwrapper.active {
    padding-left: 280px;
}

    .mainwrapper.active .sidebar-wrapper {
        left: 280px;
    }

#page-content-wrapper {
    width: 100%;
}

#sidebar_menu li a, .sidebar-nav li a {
    color: white;
    display: block;
    float: left;
    text-decoration: none;
    width: 280px;
    background: #21292f;
    -webkit-transition: background .5s;
    -moz-transition: background .5s;
    -o-transition: background .5s;
    -ms-transition: background .5s;
    transition: background .5s;
}

#sidebar_menu span.pin {
    display: block;
    position: absolute;
    right: 0px;
    top: 0px;
    height: 54px;
}

    #sidebar_menu span.pin span {
        -ms-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg) translate(15px, 0px);
    }

    #sidebar_menu span.pin.pinned span {
        -ms-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        transform: rotate(90deg) translate(20px, 0px);
    }

.sidebar_name {
    padding-top: 25px;
    color: #fff;
    opacity: .7;
}

.sidebar-nav li {
    line-height: 52px;
    text-indent: 20px;
}

    .sidebar-nav li a {
        color: white;
        display: block;
        text-decoration: none;
        font-size: 16px;
    }

        .sidebar-nav li.active > a, .sidebar-nav li a:hover {
            background-color: #00b8b1;
            color: white;
        }

        .sidebar-nav li a:active,
        .sidebar-nav li a:focus {
            text-decoration: none;
        }

.mainwrapper #sidebar_menu li a svg, .mainwrapper .sidebar-nav li a svg {
    float: right;
    padding-right: 17px;
    fill: white;
}

.mainwrapper.active #sidebar_menu li a img, .mainwrapper.active .sidebar-nav li a img, .mainwrapper.active #sidebar_menu li a svg, .mainwrapper.active .sidebar-nav li a svg {
    float: left;
    padding-left: 17px;
    padding-right: 0px;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    line-height: 60px;
    font-size: 18px;
}

    .sidebar-nav > .sidebar-brand a {
        color: #999999;
    }

        .sidebar-nav > .sidebar-brand a:hover {
            color: #fff;
            background: none;
        }

#main_icon {
    float: right;
    padding-right: 65px;
    padding-top: 15px;
    font-size: 1.5em;
    height: 54px;
}

.mainwrapper.active #main_icon {
    float: left;
    padding-left: 0px;
    padding-right: 50px;
}

.sub_icon {
    float: right;
    padding-right: 65px;
    padding-top: 20px;
}

img.menu-icon {
    height: 38px;
}

    img.menu-icon path {
        fill: white;
    }

.mainwrapper .sub_icon {
    display: none;
}

.mainwrapper.active .sub_icon {
    display: inline;
}

.mainwrapper:not(.active) .sidebar-label {
    display:none;
}


.content-header {
    height: 65px;
    line-height: 65px;
}

    .content-header h1 {
        margin: 0;
        margin-left: 20px;
        line-height: 65px;
        display: inline-block;
    }

.glyphicon:empty, .fa:empty {
    width: 1em;
}


.sidebar-nav .dropdown-menu {
    position: static;
    background-color: #181f23;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    border: 0px none;
}

    .sidebar-nav .dropdown-menu > li > a {
        line-height: 52px;
    }

.sidebar-wrapper .dropdown-backdrop {
    z-index: -1 !important;
}

@media (max-width:767px) {
    .mainwrapper {
        padding-left: 70px;
        transition: all .4s ease 0s;
    }

    .sidebar-wrapper {
        left: 70px;
    }

    .mainwrapper.active {
        padding-left: 280px;
    }

    #page-content-wrapper {
        position: absolute;
        left: 70px;
        width: calc(100vw - 70px);
    }

    .mainwrapper.active .sidebar-wrapper {
        left: 280px;
        width: 280px;
        transition: all .4s ease 0s;
        z-index: 100;
    }

    .mainwrapper.active #page-content-wrapper {
        z-index: 0;
    }
}

.mainwrapper.nopadleft {
    padding-left: 0px;
}

    .mainwrapper.nopadleft #page-content-wrapper {
        left: 0px;
    }
