/* Main Settings */ 
#erc {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;margin-bottom:20px;border:1px solid #003e7e;color:#343848;background-color: #FFFFFF;}
/* Grid */
#erc .erc_grid {display:grid;grid-template-columns:60% 40%;}

/* Error Message */
#erc #error {display:none;color:red;font-weight: 900;}
#erc .error {color:red;}

/* Input Side */
#erc .erc-inputs {padding:24px;}
#erc .erc-slideroutput:after, .range:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}
#erc .erc-slideroutput { text-align: center; }
#erc .erc-slideroutput .erc-sliderbuttonleft { position: relative; float: left; height: 30px; width: 10%; display: inline-block;text-align: left; }
#erc .erc-slideroutput .erc-sliderbuttonright {position: relative; float: right; height: 30px; width:10%; display: inline-block;text-align: right; }
#erc .erc-slideroutput .erc-slidercenter {margin: auto; width:40%; display: inline-block; text-align:center; outline: 0; }
#erc .erc-slidercenter input.output { width: 100%; text-align: center; }
#erc .slider-label {margin: 6px 0 6px 0;text-align: center;}
#erc .slider-sub-label {margin: 0 0 6px 0;text-align: center;color: #58595B;font-size: 12px;}


/* Circle Rules */
#erc .erc-down { height: 25px; width: 25px; position: absolute; left: 0; border-radius: 12.5px; border: 2px solid #343848; }
#erc .erc-down:after {
	content: "";
	width: 15px;
	position: absolute;
	height: 3px;
	background-color: #343848;
	top: 50%;
	margin-top: -1.5px;
	left: 50%; 
	margin-left: -7.5px;
}
#erc .erc-up { height: 25px; width: 25px; position: absolute; right: 0;border-radius: 12.5px; border: 2px solid #343848; }

#erc .erc-up:after {
	content: "";
	width: 15px;
	position: absolute;
	height: 3px;
	background-color: #343848;
	top: 50%;
	left: 50%; 
	margin-top: -1.5px;
	margin-left: -7.5px;
}
#erc .erc-up:before {
	content: "";
	width: 3px;
	position: absolute;
	height: 15px;
	background-color: #343848;
	top: 50%;
	left: 50%;
	margin-top: -7.5px;
	margin-left: -1.5px;
}

#erc .erc-up:hover, #erc .erc-down:hover { background-color: #e6e6e6; cursor: pointer; }
#erc .erc-control {touch-action: none;}

/* Slider Values */
#erc .output-values {line-height: 25px; font-size:25px;color: #666666;text-align: center;}
#erc .output-values output {color: #343848;}
#erc .output-pad	{ padding: 0 25px; line-height: 25px; min-height: 25px; position: relative; text-align: center;}

/* Range Sliders */
#erc .erc, #erc .erc__fill {background: #e6e6e6;display: block;height: 8px;border-radius: 8px;box-sizing: border-box;}

#erc .erc {position: relative;height: 8px;width: 100%;margin:8px 0 4px 0;}

#erc .erc--disabled {filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity: 0.4;}

#erc .erc__fill {height: 8px;width: 100%;background: #343848;position: absolute;top: 0;border-radius: 8px 0 0 8px;}

#erc .erc__handle {
	background: #343848;
	cursor: pointer;
	display: inline-block;
	width: 16px;
	height: 16px;
	position: absolute;
	top: -4px;
	border-radius: 50%;
}
#erc .erc-slider-principal {margin-bottom: 24px;}

/* Output Side*/
#erc .erc-outputs {background-color: #a7a9ac;padding:24px;color:#343848!important;font-weight: 400;font-size: 16px;text-align: center;margin: 0;}
#erc .erc-outputs .total {font-size: 24px;margin: 6px 0;font-weight: 900}
#erc .erc-outputs .inputlabel {margin-top: 12px;}
#erc .erc-outputs input[type=text] {width:100%;border: 1px solid #0e5e9b;padding: 6px;box-sizing: border-box;color: #2C3E50;font-size: 16px;outline: none;}
#erc .erc-outputs .submit {font-family: inherit;font-size: inherit;height:auto;width: 100%;box-sizing: border-box;line-height:normal;margin: 2px 0 3px 0;padding: 6px;background: #003e7e;color:#FFF;text-align: center;cursor: pointer;border:none;}

/* Small Screens */
@media only screen and (max-width:600px) {
	#erc .erc_grid{display:block;}
	#erc .output-values {font-size:14px;}
}