@charset "UTF-8";
/* CSS Document */

@font-face {
    font-family: 'Roboto';
    src: url(../fonts/Roboto-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url(../fonts/Roboto-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: 'Roboto';
    src: url(../fonts/Roboto-Black.ttf);
    font-weight: bolder;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 16px;
    vertical-align: baseline;
    box-sizing: border-box;
    font-family: 'Monserrat', Arial, sans-serif;
    font-weight: normal;
    text-rendering: optimizeLegibility;

}

body {
    font-size: 1rem;
    color: #444;
    width: 90%;
    /* border: solid 1px red; */
    background-color: white;
    margin: 10px auto;
    padding: 10px;
    font-family: 'Monserrat', Arial, sans-serif;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

[class*="col-"] {
    float: left;
    padding: 6px 15px;
    /* border: 1px solid gray; */
}

.col-1 {
    width: 8.33%;
}

.col-2 {
    width: 16.66%
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.33%;
}

.col-5 {
    width: 41.66%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.33%;
}

.col-8 {
    width: 66.66%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.33%;
}

.col-11 {
    width: 91.66%;
}

.col-12 {
    width: 100%;
}

form p {
    padding: 5px;
    font-weight: bold;
}

section {
    background-color: whitesmoke;
    display: inline-block;
    border-radius: 10px;
    width: 100%;
    position: relative;
}

header {
    /* border:solid 1px gray; */
    background-color: white;
}

.logo {
    width: 300px;
    margin-bottom: 20px;
}

nav {
    text-align: right;
    position: relative;
}

nav a {
    text-decoration: none;
    display: inline-block;
    text-align: center;
    color: darkslategray;
    font-variant: all-small-caps;
    font-size: 20px;
}

nav a:hover {
    color: forestgreen;
    font-weight: bold;
}

nav .usuario {
    position: absolute;
    top: 3px;
    font-size: 14px;
}

@media print {
    * {
        font-size: 10px;
    }

    nav {
        display: none;
    }

    legend {
        background-color: white;
    }

    h1 {
        font-size: 1.5rem;
    }

}

footer {
    clear: both;
    border-top: solid 1px white;
    height: auto;
    font-size: 12px;
    text-align: center;
    line-height: 150%;
    padding: 20px;
    background-color: whitesmoke;
    border-radius: 10px;
}

/* */
.sliderBar {
    display: block;
    width: 100%;
    position: relative;
    padding: 0 12px;
}

input[type=range]~datalist {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 12px;
    width: 100%;
    margin: 36px 0;
    padding: 0;
}

input[type=range]~datalist option {
    display: block;
    width: 24px;
    background: 0 0;
    padding: 0;
    text-align: center;
}

input[type=range]~datalist option:after {
    content: attr(value);
}


h1 {
    font-size: 1.6rem;
    font-variant: small-caps;
    color: crimson;
    text-align: center;
    margin: 10px 0px 10px 0px;
}

h6 {
    font-size: 13px;
    font-weight: normal;
}

fieldset {
    border: solid 1px crimson;
    border-radius: 5px;
    width: 99%;
    min-height: 35px;
    margin: 0 auto;
    position: relative;

}

legend {
    font-size: 1.2rem;
    font-variant: small-caps;
    color: crimson;
    padding: 0 3px;
    margin: 0 10px;
}

#boton_acudiente,
#boton_ant {
    position: absolute;
    top: -19px;
    right: 3px;
    font-size: 29px;
    color: crimson;
    cursor: pointer;
}


label {
    display: block;
    color: crimson;
    font-variant: small-caps;
}

input,
select {
    border: solid 1px gray;
    padding: 4px;
    border-radius: 3px;
    width: 100%;
}

select {
    padding: 3px;
}

input[type="radio"],
input[type="checkbox"] {
    display: inline;
    width: auto;
    height: 12px;
    margin-top: 8px;
    margin-left: 20px;
    font-size: 10px;
    margin-bottom: 8px;
}

input[type="date"] {
    display: inline;
    width: auto;
    height: 17px;
    padding: 13px;
}

input[type="file"] {
    font-size: 12px;
}

textarea {
    width: 100%;
    border: solid 1px gray;
    border-radius: 5px;
    padding: 5px;
}

input[type='button'],
input[type='submit'],
input[type='reset'] {
    background: linear-gradient(#2d7dc5, #2e4676);
    border: solid 1px #07c;
    color: #fff;
    margin: 4px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    min-width: 30px;
    padding: 3px 15px 4px 15px;
    text-align: center;
    width: auto;
}

input[type='reset'] {
    background: linear-gradient(#c52d2d, #762e2e);
}

input[type='button']:hover {
    background: linear-gradient(#2e4676, #2d7dc5);
    border: solid 1px #07c;
    color: #fff;
}

input[type=reset]:hover {
    background: linear-gradient(#762e2e, #c52d2d);
    border: solid 1px #07c;
    color: #fff;
}

select[id='cie10'] {
    font-size: 13px;
    height: 29px;
}

.finpag {
    clear: both;
}

#acceso {
    border: solid 1px black;
    width: 30%;
    margin: 5vw auto;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    opacity: .7;
    height: auto;
    /* animation: acceso 20s ease-in-out 1; */
    animation: fadeInOpacity 3s 1;
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
}

.cuadro {
    text-align: center;
    font-size: 1.3vw;
    width: 14%;
    border: solid 1px gray;
    background-color: white;
    float: left;
    margin: 10px;
    color: gray;
    border-radius: 5px;
}

.cuadro:hover {
    opacity: 0.7;
}

.icono {
    width: 100%;
    padding: 5px;
}

.tabla {
    display: table;
    width: 99%;
    margin: 10px auto;
    background-color: white;
}

.linea {
    display: table-row;
}

.lineaCabeza {
    display: table-row-group;
    color: crimson;
    font-variant: small-caps;
}

.celda {
    display: table-cell;
    text-align: left;
    border-collapse: collapse;
    font-size: 1.3vw;
    padding: 2px;
}

.celda img {
    width: 2vw;
    height: auto;
}

#insertar {
    position: absolute;
    top: 6px;
    right: 17px;
    width: 25px;
    height: 25px;
}

#insertar img {
    width: 25px;
    height: auto;
}

th {
    border: solid 1px red;
    font-size: 10px;
}

td {
    border: solid 1px red;
    font-size: 10px;
}

@media only screen and (max-width: 860px) {
    /*max-width: 768px*/
    /* For mobile phones: */

    body {
        width: 100%;
    }

    [class*="col-"] {
        width: 100%;
    }

    .cuadro {
        width: 42%;
        font-size: 3.3vw;
    }

    .logo {
        width: 100%;
    }


}