:root {
    --exito: #3ab65c;
    --error: #bf333b;
    --info: #1898c0;
    --warning: #bc8c12;
    --exito-hover: #2d8a46;
    --error-hover: #962a31;
    --info-hover: #147fa0;
    --warning-hover: #9b7512;
}

* {
    text-decoration: none;
    list-style: none;
}

/* vista recursiva */
.papa-hijo {
    display: grid;
    grid-template-columns: 150px 1fr;
    border: 1px solid #ccc;
    padding: 2px;
}

/* BASICS */
.dis {
    display: flex;
}

.wrap {
    flex-wrap: wrap;
}

.col2 {
    flex-direction: column;
}

.row2 {
    flex-direction: row;
}

.jcc {
    justify-content: center;
}

.jcsb {
    justify-content: space-between;
}

.jcsa {
    justify-content: space-around;
}

.aic {
    align-items: center;
}

.w100 {
    width: 100%;
}

.h100 {
    height: 100%;
}

.mw500 {
    max-width: 500px;
}

.mw1000 {
    max-width: 1000px;
}

.fg0 {
    flex-grow: 0;
}

.fg1 {
    flex-grow: 1;
}

.br15 {
    border-radius: 5px;
}

.hdvh {
    height: 100dvh;
}

.wdvw {
    width: 100dvw;
}

.pdd {
    padding: 10px;
}

.ma {
    margin: auto;
}

.mar {
    margin: 10px;
}

.pdd-h>* {
    padding: 10px;
}

.mar-h>* {
    margin: 10px;
}

.gap {
    gap: 5px
}

.ofxa {
    overflow-x: auto;
}

.ofya {
    overflow-y: auto;
}

.btn-pfks {
    background-color: #147fa0;
}

.btn-fks {
    background-color: #2d8a46;
}

.btn-blogs {
    background-color: gainsboro;
}
#contenedor_de_ediciones {
    position: absolute;
    top: 0px;
    left: 0px;
    padding-top: 10px;
    display: grid;
    flex-direction: column;
    overflow: auto;
    width: 100vw;
    height: 100vh;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
}

#contenedor_de_ediciones .container_inicio {
    display: grid;
    justify-content: space-evenly;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
    height: 100%;
    width: 100%;
}

#contenedor_de_ediciones .form-container {
    display: block;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 350px;
    box-shadow: 1px 2px 3px 2px #a9a7a782;
    border: 1px solid orange;
}

#contenedor_de_ediciones .form-container h2 {
    color: orange;
    margin-bottom: 40px;
    text-align: center;
}

#contenedor_de_ediciones label {
    display: block;
    margin: 10px 0 5px;
    color: black;
}

/* #contenedor_de_ediciones .form-container input[type='email'],
    #contenedor_de_ediciones .form-container input[type='password'] {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid orange;
        border-radius: 5px;
    } */
.datos_reg,
.datos_log {
    width: 100%;
    padding: 10px;
    border: 1px solid orange;
    border-radius: 5px;

}

#contenedor_de_ediciones .btn {
    background-color: orange;
    color: #000;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

#contenedor_de_ediciones .btn:hover {
    background-color: orangered;
}

#contenedor_de_ediciones .btn-x {
    padding: 5px;
    color: orange;
    position: absolute;
    top: 0px;
    right: 0px;
    transition: 0.1s;
    cursor: pointer;
}

#contenedor_de_ediciones .btn-x:hover {
    font-size: x-large;
    transition: 0.1s;
}

/* Ocultar el formulario de registro por defecto */
#registerFormContainer {
    display: none;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
    padding-right: 40px;
    /* Espacio para el icono */
}

.password-container i {
    position: absolute;
    right: 10px;
    cursor: pointer;
}


.contenedor {
    overflow: auto;
}

.contenedor_elementos {
    overflow: auto;
}

.contenedor_elementos thead,
.tablee thead {
    background: gray;
    top: 0px;
    position: sticky;
    z-index: 1;
}

.contenedor_elementos table,
.tablee {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;

}

.contenedor_elementos th,
.tablee th {
    padding: 12px 15px;
    text-align: left;
    background-color: #f5f7fb;
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.contenedor_elementos td,
.tablee td {
    padding: 5px 10px;
    border-bottom: 1px solid #e0e6ed;
}

.contenedor_elementos td,
.tablee td {
    max-width: 450px;
}

.contenedor_elementos td>p,
.tablee td>p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-inner {
    overflow: visible;
}

.contenedor_elementos tr:hover,
.tablee tr:hover {
    background-color: #eee;
}

.cstats {
    max-width: 300px;
    min-height: 300px;
    word-wrap: break-word;
    padding: 10px;
    margin: 10px;
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: 2px 4px 0px 0px black;
    background: white;
    text-decoration: none;
    color: black;

}

.grid-horarios {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr 9fr;
    border: 1px solid #ddd;
    margin: 10px;
    width: 100%;
    min-width: 400px;
    max-width: 600px;
}

.grid-horarios>* {
    font-size: 10px;
}

.grid-item-horarios {
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-sizing: border-box;
    height: 60px;
}

.grid-horarios .dias {
    position: relative;
    height: 100%;
}

.grid-horarios .horas {
    position: absolute;
    background-color: #e9e9e9;
    font-weight: bold;
    border: 1px solid black;
    width: 100%;
}

.carousel-imgs {
    /* width: min-content; */
    overflow: visible;
}

.t-titulos {
    text-align: center;
    cursor: pointer;
}

.t-titulos:hover {
    background: #eee;
}

.cstats:hover {
    background: whitesmoke;
}

.row2col {
    flex-direction: row;
}

.rowr2col {
    flex-direction: row-reverse;
}

.col2row {
    flex-direction: col;
}

/* calendarios */
* {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

h3 {
    margin: 1px;
}

.grey {
    background-color: #f1f1f1;
}

.gray {
    background-color: gray;
}

.white {
    background-color: white;
}

.green {
    background-color: greenyellow;
}

.blue {
    background-color: #00b3ff;
}

.dia {
    text-align: center;
    padding: 10px;
}

.cal {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
}

.dia:hover {
    background-color: yellow;
}

.ndias {
    font-weight: bold;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #aae3ff;
}

.mes {
    display: grid;
    grid-template-columns: repeat(7, 50px);
    background-color: #f1f1f1;
    border: 1px #999 solid;
}

/* elementos */
.elemento {
    box-shadow: 2px 2px 0px 0px #a9a7a7;
    border: 1px solid #a9a7a7;
    padding: 10px;
}

.elemento p {
    margin: 0px;
}

.contenedor-imagenes {
    position: relative;
}

.contenedor-imagenes .bi {
    position: absolute;
    box-shadow: none;
    width: 50%;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

.contenedor-imagenes .bi:hover {
    background: linear-gradient(90, black, red);
}

.contenedor-imagenes .bl {
    left: 0px;
}

.contenedor-imagenes .bl:hover {
    background: linear-gradient(275deg, transparent, red 505%);
}

.contenedor-imagenes .br {
    right: 0px;
}

.contenedor-imagenes .br:hover {
    background: linear-gradient(90deg, transparent, red 505%);
}


.toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1050;
}

/* ***************************************** */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    transition: opacity 20.2s, visibility 20.75s;
    z-index: 6;
}

.loader::after {
    content: "";
    width: 75px;
    height: 75px;
    border: 15px solid skyblue;
    border-top-color: orangered;
    border-radius: 50%;
    animation: loading 0.75s ease infinite;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}



* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* border: 1px red dotted; */
}

/* Estilo para la barra de desplazamiento */
::-webkit-scrollbar {
    width: 8px;
    /* Ancho de la barra */
    height: 8px;
    /* Altura en caso de barras horizontales */
}

/* Estilo para el "pulgar" de la barra (la parte que se desplaza) */
::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.5);
    /* Color con transparencia */
    border-radius: 10px;
    /* Bordes redondeados para un aspecto mas suave */
}

/* Estilo para la pista de la barra (el espacio de fondo de la scrollbar) */
::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);
    /* Color de fondo sutil */
    border-radius: 10px;
    /* Bordes redondeados */
}

/* Ocultar las flechitas en la barra de desplazamiento */
::-webkit-scrollbar-button {
    display: none;
    /* Oculta los botones de flecha */
}

body {
    display: flex;
    flex-direction: row;
    width: 100dvw;
    height: 100dvh;
    overflow: hidden;
}

#hamburguesa {
    display: flex;
    border-radius: 0px;
    background-color: whitesmoke;
}

#hamburguesa>div {
    display: flex;
    overflow-y: auto;
    width: 100%;
}

#hamburguesa a {
    text-decoration: none;
}

#hamburguesa>div>div {
    text-align: center;
    padding: 10px;
}

#hamburguesa a>div {
    padding: 15px;
    min-width: max-content;
    height: 100%;
    width: 100%;
    color: white;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.3);
}

#hamburguesa a>div:hover,
#hamburguesa .pestana-selected {
    border-radius: 0px;
    border: 1px solid black;
    background-color: #00b3ff;
}

#hamburguesa a:visited {
    text-decoration: none;
    color: black;
}

#hamburguesa:hover .nombres {
    display: block;
    transition: all 0.5s;
}

/*
    #hamburguesa .nombres {
        display: none;
        transition: all 0.5s;
    }*/
#btn-menu {
    display: none;
}

@media (max-width: 700px) {
    body {
        flex-direction: column;
    }

    #btn-menu {
        display: flex;
    }

    #hamburguesa #div2 {
        display: none;
        flex-direction: column;
        height: 100dvh;
        overflow-y: auto;
    }

    #hamburguesa {
        width: 100%;
        z-index: 1;
        display: flex;
        flex-direction: column;
        height: min-content;
        max-height: 100dvh;
    }

    #div2 {
        flex-grow: 1;
    }

    #hamburguesa .nombres {
        display: block;
        transition: all 0.5s;
    }
}

input {
    padding: 5px;
    margin-block: 5px;
}

.form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: max-content;
    padding: 10px;
    gap: 5px;
    border-radius: 5px;
    border: #ababab 1px solid;
    margin: auto;
}

button {
    padding: 3px;
    border-radius: 5px;
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50 !important;
    border: 1px solid #4caf50;
}

.btn-agregar,
.btn-azul {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196f3 !important;
    border: 1px solid #2196f3;
}

.btn-editar,
.btn-naranja {
    background-color: rgba(255, 152, 0, 0.1);
    color: #ff9800 !important;
    border: 1px solid #ff9800;
}

.btn-eliminar,
.btn-rojo {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336 !important;
    border: 1px solid #f44336;
}

.btn-white {
    background-color: white;
    color: black !important;
    border: 1px solid black;
}

.btn-gris {
    background-color: #DDD;
    color: #474747 !important;
    border: 1px solid #474747;
}

.btn-morado {
    background-color: rgb(211 33 243 / 10%);
    color: #6a1b83 !important;
    border: 1px solid #6a1b83;
}

.btn-verde {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.btn-verde,
.btn-naranja,
.btn-morado,
.btn-azul,
.btn-verde,
.btn-rojo,
.btn-gris {
    text-decoration: none;
    padding: 5px;
    border-radius: 5px;
}

a {
    text-decoration: none;
    color: inherit;
}

.opciones {
    gap: 3px;
    justify-content: end;
}

.imagePreview {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    background-color: rgba(150, 150, 150, 0.7);
}

.image-container {
    position: relative;
    margin-right: 10px;
    margin-bottom: 10px;
}

.image-container img {
    max-width: 100px;
    height: auto;
    border: solid 1px black;
}

.remove-btn {
    position: absolute;
    top: 0;
    right: 0;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 12px;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.inp-select {
    margin-right: 10px;
    min-width: 25px;
    height: 25px;
}

@media only screen and (max-width: 700px) {
    .col2row {
        flex-direction: row;
    }

    .row2col {
        flex-direction: column;
    }

    .rowr2col {
        flex-direction: column;
    }

    .dis2none {
        display: none;
    }

    .block2none {
        display: none;
    }
}