﻿body {
    background: url('../../images/oplz/login-background.jpg');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    height: 100vh;
    margin: 0;
}

p {
    margin-bottom: 30px;
}

.c-login {
    position: relative;
    height: 100vh;
    width: 100%;
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

@media only screen and (max-width: 768px) {

    body {
        background-position: 30% 0;
    }

    .c-login {
        position: fixed;
        height: 100vh;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(255,255,255, 0.7);
    }
}

.c-login__wrapper {
    position: relative;
    max-width: 380px;
}

.c-login__title {
    margin: 0 0 15px 15px;
    font-weight: 700;
    font-size: 42px;
}

.c-login-reset .c-login__title {
    font-weight: 300;
    font-size: 2rem;
    line-height: 36px;
    margin: 0 0 20px 0;
}

.form-label {
    margin: 0;
    padding: 0 11px 5px;
}

.c-login__image {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
}

@media only screen and (max-width: 768px) {
    .c-login__title {
        font-size: 26px;
    }

    .c-login__image {
        top: -50px;
        right: 40px;
    }
}

.c-alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.c-alert {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.c-login__error {
    margin: 0 15px;
    color: #fff;
    margin-top: -2px;
}

    .c-login__error li {
        list-style: none;
    }

    .c-login__error ul {
        padding: 0 14px;
    }

.c-login__body {
    padding-top: 0;
}

.c-login__link {
    color: rgb(51, 51, 51);
    font-weight: 700;
}

    .c-login__link:hover {
        color: rgb(51, 51, 51);
    }

.c-login__info {
    margin-top: 15px;
    font-size: 15px;
    text-align: center;
}

.c-login__extratext {
    font-size: 14px;
}

.text-error {
    color: rgb(225, 36, 99);
    display: block;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 5px 0 0;
    padding-left: 10px;
}

.c-login-reset .validation-summary-errors {
    color: #721C24;
    background-color: #F8D7DA;    
    margin-top: 1rem !important;
    padding: 0.5rem !important;
    border: 1px #F5C6CB solid;
    border-radius: 5px;
}

    .c-login-reset .validation-summary-errors ul {
        margin: 0;
        padding: 0 1rem;
        list-style: none;
    }

.c-button {
    background-color: rgb(61, 85, 103);
    border: none;
    min-width: 100%;
    min-height: 38px;
    padding: 0 20px;
    outline: none;
    text-decoration: none;
    width: 200px;
}

    .c-button:hover {
        background-color: rgb(57, 79, 96);
    }

.c-login-reset .c-button {
    min-width: unset;
}

.c-button, .btn-primary {
    line-height: 40px;
    text-align: center;
    background-color: rgb(0, 0, 0);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 20px;
    text-decoration: none;
    transition: all .2s ease;
    margin: 0;
    outline: none;
}

@media only screen and (min-width: 768px) {
    .c-login__wrapper {
        background-color: rgba(255,255,255, 0.9);
        padding: 25px;
        border-radius: 4px;
        max-width: 475px;
        border: 1px solid rgb(221, 211, 211);
        box-shadow: 3px 3px 10px rgb(221, 211, 211);
    }

    .c-login-reset .c-login__wrapper {
        max-width: 520px;
    }
}

@media only screen and (min-width: 425px) {
    .c-button {
        min-width: 200px;
    }
}
