/* 
* Los estilos aplicados a continuación son los basicos para integrar estilos que difieren entre plugins
* Y otras hojas de estilo
*
*
*/


.table>tr>td {
    overflow-x: hidden;
}

.table-scrolling {
    min-height: 100px;
    overflow: auto;
    resize: vertical;
    max-height: 60vh;
}

.table-scrolling thead {
    position: sticky;
    margin-bottom: 0;
    top: 0;
}

.text-transparent {
    color: transparent;
}

.close-sidebar-btn {
    position: absolute;
    right: 0;
    margin-top: -11px;
    font-size: 2rem;
    background-color: transparent;
    border-color: transparent;
    border: none;
    color: red;
    transition: 0.5s ease;
    cursor: pointer;
    font-weight: 900;
    overflow: unset;
}

.contenedor-mensajeria {
    display: flex;
    justify-content: end;
}

#mensajeria,
#mensajeria_ok {
    position: fixed;
    z-index: 9999;
}

.close-sidebar-btn:hover {
    color: rgb(176, 0, 0);
    transform: rotate(360deg);
    overflow: unset;
}

.sidebar-toggle {
    position: fixed;
    font-size: 2rem;
    background-color: transparent;
    border-color: transparent;
    z-index: 100;
}

.nav-link {
    color: #bdc3c7;
}

.nav-link:hover {
    color: white;
    background: #34495e;
}

.nav-link.active {
    background: #3498db;
    color: white;
}

.sidebar {
    min-height: 100vh;
    max-height: 100vh;
    min-width: 200px;
    max-width: 490px;
    display: flow-root;
    background: #2c3e50;
    color: white;
    /*  */
    position: fixed;
    z-index: 9999;
    overflow-y: auto;
    transition: .6s ease;
    transform: translate(-100%);
    overflow-x: hidden;
}

.show-sidebar {
    transform: translate(0);
}

#contenedorPrincipal-001 {
    min-height: 100vh;
}

.botonera-salir-configuracion {
    position: fixed;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.botonera-salir-configuracion .nav-item {
    display: inline-block;
}

.visor-menus-usuario {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 550px;
    min-height: auto;
}

.select2-selection__arrow {
    margin-top: 5px;
    margin-right: 5px;
}

.select2-selection.select2-selection--single {
    height: 38px;
    width: 100%;
}

.select2-selection.select2-selection--single {

    display: block;
    padding: .275rem .25rem .275rem .25rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* validando alturas */

@media screen and (min-height: 310px) {
    .visor-menus-usuario {
        max-height: 200px;
    }
}

@media screen and (min-height: 410px) {
    .visor-menus-usuario {
        min-height: 300px;
        overflow-y: auto;
    }
}

@media screen and (min-height: 510px) {
    .visor-menus-usuario {
        max-height: 400px;
    }
}

@media screen and (min-height: 610px) {
    .visor-menus-usuario {
        max-height: 500px;
    }
}

@media screen and (min-height: 710px) {
    .visor-menus-usuario {
        max-height: 600px;
    }
}

@media screen and (min-height: 810px) {
    .visor-menus-usuario {
        max-height: 700px;
    }
}

@media screen and (max-height: 300px) {
    body {
        display: none;
    }
}