*,
*:before,
*:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.constructo-calculator {
	position: relative;
	width: 100%;
	margin: 100px auto;
	padding: 0 0 0 30px;
	background-color: #fff;
	border: 1px solid #d7d7d7;
	z-index: 0;
}
.constructo-calculator .gravel-button,
.constructo-calculator .dugout-button {
	position: absolute;
	padding: 17px 0;
	top: -66px;
	width: 190px;
	font-size: 15px;
	text-transform: uppercase;
	color: #fff;
	border: 10px solid#fff;
	outline: 1px solid #d7d7d7;
}
.constructo-calculator .gravel-button {
	left: 31px;
	background-color: #61615f;
	z-index: -1;
}
.constructo-calculator .dugout-button {
	left: 240px;
	background-color: #ef9d2f;
	z-index: 1;
}
.rangeslider-wrapper {
	position: relative;
	margin: 0;
	width: 100%;
}
label {
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 18px;
	font-weight: 500;
	color: #727272;
	text-transform: uppercase;
}
label span {
	margin-left: 5px;
	font-size: 18px;
	font-weight: 300;
	color: #ccc;
	text-transform: none;
}
label:before {
	content: "";
	position: absolute;
	display: block;
	top: -13px;
	left: -20px;
	width: 4px;
	height: 50px;
	background-color: #ef9d2f;
}
.range {
	position: relative;
	margin: 0 auto;
	left: 29px;
	padding: 0;
	width: 36%;
}
.label {
	position: relative;
	top: -10px;
	margin-left: -40px;
	width: 80px;
}
.label .value {
	position: absolute;
	top: 8px;
	left: 0;
	right: 0;
	margin: 0 auto;
	text-align: center;
	font-size: 16px;
	font-weight: 300;
	color: #fff;
	z-index: 1;
}
.label .drop {
	margin: 10px 0 0 16px;
	width: 48px;
	height: 38px;
	background: #ef9d2f;
}
.label .drop:before {
	content: "";
	display: block;
	position: absolute;
	margin: auto;
	top: -9px;
	left: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 10px 10px 10px;
	border-color: transparent transparent #ef9d2f transparent;
}
.input-box {
	position: relative;
	margin: 0 -12.5px;
	height: 60px;
}
.input-box input[type="range"] {
	display: block;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 60px;
}
.input-box .bar {
	position: absolute;
	bottom: 25px;
	left: 0;
	margin: 0;
	height: 10px;
	background: #ef9d2f;
	border-radius: 10px;
	z-index: 0;
}
.feet, .inches {
	position: absolute;
	top: 17px;
	right: 20px;
	font-size: 18px;
	font-weight: 300;
	color: #ccc;
}
.inches {
	right: 0;
}
.gravel-calculator {
	display: none;
	padding: 45px 0;
	z-index: 1;
	background-color: #fff;
}
.gravel-calculator .range {
	position: relative;
    margin-left: 18%;
    padding: 0;
    width: 50%;
}
.gravel-calculator .heading-wrapper {
	position: relative;
}
.gravel-calculator-output {
	position: absolute;
	top: 0;
	right: 10%;
	font-weight: 300;
	text-align: center;
	color: #ef9d2f;
}
.cubic-yards {
	margin: 0 0 10px 0;
	font-size: 48px;
	line-height: 48px;
}
.title {
	display: block;
	font-size: 16px;
}
.about-calculation {
	margin: 65px 0 25px;
	padding-right: 40px;
	font-size: 16px;
}
.material {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}
.dugout-calculator {
	padding-top: 45px;
	background: #fff;
	z-index: 1;
}
.results-table {
	margin: 0 auto 50px;
	padding: 0;
	width: 80%;
}
.results-table li {
	display: inline-block;
	width: 12%;
	margin: 0 10px;
	text-align: center;
}
.result {
	margin: 10px auto 0;
	font-size: 32px;
	font-weight: 300;
	letter-spacing: 2px;
	color: #ef9d2f;
}
.result-name {
	font-size: 16px;
	color: #61615f;
}
.heading-wrapper {
	margin: 20px 0;
}
.ruler-wrapper {
	display: inline-block;
	padding: 12px 0;
	width: 50px;
	height: 50px;
	background-color: #767575;
	border-radius: 50%;
}
.ruler {
	display: block;
	margin: 0 auto;
}
.heading-wrapper h4 {
	display: inline-block;
	margin: 0 0 0 15px;
	font-size: 18px;
	line-height: 18px;
	font-weight: 500;
	color: #727272;
	vertical-align: 18px;
	text-transform: uppercase;
}

input[type="number"] {
	position: absolute;
	padding: 10px;
	width: 100px;
	height: 50px;
	top: 5px;
	right: -130px;
	font-size: 18px;
	font-weight: 300;
	text-align: center;
	border: 1px solid #ccc;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance:textfield;
}
input[type="range"] {
	-webkit-appearance: none;
	margin: 12.5px 0;
	width: 100%;
}
input[type="range"]:focus {
	outline: none;
}
input[type="range"]::-webkit-slider-runnable-track {
	height: 10px;
	cursor: pointer;
	transition: all 0.2s ease;
	background: #ccc;
	border-radius: 10px;
}
input[type="range"]::-webkit-slider-thumb {
	position: relative;
	margin-top: -9px;
	height: 28px;
	width: 28px;
	border: 1px solid #ccc;
	border-radius: 50%;
	background: radial-gradient(circle, #ef9d2f 5px, #fff 6px);
	cursor: pointer;
	z-index: 1;
	-webkit-appearance: none;
}
input[type="range"]:focus::-webkit-slider-runnable-track {
	background: #ccc;
}
input[type=range]::-webkit-fill-lower {
	background: #ef9d2f;
	border: 0px solid #000;
	border-radius: 10px;
}
input[type="range"]::-webkit-fill-upper {
	background: #ccc;
	border: 0px solid #000;
	border-radius: 10px;
}
input[type="range"]::-moz-range-track {
	height: 10px;
	cursor: pointer;
	transition: all 0.2s ease;
	background: #ccc;
	border-radius: 10px;
	z-index: 0;
}
input[type="range"]::-moz-range-thumb {
	position: relative;
	height: 27px;
	width: 27px;
	border: 1px solid #ccc;
	border-radius: 50%;
	background: radial-gradient(circle, #ef9d2f 6px, #fff 7px);
	cursor: pointer;
	z-index: 10;
}
input[type="range"]::-ms-track {
	width: 100%;
	height: 10px;
	cursor: pointer;
	transition: all 0.2s ease;
	background: transparent;
	border-color: transparent;
	border-width: 25px 0;
	color: transparent;
}
input[type="range"]::-ms-fill-lower {
	background: #ef9d2f;
	border: 0px solid #000;
	border-radius: 10px;
}
input[type="range"]::-ms-fill-upper {
	background: #ccc;
	border: 0px solid #000;
	border-radius: 10px;
}
input[type="range"]::-ms-thumb {
	position: relative;
	height: 28px;
	width: 28px;
	border: 1px solid #ccc;
	border-radius: 50%;
	background: radial-gradient(circle, #ef9d2f 6px, #fff 7px);
	cursor: pointer;
	z-index: 1;
}
input[type="range"]:focus::-ms-fill-lower {
	background: #ccc;
}
input[type="range"]:focus::-ms-fill-upper {
	background: #ccc;
}

@media only screen and (min-width : 991px) and (max-width : 1199px) {
	.gravel-calculator .range {
		margin-left: 19%;
		width: 55%;
	}
	.range {
		width: 48%;
	}
	.feet {
		right: 25px;
	}
	.gravel-calculator .feet {
		right: 27px
	}
	.gravel-calculator .inches {
		right: 3px
	}

}
@media only screen and (min-width : 768px) and (max-width : 991px) {
	.gravel-calculator .range {
		width: 47%;
	}
	.range {
		width: 31%;
	}
	.feet {
		right: 25px;
	}
	.gravel-calculator .feet {
		right: 26px
	}
	.gravel-calculator .inches {
		right: 3px
	}
	.results-table {
		margin-left: 55px;
	}
}
@media only screen and (max-width : 767px) {
	.gravel-calculator .range {
		margin-left: 11%;
		width: 49%;
	}
	.range {
		width: 35%;
	}
	.gravel-calculator .inches {
		right: 11px
	}
	.results-table {
		margin-left: 50px;
	}
	
}
@media only screen and (min-width : 621px) and (max-width : 745px) {
	label {
		position: relative;
	}    
	.range {
		margin: 20px 10%;
		width: 50%;
	}
	.feet, .inches {
		top: 64px;
		right: 15px;
	}
	.results-table {
		margin-left: 70px;
	}
	.results-table li {
		display: inline-block;
		width: 25%;
	}
	.result {
		margin: 10px auto -15px;
	}
}
@media only screen and (min-width : 513px) and (max-width : 620px) {
	label {
		position: relative;
	}
	.gravel-calculator .range {
		margin-left: 0;
		width: 49%;
	}    
	.range {
		margin: 20px 5%;
		width: 45%;
	}
	.feet, .inches {
		top: 64px;
		right: 15px;
	}
	.gravel-calculator-output {
		top: -27px;
	}
	.results-table {
		margin-left: 95px;
	}
	.results-table li {
		display: inline-block;
		width: 30%;
	}
	.result {
		margin: 10px auto -15px;
	}
}
@media only screen and (min-width : 426px) and (max-width : 512px) {
	
	.constructo-calculator .gravel-button,
	.constructo-calculator .dugout-button {
		width: 155px;
	}
	.constructo-calculator .dugout-button {
		left: 195px;
	}
	label {
		position: relative;
	}
	.gravel-calculator .range {
		margin-left: 0;
		width: 49%;
	} 
	.gravel-calculator input[type="number"] {
		position: relative;
		width: 80px;
		top: -98px;
		right: -205px;
	}	
	.range {
		margin: 20px 0;
		width: 40%;
	}
	.feet, .inches {
		top: 64px;
		right: 12px;
	}
	.gravel-calculator-output {
		top: -27px;
	}
	.results-table li {
		display: block;
		margin-left: -20px;
		width: 100%;
	}
	.result {
		margin: 10px auto -15px;
	}

}
@media only screen and (min-width : 376px) and (max-width : 425px) {
	.constructo-calculator .gravel-button,
	.constructo-calculator .dugout-button {
		width: 135px;
	}
	.constructo-calculator .dugout-button {
		left: 178px;
	}
	label {
		position: relative;
	}
	.gravel-calculator input[type="number"] {
		position: relative;
		width: 80px;
		top: -98px;
		right: -80px;
	}	
	.range {
		margin: 20px 0;
		width: 65%;
	}
	.feet {
		top: 63px;
		right: 12px;
	}
	input[type="number"] {
		position: relative;
		width: 75px;
		top: -98px;
		right: -220px;
	}
	.gravel-calculator-output {
		top: -27px;
	}
	.results-table li {
		display: block;
		margin-left: -25px;
		width: 100%;
	}
	.result {
		margin: 10px auto -15px;
	}

}
@media only screen and (min-width : 365px) and (max-width : 375px) {
	
	.constructo-calculator .gravel-button,
	.constructo-calculator .dugout-button {
		width: 135px;
	}
	.constructo-calculator .dugout-button {
		left: 178px;
	}
	label {
		position: relative;
	}  
	.gravel-calculator input[type="number"] {
		position: relative;
		width: 80px;
		top: -98px;
		right: -80px;
	}
	.range {
		margin: 20px 0 50px;
		width: 65%;
	}
	.feet {
		top: 63px;
		right: 12px;
	}
	input[type="number"] {
		position: relative;
		width: 80px;
		top: 40px;
		right: -148px;
	}
	.gravel-calculator-output {
		top: -35px;
	}
	.results-table {
		width: 100%;
	}
	.results-table li {
		display: block;
		margin-left: -65px;
		width: 100%;
	}
	.result {
		margin: 10px auto -15px;
	}

}
@media only screen and (min-width : 320px) and (max-width : 364px) {
	.constructo-calculator .gravel-button,
	.constructo-calculator .dugout-button {
		width: 120px;
	}
	.constructo-calculator .dugout-button {
		left: 140px;
	}
	label {
		position: relative;
	}
	.gravel-calculator input[type="number"] {
		position: relative;
		width: 80px;
		top: -98px;
		right: -80px;
	}
	.range {
		margin: 20px 0 50px;
		width: 65%;
	}
	.feet {
		top: 63px;
		right: 12px;
	}
	input[type="number"] {
		position: relative;
		width: 80px;
		top: 40px;
		right: -148px;
	}
	.gravel-calculator-output {
		top: -35px;
	}
	.results-table li {
		display: block;
		margin-left: -35px;
		width: 100%;
	}
	.result {
		margin: 10px auto -15px;
	}

}
