/**
 * Fix casilla de aceptacion del formulario MetForm (mf-gdpr-consent)
 * Motivo: en metform/build/frontend/app/index.css el glifo Font Awesome del ::before
 * sale VACIO (content:"") y el <input> queda a 0x0 -> la casilla no se ve ni se puede marcar.
 * Solo afecta a los checkbox de MetForm de esta web. Rollback: borrar este fichero y el
 * bloque "fix-metform-consent" de functions.php.
 */
.mf-checkbox-option {
	position: relative !important;
	padding-left: 32px !important;
}

/* el input real sigue ahi (captura el clic), pero invisible y encima de la casilla dibujada */
.mf-checkbox-option input[type="checkbox"] {
	display: block !important;
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	width: 24px !important;
	height: 24px !important;
	margin: 0 !important;
	opacity: 0 !important;
	cursor: pointer !important;
	z-index: 2 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

/* la casilla visible (cuadrado) */
.mf-checkbox-option input[type="checkbox"] + span::before {
	content: "" !important;
	box-sizing: border-box !important;
	position: absolute !important;
	left: 0 !important;
	top: 1px !important;
	width: 22px !important;
	height: 22px !important;
	font-family: inherit !important;
	font-weight: 400 !important;
	font-size: 15px !important;
	line-height: 20px !important;
	text-align: center !important;
	color: #ffffff !important;
	background: #ffffff !important;
	border: 1px solid #6b6257 !important;
	border-radius: 4px !important;
	vertical-align: top !important;
}

/* marcado */
.mf-checkbox-option input[type="checkbox"]:checked + span::before {
	content: "\2713" !important;
	background: #5f7bff !important;
	border-color: #5f7bff !important;
}

/* el texto de la clausula, alineado con la casilla */
.mf-checkbox-option input[type="checkbox"] + span {
	display: inline-block !important;
	font-size: 13px !important;
	line-height: 1.55 !important;
}
