/*
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 {
	overflow-x: hidden;
}





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

/* Si un heading sigue a otro heading, sin margen */
.post-content :is(h2,h3,h4,h5,h6) + :is(h2,h3,h4,h5,h6) {
  margin-top: 0;
}

/* 1) Si el heading es el primer elemento dentro de .post-content → sin margen */
.post-content > :is(h2,h3,h4,h5,h6):first-child {
  margin-top: 0;
}



.post-content ul,
.post-content ol {
	margin-bottom: 1.5em; 
}

.post-content .wp-block-image,
.post-content .wp-block-embed,
.post-content .wp-block-table {
	margin: 1.5em auto;
}

.post-content a {
	text-decoration: underline !important;
}



ul.menu-shortcode {
	list-style: none;
	margin: 0;
	padding: 0;
}





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

.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;
}





/* formulari */
.hola {
	text-align: center;
	font-size: 14px;
}
@media (min-width: 1024px) {
	.hola {
		
		font-size: 18px;
	}
}

.drets {
	text-align: center;
	font-size: 10px;
	line-height: 1.1;
}
.drets label {
	line-height: 1.1;
	display: flex;
	align-items: center;
	gap: 10px;
}

.drets .wpcf7-list-item {
	margin: 0;
	width: 100%;
}

.drets .wpcf7-list-item-label {
	width: calc(100% - 30px);
	text-align: left;
}


.wpcf7-acceptance [type=checkbox] {
	appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #1e1e1c;
    background: transparent;
    border-radius: 0;
    position: relative;
    cursor: pointer;

}

.wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20' fill='%23000000'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}



.formulari .wpcf7-not-valid-tip {
    display: none !important;
}






.subscriute p {
	display: flex;
	justify-content: center;
}
.subscriute .label {
	display: none;
}
.subscriute input[type=email] {
	border-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 1px solid #111;
	background-color: transparent;
	line-height: 1;
	padding: 8px 10px;
}

.subscriute input[type=email].wpcf7-not-valid {
	border-bottom: 1px solid red;
}

.subscriute [type=submit] {
	border-radius: 20px;
	border-color: #111;
	color: #111;
	background-color: transparent;
	text-transform: none;
	line-height: 1;
	padding: 8px 14px;
	font-size: 15px;
}
.subscriute [type=submit]:hover, .subscriute [type=submit]:focus {
	border-color: #111;
	color: #fff;
	background-color: #111;
}


.subscriute .wpcf7-spinner {
	display: none;
}




.formulari a {
	color:#000;
}
.formulari a:hover {
	color:#222;
}
.formulari .form-group {
	display: flex;
	align-items: center;
}
.formulari .form-group .label {
	display: block;
	white-space: nowrap;
	margin-right: 8px;
	font-size: 18px;

}

.formulari .form-group .wpcf7-form-control {
	border-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 1px solid #111;
	background-color: transparent;
	padding: 4px 8px;
}

.formulari .form-textarea  {
	width: 100%;
}

.formulari .form-textarea .wpcf7-form-control-wrap {
	display: block;
	margin-top: 8px;
}
.formulari.contacte .label  {
	font-size: 18px;
	padding: 4px 8px;
	display: block;
}


.formulari .wpcf7-textarea {
	border-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border: 1px solid #111;
	background-color: transparent;
}

.formulari .wpcf7-form-control-wrap {
	width: 100%;
}

.formulari .enviar {
	text-align: center;
}

.formulari .enviar .wpcf7-submit {
border-radius: 50px;
background-color: transparent;
color: #111;
padding: 8px 32px;
text-transform: uppercase;
border: 1px solid #111;
margin-top: 20px;

}

.formulari .enviar .wpcf7-spinner {
	display: none;
}




.hide-text .elementor-button-text {
	display: none;
}

.elementor-kit-6 a.skip-link {
	color: #000;
}