/*!
 * Start Bootstrap - Simple Sidebar (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

body {
    overflow-x: hidden;
}

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
    -moz-transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
    -o-transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
    transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
}


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

    #wrapper.untoggled {
        padding-left: 90px;
    }


#sidebar-wrapper {
    animation-fill-mode: forwards;
    position: absolute;
    box-shadow: 5px 0 10px #666;
    z-index: 1000;
    position: fixed;
    left: 320px;
    width: 90px;
    height: 100%;
    margin-left: -320px;
    background: #000;
    -webkit-transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
    -moz-transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
    -o-transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
    transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
    background-image: url('../images/gears.jpg');
    background-size: auto 100%;
    background-repeat: no-repeat;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-loading {
    display: none;
}

.sidebar-fadein {
    animation: 1.3s ease-out 0s 1 fadeIn;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    3% {
        opacity:0;
        transform: perspective(500px) translate3d(-70px,0,50px);
    }

    100% {
        opacity: 1;
    }
}

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

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

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

/* Sidebar Styles */

.sidebar-video {
    position: absolute;
    display: inline-block;
    box-sizing: border-box;
    max-height: 100%;
    float: left;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 320px;
    margin: 0;
    padding: 0;
    list-style: none;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}



.sidebar-nav-untoggled > li > a > i {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: rgba(200,200,200,255);
}

.sidebar-nav-untoggled > li {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: rgba(200,200,200,255);
}

.sidebar-nav-toggled > li > a {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: rgba(200,200,200,255);
}

.sidebar-nav-toggled > li {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: rgba(200,200,200,255);
}

.sidebar-nav-toggled > .sidebar-brand {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: rgba(200,200,200,255);
}

.sidebar-nav-untoggled > .sidebar-brand {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: rgba(200,200,200,0);
}


.sidebar-nav-untoggled > li > a > i {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: rgba(200,200,200,255);
}

.sidebar-nav-untoggled > li > a {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: rgba(200,200,200,0);
}


.sidebar-nav li {
    line-height: 40px;
}

.sidebar-nav > li > a {
    display: block;
    text-indent: 24px;
    height: 60px;
}

.user-untoggled {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    max-height: 0;
    opacity: 0;
}

.user-toggled {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    margin-top: 40px;
    max-height: 40px;
    opacity: 1;
}

.div-img-user {
    margin-top: 24px;
    padding-bottom: 20px;
    max-width: 94px;
    -webkit-transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
    -moz-transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
    -o-transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
    transition: all 0.8s cubic-bezier(0.75, 0, 0.25, 1);
}

.subitem {
    box-shadow: 0 0 15px #fff;
    padding-left: 0;
    text-indent: 60px;
    background-color: rgba(0,0,0,.5);
}

    .subitem > li {
        line-height: 40px;
    }

        .subitem > li > a {
            display: block;
            text-indent: 24px;
            height: 40px;
            color: cornflowerblue;
        }


.sidebar-nav > li > a > i {
    font-size: 24px;
    text-indent: 0;
    display: inline-block;
    padding-right: 14px;
    margin-left: 6px;
    margin-top: 16px;
    color: rgba(200,200,200,255);
    text-align: center;
    width: 45px;
}

.sidebar-nav > li > a > p {
    display: inline;
    text-decoration: none;
    text-align: left;
}


.sidebar-nav li div div:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

    .sidebar-nav li div div:hover div {
        background: unset;
    }

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

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

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
    text-align: center;
    margin-left: -20px;
}


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

#wrapper {
    padding-left: 0;
}

    /*#wrapper.toggled {
        /*padding-left: 320px;
    }*/

#sidebar-wrapper {
    width: 90px;
}

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

#page-content-wrapper {
    padding: 20px;
    position: relative;
}

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