/* main styles */
.custom-body .switch {
	position: relative;
}
.custom-body .switch input {
    position: absolute;
    top: 0;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
}

.custom-body .switch input:checked {
    z-index: 1;
}

.custom-body .switch input:checked+label {
    opacity: 1;
    cursor: default;
}

.custom-body .switch input:not(:checked)+label:hover {
    opacity: 0.5;
}

.custom-body .switch label {
    opacity: 0.33;
    transition: opacity 0.25s ease;
    cursor: pointer;
}

.custom-body .switch .toggle-outside {
	height: 100%;
	border-radius: 2rem;
	padding: 0.25rem;
	overflow: hidden;
	transition: 0.25s ease all;
}

.custom-body .switch .toggle-inside {
	border-radius: 5rem;
	background: #4a4a4a;
	position: absolute;
	transition: 0.25s ease all;
}

.custom-body .switch--horizontal {
	font-size: 0;
}

.custom-body .switch--horizontal input {
	margin: 0;
}

.custom-body .switch--horizontal label {
	font-size: 14px;
	line-height: 1.5rem;
	display: inline-block;
	/* width: 6rem; */
	height: 100%;
	margin: 0;
	text-align: center;
}

.custom-body .switch--horizontal label:last-of-type {
    margin-left: 3.9rem;
}

.custom-body .switch--horizontal .toggle-outside {
	background: rgb(238,238,238);
	position: absolute;
	width: 3rem;
	left: 2.5rem;
}

.custom-body .switch--horizontal .toggle-inside {
	height: 1rem;
	width: 1rem;
}

.custom-body .switch--horizontal input:checked ~ .toggle-outside .toggle-inside {
	left: 0.25rem;
	background: #377dff;
}

.custom-body .switch--horizontal input~input:checked~.toggle-outside .toggle-inside {
    left: 1.75rem;
    background-color: #FF5CF5;
}

.custom-body .switch--vertical {
    width: 12rem;
    height: 6rem;
}

.custom-body .switch--vertical input {
    height: 100%;
    width: 3rem;
    right: 0;
    margin: 0;
}

.custom-body .switch--vertical label {
    font-size: 1.5rem;
    line-height: 3rem;
    display: block;
    width: 8rem;
    height: 50%;
    margin: 0;
    text-align: center;
}

.custom-body .switch--vertical .toggle-outside {
    background: #fff;
    position: absolute;
    width: 3rem;
    height: 100%;
    right: 0;
    top: 0;
}

.custom-body .switch--vertical .toggle-inside {
    height: 1rem;
    left: 0.25rem;
    top: 0.25rem;
    width: 1rem;
}

.custom-body .switch--vertical input:checked~.toggle-outside .toggle-inside {
    top: 0.25rem;
}

.custom-body .switch--no-label label {
    width: 0;
    height: 0;
    visibility: hidden;
    overflow: hidden;
}

.custom-body .switch--no-label input:checked~.toggle-outside .toggle-inside {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.custom-body .switch--no-label input~input:checked~.toggle-outside {
    background: #fff;
}

.custom-body .switch--no-label input~input:checked~.toggle-outside .toggle-inside {
    background: #00c9a7;
}

.custom-body .switch--no-label.switch--vertical {
    width: 3rem;
}

.custom-body .switch--no-label.switch--horizontal {
    width: 6rem;
}

.custom-body .switch--no-label.switch--horizontal input,
.custom-body .switch--no-label.switch--horizontal .toggle-outside {
    left: 0;
}

.custom-body .switch--expanding-inner input:checked+label:hover~.toggle-outside .toggle-inside {
    height: 1rem;
    width: 1rem;
}

.custom-body .switch--expanding-inner.switch--vertical input:hover~.toggle-outside .toggle-inside {
    height: 3.5rem;
}

.custom-body .switch--expanding-inner.switch--vertical input:hover~input:checked~.toggle-outside .toggle-inside {
    top: 2.25rem;
}
