.elementor-control-type-switcher {

	.elementor-control-input-wrapper {
		text-align: end;
	}

	.elementor-switch {
		position: relative;
		display: inline-block;
		vertical-align: top;
		height: 20px;
		background-color: var(--e-a-bg-default);
		border-radius: 18px;
		cursor: pointer;
	}

	.elementor-switch-input {
		display: none;
	}

	.elementor-switch-label {
		position: relative;
		display: block;
		height: inherit;
		font-size: 10px;
		background: var(--e-a-bg-active-bold);
		border-radius: inherit;
		transition: 0.15s ease-out;
		transition-property: opacity, background;
	}

	.elementor-switch-label {

		&:before,
		&:after {
			position: absolute;
			top: 0;
			width: 50%;
			text-align: center;
			line-height: 20px;
			transition: inherit;
		}

		&:before {
			content: attr(data-off);
			right: 5px;
			color: var(--e-a-color-txt-muted);
		}

		&:after {
			content: attr(data-on);
			left: 5px;
			color: var(--e-a-btn-color);
			opacity: 0;
		}
	}

	.elementor-switch-input:checked ~ .elementor-switch-label {
		background: var(--e-a-btn-bg-primary);

		&:before {
			opacity: 0;
		}

		&:after {
			opacity: 1;
		}
	}

	.elementor-switch-handle {
		position: absolute;
		top: 1px;
		left: 1px;
		width: 18px;
		height: 18px;
		background: white;
		border-radius: 10px;
		transition: left 0.15s ease-out;
	}

	.elementor-switch-input:checked ~ .elementor-switch-handle {
		left: initial;
		right: 1px;
	}
}
