* {
    font-family: 'Domaine Sans Text';
    font-weight: 400;
    font-style: normal;
    box-sizing: border-box;
    margin: 0;
    text-decoration: none;
}

.finactividad {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}


.banner {
    width: 100%;
    background-color: #000000;
    text-align: center;
    color: #ffffff;
}

.logo_banner {
    width: 215px;
    padding: 10px;
    filter: grayscale(100%) invert(1);
}


.main_form_content {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-color: #ffffff;
}

.main_form_content_left,
.main_form_content_right {
    width: 50%;
}

.main_form_content_left img {
    height: 100%;
    width: 100%;
}

.main_form_content_right {
    padding: 0;
}

.main_form_content_right {
    position: relative;
    display: flex;
    align-items: center;
}

.main_form_content_right>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.main_form_content_right_form {
    background-color: red;
    padding: 50px 30px;
    border-radius: 10px;
    width: 100%;
    display: block;
    margin: auto;
    max-width: 400px;
    z-index: 1;
}

.main_form_content_right_form h3 {
    text-align: center;
    font-size: 25px;
    margin-bottom: 40px;
    position: relative;
    display: flex;
    justify-content: center;
    color: #ffffff;
}

.form_input {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    outline: none;
    border: none;
    border: 0px;
    text-decoration: none;
    color: #fffff;
}

.form_input input,
select {
    width: 100%;
    border-radius: 4px;
    border: none;
    padding: 10px 20px;
    font-size: 17px;
    color: #0E2220;
    outline: none;
}

.form_input .form_select {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    border: none;
}

.form_select{
    margin-bottom: 10px;
}

.fecha_redencion{
    color: #ffffff;
}

.form_check {
    margin: 20px 0;
    font-size: 20px;
}

.form_check input {
    margin-right: 10px;
}

.form_check a {
    font-size: 13px;
    text-decoration: underline;
    color: #fff;
}

.main_form_content_right h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background-color: #0E2220;
    bottom: -5px;
}

.button_send {
    text-align: center;
}

.button_send button {
    background-color: #00504f;
    border: 1px solid #ffff;
    color: #ffff;
    border-radius: 10px;
    font-size: 18px;
    padding: 6px 30px;
    cursor: pointer;
}

h3 {
    font-family: 'domaine_bold' 'Source Sans Pro', sans-serif;
}

body {
    background-color: #1c1c1c;
}

.error {
    position: fixed;
    bottom: 1em;
    z-index: 1;
    color: #ededed;
    background-color: red;
    padding: 8px;
    border-radius: 6px;
    width: 64%;
    text-align: center;
    left: 50%;
    font-size: 15px;
    border: 0.08em solid rgb(119, 0, 0);
    margin-left: -32%;
    /* Ajustado para centrar el mensaje */
    opacity: 1;
    /* Inicialmente completamente visible */
    transition: opacity 2s ease-out;
    /* Transición de opacidad */
    display: none;
    /* Inicialmente oculto */
}

.error.fade-out {
    opacity: 0;
    /* Se desvanece */
}

.suggestions {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    width: calc(100% - 0px);
    /* Ajusta el ancho para que coincida con el campo de entrada */
    z-index: 1000;
    /* Asegúrate de que se superponga a otros elementos */
    display: none;
    margin-top: 188px;
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.suggestion-item:hover {
    background-color: #eee;
}

.popup {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centrando el pop-up */
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    /* Fondo semi-transparente */
    width: 100%;
    height: 100%;
    text-align: center;
}

.popup img {
    max-width: 50%;
    max-height: 450px;
    margin-top: 10%;
}


.duplicado {
    position: fixed;
    bottom: 1em;
    z-index: 1;
    color: #ededed;
    background-color: red;
    padding: 8px;
    border-radius: 6px;
    width: 64%;
    text-align: center;
    left: 50%;
    font-size: 15px;
    border: 0.08em solid rgb(119, 0, 0);
    margin-left: -32%;
    /* Ajustado para centrar el mensaje */
    opacity: 1;
    /* Inicialmente completamente visible */
    transition: opacity 2s ease-out;
    /* Transición de opacidad */
    display: none;
    /* Inicialmente oculto */
}

.duplicado.fade-out {
    opacity: 0;
    /* Se desvanece */
}


/* Botón de cierre (X) en la esquina superior derecha */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
}

.popup-close:hover {
    color: red;
    /* Cambia de color cuando el cursor está encima */
}

h1 {
    color: #ffff;
}

/**Responsive Web designe***/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .main_form_content_right_form {
        background-color: #1c1c1c;
        padding: 20px 17px;
        border-radius: 10px;
        width: 90%;
        display: block;
        z-index: 1;
        position: absolute;
        left: auto;
        right: 20px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
    }

    .finactividad {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .logo_banner {
        width: 150px;
        padding: 10px;
    }

    .body {
        background-color: #E8E8E8;
    }

    .form_input {
        position: relative;
        width: 100%;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        outline: none;
        border: none;
        border: 0px;
        text-decoration: none;
        font-size: 15px;
        color: #fffff;
    }

    .form_input input,
    select {
        width: 100%;
        border-radius: 4px;
        border: none;
        padding: 10px 20px;
        font-size: 15px;
        color: #6a6a6a;
    }

    .form_check {
        margin: 20px 0;
        font-size: 10px;
    }

    .main_form_content_right {
        width: 100%;
    }

    .main_form_content>.main_form_content_left {
        width: 100%;
    }

    .main_form_content>.main_form_content_left>.imgdesktop1 {
        display: none;
    }

    .popup {
        display: none;
        /* Oculto por defecto */
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* Centrando el pop-up */
        z-index: 1000;
        background-color: rgba(0, 0, 0, 0.849);
        /* Fondo semi-transparente */
        width: 100%;
        height: 100%;
        text-align: center;
    }

    .popup img {
        max-width: 100%;
        max-height: 250px;
        margin-top: 40%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Botón de cierre (X) en la esquina superior derecha */
    .popup-close {
        position: absolute;
        top: 140px;
        right: 0px;
        color: rgb(255, 255, 255);
        font-size: 24px;
        font-weight: bold;
        cursor: pointer;
        background: none;
        border: none;
        background-color: #D07833;
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    .popup-close:hover {
        color: #00504f;
        font-size: 28px;
        transition: 0.4s;
        /* Cambia de color cuando el cursor está encima */
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .main_form_content>.main_form_content_left>.imgdesktop1 {
        display: block;
    }

    .main_form_content>.main_form_content_left>.imgmobile {
        display: none;
    }

    
    .main_form_content_right_form {
        background-color: #1c1c1c;
        padding: 20px 17px;
        border-radius: 10px;
        width: 100%;
        display: block;
        z-index: 1;
        position: absolute;
        left: auto;
        top: 300px;
        right: 80px;
        margin-left: auto;
        margin-right: auto;
    }

    .body {
        background-color: #E8E8E8;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .main_form_content>.main_form_content_left>.imgdesktop1 {
        display: block;
    }

    .main_form_content>.main_form_content_left>.imgmobile {
        display: none;
    }

    .main_form_content_right_form {
        background-color: #1c1c1c;
        padding: 20px 17px;
        border-radius: 10px;
        width: 100%;
        display: block;
        z-index: 1;
        position: absolute;
        left: auto;
        top: 30px;
        right: 80px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
    }

    .body {
        background-color: #E8E8E8;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .main_form_content>.main_form_content_left>.imgdesktop1 {
        display: block;
    }

    .main_form_content>.main_form_content_left>.imgmobile {
        display: none;
    }

    .main_form_content_right_form {
        background-color: #1c1c1c;
        padding: 50px 30px;
        border-radius: 10px;
        width: 100%;
        display: block;
        z-index: 1;
        position: absolute;
        left: auto;
        top: 95px;
        right: 180px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
    }

    .body {
        background-color: #E8E8E8;
    }
}