/*
Theme Name: OceanWP child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/
@font-face {
    font-family: 'Akeila Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Akeila Regular'), url('fonts/Akeila.woff') format('woff');
    }
body .akeila * {
    font-family: 'Akeila Regular', sans-serif!important; /* 'sans-serif' es la fuente de respaldo */
}
.home #site-header.custom-header {
    border: none;
    background: transparent;
}

body #related-posts,
body.single-post ul.meta{
    border: none;
}
body.single-post.content-max-width figure img {
    padding-left: 20px;
    padding-right: 20px;
}
body.single-post.content-max-width .related-post figure img {
    padding-left: 0;
    padding-right: 0;
}
body .metaslider.ms-theme-clarity .flexslider .flex-direction-nav a {
    top: calc(50% - 50px);
}

.carrusel-diapos img {
      filter: grayscale(100%);
      transition: filter 0.3s ease; /* para que el cambio sea suave */
    }
.carrusel-diapos img:hover {
  filter: grayscale(0%);
}


.carrusel-diapos .slides li{
    background: none!important;
}
.carrusel-diapos .slides li:hover{
    background: #d5af24!important;
}

body .carrusel-diapos .caption-wrap{
    border:none!important;
}

body .carrusel-diapos .caption{
    padding: 15px!important;
    text-align: left!important;
    color: #fff;
}
body .carrusel-diapos .caption h2{
    font-size: 25px;
    margin-bottom: 5px;
}

    
.boton-envio,
.boton-envio2{
    width: 100%!important;
    font-size: 18px!important;
    letter-spacing: 0!important;
}
.form-newsletter .wpforms-field {
    padding: 20px 0!important;
}


.form-newsletter input[type=email],
.form-newsletter input[type=text]{
    border-radius: 0!important;
}


.elementor a {
    color: inherit;
}
.home #site-header.transparent-header {
    border:none;
}
.arrow_box{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}
.arrow_box:after {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 79, 255, 0);
    border-bottom-color: #0A0E2F;
    border-width: 10px;
    margin-left: -10px;
}
/* Estilos para la lista de subpáginas en columnas */
ul.lista-subpaginas-con-imagen {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* dos columna por defecto (para móvil) */
    gap: 20px; /* Espacio entre los elementos */
    list-style: none; /* Quita los puntos de la lista */
    padding: 0;
    margin: 0;
    justify-items: center;
}

ul.lista-subpaginas-con-imagen li {
    text-align: center;
    margin: 0;
    width: 100%; /* Ocupa todo el ancho de su columna */
    line-height: 1.4;
}

ul.lista-subpaginas-con-imagen li:hover,
.gallery img:hover {
    opacity: 0.8;
}

ul.lista-subpaginas-con-imagen li img {
    width: 100%; /* Hace que la imagen ocupe todo el ancho de la columna */
    height: auto;
    border-radius: 8px; /* Bordes redondeados opcionales */
}

ul.lista-subpaginas-con-imagen li a {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin-top: 20px;
    font-size: 16px;
}
ul.lista-subpaginas-con-imagen li a:hover {
    color: #0073aa; /* Cambia el color al pasar el cursor */
}

/* Media Queries para columnas en pantallas más grandes */
@media (min-width: 576px) {
    ul.lista-subpaginas-con-imagen {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas pequeñas */
    }
}

@media (min-width: 768px) {
    ul.lista-subpaginas-con-imagen {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas en tablets */
    }
}

@media (min-width: 992px) {
    ul.lista-subpaginas-con-imagen {
        grid-template-columns: repeat(4, 1fr); /* 4 columnas en pantallas medianas */
    }
}
/*
@media (min-width: 1200px) {
    ul.lista-subpaginas-con-imagen {
        grid-template-columns: repeat(5, 1fr); /* 5 columnas en pantallas grandes */
/*    }
}*/

/* fin Estilos para la lista de subpáginas en columnas */


#cerrar-popup{
    display: block;
    line-height: 1.4;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 25px;
    padding: 0 10px;
    font-weight: bold;
    border: solid 1px #ddd;
    background: #bda344;
    cursor: pointer;
    z-index: 999;
}
#my-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.85);
    z-index: 999;
}
.page #cliente-form{
    display: none;
}
#cliente-form{
    width: 600px;
    z-index: 99999;
    max-width: 80%;
    margin: 0 auto;
    background: #1e1e1e;
    padding: 40px;
    position: fixed;
    top: 100px;
    right: 0;
    left: 0;  
    border-radius: 16px;
    overflow: hidden;
}
#cliente-form.form-popup{
    animation: smoothScroll 1s forwards;
    display: block!important;
}





.my-btn > a .text-wrap {
    background: #8aa36a;
    padding-right: 15px;
    padding-left: 15px;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
}
.my-btn > a .text-wrap:hover {
    opacity: 0.8;
}
#colophon ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

#colophon ul a:hover{
    color: #D5AF24;
}
#colophon li{
	margin-bottom: 15px;
    line-height: 1.3;
}
#colophon #contacto-wa a{
	color: #fff;
}

@media (max-width: 1300px) { 

}

@media (max-width: 960px) {	

}
@media (max-width: 768px) {  
    .custom-logo-link {
        margin-top: 10px;
    }
    figure.gallery-item {
        width: 48% !important;
        float: left;
        margin: 1% !important;
    }        
    #cliente-form{
        max-width: 90%;
        padding: 10px;
        top: 10px;
        overflow: auto;
        max-height: 95vh;
    }

    .carrusel-diapos .slides li{
        padding-bottom: 10px!important;
    }

    body .carrusel-diapos .caption{
        padding: 5px!important;
    }
    body .carrusel-diapos .caption{
        font-size: 15px;
    }
    body .carrusel-diapos .caption h2{
        font-size: 17px;
    }
}

@media (max-width: 650px) {   
    #colophon #contacto-wa {
        width: 100%;
    }
    .hfe-nav-menu li{
        display: block;
        width: 100%;
    
    }
    .hfe-nav-menu li a {
        padding: 0;
    }




}

@media (max-width: 450px) { 

}