/* ==========================================================================
   RANGE
   ========================================================================== */
.range-slider {
    width: 100%;
}

.range-slider__range,
.customize-control input.range-slider__range {
    -webkit-appearance: none;
    width: calc(100% - (70px));
    height: 4px;
    border-radius: 2px;
    background: #d7dcdf;
    outline: none;
    padding: 0;
    margin: 0;
}

.range-slider__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #008ec2;
    cursor: move;
    -webkit-transition: background .15s ease-in-out;
    transition: background .15s ease-in-out;
}

.range-slider__range::-webkit-slider-thumb:hover {
    background: #008ec2;
}

.range-slider__range:active::-webkit-slider-thumb {
    background: #008ec2;
}

.range-slider__range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 0;
    border-radius: 50%;
    background: #008ec2;
    cursor: move;
    -webkit-transition: background .15s ease-in-out;
    transition: background .15s ease-in-out;
}

.range-slider__range::-moz-range-thumb:hover {
    background: #008ec2;
}

.range-slider__range:active::-moz-range-thumb {
    background: #008ec2;
}

.range-slider__value,
.customize-control input.range-slider__value {
    display: inline-block;
    position: relative;
    width: 50px;
    color: #222;
    text-align: center;
    border-radius: 4px;
    background: #ffffff;
    padding: 5px 0px;
    margin-left: 8px;
    border: 1px solid #ddd;
}

::-moz-range-track {
    background: #d7dcdf;
    border: 0;
}

input::-moz-focus-inner, input::-moz-focus-outer {
    border: 0;
}

/* ==========================================================================
   Toggle Switch
   ========================================================================== */
.toggle-switch-control .customize-control-title {
	display: inline-block;
}

.toggle-switch {
	position: relative;
	width: 50px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	float: right;
}

.toggle-switch .toggle-switch-checkbox {
	display: none;
}

.toggle-switch .toggle-switch-label {
	display: block;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 20px;
	padding: 0;
	margin: 0;
}

.toggle-switch-inner {
	display: block;
	width: 200%;
	margin-left: -100%;
	transition: margin 0.3s ease 0s;
}

.toggle-switch-inner:before,
.toggle-switch-inner:after {
	display: block;
	float: left;
	width: 50%;
	height: 22px;
	padding: 0;
	line-height: 22px;
	font-size: 14px;
	color: white;
	box-sizing: border-box;
}

.toggle-switch-inner:before {
	content: '';
	padding-left: 8px;
	background-color: #2885bb;
	color: #FFFFFF;
}

.toggle-switch-inner:after {
	content: '';
	padding-right: 8px;
	background-color: #c3c3c3;
	color: #999999;
	text-align: right;
}

.toggle-switch-switch {
	display: block;
	width: 16px;
	margin: 3px;
	background-color: #FFFFFF;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 24px;
	border: 2px solid #FFFFFF;
	border-radius: 20px;
	transition: all 0.3s ease 0s;
}

.toggle-switch-checkbox:checked + .toggle-switch-label .toggle-switch-inner {
	margin-left: 0;
}

.toggle-switch-checkbox:checked + .toggle-switch-label .toggle-switch-switch {
	right: 0px;
}
