/****************************************loader***************************************************/
.container-fondo {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 100;
}

.container-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.loader {
    width: 6em;
    height: 6em;
    font-size: 70%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader .face {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
    animation: animate023845 3s linear infinite;
}

.loader .face:nth-child(1) {
    width: 100%;
    height: 100%;
    color: rgb(255, 136, 0);
    border-color: currentColor transparent transparent currentColor;
    border-width: 0.2em 0.2em 0em 0em;
    --deg: -45deg;
    animation-direction: normal;
}

.loader .face:nth-child(2) {
    width: 70%;
    height: 70%;
    color: rgb(253, 0, 0);
    border-color: currentColor currentColor transparent transparent;
    border-width: 0.2em 0em 0em 0.2em;
    --deg: -135deg;
    animation-direction: reverse;
}

.loader .face .circleload {
    position: absolute;
    width: 50%;
    height: 0.1em;
    top: 50%;
    left: 50%;
    background-color: transparent;
    transform: rotate(var(--deg));
    transform-origin: left;
}

.loader .face .circleload::before {
    position: absolute;
    top: -0.5em;
    right: -0.5em;
    content: '';
    width: 1em;
    height: 1em;
    background-color: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 2em,
        0 0 4em,
        0 0 6em,
        0 0 8em,
        0 0 10em,
        0 0 0 0.5em rgba(255, 255, 0, 0.1);
}

@keyframes animate023845 {
    to {
        transform: rotate(1turn);
    }
}

/*******************************************************************************************/
.nuevoform {
    display: flex;
    justify-content: center;
    align-items: center;
    position: static;
}

.whatsapp-header {
    float: right;
    text-align: center;
    color: white;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    vertical-align: middle;
}

.prelative {
    display: flex;
    justify-content: center;
    align-items: center;
}


.mod {

    align-items: center;
    display: flex;
    justify-content: center;
}


.descarga a,
.telf {
    float: left;
    text-decoration: none;
}

.descarga a button {
    text-transform: uppercase;
    font-size: 10px;
    padding: 6px 10px;
    border-radius: 5px;
    margin: 5px 0px 0px 10px;
    background: black;
    border-color: white;
}

.telf {
    background-color: #25D366;
    padding: 0.1rem 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.telf a {
    font-weight: bold;
    text-decoration: none;
    padding-bottom: 3rem;
}

.telf a span {
    font-size: 20px;
}

.telf a:hover {
    text-decoration: none;
    color: #ffffff;
    padding-left: 0px;
}

.telf i {
    color: #ffffff;
    font-size: 20px;
    margin-right: 6px;
}


.menutitles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.menutitles div a {
    color: #c68d8d;
    font-size: 22px;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.menutitles div a.activenew {
    color: #ffffff;
}

.menutitles div a:hover {
    color: #ffffff;
    scale: 1.2;
}


.menutitles div {
    padding: .5em .8em;
    color: rgba(255, 255, 255, .5);
    position: relative;
    text-decoration: none;
    font-size: 20px;
}

.menutitles div::before,
.menutitles div::after {
    content: '';
    height: 14px;
    width: 14px;
    position: absolute;
    transition: all .35s ease;
    opacity: 0;
}

.menutitles div::before {
    content: '';
    right: 0;
    top: 0;
    border-top: 3px solid white;
    border-right: 3px solid white;
    transform: translate(-100%, 50%);
}

.menutitles div:after {
    content: '';
    left: 0;
    bottom: 0;
    border-bottom: 3px solid white;
    border-left: 3px solid white;
    transform: translate(100%, -50%)
}

.menutitles div:hover:before,
.menutitles div:hover:after {
    transform: translate(0, 0);
    opacity: 1;
}

.menutitles div:hover {
    color: white;
}

form h1 {
    margin-bottom: 0.7em;
    font-family: Arial, Helvetica, sans-serif;
}


/*INPUT MODIFICADO CON ICONO AL COSTADO*/
.input-container {
    position: relative;
}

.input-container i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #555;
}

.input-container input {
    padding: 10px;
    padding-left: 30px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    font-size: 15px;
}


/****************************************/
/*******************CHECKBOX**********************/


.checkboxnuevo label input {
    display: none;
}

.checkboxnuevo label {
    font-size: 2em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.caja {
    padding-left: 0.5rem;
    font-size: 10px;
    padding-top: 0.8em;
}

.checkboxnuevo label .spancheck {
    display: inline-block;
    position: relative;
    height: 0.5em;
    width: 0.5em;
    background: black;
    border-radius: 100%;
    transition: all 0.7s;
}

.checkboxnuevo label input:checked~.spancheck {
    box-shadow: 0px 0px 30px 0px #09f;
}

.checkboxnuevo label .spancheck:after {
    content: "";
    position: absolute;
    border: solid white;
    border-width: 0 0.10em 0.10em 0;
    transform: rotate(45deg);
    width: 0.1em;
    height: 0.25em;
    left: 0.2em;
    top: 0.125em;
    opacity: 0;
    transition: .3s ease;
}

.checkboxnuevo label input:checked~.spancheck:after {
    opacity: 1;
}


.politicas {
    text-decoration: none;
}

/************************************************/
/*********************BOTON PERSONALIZADO***************************/


#btnenviar {
    font-size: 23px;
    width: 80%;
    padding: 0 0 0 0;
    background-color: red;
    border: none;
    animation: pulse 2s infinite;
}

.contenedorbotonesnuevos {
    display: flex;
    justify-content: center;
    align-items: center;
}

#btnenviar2,
#btnenviar3 {
    width: 80%;
    background-color: red;
    border-radius: 2rem;
    border: none;
    color: white;
    text-align: center;
    height: 30px;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}


@keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 red;
        ;
        box-shadow: 0 0 0 0 red;
        ;
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(1, 155, 242, 0);
        box-shadow: 0 0 0 10px rgba(1, 155, 242, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(1, 155, 242, 0);
        box-shadow: 0 0 0 0 rgba(1, 155, 242, 0);
    }
}

@keyframes pulse2 {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgb(49, 94, 190);
        ;
        box-shadow: 0 0 0 0 rgb(49, 94, 190);
        ;
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(1, 155, 242, 0);
        box-shadow: 0 0 0 10px rgba(1, 155, 242, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(1, 155, 242, 0);
        box-shadow: 0 0 0 0 rgba(1, 155, 242, 0);
    }
}

/*****************************************************************/

/****************************TABULADOR*******************************************/


.contenedor-tabs {
    display: flex;
    background: white;
    margin-bottom: 2rem;
}

.tab {
    cursor: pointer;
    width: 100%;
}

.tab:hover {
    color: rgb(255, 139, 0);
}

.tab.active {
    color: rgb(255, 139, 0);
    border-bottom: 2px solid rgb(255, 139, 0);
}

.contenido-tab.active {
    display: block;
}

.contenedor-services.active {
    display: none;
}

/****************************************/

/*tab2*/
.contenedor-services {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 2rem 0;
}

.contenedor-services> :nth-child(2) {
    /* Estilos específicos para el segundo div */
    margin: 0 5rem 0 5rem;
}

.nuevo {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*margin-right: 25%;  Ajusta el espacio entre los divs */
}

.nuevo i {
    margin-bottom: 0.5rem;
    color: red;
    font-size: 25px;
}

.nuevo:hover {
    cursor: pointer;
}

/* Estilos para los checkboxes */
.nuevo input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #333;
    /* Color del borde */
    outline: none;
    transition: border-color 0.3s;
}

.nuevo input[type="checkbox"]:checked {
    background-color: red;
    border-color: red;
}

.nuevo span {
    user-select: none;
}

/************************************************************************************/
/***************COMBO DEPARTAMENTO*************************/
.divcmbdpto {
    display: flex;
    justify-content: center;
    align-items: center;
}

.divcmbdpto select {
    width: 80%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 25px;
}

/***********************************header*************************************************/
#header {
    display: flex;
    flex-direction: column;
}

.headersection1 {
    height: 100vh;
}


.headersection1 .main-container {
    display: flex;
    justify-content: center;
    align-items: center;
}


/*************************************************************************************/


/******************titles**********************/
.titles {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 35px 0 35px 0;
}

.titles>:nth-child(2) {
    margin: 0 2rem 0 2rem;
}

.titles a img {
    height: auto;
    width: 100%;
    user-select: none;
    cursor: pointer;
}

.titles a {
    border-radius: 5px;
    width: 10%;
}

.titles a:hover {
    animation: pulse2 2s infinite;
}

@keyframes pulse2 {
    0% {
        -webkit-box-shadow: 0 0 0 0 white;
        box-shadow: 0 0 0 0 white;
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(1, 155, 242, 0);
        box-shadow: 0 0 0 10px rgba(1, 155, 242, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(1, 155, 242, 0);
        box-shadow: 0 0 0 0 rgba(1, 155, 242, 0);
    }
}



/*******************modal********************************/
.fondo-oscuro {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Fondo semitransparente oscuro */
    z-index: 50;
}


/* **************************Estilos para los checkboxes*************** */
.nuevo2 input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #333;
    /* Color del borde */
    outline: none;
    transition: border-color 0.3s;
}

.nuevo2 input[type="checkbox"]:checked {
    background-color: red;
    border-color: red;
}

.nuevo2 span {
    user-select: none;
}

/*********************modal******************************/
/*********************************************************/
.parrilla.active {
    display: block;
}

.parrilla {
    display: none;
}

/********************************************************/
/*********************************validacionnuevoformularios***************************************/

.msgerror {
    display: none;
    background-color: red;
    text-align: center;
    color: white;
    font-size: 100%;
    border-radius: 2rem;
}


/*********************************validacionnuevoformularios***************************************/




/************************************extras*************************************************/
.divcmbdpto #cmbdpto2,
.divcmbdpto #cmbdpto3 {
    width: 90%;
}



/************************************extras*************************************************/

@media (max-width: 966px) {
    .descarga a .button {
        background-color: rgb(2, 157, 84);
        font-size: 20px;
        color: white
    }

    .descarga,
    .telf {
        float: none;
        margin: 15px auto;
        display: table;
        text-decoration: none;
    }


    .descarga a button {
        background: rgb(87, 160, 255);
        border-color: white;
    }

    .prelative {
        flex-direction: column;
    }

    #header,
    .headersection1,
    .headersection1 .main-container {
        height: auto;
    }


    .creditos {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .nuevoform {
        margin-top: 2%;
    }

    /*/
            #header {
            display: flex;
            flex-direction: column;
        }

        .headersection1 {
            height: 100vh;
        }


        .headersection1 .main-container {
            height: 80vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    /*/


}

/*************************************************************************************/
form h1 {
    font-size: 2.4rem;
    margin-bottom: 25px;
}

.form-group input {
    height: 35px;
}

form {
    padding: 30px 50px 30px 50px;
    height: 300px;
}


/*************************************************************************************/

.top-menu .caja1 {
    padding-left: 3rem;
}

.top-menu .caja2 {
    padding-right: 4%;
}

.menu .container .logo {
    padding-left: 2%;

}


/*************************************************************************************/
.carousel-indicators {
    width: auto;
    margin: auto;
    right: 0;
}


/***********************************************************************/
/* Estilo base para los botones desplegados */
.botones-desplegado-telefono,
.botones-desplegado-whatsapp {
    position: fixed;
    display: flex;
    align-items: center;
    z-index: 50;
}

.botones-desplegado-telefono {
    right: 10px;
    bottom: 70px;
}

.botones-desplegado-whatsapp {
    right: 10px;
    bottom: 70px;
}

.telefono,
.whatsapp {
    position: relative;
    z-index: 10;
}

/* Estilo para el botón de teléfono */
.botones-desplegado-telefono .telefono {
    font-size: 24px;
    color: #fff;
    background-color: #09f;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background-color 0.3s ease;
}

/* Estilo para el ícono de WhatsApp */
.botones-desplegado-whatsapp .whatsapp {
    font-size: 30px;
    color: #fff;
    background-color: #23d160;
    border: none;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.botones-desplegado-whatsapp a {
    text-decoration: none;
    color: white;
    font-size: 40px;
}

/* Estilo para el mensaje */
.mensaje {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    height: 2em;
    background-color: #09f;
    border-radius: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: width 1s ease, opacity 1s ease, right 1s ease;
}

.botones-desplegado-whatsapp .mensaje {
    background-color: #23d160;
    /* Color diferente para WhatsApp */
}


/****************************************************************/
.modal-gracias {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-gracias h2 {
    color: white;
}

.modal-gracias p {
    text-align: center;
}

#myModal2 .modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center;

}

#myModal2 .modal-dialog .modal-content {
    width: 300px;
    height: 280px;
    background: url(../img/fondo-rojo.jpg);
    background-size: cover;
    color: white;
}

#myModal2 .modal-dialog .modal-content .modal-header {
    min-height: 0;
    padding: 0;
    border-bottom: 0;
}

#myModal2 .modal-dialog .modal-content .modal-header img {
    width: 100px;
}

#myModal2 .modal-dialog .modal-content .modal-header .close {
    color: white;
}






/*****************************************************************/

/* Animaciones */
@keyframes slide-in {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 150px;
        opacity: 1;
    }
}

@keyframes slide-out {
    from {
        width: 150px;
        opacity: 1;
    }

    to {
        width: 0;
        opacity: 0;
    }
}