﻿/* Componentes */
@import url(../../styles/components/form/bm_input.css);
@import url(../../styles/components/form/bm_input_password.css);
@import url(../../styles/components/actions/bm_boton.css);
@import url(../../styles/components/actions/bm_modal.css);

.login__logo {
    width: 167.41px;
}

.sr-only {
    display: none;
}


.slider-button {
    display: flex;
    column-gap: 0.4rem;
}
.disabled {
    pointer-events: none !important;
    background-color: #e6e6e6 !important;
    color: #565656 !important;
}

    .disabled:focus {
        border: 2px solid #027BC2 !important;
    }

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr minmax(auto, 12rem);
    gap: 7vh 5vw;
    justify-items: start;
    /* Variables */
    --width-slider-phising: 74%;
    --width-login-info: 50%;
    --justify-login-info: flex-end;
    font-synthesis: none !important;
}
/* Partes estructura grid */
.login {
    grid-column: 1/1;
    grid-row: 1/1;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    width: var(--width-login-info);
    justify-self: var(--justify-login-info);
}

.login--noDisponible {
    width: var(--width-login-info);
    justify-self: var(--justify-login-info);
    grid-column: 1 / 1;
    grid-row: 1 / 1;
    cursor: pointer;
    margin-top: 6.25rem;
    background: #F5F5F5;
    padding: 1.25rem;
    text-align: left;
    align-self: center;
}

.login > div:first-child {
    flex: 1;
    display: flex;
}

.login__form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    width: 96%;
}

.login__form__inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.login__form__inputs__lblError {
    color: var(--error-color);
    display: none;
}

.login__form__send {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    text-align: left;
    align-items: center;
    gap: 1.5rem;
}

    .login__form__send > button {
        text-align: left;
    }

.slider__wrapper {
    grid-column: 2/2;
    grid-row: 1/1;
    width: 701px;
    height: 414px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-self: baseline;
    margin-top: 80px;
}

.slider {
    width: 100%;
    position: relative;
    display: flex;
    gap: 1px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.slider-nav-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.slider-button button {
    width: 76px;
    height: 40px;
    --radius-md: radius-XL;
    border: 2px;
    padding-left: 24px;
    padding-right: 24px;
    gap: 8px;
}

.slider a {
    flex: 1 0 100%;
}

.slider img {
    width: 100%;
    position: sticky;
    object-fit: cover;
}

.slider-nav {
    display: flex;
    column-gap: 1rem;
    justify-content: center;
}

    .slider-nav input {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 9px;
        width: 9px;
        border-radius: 50%;
        outline: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
        background-color: #8C8C8C; /*Contraste de 3*/
    }

        .slider-nav input:checked, .slider-nav input:hover {
            background-color: var(--primary-color-600);
        }

.info {
    grid-column: 1/1;
    grid-row: 2/2;
    width: var(--width-login-info);
    justify-self: var(--justify-login-info);
    height: fit-content;
}

.phising {
    grid-column: 2/2;
    grid-row: 2/2;
    width: var(--width-slider-phising);
    height: fit-content;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

.phising h2 {
        line-height: inherit;
    }

.phishingBlack {
    font-family: var(--font-bold);
}

/*.modal__continue[aria-disabled="true"]{
       cursor:not-allowed;
       opacity: 0,7;
       color: ;
   }*/
/*
    Diseños L, M, S y XS
*/
@media (width <= 1440px) {
    .container {
        --width-slider-phising: 100%;
        --width-login-info: 74%;
        gap: 5vh 5vw;
    }

        .container h1 {
            width: 90%;
        }

    .login__form__send {
        flex-direction: column;
        align-items: initial;
        text-align: center;
    }
}

/*
    Diseño L
*/
@media (1279px < width <= 1440px) {
    .login__form__send {
        flex-direction: column;
        align-items: initial;
        text-align: center;
    }

        .login__form__send > button {
            text-align: center;
        }

    .login__form {
        width: 86%;
    }

    .info {
        width: 64%;
        justify-self: right;
        margin-right: 10%;
    }
}

/*
    Diseño XM
*/
@media (835px < width <= 1279px) {
    /*    .container {
        --width-login-info: 85%;
    }
    .login__form__send {
        flex-direction: column;
        align-items: initial;
        text-align: center;
    }
        .login__form__send > button {
            text-align: center;
        }*/
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: 3rem;
        --width-login-info: 46%;
        --justify-login-info: inherit;
        justify-items: center;
        padding: 3.2rem 5%;
    }

    .login, .slider__wrapper, .info, .phising {
        grid-column: 1 /1;
        grid-row: auto;
    }

    .slider__wrapper {
        grid-row: 3/3;
        margin-top: auto;
    }

    .login__form {
        width: 96%;
    }

    .login__form__send {
        flex-direction: column;
        align-items: initial;
        text-align: center;
    }

        .login__form__send > button {
            text-align: center;
        }
}

/*
        Diseño M
    */
/*@media (835px < width <= 1000px) {
        .container {
            --width-login-info: 90%;
        }
        .login__form__send {
            flex-direction: column;
            align-items: initial;
            text-align: center;
        }
            .login__form__send > button {
                text-align: center;
            }
    }*/


/*
    Diseño XS Y S
*/
@media (0px <= width <= 835px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: 3rem;
        --width-login-info: 71%;
        --justify-login-info: inherit;
        justify-items: center;
        padding: 3.2rem 5%;
    }

    .login, .slider__wrapper, .info, .phising {
        grid-column: 1 /1;
        grid-row: auto;
    }

    .slider__wrapper {
        grid-row: 3/3;
        margin-top: auto;
        width: 100% !important;
    }

    .login__form {
        width: 100%;
    }

    .login__form__send {
        flex-direction: column;
        text-align: center;
        align-items: initial;
    }

        .login__form__send > button {
            text-align: center
        }

    .container h1 {
        width: 100%;
    }
}


/*
    Diseño XS
*/
/*@media (width <= 578px) {
    .login__form__send {
        flex-direction: column;
        text-align: center;
        align-items: initial;
    }
        .login__form__send > button {
            text-align: center;
        }
    .container {
        --width-login-info: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .login__form {
        width: 100%;
    }
}*/

.catchaContainer {
    margin-right: auto;
}

.menuNuevaWeb {
    height: 64px;
    background-color: #E6F2F9;
}

.popupMain {
    width: min(866px, 98%);
    max-height: 464px;
    padding-bottom: 15px;
    position: fixed !important;
    top: 100px !important; /*Posición top*/
    left: 50%; /*Posición para centrar*/
    -webkit-transform: translateX(-50%); /* Centrarlo */
    z-index: 100000;
    background-color: white;
    flex-direction: column;
    border-radius: 8px;
}

.popupMainBox {
    height: 73px;
    background-color: white;
    border-radius: 8px 8px 0px 0px;
    align-content: center;
    padding-inline: 25px;
    display: flex;
    flex-direction: row;
}

.tituloPopUp {
    font-family: var(--font-bold);
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: var(--primary-color);
    flex-basis: 95%;
    align-content: center;
}

.cierrePopUp {
    flex-basis: 5%;
    align-content: center;
    color: #027BC2;
    cursor: pointer;
    font-size: 23px;
}

.textoPopUp {
    color: #191919;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
}

.textoPopUp2 {
    color: #191919;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    padding-top: 10px;
    font-synthesis: initial !important;
}

.popupContent {
    padding: 20px;
}

.botonespopUp {
    text-align: left;
    display: flex;
    justify-content: right;
    gap: 10px;
    padding-right: 30px;
    align-items: center;
}

/*Eliminar el margen en un zoom de menor del 100% en el login*/
@media ( width >= 2133px) {

    main {
        min-height: 0px !important;
    }
}


@media ( width <= 579px) {
    #Template_FormControl_SectionSlider {
        max-height: 320px !important;
    }
}


@media ( width <= 360px) {
    #Template_FormControl_SectionSlider {
        max-height: 225px !important;
    }
}