/*
Theme Name: ONLINE VALLES
Template: kadence

*/


/* 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;
}




/* Theme customization starts here
-------------------------------------------------------------- */




.owl-carousel .owl-nav .ibq-owl-prev,
.owl-carousel .owl-nav .ibq-owl-next {
	position: absolute;
	top: 50%;
	padding: 0;
	margin: -15px 0 0 0;
	background: transparent;
	width:30px;
	height:30px;
}

.owl-carousel .owl-nav .ibq-owl-prev svg,
.owl-carousel .owl-nav .ibq-owl-next svg {
    fill: currentColor;
    height: 1em;
    width: 1em;
}
    
.owl-carousel .owl-nav .ibq-owl-prev {
	left: -40px;
	transform: scaleX(-1);
}

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





.owl-carousel .owl-dots {
	min-width: 120px;
	position: absolute;
	bottom: 24px;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateX(-50%);
}


.owl-carousel .owl-dots .owl-dot {
	padding: 0;
	border: 0;
	background: transparent;
	display: inline-block;
}


.owl-carousel .owl-dots .owl-dot span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-left: 4px;
	background: var(--global-palette8);
	display: block;
	-webkit-backface-visibility: visible;
	transition: opacity 200ms ease;
}

@media (min-width: 600px) {
	.owl-carousel .owl-dots .owl-dot span {
		width: 12px;
		height: 12px;
	}
}




.owl-carousel .owl-dots .owl-dot.active span {
	background: var(--global-palette1);
}



.img-serveis:after {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.5) 100%);
}

.bg-top-right {
	position: relative;
}


.bg-top-right:before {
	position: absolute;
	top: -40px;
    left: 40px;
    right: -40px;
    bottom: 40px;
	background: var(--global-palette2);
	content: '';
}

.bg-top-left {
	position: relative;
}


.bg-top-left:before {
	position: absolute;
	top: -40px;
    left: -40px;
    right: 40px;
    bottom: 40px;
	background: var(--global-palette2);
	content: '';
}



/* Buscador cursos */
.curso-filtro-form {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-end;
	gap: 20px;
}

.curso-filtro-form .kadence-filter-wrap {
    border: 0;
    margin: 0;
    padding: 0;
	flex: 1 1 calc(25% - 20px); /* Calcula el ancho considerando el gap */
	
}
.curso-filtro-form .buscar-curso {
	flex: 1 1 calc(25% - 20px); /* Calcula el ancho considerando el gap */
	display: flex;
}
@media (max-width: 768px) { /* Para tablets */
    .curso-filtro-form .kadence-filter-wrap {
        flex: 1 1 calc(50% - 20px); /* 2 columnas en tablets */
    }
	.curso-filtro-form .buscar-curso {
        flex: 1 1 calc(50% - 20px); /* 2 columnas en tablets */
    }
}

.curso-filtro-form .kb-query-label {
	font-weight: 700;
    margin-bottom: .5em;
	font-size: 14px;
	
}

.curso-filtro-form .filter-refresh-container {
	width: 100%;

}


.curso-filtro-form .kb-filter {
	width: 100%;
	
}




.curso-filtro-form .buscar-curso-btn {
	width: 100%;
	padding: 0;
	line-height: 34px;
	margin-top: auto;
	margin-bottom: 0;
	color: var(--global-palette1);
	background-color: var(--global-palette2);
}

.curso-filtro-form .buscar-curso-btn:hover,
.curso-filtro-form .buscar-curso-btn:focus {
	color: #000;
	background-color: #ffeb3b;
}


/* lista taxonomías */
.tematica {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}

.tematica li {
	margin: 0;
	padding: 0 !important;
	line-height: 1.2;
}

.tematica li a {
	margin: 0;
	padding: 6px;
	display: block;
	text-decoration: none;
	font-weight: 600;
	background-color: var(--global-palette2);
	color: var(--global-palette1);
	border-bottom: 1px solid var(--global-palette1);;
	border-top: 1px solid transparent;
}

.tematica li a:hover, 
.tematica li a:focus {
background-color: var(--global-palette1);
	color: var(--global-palette2);
	border-bottom: 1px solid var(--global-palette1);;
	border-top: 1px solid transparent;
}



.slider-3-query .kb-query-grid-wrap {
	display: block !important;
}