﻿.left-wrapper {
}

    .left-wrapper .box .box-tools {
        top: 3px;
    }

.dropdown-menu-left li a {
    line-height: 18px;
}

.left-wrapper #left-q {
    width: 100%;
    border: 0;
    background: #fafafa;
    font-family: FontAwesome;
}

.left-wrapper .box-header .box-tools {
    display:none;
}

@media (max-width:776px) {
    .left-wrapper ul.nav {
        display: none;
    }

    .left-wrapper .box-header .box-tools {
        top:11px;
        right:15px;
    }
    .left-wrapper .box-header .box-tools i{
        color:#666;
        font-size:20px;
    }
}

@media (max-width:767px) {
    .left-wrapper {
        padding: 15px;
        padding-bottom: 0;
        width: 100%;
        background: #ecf0f5;
        box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    }

    .sidebar-open .left-wrapper {
    }

    .left-wrapper .box {
        background: #fdfdfd;
        margin-bottom: 0;
    }

        .left-wrapper .box .box-header {
            padding: 10px;
            background: #fafafa;
        }

        .left-wrapper .box .box-body {
            overflow: hidden;
        }

    .dropdown-menu-left {
        margin: 0;
        padding: 0;
        border: 0;
        left: 0;
        border-radius: 0;
        background: #eee;
        width: 100%;
    }
}

@media (min-width:768px) {

    .wrapper {
        background-image:url(../img/left_bg.png);
        background-repeat:repeat-y;
    }

    .content-wrapper {
        background: #ecf0f5 !important;
    }

    .main-sidebar {
        background: #222d32;
    }

    .left-aside {
        background: #ffffff;
        min-height: 100%;
        float: left;
    }

    .left-wrapper {
        position: absolute;
        width: 120px;
        margin-left: 120px;
        min-height: calc(100% - 50px);
        background: #ffffff;
        height: calc(100% - 50px);
    }

        .left-wrapper .box {
            border-radius: 0;
            border: 0;
            background: none;
            box-shadow: 0 0px 0px #f4f4f4;
            margin-bottom: 0;
        }

            .left-wrapper .box .box-header {
                padding: 5px 8px;
                line-height: 25px;
                background: #ecf0f5;
                margin: 10px;
                margin-bottom: 0;
                border-bottom: 0 !important;
            }

            .left-wrapper .box .box-title {
                font-size: 14px !important;
            }

        .left-wrapper .nav li .label {
            margin-top: 5px;
        }

        .left-wrapper .nav li.active > a {
            background: #ecf0f5;
        }

        .left-wrapper .nav li > a {
            margin: 10px 10px;
            line-height: 20px;
            padding: 6px 8px;
            font-size: 14px;
            color: #666;
            display: block;
            overflow: hidden;
            word-break: keep-all;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

            .left-wrapper .nav li > a > i {
                margin-top: 3px;
            }

            .left-wrapper .nav li > a > .badge {
                position: absolute;
                right: 3px;
                top: 6px;
            }

        .left-wrapper .nav li > ul > li > a {
            padding: 5px 8px;
            line-height: 25px;
        }

        .left-wrapper .dropdown i.pull-right {
            margin-top: 3px;
        }

    .sidebar-mini.sidebar-collapse #leftPanel ~ .content-wrapper, .sidebar-mini.sidebar-collapse .right-side, .sidebar-mini.sidebar-collapse .main-footer {
        margin-left: 170px !important;
        z-index: 840;
    }

    .sidebar-mini.sidebar-collapse .left-wrapper {
        margin-left: 50px;
    }

    .content-wrapper, .right-side, .main-footer {
        margin-left: 240px;
    }

    .content-wrapper, .right-side {
    }

    .main-sidebar + .content-wrapper {
        margin-left: 120px !important;
    }

    .sidebar-mini.sidebar-collapse .left-wrapper + .content-wrapper {
        margin-left: 170px !important;
    }

    .box-body:after {
        clear: none;
    }

    .box-header:after, .box-footer:after {
    }

    .dropdown-menu-left {
        margin: 0;
        padding: 0;
        left: 110px;
        top: 0;
        border: 0;
        border-radius: 0;
        background: #eee;
    }

        .dropdown-menu-left a {
            margin: 0 !important;
            padding-left: 15px !important;
        }

    .skin-blue .sidebar-menu > li.active > a {
        background: #fff;
    }
}