/*!
 * Start Bootstrap - Simple Sidebar HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 *
 * Modified by eag57 for use in CALS Pyramid Framework
 */


#sidebar-wrapper, .detail-wrapper {
    z-index: 1020; /* to show above some bootstrap items, but below modals, etc */
    position: fixed;
    top: 53px;
    height: 100%;
    overflow-y: auto;
    background: #d8d2c9;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#sidebar-wrapper {
    left: -225px;
    width: 225px;
}
.detail-wrapper {
    right: -500px;
    width: 500px;
    background: #4d4e53;
}
.detail-panel-wrapper {
    padding: 10px 10px 43px;
    width: 100%;
}
#wrapper.toggled #sidebar-wrapper {
    left: 0;
}
#wrapper.yammer-toggled #yammer-wrapper {
    right: 0;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
    margin-top: 53px;
}


/* Sidebar Menu Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 225px;
    margin: 0;
    padding: 0;
    padding-bottom: 5rem;
    list-style: none;
    font-size: 0.925rem;
}
.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}
.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #4d4e53;
    transition: 0.25s;
}
.sidebar-nav li a:focus,
.sidebar-nav li a:hover,
.sidebar-nav li a:active {
    text-decoration: none;
    color: #3498db;
}
.sidebar-nav li a[href]:focus,
.sidebar-nav li a[href]:hover,
.sidebar-nav li a[href]:active,
.sidebar-nav li span:hover:has(a[href]),
.sidebar-nav li span:has(a[href]:focus),
.sidebar-nav li span:has(a[href]:hover),
.sidebar-nav li span:has(a[href]:active) {
    background: rgba(255,255,255,0.2);
}
.sidebar-nav li.no-link a,
.sidebar-nav li span:has(a[href]) {
    cursor: pointer;
}
.sidebar-nav li a.active,
.sidebar-nav li span.active,
.sidebar-nav li a.active:not([href]):not([tabindex]) {
    color: #b31b1b;
    font-weight: bold;
}

.sidebar-nav > .sidebar-brand {
    height: 50px;
    font-size: 18px;
    line-height: 50px;
}
.sidebar-nav > .sidebar-brand a {
    color: #4d4e53;
}
.sidebar-nav > .sidebar-brand a:hover {
    color: #3498db;
    background: none;
}
.sidebar-nav .divider {
    background-color: #cac4bc;
    height: 2px;
    margin: 3px 0;
    overflow: hidden;
}
.sidebar-nav ul {
    list-style: none;
}
.sidebar-nav ul.level2 a, .sidebar-nav ul.level2 .no-link>span {
    padding-left: 20px;
}
.sidebar-nav ul.level3 a, .sidebar-nav ul.level3 .no-link>span {
    padding-left: 40px;
}


.sidebar-nav li.has-submenu .svg-inline--fa {
    float: right;
    position: relative;
    top: 13px;
    right: 10px;
    opacity: 0;
    transition: opacity .25s ease;
}
.sidebar-nav li.has-submenu :hover .svg-inline--fa {
    opacity: 1;
}

