#calculator-wrap {
	/* margin: 0px !important;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 14px;
		margin-top: 30px !important;
		margin-left: -4px !important;
	margin-bottom: 20px; */
	margin-bottom: 10px;
}

#calculator-wrap .hide {
	display: none;
}

.calculator-main select:hover,
.calculator-main input[type='radio']:hover,
.calculator-main label:hover {
	cursor: pointer;
}

.calculator-main label[for='']:hover {
	cursor: default;
}

.calculator-main {	
	padding: 25px;	
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.46);
	/* behavior: url(http://localhost/calculator/calculator/calculator2/css/PIE.htc); */
}

#calculator-wrap .calculator-main form {
	background: none;
	padding: 0px;
	margin-bottom: 0px;
	border-radius: 0px;
	width: auto;
	height: auto;
}

.desk-type-box label {
	display: block;
	margin-bottom: 12px;
	
}

.desk-type-box p {
	font-weight: bold;
}

.desk-type-box select {
	/* width: 325px; */
	width: 195px;
}

.desk-metric-box {
	margin-top: 25px;
}

.desk-metric-box label:first-child {
	display: block;
	margin-bottom: 12px;
}

.desk-metric-box label{
	display: block;
	margin-bottom: 12px;
}

.desk-metric-box input {
	vertical-align:top;
}

.desk-metric-box span {
	line-height: 18px;
}

.desk-area-box {
	margin-top: 25px;
}

.desk-area-box label:first-child {
	display: block;
	margin-bottom: 12px;
}

.desk-area-length {
	
}

.desk-area-width {
	
}

.desk-area input[type='text'],
.desk-area-length input[type='text'],
.desk-area-width  input[type='text'],
.desk-area-side   input[type='text'],
.desk-result-area input[type='text']
{
	width: 35px;
	height: 25px;
	text-align: center;
}

.desk-area-length span,
.desk-area-width span
.desk-area span
{
	display: inline-block;
	/* width: 120px; */
    padding-right: 5px;
}

.desk-area-box .slide {
	margin-top: 30px;
	border-radius: 0px;
	/* margin-left: 12px; */
	position: relative;
    z-index: 2;
}

.desk-area,
.desk-area-length,
.desk-area-width,
.desk-area-side
{
	margin-top: 25px;
}

.desk-area-side input {
	vertical-align:top;
}

.desk-area-side label:first-child input {
	vertical-align:baseline;
}

.desk-area-side span {
	line-height: 18px;
}

.desk-result-area {
	margin-top: 25px;
}

.desk-area-side label:first-child span {
	display: inline-block;
	width: 240px;
}

.desk-result-area label:first-child span {
	display: inline-block;
	width: 240px;
}

.desk-stitch-box {
	margin-top: 30px;
}

.desk-stitch-box label:first-child {
	display: block;
	margin-bottom: 12px;
}

.desk-component-box {
	margin-top: 25px;
}

.desk-component-box input {
	vertical-align: top;
}


.desk-component-box span {
	line-height: 18px;
}

.desk-submit-box, .desk-recalculation-box {
	margin-top: 25px;
	text-align: center;
}

.desk-submit-box button, .desk-recalculation-box button, .send-calculation-button {
	display: inline-block;
	padding: 4px 8px;
	cursor: pointer;
	background-color: rgb(0, 136, 204);
	background-image: none;
	border-bottom-color: rgb(0, 136, 204);
	border-radius: 4px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-left-color: rgb(0, 136, 204);
	border-left-style: solid;
	border-left-width: 1px;
	border-right-color: rgb(0, 136, 204);
	border-right-style: solid;
	border-right-width: 1px;
	border-top-color: rgb(0, 136, 204);
	border-top-style: solid;
	border-top-width: 1px;
	box-sizing: border-box;
	color: rgb(255, 255, 255);
	display: inline-block;
	font-size: 14px;
	height: 34px;
	line-height: 20px;
	margin-bottom: 5px;
	margin-left: 0px;
	margin-right: 5px;
	margin-top: 5px;
	padding-bottom: 6px;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 6px;
	text-align: center;
	text-shadow: rgba(0, 0, 0, 0.247059) 0px -1px 0px;
	vertical-align: middle;
	border-color: #285e8e;
	outline: none;
	
	/* behavior: url(http://localhost/calculator/calculator/calculator2/css/PIE.htc); */
}

.desk-submit-box button:hover, .desk-recalculation-box button:hover, .send-calculation-button:hover {
	background-color: rgba(0, 136, 204, 0.90);
}

.calculation-result-box {
	margin-top: 25px;
	padding-top: 10px;
}

.calculation-result-box .table {
	width: 100%;
}

/* Slider */

#calculator-wrap .ui-slider .ui-slider-handle
{
    cursor: pointer;
}

#calculator-wrap .ui-slider-handle:focus {
	outline: none;
}

#calculator-wrap .ui-slider-range, .ui-slider-handle {
	background: #0088cc;
}


#calculator-wrap .ui-slider.ui-widget-content {
	background: #ebebeb;
	border: none;
}

#calculator-wrap .ui-slider-horizontal {
	height: 6px;
}

#calculator-wrap .ui-slider-horizontal .ui-slider-handle {
	top: -7px;
}

#calculator-wrap .ui-slider-vertical {
	display: inline-block;
	width: 6px;
}

#calculator-wrap .ui-slider-vertical .ui-slider-handle {
	left: -7px;
}

#calculator-wrap .ui-slider .ui-slider-handle {
	/* background: #d9d9d9; */
	border: 6px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.4);
	cursor: pointer;
	height: 20px;
	width: 20px;
	box-sizing: border-box;
	background: #0088cc;
	
	/* behavior: url(http://localhost/calculator/calculator/calculator2/css/PIE.htc); */
}

#calculator-wrap .ui-slider .ui-slider-handle:hover {
	box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.3);
	
	/* behavior: url(http://localhost/calculator/calculator/calculator2/css/PIE.htc); */
}



/* Table */

.table {
	border-collapse: collapse !important;
}
.table td,
.table th {
	background-color: #fff !important;
	color: #000 !important;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
	padding: 8px;
	line-height: 1.42857143;
	vertical-align: top;
	border-top: 1px solid #ddd;
}
.table > thead > tr > th {
	vertical-align: bottom;
	border-bottom: 2px solid #ddd;
}
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
	border-top: 0;
}
.table > tbody + tbody {
	border-top: 2px solid #ddd;
}

.table-bordered th,
.table-bordered td {
	/* border: 1px solid #ddd !important; */
}


.table-bordered {
	border: 1px solid #ddd;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
	border: 1px solid #ddd;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
	border-bottom-width: 2px;
}


.table > thead > tr td:first-child,
.table > tbody > tr td:first-child
{
	width: 80px !important;
}

#calculator-wrap .area_metric {
	font-size: 14px;
}

#calculator-wrap #area_size {
	width: 30px;
}

.scale-divisions {
	position: relative;
}

.scale-divisions div {
	position: absolute;
	font-size: 11px;
	color: #333;
	top: 14px;
}

.scale-divisions-start {
	left: 0;
}

.scale-divisions-center {
	margin-left: auto;
	left: 50%;
    /* margin-left: -44px; */
    margin-left: -9px;
}

.scale-divisions-end {
	right: -3px;
}

.desk-color-box {
	margin-top: 10px;
}

.desk-color-box label{
	display: block;
	margin-bottom: 4px;
}

.desk-color-box label:first-child {
	display: block;
	margin-bottom: 12px;
}


.desk-subsystem-box {
	margin-top: 35px;
}

.desk-subsystem-box input {
	vertical-align: top;
}


.desk-subsystem-box span {
	line-height: 18px;
}


.desk-recalculation-box {
	margin-top: 20px;
	display: none;
	position: relative;
}

.recalculation-to {
	font-weight: bold;
}

.desk-recalculation-box button {
	width: 150px;
}

.desk-recalculation-box sup {
	position: absolute;
	margin-top: -5px;
	margin-left: 2px;
}

.clac-title {
	margin-top: 0px;
	font-size: 13px;
}

.desk-send-box {
	margin-top: 25px;
	border-top: 1px solid #ddd;
	padding-top: 20px;
}

.desk-send-box label {
	margin-bottom: 10px;
	display: block;
}

#calculator-wrap .calculator-main .desk-send-box input {
	/* padding-top: 10px; */
	margin-top: 5px;
	height: 28px;
	text-indent: 5px;
	width: 190px !important;
	outline: none;
	border: 1px solid #afafaf;
}

.send-calculation-button {
 	margin: 0 auto;
	display: block;
	margin-top: 15px;
}

.require-input {
	color: #FF4136;
	font-weight: bold;
}

.desk-send-box {
	display: none;
}

#desk-send-message p {
	font-size: 12px;
	margin: 5px 0px;
}

#desk-send-message.error {
	background: rgba(250, 211, 196, 0.3);
	border: 1px solid #A75B4E;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	color: #444444;
	display: none;
	font-size: 13px;
	margin: 0px 0px 15px 0px;
	padding: 8px 8px;
}

#desk-send-message.success {
	background: rgba(203, 255, 189, 0.3);
	border: 1px solid #4EA785;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	color: #444444;
	display: none;
	font-size: 13px;
	margin: 0px 0px 15px 0px;
	padding: 8px 8px;
}

#desk-send-message p span.field-name {
	font-weight: bold;
}

.desk-send-box input.has-error {
	border: 1px solid #a94442;
	outline: none;
}

.recomment-price p {
	font-size: 11px;
	color: rgb(145, 145, 145);
	text-align: center;
}
label {
	font-weight: normal !important;
}
@media (max-width: 768px) {
	div#slider-area {
		display:none !important;
	}
	
	.scale-divisions div {
		font-size: 14px;
		top: 20px;
	}
	
	.clac-title {
		font-size: 18px;
	}
	
	.desk-subsystem-box {
		margin-top: 15px;
	}
	
}