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

ul,li{margin:0px;padding:0px;list-style:none;}

body {
    overflow-x: hidden;
}

/* Toggle Styles */

#wrapper {
    position: absolute;
    z-index: 600;
    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: 260px;
}

#sidebar-wrapper {
    z-index: 1000;
    /* position: fixed; */
    left: 260px;
    width: 0;
    height: 100vh;
    margin-left: -260px;
    overflow-y: auto;
    background: rgba(15, 15, 15, 0.95);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border-right: 0px;
}

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

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

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

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    line-height: 30px;
    text-align: center;
}


.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    padding: 0px 0px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar-nav li:last-child a{
    padding-top: 3px;
    display: inline;
    padding: 13px 0px;
}



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

.underline{
    border-bottom: 2px solid transparent;
    display: inline-block;
    padding: 0px 10px;
}
/*   borrar ejemplo underline menu span*/
.sidebar-nav li:hover .underline {
    border-bottom: 2px solid #99cc33;
}

.sidebar-nav li.active .underline {
    border-bottom: 2px solid #99cc33;
}

.sidebar-nav li.active a {
    color: #99cc33;
}


.sidebar-nav li a:active .underline,
.sidebar-nav li a:focus .underline{
    border-bottom: 2px solid #99cc33;
}

.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;
}



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

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

    #sidebar-wrapper {
        width: 357px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 260px;

    }

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

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

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

}

@media(max-height:768px) {
    #wrapper {
        padding-left: 260px;
    }

    #sidebar-wrapper{
        width:  260px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 260px;

    }
}

@media (max-width: 767px){ /* móviles */

    #wrapper {
        position: fixed;
        padding-left: 200px;
    }

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

    #sidebar-wrapper{
        width:  200px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 200px;

    }

    #sidebar-wrapper {
        left: 200px;
        height: 100vh;
        margin-left: -200px;
    }



}