@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.calculation-container {
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
	text-align: left;
	max-width: 100%;
	margin: 0 auto;

}
.calculation-box {
	margin-bottom: 50px;
	padding: 0 14px;
}
.calculation-title {
	color: #000;
	font-size: 24px;
	line-height: 28px;
	font-weight: 500;
}
.calculation-title.result {
	margin-bottom: 60px;
}
.calcualtion-box_title {
	margin: 7px 0 20px;
	padding: 7px 0px 5px 10px;
	line-height: 19px;
	font-weight: 500;
	color: #000;
	background:#dccccd;
	font-size:19px;
	position: relative;
}
.calculation-item_title {
	padding: 0 20px 0 0;
	color: #000;
	font-weight: 400;
}
.calculation-item > .calculation-item_title {
	padding-top: 10px;
}
.calculation-item > .calculation-item_title.calculation-fence_param {
	padding-bottom: 30px;
}
.calculation-item_row {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 10px 0;
}
.calculation-item_row .calculation-item_title {
	padding-top: 0;
	padding-bottom: 0;
}
.calculation-item_input {
	padding-right: 20px;
}
span.calculation-checkbox {
	display: block;
	height: 30px;
	line-height: 30px;
	color: #999999;
	font-weight: 400;
	font-size: 12px;
	background: #F1F1F1;
	border-radius: 5px;
	margin: 0 10px;
	box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.0);
	padding: 0 12px;
	transition: box-shadow .2s ease-in-out, background-color .2s ease-in-out, color .2s ease-in-out;
}
span.calculation-checkbox:not(.active):hover {
	cursor: pointer;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
span.calculation-checkbox.active {
	background: #990000;
	color: #FFF;
	cursor: default;
}
.calculation-row_space span.calculation-checkbox {
	margin-left: 21px;
	margin-right: 21px;
	position: relative;
}
.calculation-row_space span.calculation-checkbox::before {
	content: '';
	width: 26px;
	height: 1px;
	background: rgba(153, 0, 0, 0.25);
	z-index: 2;
	position: absolute;
	right: -34px;
	top: calc(50% - 1px);
}
.calculation-row_space span.calculation-checkbox:last-of-type:before {
	width: 0;
	height: 0;
}
.calculation-row_space span.calculation-checkbox:first-of-type, .calculation-item_row span.calculation-checkbox:first-of-type {
	margin-left: 0;
}
.calculation-row_space span.calculation-checkbox:last-of-type, .calculation-item_row span.calculation-checkbox:last-of-type {
	margin-right: 0;
}
span.calculation-checkbox.decking-color {
	width: 30px;
	opacity: 0.25;
	margin-top: 5px;
	transition: opacity .2s ease-in-out;
}
span.calculation-checkbox.decking-color:not(.active):hover {
	cursor: pointer;
}
span.calculation-checkbox.decking-color.active, span.calculation-checkbox.decking-color:hover {
	opacity: 1;
}
span.calculation-checkbox.decking-color.decking-color_green {
	background: #009922;
}
span.calculation-checkbox.decking-color.decking-color_green.active {
	box-shadow: 0px 3px 6px rgba(0, 153, 34, 0.5);
}
span.calculation-checkbox.decking-color.decking-color_blue {
	background: #0362BA;
}
span.calculation-checkbox.decking-color.decking-color_blue.active {
	box-shadow: 0px 3px 6px rgba(3, 98, 186, 0.5);
}
span.calculation-checkbox.decking-color.decking-color_red {
	background: #990000;
}
span.calculation-checkbox.decking-color.decking-color_red.active {
	box-shadow: 0px 3px 6px rgba(153, 0, 0, 0.5);
}
span.calculation-checkbox.decking-color.decking-color_coral {
	background: #530000;
}
span.calculation-checkbox.decking-color.decking-color_coral.active {
	box-shadow: 0px 3px 6px rgba(83, 0, 0, 0.5);
}
.calculation-box input {
	padding: 8px 10px;
	border: 1px solid rgba(153, 0, 0, 0.25);
	border-radius: 5px;
	font-size: 12px;
	line-height: 14px;
	color: #999999;
	font-weight: normal;
	outline: none;
	transition: border-color .2s ease-in-out;
}
.calculation-box input#frame_lags, .calculation-box input#frame_lags-section, .calculation-box input#frame_lags-depth {
	max-width: 100px;
}
.calculation-box input:focus {
	border-color: #990000;
}
.calculation-box input::placeholder {
	color: rgba(153, 153, 153, 0.5);
}
.calculation-decking_viewbox {
	display: flex;
	flex-direction: row;
	padding: 5px 0 20px;
	font-size: 0;
}
.calculation-decking_viewbox.active {
	display: flex;
}
.calculation-decking_item--row {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.calculation-decking_item-title {
	display: block;
	font-weight: 500;
	line-height: 19px;
	margin-bottom: 14px;
	font-size: 16px;
}
.calculation-decking_item {
	margin-left: 20px;
}
.calculation-decking_high {
	border-radius: 5px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
}
.calculation-decking_high-overlay {
	z-index: 2;
	position: absolute;
	opacity: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	transition: opacity .2s;
}
.calculation-decking_high-overlay::after {
	content: '';
	position: absolute;
	z-index: 2;
	width: 50px;
	height: 50px;
	background: url('./lens.png') no-repeat;
	background-size: contain;
	top: calc(50% - 25px);
	left: calc(50% - 25px);
}
.calculation-decking_high:hover .calculation-decking_high-overlay {
	opacity: 1;
}
.calculation-decking_item-img {
	border-radius: 5px;
	overflow: hidden;
}
.calculation-decking_item-content {
	padding-left: 20px;
}
.calculation-decking_item-content a {
	color: #999999;
	font-size: 12px;
	line-height: 14px;
	font-weight: 400;
	text-decoration: none;
	display: block;
	position: relative;
	padding-right: 9px;
}
.calculation-decking_item-content a::after {
	content: '';
	position: absolute;
	width: 4px;
	height: 8px;
	background: url("http://ixweb.ru/kwork/povedenie/calculation-arrow.png") no-repeat;
	background-size: contain;
	right: 0;
	top: calc(50% - 4px);
	z-index: 2;
}
.calculation-decking_item-content a:hover {
	border-bottom: 1px dotted rgba(196, 196, 196, 0.2);
}
.calculation-hr {
	height: 1px;
	width: 100%;
	background: #F1F1F1;
	margin: 50px 0 60px;
}
.calculation-table_container {
	border-radius: 5px;
	overflow: hidden;
	width: 100%;
	max-width: 966px;
	margin: 0 auto 60px;
}
.calculation-table {
	border-collapse: collapse;
	width: 100%;
	max-width: 100%;
	background: rgba(0, 0, 0, 0.03);
}
.calculation-table a {
	text-decoration: none;
	font-size: 12px;
}
.calculation-table tr:nth-child(even) {
	background: #F1F1F1;
}
.calculation-table tr:nth-child(odd) {
	background: #eaeaea;
}
.calculation-table tr:not(.calculation-table_total) td, .calculation-table th {
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
	text-align: center;
}
.calculation-table tr:not(.calculation-table_total) td {
	padding: 30px 15px;
}
.calculation-table td {
	vertical-align: middle;
}
.calculation-table tr:not(.calculation-table_total) td:nth-child(even) {
	background: rgba(153, 0, 0, 0.25);
}
.calculation-table tr td:first-of-type {
	text-align: left;
}
.calculation-table tr.calculation-table_total {
	background: #cc8080;
}
.calculation-table tr.calculation-table_total td {
	vertical-align: middle;
	padding: 12px 16px;
	color: #FFF;
}
.calculation-table th {
	background: #757575;
	color: #FFF;
	font-weight: 500;
	padding: 20px 50px;
}
.calculation-table th:nth-child(even) {
	background: #cc8080;
}
.calculation-total {
	font-weight: 700;
}
.calculation-row {
	display: flex;
	flex-direction: row;
}
.calculation-table .calculation-row a {
	display: block;
	padding: 0 10px;
	color: rgba(0,0,0,0.25);
	transition: color .2s ease-in-out;
}
.calculation-table .calculation-row a:hover {
	color: rgba(0, 0, 0, 0.5);
}
.calculation-table .calculation-row a.active {
	color: #FFF;
}
.calculation-basket {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
  color: #fff;
  background-color: #990000;
}
.calculation-basket:hover {
	background-color: #990000;
	color: white;
}
.calculation-basket:focus {
	color: #000;
	box-shadow: 0px 4px 6px rgba(255, 255, 255, 0);
}
/*.calculation-basket::after {*/
/*	content: '';*/
/*	position: absolute;*/
/*	z-index: 2;*/
/*	width: 13px;*/
/*	height: 12px;*/
/*	background: url("http://ixweb.ru/kwork/povedenie/basket.png") no-repeat;*/
/*	background-size: cover;*/
/*	right: 11px;*/
/*	top: 11px;*/
/*}*/
.calculation-columnTRow.active, .calculation-plugTRow.active, .calculation-deckingTRow.active, .calculation-lagsTRow.active {
	display: table-row;
}
.calculation-done {
	display: inline-block;
	text-decoration: none;
	color: #FFF;
	font-weight: 500;
	background: #000;
	/*border-radius: 30px;*/
	padding: 15px 35px;
}
.calculation-err {
	padding: 20px 0;
	color: #990000;
	font-size: 20px;
	display: none;
}
.calculation-checkbox.disabled {
	box-shadow: none!important;
	cursor: default!important;
	background: #F1F1F1!important;
	color: #fff;
}
.calculation-decking_item-img {
	border: 2px solid #f1f1f1;
	height: 100px;
	width: 100px;
}
.success-add-basket-msg {
	width: 100%;
	color: #155724;
	background-color: #d4edda;
	border-color: #c3e6cb;
	padding: 15px;
	display: none;
}
.calculation-modal{
  position:fixed;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  z-index:9;
  display:none;
}
.calculation-modal .calculation-modal_content{
  position:fixed;
  padding:35px;
  width:440px;
  height:auto;
  left:50%;
  top:50%;
  margin-top:-150px;
  margin-left:-150px;
  background:#fff;
  border-radius:5px;
}
.calculation-modal .calculation-modal_content .modal_content-title{
  text-align:center;
  position:relative;
  font-size:18px;
  font-weight:bold;
}
.calculation-modal .calculation-modal_content .modal_content-title .close{
  display:block;
  position:absolute;
  top:-20px;
  right:-20px;
  width:20px;
  height:20px;
  cursor: pointer;
}
.calculation-modal .calculation-modal_content .modal_content-title .close:before{
  display:block;
  content:"";
  width:20px;
  height:2px;
  background: #000;
  transform: rotate(45deg);
  position:absolute;
  top:8px;
}
.calculation-modal .calculation-modal_content .modal_content-title .close:after{
  display:block;
  content:"";
  width:20px;
  height:2px;
  background: #000;
  transform: rotate(-45deg);
  position:absolute;
  top:8px;
}
.calculation-modal .calculation-modal_content .modal_content-link_area{
  display:flex;
  justify-content:space-around;
  align-items: center;
}
.calculation-modal .calculation-modal_content .modal_content-link_area a.btn.btn-basket{
	background-color: #990000;
	border: 1px solid #000;
	color:#fff;
/*  padding: 10px 15px;*/
/*  border-radius: 4px;*/
/*  font-size: 12px;*/
/*  text-transform: uppercase;*/
/*  cursor: pointer;*/
/*  text-decoration: none;*/
/*  line-height: 1;*/
/*  text-align: center;*/
/*  box-sizing: border-box;*/
/*  white-space: nowrap;*/
/*  color: #fff;*/
/*  background-color: #700d0d;*/
}
.calculation-modal .calculation-modal_content .modal_content-link_area a:hover{
  background-color: #990000;
	color:#fff;
}
.calculation-modal .calculation-modal_content .modal_content-total_list{
  list-style: none;
  padding:50px 0;
}
.calculation-modal .calculation-modal_content .modal_content-total_list li{
  padding:7px 0;
}
.inc_header_text{
	margin-bottom:35px;
}
.inc_footer_text{
	margin-top:45px;
	margin-bottom:45px;
}
