@import url("../css/variables.css");
@import url("../css/menu-intranet.css");
@import url("../css/footer.css");/**/
@import url("../css/boton-flotante.css");
@import url("../css/navegacion-tabs.css");
@import url("../css/columnas.css");
@import url("../iconos-web/iconos-web.css");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/*     GENERALES   */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--fuente-textos);
    background: var(--blanco);
    font-size: 12pt;
    color: var(--textos);
    width: 100%;
    height: 100vh;
    scroll: auto;
}
a {
    text-decoration: none;
    color: inherit;
}
/* ESTILOS RADIO BUTTON */
.vigencia {
    margin: 10px auto;
}
.vigencia input[type="radio"],
.vigencia input[type="checkbox"] {
    display: none;
}
.vigencia .radio label,
.vigencia .checkbox label {
    color: var(--rosado);
    padding: 5px 15px 5px 51px;
    display: inline-block;
    position: relative;
    font-size: 1.1em;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.titulos {
    margin-bottom: 20px;
}
.vigencia .radio label:hover,
.vigencia .checkbox label:hover {
    background: var(--rosado10);
}

.vigencia .radio label:before,
.vigencia .checkbox label:before {
    content: "";
    width: 17px;
    height: 17px;
    display: inline-block;
    background: none;
    border: 3px solid var(--rosado);
    border-radius: 50%;
    position: absolute;
    left: 17px;  
}
.vigencia .checkbox label:before {
   border-radius: 3px; 
}

.vigencia input[type="radio"]:checked + label,
.vigencia input[type="checkbox"]:checked + label {
    padding: 5px 15px;
    background: var(--rosado);
    border-radius: 2px;
    color: var(--blanco)
}

.vigencia input[type="radio"]:checked + label:before,
.vigencia input[type="checkbox"]:checked + label:before {
    display:none;
}
/* HASTA ACA ESTILOS RADIO BUTTON */

header {
    background-image: url("../images/foto-cabezal.jpg");
    background-position: right center;
    /*z-index: -999;*/
}

#index img {
    width: 90%;
}

.contenedor-header {
    width: var(--ancho90);
    margin: 0 auto;
}
.item__texto-header {
    padding-top: 1em;
    text-align: center;
}
.item__texto-header img {
    width: 90%;
}
.item__texto-header h1 {
    color: var(--blanco)
}

.item__texto-header h2 {
    font-family: 'Lobster', cursive; 
    font-size: 2.5em;
    color: var(--rojo);
}
.contenedor-intranet {
    width: var(--ancho90);
	min-height: 41%;
    margin: 20px auto;
    padding: 0;
}

.contenedor-bienvenida {
    width: var(--ancho);
    max-width: var(--ancho-max);
    height: 280px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-shadow: 3px 3px 3px var(--sombras);
}

.contenedor-bienvenida h1 {
    font-size: 1.5em;
    letter-spacing: 2px;
    color: var(--gris);
}

.contenedor-bienvenida h2 {
    font-family: 'Lobster', cursive;
    font-size: 1.7em;
    color: var(--rojo);
}

.contenedor-65, .contenedor-35 {
    width: 100%;
    padding: 10px;
}

.contenedor__detalle {
    width: 100%;
    
}
.contenedor__detalle img {
    width: 100%;
}
.contenedor__detalle .contenedor-item {
    border-bottom: 1px solid var(--blanco);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}


#buscador {
    width: 100%;
    text-align: center;
}

#buscador input {
    width: 100%;
    font-size: 1em;
    color: var(--textos);
    margin: 1em auto;
    padding: 1em;
    padding-left: 2.5em;
    background: url(../images/icono-buscar.png);
    background-repeat: no-repeat;
    background-position: left center;
   /* border: 1px solid #d3bfbf;*/
    border: 1px solid var(--bordes-input);
    border-radius: 10px;
    transition: border-color 0.4s;
}
#buscador input:hover {
    border: 1px solid var(--rosado);
    box-shadow: 0 5px 5px var(--sombras);
}
/*     TABLA    */

table {
    width: 100%;
    color: var(--textos);
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 12pt;
    margin-top: 15px;
    background: var(--blanco);
}

table thead {
    display: none;
}

table tr {
    padding: 1em;
    border: 1px solid var(--borde-tablas);

}

table th, table td {
    padding: 10px;
    border: 1px solid var(--borde-tablas);
    text-align: right;
    display: block;
    
}
table th {
    font-size: 13pt;
    letter-spacing: 1px;
    font-weight: 600;
}

table td:before {
    content: attr(data-label);
    color: inherit;
    float: left;
    font-weight: 600;
}

table tr:nth-child(even) {
    background: #f5f5f5;
}

/*  PAGINA INDEX   */


#index {
    
    width: 100%;
    height: 100vh;
    background-image: url("../images/fondo-intranet.jpg");
    background-position: center;
    display: flex;
    align-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
#index form, #cambio-clave form {
    width: 100%;
    margin: auto;
    background: var(--negro40);
    padding: 2em;
    border: 1px solid var(--borde-tablas);
    border-radius: 10px;
}
#cambio-clave form {
    width: var(--ancho90);
    margin: 1em auto;
    background: var(--color4);
}

#edicion form {
    width: 100%;
    /*background: rgba(0,0,0,.1);*/
}


#index h2, #edicion h2 , #cambio-clave h2 {
    font-size: 1.5em;
    color: var(--color4);
    text-align: center;
}

#edicion h2, #edicion h4 {
    color: var(--color3);
}

#edicion {
    width: 100%;
    background: #f2f2f2;
    text-align: center;
    border-radius: 7px;
    text-decoration: none;
    color: var(--textos);
    padding: 1em;
    margin: auto;
    display: block;
}

#index h3 {
    font-family: 'Lobster', cursive;
    font-size: 2.5em;
    color: var(--rojo);
    text-shadow: 5px 5px 3px var(--sombras);
    padding-bottom: 1em;
    text-align: center;
}
#index input, #cambio-clave input, #edicion input[type="text"], #edicion input[type="file"], #edicion textarea, #edicion select, #cambio-clave input[type="password"] {
    /*display: block;*/
    font-family: inherit;
    padding: 15px;
    width: 100%;
    margin: 10px auto;
    font-size: 12pt;
    border-radius: 7px;
    border: 1px solid var(--bordes-input);
    background: var(--color4);
    margin-right: 10px;
    transition: border-color 0.4s;
}
#index input:hover, #cambio-clave input:hover, #edicion input[type="text"]:hover, #edicion input[type="file"]:hover, #edicion select:hover, #edicion textarea:hover, #cambio-clave input[type="password"]:hover {
    border: thin solid var(--rosado);
    box-shadow: 0 1px 10px var(--sombras);

}

#buscador input[type="radio"] {
    width: 20px;
    height: 20px;
    border: none;
    box-shadow: none;
}

#edicion input:last-child {
    margin-right: 0;
}

#edicion select {
    margin-right: 10px;
}
#edicion select:last-child {
    margin-right: 0;
}
.contenedor-fecha input {
    margin-right: 10px;
}

#index input[type="submit"], #index input[type="button"], #edicion input[type="submit"], #cambio-clave input[type="button"] {
    /*background: linear-gradient(#f80417, #5c0707);*/
    width: 50%;
    margin: auto;
    color: var(--color8);
    box-shadow: 5px 5px 20px var(--sombras);
    border:none;
    cursor: pointer;
    margin-bottom: 0;
    margin-top: 1em;
    font-weight: bold;
    display: block;
    padding: 1em;
    border-radius: 7px;
    border: 1px solid var(--color8);
    
}

#cambio-clave input[type="submit"] {
     width: 100%;
}
#index input[type="submit"]:hover, #index input[type="button"]:hover, #edicion input[type="submit"]:hover, #cambio-clave input[type="button"]:hover {
    /*background: linear-gradient(#5c0707,#f80417);*/
    border: 1px solid var(--color1);
    color: var(--color1);
    
}

#index input[type="submit"]:active, #edicion input[type="submit"]:active, #cambio-clave input[type="submit"]:active {
    transform: scale(0.95);
}

#header {
    width: 100%;
    background: var(--verde-mada);
}
#footer {
    width: 100%;
}
.fecha {
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: space-between;
}

.contenedor-ver-archivos {
    width: 90%;
    margin: 25px auto;
    padding: 20px;
    box-shadow: 1px 2px 10px var(--sombras);
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    flex-wrap: wrap;
}

.item-archivos {
    padding: 10px 20px;
}
hr {
    height: 1px;
    background-color: var(--color3);
    width: 100%;
    border: 0;
}
/* desde */
@media(min-width:768px) {
.left {
    text-align: left;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}
/*    PAGINA INDEX */
#index{
    height: 100vh;
    background-size: cover;
}
    
#index h2 {
    font-size: 1.5em;
}

#index form, #cambio-clave form {
    width: 50%;
    max-width: 500px;
    margin: 1em auto;
}

#index input {
    width: 70%;
}

.contenedor-intranet {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 0px auto;
width: var(--ancho100);
}

.contenedor-65, .contenedor-50 {
width: 65%;
border-right: 1px dotted var(--blanco);
}

.contenedor-50 {
width: 50%;
}

.contenedor-35 {
width: 35%;
}

#edicion .edicion__filas {
    display: grid;
    grid-gap: 0 20px;
    grid-template-columns: repeat(2, 48%);
}
.contenedor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 250px;
}
.item__texto-header {
    width: 50%;
    text-align: left;
}
.item__texto-header img {
    width: 300px;
    text-align: left;
}
.item__texto-header h1, .item__texto-header h2 {
    text-align: right;
    padding: 0;
}
    
.contenedor-ver-archivos {
    width: 40%;
    height: 350px;
}

table {
        width: 100%;
    }
table thead {
    display: inline-table; 
    width: 100%;
    background: #d8d8d8;
}

table th, table td {
    text-align: center;
    display: inline-block;
    border: 0;
    
}

table td:before {
    content: none;
}
}