.hidden {
	display: none !important;
}

.checkbox21 {
	color: var(--checkbox21-label-color);
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	grid-gap: 0.2rem;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

	.checkbox21:disabled {
		color: var(--checkbox21-disabled);
		cursor: not-allowed;
	}

	/*.checkbox21 span {
		cursor: not-allowed;
	}*/

	.checkbox21.disabled {
		color: var(--checkbox21-disabled);
		cursor: not-allowed;
	}

	.checkbox21.no_label {
		grid-gap: 0;
	}

input[type="checkbox"] {
	position: relative;
	-webkit-appearance: none;
	appearance: none;
	background-color: transparent; /*var(--form-background);*/
	margin: 0;
	font: inherit;
	color: var(--checkbox21-label-color);
	width: 1.2rem;
	min-width: 1.2rem;
	height: 1.2rem;
	border: 2px solid var(--checkbox21-color);
	border-radius: 0.15rem;
	display: grid;
	place-content: center;
	cursor: pointer;
}

	input[type="checkbox"]::before {
		content: "";
		width: 0.85rem;
		min-width: 0.85rem;
		height: 0.75rem;
		clip-path: polygon(10% 50%, 0 65%, 50% 100%, 100% 16%, 85% 6%, 43% 70%);
		transform: scale(0);
		transform-origin: center;
		transition: 60ms transform ease-in-out;
		background-color: var(--checkbox21-color);
		cursor: pointer;
	}

	input[type="checkbox"]:checked::before {
		transform: scale(1);
	}

	/*input[type="checkbox"]:focus {
		outline: max(2px, 0.15em) solid currentColor;
		outline-offset: max(2px, 0.15em);
	}*/

	input[type="checkbox"]:disabled {
		--checkbox21-color: var(--checkbox21-disabled);
		color: var(--checkbox21-disabled);
		cursor: not-allowed;
	}

.checkbox21_label {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	text-align: left;
}

.radio21 {
	color: var(--radio21-color);
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	grid-gap: 0.2rem;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.radio21--disabled {
	color: var(--radio21-disabled);
	cursor: not-allowed;
}

input[type="radio"] {
	position: relative;
	top: 3px;
	-webkit-appearance: none;
	appearance: none;
	background-color: transparent; /*var(--form-background);*/
	margin: 0;
	font: inherit;
	color: var(--radio21-color);
	width: 1rem;
	min-width: 1rem;
	height: 1rem;
	border: 1px solid var(--radio21-color);
	border-radius: 50%;
	display: grid;
	place-content: center;
	cursor: pointer;
}

	input[type="radio"]::before {
		content: "";
		width: 1rem;
		min-width: 1rem;
		height: 1rem;
		border-radius: 50%;
		transform: scale(0);
		transform-origin: center;
		transition: 60ms transform ease-in-out;
		background-color: var(--radio21-color);
		cursor: pointer;
	}

	input[type="radio"]:checked::before {
		transform: scale(1);
	}

	/*input[type="radio"]:focus {
		outline: max(2px, 0.15em) solid currentColor;
		outline-offset: max(2px, 0.15em);
	}*/

	input[type="radio"]:disabled {
		--radio21-color: var(--radio21-disabled);
		color: var(--radio21-disabled);
		cursor: not-allowed;
	}

.radio21_label {
	display: block;
	margin-top: 2px;
}