@charset 'utf-8';
html, body{
    margin: 0;
    height: 100%;
    background: white;
    color: black;
    font-family: sans-serif;
    color: #5d5d5d;
}
img {
    width: auto;
    height: auto;
}
.wrapper{
    width: 1200px;
    height: 100%;
    margin: 0 auto 0 auto;
}
h1, h2, h3, h4, p{
    font-family: 'Catamaran', helvetica, arial;
    color: #5d5d5d;
    margin: 0;
}
.center{
    text-align: center;
}
.upper{
    text-transform: uppercase;  
}
.blue-text{
    color: #002147;
}
.white-text{
    color: white;
}
.errorlist{
    font-size: .8em;
    color: #a94442;
    padding: 9px;
    margin: 5px;
    border-radius: 7px;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.errorlist li{
    display: block;
}
.hidden{
    display: none;
}
header{
    background: #F2F2F2;
    color: #002147;
}
header .logo, header .title-website, header nav{
    display: inline-block;
    vertical-align: top;
}
header .logo{
    width: 17%;
    text-align: center;
}
header nav{
    width: 27%;
    text-align: center;
    padding: 30px 0;
}
header .title-website{
    width: 55%;
    padding: 30px 0;
}
nav ul{
    margin: 0;
    padding: 0;
}
nav li{
    display: inline-block;
    vertical-align: top;
    margin: 0 5px;
}
footer{
    background: white;
    color:  #002147;
    padding: 30px 0 15px 0;
    text-align: center;
}

.messages{
    padding: 0;
    margin: 0;
    text-align: center;
}
.messages .error, .messages .success{
    display: inline-block;
    vertical-align: top;
}
.errorlist, .error{
    font-size: .8em;
    color: #a94442;
    padding: 9px;
    margin: 5px;
    border-radius: 7px;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.messages .success{
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    padding: 15px;
    margin: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.messages .info{
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    padding: 15px;
    margin: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: block;
}
.errorlist li{
    display: block;
}

.primaryAction{
    border: none;
}
.btn-r{
    display: block;
    padding: 10px 15px;
    border-radius: 7px;
    background: #002147;
    text-decoration: none;
    color: white;
}
.btn-r:hover{
    outline: 1px solid black;
}

.btn-gray{
    background: #E5E5E5;
    color: #191919;
    font-weight: bold;
}

.btn-white{
    background: white;
    color: #191919;
    font-weight: bold;
}
.btn-void{
    background: none;
    border: 2px solid #002147;
    color: #002147;
    padding: 4px;
}

.icon-lock, .icon-person{
    position: relative;
    padding-left: 35px;
}
.icon-lock:before{
    content: "";
    position: absolute;
    left: 10px;
    width: 16px;
    height: 22px;
    background: url(../img/BotonLogin.png) no-repeat;
}
.icon-person:before{
    content: "";
    position: absolute;
    left: 10px;
    width: 16px;
    height: 22px;
    background: url(../img/BotonRegister.png) no-repeat;
}



/* LOGIN AND REGISTER CSS */

.login-background{
    background: url(../img/login.png) no-repeat;
    background-size: cover;
}

.info-fam, .login-box{
    display: inline-block;
    vertical-align: top;
}
.info-fam{
    width: 50%;
    margin: 5%;
}
.info-fam h2{
    font-size: 20px;
    color: #002147; /* blue */
    line-height: 20px;
    margin-bottom: 30px;
}
.info-fam p{
    padding: 15px 0;
}
.info-fam .info{
    position: relative;
    padding-left: 45px;
    margin-bottom: 28px;
}
.info-fam .info:before{
    content: "";
    position: absolute;
    left: 0;
    width: 31px;
    height: 31px;
    background: url(../img/checklogin.png);
}
.enjoy{
    font-size: 1.6em;
    text-indent: 5px;
    color: #002147;
    font-weight: bold;
}

.login-box{
    margin: 2%;
    width: 33%;
    padding: 7px;
    background: white;
    border-radius: 7px;
    border: 2px solid #F2F2F2;
    text-align: center;
}
.login-box .login{
    text-align: center;
}
.login-box .login label, .login-box .signup label{
    display: block;
    text-align: left;
    text-indent: 8%;
    font-weight: bold;
}
.login-box .login label[for=id_remember], .login-box .login input[type=checkbox]{
    display: inline;
}
.login-box .login input[type=text],
.login-box .signup input[type=text],
.login-box .signup input[type=email],
.login-box .signup select,
.login-box .login input[type=password],
.login-box .signup input[type=password]{
    width: 80%;
    height: 25px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.login-box .signup select{
    -ms-box-sizing:content-box;
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box; 
    box-sizing:content-box;
}

.login-box .login button[type=submit],
.login-box .signup button[type=submit]{
    display: block;
    margin: 15px auto;
}
.login-box .signup button[type=submit]{
    border: none;
}
.login-box .socialaccount_providers{
    margin: 0;
    padding: 0;
}
.login-box .socialaccount_providers li{
    display: inline-block;
}
.login-box .facebook{
    background: url(../img/login-withfb.png) no-repeat;
    background-size: contain;
    display: block;
    width: 190px;
    height: 37px;
}

@media screen and (max-width: 1200px){
    .wrapper {
        max-width: 940px;
    }
    .info-today{
        left: 0;
    }
    header .title-website {
        width: 48%;
    }
    header nav {
        width: 34%;
    }
}

@media screen and (max-width: 940px) {
    header .logo {
        width: 30%;
        text-align: center;
    }
    header .title-website {
        width: 69%;
        padding: 10px 0;
    }
    header nav {
        width: 100%;
        padding: 10px 0;
    }
    .wrapper {
        width: 100%;
    }
    .login-box {
        margin: 2%;
        width: 30%;
    }
    .info-fam {
        width: 45%;
        margin: 5%;
    }
}
@media screen and (max-width: 450px){
    header .logo{
        width: 100%;
    }
    header .title-website {
        width: 100%;
        padding: 0;
        text-align: center;
    }
    header .title-website h2{
        font-size: 16px;
    }
    header nav{
        width: 100%;
        position: 10px 0;
    }
    .info-fam {
        width: 90%;
        margin: 5%;
    }
    .login-box {
        margin: 2%;
        width: 90%;
    }

}