﻿
/*** DATOS CONFIGURACIÓN ***/
:root {
    --logo: url('../../custom/logos/HR-Logo.png');
    --background: url(../../img/bg-seb-vistas_bl.jpg);
    /*--background: url(../../img/image-background-login-sebastian-blue.png);*/
    --outstandingColor: #20639B;
    --outstandingColor-dark: rgb(44 51 90);
    --outstandingColor-dark-opacity: rgb(93 163 208);
    --outstandingColor-light: #5e727e;
    --outstandingColor-light-opacity: rgb(94 114 126 / 20%);
    --outstandingColor-superlight: rgb(201 207 232 / 40%);
}

/*** IMPORT GOOGLE FONT ***/
@import url('https://fonts.googleapis.com/css?family=Cairo&display=swap');

* {
    font-family: 'Cairo', sans-serif;
}


a#azureAADLogin {
    background: #FFFFFF !important;
    color: #021e73 !important;
    text-decoration: none;
}

html {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( rgb(247 247 247 / 20%), rgb(227 227 227 / 60%)), var(--background);
    /*background:  var(--background);*/
    background-repeat: no-repeat;
    height: 100%;
    background-size: cover;
}


body, form {
    background: var(--outstandingColor-superlight);
    background: #ffffff00;
    height: initial;
}

input, i, label, a:not(#MainButton) {
    font-size: 16px !important;
}


/******/

:focus {
    outline: none !important;
}

div.login {
    position: relative;
    width: 90em;
    height: 45em;
    /*background: linear-gradient( var(--outstandingColor-dark-opacity), var(--outstandingColor-light-opacity)), var(--background);*/
    background: var(--background);
    background-size: contain;
    box-shadow: 0px 0px 8px #8389a6;
    border-radius: 5px;
}

.logo {
    position: relative;
    background-image: var(--logo);
    /*height: 7em;*/
    width: 100%;
    top: -1em;
}

div.login i {
    line-height: 2em;
}

div.divlogin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin: 0 0 0 auto;
    background-color: white;
    padding: 0 !important;
    width: 30em;
    border-radius: 0px 5px 5px 0px;
}

    div.divlogin div.cell {
        display: flex;
        align-items: center;
        background-color: var(--outstandingColor-superlight);
        color: var(--outstandingColor-light);
        width: 18em;
        border-radius: 5px;
        margin: 2em auto;
        padding: 5px 10px;
        border: 1px solid #c5d0e5;
    }

#loginForm {
    margin-top: 3em;
}

div.login input[type='text'],
div.login input[type='password'] {
    color: var(--outstandingColor);
    border-radius: 5px;
    padding: 0.2em;
    border-bottom: none;
}

span.fa-eye-slash {
    color: var(--outstandingColor);
}


div.login input[type='text']::placeholder,
div.login input[type='password']::placeholder {
    color: var(--outstandingColor-light);
}

a#MainButton, a#VerifyButton {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 14em !important;
    height: 2em;
    color: #e9ecee;
    background-color: var(--outstandingColor);
    border-radius: 5px;
    transition: 0.5s;
    font-size: 20px;
}

    a#MainButton:hover {
        background-color: var(--outstandingColor-dark);
        background-position: right center;
    }

div.others * {
    color: #000000;
}

div.others > a {
    background: transparent;
    font-weight: bold;
}

#RememberMe {
    background-color: #DDD;
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 17px;
    height: 17px;
    cursor: pointer;
    position: relative;
    top: 5px;
}

    #RememberMe:checked {
        background-color: var(--outstandingColor);
        background: var(--outstandingColor) url("data:image/gif;base64,R0lGODlhCwAKAIABAP////3cnSH5BAEKAAEALAAAAAALAAoAAAIUjH+AC73WHIsw0UCjglraO20PNhYAOw==") 3px 3px no-repeat;
    }

#RememberMe,
#RememberMeLabel {
    cursor: pointer;
}

span#pass-status {
    position: initial;
    cursor: pointer;
}

.divlogin .trademark .char1, .divlogin .trademark .char2, .divlogin .trademark .char3, .divlogin .trademark .char4, .divlogin .trademark .char5, .divlogin .trademark .outstanding {
    color: var(--outstandingColor);
}

#poweredBy-flx {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: var(--outstandingColor-light);
    font-size: 14px;
}

#UserNameRequired, #PasswordRequired, #EmailRequired {
    color: #d51111;
}

/*** RESPONSIVE ***/
@media (max-width: 1450px) {
    html {
        display: initial;
    }

    div.login {
        position: absolute;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 900px) {
    div.login {
        position: absolute;
        height: 100%;
        width: 100%;
        margin: initial;
    }

    div .divlogin {
        width: 100% !important;
    }
}



/********LICENSE*********/


#license {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
}

    #license div.divPanel {
        background: #ffffffc4;
        color: var(--outstandingColor);
        padding: 44px;
    }

        #license div.divPanel a {
            background-color: var(--outstandingColor)
        }

            #license div.divPanel a:hover {
                background-color: var(--outstandingColor-dark)
            }


        #license div.divPanel #lblStatus {
            color: var(--outstandingColor) !important;
        }


    #license input[type="text"], #license input[type="password"], #license select {
        color: var(--outstandingColor) !important;
        border-color: var(--outstandingColor) !important;
        font-weight: bold;
    }

    #license #logo {
        background-image: var(--logo);
        height: 4em;
        width: 88%;
        background-size: contain;
    }

    #license #trademark {
        color: #000000;
        font-size: 60px;
        display: flex;
        justify-content: center;
    }


        #license #trademark .outstanding {
            color: #009688;
        }

div.divlogin section#twoFactorAuthenticationForm div.securityCode {
    justify-content: center;
}

    div.divlogin section#twoFactorAuthenticationForm div.securityCode input[type="number"] {
        color: var(--outstandingColor-dark)
    }

        div.divlogin section#twoFactorAuthenticationForm div.securityCode input[type="number"]:focus {
            color: white;
            background-color: var(--outstandingColor);
        }

    div.divlogin section#twoFactorAuthenticationForm div.securityCode span[style*="visibility: visible"] input[type="number"] {
        border: none;
        background-color: #b9124b;
        transition: none;
    }
