#spa.admin, #spa.admin #spa-shell-wrapper, #spa.admin #spa-shell-wrapper #spa-shell-main, #spa.admin #spa-shell-wrapper #spa-shell-main > .row, #spa.admin #spa-shell-wrapper #spa-shell-main-content, #spa.admin #spa-shell-wrapper #spa-shell-main-content > .row {
    height: 100%;
}

#spa-shell-admin-head,
#spa-shell-head {
    border: 0;
}

#spa-shell-main-nav {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
}

#spa-shell-main-nav .nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

#spa-shell-main-nav .nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}

#spa-shell-main-nav .nav-sidebar > .active > a,
#spa-shell-main-nav .nav-sidebar > .active > a:hover,
#spa-shell-main-nav .nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}

#spa-shell-main {
    padding: 20px 40px;
}

#spa-shell-head-search {
    z-index: 9999;
    position: relative;
}

/*
 * ALERT
 */

#spa-shell-alert {
    z-index: 10000;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

#spa-shell-alert > .alert {
    margin: 0;
    border-radius: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 1;
    display: block !important;
}

#spa-shell-alert > .alert.hide {
    opacity: 0 !important;
    z-index: -1;
    visibility: hidden;
}

/*
 * SIDEBAR
 */

.spa-shell-sidebar-nav li a {
    text-decoration: none !important;
}


#spa-shell-sidebar-wrapper {
    z-index: 10;
    right: 280px;
    top: 100px;
    height: 100%;
    margin-right: -280px;
    overflow-y: visible;
    overflow-x: visible;
    /*background: #2e2e2e;*/
    transition: all .5s ease;
    width: 280px;
    position: fixed;
    padding: 0px;
    padding-right: 20px;
    margin-bottom: 20px;
}

#spa-shell-sidebar-wrapper .nav-stacked>li+li {
    margin-top: 0px;
}

#spa-shell-sidebar-wrapper .tooltip.left {
    left: auto !important;
    right: 280px;
    display: none !important;
    text-align: center !important;
}

.toggled #spa-shell-sidebar-wrapper .tooltip.left {
    right: 80px;
    display: block !important;
}

#spa-shell-side-nav-consult-initial.active:hover + .tooltip {
    display: none !important;
}

#spa.workspace #spa-shell-sidebar-wrapper {
    top: 80px;
}

#spa-shell-sidebar-wrapper > div {
    background-color: #fff;
    padding: 0px;
    -webkit-box-shadow: 0 8px 17px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
    border-radius: 2px;
    border: 0;
    height: auto;
}

.spa-shell-sidebar-nav li:last-child a {
    border-bottom: 1px solid #eee;
}

.spa-shell-sidebar-nav.last li:last-child a {
    border-bottom: none;
}

.spa-shell-sidebar-nav li:last-child:hover,
.spa-shell-sidebar-nav li:last-child {
    margin-bottom: 10px;
}

.spa-shell-sidebar-nav.last li:last-child {
    margin-bottom: 0px;
}

ul.spa-shell-sidebar-nav {
    /*position: absolute;
    top: 0;
    margin: 1px 0 0;*/
    padding: 0;
    list-style: none;
}

.spa-shell-sidebar-nav li {
    text-indent: 15px;
    line-height: 40px;
}

.spa-shell-sidebar-nav li a {
    display: block;
    color: #333;
    border-radius: 0px;
    font-family: Roboto;
    font-weight: 300;
    font-size: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.spa-shell-sidebar-nav li li a {
    color: #777;
}

#spa-shell-side-nav-consult-initial .spa-shell-sidebar-nav li a {
    font-size: 13px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 20px;
    line-height: 26px;
}

.toggled #spa-shell-side-nav-consult-initial .spa-shell-sidebar-nav li a {
    padding-left: 5px;
}

.toggled #spa-shell-side-nav-consult-initial .spa-shell-sidebar-nav li:hover a {
    background: #67bed5;
    color: #fff;
}

.toggled #spa-shell-side-nav-consult-initial .spa-shell-sidebar-nav {
    clear: both;
}

#spa-shell-sidebar-wrapper ul.spa-shell-sidebar-nav ul.spa-shell-sidebar-nav li:last-child {
    margin-bottom: 2px;
    padding-bottom: 0;
}

#spa-shell-side-nav-consult-initial .spa-shell-sidebar-nav li a .fa-stack {
    height: 1.4em;
    line-height: 1.4em;
}

.spa-shell-side-nav-item .fa-stack {
    margin-right: 10px;
}

.spa-shell-sidebar-nav.nav-pills > li.active > a,
.spa-shell-sidebar-nav.nav-pills > li.active > a:focus,
.spa-shell-sidebar-nav.nav-pills > li.active > a:hover,
.spa-shell-sidebar-nav.nav-pills > li > a:hover {
    background: #00bcd5;
    color: #fff;
}

#spa-shell-side-nav-consult-initial .spa-shell-sidebar-nav.nav-pills > li.active > a,
#spa-shell-side-nav-consult-initial .spa-shell-sidebar-nav.nav-pills > li.active > a:focus,
#spa-shell-side-nav-consult-initial .spa-shell-sidebar-nav.nav-pills > li.active > a:hover,
#spa-shell-side-nav-consult-initial .spa-shell-sidebar-nav.nav-pills > li > a:hover {
    background: #67bed5;
    color: #fff;
}

#spa-shell-wrapper.toggled #spa-shell-sidebar-wrapper li .spa-shell-side-nav-item-label {
    display: none;
}

ul.spa-shell-sidebar-nav {
    width: 260px
}

.spa-shell-side-nav-item > ul.spa-shell-sidebar-nav {
    display: none;
}

.spa-shell-side-nav-item.active > ul.spa-shell-sidebar-nav {
    display: block;
}

#spa-shell-wrapper.toggled #spa-shell-sidebar-wrapper,
#spa-shell-wrapper.toggled #spa-shell-sidebar-wrapper ul.spa-shell-sidebar-nav {
    width: 75px
}

#spa-shell-wrapper.toggled .spa-shell-sidebar-nav li,
#spa-shell-wrapper.toggled .spa-shell-sidebar-nav li a {
    width: 55px;
}

#spa-shell-wrapper.toggled .spa-shell-sidebar-nav li {
    height: auto;
}

#spa-shell-wrapper.toggled .spa-shell-sidebar-nav li a {
    height: 50px;
}

#spa-shell-wrapper.toggled .spa-shell-sidebar-nav li li a {
    height: 30px;
}

#spa-shell-wrapper.toggled #spa-shell-sidebar-wrapper:hover {
    /*width: 280px*/
}

#spa-shell-wrapper {
    transition: all .5s ease;
    opacity: 0;
}

#spa-shell-admin-head,
#spa-shell-head {
    transition: all .5s ease;
    opacity: 0;
}

#spa-shell-main {
    width: auto;
    position: relative;
    transition: all .5s ease;
}

#spa-shell-main-content {
    transition: all .5s ease;
}

#spa-shell-main-content .col-sm-1 {
    position: relative;
}

#spa-shell-main-content .col-sm-1 .nav-sidebar {
    position: absolute;
    top: 70px;
    left: 50%;
    margin-left: -28px;
}

#spa-shell-wrapper.toggled #spa-shell-main {
    overflow: hidden;
    position: relative;
    margin-left: 0;
    margin-right: -200px;
    transition: all .5s ease;
    width: auto;
    height: 100%;
}

#spa-shell-wrapper #spa-shell-siderbar-fix-it {
    display: none;
}

#spa-shell-wrapper.toggled #spa-shell-siderbar-release-it {
    display: none;
}

#spa-shell-wrapper.toggled #spa-shell-siderbar-fix-it {
    display: block;
}

#spa.admin #spa-shell-sidebar-wrapper,
#spa.user #spa-shell-sidebar-wrapper,
#spa.dashboard #spa-shell-sidebar-wrapper,
#spa.dossier #spa-shell-sidebar-wrapper,
#spa.empty #spa-shell-sidebar-wrapper,
#spa.tasks #spa-shell-sidebar-wrapper,
#spa.filesmanager #spa-shell-sidebar-wrapper,
#spa.agenda #spa-shell-sidebar-wrapper,
#spa.logout #spa-shell-sidebar-wrapper {
    display: none !important;
}

#spa.dashboard #spa-shell-wrapper,
#spa.dossier #spa-shell-wrapper,
#spa.tasks #spa-shell-wrapper,
#spa.agenda #spa-shell-wrapper,
#spa.filesmanager #spa-shell-wrapper {
    padding-right: 0 !important;
}

#spa.dashboard #spa-shell-wrapper.toggled #spa-shell-main,
#spa.dossier #spa-shell-wrapper.toggled #spa-shell-main,
#spa.tasks #spa-shell-wrapper.toggled #spa-shell-main,
#spa.agenda #spa-shell-wrapper.toggled #spa-shell-main,
#spa.filesmanager #spa-shell-wrapper.toggled #spa-shell-main {
    margin-right: 0px;
}

/*
 * TOPBAR
 */

.spa-shell-navbar-brand {
    padding: 0 !important;
}

.spa-shell-navbar-brand img {
    max-height: 60px;
    margin-left: 15px;
    margin-right: 15px;
}

.spa-shell-navbar-brand em {
    font-size: 0.6em;
}

#spa-shell-admin-head,
#spa-shell-head {
    height: 80px; /* change also body top margin et aussi le top de #spa-shell-sidebar-wrapper */
    padding-top: 8px;
    font-family: Roboto;
    font-weight: 300;
    border: 0;
    background-color: #0b78b3;
    /*box-shadow: 0 1px 2px rgba(0, 0, 0, .35);*/
    z-index: 100;
    color: #fff;
    border-radius: 0;
    margin-bottom: 0
}

.spa-shell-navbar-brand,
#spa-shell-admin-head a,
#spa-shell-head a {
    color: #eeeeee;
    font-size: 16px;
    font-weight: 300;
    transition: all .5s ease;
}

#spa-shell-admin-head .navbar-header a:hover,
#spa-shell-head .navbar-header a:hover {
    color: #ffffff;
    background-color: rgba(255,255,255,.1) !important;
}

#spa-shell-admin-head-nav ul.nav li,
#spa-shell-head-nav ul.nav li {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: 10px;
}

#spa-shell-admin-head-nav ul.nav .dropdown-menu li,
#spa-shell-head-nav ul.nav .dropdown-menu li {
    margin-right: 0;
}

#spa-shell-admin-head-nav ul.nav li a,
#spa-shell-head-nav ul.nav li a {
    padding-left: 0px;
}

#spa-shell-admin-head-nav ul.nav li.active,
#spa-shell-admin-head-nav ul.nav li:hover,
#spa-shell-head-nav ul.nav li.active,
#spa-shell-head-nav ul.nav li:hover {
    color: #ffffff;
    background-color: rgba(255,255,255,.1) !important;
}

#spa-shell-admin-head-nav ul.nav li.active a,
#spa-shell-head-nav ul.nav li.active a {
    background: transparent;
}

#spa-shell-admin-head-nav ul.nav li a,
#spa-shell-head-nav ul.nav li a {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 40px;
}

#spa-shell-head-nav-tasks {
    position: relative;
}

#spa-shell-filesmanager-remaining,
#spa-shell-filesmanager-expired,
#spa-shell-tasks-remaining,
#spa-shell-tasks-expired {
    position: absolute;
    right: 0px;
    min-width: 0 !important;
    text-indent: 0;
    opacity: 0.75;
}

.active #spa-shell-filesmanager-remaining,
.active #spa-shell-filesmanager-expired,
.active #spa-shell-tasks-remaining,
.active #spa-shell-tasks-expired {
    opacity: 1;
}

#spa-shell-filesmanager-remaining,
#spa-shell-tasks-remaining {
    top: -10px;
    color: #000 !important;
    background-color: #fff !important;
}

#spa-shell-filesmanager-expired,
#spa-shell-tasks-expired {
    bottom: -10px;
    color: #ffffff !important;
}

#spa-shell-filesmanager-expired,
#spa-shell-tasks-expired {
    background-color: #d9534f;
}

.spa-shell-head-nav-profile .glyphicon-chevron-down {
    top: 3px;
}

.spa-shell-head-nav-profile ul.dropdown-menu {
    transition: all .2s ease;
    padding: 0;
}

.spa-shell-head-nav-profile > li {
    display: block;
    margin-right: 5px;
}

.spa-shell-head-nav-profile li.spa-shell-head-nav-item li {
    display: block;
    padding: 0 !important;
}

.spa-shell-head-nav-profile ul.dropdown-menu li a {
    display: block !important;
    color: #333333 !important;
    padding: 10px 15px !important;
    text-align: left !important;
    text-decoration: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 200px !important;
}

.spa-shell-head-nav-profile ul.dropdown-menu > li > a i.fa {
    margin-left: 5px;
}

.spa-shell-head-nav-profile ul.dropdown-menu li:hover a,
.spa-shell-head-nav-profile ul.dropdown-menu li.selected a {
    background: #00bcd5 !important;
    color: #ffffff !important;
}

#spa.filesmanager,
#spa.filesmanager #spa-shell-wrapper,
#spa.filesmanager #spa-shell-wrapper #spa-shell-main,
#spa.filesmanager #spa-shell-wrapper #spa-shell-main .row,
#spa.filesmanager #spa-shell-wrapper #spa-shell-main .row #spa-shell-main-content {
    height: 100%;
}




