/*
 * FONTS
 */

@font-face {
    font-family: Novecento-DB;
    src: url(../font/novecento-db.otf);
}

/*
 * DOCUMENT
 */

html, body {
    width: 100%;
    height: 100%;
    background-color: #F5F5F7;
    position: relative;
}

/*
 * WRAPPER
 */

 #login {
     height: 480px;
     position: absolute;
     top: 50%;
     left: 15px;
     right: 15px;
     -webkit-transform: translate(0, -50%);
     -moz-transform: translate(0, -50%);
     -ms-transform: translate(0, -50%);
     -o-transform: translate(0, -50%);
     transform: translate(0, -50%);
     background: #fff;
     border-radius: 10px;
     box-shadow: 0 4px 6px -6px gray;

 }

#login .container {
    height: 100%;
}

#login:after {
    display: block;
    content: attr(data-copyright);
    padding: 1rem 0;
    font-size: 70%;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -40px;
    color: #464a4c;
}

/*
 * FORMULARY
 */

#login .formulary {
    padding: 40px 30px;
    position: relative;
    width: 380px;
    display: inline-block;
}

#login .formulary .btn {
    cursor: pointer;
}

#login .formulary p {
    font-family: Novecento-DB;
    font-weight: 300;
    margin-bottom: 30px;
}

#login .formulary .clearfix a {
    font-size: 80%;
    color: #464a4c;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

#login .formulary .clearfix a:hover {
    color: #0275d8;
    text-decoration: none;
    border-bottom: 1px solid rgba(2,117,215,0.5);
}

.form-control {
    border-width: 0;
    box-shadow: 0 0 0 1px #d9d9d9;
}

.form-control:focus {
    box-shadow: 0 0 3px 1px #2a9dcc;
}

/*
 * SLIDER
 */

#login .slider {
    height: 480px;
    border-radius: 0 10px 10px 0;
    padding: 0;
    display: inline-block;
}

#login .slider>div, #login .slider>div>div, #login .slider>div>div>div {
    height: 100%;
}

#login .slider .carousel-inner {
    border-radius: 0 10px 10px 0;
}

#login .slider .carousel-item {
    background: none no-repeat center center;
    background-size: cover;
}

#login .slider .carousel-caption {
    text-align: left;
    left: 5%;
}

#login .slider .banner-text {
    width: 70%;
    position: absolute;
    bottom: 40px;
    padding-left: 20px;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

#login .slider .carousel-indicators {
    cursor: pointer;
}

/*
 *LOGOTYPE
 */

#logo-davion {
    height: 100px;
    margin-bottom: 25px;
}

#logo-davion>img {
    max-width: 100%;
    max-height: 100%;
}

/*
 * FOOTER
 */

.footer {
    padding: 1rem 0;
    font-size: 85%;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.footer a {
    font-weight: 500;
    color: #464a4c;
}

.footer a:hover {
    color: #0275d8;
}

.footer p {
    color: #464a4c;
    margin-bottom: 0;
}

/*
 * MEDIA QUERY
 */

@media (max-width: 790px) {
    #login {
        height: auto;
    }
    #login .formulary {
        width: 100%;
        padding: 20px 30px;
    }
    #login .slider {
        display: none;
    }
    .footer {
        display: none;
    }
}

@media (min-width: 790px) {
    #login .slider {
        position: absolute;
        left: 380px;
        top: 0;
        right: 0;
    }
    #login:after {
        display: none;
    }
}

@media (min-width: 1200px) {
    #login {
        width: 1140px;
        left: 50%;
        margin-left: -570px;
    }
    #login .slider {
        width: 760px;
        float: right;
    }
}
