@import url("https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,300,400,700");

/* ==========================
   BASE
========================== */

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font: 13px/20px "Open Sans", Tahoma, Verdana, sans-serif;
    color: #a7a599;
    background: linear-gradient( rgba(0,0,0,.55), rgba(0,0,0,.55) ), url("../img/login-bg.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* ==========================
   LOGO
========================== */

.logo {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

    .logo .tenant-logo {
        max-width: 260px;
        max-height: 110px;
        width: auto;
        height: auto;
        object-fit: contain;
        display: inline-block;
    }

/* ==========================
   LOGIN
========================== */

.login {
    position: relative;
    margin: 0 auto;
    width: 370px;
    min-height: 335px;
    background: rgba(255,255,255,.96);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.35);
    z-index: 1;
}

    .login:before {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        background: rgba(255,255,255,.10);
        border-radius: 4px;
        z-index: -1;
    }

    .login h1 {
        margin: 0;
        height: 60px;
        line-height: 60px;
        font-size: 24px;
        font-weight: bold;
        font-family: "Open Sans", sans-serif;
        text-transform: uppercase;
        text-align: center;
        color: #fff;
        background: #3b77ad;
    }

/* ==========================
   FORM
========================== */

.form {
    width: 100%;
    padding-top: 25px;
}

    .form .field {
        position: relative;
        margin: 0 50px 15px 50px;
    }

        .form .field i {
            position: absolute;
            left: 0;
            top: 0;
            width: 44px;
            height: 44px;
            line-height: 44px;
            text-align: center;
            font-size: 18px;
            color: #f7f3eb;
            background: #676056;
            pointer-events: none;
            transition: all .3s ease;
        }

/* ==========================
   INPUTS
========================== */

::-webkit-input-placeholder {
    color: #ded9cf;
}

:-moz-placeholder {
    color: #ded9cf;
}

::-moz-placeholder {
    color: #ded9cf;
}

:-ms-input-placeholder {
    color: #ded9cf;
}

.form input[type=text],
.form input[type=password] {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    padding: 10px 15px 10px 55px;
    border: none;
    background: #f7f3eb;
    color: #676056;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
}

    .form input[type=text]:hover ~ i,
    .form input[type=password]:hover ~ i {
        color: #1062ac;
    }

    .form input[type=text]:focus ~ i,
    .form input[type=password]:focus ~ i {
        color: #27ae60;
    }

    .form input[type=text]:focus,
    .form input[type=password]:focus {
        outline: none;
    }

/* ==========================
   BOTÃO
========================== */

.submit {
    text-align: center;
    margin-top: 10px;
}

.form input[type=submit] {
    width: 270px;
    padding: 12px 0;
    border: none;
    background: #1062ac;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
}

    .form input[type=submit]:hover {
        background: #3b77ad;
    }

/* ==========================
   FORGOT PASSWORD
========================== */

.forgot {
    text-align: center;
    margin-top: 20px;
}

    .forgot a {
        color: #a7a599;
        font-size: 12px;
        text-decoration: underline;
        transition: all .3s ease;
    }

        .forgot a:hover {
            color: #f2672e;
        }

/* ==========================
   COPYRIGHT
========================== */

.copyright {
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
}

    .copyright p,
    .copyright a {
        color: #d1d1d1;
        font-size: 13px;
        text-decoration: underline;
    }

        .copyright a:hover {
            color: #f2672e;
        }

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

    body {
        background-attachment: scroll;
    }

    .logo {
        margin-top: 60px;
        margin-bottom: 25px;
    }

        .logo .tenant-logo {
            max-width: 220px;
            max-height: 90px;
        }

    .login {
        width: 90%;
        max-width: 370px;
    }

    .form .field {
        margin-left: 25px;
        margin-right: 25px;
    }

    .form input[type=submit] {
        width: calc(100% - 50px);
    }
}
