﻿@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-Black.ttf') format('truetype');
    font-weight: 900; /* Black */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-BlackItalic.ttf') format('truetype');
    font-weight: 900; /* Black */
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-Bold.ttf') format('truetype');
    font-weight: bold; /* Bold */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-BoldItalic.ttf') format('truetype');
    font-weight: bold; /* Bold */
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-ExtraBold.ttf') format('truetype');
    font-weight: 800; /* ExtraBold */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800; /* ExtraBold */
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-ExtraLight.ttf') format('truetype');
    font-weight: 200; /* ExtraLight */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200; /* ExtraLight */
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-Light.ttf') format('truetype');
    font-weight: 300; /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-LightItalic.ttf') format('truetype');
    font-weight: 300; /* Light */
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-Medium.ttf') format('truetype');
    font-weight: 500; /* Medium */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-MediumItalic.ttf') format('truetype');
    font-weight: 500; /* Medium */
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-SemiBold.ttf') format('truetype');
    font-weight: 600; /* SemiBold */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600; /* SemiBold */
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-Thin.ttf') format('truetype');
    font-weight: 100; /* Thin */
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('../../fonts/Barlow/Barlow-ThinItalic.ttf') format('truetype');
    font-weight: 100; /* Thin */
    font-style: italic;
}

@media (max-width: 1300px) {
/*    #datos-usuario-div {
        display: none !important;
    }*/
/*    #deprenta-logo-wrapper {
    overflow: hidden;
    max-width: 67px;
    }*/
}

@media (max-width: 1460px) {
}


.navbar {
    background: white !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1); 
}

.nav-label {
    font-family: Barlow;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 28px;
    color: #686868;
    transition: color 0.3s ease;
}

    .nav-label:hover {
        color: #2A63C3; 
    }

/* Para pantallas mayores a 1800px */
@media only screen and (min-width: 1801px) {
    .nav-label {
        font-size: 16px;
    }
}

/* Para pantallas entre 1601px y 1800px */
@media only screen and (min-width: 1601px) and (max-width: 1800px) {
    .nav-label {
        font-size: 14px;
    }
}

/* Para pantallas entre 1471px y 1600px */
@media only screen and (min-width: 1471px) and (max-width: 1600px) {
    .nav-label {
        font-size: 12px;
    }
}

/* Para pantallas entre 1325px y 1470px */
@media only screen and (min-width: 1325px) and (max-width: 1470px) {
    #logo-deprenta {
        height: 45px;
    }
    .nav-label {
        font-size: 10px;
    }

}

/* Para pantallas menores a 1325px */
@media only screen and (min-width: 1100px) and (max-width: 1324px) {
    #logo-deprenta {
        height: 40px;
    }

    .nav-label {
        font-size: 8px;
    }
    #login-div {
        margin-left: -2rem;
    }
}

/* Para pantallas menores a 1325px */
@media only screen and (min-width: 1059px) and (max-width: 1099px) {
    #logo-deprenta {
        height: 40px;
    }

    .nav-label {
        font-size: 8px;
    }

    #deprenta-logo-wrapper {
        overflow: hidden;
        max-width: 50px;
    }

    #datos-usuario-div div span, #datos-usuario-div div div span {
        font-size: 10px !important;
    }

    .mas-opciones-menu svg {
        height: 14px;
    }

    #datos-usuario-ul {
        margin-right: -15%;
    }
    #login-div {
        margin-left: -2rem;
    }
}

/* Para pantallas menores a 1325px */
@media only screen and (max-width: 1058px) {
    #logo-deprenta {
        height: 40px;
    }

    .nav-label {
        font-size: 8px;
    }
        #deprenta-logo-wrapper {
    overflow: hidden;
    max-width: 50px;
    }

    #datos-usuario-div div span, #datos-usuario-div div div span {
        font-size: 10px !important;
    }
    .mas-opciones-menu svg{
        display:none !important;
    }
    #datos-usuario-ul {
        margin-right: -15%;
    }

    .nav-item {
        padding: unset !important;
    }

    #datos-usuario-div {
        display:none !important;
    }
    #login-div {
        margin-left: -4rem;
    }
}





.nav-link {
    text-wrap: nowrap;
    align-items: center;
}

.nav-item {
    position: relative; 
    border-right: solid #1B5ECD33 2px;
    height: 50%;
    top: 50%;
    transform: translateY(-50%);
}

    .nav-item.active::after {
        content: '';
        position: absolute;
        bottom: -0.8rem;
        height: 100%;
        left: 50%; 
        transform: translateX(-50%);
        width: 50%;
        border-bottom: 4px solid #2A63C3;
    }
.nav-imagen-usuario {
    align-self: center;
}


.usuario-autenticado {
    font-family: Barlow;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #818181;
}

.cerrar-texto {
    font-family: Barlow;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-top: 0.5rem !important;
    margin-left: 0.5rem;
    color: #2A63C3;
    transition: color 0.3s ease;
}
.cerrar-icono {
    color: #2A63C3;
    transition: color 0.3s ease;
}

.boton-usuario-dropdown {
    /*background: red;*/
}
.li-usuario-dropdown {
    padding: 0.2rem 1rem;
    font-weight: 600 !important;
    overflow: hidden;
    position: relative;
    z-index: 0;
    transition: color 0.3s ease;
}

    .li-usuario-dropdown:after {
        content: "";
        height: 100%;
        position: absolute;
        right: 0;
        top: 0;
        transition: width 0.3s ease;
        width: 0;
        background-color: #2A63C3;
        z-index: -1;
    }

    .li-usuario-dropdown:hover form a i, .li-usuario-dropdown:focus form a i {
        color: white !important;
    }
    .li-usuario-dropdown:hover form a span, .li-usuario-dropdown:focus form a span{
        color: white !important;
    }

    .li-usuario-dropdown:hover:after, .li-usuario-dropdown:focus:after {
        width: 100%;
    }


.navbar-usuario-dropdown li:not(:last-child) {
    border-bottom: 1px solid #83909E;
}


.navbar-usuario-dropdown {
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.1) !important;
    min-width: 10rem;
}

#logo-deprenta {
    padding-top: 0.5rem;
}

.navbar-usuario-dropdown {
    opacity: 0;
    transition: all 0.5s linear; 
    font-size: 12px;
}

    .navbar-usuario-dropdown.show {
        opacity: 1;
    }

.login-icono {
    color: #2A63C3 !important;
}

.login-texto {
    color: #2A63C3 !important;
}

.navbar-nav li.dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
    top: 146%;
}

.navbar-nav li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}


.navbar-nav {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.navbar {
    position: relative; /* Establece un nuevo contexto de apilamiento */
    z-index: 1030; /* Puede que necesites ajustar este valor */
}

.dropdown-menu {
    position: absolute;
    z-index: 1030; /* Debe ser mayor que cualquier otro elemento con el que deba superponerse */
}
