/* Contenedor principal de la cuadrícula */
.acf-member-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Estilo para cada tarjeta de miembro */
.member-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
	 display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.member-card:hover {
    transform: translateY(-5px);
}

.card-header img {
    width: 100%;
    height: auto;
    display: block;
}

.card-info {
    padding: 15px;
    display: flex;
    align-items: center;
	justify-content: space-between;
}

.member-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 15px;
    position: relative;
	
}

.availability-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: green;
    border-radius: 50%;
    border: 2px solid #fff;
}

.member-info {
    flex-grow: 1;
}

.member-info h3 {
    margin: 0 0 5px;
    font-size: 1.2em;
    color: #333;
}

.member-info p {
    margin: 0;
    color: #777;
}





@media only screen and (max-width: 994px) {
    .acf-member-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .acf-member-grid .member-card:nth-child(n+7) {
        display: none;
    }

    .member-card {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 768px) {
    .acf-member-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .acf-member-grid .member-card:nth-child(n+4) {
        display: none;
    }

    .member-card {
        margin-bottom: 20px;
    }
}

/* Estilo para Member Slider */
.swiper-container-slider {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
}

.member-card-slider {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.swiper-slide-slider-active .member-card-slider {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-header-slider img {
    width: 100%;
    height: auto;
    display: block;
}

.card-info-slider {
    padding: 15px;
}

.member-info-slider h3 {
    font-size: 1.2em;
    margin: 0;
}

.member-info-slider p {
    color: #777;
}


/* Estilo para Directiva Slaider */

.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.socio__thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Relación de aspecto 1:1 */
    overflow: hidden;
}

.socio__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Filtro blanco y negro */
}

.slide__body {
    padding: 15px;
    text-align: center;
}

.socio__title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.socio__job-position {
    font-size: 14px;
    color: #666;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important; /* Cambia al color deseado */
}

.swiper-button-next {
	right:-50px !important;
}

.swiper-pagination {
    
	bottom:-10px !important;
}
.swiper-pagination-bullet{
	background: #fff !important; /* Cambia al color deseado */
}

.swiper-button-prev {
	left:-50px !important;
}

/* Estilo para móviles */
@media (max-width: 768px) {
    .swiper {
        padding: 10px 0;
    }

    .swiper-slide {
        width: 100%; /* Muestra solo una tarjeta a la vez en móviles */
    }

    .socio__title {
        font-size: 16px;
    }

    .socio__job-position {
        font-size: 12px;
    }
}



/* Estilo para Sponsors Slider */

.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sponsor__thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Relación de aspecto 1:1 */
    overflow: hidden;
}

.sponsor__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
	padding:10%;
    
}

.slide__body {
    padding: 15px;
    text-align: center;
}

.sponsor__name {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #000; /* Cambia al color deseado */
}

.swiper-pagination-bullet {
    background: #000; /* Cambia al color deseado */
}

/* Ajustes para dispositivos móviles */
@media only screen and (max-width: 768px) {
    .swiper {
        width: 100%;
    }
    .swiper-slide {
        width: 100%;
    }
    .swiper-slide {
        flex-shrink: 0;
        width: 100%;
    }
}

/* Estilo para Directiva Grid */
.acf-board-grid-widget {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.board-member-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.board-member-thumbnail {
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    position: relative;
    overflow: hidden;
}

.board-member-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.card-body {
    padding: 15px;
    text-align: center;
}

.board-member-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.board-member-job-position {
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 994px) {
    .acf-board-grid-widget {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .acf-board-grid-widget {
        grid-template-columns: 1fr;
    }

    .member-search-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .member-search-container input,
    .member-search-container select,
    .member-search-container button {
        width: 100%;
        margin-bottom: 10px;
    }

    .member-search-container button {
        width: auto;
        align-self: flex-start;
    }
}




/* Estilo para seccion titulo */
.section-title {
    overflow: hidden;
    position: relative;
}

.section-title h2 {
    
    margin: 0;
    padding: 0;
	font-weight:900;
	font-size:70px;
	line-height: 1;
}

.left h2 {
    text-align: left;
}

.right h2 {
    text-align: right;
}

.slide-in-right {
    animation: slideInRight 1s forwards;
}

.slide-in-left {
    animation: slideInLeft 1s forwards;
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}



/* Estilo svg animado */
.shape-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.shape {
    float: left;
    margin-right: 20px;
}

.shape-text {
	--s:450px;  /*Size of the circle */
	--p:15px;  /* padding */
	
    
	

  height: var(--s);
  width:  var(--s);
  border-radius: 50%;
}

.shape-text i, .shape-text::before {
	content:'';
	float: left;
	height:100%;
	width: 50%;
	shape-outside: radial-gradient(farthest-side at right, transparent calc(100% - var(--p)), #fff 0);
}
.shape-text i {
	float:right;
	shape-outside: radial-gradient(farthest-side at left,  transparent calc(100% - var(--p)), #fff 0);
}

.elementor-2 .elementor-element.elementor-element-73fb067{
	padding:0;
}

.elementor-2 .elementor-element.elementor-element-2f26160 {
	padding:0;
}
.elementor-2 .elementor-element.elementor-element-acc6ec4 {
	padding:0;
}

/* Estilo Rotating_SVG_Widget */

.svg-container {
  width: 100% !important; /* Ajusta al tamaño deseado */
  height: 100% !important;
  overflow: hidden !important;
  position: relative !important;
}

.svg-container.left {
  right: 50% !important;
}

.svg-container.right {
  left: 0% !important;
}
.rotating-svg.right {
	
	left:100% !important;
}

.rotating-svg.left {
	
	left:50% !important;
}
.rotating-svg {
	max-width:none !important;
  position: relative !important;
  top: 50% !important;
  
  transform: translate(-50%, -50%);
  height: 125% !important; /* Asegura que el SVG sea lo suficientemente grande para rotar dentro del viewport */
  transition: transform 1s ease-out !important;
}

@media (max-width: 768px) {
  .svg-container {
    width: 100% !important;
  }
  .rotating-svg {
    width: 100% !important;
    height: auto !important;
  }
}

/* Estilo Scroll Infinito */

.svg-scroll-container {
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100px; /* Ajusta según el tamaño de tu SVG */
}

.svg-scroll {
    display: flex;
    position: absolute;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
}

.svg-scroll img {
    width: auto;
    height: 100px; /* Asegúrate de que el tamaño es consistente */
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
/* Estilo Pelicula Infinito */

.svg-pelicula-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 900px; /* Ajusta según el tamaño de tu SVG */
}

.svg-pelicula {
    display: flex;
	flex-direction:column;
    
    top: 0;
    left: 0;
    animation: pelicula-top 25s linear infinite;
}

.svg-pelicula.left {
	align-items:start;
}

.svg-pelicula.right {
	align-items:end;
}

.svg-pelicula img {
    width: 50%;
    height: auto; /* Asegúrate de que el tamaño es consistente */
/
}

@keyframes pelicula-top {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

/* Estilo Member Search Widget */
/* Estilos para el contenedor de búsqueda */
.member-search-container {
    display: flex;
	flex-direction:row;
	align-content:center;	
	justify-content: space-around;
	align-items: baseline;
    gap: 10px;
    margin-bottom: 50px;
    
}

.member-search-container input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 30%;
}

.member-search-container select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 30%;
}

.member-search-container button {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #22305F;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.member-search-container button:hover {
    background-color: #1a2547;
}

/* Estilos para el contenedor de resultados */
#member-results-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.member-result {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.member-result h3 {
    font-size: 20px;
    color: #22305F;
    margin-bottom: 10px;
}

.member-result p {
    font-size: 16px;
    color: #555;
}

/* Estilos responsivos */

}

@media only screen and (max-width: 992px) {
    #member-results-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width: 768px) {
	
	.member-search-container {
        flex-direction: column; /* Cada input en una línea */
        align-items: stretch;
		
    }
	
	  .member-search-container input,
    .member-search-container select,
    .member-search-container button {
        width: 100%; /* Mantén los inputs y botones en líneas separadas */
        margin-bottom: 15px; /* Aumenta espacio entre elementos */
		max-width:100%;
    }


	
    #member-results-container {
        grid-template-columns: 1fr;
    }
}

/* Estilos acf-sponsors-grid-widget */


.acf-sponsors-grid {
	display:grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.card-sponsor {
    background-color: #fff;
    border-radius: 10px;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
   
}

.card-sponsor-link {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-sponsor-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-sponsor-link {
	background-color: #fff;
	display:flex;
	flex-direction:column;
	flex-wrap:wrap;
	justify-content:space-between;
}

.card-sponsor-header {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
}

.card-sponsor-header img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ajuste del logo dentro del contenedor */
}

.card-sponsor-body {
    padding: 10px;
    text-align: center;
    background-color: #fff;
}


}

@media only screen and (max-width: 992px) {
    .acf-sponsors-grid {
		display:grid;
        grid-template-columns: repeat(2, 1fr);
		gap:20px;
    }
}

@media only screen and (max-width: 768px) {
    .acf-sponsors-grid {
		display:grid;
        grid-template-columns: 1fr;
		gap:20px;
    }

/* Formularios */

.frm_forms .frm_fields_container {
    display:flex;
    flex-flow:row wrap;
    justify-content: space-between;
    grid-gap:32px;
}

.frm_forms .frm_fields_container .form-field {
    display:flex;
    flex-direction: column;
    justify-content: center;

    margin:0;
}

.frm_forms .frm_fields_container .half {
    width:calc( 50% - 16px )!important;
}

.frm_forms .frm_fields_container .full {
    width:100%!important;
}




