﻿body {
    margin: 0;
    padding: 0;
    background: none !important;
    font-family: 'Poppins', sans-serif;
}

.login-page-full {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    overflow: hidden;
}

    .login-page-full > .login-image {
        display: inline-flex;
        flex: 2;
        height: 100vh;
        overflow: hidden;
    }

        .login-page-full > .login-image > ul {
            margin: 0;
            padding: 0;
        }

        .login-page-full > .login-image img {
            -webkit-user-select: none;
            -moz-user-select: none;
            width: auto;
            height: 100vh;
            /*object-fit: cover;*/
            max-width: 100%;
        }

    .login-page-full > .login-content {
        display: inline-flex;
        flex-direction: column;
        flex: 1;
        padding-left: 4rem;
        padding-right: 4rem;
        height: 100vh;
        position: relative;
        align-items: center;
        justify-content: center;
    }

        .login-page-full > .login-content > form {
            display: block;
            width: 100%;
        }

            .login-page-full > .login-content > form > .login-logo {
                display: block;
                width: 100%;
                margin-bottom: 25px;
                text-align: center;
            }

                .login-page-full > .login-content > form > .login-logo > img {
                    width: auto;
                    height: auto;
                    max-height: 100px;
                }

            .login-page-full > .login-content > form > .login-text {
                display: block;
                width: 100%;
                font-size: 23px;
                font-weight: 500;
                color: #333333;
                letter-spacing: 0.3px;
                text-align: center;
                margin-bottom: 20px;
            }

            .login-page-full > .login-content > form > .form-field {
                position: relative;
                padding: 15px 0 0;
                margin-top: 10px;
            }

            .login-page-full > .login-content > form > .form-field {
                display: block;
                width: 100%;
                position: relative;
            }

                .login-page-full > .login-content > form > .form-field:not(:last-of-type) {
                    margin-bottom: 20px;
                }

                .login-page-full > .login-content > form > .form-field .forms_field-input {
                    font-family: "Poppins", sans-serif;
                    width: 100%;
                    border: 0;
                    border-bottom: 2px solid #253d98;
                    outline: 0;
                    font-size: 15px;
                    color: #4b4f54;
                    padding: 15px 0;
                    background: transparent;
                    transition: border-color 0.2s;
                    margin-top: 5px !important;
                }

                    .login-page-full > .login-content > form > .form-field .forms_field-input:-webkit-autofill,
                    .login-page-full > .login-content > form > .form-field .forms_field-input:-webkit-autofill:hover,
                    .login-page-full > .login-content > form > .form-field .forms_field-input:-webkit-autofill:focus,
                    .login-page-full > .login-content > form > .form-field .forms_field-input:-webkit-autofill:active {
                        -webkit-box-shadow: 0 0 0 30px white inset !important;
                    }

                    .login-page-full > .login-content > form > .form-field .forms_field-input::placeholder {
                        color: transparent;
                    }

                    .login-page-full > .login-content > form > .form-field .forms_field-input:placeholder-shown ~ .form-label {
                        font-size: 15px;
                        cursor: text;
                        top: 30px;
                    }

                    .login-page-full > .login-content > form > .form-field .forms_field-input:-webkit-autofill ~ .form-label,
                    .login-page-full > .login-content > form > .form-field .forms_field-input:-webkit-autofill:hover ~ .form-label,
                    .login-page-full > .login-content > form > .form-field .forms_field-input:-webkit-autofill:focus ~ .form-label,
                    .login-page-full > .login-content > form > .form-field .forms_field-input:-webkit-autofill:active ~ .form-label {
                        font-size: 15px;
                        cursor: text;
                        top: 0px;
                    }


                .login-page-full > .login-content > form > .form-field .form-label {
                    position: absolute;
                    top: 0;
                    display: block;
                    transition: 0.2s;
                    font-size: 13px;
                    color: #253d98;
                    font-weight: 500;
                    user-select: none;
                    z-index: -1;
                }

                .login-page-full > .login-content > form > .form-field .forms_field-input:focus {
                    font-weight: 500;
                    border-image: linear-gradient(to right, #253d98, #213688);
                    border-image-slice: 1;
                }

                .login-page-full > .login-content > form > .form-field .forms_field-input:autofill,
                .login-page-full > .login-content > form > .form-field .forms_field-input:-webkit-autofill,
                .login-page-full > .login-content > form > .form-field .forms_field-input:-webkit-autofill:hover,
                .login-page-full > .login-content > form > .form-field .forms_field-input:-webkit-autofill:focus {
                    -webkit-box-shadow: 0 0 0 30px white inset !important;
                }

                .login-page-full > .login-content > form > .form-field .forms_field-input:focus ~ .form-label {
                    position: absolute;
                    top: 0;
                    display: block;
                    transition: 0.2s;
                    font-size: 14px;
                    color: #213688;
                    font-weight: 500;
                    margin: 0;
                }


        .login-page-full > .login-content::before, .login-page-full > .login-content::after {
            content: "";
            position: absolute;
            width: 900px;
            height: 900px;
            border-top-left-radius: 40%;
            border-top-right-radius: 45%;
            border-bottom-left-radius: 35%;
            border-bottom-right-radius: 40%;
            z-index: -1;
        }

        .login-page-full > .login-content::before {
            left: 40%;
            top: 80%;
            background-color: rgba(33, 54, 136, 0.15);
            -webkit-animation: wawes 6s infinite linear;
            -moz-animation: wawes 6s infinite linear;
            animation: wawes 6s infinite linear;
        }

        .login-page-full > .login-content::after {
            left: 35%;
            top: 75%;
            background-color: rgba(33, 54, 136, 0.2);
            -webkit-animation: wawes 7s infinite;
            -moz-animation: wawes 7s infinite;
            animation: wawes 7s infinite;
        }

        .login-page-full > .login-content > form > .form-button {
            display: block;
            width: 100%;
            margin-top: 30px;
            margin-bottom: 15px;
        }

            .login-page-full > .login-content > form > .form-button > button {
                background: #253d98;
                width: 100%;
                display: block;
                padding: 10px;
                text-align: center;
                border-radius: 3px;
                color: #ffffff;
                font-size: 16px;
                font-weight: 500;
                transition: 0.3s;
                border: 0;
                cursor: pointer;
            }

        .login-page-full > .login-content > form > .form-button-dealer > button {
            background: #ffa434;
            width: 30%;
            display: block;
            padding: 10px;
            text-align: center;
            border-radius: 3px;
            color: #ffffff;
            font-size: 16px;
            font-weight: 500;
            transition: 0.3s;
            border: 0;
            cursor: pointer;
        }

        .login-page-full > .login-content > form > .form-button > button:hover {
            background: #213688;
        }

        .login-page-full > .login-content > form > .form-button > a {
            display: block;
            margin-top: 15px;
            text-align: center;
            color: #808080;
            text-decoration: none;
        }

            .login-page-full > .login-content > form > .form-button > a:hover {
                color: #333333;
            }

        .login-page-full > .login-content > .captcha-full {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            flex-direction: row;
            width: 100%;
            align-items: center;
            justify-content: space-between;
            padding: 10px 0;
        }

            .login-page-full > .login-content > .captcha-full input {
                font-weight: 500;
                border: 0;
                border: 1px solid #ef7c00;
            }

.login-content .footer-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    top: 90%;
    align-items: center;
    z-index: 1;
}

    .login-content .footer-logo > span:first-child > img {
        width: 140px;
        height: auto;
    }

    .login-content .footer-logo span:last-child {
        font-size: 15px;
        color: #404040;
    }


@-webkit-keyframes wawes {
    from {
        -webkit-transform: rotate(0);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes wawes {
    from {
        -moz-transform: rotate(0);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@keyframes wawes {
    from {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }

    to {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media only screen and (max-width : 992px) {
    .login-page-full > .login-image {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .login-page-full > .login-content {
        position: absolute;
        top: 50%;
        left: 50%;
        height: auto;
        transform: translate(-50%, -50%);
        background: #ffffff;
        padding: 30px;
        border-radius: 10px;
    }

        .login-page-full > .login-content:after,
        .login-page-full > .login-content:before {
            display: none;
        }

    .login-content .footer-logo {
        position: relative;
        top: auto;
        padding: 0;
        margin-top: 20px;
    }
}

@media only screen and (max-width : 1024px) {
    .login-content .footer-logo span:last-child {
        font-size: 11px;
    }
}

.Resend-btn {
    background-color: green;
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 5px;
    border-radius: 4px;
    display: none;
}

    .Resend-btn:hover {
        color: white !important;
    }



:root {
    /* COLORS */
    --white: #e9e9e9;
    --gray: #333;
    --blue: #0367a6;
    --lightblue: #008997;
    /* RADII */
    --button-radius: 0.7rem;
    /* SIZES */
    --max-width: 850px;
    --max-height: 420px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
    align-items: center;
    background-color: var(--white);
    /*background: url("https://res.cloudinary.com/dci1eujqw/image/upload/v1616769558/Codepen/waldemar-brandt-aThdSdgx0YM-unsplash_cnq4sb.jpg") !important;*/
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    height: 100vh;
    place-items: center;
}

.form__title {
    font-weight: 300;
    margin: 0;
}

.link {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 1.5rem 0;
    text-decoration: none;
}

.container {
    border-radius: var(--button-radius);
    box-shadow: 0 0.9rem 1.7rem rgba(0, 0, 0, 0.25), 0 0.7rem 0.7rem rgba(0, 0, 0, 0.22);
    height: var(--max-height);
    max-width: var(--max-width);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.container__form {
    height: 100%;
    position: absolute;
    top: 0;
    transition: all 0.6s ease-in-out;
}

.container--signin {
    left: 0;
    width: 50%;
    z-index: 2;
}

.container.right-panel-active .container--signin {
    transform: translateX(100%);
}

.container--signup {
    left: 0;
    opacity: 0;
    width: 50%;
    z-index: 1;
}

.container.right-panel-active .container--signup {
    animation: show 0.6s;
    opacity: 1.0;
    transform: translateX(100%);
    z-index: 5;
}

.container__overlay {
    height: 100%;
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 0;
    transition: transform 0.6s ease-in-out;
    width: 50%;
    z-index: 100;
}

.container.right-panel-active .container__overlay {
    transform: translateX(-100%);
}

.overlay {
    background-color: var(--lightblue);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    left: -100%;
    position: relative;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
    width: 200%;
}

.container.right-panel-active .overlay {
    transform: translateX(50%);
}

.overlay__panel {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    position: absolute;
    text-align: center;
    top: 0;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
    width: 50%;
}

.overlay--left {
    transform: translateX(-20%);
}

.container.right-panel-active .overlay--left {
    transform: translateX(0);
}

.overlay--right {
    right: 0;
    transform: translateX(0);
}

.container.right-panel-active .overlay--right {
    transform: translateX(20%);
}

.btn {
    background-color: var(--blue);
    background-image: linear-gradient(90deg, var(--blue) 0%, var(--lightblue) 74%);
    border-radius: 20px;
    border: 1px solid var(--blue);
    color: var(--white);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    padding: 0.9rem 4rem;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
}

.form > .btn {
    margin-top: 1.5rem;
}

.btn:active {
    transform: scale(0.95);
}

.btn:focus {
    outline: none;
}

.form {
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 3rem;
    height: 100%;
    text-align: center;
}

.input {
    background-color: #fff;
    border: none;
    padding: 0.9rem 0.9rem;
    margin: 0.5rem 0;
    width: 100%;
}

@keyframes show {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

.btn-newdealer {
    background: #ffa434;
    width: 100%;
    display: block;
    padding: 10px;
    text-align: center;
    border-radius: 3px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    border: 0;
    cursor: pointer;
}
.login-btn {
    background-color: #0c0096 !important;
}
.b4b-login-btn {
    padding: 2%;
    margin: 1% 0% 0% 0%;
    border-radius: 10px;
    background-color: #298f4d;
    color: white;
    border: 0px;
    width: 50%;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}

    .b4b-login-btn:hover {
        background-color: #919392 !important;
    }

@media only screen and (max-width : 767px) {
    .container.right-panel-active .container--signup {
        display: contents;
    }

    .container__overlay {
        display: none;
    }
}
