/*!
 * Start Bootstrap - Simple Sidebar (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

#wrapper {
    min-height: 100%;
    position: relative;
    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: absolute;
    /*padding-bottom: 150px;*/
    left: 250px;
    width: 0;
    min-height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    overflow: hidden;
}



#sidebar-wrapper {
    background: #134760;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    padding: 0px;
}

#wrapper.toggled #page-content-wrapper {
    margin-right: -250px;
}

.sidebar-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .sidebar-nav {
        line-height: 40px;
    }

        .sidebar-nav a {
            display: block;
            text-decoration: none;
            color: #fff;
            position: relative;
            padding-left: 20px;
        }

            .sidebar-nav a:hover {
                text-decoration: none;
                background: white;
                color: #134760;
                border-right: 3px solid #394a5a;
            }

            .sidebar-nav li a.second-level {
                padding-left: 50px;
            }

            .sidebar-nav li a.third-level {
                padding-left: 70px; /* CAMBIO SONIA (03/04/2017 ) 75px;*/
            }

#menu_blue.sidebar-nav li.submenu.actived {
    background: #017baa;
}

.sidebar-nav li.submenu > ul {
    display: none;
}

.sidebar-nav li.submenu.actived > ul {
    display: block;
    padding-left: 0px;
}

.sidebar-nav li.submenu > a:after {
    content: "\f0dd";
    font-family: FontAwesome;
    position: absolute;
    right: 15px;
    top: -3px;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-brand {
    background: #fff url("../images/logo_cliente.png") no-repeat center center !important;
    display: block;
    height: 120px;
    width: 250px;
    background-size: 225px !important;
}

.sidebar-nav li.submenu {
    display: inherit !important;
}

.sidebar-nav li ul li {
    list-style: none;
}

#menu_red {
    display: none;
}

#sidebar-wrapper .fa, #sidebar-wrapper .glyphicon {
    font-size: 16px;
    color: #fff;
    padding-right: 10px;
}

#sidebar-wrapper.blue a:hover > .fa, #sidebar-wrapper.blue a:hover > .glyphicon {
    color: #017baa;
}

#sidebar-wrapper.red a:hover > .fa, #sidebar-wrapper.red a:hover > .glyphicon {
    color: #5d7a33;
}

.footer_menu {
    text-align: center;
}

    .footer_menu img {
        padding: 15px;
    }

.change_menu a {
    padding: 10px;
    display: block;
    float: left;
    width: 50%;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

    .change_menu a.menured {
        background: #84a555;
    }

    .change_menu a.menublue {
        background: #009ad6;
    }

@media(max-width:768px) {
    body.menu_actived {
        /*width: calc(100% + 250px);*/
    }
}


@media(min-width:768px) {
    .footer_menu {
        position: absolute;
        bottom: 0px;
        left: 0px;
        width: 100%;
    }

    #wrapper {
        padding-left: 250px;
    }

        #wrapper.toggled {
            padding-left: 0;
        }

    #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 0px;
        /*position: relative;*/
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}

/* ROJO */
#menu_blue {
    margin-top: 20px; 
}
/* END ROJO */