﻿@font-face {
    font-family: 'figuras2';
    src: url('figuras2.eot'); /* IE9 Compat Modes */
    src: url('figuras2.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('figuras2.woff') format('woff'), /* Modern Browsers */
         url('figuras2.ttf') format('truetype'), /* Safari, Android, iOS */
         url('figuras2.svg#figuras2') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}


/*-----------------------RESET--------------*/
html, body, div, section, img {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: top;
}
    html body {
        display: flex;
        flex-direction: column;
        height: 100%;
        margin 0px;
    }
* {
    -webkit-text-size-adjust: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

/*-------------------Estilo de boton----*/
.estiboton {
    display: inline-flex;
    flex-wrap: nowrap;
    background-color: #DCE6F0;
    border: 1px solid #777;
    font-family: Arial;
    font-size: 1.5rem;
    text-decoration: none;
    color: #003E6A;
    border-radius: .2em;
    box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);
    cursor: pointer;
    width: auto;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 0px 3px 0px 0px;
    margin-right: 10px;
}
.estiboton:hover {
        background-color: #eee;
 }
.estiboton:active {
        box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
        position: relative;
        top: 1px;
}
.estiboton:before
{
        background: #46890E;
        float: left;
        text-align: center;
        font-family: figuras2;
        color: #ffffff;
        font-size: 1rem;
        padding: 3px 3px 3px 3px;
        border-radius: 4px 0px 0px 4px;
        content: attr(data-iconoboton);
}

.estibotonamarillo:before {
    background: #ffff40;
    color: #000000;
}


/*-------------capturar información -Label dentro de la caja de texto-*/
input:disabled, select:disabled, textarea:disabled{
    background-color:rgba(239, 243, 245, 1);
}
.separadordatos {
    padding:0.5em;
}
.separadorproce {
    padding: 0.5em;
}
.CGrupo {
    position: relative;
    top: auto;
    margin-left: 5px;
    z-index: 0;
}
.CEntradaDatos {
    padding-top: 0.6em;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 0 #eee,#fff 0 1px 0;
    width: 100%;
    font-size: 1rem;
    height: auto;
    font-family: Arial;
    border-radius: 10px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    padding-left: 0.2em;
    color: #003e6a;
}
.CEntradaTitulo {
    position: absolute;
    top: 0;
    left: .5em;
    font-size: 0.7rem;
    font-family: Arial;
    color: green;
    white-space: nowrap;
    cursor: text;
}
.CEntradaDatos:focus {
    border-color: green;
}
.CEntradaDatos:focus ~ .CEntradaTitulo {
    font-size: 0.8rem;
    font-weight: bold;
    left: 5px;
    font-family: Arial;
}
.CEntradaDatos:valid ~.CEntradaTitulo {
  color:green;
}
.CEntradaDatos:focus:invalid ~.CEntradaTitulo{
  color:red;
}
.CEntradaDatos:required:invalid ~.CEntradaTitulo::before {
  content:"*";
  color:red;
}
.CEntradaDatos:required:invalid ~.CEntradaTitulo {
  color:red;
}
.CEntradaDatos:required:valid ~.CEntradaTitulo::before {
  content:"*";
    color:green;
}
.ocultarcampo{
    display:none;
}
.camposancho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    padding-left:10px;
    padding-right:10px;
}
.unocamposanchoitem {
    width: 100%;
}
.doscamposanchoitem {
    width: 48%;
}
.trescamposanchoitem {
    width: 32%;
}
.cuatrocamposanchoitem {
    width: 24%;
}

.enlinea {
    display: inline-block;
}

.logo {
    height: 60px;
}

.logo1 {
    height: 100%;
}

.cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    flex-wrap: wrap;
    background-color: #DCE6F0;
    flex-direction: row;
    padding-left: 5%;
    padding-right: 7%;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: solid;
    border-bottom-width: 1px;
}

#footer {
    padding: 20px 20px 20px;
    font: 14px 'Economica', sans-serif;
    line-height: 18px;
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
}


.fuentetexto1 {
    font: 15px/15px 'Economica', sans-serif;
    color: #0A44AA;
    padding-bottom:7px;
    margin-left:20px;
    margin-right:15px;
    font-weight:bold;
}
.fuentetexto2 {
    font: 18px/18px 'Economica', sans-serif;
    color: #0A44AA;
    font-weight:bold;
}
.fuentetexto3 {
    font: 13px/13px 'Economica', sans-serif;
    color: #0A44AA;
    padding-bottom: 7px;
    padding-left: 10px;
    font-weight: bold;
}
    .centrartexto {
    text-align: center;
}

.separador {
    margin-top: 20px;
}

.contenido2 {
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    background-position: 0% 100%;
    background-size: contain;
    background-repeat: no-repeat;
}

.bloquescontenido2 {
    width: 33.3%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
}


.login {
    width: 100%;
    background-color: #DCE6F0;
    -webkit-box-shadow: 3px 3px 16px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 3px 16px 0px rgba(0,0,0,0.75);
    box-shadow: 3px 3px 16px 0px rgba(0,0,0,0.75);
    padding-top: 10px;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    border: 0px solid #000000;
    display: flex;
    align-content: center;
    flex-direction: column;
}

.menulogin {
    display: flex;
    align-items: center;
    justify-content: space-around;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.camposlogin {
    padding-top: 30px;
    border-top: solid;
    border-top-width: 1px;
    margin-top: 10px;
    width: 100%;
}


.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 990;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalDialog2 {
    z-index: 995;
}

.modalDialog:target {
    opacity: 1;
    pointer-events: auto;
}

.modalDialog > div {
    position: relative;
    margin: 5% auto;
    border-radius: 15px;
    background: #DCE6F0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
}
.OpenModalMensaje {
    width: 65%;
}

@media only screen and (min-width: 1200px) {
    .bloquescontenido2 {
        width: 33.3%;
    }
    .logo {
        height: 60px;
    }
    .OpenModalMensaje {
        width: 40%;
    }

}

@media only screen and (min-width: 1000px) and (max-width: 1199px) {
    .bloquescontenido2 {
        width: 40%;
    }
    .logo {
        height: 50px;
    }
    .OpenModalMensaje {
        width: 65%;
    }

}

@media only screen and (min-width: 800px) and (max-width: 999px) {
    .bloquescontenido2 {
        width: 50%;
    }
    .logo {
        height: 45px;
    }
    .OpenModalMensaje {
        width: 70%;
    }

}

@media only screen and (min-width: 600px) and (max-width: 799px) {
    .bloquescontenido2 {
        width: 66%;
    }
    .logo {
        height: 40px;
    }
    .OpenModalMensaje {
        width: 80%;
    }

}

@media only screen and (max-width: 599px) {
    .bloquescontenido2 {
        width: 80%;
    }
    .logo {
        height: 30px;
    }
    .OpenModalMensaje {
        width: 95%;
    }


}
