﻿/*
	Este fichero no se da de alta en el entorno FxG. 
*/


/*** SOBREESCRIBIR LOS DATOS DE CONFIGURACIÓN ***/
:root {
    --logo: url(../../CTS/fondos/logo-1.png);
    --background: url( ../../CTS/fondos/fondo-login-1.jpg );
    --outstandingColor: #405196;
    --outstandingColor-dark: #303e78;
    --outstandingColor-dark-opacity: rgb(32 41 81 / 40%);
    --outstandingColor-light: #8f9ac2;
    --outstandingColor-light-opacity: rgb(136 147 187 / 20%);
    --outstandingColor-superlight: #e8ebf7;
}


html {
    display: flex;
    align-items: center;
    justify-content: center;
    /*    background: linear-gradient( rgb(247 247 247 / 60%), rgb(227 227 227 / 80%)), var(--background);*/
    /*    background: radial-gradient(circle, rgba(236, 0, 140, 0.15) 0%, #dbcf1c 15%, #8CC63F 50%, #2E5E1F 100%);*/
    background: linear-gradient(-345deg, #A8D5BA 20%, #d3c48d 81%, #ff97c5 99%, #ff6cae 100%);
    background-repeat: no-repeat;
    height: 100%;
    background-size: cover;
}

/* En pequeño quitar efectos raros (el objetivo es que el login esté centrado) */
@media (max-width: 1450px) 
{
    html {
        display: flex;
    }
}

input, i, label, a:not(#MainButton) {
    font-size: 16px !important;
}

/* Ocultar su PoweredBy */
#poweredBy-flx
{
	display: none;
}

/* Poner los mismos estilos que su PoweredBy */
#poweredBy-DUOK {
    position: relative;
    bottom: -70px;
    right: -135px;
    color: var(--outstandingColor-light);
    font-size: 14px;
}



.login {
    height: 100%;
    position: fixed;
}


.logo {
    position: relative;
    background-image: var(--logo);
    height: 160px !important;
    top: -1em;
}

div.divlogin {
    padding-top: 100px;
    padding-bottom: 80px;
    background-color: white;
    box-shadow: 0px 0px 8px #8389a6;
/*    box-shadow: 0px 0px 14px #d3106785;
    border: 1px solid #d3106785;*/
}

#loginForm {
    margin-top: 5em;
}

.login .cell {
    display: flex;
    align-items: center;
    background-color: var(--outstandingColor-superlight);
    color: var(--outstandingColor-light);
    border-radius: 5px;
    margin: 2em auto;
    padding: 5px 10px;
    border: 1px solid #c5d0e5;
}

.login input[type='text'], .login input[type='password'] {
    color: var(--outstandingColor) !important;
    text-align: center;
    width: 220px;
    padding: 0.2em;
    border-bottom: none;
    background: transparent !important;
}

/* Autenticación en dos pasos (two factor) */
.divlogin #twoFactorAuthenticationForm {
    position: relative;
    top: 3em;
}

    .divlogin #twoFactorAuthenticationForm .securityCode {
        justify-content: center;
    }

    .securityCode {
        --space: 5px;
    }

.securityCode span {
    margin-left: 0px;
}

#pass-status {
    position: unset;
    float: unset;
    cursor: pointer;
    margin-left: 10px;
}

span.fa-eye-slash {
    color: var(--outstandingColor);
}

#UserName::placeholder,
#Password::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #cccccc;
    /*opacity: 0.8; /* Firefox */
    text-align: center;
}

/* Color de los iconos de user y password */
#loginForm i
{
	color: gray;
}


/* Color del botón Login */
.mainbutton {
    background-color: var(--outstandingColor);
    border: 2px solid #00953B;
    font-weight: bold;
    letter-spacing: 4px;
    font-size: 20px;
    transition: 0.5s;
    padding: 10px 0px;
    border-radius: 5px;
}

.mainbutton:hover {
    background-color: #96c6dc;
	border: 2px solid #229ad4;
}


#RememberMeLabel,
#ForgotPasswordHyperLink
{
	color: black;
	background-color: transparent;
}

a#ForgotPasswordHyperLink {
    background: none;
    font-weight: bold;
}

#RememberMe, #chkActivationRegistered, #chkActivationCode {
    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, #chkActivationRegistered:checked, #chkActivationCode:checked {
        background-color: var(--outstandingColor);
        background: var(--outstandingColor) url("data:image/gif;base64,R0lGODlhCwAKAIABAP////3cnSH5BAEKAAEALAAAAAALAAoAAAIUjH+AC73WHIsw0UCjglraO20PNhYAOw==") 3px 3px no-repeat;
    }

#RememberMe,
#RememberMeLabel,
#chkActivationRegistered,
[for="chkActivationRegistered"],
#chkActivationCode,
[for="chkActivationCode"] {
    cursor: pointer;
}


::selection { 
	background-color: rgb(200,200,200);
	color: rgb(141,244,240);
}


.flip-card 
{
    padding-top: 0!important;  /*Reducir el espacio encima del logo.*/
}


/* =========================== */
/*  Para bloquear el flipcard  */
/* =========================== */

/* Tarjeta de Flexygo */
.flip-card-front
{
	border:2px solid red;
	visibility: hidden;
	display:none;

    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    /*-ms-backface-visibility: hidden;*/
    /*backface-visibility: hidden;*/
}

/* Tarjeta cliente */
.flip-card-back 
{
    -webkit-backface-visibility: visible;
    -moz-backface-visibility: visible;
    -ms-backface-visibility: visible;
    backface-visibility: visible;
	transform: none;
}

/*****************************/

