﻿/*  Begin Sidebar 
    Sidebar is a fixed div which slides in the viewport from the left.
    Used to display the "main menu".
*/

#sidebar-container {
   -webkit-transform: translateZ(0);
   -moz-transform: translateZ(0);
   -ms-transform: translateZ(0);
   -o-transform: translateZ(0);
   transform: translateZ(0);

    display: none; /* No wider than its content */
    height: 100%;
    width: 270px;

    margin-left: -500px; /* Initialy hidden */

    position: fixed;
    top: 70px; /* Clear tge navbar */
    bottom: 0;
    left: 0;
    z-index: -9999; /* Make sure it's on top of everything */

    overflow-y: auto;

    background-color: rgb(53,56,63);
}

#sidebar-container > div > a > div:nth-child(2){
    font-weight: bold;
}

#sidebar-container [data-controller=Home] {
    display: inline-block;
    width: 272px;
    border-right : 8px solid #003da5 !important;
}

.sidebar {
    font-size: 1.25em;
}

.sidebar .hr {
    margin: 1em;
    height: 2px;
    border-bottom: 2px solid #d8d8d8;
}

.sidebar .list-group-item div:first-of-type {
    font-size: 1.25em;
    font-weight: normal !important;
    margin-right: 1em;
}

.sidebar .list-group-item.second-level div:first-of-type {
    font-size: 1em;
    font-weight: normal !important;
    margin-right: 1em;
}

.sidebar a div:nth-child(2) {
    font-size: 0.75em;
    line-height: 1em;
    vertical-align: middle;
    position: relative;
    top: -4px;
}

.sidebar .list-group-item.list-group-label{
    font-size: 0.75em;
    color: white;
    border-left: solid lightgray 5px !important;
    background-color: rgb(44,47,54);
}

.list-group-label {
    position: relative;
}

.sidebar .list-group-item.second-level {
    padding-left: 2em;
    background-color: rgb(44,47,54);
    border-left: solid lightgray 5px !important;
}

.sidebar .list-group-item.second-level div:nth-child(2) {
    top: -1px;
}

.sidebar a,
.sidebar i {
    color: rgb(205,205,205);
}

.sidebar .list-group-item.separator {
    height: 10px;
}

.sidebar .glyphicon.separator {
    top: -10px;
}

.sidebar a:hover {
    color: rgb(0,61,165);
}

.sidebar a.list-group-item div:nth-child(-n+2) {
    display: inline-block;
}

.sidebar .list-group-item {
    background-color: rgb(53,56,63);
    border: 0px !important;
    border-radius: 0px !important;

    transition: background-color ease-in 250ms;
}

.sidebar .list-group-item:not(.nofx):hover,
.sidebar .list-group-item:not(.nofx):focus {

    background-color: black;
    color: white;
}

.sidebar .list-group-item:not(.nofx):active {
    -moz-transition: background-color 0.25s linear;
    -o-transition: background-color 0.25s linear;
    -webkit-transition: background-color 0.25s linear;
    transition: background-color 0.25s linear;
    background-color: black;
}
/* End Sidebar */

/* User Info */
#sidebar-container .client-name {
    font-size: 24px;
    font-family: 'Open Sans';
    font-weight: 300;
    color: white;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 10px;
    cursor: default;
}

/* -------- new sidebar ---------*/

#sidebar-container2 {
    position:absolute;
    top:0px;
    left:0px;
    width:50px;
    overflow-x:hidden;
    min-height:100%;
    background-color:rgb(53,56,63);
    z-index:222;
    padding-top:70px;
}

.client-name-wraper {
    width:270px;
    background-color:#2c2f36;
}

#sidebar-container2 .client-name {
    font-size: 24px;
    font-weight: 300;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    cursor: default;
    display:none;
}

html {
    min-height:100%;
    position:relative;
}

body {
    height:100%;
    margin-top:0px;
    padding-top:100px;
}

#sidebarItemWrap {
    width:270px;
}

.menuIco {
    width:50px;
    text-align:center;
}

.sidebar .list-group-item {
    padding:7px 0px;
}

#doc-types {
    display:none;
}

.separatorWidth {
    text-align:center;
    width:44px;
}

.sidebar .glyphicon.separator {
    top: inherit;
}

.sidebar .list-group-item.separator {
    height:inherit;
}

#menuButtonHeader2 {
    margin-right:10px;
    width:23px;
}

.sidebar .list-group-item div:first-of-type {
    margin-right:0px;
}

.loggedHas {
    margin-top: -20px;
    margin-right: 17px;
    float: right;
}

.navbar-fixed-top, .navbar-fixed-bottom {
    position:absolute;
}

#expandedReports {
    display:none;
}

#wraper {
    position:relative;
    height:100%;
}

.whirl {
    z-index:221;
}