﻿.login {
    position: fixed;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: #1d2029;
    opacity: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../images/search-bg.svg);
    background-position: center center;
    -webkit-transition: background-image 1s ease-in-out;
    -moz-transition: background-image 1s ease-in-out;
    -ms-transition: background-image 1s ease-in-out;
    -o-transition: background-image 1s ease-in-out;
    transition: background-image 1s ease-in-out;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    background-color: white !important;
    box-shadow: 0 0 0 30px white inset !important;
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

input:-internal-autofill-selected,
input:-internal-autofill-selected:hover,
input:-internal-autofill-selected:focus,
input:-internal-autofill-selected:active {
    background-color: white !important;
    box-shadow: 0 0 0 30px white inset !important;
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.login.error {
    background-image: url(../images/search-error.svg);
    animation: error 1s;
}

.login.authenticated {
    background-image: url(../images/green-search-bg.svg);
    animation: authenticated 1s;
}

@keyframes error {
    0% {
        background-image: url(../images/search-bg.svg);
    }

    100% {
        background-image: url(../images/search-error.svg);
    }
}

@keyframes authenticated {
    0% {
        background-image: url(../images/search-bg.svg);
    }

    100% {
        background-image: url(../images/green-search-bg.svg);
    }
}

.login_error {
    padding: 0 24px 12px 24px;
    position: relative;
    float: left;
    width: 100%;
}

    .login_error > .oi-x {
        float: right;
        width: 3%;
        cursor: pointer;
    }

.login_error_message {
    width: 95%;
    float: left;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: .89px;
}

.login_logo {
    position: absolute;
    left: 10px;
    top: 4px;
    z-index: 10;
}

    .login_logo img {
        width: 50px;
        height: 50px;
    }

.login_form {
    width: 50%;
    margin: 15% 25% 0 calc(50% - 250px);
    max-width: 500px;
}

    .login_form > h3 {
        font-size: 24px;
        text-transform: none;
        line-height: 30px;
        text-align: center;
        padding: 0px 0 12px 0;
    }

.login_inputs {
    width: 100%;
    color: #000;
    background-color: #fff;
    padding: 0;
    border-radius: 30px;
    margin-bottom: 34px;
    overflow: hidden;
    border: 2px solid transparent;
}

    .login_inputs.error {
        border: 2px solid #d7143e;
    }

.login_input {
    width: 100%;
    height: 60px;
}

    .login_input.error > span {
        color: #d7143e;
        font-weight: bold;
    }

    .login_input span {
        width: 25%;
        height: 58px;
        float: left;
        line-height: 60px;
        color: rgba(0,0,0,.38);
        text-align: right;
        font-size: 14px;
        font-weight: normal;
        text-align: right;
    }

    .login_input input {
        width: 70%;
        height: 58px;
        float: left;
        margin-left: 5%;
        border-color: transparent !important;
        font-weight: 700;
        font-size: 15px;
        margin-left: 5px;
    }

        .login_input input:focus {
            border: 1px solid red;
        }

        .login_input input:active {
            border: 1px solid green;
        }

.login_inputs .login_input:first-of-type {
    border-bottom: 2px solid #dddde6;
}

    .login_inputs .login_input:first-of-type.error {
        border-bottom: 2px solid #d7143e;
    }

.login_input:hover {
    transition: background-color 1000s ease-in-out 0s;
}

.login_btn {
    width: 200px;
    height: 48px;
    color: #fff;
    font-size: 16px;
    background-color: #1e97e0;
    border-radius: 20px;
    border: none;
    background-image: linear-gradient(135deg,#439dff,#2456ff);
    text-transform: lowercase;
}

.login_language {
    height: 48px;
    width: 95px;
    float: left;
    margin: 0 24px 0 0;
    background-color: white;
    border-radius: 20px;
    color: black;
    position: relative;
}

    .login_language > span {
        line-height: 28px;
        padding-left: 14px;
        color: rgba(0,0,0,.38);
    }

    .login_language > p {
        padding: 0 12px 0 15px;
        font-size: 12px;
        font-weight: bold;
    }

    .login_language > div.rp_icon_36 {
        top: -19px;
        right: 12px;
        cursor: pointer;
        background: url(../icons/black/arrow_down_black.svg);
        background-size: 11px;
        background-repeat: no-repeat;
        position: relative;
        width: 11px;
        height: 11px;
        display: inline-block;
    }

.login_language_dropdown {
    position: absolute;
    width: 100%;
    background-color: white;
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

    .login_language_dropdown ul {
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .login_language_dropdown ul li {
            width: 100%;
            padding: 12px 12px 12px 16px;
            font-size: 14px;
            cursor: pointer;
        }

            .login_language_dropdown ul li:hover {
                color: #2456ff;
                background-color: rgba(158,158,158,0.18);
            }
