.switch {
	font-size: 17px;
	position: relative;
	display: inline-block;
	width: 3.0em;
	height: 1.4em;
}

.switch {
	/*transform: scale(0.8) translateY(4px);*/
}

.switch input {
	display: none;
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #313033;
	transition: .2s;
	border-radius: 30px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 1.0em;
	width: 1.0em;
	border-radius: 20px;
	left: 0.3em;
	bottom: 0.2em;
	background-color: #aeaaae;
	transition: .4s;
}

input:checked + .slider::before {
	background-color: #FFF;
}

input:checked + .slider {
	background-color: var(--primary);
}

input:checked + .slider:before {
	transform: translateX(1.5em);
}





.radio{
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
}

.radio input[type="radio"]{
	display: none;
}

.radio input[type="radio"] + label{
	display: flex;
	align-items: center;
	gap: 16px;
	border: 2px solid;
	border-radius: 5px;
	cursor: pointer;
	padding: 4px 24px;
	height: 100%;
	font-size: 17px;
	font-weight: bold;
}

.radio input[type="radio"]:checked + label{
	color: var(--primary);
	position: relative;
}

.radio input[type="radio"] + label::before{
	content: '';
	height: 16px;
	width: 16px;
	border: 1px solid;
	border-radius: 200px;
	box-sizing: border-box;
}

.radio input[type="radio"]:checked + label::before{
	border: 5px solid;
}

.radio:hover input ~ .checkmark{
	background-color: #ccc;
}

.radio input:checked ~ .checkmark{
	background-color: #2196F3;
}

.radio .disabled{
	background-color: grey;
}



@media only screen and (max-width: 600px){
	.radio{
		gap: 8px;
	}
}




.toggle {
	--width: 70px;
	--height: 30px;

	position: relative;
	display: inline-block;
	width: var(--width);
	height: var(--height);
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	border-radius: var(--height);
	cursor: pointer;
}

.toggle input {
	display: none;
}

.toggle span.slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: var(--height);
	transition: all 0.4s ease-in-out;
	background-color: var(--primary);
}

.toggle span.slider::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: calc(var(--height));
	height: calc(var(--height));
	border-radius: calc(var(--height) / 2);
	background-color: #fff;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	transition: all 0.4s ease-in-out;
	background-color: ;
}

.toggle input:checked+.slider::before {
	transform: translateX(calc(var(--width) - var(--height)));
}

.toggle .labels {
	position: absolute;
	top: 8px;
	left: 0;
	width: 100%;
	height: 100%;
	color: #ffffff;
	font-size: 12px;
	font-family: sans-serif;
	font-weight: bold;
	transition: all 0.4s ease-in-out;
}

.toggle .labels::after {
	content: attr(data-off);
	position: absolute;
	top: -4px;
	right: 10px;
	opacity: 1;
	transition: all 0.4s ease-in-out;
}

.toggle .labels::before {
	content: attr(data-on);
	position: absolute;
	top: -4px;
	left: 10px;
	opacity: 0;
	transition: all 0.4s ease-in-out;
}

.toggle input:checked~.labels::after {
	opacity: 0;
}

.toggle input:checked~.labels::before {
	opacity: 1;
}