
/***INICIO FUENTES***/
    /*
        @font-face{
            font-family: "fuente-titulo-1";
            src: url("OldNewspaperTypes.ttf") format("TrueType") ;
        }
        
        @font-face{
            font-family: "fuente-titulo-2";
            src: url("ModernSans-Light.otf") format("opentype") ;
        }
        
        @font-face{
            font-family: "fuente-texto-1";
            src:
                url("x.otf") format("opentype"),
                url("x.woff") format("woff");
        }
        
        @font-face{
            font-family: "fuente-texto-2";
            src:
                url("x.otf") format("opentype"),
                url("x.woff") format("woff");
        }
        
        @font-face{
            font-family: "fuente-adicional";
            src:
                url("x.otf") format("opentype"),
                url("x.woff") format("woff");
        }
    */
* {
    font-family: monospace;
}
/***FIN FUENTES***/

/***INICIO COLORES***/
:root {
    --color0: 245,245,245;  /*#F5F5F5*/
    --color1: 050,033,021;  /*#322115*/
    --color2: 252,253,192;  /*#FCFDC0*/
    --color3: 102,102,102;  /*#666666*/
    --color4: 217,217,217;  /*#D9D9D9*/
    --color5: 169,223,206;  /*#a9dfce*/
    --color6: 250,250,250;  /*#FAFAFA*/
    --color7: 161,048,020;  /*#A13014*/
    --color8: 207,146,010;  /*#CF920A*/
    --color9: 007,168,062;  /*#07a83e*/
    --color10:185,136,029;  /*#b9881d*/
    --color11:248,235,189;  /*#f8ebbd*/
    --color12:049,066,156; /*#31429c*/
}
/***FIN COLORES***/

/***INICIO BODY***/

        /* Estilo general de 'body'*/
        body{
            min-height: 100vh;
            font-family: monospace;
        }

        /* Estilo de 'body' para tipo 'oto' (otoñal)*/
        body[sty="oto"] {
            background: linear-gradient(to bottom, #ffe5b4, #ffcc80);
        }

        /* Estilo de 'body' para tipo 'inv' (invernal)*/
        body[sty="oto"] {
            background: linear-gradient(to bottom, #ffe5b4, #ffcc80);
        }

        /* Estilo de 'body' para tipo 'pri' (primaveral)*/
        body[sty="oto"] {
            background: linear-gradient(to bottom, #ffe5b4, #ffcc80);
        }

        /* Estilo de 'body' para tipo 'est' (estival)*/
        body[sty="oto"] {
            background: linear-gradient(to bottom, #ffe5b4, #ffcc80);
        }

        /* NOTA: la plantilla permite estilo con colores libres, definidos en BBDD y embebidos en la etiqueta 'style' del 'body' directamente */

        div#body {
            min-height: 100vh;
        }
        
        div#sitebox {
            min-height: 100vh;
        }
        
/***FIN BODY***/

/***INICIO TÍTULOS***/
        
        /*Estilo de título genérico*/
        h1, h2, h3, h4 {
            color: rgb(var(--color1));
            font-weight: bold;
            margin: 5px 0;
        }
        
        h1 { font-size: 22px; }
        
        h2 { font-size: 20px; }
        
        h3 { font-size: 18px; }
        
        h4 { font-size: 16px; }
        
        /*Estilo de título según tipo de 'body'' */
        body[sty="oto"] h1, body[sty="oto"] h2, body[sty="oto"] h3 {
            color: #cca366;
        }
        
/***FIN TÍTULOS***/

/***INICIO ELEMENTO CARGANDO***/
#loading {
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
    background-color: rgba(220,220,220,.8);
    z-index: 1000;
}

#loading .loading_img {
    width: calc(100% - 30px);
    max-width: 150px;
    aspect-ratio:1;
    padding: 15px;
    position: absolute;
    bottom: 0;
    right: 0;
}

#loading .loading_img svg {
    width: 100%;   
    height: auto;
    display: block;
    overflow: visible;
}

#loading .loading_img svg path {
    fill: none;
    stroke: rgb(var(--color1));
    stroke-width: 25px;
    stroke-linecap: round;
    stroke-dasharray: 2000 2300;
    stroke-dashoffset: 2000;
    animation: dashmove 3s linear infinite;
}

@keyframes dashmove {
    to {
        stroke-dashoffset: -2300;
    }
}
/***FIN ELEMENTO CARGANDO***/

/***INICIO INPUTS***/
label {
}

label span {
    width: 100%;
    color: #444;
    text-align: center;
    font-weight: bold;
    letter-spacing: 4px;
    /*margin-bottom: 15px;
    margin-left: 3px;*/
    display: block;
    border: none;
}

input[type="text"],input[type="password"],input[type="submit"],button,select{
    width: calc(100% - 14px);
    font-size: 18px;
    text-align: center;
    padding: 5px;
    margin: 15px 0 15px 0;
    border: solid 2px rgb(var(--color1));
    border-radius: 5px;
    display: block;
    cursor: pointer;
}

input[type="submit"],button{
    max-width: 150px;
    text-transform: uppercase;
    background-color: white;
    margin: auto;
    cursor: pointer;
    border-color: #00b3b3;
    transition: ease .3s;
}

input[type="submit"]:hover,button:hover{
    max-width: 180px;
    background-color: #00b3b311;
    cursor: pointer;
}

select {
    max-width: 300px;
    text-transform: uppercase;
}

/*Input Ckeckbox*/
/*Para que sea visible, el input+label(sin texto) deben estar dentro de un div que tenga la clase Input_Checkbox */
div.Input_Checkbox_wrapper {
    /* position: absolute; */
    /* width: 30px; */
    /* height: 30px; */
    /* margin: 6px 0; */
    /* overflow: visible; */
    /* display: inline-block; */
}

div.Input_Checkbox_wrapper span{
    display: block;
    line-height: 22px;
    padding-left: 26px;
}

div.Input_Checkbox {
    font-size: 14px;
    overflow: visible;
    margin-right: 1em;
}

.Input_Checkbox {}

div.Input_Checkbox label {
    background-color: rgb(var(--color0));
    border: 1px solid;
    border-radius: 50%;
    cursor: pointer;
    height: 1em;
    width: 1em;
    display: block;
    overflow: visible;
}

div.Input_Checkbox label:after {
    border: .15em solid #eee;
    box-shadow: -2px 2px 0px #66bb6a;
    border-top: none;
    border-right: none;
    content: "";
    height: 0.35em;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 30%;
    margin-left: 4px;
    margin-top: -2px;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 1.3em;
}

div.Input_Checkbox input {
    visibility: hidden;
    display: none;
    opacity: 0;
}

div.Input_Checkbox input:checked + label {
    background-color: #66bb6a;
    border-color: #66bb6a;
}

div.Input_Checkbox input:checked + label:after {
    opacity: 1;
}

/***FIN INPUTS***/

textarea {
    width: calc(100% - 12px);
    height: 50px;
    background-color: rgb(var(--color4));
    padding: 4px;
    margin: 4px 0;
    border: 2px solid;
    border-radius: 3px;
    display: block;
    resize: none;
}