/*!
 * 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.
 */

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    top: 64px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #222;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    /*box-shadow: inset -3px 1px 9px -4px #ABABAB;
    -webkit-box-shadow: inset -3px 1px 9px -4px #ABABAB;
    -moz-box-shadow: inset -3px 1px 9px -4px #ABABAB;
    -o-box-shadow: inset -3px 1px 9px -4px #ABABAB;*/
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    /*top: 50px; removed for SP*/
    position: absolute;
    /*padding: 15px; removed for SP*/
    padding: 0px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

/* Sidebar Styles */


.sidebar-nav {
    position: absolute;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar-nav li {
    text-indent: 25px;
    line-height: 45px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
li.sub-nav {
    border-bottom: none;
}
.sub-nav a {
    font-size: 12px !important;
    line-height: 1.8em;
    background: rgba(0,0,0,0.4);
    border-bottom: none;
    text-indent: 35px;
}
.active.sub-nav a {
    background: #F9953D;
}
.sidebar-nav h4 {
    color: #FFF;
}
.sidebar-nav hr {
    border-top: 1px solid rgba(255,255,255,0.2);
}
.toc-tab {
    border-bottom: none !important;
    text-indent: 0px !important;
}
.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #FFF;
    font-size: 16px;
    padding: 8px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-nav li.active a {
    color:white;
}
.sidenav-menu i {
    text-indent: 0;
}
.sidenav-menu-holder {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}
.sidebar-nav li a:hover {
    text-decoration: none;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav .active {
    background: #F9953D;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

/* TOC Styling */
#bookmark,#contents {
    background: none;
}

@media(min-width:992px) {
    #wrapper {
        padding-left: 250px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        /*padding: 20px; removed for SP*/
        padding: 0px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}

@media(min-width:1400px) {
    #wrapper {
        padding-left: 300px;
    }

    #sidebar-wrapper{
        width: 300px;
    }
    #wrapper.toggled #sidebar-wrapper {
        left: 300px;
        margin-left: -300px;
    }

    #wrapper.toggled #page-content-wrapper {
        margin-left: -300px;
    }

    .sidebar-nav {
        width: 300px;
    }

    #wrapper.toggled #page-content-wrapper {
        position: absolute;
        margin-left: 0px;
    }
}


