html, body {
    font-family: Arial;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}
/*Todos los Elementos del Header*/
header {
    display:flex;
    flex-flow:row nowrap;
    justify-content: space-between;
    align-items:center;
    width:100%;
    height: 17%;
    background: rgb(30,87,153); /* Old browsers */
    background: linear-gradient(to right,  rgba(30,87,153,1) 12%,rgba(41,137,216,1) 41%,rgba(32,124,202,1) 72%,rgba(50,151,229,1) 98%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#3297e5',GradientType=1 ); 
}
.logohead {
    height:60%;
    margin-left:10px;
}
section{ 
    height:70%;
    width:100%;
    background-image: url(../img/FONDO_PANOL-2.svg);
    background-repeat: no-repeat;
    background-size: cover; 
}
form#DetUsuario{
    padding-top:0.8%;
    height:100%;
    width:100%;
}

.Logo {
    height:100%;
    justify-content:center;
    text-align:center;
    align-self:center;
}

.Caja {
    width:100%;
    height:96%;
    display:flex;
    flex-flow: column wrap;
    justify-content:flex-start;
    align-items:center;
    align-self:center;
    background-image: url(../img/Login_forma.svg);
    background-size:contain;
    background-repeat: no-repeat;
    background-position:center ;
}

p {
    display:inline-block;
    color:white;
    margin-bottom:5px;
    margin-top:4px;
}
h2 { 
	font-size: 29px;
    color:white;
    font-weight: normal;
    margin-top: 4.7%;
    margin-bottom: 8px;

}

span#lblCodigo {
    display:inline-block;
    color:white;
    margin-right:2.4%;
}

.BotonEntrar {
    width:14%;
    align-self:center;
    margin-top:3px;
    min-width: 150px;
}

.Botones{
    width:100%;
    height:100px;
    display:flex;
    flex-flow: row wrap;
    justify-content:flex-start;

}


.Boton {
    width: 70px;
}


.Textos{
    border-color: #05B9E8;
    border-width:1px;
    border-style:solid;
    background-color:#434242;
    height: 20px;
    Width: 200px;
    color:#fff;
    margin-bottom:1%;
    margin-left:10px;
}

.TextosLogin{
    display:flex;
    flex-flow: row wrap;
    justify-content:center;
    align-items:flex-start;
    align-self:center;
}

.ImgTextos{
    width:28px;
   
}

.DropD {
     border-color: #05B9E8;
    border-width:1px;
    border-style:solid;
    background-color:#434242;
    height: 26px;
    Width: 200px;
    color:#fff; 
    margin-left:10px;
}
.Error{
    text-align:center;
    color:#FF0D09;
    font-weight: bold;
    margin-top:2px;
    margin-bottom:0;
}

footer {
    display:flex;
    flex-flow:row nowrap;
    justify-content: flex-end;  
    align-items:center;
    height: 13%;
    width:100%;
    background: rgb(30,87,153); /* Old browsers */
    background: linear-gradient(to right,  rgba(30,87,153,1) 12%,rgba(41,137,216,1) 41%,rgba(32,124,202,1) 72%,rgba(50,151,229,1) 98%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#3297e5',GradientType=1 ); 
}
.logoFooter {
    height:100%;
    width:300px;
    margin-right:3%
}
@media screen and (max-height:432px) {
    h2 {   
	font-size: 20px;
    margin-top: 10px;
    margin-bottom: 4px;
}
    p {
    font-size: 12px;
    margin-bottom:5px;
    margin-top:3px;
}

.Caja {
    background-size:288px;
}
.BotonEntrar {
    margin-top:2px;
}
}

@media screen and (max-height:550px) {
    h2 {   
	font-size: 20px;
    margin-top: 2.5%;
    margin-bottom: 4px;
}
    p {
    font-size: 12px;
    margin-bottom:5px;
    margin-top:3px;
}

.Caja {
    background-size:300px;
}
.BotonEntrar {
    margin-top:2px;
    width:100px;
}
}