﻿html {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    position: relative;
}

    /*body::after {
        content: '';
        display: block;
        height: 100px;
    }*/

.alert {
    width: 90%;
    max-width: 500px;
    margin: 25px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .alert strong {
        padding-right: 50px;
    }

    .alert .close {
        position: unset;
        padding: 0;
    }

noscript .alert {
    max-width: 800px;
    justify-content: center;
}

    noscript .alert strong {
        padding-right: 0;
    }

#loginContainer {
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    width: 1000px;
    margin: 150px auto 0 auto;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    height: 560px;
}

.background-block {
    height: 100%;
    background-color: #fff;
}

    .background-block:nth-child(2) {
        background-color: #4848ab17;
    }

#blockContainer {
    position: absolute;
    inset: 0;
}

.block-flex-center {
    display: flex;
    align-items: center;
}

    .block-flex-center:nth-child(2) {
        margin: 25px 0;
    }

    .block-flex-center:nth-child(4) {
        margin-top: 50px;
    }

.left-block {
    width: 60%;
}

.right-block {
    width: 40%;
}

#blockContainer h1 {
    font-weight: 400;
    font-size: 2rem;
}

#blockContainer h2 {
    font-weight: 400;
    font-size: 1.5rem;
}

#esasVideo, #sitePs {
    display: inline-block;
}

.left-block a {
    font-weight: 400;
    display: flex;
    align-items: center;
    text-align: justify;
    transition: transform .2s;
    color: var(--primary);
    font-size: 1.1rem;
}

    .left-block a:hover {
        transform: scale(1.1);
    }

.left-block .fa-youtube-play {
    margin-right: 10px;
    font-size: 60px !important;
}

.left-block .fa-user-md {
    margin-left: 40px;
    margin-right: 15px;
    font-size: 60px !important;
}

#sitePs {
    margin-top: 15px;
}

#fraude {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
}

    #fraude .fa-exclamation-triangle {
        color: orangered;
        margin-right: 10px;
    }

    #fraude span {
        text-decoration: underline;
        color: var(--primary);
        cursor: pointer;
        margin-left: 5px;
    }

        #fraude span:hover {
            text-decoration: none;
        }

#help-login {
    font-weight: 400;
    text-decoration: underline;
    cursor: pointer;
}

    #help-login:hover {
        text-decoration: none;
    }

#alertFraude a:hover, #helpFirstCon a:hover, #infoLegal a:hover {
    text-decoration: underline;
    color: var(--primary);
}

#NonCompatibleBrowser {
    margin-top: 150px;
}

    #NonCompatibleBrowser h5 {
        margin: 2rem 0;
    }

    #NonCompatibleBrowser a {
        text-decoration: underline;
        color: white;
    }

        #NonCompatibleBrowser a:hover {
            text-decoration: none;
        }

/*footer {
    position: absolute;
    bottom: 0;
    z-index: 0;
    width: 100%;
}*/

#legalFooter {
    background-color: #3E4551;
    color: white;
    text-align: center;
    font-size: 12.8px;
    padding: 15px 0 5px 0;
}

#legals {
    color: var(--primary);
}

    #legals:hover {
        text-decoration: underline;
        cursor: pointer;
    }

#legals, #copyright {
    margin-bottom: 0.5rem;
}

#loader-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

#loader-wrapper {
    background: url(../../../image/BBAChatBotDyn_sansAP.png);
    background-repeat: no-repeat;
    background-size: 112px;
    background-position: center;
}

#loader {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #5b59a2;
    -webkit-animation: spin 10s linear infinite;
    animation: spin 10s linear infinite;
}

    #loader:before {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-bottom-color: #d0b177;
        -webkit-animation: spin 10s linear infinite;
        animation: spin 10s linear infinite;
    }

    #loader:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #adc000;
        -webkit-animation: spin 10s linear infinite;
        animation: spin 10s linear infinite;
    }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#resetPasswordContainer {
    width: 600px;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    margin: 150px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    #resetPasswordContainer h3 {
        text-align: center;
        margin-bottom: 2rem;
    }

.reset-password-form {
    margin-bottom: 25px;
}

    .reset-password-form label {
        all: unset;
        font-weight: 500;
        font-size: .9rem;
    }

    .reset-password-form .form-input-flex {
        display: flex;
        align-items: center;
        position: relative;
    }

        .reset-password-form .form-input-flex label {
            margin-right: 5px;
        }

    .reset-password-form .fa-times {
        color: red;
    }

    .reset-password-form .fa-check {
        color: green;
    }

    .reset-password-form input[type="password"], .reset-password-form input[type="text"] {
        all: unset;
        width: 280px;
        font-weight: 400;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 5px 35px 5px 10px;
        box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    }

        .reset-password-form input[type="password"]:focus, .reset-password-form input[type="text"]:focus {
            box-shadow: 0 0 5px rgb(81 91 162 / 50%) !important;
            border: 1px solid var(--primary) !important;
        }

    .reset-password-form .fa-eye, .reset-password-form .fa-eye-slash {
        position: absolute;
        right: 8px;
        color: #838383;
        cursor: pointer;
    }

        .reset-password-form .fa-eye:hover, .reset-password-form .fa-eye-slash:hover {
            opacity: .8;
        }

#passwordStrength {
    display: none;
}

#progress {
    height: 3px;
    margin-top: 5px;
    margin-bottom: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
}

#progressBar {
    height: 100%;
}

#passwordTip {
    font-size: .9rem;
    border: 1px solid var(--primary);
    padding: 10px;
    border-radius: 4px;
    line-height: 24px;
    width: 327px;
}

    #passwordTip p {
        font-weight: 500;
    }

    #passwordTip ul {
        font-weight: 400;
        margin-bottom: 0;
    }


@media screen and (max-width: 768px) {

    .alert {
        width: 90%;
    }

    #loginContainer {
        height: auto;
        border-radius: 12px;
        padding: 25px;
        margin-top: 25px;
    }

    .background-block {
        display: none;
    }

    .left-block, .right-block {
        width: 100%;
    }

    #blockContainer {
        position: unset;
    }

    .block-flex-center {
        flex-direction: column;
    }

        .block-flex-center:nth-child(1) .right-block {
            display: none;
        }

        .block-flex-center:nth-child(3), .block-flex-center:nth-child(4) {
            flex-direction: column-reverse;
        }

    .left-block a {
        font-size: 1rem;
    }

    .left-block .fa-youtube-play {
        font-size: 40px !important;
    }

    .left-block .fa-user-md {
        font-size: 40px !important;
        margin-left: 30px;
    }

    .block-flex-center:nth-child(2) .right-block {
        margin-top: 25px;
    }

    .block-flex-center:nth-child(3) .left-block {
        margin-top: 25px;
    }

    #fraude {
        display: block;
    }

    #resetPasswordContainer {
        width: 360px;
    }
}

@media screen and (min-width: 881px) and (max-width: 1030px) {
    #loginContainer {
        width: 850px;
    }
}

@media screen and (min-width: 769px) and (max-width: 880px) {
    #loginContainer {
        width: 100%;
    }
}

@media screen and (min-width: 501px) and (max-width: 768px) {
    #loginContainer {
        width: 470px;
    }
}

@media screen and (min-width: 421px) and (max-width: 500px) {
    #loginContainer {
        width: 400px;
    }
}

@media screen and (max-width: 420px) {
    #loginContainer {
        width: 100%;
        padding: 25px 10px;
    }
}

@media screen and (max-width: 360px) {
    #resetPasswordContainer {
        width: 100%;
    }

    .reset-password-form {
        width: 100%;
    }

        .reset-password-form input[type="password"], .reset-password-form input[type="text"] {
            width: 100%;
        }

    #passwordTip {
        width: 100%;
    }
}