
nav{
    background:#fffefe;
    height: 150px;
    width: 100%;
    position: fixed;
    color:#1e4079;
    top: 10; /* Asegura que el nav esté siempre en la parte superior */
    left: 0;
    z-index: 1000; /* Asegura que el nav esté por encima de otros elementos */

}
.enlace{
    position: absolute;
    padding: 20px 50px;
}

/* lista del nav */
.dropdown {
    position: fixed;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: static;
    background-color: #ffffff;
    
 
}

@media (max-width: 600px) {
    .dropdown {
        min-width: 80%;
        box-shadow: none;
     
    }
}

.dropdown-content a {
    color:#1e4079;
    padding: 20px 16px;
    text-decoration: none;
    display: block;
    font-size: 18px;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #92be3e;
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}


.form-group {
margin-bottom: 15px;
margin-left:3%;
margin-right: 3%;
}

.form-group label {
display: block;
margin-bottom: 5px;
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
color:#92be3e;
font-style: italic;
}

.form-group input, .form-group textarea {
width: 100%;
padding: 10px;
background-color:#ffffff;
border: none;
box-sizing: border-box;

}

.form-group textarea {
height: 200px;
resize: vertical;
}

.form-group button {
width: 100%;
padding: 10px;
background-color:#92be3e;
border: none;
color:#1e4079;
font-size: 16px;
cursor: pointer;
border-radius: 4px;
}

@media (min-width: 768px) {
.form-row {
display: flex;
justify-content: space-between;

}

.form-group.half {
flex: 1 1 8%;
}

.form-group.full {
flex: 1 1 90%;
}

.form-group button {
width: auto;
align-self: flex-end;
}
}

@media (min-width: 768px) {
.map {
height: auto;
width:20px;

}}


nav ul{
    float: right;
    margin-right: 20px;
    margin-top: 1%;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a{
    color:#1e4079;
    font-size: 18px;
    padding: 2px 3px;
    border-radius: 3px;
    text-transform: uppercase;
    font-family:Arial, Helvetica, sans-serif;
    text-decoration: none;
}
li a.active, li a:hover{
    color:#92be3e;
    transition: .5s;
    text-decoration: none;

}

nav .logo img {
    height: 90px;
    width: 190px;
    margin-left: 20px;
    object-fit: cover;
    margin-top: 0.5%;
    
}

@media (max-width: 768px) {
    nav .logo img {
        object-fit: cover;
        height: 90px;
        margin-top: 1.5%;
    }
}

.checkbtn{
    font-size: 30px;
    color:#1e4079;
    float: right;
    line-height: 100px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}

.form-control-me-2{
    position: center;
}



@media (max-width: 768px) {
    .info-bar{
       
            background-color: #7baa1c;
            text-align: center;
            color:#1e4079;
            font-size: 10px;
            width: 70%;
        }
}

@media (max-width: 480px){
    .enlace{
        padding-left: 20px;
    }
    nav ul li a{
        font-size: 16px;
    }
}


@media (max-width: 1025px){
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background:#ffffff;
        top: 109px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 17px;
        text-align: center;
    }
    nav ul li a{
        font-size: 20px;
    }
    li a:hover, li a.active{
        background: none;
      
        color:#92be3e;
        transition: .5s;

    }
    #check:checked ~ ul{
        left:0;
    }
}


.info-bar {
    background-color:#1e4079;
    color:#ffffff;
    font-size: 12px;
    height: 40px;
    padding: 5px 4px;
    width: 100%;
    z-index: 1000; /* Asegura que el nav esté por encima de otros elementos */
}

.image-container {
    text-align: right; /* Opcional: Centra las imágenes dentro del contenedor */
    margin-right: 30px;
    
}

.image-container img {
    display: inline-block;
    margin: 4px; /* Espacio entre imágenes */
    vertical-align: middle; /* Alinea verticalmente las imágenes */
    text-decoration:none ;
    color: #fffefe;
  
}
.texto{
    color: #1e4079;
    margin: 20px;
    text-align: justify;
    font-size: 22px;
    margin-left: 100px; /* Márgen izquierdo de 50px */
    margin-right: 70px; 
}
.div2{
 background-color:#ffffff;
    text-align: left;
    color: #1e4079;
    font-size: 45px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    padding: 5px 0;
    height: 100px;
    margin-left: 45px;
    margin-top: 2%;
}

.div3{
    background-color:#1e4079;;
    text-align: left;
    color:#ffffff;
    font-size: 45px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    padding: 7px 0;
    height: 50px;

   }
.te{
    color:#ffffff;
    font-size: 40px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-left: 60px;
    margin-top: 5%;
    margin: 10px;
}

   .div6{
    background-color:#1e4079;;
    text-align: center;
    color:#ffffff;
    font-size: 19px;
    font-family:Arial, Helvetica, sans-serif;
    padding: 5px 0;
    height: 35px;
    text-decoration: none;

   }

   .div6:hover {
    background-color: #7baa1c;
    color: #fff; /* Color del texto al hacer hover */
}

.div12 {
    background-color: #1e4079;
    color: #ffffff;
    font-size: 26px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    height: 335px;
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;    /* Centra verticalmente */
    text-align: center;
    text-decoration: none;
}

.div12:hover {
    background-color:#7baa1c;

    color: #fff; /* Color del texto al hacer hover */
}

@media (max-width: 768px) {
    .div3 {
        background-color:#1e4079;
        text-align: center;
        color:#ffffff;
        font-size: 27px;
        height: 90%;
        width: auto;
    }
}
        @media (max-width: 768px) {
            .div2 {
                background-color:#ffffff;
                text-align: center;
                color:#1e4079;
                font-size: 30px;
                font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
                padding: 5px 0;
                height: 100px;
                margin-left: 1px;
                margin-top: 2%;
            }
        }
        
        @media (max-width: 768px) {

    .div4{
        background-color:#92be3e;
            text-align: left;
            color:#1e4079;
            font-size: 18px;
            padding: 5px 0;
            height: 80px;
            font-family: Arial, Helvetica, sans-serif;
            align-items: center;
            
            
        }

        .te{
            color:#ffffff;
            font-size: 30px;
            font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            text-align: center;

        }


.navbar-right{

    background-color: #92be3e;
    font-size: 18px;
    clip-path: polygon(14% 30%, 98% 30%, 90% 70%, 4% 70%);   
    border-radius: 10px;
    color: #1e4079;

}
        }

@media (max-width: 768px) {
    .navbar-right {
    padding: 20px 10px 10px 20px;  /* 10px arriba y abajo, 20px izquierda y derecha */
    width: 150px;
    margin-left: 118px;
    height: 65px;
    clip-path: polygon(8% 70%, 87% 70%, 97% 10%, 17% 9%);
    
}
.card-text2{
    text-align: left;
}
.col-md-4 img{

    width: 80%;
    margin-right: 20%;
}
.col{
    margin-top: -10%;
}
.loge{

    width: 64.1%;
    margin-left: 18%;
  
}

.div6{
    background-color:#1e4079;
    text-align: center;
    color:#ffffff;
    font-size: 19px;
    font-family:Arial, Helvetica, sans-serif;
    padding: 5px 0;
    height: 35px;
    text-decoration: none;
    width: 64.1%;
    margin-left: 18%;

   }

}

/*imagen ccccc  */
.container {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f0f0f0; /* Color de fondo inicial */
    transition: background-color 0.3s; /* Transición suave */
}


.container img {
    width: 100px; /* Ajusta el tamaño de la imagen según sea necesario */
    height: auto;
    margin-left:44%
}

.container .text {
    font-size: 1.2em;
}



.carousel-item img {
    width: 100%;
    height: auto;
}
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #1e4079; /* Cambia el color de los íconos aquí */
    border-radius: 50%; /* Hace los iconos circulares */
    padding: 10px; /* Añade un padding para agrandar los íconos */
    color: black;
}
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #143057; /* Cambia el color al pasar el ratón por encima */
}
  .container2 {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color:#1e4079;
            padding: 1px;
            flex-wrap: wrap; /* Permite que los elementos se apilen en pantallas pequeñas */
        }
        .left, .right {
            flex: 1;
            min-width: 150px; /* Mínimo ancho de los elementos */
            text-align: center;
            margin: 5px 0; /* Espacio entre elementos cuando se apilan */
            color: white;
        }
        /* Opcional: estilos adicionales para mejorar la apariencia */
        .left {
            font-size: 26px;
            padding: 30px;
            margin-left: 15%;
            font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        }
        .right {
            text-align: left;
            padding: 5px;
            font-size: 17px;
            font-family: Arial, Helvetica, sans-serif;
            margin-right: 5%;
        }

        /*skxd*/
        .left2, .right2 {
            flex: 1;
            min-width: 10px; /* Mínimo ancho de los elementos */
            text-align: center;
            margin: 5px 0; /* Espacio entre elementos cuando se apilan */
            color: white;
        }
        /* Opcional: estilos adicionales para mejorar la apariencia */
        .left2 {
            font-size: 22px;
            padding: 10px;
            margin-right: -15%;
            font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        }
        .right2 {
            text-align: left;
            padding: 10px;
            font-size: 17px;
            font-family: Arial, Helvetica, sans-serif;
            margin-left: 1%;
        }

        /* Media query para pantallas pequeñas */
        @media (max-width: 600px) {
            .container2 {
                flex-direction: column; /* Invierte el orden de los elementos */
                
            }
            .left2{
               margin-right: 12%;
            }
        }

        .container3 {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color:#1e4079;
            padding: 10px;
            flex-wrap: wrap; /* Permite que los elementos se apilen en pantallas pequeñas */
        }
        .left, .right3 {
            flex: 1;
            min-width: 100px; /* Mínimo ancho de los elementos */
            text-align: center;
            margin: 2px 0; /* Espacio entre elementos cuando se apilan */
            color: white;
        }
        /* Opcional: estilos adicionales para mejorar la apariencia */
        .left img {
            width: 450px;
        }
        .right3 {
            text-align: left;
            padding: 3px;
            font-size: 18.5px;
            font-family: Arial, Helvetica, sans-serif;
            margin-right: 15%;
        }

        /* Media query para pantallas pequeñas */
        @media (max-width: 600px) {
            .container3 {
                flex-direction: column; /* Invierte el orden de los elementos */
            }
            .left img {
                width: 290px;
            }
            .right3 {
                margin-left: 7%;
                font-size: 19px;
            }
            iframe{
                width: 290px;
                height: 300px;
            }
        }
/* WSP */
.whatsapp-icon {
    position: fixed;
    top: 85vh; /* 10% de la altura de la ventana gráfica */
    right: 2vw; /* 2% del ancho de la ventana gráfica */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7vw; /* 7% del ancho de la ventana gráfica */
    height: 9vh; /* 9% de la altura de la ventana gráfica */
    size: 10%;
    border-radius: 50%; /* Hace que el icono sea redondo */
    animation: bounce 1.5s infinite; /* Animación de rebote */
}

.whatsapp-icon img {
    width: 63%;
    height: 94%;
}

/* Media Queries para ajustes responsivos */
@media (max-width: 768px) {
    .whatsapp-icon {
        width: 100px; /* Aumenta el tamaño en pantallas más pequeñas */
        height: 70px;
        top: 80vh; /* Ajusta la posición en pantallas más pequeñas */
        right: 4vw;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0); /* Estado inicial y final sin movimiento */
    }
    50% {
        transform: translateY(-10px); /* Rebote hacia arriba */
    }
}

.form-group {
    margin-bottom: 15px;
    margin-left: 3%;
    margin-right: 3%;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: black;
    font-style: italic;
}
.form-group input,
.form-group textarea,
.form-group select { /* Incluye select aquí */
    width: 100%;
    padding: 10px;
    background-color: #ffffff;
    box-sizing: border-box;
    border: 2px solid #1e4079;
    border-radius: 1px;
    appearance: none; /* Elimina el estilo predeterminado */
    -moz-appearance: none; /* Para Firefox */
    -webkit-appearance: none; /* Para Safari y Chrome */
    background-image: url('data:image/png;base64,...'); /* Icono de flecha (opcional) */
    background-repeat: no-repeat;
    background-position: right 10px center; /* Ajusta la posición del icono */
    background-size: 12px; /* Tamaño del icono */
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { /* Agrega enfoque para el select */
    border-color: #1e4079;
    outline: none;
}
.form-group textarea {
    height: 200px;
    resize: vertical;
}
.form-group button {
    padding: 10px;
    background-color: #1e4079;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    width: 100%; /* Ancho completo del contenedor */
    display: block; /* Hace que el botón ocupe todo el ancho disponible */
    margin-left: auto; /* Alineación a la derecha */
    margin-right: 0; /* Alineación a la derecha */
}

@media (min-width: 768px) {
    .form-row {
        display: flex;
        justify-content: space-between;
    }
    .form-group.half {
        flex: 1 1 48%;
    }
    .form-group.full {
        flex: 1 1 100%;
    }
    .form-group button {
        width: auto;
        align-self: flex-end;
    }
}

.info-bar2 {
    background-color:white;
    text-align: center;
    color:#1e4079;
    font-size: 12px;
    padding: 5px 0;
    position: absolute;
    width: 100%;
    text-decoration:none;

}
.info-bar2 a:hover{
   
    text-decoration:none;

}

.info-bar2 a{
    color:#1e4079;
    text-decoration:none;
}
.item img {
    width: 100%;
    height: auto;
}