.calc .tabs {
	display: flex;
	justify-content: center;
	height: 160px;
	background: linear-gradient(to top, rgba(100,100,100,0.3) 0%, rgba(250,250,250,0) 30%, rgba(0,0,0,0) 100%);
	border-bottom: 1px solid #ccc;
}
.calc .tab {
	display: flex;
	align-items: center;
	font-size: 18px;
	text-transform: uppercase;
	margin: 0 50px;
	position: relative;
}
.calc .tab.active::after {
	content: " ";
	display: block;
	position: absolute;
	width: 40px;
	height: 40px;
	border-top: 1px solid #ccc;
	bottom: -21px;
	background-color: #fff;
	transform: rotateZ(45deg);
	border-left: 1px solid #ccc;
	left: 50%;
	margin-left: -20px;
}
.calc .tab img {
	margin-right: 20px;
}
.calc .tab.active a {
	cursor: default;
	text-decoration: none;
	color: #000;
}
.calc .tab:not(.active) img {
	opacity: 0.5;
}

.calc-ol {
	margin: 0 0 40px 0;
	padding: 0;
	list-style: none;
	counter-reset: point;
}
.calc-ol > li {
	margin:0;
	padding: 30px 0;
	border-bottom: 1px solid #cccccc;
	list-style:none;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.calc-ol > li:last-child {
	border: none;
}
.calc-ol > li:before {
	content: counter(point, decimal);
	counter-increment: point 1;
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #374144;
	font-size: 30px;
	width: 40px;
	height: 40px;
	margin-right: 20px;
	box-sizing: border-box;
}
.calc-ol .calc-label {
	font-size: 20px;
	flex-shrink: 0;
	padding-right: 50px;
	box-sizing: border-box;
	max-width: 100%;
}
.calc-ol .calc-type {
	display: flex;
}
.calc-ol .calc-type > input[type=radio] {
	display: none;
}
.calc-ol .calc-type > label {
	cursor: pointer;
	background: #374144;
	padding: 10px 20px;
	font-size: 18px;
	color: #fff;
}
.calc-ol .calc-type.calc-weight > label {
	font-size: 16px;
}
.calc-ol .calc-type > input:first-child	+ label {
	border-radius: 10px 0px 0px 10px;
}
.calc-ol .calc-type > label:last-child {
	border-radius: 0px 10px 10px 0px;
}
.calc-ol .calc-type > label:hover {
	background: #454e57;
}
.calc-ol .calc-type > input[type=radio]:checked + label {
	cursor: default;
	background: #1a70b8;
}

.ui-slider {background:url(../img/calc-slider.png) left bottom repeat-x; }
#slider-range-min { height:25px; width:735px; position:relative; }
.calc-count { margin: 0 -15px; padding: 0; width:770px; }
.calc-count li {
	width:30.8px;
	display: inline-block;
	text-align:center;
	height:22px;
	text-align: center;
	font-size: 14px;
	color: #666666;
}
.calc-ol a.ui-slider-handle {
	outline: none;
	margin: 0 0 0 -11px;
	position:absolute;
	background: #1a70b8;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border-width: 3px;
	border-style: solid;
	border-color: #eee;
	box-shadow: 0px 2px 5px 0.00px rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
}
.calc-count.calc-count-2-30 { margin: 0 -10px; }
.calc-count.calc-count-2-30 li { width: 22.1px; }

.calc-ol .calc-amount {
}
.calc-ol .amount {
	font-size: 18px;
	text-align: center;
	border-radius: 10px;
	outline: none;
	height: 30px;
	width: 240px;
}

.calc-frame {
	margin-bottom: 40px;
}
.calc-form {
	font-size: 18px;
	margin: 0 auto;
}
.calc-form__title {

}
.calc-form__errors {
	font-size: 14px;
}
.calc-form__errors p {
	margin: 1px 0;
	padding: 0;
}
.calc-form__title {
	text-transform: uppercase;
	font-size: 24px;
	text-align: center;
	margin-bottom: 30px;
}
.calc-form__title-inline {
	border-bottom: 1px solid #cccccc;
}
.calc-form__row {
	margin-bottom: 20px;
	-js-display: flex;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}
.calc-form__label {
	flex-basis: 200px;
	flex-shrink: 0;
}
.calc-form__text {
	flex-grow: 1;
	border-radius: 7px;
	padding: 5px;
	border: 1px inset #fafafa;
	box-sizing: border-box;
	background-color: #eee;
	font-size: 18px;
}
.calc-form__textarea {
	width: 100%;
	border-radius: 7px;
	padding: 5px;
	border: 1px inset #fafafa;
	box-sizing: border-box;
	height: 120px;
	background-color: #eee;
	font-size: 18px;
}
.calc-email1 {
	display: flex;
	flex-basis: 65%;
	justify-content: flex-end;
	align-items: center;
	text-decoration: underline;
}
.calc-form__check {
	content: " ";
	display: block;
	width: 30px;
	height: 30px;
	box-sizing: border-box;
	border-radius: 50%;
	border-width: 3px;
	border-style: solid;
	border-color: #999999;
	flex-grow: 0;
	flex-shrink: 0;
	margin: 0 10px;
}
input[type=checkbox]:checked + .calc-form__check {
	border-color: #256e8f;
	background: url("/online-calc_files/check-blue.png") no-repeat center center;
}
.calc-form__wide {
	flex-wrap: wrap;
}
.calc-form__wide label {
	flex-basis: 100%;
	margin-bottom: 10px;
}
.calc-required {
	color: #99322a;
	text-align: center;
}
.calc-button-wrap {
	text-align: center;
}
.calc-button {
	margin-bottom: 60px;
	display: inline-block;
}
.calc-form .required {
	color: #f00;
}


.ui-button {
	display: inline-block;
	padding: 0;
	line-height: normal;
	margin:0 40px 10px 0;
	cursor: pointer;
	vertical-align: middle;
	text-align: center;
}
.ui-helper-hidden {display: none;}
.ui-helper-hidden-accessible {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
.ui-helper-reset {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	line-height: 1.3;
	text-decoration: none;
	font-size: 100%;
	list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
	content: "";
	display: table;
	border-collapse: collapse;
}
.ui-helper-clearfix:after {clear: both;}
.ui-helper-zfix {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	opacity: 0;
	filter:Alpha(Opacity=0);
}

.ui-front {	z-index: 100;}
.ui-button .ui-button-text {
	display: block;
	line-height: normal;
}

label.ui-state-default { background:url(../img/calc-checkbox.png) left top no-repeat; height:20px; font-size:14px; }
label.ui-state-default .ui-button-text { border-bottom:1px #9d2411 dotted; color:#9d2411; }
.ui-button-text { margin:3px 0 0 27px; }

label.ui-state-active { background:url(../img/calc-checked.png) left top no-repeat; height:20px; font-size:14px; }
label.ui-state-activ

.calc-button{
	color: #ffffff;
	text-decoration: none;
	user-select: none;
	background: #2f353b;
	border: 1px solid rgba(47,53,59);
	padding: 10px 20px;
	outline: #2f353b;
	display: inline-block;
	font-size: 16px;
	margin-bottom: 60px;
}