.checkbox{
	display: block;
	position: relative;
	cursor: pointer;
	margin-top: 20px;
}
.checkbox input{
	position: absolute;
	visibility: hidden;
}
.checkbox input:checked ~ span:before{
	background-color: rgba(6,70,145,0.9);
	border-color: rgba(6,70,145,0.9);
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' fill='none' viewBox='0 0 60 60'%3E%3Cpath d='M51 15L24 45L9 33' stroke='white' stroke-width='6' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E")
}
.checkbox span{
	color: #000;
	display: block;
	padding-left: 30px;
	user-select: none;
	text-transform: none !important;
	font-weight: 500 !important;
	line-height: 1.3;
}
.checkbox span:before{
	content: '';
	display: inline-block;
	width: 15px;
	height: 15px;
	border: 1px solid #c9c9c9;
	border-radius: 2px;
	position: absolute;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	transition: all .15s ease;
	left: 0;
	top: 2px;
}
.checkbox span a{
	color: rgba(6,70,145,0.9);
}

/* Consent stays keyboard-accessible while using the custom checkbox artwork. */
.checkbox.js-disabled input[type="checkbox"] {
	visibility: visible;
	opacity: 0;
	width: 20px;
	height: 20px;
	padding: 0;
}

.checkbox.js-disabled input:focus-visible + span::before {
	outline: 2px solid #064691;
	outline-offset: 3px;
}

.js-disabled-button.is-consent-pending {
	opacity: 0.55;
	cursor: pointer;
}

.checkbox.js-disabled.is-consent-invalid span::before {
	border-color: #b91c1c;
	box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.15);
}

form .vp-consent-error {
	display: block;
	grid-column: 1 / -1;
	flex-basis: 100%;
	margin: 4px 0 0;
	padding: 8px 12px;
	border-left: 3px solid #b91c1c;
	border-radius: 4px;
	background: #fef2f2;
	color: #991b1b;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	text-transform: none;
}

form .vp-consent-error[hidden] {
	display: none;
}
