.navbar-toggler {
    color: #c5cacd !important;
    border: 1px solid #c5cacd !important;
    padding: 0.5em;
    position: absolute;
    background: #384850 !important;
    left: 1rem;
    top: 7.75rem;
    z-index: 110000;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.ucastyle-navbar-toggler {
    max-width: 3rem;
    max-height: 3rem;
}

.navbar-brand h2 {
    color: white;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: -2px;
    margin: 10px 10px 10px 0px;
    position: relative;
    right: 0em;
    top: 0.5em;
}

.navbar-brand h2 .entorno {
    color: #a94442;
}

.brand-encabezado {
    color: #c5cacd;
}

.ucastyle-vertical-menu {
    display: none;
    position: absolute;
    width: fit-content;
}

.navbar-brand {
    text-align: right;
}

#menu-navegacion .navbar {
    min-height: auto;
}

.logo-uca-brand {
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    border: 2px solid #c5cacd;
    border-radius: 100%;
    padding: 0.2em;
    display: none;
}

@media (min-width: 992px) {
    #menu-navegacion .navbar {
        min-height: 3em !important;
    }
    .ucastyle-vertical-menu {
        display: flex;
        position: relative;
        top: 0;
    }
    .navbar-brand {
        display: none !important;
    }
    .navbar-toggler {
        display: none !important;
    }
    #navegacion.collapse:not(.show) {
        display: inline-block !important;
    }
}

@media (max-width: 992px) {
    .logo-uca-menu {
        display: none !important;
    }
    .logo-uca-brand {
        display: block !important;
    }
    .ucastyle-main-toggler {
        display: none !important;
    }
    .ucastyle-vertical-menu {
        z-index: 1000;
    }
    #navegacion.collapse:not(.show) {
        display: none !important;
    }
    #menu-navegacion #navegacion-container {
        position: initial;
    }
    .encabezado {
        padding: 0 1em;
    }
    .encabezado-titulo {
        display: none !important;
    }
    #menu-navegacion #navegacion .nav {
        -webkit-box-orient: vertical!important;
        -webkit-flex-direction: column!important;
        -ms-flex-direction: column!important;
        flex-direction: column!important;
    }
    #menu-navegacion #navegacion .navbar-collapse {
        z-index: 100;
        position: fixed;
        text-align: center;
        width: 100%;
        left: 0;
        top: 7.2vw;
        padding: 0.5em 3rem;
        background-color: #384850 !important;
    }
    #menu-navegacion #navegacion ul li {
        margin-bottom: 0 !important;
    }
    #menu-navegacion #uca_nav_1 {
        flex: 1;
        padding: 0 !important;
        border-top: 2px solid #c5cacd;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        text-align: center;
    }

    #menu-navegacion #uca_nav_1 ul {
        margin-top: 0 !important;
        padding: 0 !important;
    }

    #menu-navegacion #uca_nav_1 > ul > li {
        border-bottom: 1px solid #43565f;
        height: auto;
    }

    #menu-navegacion #uca_nav_1 li a.active {
        border-top: 0 !important;
        margin-top: 0 !important;
    }

    #menu-navegacion #subnavegacion {
        display: none;
    }

    #menu-navegacion #subnavegacion_responsive {
        background-color: #425863;
    }

    #menu-navegacion #subnavegacion_responsive > ul > li:first-child {
        border-top: 0 !important;
    }

    #menu-navegacion #subnavegacion_responsive > ul > li {
        border-top: 1px solid #526c79;
        font-size: 0.9em;
        height: auto;
    }

    #menu-navegacion #subsubnavegacion {
        display: none;
    }

    #menu-navegacion #subsubnavegacion_responsive {
        background-color: #617e8d !important;
    }

    #menu-navegacion #subsubnavegacion_responsive > ul > li:first-child {
        border-top: 0 !important;
    }

    #menu-navegacion #subsubnavegacion_responsive > ul > li {
        border-top: 1px solid #85a7b8 !important;
        font-size: 0.8em;
        height: auto;
    }
    .ucastyle-vertical-menu.sidenav {
        border-radius: 6px;
        -webkit-box-shadow: 3px 3px 7px -4px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 3px 3px 7px -4px rgba(0, 0, 0, 0.2);
        box-shadow: 3px 3px 7px -4px rgba(0, 0, 0, 0.2);
        border-bottom: none;
    }
}

.brand_autenticacion {
    padding-top: 10px;
    color: #c5cacd;
    font-size: 15px;
    width: 100%;
    display: inline-block;
}

.brand_autenticacion a {
    color: #c5cacd;
    text-decoration: none;
}

@media (min-width: 992px) {
    .brand_autenticacion {
        display: none !important;
    }
}