﻿@import "fonts/fonts.css";

:root {
    --blanco: #fff;
    --fondo: #F0F5F7;
    --negro: #02083C;
    --gris: #558496;
    --gris-claro: #BED4DD;
    --azul: #3BBBFF;
    --azul-claro: #CBEEF7;
    --azul-oscuro: #2196f3;
    --verde: #37DD7D;
    --verde-claro: #D0F0D6;
    --naranja: #FD7518;
    --naranja-claro: #F7E3CB;
    --rojo: #E80000;
    --rojo-claro: #FF4D36;
    --amarillo: #F7A523;
    --sombra: 0px 3px 8px #BED4DD9B;
    --borde-s: 8px;
    --borde-l: 20px;
}

html * {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    display: flex;
    flex-flow: column;
    background-color: var(--fondo);
    color: var(--negro);
    font: 400 20px 'Commiss';
    margin: 0;
}

main {
    display: grid;
    text-align: center;
    height: 96vh;
    padding: 1em;
}

header, footer{
    display: grid;
    margin: 1em auto 2em;
    align-self: flex-end;
}

footer .logo img{
    width: 150px;
}

div.acceso {
    width: 95%;
    max-width: 300px;
    margin: 1em auto;
}

h1 {
    font-size: 1.2em;
    color: var(--negro);
    font-weight: bold;
    margin-bottom: .5em;

}

h2 {
    font-size: 1em;
    font-weight: 500;
    margin: 0 auto;
    margin-bottom: 2em;
    color: var(--gris);
}

/*h6{
    color: var(--gris);
}*/

a {
    color: var(--azul);
    -webkit-transition: 0.5s ease-in;
    -o-transition: 0.5s ease-in;
    transition: 0.5s ease-in;
}

a:hover {
    text-decoration: none;
}

p{
    margin: .8em auto;
}

/* form */
input {
    width: 100%;
    max-width: 300px;
    padding: 1em;
    margin: 10px;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    background-color: #fff !important;
    border: 1px solid #fff;
    border-radius: 9px;
    outline: none;
    box-sizing: border-box;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}
input:focus {
    color: #02083C;
}
/* Botón enviar */
input[type=submit] {
    background-color: #3BBBFF !important;
    color: #fff;
    max-width: 150px;
    margin: 1em 0;
}

/* color placeholder (texto provisional del input) */
input::-ms-placeholder {
    color: #BED4DD;
}
input::-webkit-input-placeholder {
    color: #BED4DD;
}
input::-moz-placeholder {
    color: #BED4DD;
}

input:focus{
    border: 1px solid var(--rojo);
}

.blue {
    color: var(--azul);
}

.red, .error {
    color: var(--rojo);
}
.orange{
    color: var(--naranja);
    max-width: 800px;
}

.row {
    width: 100%;
    max-width: 600px;
    margin: 1em auto;
    display: flex;
    justify-content: space-between;
    /*line-height: 3em;*/
    
}

.row span {
    font-weight: bold;
    color: var(--gris);
    text-align: right;
    min-width: 40%;
    white-space: nowrap;
    width: 100%;
    margin: auto;
}

#CambioContraseña{
    margin-bottom: 2em;
}

.volver{
    margin-top: 0;
    font-size: .8em;
}
@media all and (max-width: 600px){
    body{
        font: 300 16px 'Commiss';
    }
    input{
        font-size:.8em;
        padding: .7em;
    }
    #CambioContraseña .row{
        flex-wrap: wrap;
        justify-content: center;
    }
    #CambioContraseña .row > span{
        text-align: center;
    }

}/* Esto lo uso para un campo Email que carga el nº de agente... para que no se cargue en otro...*/
.oculto{
    opacity: 0;
    max-width: 0px!important;
    max-height: 0px!important;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: -2;
}

@media all and (max-height: 1010px){
    header{
        margin: 0 auto 2em
    }
    footer{
        margin: 0em auto 1em
    }
    p {
        margin: .5em auto;
    }
    input{
        padding: .5em;
    }
    .row {
        margin: .5em auto;
    }
    h2 {
        margin-bottom: 1em;
    }
}

/*@media all and (max-height: 700px){
    header{
        margin: 0 auto 2em
    }
    
}*/

