/**
 * ------------------------------
 * Toggle switch
 * ------------------------------
 */
.switch-control.is-small label {
	width: 40px;
	height: 24px;
}

.switch-control label {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.switch-control input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The switcher */
.switch-control .switch {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
}

.switch-control.is-small .switch::before {
	height: 16px;
	width: 16px;
}

.switch-control .switch::before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.4s;
}

.switch-control input:checked + .switch {
	background-color: #2196f3;
}

.switch-control input:focus + .switch {
	box-shadow: 0 0 1px #2196f3;
}

.switch-control.is-small input:checked + .switch::before {
	transform: translateX(16px);
}

.switch-control input:checked + .switch::before {
	transform: translateX(26px);
}

/* Rounded switch */
.switch-control.is-small.is-rounded .switch {
	border-radius: 24px;
}
.switch-control.is-rounded .switch {
	border-radius: 34px;
}

.switch-control.is-rounded .switch::before {
	border-radius: 50%;
}
