﻿.login-background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(0deg, var(--primary-color,#605CC1), var(--primary-color,#605CC1)), #757575;
    background-blend-mode: multiply, normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    z-index: 0;
    overflow:auto;
}

.container-box {
    width: 60%;
    height: 65%;
    min-width: 250px;
    background-color: white;
    border-radius: 12px;
    margin: auto;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    z-index: 1;
}

.form-section {
    font: var(--baloo-bold);
    padding: 0 20%;
    color: white;
    background: linear-gradient(0deg, var(--primary-color,#605CC1), var(--primary-color,#605CC1)), url(../Images/login/fondo-login.jpg);
    background-size: cover;
    background-blend-mode: multiply, normal;
    border-radius: 9px 0 0 9px;
    z-index: 2;
    display: grid;
    justify-content: stretch;
    align-content: center;
    font-size: 24px;
    grid-template-rows: auto 40px auto 40px auto;
    grid-gap: 15px;
    position:relative;
}

    .form-section.extra-grid {
        padding: 2% 20% 0;
        grid-template-rows: auto auto auto 40px 40px auto;
        grid-gap: 12px;
    }

    .form-section.reset-grid {
        grid-template-rows: auto 40px 40px 40px auto;
    }


    .center {
        margin: 0 auto;
        display: block;
        text-align: center;
    }


    .form-section.show-log-out {
        grid-template-rows: auto 60px;
        align-content: center;
    }

    .form-section button, .form-section .button {
        background: var(--primary-color,#82D178);
        border: none;
        border-radius: 5px;
        box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
        font-size: 18px;
        color: white;
    }
        .form-section button:focus {
            outline: none;
        }

        .form-section button#searchshortcode {
            height: 40px;
        }

    .form-section a.button {
        -webkit-appearance: button;
        -moz-appearance: button;
        appearance: button;
        text-decoration: none;
        color: white;
        align-self: center;
        text-align: center;
        padding: 8px 0;
    }

    .form-section input {
        border-radius: 5px;
        font: var(--lato-regular);
        padding: 10px;
        border-style: none;
        background: rgba(255, 255, 255, 0.7);
    }

    .form-section img {
        display: block;
        margin: auto;
    }

    .form-section .qr-text-code {
        font-size: 16px;
        word-break: break-all;
    }

    .form-section .grid-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        grid-column-gap: 5px;
    }

    .form-section .validation-summary-errors {
        background: #f5c6cb;
        position: relative;
        left: -33%;
        width: 166%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .form-section .validation-summary-errors ul {
        font: var(--lato-bold);
        color: #922929;
        text-align: center;
        font-size: 13px;
        margin: 0 20px 0 0;
        text-decoration: none;
        line-height: 40px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .form-section .validation-summary-errors p {
            border: none;
            font: var(--lato-bold);
            color: #922929;
            font-size: 13px !important;
            text-decoration: none;
            line-height: 20px;
            background: none;
            text-align: center;
            margin: auto;
        }

            .form-section .validation-summary-errors p.alert-success {
                color: #004969;
                font-size: 14px !important;
                background: #beecb9;
            }

            .form-section .validation-summary-errors ul li::marker {
            content: "";
        }

        .form-section .validation-summary-errors ul li {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    .form-section.show-log-out .validation-summary-errors {
        background: #f5c6cb;
        border-radius: 5px;
        width: 100%;
        left: 0;
    }

        .form-section.show-log-out .validation-summary-errors ul {
            font: var(--lato-bold);
            color: #922929;
            font-size: 13px;
            text-decoration: none;
            line-height: 21px;
            margin: 20px 30px 20px 0px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .form-section.show-log-out .validation-summary-errors ul li {
            white-space: normal;
        }

    .form-section .input-icon-group {
        position: relative;
        height: 55px;
        padding-bottom: 15px;
    }

    .form-section .input-icon-group i {
        position: absolute;
    }

    .form-section .input-icon {
        padding: 8px;
        right: 0;
    }

    .form-section .input-password {
        width: 100%;
        height: 100%;
    }

.logo-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    z-index: 2;
    overflow: hidden;
}

.logo-section .login-logo {
    background: var(--login-logo, url(../images/login/remoteeye.svg));
    width: 235px;
    height: var(--login-logo-height, 83px);
    margin: auto;
    z-index: 3;
    background-size: cover;
}

.green-corner {
    position: fixed;
    bottom: 0;
    right: 0;
    height: 50vh;
    width: 50vh;
    max-width: 50vw;
    max-height: 50vw;
    margin: 0;
    background: url(../Images/login/esquina-verde.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 4;
}

.logo-corner {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 20px;
    height: 44px;
    width: 204px;
    background: var(--logo-wideum, url(../Images/login/wideum.png));
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 4;
}

p.loginErrorReportlink {
    font-size: 15px;
    text-align: center;
    font-weight: 100;
    color: #f8f9fa85;
    cursor:pointer;
}

    p.loginErrorReportlink:hover {
        color: white;
    }


.reset-pwd {
    font-size: 0.75rem;
    font-weight: normal;
    text-align: right;
    margin: 0 5px;
}

.reset-pwd a {
    color: white;
}

.sso-advice {
    font-size: 0.75rem;
    font-weight: normal;
    margin: 0 5px;
    position: absolute;
    bottom: 0;
}

@media (max-width: 900px) {
    .container-box {
        grid-template-columns: 1fr;
        grid-template-rows: 1.5fr 1fr;
        height: calc(100vh - 125px);
    }

    .form-section {
        border-radius: 9px 9px 0 0;
    }

    .logo-corner {
        margin: 13px;
        height: 32px;
        width: 150px;
        background: var(--logo-wideum, url(../Images/login/wideumlittle.png));
    }

    .green-corner {
        max-width: 35vw;
        max-height: 35vw;
    }

    .logo-section .logo {
        width: 180px;
    }
}

@media (width: 720px) and (height: 540px) { /*surfacing duo*/

    .container-box {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        width: 93%;
        height: 70%;
    }

    .green-corner {
        max-width: 35vw;
        max-height: 35vw;
    }

    .form-section {
        border-radius: 9px 0 0 9px;
    }
}