.checkbox_switch {
	padding-top: 16px;
}

.customize-control-checkbox label {
	margin-left: 0;
	padding-top: 0;
	padding-bottom: 0;
	line-height: 28px;
}

.onoffswitch_label {
	display: inline-block;
	vertical-align: top;
	margin-top: 3px;
	width: 200px;
}

.onoffswitch {
	position: relative;
	width: 40px;
	display: inline-block;
	float: right;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select: none;
}

.onoffswitch-checkbox {
	display: none!important;
}

.onoffswitch-label {
	display: block;
	overflow: hidden;
	cursor: pointer;
	height: 18px;
	padding: 0;
	line-height: 18px;
	border: 2px solid #9e9e9e;
	border-radius: 18px;
	background-color: #9e9e9e;
	transition: background-color 0.2s ease-in;
}

.onoffswitch-label:before {
	content: "";
	display: block;
	width: 18px;
	margin: 0;
	background: #f0f0f1;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 20px;
	border: 2px solid #9e9e9e;
	border-radius: 18px;
	transition: all 0.2s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label {
	background-color: var(--wp-admin-theme-color);
}

.onoffswitch-checkbox:checked + .onoffswitch-label,
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
	border-color: var(--wp-admin-theme-color);
}

.onoffswitch-checkbox:checked + .onoffswitch-label:before {
	right: 0;
}