/* LICENSE & DETAILS
==================================================

	Theme Name: Aulaplaneta
	Author: Gir.cat para Aulaplaneta
	Author URI: http://gir.cat/
	Description: Aulaplaneta
	Version: 1.1
	License: Gir.cat - All rights reserved
	Tags: custom theme.
    Text Domain: gircat_bs5


================================================== */

@import url("css/style.min.css");

@import url("css/style.min.css.map");

.captcha-wrapper{
	padding-top: 10px;
	padding-bottom: 10px;
	min-height: 80px;
}
.captcha-image{
	min-height: 60px;
}


/* elementor slidejs */
.custom-slider {
	position: relative;
	overflow: hidden;
  }
  
  .custom-slide {
	position: relative;
	text-align: center;
  }
  
  /* Contenedor de la imagen */
  .custom-slide .slide-image {
	width: 100%;
	height: 300px; /* Ajusta la altura según necesites */
	overflow: hidden;
  }
  
  /* Imagen en modo cover */
  .custom-slide .slide-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
  }
  
  /* Contenido (título y descripción) centrado sobre el slide */
  .custom-slide .slide-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	color: #fff; /* Ajusta el color según el fondo */
	text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  }
  
  /* Estilos para el título */
  .custom-slide .slide-content h2 {
	margin: 0;
	font-size: 2em;
  }
  
  /* Dots de navegación */
.slick-dots {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin: 0;
	list-style: none;
  }
  
  .slick-dots li {
	margin: 0 5px;
  }
  
  .slick-dots li button {
	width: 12px;
	height: 12px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
  }
  
  .slick-dots li.slick-active button {
	background: rgba(255, 255, 255, 1);
  }
  
  /* Flechas de navegación */
  .slick-prev, .slick-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	border: none;
	width: 40px;
	height: 40px;
	color: #fff;
	font-size: 20px;
	line-height: 40px;
	text-align: center;
	cursor: pointer;
	z-index: 1;
  }
  
  .slick-prev {
	left: 15px;
  }
  
  .slick-next {
	right: 15px;
  }
  
  /* Opcional: Estilo hover para las flechas */
  .slick-prev:hover, .slick-next:hover {
	background-color: rgba(0, 0, 0, 0.8);
  }

  .select2-container--bootstrap-5 .select2-selection__clear {
  background-color: white !important;
}

.gform_wrapper.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.gform_wrapper.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    margin-left: -16px;
    border: 3px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/*
MOFICICACIONS EN CALENT
*/
.sorteoAulaPlaneta .ginput_container {
    margin-top: 1.5rem;
}