/*
Theme Name: ONLINE VALLES
Template: hello-elementor

*/


/* Theme admin customization starts here
-------------------------------------------------------------- */
.sbi_notice,
.trp-notice.error,
.sbi_notice.sbi_review_notice_step,
.trp-notice.trp-narrow.notice.notice-info,
.trp-notice.trp-narrow {
	display: none;
}

.grecaptcha-badge {
	visibility: hidden !important;
}



/* Theme customization starts here
-------------------------------------------------------------- */
body, html {
	width: 100%;
	overflow-x: hidden !important;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
	margin-top: 2em;
	/* Margen por defecto */
	margin-bottom: 0.5em;
}

/* Quitar margen superior solo al primer encabezado dentro de .post-content */
.post-content h2:first-of-type,
.post-content h3:first-of-type,
.post-content h4:first-of-type,
.post-content h5:first-of-type,
.post-content h6:first-of-type {
	margin-top: 0;
}

.post-content ul {
	margin-bottom: 2em;
}


.encima {
	position: relative;
	z-index: 10;
}

.debajo {
	position: relative;
	z-index: 5;
}

.overflow-x-h,
.econ.overflow-x-h {
	overflow-x: hidden !important;
}

.relative {
	position: relative;
}

b,
strong {
	font-weight: bold !important;
}

.align-top {
	margin-bottom: auto !important;
}

.align-right {
	margin-left: auto !important;
}

.align-bottom {
	margin-top: auto !important;
}

.align-left {
	margin-right: auto !important;
}






/* elementor */
.boton-100 .elementor-button-link {
	width: 100%;
}

.boton-100 .elementor-button-content-wrapper {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.text-degradat {
	background: -webkit-linear-gradient(left, #00c3b6, #00aed1);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.red-cta b,
.red-cta strong {
	font-weight: normal !important;
	color: #eb1b17;
}






/* formulari */
.formulari p {
	margin: 0;
}

.formulari label .label {
	display: none;
}

.formulari label {
	width: 100%;
}

.formulari .form-input,
.formulari .form-textarea {
	font-size: 18px;
	line-height: 1.1;
	color: #1A202C;
	border-top: 0px solid transparent;
	border-right: 0px solid transparent;
	border-bottom: 1px solid #1A202C;
	border-left: 0px solid transparent;
	border-radius: 0 !important;
	padding: 8px 20px;
	background-color: var(--e-global-color-09627c4);
	;
}

.formulari .form-textarea- {
	height: 80px;
}

.formulari .form-input:focus,
.formulari .form-textarea:focus {
	outline: none !important;
}

.formulari .accept {
	padding: 30px 20px 10px 20px;
	font-size: 12px;
}

.formulari .wpcf7-list-item {
	margin: 0;

}

.formulari .form-accept {
	margin-right: 4px;
}

.formulari .wpcf7-list-item label {
	display: flex;
	align-items: center;
}

.formulari .enviar {
	width: 100%;
	padding: 0 40px;
}

.formulari .wpcf7-submit {
	width: 100%;
	border: 2px solid #000;
	background-color: #000;
	color: #fff;
	border-radius: 0;
	font-weight: bold;
	padding: 12px 20px;
	font-size: 20px;
	line-height: 1;
}





/* ow-carousel */
.gallery-item {
	width: 100%;
	background-color: #eee;
	height: 0;
	padding-bottom: 100%;
	position: relative;
}

.gallery-item img {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: auto;
}


.owl-carousel- {
	visibility: hidden;

}

.gallery-slide .owl-carousel.owl-loaded {
	visibility: visible;
	display: block;
}

.owl-carousel .owl-dots {
	height: 30px;
	position: absolute;
	top: -40px;
	left: 50%;
	width: 100%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: -6px;
}

.owl-carousel .owl-dots .owl-dot {
	padding: 0;
	border: 0;
	background: transparent;
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.owl-carousel .owl-dots .owl-dot span {
	width: 100%;
	height: 12px;
	border-radius: 12px;
	margin-left: 12px;
	background: var(--e-global-color-primary);
	opacity: 0.3;
	display: block;
	-webkit-backface-visibility: visible;
	transition: opacity 200ms ease;
}

.owl-carousel .owl-dots .owl-dot.active span {
	background: var(--e-global-color-primary);
	opacity: 1;
}



.owl-carousel .owl-nav {
	position: relative;
	bottom: 0px;
	right: 0;
	left: auto;
	width: 70px;
	display: flex;
	justify-content: space-between;
	z-index: 888;
	margin-left: auto;
	margin-top: 20px;
}


.owl-carousel .owl-nav .ibq-owl-prev,
.owl-carousel .owl-nav .ibq-owl-next {
	padding: 0;
	margin: 0;
	background: transparent;
	display: flex;
	padding: 8px;
	background-color: var(--e-global-color-primary);
	fill: #fff;
	border-radius: 0;
}

.owl-carousel .owl-nav .ibq-owl-prev {
	left: 0;
}

.owl-carousel .owl-nav .ibq-owl-next {
	right: 0;
}

.owl-carousel .owl-nav .ibq-owl-prev svg,
.owl-carousel .owl-nav .ibq-owl-next svg {
	width: 14px;
	height: 14px;
}

.gallery-slide .owl-carousel .owl-stage-outer {
	overflow: visible;
}

.slider-3-col .owl-carousel .owl-item {
	opacity: .3;
}

.slider-3-col .owl-carousel .owl-item.active {
	opacity: 1;
}

.gallery-slide .elementor-loop-container {
	display: block !important;
}

.gallery-slide .elementor-loop-container .owl-carousel .owl-stage,
.gallery-slide .elementor-loop-container .owl-carousel .owl-item {
	display: flex;
}



.bg-image .bg-text {
	opacity: 0;
	transition: opacity 0.5s ease;
}

.bg-image:hover .bg-text {
	opacity: 1;
}

.bg-image:before {
	visibility: hidden;
	transition: opacity 0.3s ease;
}

.bg-image:hover::before {
	visibility: visible;
}


.contact-btn .elementor-button-icon {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);

}

.contact-btn .elementor-button-icon svg {
	width: 50px;
}

.contact-btn:hover .st0 {
	opacity: 1;
	transition: opacity 0.3s ease;
}

/*
	.st0{opacity:0.2;}	.st1{fill:#E94E1B;}	.st2{fill:#FFFFFF;}
*/


.efecto-hover {
border-radius: 50% !important;
overflow: hidden !important;
}

.efecto-hover .efecto-debajo {

}

.efecto-hover .efecto-encima {
opacity: 0;
transition: opacity 0.3s ease;

}
.efecto-hover:hover .efecto-encima {
opacity: 1;
}



.content-slide {
  width: 100%;
  overflow: hidden !important; /* Oculta scroll horizontal nativo */
	transition: none !important;
}

.scroll-slide {
  display: flex !important;
  flex-wrap: nowrap !important; /* evitar salto de línea */
	transition: none !important;
	
}






.scroll-item {
  flex: 0 0 50% !important; /* ancho fijo 25% para 4 por fila */
  box-sizing: border-box;
  transition: none !important;
}

@media (min-width: 768px) {
	.scroll-item {
	  flex: 0 0 25% !important; /* ancho fijo 25% para 4 por fila */
	}
}