.l-sidebar {
    transition: all 0.4s ease;
}

.l-sidebarBack {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    z-index: 100;
    visibility: hidden;
}
.l-sidebarBack.active {
    visibility: visible;
}

div[data-role=statisticLeft] {
    transition: all 0.4s ease;
}
div[data-role=statisticBack] {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    z-index: 100;
    visibility: hidden;
}
div[data-role=statisticBack].active {
    visibility: visible;
}

@media screen and (max-width: 991px) {
    .l-sidebar {
        position: fixed;
        top: 0;
        width: 220px;
        height: 100%;
        /*height: -webkit-calc(100% - 50px);*/
        /*height: -moz-calc(100% - 50px);*/
        /*height: calc(100% - 50px);*/
        padding: 0;
        margin: 0;
        background: #143960;
        -webkit-box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.2);
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 1040;
    }
    .l-sidebar:not(.active) {
        left: -220px;
    }
    .l-sidebar.active {
        left: 0;
    }
    /* l-sidebar layout - mobile */
    .l-sidebar ul,
    .l-sidebar ul li,
    .l-sidebar ul li a {
        margin: 0;
        padding: 0;
        border: 0;
        list-style: none;
        font-weight: normal;
        text-decoration: none;
        position: relative;
    }
    .l-sidebar ul {
        width: 220px;
        height: 100%;
        background: #143960;
    }
    .l-sidebar a {
        line-height: 1.3;
    }
    .l-sidebar .container {
        padding: 0;
    }
    .l-sidebar ul > li > a {
        display: block;
        color: #ffffff;
        font-size: 16px;
        background: #2c4d70;
        border-bottom: 1px solid #143960;
        text-shadow: 0 -1px 1px #143960;
    }
    .l-sidebar ul > li > a:hover {
        display: block;
        background: #1891c8;
        color: #ffffff;
        border-bottom: 1px solid #1891c8;
        text-shadow: 0 -1px 1px #143960;
    }
    .l-sidebar ul > li > a > span {
        display: block;
        padding: 12px 10px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }
    .l-sidebar ul > li > a:hover {
        text-decoration: none;
    }
    .l-sidebar ul > li.active {
        border-bottom: none;
    }
    .l-sidebar ul > li.has-sub > a span {
        background: url('../images/main/icon_plus.png') 96% center no-repeat;
    }
    .l-sidebar ul > li.has-sub.active > a span {
        background: url('../images/main/icon_minus.png') 96% center no-repeat;
    }
    .l-sidebar ul > li > a > small {
        display: none;
    }
    .l-sidebar ul ul {
        display: none;
        background: #143960;
    }
    .l-sidebar ul ul li {
        padding: 0;
        background: #143960;
    }
    .l-sidebar ul ul a {
        display: block;
        color: #a1b0bf;
        font-size: 14px;
        font-weight: normal;
        text-align: center;
        text-shadow: none;
        border-bottom: 1px solid #143960;
        padding: 10px 0;
    }
    .l-sidebar ul ul a:hover {
        color: #ffffff;
        background: #143960;
        border-bottom: 1px solid #143960;
    }
    div[data-role=statisticLeft] {
        position: fixed;
        display: block;
        top: 0;
        width: 260px;
        background: #fff;
        height: 100%;
        -webkit-box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        z-index: 1040;
    }
    div[data-role=statisticLeft]:not(.active) {
        left: -260px;
    }
    div[data-role=statisticLeft].active {
        left: 0;
    }
    div[data-role=statisticLeft] .panel {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 992px) {
    .l-sidebar {
        float: right;
        padding: 0;
        margin: 0;

    }
    .lnb-bar {
        background: #ffffff url('../images/main/lnb-line.png') 0 79px repeat-x;
    }
    /* l-sidebar layout - web */
    .l-sidebar ul {
        padding: 0;
        margin: 2px 0;

    }
    .l-sidebar ul > li {
        float: left;
        width: 170px;
        list-style: none;
        vertical-align: top;
    }
    .l-sidebar ul > li > a {
        display: block;
        width: 100%;
        text-decoration: none;
        padding: 11px 0;
        background: #ffffff;
    }
    .l-sidebar ul > li > a:hover {
        background: #fff url('../images/main/lnb-hover.png') bottom repeat-x;
    }
    .l-sidebar ul > li > a > span,
    .l-sidebar ul > li > a > small {
        display: block;
        text-align: center;
        padding: 0;
        margin: 0 auto;
    }
    .l-sidebar ul > li > a > span {
        color: #333333;
        font-size: 21px;
    }
    .l-sidebar ul > li > a > small {
        color: #999999;
        font-size: 12px;
        margin-top: 8px;
    }
    .l-sidebar ul > li > a:hover > span,
    .l-sidebar ul > li > a:hover > small {
        color: #336293;
    }
    .l-sidebar ul > li:first-of-type > ul {
        border-left: 1px solid #b2cae3;
    }
    .l-sidebar ul > li > ul {
        height: 210px;
        padding: 0;
        margin: 0 0 0 0;
        /*background: #ffffff;*/
        border-right: 1px solid #b2cae3;
    }
    .l-sidebar ul > li > ul > li {
        display: block;
    }
    .l-sidebar ul > li > ul > li > a {
        display: block;
        width: 100%;
        color: #666666;
        padding: 10px 10px 10px 18px;
        margin: 0;
        background: url('../images/main/lnb-smenu-dot.png') 10px 50% no-repeat;
    }
    .l-sidebar ul > li > ul > li > a:hover {
        color: #ffffff;
        background: #336293;
    }
    div[data-role=statisticLeft] {
        position: relative;
        width: 100%;
        background: transparent;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        overflow-y: inherit;
    }
}
@media (min-width:1200px) {
    .l-sidebar ul > li { width: 210px; }
}