﻿html {
    position: relative;
    min-height: 100% !important;
    display: flex;
    flex-direction: column;
    transition: height 5s;
}

body {
    background-color: #FAF9F9;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.body-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 160px;
}

    .body-content .container, .body-content .container main {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

.modal {
    position: fixed;
    top: 25%;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.navigation-header {
    background: url(../image/bg_header.png);
    background-repeat: round;
    padding: 0 15px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
}

.logo-container img {
    width: 75%
}

.navigation-title {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 35px;
    color: #FFFFFF;
    display: flex;
    margin-right: 9%;
}

footer {
    background: #04437C;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 15px;
    height: 100px;
    position: absolute;
    bottom: 0px;
}

.footer-aiep {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aiep-acreditado img {
    max-width: 206px;
    max-height: 82px;
}

.aiep-es-b {
    margin-right: 10%;
}

input {
    box-sizing: border-box;
    padding: 15px 15px 15px 15px;
    height: 50px;
    background: #FAF9F9;
    mix-blend-mode: normal;
    border: 1px solid #024588;
    border-radius: 10px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #024588;
    box-shadow: unset;
    outline: unset;
    width: auto;
}

    input:focus {
        box-shadow: 0 0 5px 5px rgba(0, 0, 255, 0.5);
        transition: 0.3s ease;
    }

.icono-borrar-clase {
    display: none;
    position: absolute;
    left: 69%;
    cursor: pointer;
    height: 12%;
}

label {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #024588;
}

.btn-icono-lupa {
    align-items: center;
    background: #FFFFFF;
    border-radius: 10px;
    border: 3px solid transparent;
    cursor: pointer;
    display: flex;
    gap: 10px;
    height: 50px;
    justify-content: center;
    min-width: 52px;
    mix-blend-mode: normal;
    padding: 9px 10px;
    position: relative;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}

    .btn-icono-lupa:hover {
        background-color: #add8e6;
        border-radius: 10px;
        border-color: #04437C;
    }

    .btn-icono-lupa:after {
        content: "";
        background: #04437C;
        display: block;
        position: absolute;
        padding-top: 110%;
        padding-left: 110%;
        border-radius: 10px;
        opacity: 0;
        transition: all 0.4s
    }

    .btn-icono-lupa:active:after {
        padding: 0;
        margin: 0;
        opacity: 1;
        transition: 0s
    }

h2 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 50px;
    color: #04437C;
}

h5{
    text-align:center;
}

span {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
}

select {
    width: auto;
    border: 1px solid #3D8DDD;
    border-radius: 10px;
    height: 30px;
    transition: all .5s ease;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #024588;
}

    select option:nth-child(even) {
        background-color: #ffffff; /* Fondo para elementos pares */
    }

    select option:nth-child(odd) {
        background-color: #d4eaff; /* Fondo para elementos impares */
    }

    select:focus {
        outline: none;
    }

    select:hover {
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    }

.boton-siguiente-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 2%;
}

    .boton-siguiente-container .boton-siguiente {
        background-color: #d30000;
        color: white;
        padding: 10px;
        border-radius: 10px;
        width: 100px;
    }

.boton-volver-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 2%;
}

    .boton-volver-container .boton-volver {
        background-color: #d30000;
        color: white;
        padding: 10px;
        border-radius: 10px;
        width: 100px;
        text-align: center;
        border: 2px solid black;
        text-decoration: none;
    }

.boton-siguiente-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 2%;
}

    .boton-siguiente-container .boton-siguiente {
        background-color: #d30000;
        color: white;
        padding: 10px;
        border-radius: 10px;
    }

.boton-desactivado {
    background-color: #bab0b0 !important;
}

.boton-activado {
    background-color: #d30000 !important;
}

    .boton-activado:hover {
        background-color: #ff3232 !important;
        transition: all 0.4s;
    }

p {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #002846;
}

.mensaje-error-global {
    background-color: #B40000;
    position: fixed;
    width: auto;
    height: auto;
    top: 3%;
    right: -15%;
    padding: 1%;
    border-radius: 5px;
}

    .mensaje-error-global label {
        color: whitesmoke;
    }

    .mensaje-error-global ul li {
        color: #ff9b2e;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 26px;
    }

    .mensaje-error-global:hover {
        box-shadow: #383838 2px 2px 4px 2px;
        background-color: #aa3b3b;
        transition: all 0.5s ease;
    }

.esconder-error-global {
    transform: translate(20%, 0%);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.mostrar-error-global {
    transform: translate(-105%, 0%);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.marca-de-error {
    border-color: #eb1919;
    box-shadow: #ff7d7d 0px 0px 7px 1px;
}

.combobox-elemento {
    display: flex;
    align-items: flex-start;
    padding-top: 2%;
    width: 100%;
    justify-content: space-between;
}

    .combobox-elemento .elemento-derecha {
        width: 82%;
        margin-right: 0%;
        display: flex;
        /* padding-right: 96%; */
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

.cambio-suave {
    opacity: 1 !important;
    transition: opacity 300ms cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width:700px) {
    footer {
        padding: 10px 15px; /* Ajusta el relleno del footer para pantallas más pequeñas */
    }

    .footer-aiep {
        /*flex-direction: column;*/ /* Cambia la dirección del flexbox a columna */
        align-items: center;
    }

        .footer-aiep > div {
            margin-bottom: 10px; /* Agrega un margen inferior entre los elementos del footer */
        }

    .aiep-acreditado img, .aiep-es-b img, .aiep-logo-oficial img {
        max-width: 150px; /* Reduce el tamaño de las imágenes en pantallas más pequeñas */
    }

    .navbar-boton-logout {
        content: "\f011"; /* Icono de Font Awesome (icono de apagado) */
        font-weight: 900; /* Peso de la fuente */
        margin-right: 5px; /* Margen a la derecha del icono */
    }

    .navigation-title {
        font-size: 20px;
    }

    .mostrar-error-global {
        transform: translate(-35%, 0%);
        transition: transform 0.3s ease;
        z-index: 9999;
    }

    .esconder-error-global {
        transform: translate(100%, 0%);
        transition: transform 0.3s ease;
        z-index: 9999;
    }
}
