
@font-face {
    font-family: 'Avenir Black';
    src: url('./fonts/Avenir\ Black.ttf');
}
@font-face {
    font-family: 'Avenir Light';
    src: url('./fonts/Avenir\ Light.ttf');
}
 /* Estilos contenedores */
 #texto-index{
    align-items: center;
    text-align: center;
 }
 #columna-texto{
    width: 100%;
    margin-top: 5%;

 }

 #contenedor-texto{
    width: 100%;
    height: 60%;
    margin-top: 10%;
    align-items: center;
    text-align: center;
    justify-content: center;
    

 }
 #contenedor-texto h4{
    margin-top: 1.5vh;

 }

 #contenedor-padre {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    margin-top: 5%;
    width: 120vh; 
    margin-left: auto; 
    margin-right: auto; 
}

#contenedor-horizontal {
    background-color: rgba(46, 186, 225, 0.8);
    height: 20vh;
    width: 30%; 
    margin: 1.5%; 
    margin-top: 5%;
    border-radius: 0.5vh;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

#contenedor-horizontal:hover {
    background-color: rgba(46, 186, 225, 1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}


/* Márgenes */
#margen-texto{
    margin-bottom: 10vh;
}

#margen{
    width: 100%;
 }






#Top_bar .container {
    display: flex;
    align-items: center; 
    width: 100%; 
    max-width: 1500px; 
    margin: 0 auto; 
}

#Top_bar .menu_wrapper {
    margin-left: auto; 
}

#Top_bar #menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; 
}

#Top_bar #menu li {
    margin: 0 10px; 
}

#Top_bar .logo img {
    max-width: 100%;
    height: auto; 
}

#Top_bar .logo {
    width: auto;
    flex: 0 0 auto;
}




#section-sobre {
    display: flex;
    flex-direction: row; 
    height: 50vh; 
}

.image-container,
.text-container {
    display: flex;
}

.image-container {
    
    width: 100%;
}

.image-container img {
    width: 100%;
    height: auto;
}

.text-container {

    margin-left: 5vh;
    padding: 7vh;
    width: 60%; 
    display: flex;
    flex-direction: column;
}

.text-container h3{
    margin-top: 5%;
    font-size: 3em;
    color: #fff;
}
.text-container a{
    margin-top: 4%;
    width: 50%;
    color: #ffffff;
    
}



@media only screen and (max-width: 768px) {
    #section-sobre {
        display: none;
    }
}


.custom-button {
    display: inline-block;
    background-color: #1d88ed;
    color: #fff;
    padding: 10px 20px; 
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}





/* columnas */
#servicios {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    margin: 60px auto;
    padding: 20px;
    max-width: 2500px;
    width: 70%;
    height: 70%;
}

#servicios a {
    text-decoration: none;
}
  
.box {
    width: 20%;
    margin: 0 auto 5px; 
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    border-radius: 1em;
}
  
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: black;
    padding: 20px;
    width: 75%;
    height: 85%;
    border-radius: 2em;
    opacity: 0.7;
}

.overlay .content {
    width: 80%; 
    margin: 0 auto; 
}

.overlay h2 {
    font-size: 20px;
    margin: 0;
    padding: 0;
    color: var(--e-global-color-eedb9f6);
    text-align: center;
    font-weight: 500;
    line-height: 37px;
    font-weight: bold;
    color: #fff;

}
  
.overlay p {
    
    font-size: 16px;
    font-weight: 300;
    text-align: center; 
    margin-top: 10px;
    margin-bottom: 10px; 
}

.contenido-servicios {
    display: flex;
    justify-content: center; 
    align-items: flex-end; 
    margin-top: 60px; 
}

.contenido-servicios .column.one {
    width: auto; 
}

.boton-servicios-container {
    position: absolute;
    bottom: 10%;
    right: 2%;
    width: 100%; 
    text-align: center; 
}

.boton-servicios {
    background-color: #1d88ed; 
    color: #fff; 
    font-size: 16px;
    padding: 10px 20px; 
    cursor: pointer; 
    transition: background-color 0.3s ease;
    border-radius: 2em;
    width: 200px; /* Ancho fijo para todos los botones */
}

.boton-servicios:hover {
    background-color: #1565c0; 
    color: black;
}

  /* Modo responsive para las paginas inciales de servicios */
  @media screen and (max-width: 1500px) {
    .container {
        flex-direction: column; 
        align-items: center; 
    }

    .box {
        width: 50%; 
        margin: 0 auto 20px; 
    }

    .overlay p {
        font-size: 1.5em; 
    }
}


  @media screen and (max-width: 768px) {
    .box {
        width: 100%;
        height: auto;
        margin: 0;
    }
    .overlay p {
        font-size: 1.4em; 
        line-height: 1.5em;
    }
    .container {
        flex-direction: column; 
        align-items: center;
    }
    .color-titulo{
        color: rgb(0, 0, 0);
    }
}

@media screen and (max-width: 480px) {
    .box {
        width: calc(100% - 20px); 
        margin: 0 auto 20px;
    }
    .overlay {
        width: 90%;
        padding: 10px; 
    }
    .boton-servicios {
        font-size: 14px;
        padding: 8px 15px; 
    }
    .color-titulo{
        color: rgb(0, 0, 0);
    }
    #imagenes-servicios{
        background-image: none !important;

       }

}

@media only screen and (max-width: 768px) {
    #texto-desplegables {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 10px; 
        text-align: center; 
    }
    #texto-desplegables p, li, h4 {
        max-width: 100%; 
        margin: 10%;
    }
    #boton-desplegables{
        margin-bottom: 5%;
    }
}
/* texto servicios */
#entry-content-servicios {
    display: block; 
    justify-content: center; 
    align-items: center; 
    margin: auto; 
    width: 100%;
}
#seccion-servicios{
    background-color: rgba(46, 186, 225, 0.4);
    height: 100%; 
}

#seccion-servicios span{
    font-weight: bold;
    color: black;
}

#columna{
    display: flex;
    justify-content: center;

}

#enlace-formulario {
    height: 60px;
    width: 40%;
    border-radius: 1.5em;
    font-size: 1.5em;

}

#texto-desplegables{
    margin-top: 5%;
}



/* página de contacto */
.whatsapp-button {
    display: inline-block;
    background-color: #2593d3;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #12398c;
    text-decoration: none; 
}

.whatsapp-button span {
    margin-right: 10px;
    
    
}

.phone-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    vertical-align: middle; 
}

#footer-row {
    display: flex;
    align-items: center;
    color: white;
}
#footer-bottom a{
    color:white;
}


@media (max-width: 767.98px) {

    
    .footer-bottom img {
        display: flex;
        margin-top: 40%;

    }
    

  }

/* index2 */
.titulo-inicio2, h2{
    font-family: 'Avenir Black';
}
.titulo-inicio2 {
    margin-right: 30vh;
}
/* Media query para pantallas con ancho máximo de 768px */
@media screen and (max-width: 768px) {
    .titulo-inicio {
        font-size: 18vw;
        line-height: 20vw;
        margin-left: 200px !important;
    }
    #contenedor-texto {
        width: auto;
        height: auto; 
    }
    #margen-texto{
        margin-bottom: auto;
    }
    #contenedor-padre{
        width: 100%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1300px) {
    .titulo-inicio {
        font-size: 9vw;
        line-height: 9vw;
    }
    #contenedor-texto {
        width: auto;
        height: auto; 
        font-size: 5vw;
    }
    #margen-texto{
        margin-bottom: auto;
    }
    #contenedor-padre{
        width: 100%;
    }

}


@media screen and (max-width: 768px) {
    .titulo-inicio2 {
        font-size: 18vw;
        line-height: 20vw;
    }
    #contenedor-texto {
        width: auto;
        height: auto; 
    }
    #margen-texto{
        margin-bottom: auto;
    }
    #contenedor-padre{
        width: 100%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1300px) {
    .titulo-inicio2 {
        font-size: 9vw;
        line-height: 9vw;
    }
    #contenedor-texto {
        width: auto;
        height: auto; 
        font-size: 5vw; /* Añadido tamaño de fuente en vw */
    }
    #margen-texto{
        margin-bottom: auto;
    }
    #contenedor-padre{
        width: 100%;
    }
}


.boton-servicios2 {
    display: inline-block; 
    background-color: #12398c;
    color: #fff;
    font-size: 35px; 
    padding: 15px 30px; 
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 2em;
    max-width: 100%; 


    @media only screen and (max-width: 600px) {
        font-size: 20px; 
        padding: 10px 20px; 
    }
}

.boton-servicios2:hover {
    background-color: #1565c0;
    color: white;
    text-decoration: none;
}

/* servicios */



@media only screen and (max-width: 768px) {
    /* Hide the image on mobile */
    #fotos-servicios-activobancario {
        display: none;
    }

    .intro-inner{
        display: none;
    }
    .parallax{
        display: none;
    }
   
    #titulo-bancario {
        margin-top: -150; 
    }

    #mfn-rev-slider{
        display: none;
    }
    
}


.grecaptcha-badge{
    display:none;
}