@font-face {
    font-family: RoundedStBlack;
    src: url("../font/VAGRoundedStd-Black.otf") format("opentype");
}
@font-face {
    font-family: RoundedStBold;
    src: url("../font/VAGRoundedStd-Bold.otf") format("opentype");
}
@font-face {
    font-family: RoundedStLight;
    src: url("../font/VAGRoundedStd-Light.otf") format("opentype");
}
@font-face {
    font-family: RoundedStThin;
    src: url("../font/VAGRoundedStd-Thin.otf") format("opentype");
}

html, body, h1, h2, h3, h4, h5, h6, span, p, div{
    font-family: RoundedStLight;
}

html{
    width: 100%;
    height: 100%;
}

body{
    background: url("../images/f_login.jpg") no-repeat center center fixed;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
    font-family: 'Avenir';
}

#izquierda{
    background-color: rgba(255, 255, 255, 0.8);    
    text-align: center;   
    height: 100%;
    margin:auto;
    padding-top: 3%;
}

#izquierda p{
    font-size: 1.2em;
}

#izquierda img{
    max-width: 80%;
}

#derecha{
    height: auto ;
   /*  //background: rgba(0, 0, 0, 0.51); */
    text-align: center;   
}

#derecha form{
   /*  color: white; */
    width: 50%;
    display: block;
    background: #fff;   
    border-radius: 10px;
    margin-bottom: 2rem;
}


#derecha form#entrar{
    margin: 10% auto;
}

.header-login{    
    background-image: url("../images/header-login.svg");
    background-position: center right -3rem;
    background-size: 55%;
    background-repeat: no-repeat;
    height:15rem;
    border-radius: 10px  10px 0px 0px;
    padding: 0.2rem;
    padding-left: 2rem;
    text-align: left;  
    
}

.body-login{   
    padding: 2rem;
    
}

#derecha.registro form#entrar{
    display :none;
    background:red;

}

#derecha form#registro{
    margin: 10% auto 0;
}

#derecha.entrar form#registro{
    display: none;
}

#derecha form h2{
    text-transform: uppercase;
    font-weight: bold;
}

#derecha form h3{
    margin-top:2.5em
}

#derecha form .form-group{
    margin-bottom: 1.5em;
}

#derecha form label{
    font-size: 1.2em;
}

#derecha form input{
    text-align: center;
}

#derecha form input.btn{
    font-size: 1.2em;
    text-transform: uppercase;
    padding: 0.5em 3em;
    margin-bottom: 1.5em;
}

#derecha form p a{
    font-weight: bold;
    font-size: 1.5em;
    color:  hsl(289, 45%, 21%);
}

footer{
    height: 80px; 
    width: 100%;
    background-color:  hsl(289, 45%, 21%);
    color: white;
    position: fixed;
    bottom: 0;
    text-align: center;
    padding-top: 0.4rem;
   
   /*  padding: 0em; */
}
.aire{
    margin-top: 3em;
}

.btn-primary {
    color: #fff;
    background-color:  hsl(289, 45%, 21%);
    border-color: hsl(299, 33%, 49%);
}

.btn-primary:hover {
    color: #fff;
    background-color:  hsl(299, 52%, 62%);
    border-color: hsl(299, 33%, 49%);
}

.migas {
    position: relative;
    background-color: #ffffff;
    padding: 1.2em;
    height: 4em;
}

/* ACTUALZIACION DE IDIOMA */
.idioma{
    display: inline-block;
    float: right;
  
}
.idioma .selected{
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
    color:#7F3181;
   
}


/*tablet vertical o m�vil horizontal*/
@media only screen and (max-width: 760px) {

    #login #izquierda {
        width: 33% !important;
    
    }
    #login #izquierda img{
        max-width: 100%;
    }
    #login #derecha {
        width: 67% !important;
       
    }

    #login #derecha form{
        width: auto;
        margin: 20px;
       
    }
    #login #derecha form h2{
        font-size: 20px;
    }
    #login #derecha form h3{
        display: none;
    }
    #login #derecha .aire{
        margin: 0 0 5px 0;
    }
    #login #derecha form input.btn{
        margin: 10px 0;
    }
    #login #derecha form p a{
        margin-top: -5px;
        display: inline-block;
    }

    footer{
        height: auto;
        padding: 1em;       
    }
}

/*tablet vertical o m�vil vertical*/
@media only screen and (max-width: 478px) {

    #login #izquierda{
        width: 100% !important;
       /*  height: 30% !important; */
        padding-top: 10px;
         height: 75rem; 
    }
    #login #derecha{
        width: 100% !important;
        height: 60rem;
       /*  height: 70% !important; */
    }
    #login #izquierda img{
        max-width: 145px;
    }
}
