﻿.content-sin-sidebar {
    padding-top: 1.1rem;
    position: relative;
    margin-right: 11rem;
    margin-left: 11rem;
}


.sidebar {
    background-color: #375A7E;
    padding-top: 90px;
    position: fixed;
    width: 310px;
    height: 100vh;
    transition: width 0.3s ease;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    color: white;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

.sidebar-header__nombre {
    font-size: 1rem;
    text-align: center;
}

.sidebar-header__cargo {
    font-size: 0.8rem;
    text-align: center;
}

.sidebar-header__dominio {
    font-size: 0.8rem;
    text-align: center;
}

.sidebar-header__foto img {
    display: flex;
    text-align: center;
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
    opacity: 0.9;
    background-color: white;
}

.sidebar.d-none {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    overflow: hidden;
    padding: 0 !important;
    border: none !important;
}

.sidebar-content {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 5px;
    border-radius: 5px;
}

    .sidebar-item .fa-solid {
        display: inline-block;
        width: 25px;
        text-align: center;
        margin-right: 0.75rem;
    }

    .sidebar-item:hover {
        background-color: #416DA0;
        color: white;
    }

    .sidebar-item.active {
        background-color: #416DA0;
        color: white;
        font-weight: bold;
    }

.sidebar-item-no-permitido {
    display: flex;
    align-items: center;
    color: #90A4AE;
    font-size: 0.9rem;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: not-allowed;
}

    .sidebar-item-no-permitido .fa-solid {
        display: inline-block;
        width: 25px;
        text-align: center;
        margin-right: 0.75rem;
    }

    .sidebar-item-no-permitido:hover {
        color: #90A4AE;
    }

.sidebar-footer {
    flex-shrink: 0;
    width: 100%;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    display: flex;
    flex-direction: column;
}

.sidebar-header-vertical {
    display: block;
}

.sidebar-header-horizontal {
    display: none;
}

.sidebar-subitem {
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: pointer;
}

    .sidebar-subitem .fa-solid {
        display: inline-block;
        width: 25px;
        text-align: center;
        margin-right: 0.75rem;
    }

    .sidebar-subitem:hover {
        background-color: #416DA0;
        color: white;
    }

    .sidebar-subitem.active {
        color: white;
        font-weight: bold;
    }

.sidebar-subitem__arrow {
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
    opacity: 0.8;
    width: 14px;
    height: 14px;
    animation: all .2s;
}

.active .sidebar-subitem__arrow {
    transform: rotate( -90deg );
}

.submenu__ul .nav-item:first-of-type {
    padding-top: 0rem;
}

.submenu__ul .nav-item:last-of-type {
    padding-bottom: 0.3rem;
}

.submenu__ul {
    margin-left: 5px;
    padding-left: 5px;
    border-left: 4px solid rgb(255 255 255 / 6%);
}

.subsubmenu__ul {
    margin-left: 5px;
    padding-left: 5px;
    border-left: 3px solid rgb(255 255 255 / 10%);
}

.info-usuario-barra {
    display: none;
}

.info-usuario-barra__marcas__asistencia {
    display: flex;
    flex-direction: column;
    color: black;
    font-size: 0.9rem;
}

/*MEDIA QUERIES RESPONSIVIDAD*/
@media (max-width: 576px) {
    .sidebar {
        width: 100% !important;
    }

    .content {
        display: none;
    }

    .content-sin-sidebar {
        margin-right: 0;
        margin-left: 0;
    }

    .sidebar-header-vertical {
        display: none;
    }

    .sidebar-header-horizontal {
        display: block;
    }

    .sidebar-header__nombre {
        font-size: 1rem;
        text-align: start;
    }

    .sidebar-header__cargo {
        font-size: 0.8rem;
        text-align: start;
    }

    .sidebar-header__dominio {
        font-size: 0.8rem;
        text-align: start;
    }

    .info-usuario-barra {
        display: flex;
        align-items: stretch;
        gap: 0.4rem;
    }

    .info_usuario-barra__texto {
        display: flex;
        flex-direction: column;
        max-height: 5rem;
        align-items: start;
        justify-content: center;
        color: #3B4A59;
    }

    .info-usuario-barra img {
        height: 4.2rem;
        width: 4.2rem;
        border-radius: 50%;
        opacity: 0.9;
        background-color: white;
    }
    .info-usuario-barra__marcas__asistencia{
        display: none;
    }
    .texto-nombre-usuario {
        font-size: 0.6rem;
    }

    .texto-cargo-usuario {
        font-size: 0.4rem;
    }

    .texto-dominio-usuario {
        font-size: 0.3rem;
    }
}

@media (max-width: 1600px) {
    .content-sin-sidebar {
        margin-right: 0;
        margin-left: 0;
    }
}

.smc {
    margin-left: 0.75rem;
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

    .smc img {
        height: 23px;
        opacity: 0.45;
        display: block;
        margin-top: 3px;
    }

    .smc div {
        font-size: 0.6rem;
        line-height: 1.1rem;
        color: white;
        opacity: 0.5;
    }
