*{
    margin:0;
}

a{  
    text-decoration: none;
}

a:hover{  
    text-decoration: underline;
}

footer{
    /*height: 15vh;*/
    padding-top:1em;
    text-align: center;
}

footer a{
    color:#232323;
    font-family: "Lucida Sans";
    font-size: .8em;
}
footer h5{
    color:#232323;
    font-family: 'Roboto', sans-serif;
}

form{
    background: rgba(0, 0, 0, 0.3);
    bottom: .3em;
    margin-top:3em;
    min-height: 240px;
    min-width: 340px;
    padding-top: 1.5em;
    padding-bottom:1.5em;
    /*position:absolute;*/ /*20180816*/
    width: 100%; 
}

form a{
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: .9em; 
    font-weight: bold;
}

form button{
    background: #15ABDE;
    border: 2px solid #15ABDE;
    color: #fff;
    cursor:pointer;
    display:block;
    font-weight: bold;
    height: 3.3em;
    margin: 1em auto;
    width:90%;
}

form button:hover{
    background: #e3256c;
    border: 2px solid #e3256c;
}


form h3, h4{
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size:1em;
    font-weight: normal;
    margin-left:5%;
    text-align: left;
}


form h4{
  font-size:.75em;
  margin-top:1em;  
}


form label{
    color:#fff;
    font-family: 'Lucida Sans';
    font-size: .9em;
    font-weight: bold;
    margin-top:5vh;
}


form input{
    background-color: #fff;
    border:0px;
    color:#000;
    display: block;
    font-size: .85em;
    height: 3.0em;
    margin:0.2em auto;
    padding-left:.7em;
    width: 88%;
}

form input:active{
    border:0px;
}    

::placeholder {
    color: #000;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #000;
}

::-ms-input-placeholder { /* Microsoft Edge */
   color: #fff;
}

form p{
  margin-top:3vh;  
}

#dialog-cookies{
    color: #fff;
    /*display:none;*/
    background-color: #15ABDE;
    box-shadow: 0px 2px #888888;
    font-family: Roboto, sans-serif;
    font-size: 0.9em;
    left:0;
    position:absolute;
    text-align:center;
    top:0;
    width:99.5%;
    z-index:10;
    padding: 3px;
}


#dialog-cookies a{
    color:#FFDB0A;
}

#dialog-cookies button{
    background-color: #424242;
    color: #fff;
    border: 2px solid #fff;
    font-family: Roboto, sans-serif;
    font-size:1.0em;
    font-style:normal;
    font-weight: 500;
    height: 2.5em;
}


#contenido{
    /*height: 85vh;*/
    margin-top: 2em;
    position:relative;
    text-align: center;
}

#div-error{
    background-color: #fff;
    border:1px solid #555;
    color:#c90000;
    font-family: 'Lucida Sans';
    left: 50%;
    min-height: 5vh;
    padding:3em 2em;
    position: fixed;
    top:35vh;
    transform: translateX(-50%);
    z-index: 2000;
}

#div-inputs{
    text-align: center;
    margin-top:2vh;
    width:100%;
}

#links-support-teachers{
    position:fixed;
    left:90vw;
    top:30%;
    text-align: center;
    z-index: 2000;
}

#logo{
    margin-top: 2em;
    vertical-align: middle;
    min-width: 340px;
    width:100%;
}

#soporte-link{
    margin:1em auto;
    min-width: 70px;
    width:5vw;
}

#soporte-link img{
    width: 100%;
}

#soporte-link img:hover{
    transform: rotate(15deg);
}


.tercio{
    display: inline-block;
    margin: 0 .7em;
    min-width: 340px;
    vertical-align: top;
    width: 28%;    
}


.tercio .img_sup{
    width: 70%;
}

.tercio .img_inf{
    /*margin-top: 3.5vh;*//*20180816*/
    width: 70%;
}

#visiblepass{ 
    display: inline-block;
    float: right;
    color: #888;
    margin-top: -35px;/*-28px*/
    /*margin-right: 8px;*/
    font-size: 1.2em;
  }




/************* Estilos del autochecking **************/
#myModal4{
    background-color:#fff;
    border: 1px solid #9b9b9b;
    display: none;
    position:absolute;
    top: 3vh;
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
    padding: 1em;    
}

#myModal4 iframe{
    display:block;
    min-height: 500px;
    margin: 0 auto;
    position:relative;
}

.modal-footer{
    border-top: 1px solid #bababa;
    text-align: right;
}

.modal-footer button{
    background: #4DC1CF;
    border: 2px solid #4DC1CF;
    cursor:pointer;
    color: #FFF;
    font-family: 'Lucida Sans';
    font-size:.9em;
    font-weight: bold;
    margin-top: 4vh;
    padding: 1em 1em;
}

.modal-header p{
    border-bottom: 1px solid #bababa;
    display: inline-block;
    color: #6D07E7;
    font-variant: small-caps;
    font-weight: bold;
    float: left;
    font-family: 'Raleway';
    font-size:.8em;
    padding-bottom: .8em;
    margin-top: 0.8em;
    text-align: left;
    /*text-shadow: #000 1px 1px 1px, #000 -1px 1px 1px, #000 1px -1px 1px, #000 -1px -1px 1px;*/
    /*text-shadow: #000 1px 1px 1px, #000 -1px 1px 1px, #000 1px -1px 1px, #000 -1px -1px 1px, #000 0 1px 1px, #000 0 -1px 1px, #000 1px 0 1px, #000 -1px 0 1px;*/

}

.modal-title{    
    color:#000;
    font-family: 'Raleway';
    font-weight: bold;
    text-align: center;
}


/******************* MEDIA QUERIES *********************/

@media (min-width: 1920px){
    #contenido{
        margin-top: 10em;
    }
    
    footer a{
        font-size:.9em;
    }
    
    footer h5{
        font-size:1em;
    }
    
    
    form{
        min-height:22em; 
    }
    
    form a{
        font-size: 1em;
    }
    
    form button{
        font-size: 1.1em;
    }
    
    form h3{
        font-size: 1.2em;
        margin-top: 1em;
    }
    
    form h4{
        font-size: 1em;
        margin-left:2em;
    }
    
}   

@media (min-width: 2560px){
    #contenido{
        margin-top: 10em;
    }
    
    footer a{
        font-size: 1.2em;
    }
    
    footer h5{
        font-size: 1.4em;
    }
    
    form{
        min-height:32em; 
    }
    
    form a{
        font-size:1.3em;
    }
    
    form button{
        font-size: 1.4em;
    }
    
    form h3{
        font-size: 1.7em;
        margin-top: 2em;
    }
    
    form h4{
        font-size: 1.2em;
        margin-left:2.2em;
    }
    
    form input{
        height: 4em;
        margin: .7em auto;
    }
    
    #div-inputs{
        margin-top: 3.5em;
    }
    
}

@media (min-width: 3840px){
    #contenido{
        margin-top: 20em;
    }
    
    footer a{
        font-size: 1.7em;
    }
    
    footer h5{
        font-size: 2em;
    }
    
    form{
        min-height:50em; 
    }
    
    form a{
        font-size: 2em;
    }
    
    form button{
        font-size:1.8em;
    }
    
    form h3{
        font-size: 2.5em;
        margin-top: 2em;
    }
    
    form h4{
        font-size: 1.8em;
        margin-left:2em;
    }
    
    form input{
        font-size:1.6em;
        margin: .8em auto;
    }
    
    #div-inputs{
        margin-top: 3.5em;
    }
    

} 





@media (min-width: 778px) and (max-width: 1166px){
    #logo{
        margin-top:1em;
        min-width: 0px;
        width: 90%;
    }
    
    .tercio.der{
        display: none;
    }
    
}

@media (min-width: 531px) and (max-width: 777px){  
    
    #links-support-teachers{
        left:85vw;
    }  
        
    form{
        position:relative;
    }
    .tercio.der{
        display: none;
    }
    
    .tercio.izq{
        display: none;
    }
    
    #myModal4{
        width:70%;
    }
    
}

@media (min-width: 401px) and (max-width: 530px){  
    
    #links-support-teachers{
        left:80vw;
    }  
        
    form{
        position:relative;
    }
    .tercio.der{
        display: none;
    }
    
    .tercio.izq{
        display: none;
    }
    
    #myModal4{
        width:80%;
    }
    
}

@media (min-width: 41px) and (max-width: 400px){  
    
    #links-support-teachers{
        left:75vw;
    }  
        
    form{
        position:relative;
    }
    .tercio.der{
        display: none;
    }
    
    .tercio.izq{
        display: none;
    }
    
    #myModal4{
        width:80%;
    }
}


.image-fondo {
    background-image: url("../img/bkg2.jpg");
    background-size: cover;
}

/****** Media queries del iframe de autochecking ******/

@media (min-width: 445px) and (max-width: 925px){  
    
    #myModal4 iframe{
        height: 600px;
    }
    
}

@media (min-width: 260px) and (max-width: 444px){  
    
    #myModal4 iframe{
        height: 750px;
    }
    
}

@media (min-width: 45px) and (max-width: 259px){  
    
    #myModal4 iframe{
        height: 900px;
    }
    
}
