

/* Start:/calculator/style.css?178851163319437*/
#building-calculator, #building-calculator label  {
	font-size: 16px;
	font-weight: 600;
}
#building-calculator label, #building-calculator input {
	margin:0;
}
#home-windows label input {
	margin: 5px 5px 0 0;
}
#building-calculator > div > div {
	box-sizing: border-box;
	padding:24px 50px;
}
#building-calculator #home-sizes #home-sizes-top h2 span, #building-calculator > h2 span{
	margin-left: -50px;
}

#building-calculator #home-sizes #home-sizes-top h2, #building-calculator h2 {
	margin: 0 0 0 -1px;
	box-sizing: border-box;
	padding:24px 0 0;
	font-size: 24px;
	font-weight: 600;
}

#building-calculator h2 > span {
	width:36px;
	text-align:center;
	background:#4A638A;
	height:32px;
	line-height:32px;
	color:#fff;
	display:inline-block;
	font-size:20px;
	margin-right: 8px;
}

.error, #result-error {color: red;}
#result-message {color: green;}

/*home-sizes*/
#home-sizes {
	width: 100%;
	padding:0;
	border: 1px solid #e4eaec;
	background: #f7f7f8;
}
#building-calculator #home-sizes #home-sizes-top {
	background: #e7e8ea;
	box-sizing: border-box;
}
#building-calculator #home-sizes > div {
	box-sizing: border-box;
}
#building-calculator #home-sizes #home-sizes-top h2{
	padding: 0;
}

#building-calculator #home-sizes #home-sizes-middle > div > span, #building-calculator #home-sizes #home-sizes-middle > div > label span, #building-calculator #home-sizes #home-sizes-middle > div > label input {
	display: inline-block;
	vertical-align: middle;
	line-height: 19px;
}
#building-calculator #home-sizes #home-sizes-middle {
	display: -webkit-flex; 
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-items: center;
	align-items: center;
}
#home-sizes #home-sizes-middle #home-sizes-floors label {
	margin-right:11px;
	display: inline-block;
	vertical-align: middle;
	line-height: 19px;
	background-size: 36px auto;
	padding-left:41px;
}
#home-sizes #home-sizes-middle > div > label:hover, .calc-section .calc-block .select-block label:hover {cursor: pointer;}
#home-sizes #home-sizes-middle #home-sizes-floors > span {
	margin-right:17px;
}
#home-sizes #home-sizes-middle #home-sizes-floors label span {
	color: #BBC2C8;
}
#home-sizes #home-sizes-middle #home-sizes-floors label:hover span, #home-sizes #home-sizes-middle #home-sizes-floors label.active span {
	color: #4E6289;
}
#home-sizes #home-sizes-middle #home-sizes-floors label#floor_1 {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/floor_1.svg") no-repeat 0 0;
	height: 32px;
	line-height: 29px;
}
#home-sizes #home-sizes-middle #home-sizes-floors label#floor_2 {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/floor_2.svg?1") no-repeat 0 0;
	height: 40px;
	line-height: 37px;
}
#home-sizes #home-sizes-middle #home-sizes-floors label#floor_3 {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/floor_3.svg") no-repeat 0 0;
	height: 41px;
	line-height: 38px;
}
#home-sizes #home-sizes-middle #home-sizes-floors label#floor_1:hover, #home-sizes #home-sizes-middle #home-sizes-floors label#floor_1.active {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/floor_1hover.svg") no-repeat 0 0;
}
#home-sizes #home-sizes-middle #home-sizes-floors label#floor_2:hover, #home-sizes #home-sizes-middle #home-sizes-floors label#floor_2.active {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/floor_2hover.svg") no-repeat 0 0;
}
#home-sizes #home-sizes-middle #home-sizes-floors label#floor_3:hover, #home-sizes #home-sizes-middle #home-sizes-floors label#floor_3.active {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/floor_3hover.svg") no-repeat 0 0;
}
#home-sizes-topfloor {display:none;}
#home-sizes #home-sizes-middle #home-sizes-topfloor label span {
	font-size: 14px;
	font-weight: normal;
}
#home-sizes #home-sizes-middle #home-sizes-topfloor label {
	margin-left:13px;
	display: inline-block;
	vertical-align: middle;
	line-height: 19px;
	background-size: 33px auto;
	padding-left:42px;
}
#home-sizes #home-sizes-middle #home-sizes-topfloor label#floor_1 {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/topfloor1.svg") no-repeat 0 0;
	height: 20px;
	line-height: 20px;
}
#home-sizes #home-sizes-middle #home-sizes-topfloor label#floor_2 {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/topfloor2.svg?1") no-repeat 0 0;
	height: 21px;
	line-height: 21px;
}
#home-sizes #home-sizes-middle #home-sizes-topfloor label#floor_1:hover, #home-sizes #home-sizes-middle #home-sizes-topfloor label#floor_1.active {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/topfloor1hover.svg") no-repeat 0 0;
}
#home-sizes #home-sizes-middle #home-sizes-topfloor label#floor_2:hover, #home-sizes #home-sizes-middle #home-sizes-topfloor label#floor_2.active {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/topfloor2hover.svg?1") no-repeat 0 0;
}
#home-sizes #home-sizes-bottom {
	display: -webkit-flex; 
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-items: center;
	align-items: center;
}
#home-sizes #home-sizes-bottom #home-sizes-square {
	margin-right:85px;
}
#home-sizes #home-sizes-bottom #home-sizes-square label input, #calc-fieldblock label input, #calc-fieldblock label textarea {
	border: 1px solid #BBC2C8;
	box-sizing: border-box;
	border-radius: 2px;
	padding: 5px;
}
#home-sizes #home-sizes-bottom #home-sizes-square label input {
	height: 30px;
	margin: 0 0 0 16px;
	max-width:96px;
}
#calc-fieldblock label input, #calc-fieldblock label textarea {
	width: 55%;
}
#home-sizes #home-sizes-bottom #home-windows label {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/windows.svg") no-repeat 0 0;
	height: 35px;
	line-height: 32px;
	background-size: 47px auto;
	padding-left:61px;
}
#home-sizes #home-sizes-bottom #home-windows label:hover, #home-sizes #home-sizes-bottom #home-windows label.active {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/windowshover.svg") no-repeat 0 0;
	cursor: pointer;
}


/*calc-section*/
.calc-section {
	width: 100%;
	background: #f7f7f8;
	margin-top:10px;
	border: 1px solid #e4eaec;
}
.calc-section .calc-block {
	display: -webkit-flex; 
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.calc-block .select-block {position: relative;}
#home-ceiling.calc-section .calc-block .select-block, #home-material.calc-section .calc-block .select-block {
	width:32%;
}
#home-facade.calc-section .calc-block .select-block {
	width:24%;
}
#home-roof.calc-section .calc-block .select-block {
	width:19%;
}
.col-5 .select-block {
	max-width:180px;
}
.col-4 .select-block {
	max-width:231px;
}
.col-3 .select-block {
	max-width:316px;
}
.calc-section .calc-block .select-block label {
	display: -webkit-flex; 
	display: flex;
	-webkit-align-items: start;
	align-items: start;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}
.calc-section .calc-block .select-block label .p-name {
	display: block;
	max-width:86%;
	color: #4e6289;
	margin-bottom: 10px;
	font-size: 15px;
	-webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}
#home-facade.calc-section .calc-block .select-block label .p-name {
	padding-right:7px;
}
#building-calculator .calc-section .calc-block .select-block label input {
	display: inline-block;
	margin: 4px 4px 0 0;
}
.calc-section .calc-block .select-block label img.material-img {
	margin-bottom:7px;
	display: block;
	max-width:100%;
}
p#alert{
	font-weight: normal;
	color: orangered;
	margin-top: 10px;
	font-size: 14px;
}
/*calc-bottom*/
#calc-bottom {
	width: 100%;
	box-sizing: border-box;
	margin-top:10px;
	display: -webkit-flex; 
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	border: 1px solid #e7e8ea;
	background:#eff0f1;
}
#calc-bottom > div {
	width:50%;
}
#calc-bottom #calc-bottom-left{
	background: #e7e8ea;
	border-right: 1px solid #d5d7dc;
}
#calc-bottom #calc-bottom-right{	
	background:#eff0f1;
	font-weight:normal;
	font-size:15px;
}
#calc-bottom #calc-bottom-left .calc-sum {
	font-size:24px;
	margin:45px 0 5px;
}
#calc-bottom #calc-bottom-left .calc-sum-mess {
	margin-bottom:38px;
}
#calc-bottom #calc-bottom-left .cb-text {
	font-weight:normal;
	font-size: 15px;
}
#calc-bottom #calc-bottom-left .cb-text p {
	margin-bottom: 10px;
}
#calc-bottom #calc-bottom-left .cb-text ol, #calc-bottom #calc-bottom-left .cb-text ul {
	padding: 0 0 0 16px;
	margin: 0;
}
#calc-bottom #calc-bottom-left .calc-results {
	margin-bottom:13px;
	display: -webkit-flex; 
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	background:url("/bitrix/templates/aspro-stroy/images/calculator/bg-bottom.png") repeat-x 0 15px;
}
#calc-bottom #calc-bottom-left .calc-results > span {
	background: #E7E8EA;
	box-sizing: border-box;
	padding-right: 2px;
}
#calc-bottom #calc-bottom-left .calc-results > span+span {
	padding-left: 2px;
}
#calc-bottom #calc-bottom-left .calc-results span span {
	color:#4e6289;
}
#calc-bottom-right #calc-fieldblock label {
	display: -webkit-flex; 
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	margin-bottom:8px;
}
#calc-bottom-right #calc-fieldblock label span {
	text-align: right;
	display: inline-block;
	font-size: 14px;
	font-weight: normal;
	width: 95px;
	margin-right: 7px;
}
#calc-fieldblock button#corder-submit {
	background: #4E6289;
	border-radius: 2px;
	font-weight: 800;
	font-size: 12px;
	line-height: 32px;
	text-transform: uppercase;
	color: #FFFFFF;
	margin: 32px 0 40px 102px;
	border:0;
	width: 97px;
	height: 32px;
}
#calc-fieldblock button#corder-submit:hover {
	opacity:0.9;
}
span.question {
	background:url("/bitrix/templates/aspro-stroy/images/calculator/question.svg") no-repeat 0 0;
	width:20px;
	height:20px;
	display:inline-block;
	position:relative;
	margin-left:2px;
	cursor:pointer;
	vertical-align: middle;
	line-height: 19px;
}
/*Progr*/
#building-calculator label {position:relative;}

#home-material.calc-section .calc-block .select-block label.active::after, #home-material.calc-section .calc-block .select-block label:hover::after,
#home-ceiling.calc-section .calc-block .select-block label.active::after, #home-ceiling.calc-section .calc-block .select-block label:hover::after {
	content: "";
	position:absolute;
	display:block;
	width:100%;
	height:75%;
	background:url("/bitrix/templates/aspro-stroy/images/calculator/bg.png") no-repeat 0 0;
	background-size:100% auto;
}


#home-roof.calc-section .calc-block div.select-block label.active::after, #home-roof.calc-section .calc-block div.select-block label:hover::after
{
	content: "";
	position:absolute;
	display:block;
	width:100%;
	height:75%;
	background:url("/bitrix/templates/aspro-stroy/images/calculator/bg2.png") no-repeat 0 0;
	background-size:100% auto;
	position: absolute;
}
#home-facade.calc-section .calc-block .select-block label.active::after, #home-facade.calc-section .calc-block .select-block label:hover::after {
	content: "";
	position:absolute;
	display:block;
	width:100%;
	height:80%;
	background:url("/bitrix/templates/aspro-stroy/images/calculator/bg3.png") no-repeat 0 0;
	background-size:100% auto;
	position: absolute;
}
.select-block-description {
	opacity: 0;
	display:none;
	position: absolute;
	z-index: 999;
	background: #fff;
	width: 500px;
	box-sizing: border-box;
	top: 7px;
	left: 7px;
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.select-block:last-child .select-block-description,
.select-block:nth-child(4) .select-block-description,
.select-block:nth-child(3) .select-block-description,
#home-material .select-block:nth-child(2) .select-block-description,
#home-ceiling .select-block:nth-child(2) .select-block-description
 {
	right: 7px;
	left:auto;
}
.calc-block .select-block .p-name span.question:hover .select-block-description {display:block;}
.calc-block .select-block .p-name span.question:hover .select-block-description {	
	transition: 0.7s;
	opacity: 1;
}
.select-block-description > div {
	padding: 20px 25px;
	box-sizing: border-box;
}
.select-block-description .sb-description-hdr {
	font-weight: 600;
	font-size: 16px;
	color: #4E6289;
	border-bottom:1px solid #e7e8ea;
}
.select-block-description .block-desc {
	display: -webkit-flex; 
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	padding: 0;
	font-weight: normal;
	font-size: 14px;
}
.select-block-description .sb-description-pluses, .select-block-description .sb-description-minuses {
	width: 50%;
	box-sizing: border-box;
	padding: 20px 25px;
	border-bottom:1px solid #e7e8ea;
}
.select-block-description .sb-description-pluses > span, .select-block-description .sb-description-minuses > span {
	font-weight: 600;
	display:block;
}
.select-block-description .sb-description-pluses {
	border-right:1px solid #e7e8ea;
}
.select-block-description .block-desc ol, .select-block-description .block-desc ul {
	padding: 0 0 0 13px;
	margin: 10px 0 0 0;
}
.select-block-description .block-desc ol li, .select-block-description .block-desc ul li {
	margin-bottom:7px;
}
.select-block-description .block-desc .description-p {
	padding: 20px 25px 0;
}


@media (max-width:1128px) {
	#home-sizes #home-sizes-topfloor {
		margin-top: 34px;
		width: 100%;
	}
	#building-calculator #home-sizes #home-sizes-middle {
		padding-bottom: 14px;
	}
	
}

@media (min-width:760px) and (max-width:1050px) {
	span.question {
		position: inherit;
		z-index: 9999;
	}
	.select-block-description {
		left: 0 !important;
		right: 0 !important;
		top: 100%;
		width: 110%;
	}
	.select-block-description .block-desc {
		display: block;
	}
	.select-block-description .sb-description-pluses, .select-block-description .sb-description-minuses {
		width: 100%;
	}
	.select-block-description > div, .select-block-description .sb-description-pluses, .select-block-description .sb-description-minuses {
		padding: 10px 15px;
	}
	
}

@media (min-width:560px) and (max-width:1028px) {
	#building-calculator, #building-calculator label, #calc-bottom #calc-bottom-left .cb-text, #calc-bottom #calc-bottom-right {
		font-size: 14px;
	}
	.calc-section .calc-block .select-block label p.p-name {
		width: 80%;
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
	}
}

@media (min-width:560px) and (max-width:845px) {
	#building-calculator label {
		font-size: 13px;
	}
	#building-calculator > div > div {
		padding: 24px;
	}
	#building-calculator #home-sizes #home-sizes-top h2 span, #building-calculator > h2 span {
		margin-left: -24px;
	}
	#home-sizes #home-sizes-bottom #home-sizes-square label input {
		max-width: 86px;
	}
	#building-calculator #home-sizes #home-sizes-middle #home-sizes-floors > span {
		display: block;
	}
	#home-sizes #home-sizes-middle #home-sizes-floors > span {
		margin: 0 0 15px 0;
	}
	
	
	
}

@media (min-width:560px) and (max-width:760px) {
	#building-calculator label {
		font-size: 12px;
		line-height: 1.3;
	}
}

@media (max-width:760px){
	#home-sizes #home-sizes-bottom #home-sizes-square label input {
		margin: 13px 0 15px 0;
		display: block;
	}
	#building-calculator #home-sizes #home-sizes-top h2, #building-calculator h2 {
		font-size: 20px;
	}
	#home-sizes #home-sizes-bottom #home-windows label {
		line-height: 28px;
		background-size: 37px auto;
		padding-left: 51px;
	}
	#home-ceiling.calc-section .calc-block .select-block, #home-material.calc-section .calc-block .select-block, #home-roof.calc-section .calc-block .select-block, #home-facade.calc-section .calc-block .select-block {
		width: 100%;
		margin-bottom: 25px;
	}
	.calc-section .calc-block .select-block label .p-name {
		max-width: 100%;
	}
	#home-ceiling.calc-section .calc-block .select-block:last-child, #home-material.calc-section .calc-block .select-block:last-child, #home-roof.calc-section .calc-block .select-block:last-child, #home-facade.calc-section .calc-block .select-block:last-child {
		margin-bottom: 0;
	}
	.calc-section .calc-block .select-block label img.material-img {
		width: 100%;
	}
	#calc-bottom > div {
		width: 100%;
	}
	#calc-bottom #calc-bottom-left {
		border-right: 0;
	}
	#calc-bottom #calc-bottom-left .cb-text ol li, #calc-bottom #calc-bottom-left .cb-text ul li {
		padding-bottom: 10px;
	}
	#building-calculator #home-sizes #home-sizes-middle #home-sizes-floors > span,
	#calc-bottom #calc-bottom-left .calc-sum span.cr-name {
		display: block;
	}
	#calc-bottom {
		border: 0;
	}
	#calc-bottom #calc-bottom-left, #calc-bottom #calc-bottom-right {
		padding: 24px;
	}
	#calc-bottom #calc-bottom-left, #calc-bottom #calc-bottom-left .calc-results > span {
		background: #fff;
	}
	#calc-bottom #calc-bottom-left .calc-results {
		background: none;
		display: block;
	}
	#calc-bottom #calc-bottom-left .calc-results > span {
		padding-right: 0;
		color: #777777;
		display: block;
		font-weight: 500;
	}
	#calc-bottom #calc-bottom-left .calc-results > span + span {
		color: #333333;
		font-weight: 600;
	}
	#calc-bottom #calc-bottom-right{
		border-top:1px solid #d5d7dc;
		border-bottom:1px solid #d5d7dc;
	}
	#building-calculator, #building-calculator label {
		font-size: 15px;
	}
	#building-calculator {
		min-width:290px;
		line-height:1.5;
		margin: 0 -15px;
	}
	#building-calculator > div > div {
		padding: 24px;
	}
	#building-calculator #home-sizes #home-sizes-top h2 span, #building-calculator > h2 span {
		margin-left: -24px;
	}
	#home-sizes #home-sizes-middle #home-sizes-floors span {
		margin-right: 0px;
	}
	#home-sizes #home-sizes-middle #home-sizes-floors > span {
		margin: 0 0 15px 0;
	}
	#building-calculator #home-sizes #home-sizes-middle {
		display: block;
	}
	#home-sizes #home-sizes-middle #home-sizes-topfloor label {
		margin: 13px 0 0 0;
		display:block;
	}
	#home-sizes #home-sizes-bottom {
		-webkit-align-items: baseline;
		align-items: baseline;
	}
	.calc-section .calc-block {
		display: block;
	}
	.col-3 .select-block, .col-4 .select-block, .col-5 .select-block {
		max-width: 270px;
	}
	
	span.question {
		position: inherit;
		z-index: 9999;
	}
	
	.select-block-description {
		left: 0 !important;
		right: 0 !important;
		top: 100%;
		width: 100%;
	}
	#home-roof.calc-section .calc-block div.select-block label.active::after,
	#home-roof.calc-section .calc-block div.select-block label:hover::after,
	#home-facade.calc-section .calc-block .select-block label.active::after,
	#home-facade.calc-section .calc-block .select-block label:hover::after
	{
		height: 85%;
	}
	.select-block-description .block-desc {
		display: block;
	}
	.select-block-description .sb-description-pluses, .select-block-description .sb-description-minuses {
		width: 100%;
	}
}


@media (min-width:650px) and (max-width:760px) {
	#home-ceiling.calc-section .calc-block .select-block, #home-material.calc-section .calc-block .select-block, #home-roof.calc-section .calc-block .select-block, #home-facade.calc-section .calc-block .select-block {
		width: 48%;
	}
	.calc-section .calc-block {
		display: -webkit-flex;
		display: flex;
	}
	.col-3 .select-block, .col-4 .select-block, .col-5 .select-block {
		max-width: inherit;
	}
}


@media (max-width:480px) {
	.select-block-description > div, .select-block-description .sb-description-pluses, .select-block-description .sb-description-minuses {
		padding: 10px 15px;
	}
}








/* End */
/* /calculator/style.css?178851163319437 */
