/* apply a natural box layout model to all elements, but allowing components to change */

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-size: 16px;
    font-family: "Rubik", serif;
    height: 100vh;
}


/* --------------------------------------------------------------------GLOBALES */

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.5rem;
}

h4 {
    font-size: 2rem;
}

.inicio {
    font-size: 1.5rem;
}

.contenedor {
    max-width: 80%;
    margin: 0 auto;
}

.contenedor-pregunta {
    margin: 5rem auto;
    min-width: 600px;
    display: flex;
    flex-direction: column;
    background-color: whitesmoke;
    padding: 2rem;
    border-radius: 2rem;
}

.contenedor-formularios {
    margin: 0 auto;
    max-width: 90%;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="password"]):not([id="usuario"]) {
    background-color: gainsboro;
    border: none;
    width: 90%;
    border-radius: 1rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
}


/* --------------------------------------------------------------------BOTONES */

.botonPrimario {
    background-color: #8C65AA;
    color: white;
    border-radius: 10px;
    border: 2px solid transparent;
    text-transform: uppercase;
    margin-top: 1rem;
}

.botonPrimario:hover {
    background-color: white;
    color: #8C65AA;
    border: 2px solid rgb(140, 101, 170);
    font-weight: bold;
}

.boton-X {
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-decoration: none;
    margin: 1rem auto;
    padding: 10px 30px;
    display: inline-block;
    text-align: center;
    max-width: 50%;
    border-radius: 1rem;
}

.boton-salir {
    background-color: rgb(231, 47, 47);
    color: white;
    border: 2px solid transparent;
}

.boton-salir:hover {
    background-color: white;
    color: rgb(231, 47, 47);
    font-weight: bold;
    border: 2px solid rgb(231, 47, 47);
}

.boton-menu {
    background-color: #9070aa;
    color: white;
    border: 2px solid transparent;
}

.boton-menu:hover {
    background-color: white;
    color: #9070aa;
    border: 2px solid #9070aa;
}


/* -------------------------------------------------------------Index*/

.encabezado {
    background-color: #8C65AA;
    color: white;
    padding: 3rem;
}

.logo {
    margin-left: 4rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 2rem;
}

.cuadrante {
    display: flex;
    flex-direction: column;
}

.login input {
    padding: 0.8rem;
    margin: 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(207, 207, 207, 175);
}

footer {
    border-top: 0.2px solid rgba(207, 207, 207, 175);
    padding-top: 1.5rem;
    background-color: whitesmoke;
}


/* ----------------------------------------------------------------------SIDEBAR */

.sidebar {
    background-color: white;
    width: max-content;
    border-radius: 10px;
    background-color: whitesmoke;
}

.sidebar:hover .sidebarElement {
    grid-template-columns: 40px 1fr;
}

.sidebarList {
    list-style: none;
    padding: 0;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.sidebarElement {
    margin-left: 1rem;
    border-radius: 3px;
    display: grid;
    align-items: center;
    grid-template-columns: 40px 0fr;
    color: #526581;
    fill: #8491a5;
    transition: grid-template-columns .4s;
}

.sidebarElement:not(.sidebarElement-logo):hover {
    background-color: #007aff;
    color: white;
    fill: white;
    cursor: pointer;
}

.sidebarIcon {
    width: 100%;
    overflow: hidden;
    justify-self: center;
}

.sidebarIcon-logo {
    max-width: 30px;
}

.sidebarTitulo,
.sidebarText {
    padding-left: .5rem;
    padding-top: 1.1rem;
    text-wrap: nowrap;
}

.sidebarHide {
    overflow: hidden;
}


/*---------------------------------------------------------- PÁGINA INICIO */

.contenido {
    display: flex;
}

.sel {
    width: 20rem;
    height: 30rem;
    border: 1px solid green;
}

.cael {
    width: 20rem;
    height: 30rem;
    border: 1px solid skyblue;
    margin: 0 8rem;
}

.reserva {
    width: 20rem;
    height: 30rem;
    border: 1px solid #8C65AA;
}

.contenedorCargos {
    margin-top: 7rem;
    margin-bottom: 5rem;
    display: flex;
    justify-content: space-between;
}


/*---------------------------------------------------------- PÁGINA ALTAS */

.sinBorde {
    margin-top: 2rem;
    border: none;
    margin-bottom: 2rem;
    background-color: transparent !important;
}


/*---------------------------------------------------------- PÁGINA EDICIÓN */

.circulo {
    background-color: #ae89cc;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
}

.circulo:hover {
    background-color: #7b5a95;
}

.icono {
    font-size: 2rem;
    color: white;
    margin-top: 1.1rem;
}

.circulo:hover .icono--upload {
    color: aquamarine;
}

.circulo:hover .icono--print {
    color: darkorange;
}

.circulo:hover .icono--edit {
    color: skyblue;
}

.circulo:hover .icono--asistencia {
    color: seagreen;
}

.circulo:hover .icono--examen {
    color: goldenrod;
}

.circulo:hover .icono--entrevista1 {
    color: powderblue;
}

.circulo:hover .icono--entrevista2 {
    color: rosybrown;
}

.circulo:hover .icono--cargo {
    color: gainsboro;
}

.circulo:hover .icono--pago {
    color: limegreen;
}

.circulo:hover .icono--eliminar {
    color: firebrick;
}

.circuloDanger {
    background-color: orangered;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
}

.circuloSuccess {
    background-color: green;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
}


/*-------------------------------------------- DESIGNACIÓN DEL CARGO */

.sel2 {
    width: 10rem;
    height: 10rem;
    border: 1px solid green;
}

.cael2 {
    width: 10rem;
    height: 10rem;
    border: 1px solid skyblue;
}

.reserva2 {
    width: 10rem;
    height: 10rem;
    border: 1px solid #8C65AA;
}