/*** Calc ***/
.calc {
	margin-top: 20px;
	margin-bottom: 50px;
  background: #fff;
  -webkit-box-shadow: 0 10px 30px 0 rgba(152,0,46,0.1);
  box-shadow: 0 10px 30px 0 rgba(152,0,46,0.1);
  border-radius: 14px;
  font-size: 14px;
  color: #000;
  line-height: 1.5;
  cursor: default;
}
.calc .calc-btn {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font-family: "MuseoSansCyrl";
  -webkit-transition: 0.3s background-color cubic-bezier(0.25, 0.46, 0.45, 0.94), 0.3s color cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -moz-transition: 0.3s background-color cubic-bezier(0.25, 0.46, 0.45, 0.94), 0.3s color cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -o-transition: 0.3s background-color cubic-bezier(0.25, 0.46, 0.45, 0.94), 0.3s color cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -ms-transition: 0.3s background-color cubic-bezier(0.25, 0.46, 0.45, 0.94), 0.3s color cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: 0.3s background-color cubic-bezier(0.25, 0.46, 0.45, 0.94), 0.3s color cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.calc .calc-btn[disabled] {
  cursor: default;
}
.calc .calc-btn--black {
  padding: 12px 50px;
  border: 2px solid #000;
  background-color: #fff;
  border-radius: 8px;
  font-size: 16px;
  line-height: 28px;
  font-weight: bold;
}
.calc .calc-btn--black:hover:not([disabled]) {
  background-color: #000;
  color: #fff;
}

.calc .calc-btn--red {
  padding: 12px 50px;
  border: 2px solid #c4122f;
  background-color: #fff;
  border-radius: 8px;
  font-size: 16px;
  line-height: 28px;
  font-weight: bold;
  color: #c4122f;
}
.calc .calc-btn--red:hover:not([disabled]) {
  background-color: #c4122f;
  color: #fff;
}


.calc .calc-btn--black[disabled] {
  border-color: rgba(0,0,0,0.3);
  color: rgba(0,0,0,0.3);
}
.calc .calc-block {
  padding: 30px 50px;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.calc .calc-block:last-child {
  border-bottom: none;
}
.calc .calc-block--text {
	padding: 50px 50px;
}
.calc .calc-block .calc-block-inner {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-box-align: start;
  -moz-box-align: start;
  -o-box-align: start;
  -ms-flex-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -o-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -o-box-orient: horizontal;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -o-box-lines: multiple;
  -webkit-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
}
.calc .calc-block .calc-block-inner .calc-block-info {
  width: 40%;
}
.calc .calc-block .calc-block-inner .calc-block-info .calc-block-info-title {
  margin-bottom: 30px;
  position: relative;
  font-size: 32px;
  line-height: 46px;
  font-weight: bold;
}
.calc .calc-block .calc-block-inner .calc-block-info .calc-block-info-title:after {
  content: "";
  margin-top: 30px;
  display: block;
  width: 50px;
  height: 2px;
  background-color: #c4122f;
}
.calc .calc-block .calc-block-inner .calc-block-info .calc-block-info-description {
  font-size: 14px;
  line-height: 24px;
}
.calc .calc-block .calc-block-inner .calc-block-fields {
  width: 50%;
}
.calc .calc-block .calc-block-inner .calc-block-fields .calc-row {
  margin-bottom: 30px;
}
.calc .calc-block .calc-block-inner .calc-block-fields .calc-row:last-child {
  margin-bottom: 0;
}
.calc .calc-block .calc-block-inner .calc-block-fields .calc-title {
  margin: 60px 0 30px 0;
  font-size: 22px;
  line-height: 34px;
  font-weight: bold;
}
.calc .calc-block .calc-block-inner .calc-block-fields .calc-field {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  border: none;
  border-bottom: 1px solid #000;
  font-family: "MuseoSansCyrl";
  font-size: 16px;
  line-height: 1;
  outline: none;
}
.calc-field--loading {
	background: url('/js/jquery-autocomplete/ajax-loader.gif') no-repeat right center;
	cursor: progress;
}
.calc .calc-block .calc-block-inner .calc-block-fields .calc-field--text {
  padding: 16px 0 10px 0;
}
.calc-field--select {
	display: block;
}
.calc-field--text.error {
	border-bottom-color: #C4122F !important;
	color: #C4122F !important;
}
.calc .calc-block .calc-block-inner .calc-block-fields .calc-field::placeholder {
  font-size: 16px;
  color: rgba(0,0,0,0.5);
}
.calc .calc-block .calc-block-inner .calc-block-fields .calc-field:focus::placeholder {
	display: block;
}
.calc .calc-block .calc-nav {
  margin-top: 60px;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-box-align: end;
  -moz-box-align: end;
  -o-box-align: end;
  -ms-flex-align: end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -o-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -o-box-orient: horizontal;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -o-box-lines: multiple;
  -webkit-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
}
.calc .calc-block .calc-nav .calc-nav-info {
  width: 40%;
}
.calc .calc-block .calc-nav .calc-nav-info .calc-nav-info-step {
  font-size: 22px;
  line-height: 34px;
}
.calc .calc-block .calc-nav .calc-nav-content {
  width: 50%;
}
.calc .calc-block .calc-nav .calc-nav-content .calc-nav-summary,
.calc .calc-block .calc-nav .calc-nav-content .calc-nav-summary-item {
  margin-bottom: 60px;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -o-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -o-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -o-box-orient: horizontal;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -o-box-lines: multiple;
  -webkit-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
}
.calc .calc-block .calc-nav .calc-nav-content .calc-nav-summary-item {
	margin-bottom: 20px;
	width: 100%;
}
.calc .calc-block .calc-nav .calc-nav-content .calc-nav-summary-item:last-child {
	margin-bottom: 0;
}
.calc .calc-block .calc-nav .calc-nav-content .calc-nav-summary .calc-nav-summary-title {
  font-size: 16px;
  line-height: 28px;
}
.calc .calc-block .calc-nav .calc-nav-content .calc-nav-summary .calc-nav-summary-value {
  font-size: 22px;
  line-height: 34px;
}
.calc .calc-block .calc-nav .calc-nav-content .calc-nav-summary .calc-nav-summary-value span {
  color: #c4122f;
  font-weight: bold;
}
.calc .calc-block .calc-nav .calc-nav-content .calc-btn {
  display: block;
  width: 100%;
}

.calc-field-holder {
	position: relative;
	}
	.calc-field-placeholder {
		position: absolute;
		left: 0;
		top: 18px;
		
		font-size: 16px;
  		color: rgba(0,0,0,0.5);
		line-height: 1;
		cursor: text;
		white-space: nowrap;
		
		transition: .1s transform linear;
		
	}
.calc-field-holder.hover .calc-field-placeholder {
	transform: translateY(-20px);
	
	font-size: 12px;
	cursor: default;
}

.calc-row .select2 {

}
.calc-row .select2 .select2-selection__arrow {
	right: 0;
	top: 11px;
	
	display: block;
	width: 30px;
	height: 30px;
	
	background: url("./calc_b_arr.svg") no-repeat center center;
	background-size: contain;
	
	transition: .2s transform linear;
}
.select2-container--open .select2-dropdown--above {
	border-bottom: 1px solid #aaa;
}
.calc-row .select2.select2-container--open .select2-selection__arrow {
	transform: rotate(-180deg);
}
.calc-row .select2 .select2-selection__arrow b {
	display: none;
}
.calc-row .select2-container--default .select2-selection--single {
	border: none;
	border-bottom: 1px solid #000000;
}
.calc-row .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 18px 0;
	font-size: 16px;
	color: #000;
}
.calc-row .select2-container .select2-selection--single {
	height: 52px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__placeholder {
	font-size: 16px;
	color: rgba(0,0,0,0.5);
	line-height: 1;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
	outline: none;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: rgba(0, 0, 0, 0.05);
	color: #000;
}

.calc-checkbox {
	margin-bottom: 15px;
	
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: space-between;
	
	cursor: pointer;
	}
	.calc-checkbox-title {
		/*padding-left: 30px;*/
		
		font-size: 16px;
		color: #000;
		line-height: 24px;
	}
	.calc-checkbox-input + .calc-checkbox-title {
		padding-left: 30px;
	}
	.calc-checkbox-control {
		width: calc(100% - 150px);
	}
	.calc-checkbox-price {
		width: 130px;
		
		text-align: right;
		font-weight: bold;
		color: #C4122F;
		line-height: 24px;
	}
.calc-checkbox-input {
	position: relative;
	top: 1px;
	float: left;
	
	box-sizing: border-box;
	display: block;
	width: 20px;
	height: 20px;
	
	border: 2px solid #000;
	background-color: #FFF;
	
	-webkit-appearance: none !important;
}
.calc-checkbox-input:checked {
	border-color: #C4122F;
	background: #C4122F url("./checkbox.svg") no-repeat center center;
	background-size: contain;
}
.calc-row .calc-row .calc-checkbox {
	margin: 10px 0 0 0;
}
.calc-row .calc-row .calc-checkbox .calc-checkbox-control {
	width: 100%;
}
.calc-block--2 .select2 {
	display: none !important;
}
.calc-form-result {
	font-size: 24px;
	text-align: center;
	line-height: 32px;
}
.calc-form-result a {
	border-bottom: 1px solid #C4122F;
	
	color: #C4122F;
	font-size: 18px;
	text-decoration: none;
	
	transition: 0.3s border-color cubic-bezier(0.25, 0.46, 0.45, 0.94), 0.3s color cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.calc-form-result a:hover {
	border-bottom-color: transparent;
}


.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; cursor: pointer;}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #c4122f; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }





.calc-result {
	margin: 0 auto;
	
	max-width: 800px;
}
.calc-result-title {
	position: relative;
    margin-bottom: 30px;
    
	font-size: 32px;
    line-height: 46px;
    font-weight: bold;
    text-align: center;
}
.calc-result-block-title {
    margin-bottom: 30px;
    
	font-size: 22px;
    line-height: 32px;
    font-weight: bold;
    text-align: center;
}
.calc-result-title:after {
	content: "";
	
	margin: 30px auto 0 auto;
	
	display: block;
	width: 20%;
	height: 2px;
	
	background-color: #c4122f;
}
.calc-result-block {
	padding: 40px 0;
	
	border-bottom: 1px solid rgba(0,0,0,0.15);
}
.calc-result-block table {
	width: 100%;
}
.calc-result-block table,
.calc-result-block td,
.calc-result-block th {
	font-weight: 300;
}
.calc-result-block table th {
	font-weight: bold;
}
.calc-result-block table th,
.calc-result-block table td {
	padding: 10px 0;
	vertical-align: middle;
}
.calc-result-block .red {
	color: #c4122f;
}
.calc-result-block .center {
	text-align: center;
}
.calc-result-block:last-child {
	border-bottom: none;
}
.calc-result-row {
	margin-bottom: 20px;
	
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.calc-result-row:last-child {
	margin-bottom: 0;
}
.calc-result-col {
	box-sizing: border-box;
	width: 50%;
}
.calc-result-col:first-child {
	padding-right: 10px;
}
.calc-result-col:last-child {
	padding-left: 10px;
	
	text-align: right;
}
.calc-result-col b {
	font-weight: bold;
}
.calc-result-block--result {
	text-align: center;
}

.calc-notification {
	margin-top: 30px;
	
	padding: 10px 15px;
	
	background-color: #c4122f;
	
	color: #FFF;
}






.calc-radio {
	margin-bottom: 15px;
	
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: space-between;
	
	cursor: pointer;
	}
	.calc-radio-title {
		/*padding-left: 30px;*/
		
		font-size: 16px;
		color: #000;
		line-height: 24px;
	}
	.calc-radio-input + .calc-radio-title {
		padding-left: 30px;
	}
	.calc-radio-control {
		width: calc(100% - 150px);
	}
	.calc-radio-price {
		width: 130px;
		
		text-align: right;
		font-weight: bold;
		color: #C4122F;
		line-height: 24px;
	}
.calc-radio-input {
	position: relative;
	top: 1px;
	float: left;
	
	box-sizing: border-box;
	display: block;
	width: 20px;
	height: 20px;
	
	border: 2px solid #000;
	border-radius: 50%;
	background-color: #FFF;
	
	-webkit-appearance: none !important;
}
.calc-radio-input:checked {
	border-color: #C4122F;
	background: #C4122F url("./checkbox.svg") no-repeat center center;
	background-size: contain;
}

.calc-subrow {
	margin: 15px 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-flow: row wrap;
}
.calc-subrow .calc-radio {
	margin-bottom: 0;
	white-space: nowrap;
	
}
.calc-subrow:last-child {
	margin-bottom: 0;
}


.calc-subrow .calc-notification {
	margin: 20px 0 ;
}


.calc-in-row {
	padding-top: 20px;
	width: 100%;
	display: flex;
	align-items: center;
	flex-flow: row wrap;
	justify-content: space-between;
}
.calc-in-row-title {
	margin-bottom: 10px;
	
	width: 100%;
	
	font-weight: bold;
}
.calc-in-row .calc-field-holder {
	width: 30%;
}


.calc-panel {
	position: relative;
	
	box-sizing: border-box;
	padding-left: 50px;
	
	background-repeat: no-repeat;
	background-position: 0 0;
}
.calc-panel .calc-title {
	cursor: pointer;
position: relative;
z-index: 20;
}
.calc-panel:after {
	content: "";
	
	position: absolute;
	left: -20px;
	top: -20px;
	right: -20px;
	bottom: -20px;
	
	display: block;
	
	border-radius: 14px;
	opacity: 0;
	background-color: rgba(0,0,0,0.05);
	
	transition: .2s opacity linear;
}

.calc-panel.disabled {
	opacity: 0.2;
	cursor: default;
}
.calc-panel.disabled .calc-title {
	cursor: default;
}
.calc-panel:not(.disabled):hover:after {
	opacity: 1;
}
.calc-panel-content {
	position: relative;
	z-index: 20;
	display: none;
}
.calc-panel.opened:not(.disabled) .calc-panel-content {
	display: block;
}
.calc-panel.opened:not(.disabled):after {
	display: none;
}

.calc-question {
	position: relative;
	top: -1px;
	left: 5px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 50%;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    
    transition: .2s background-color linear, .2s color linear;
}
.calc-question:hover {
	background-color: #C4122F;
	color: #FFF;
}
.tooltipster-sidetip .tooltipster-box {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 5px 10px;
  background: none;
  border: none;
  border-radius: 0;
  border: 1px solid #1d1d1d;
  background-color: #fff;
}
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background {
  top: -1px;
  border-top-color: #fff;
}
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border {
  top: 1px;
  border-top-color: #1d1d1d;
}
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background {
  top: 1px;
  border-bottom-color: #fff;
}
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border {
  top: -1px;
  border-bottom-color: #1d1d1d;
}
.tooltipster-sidetip .tooltipster-content {
  max-width: 200px;
  padding: 0;
  overflow: visible;
  line-height: inherit;
  color: inherit;
}


.calc-panel-select-all {
	margin-bottom: 20px;
}
.calc-panel-select-all a {
	border-bottom: 1px dashed #C4122F;
	
	color: #C4122F;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    
    transition: .2s border-bottom-color;
}
.calc-panel-select-all a:hover {
	border-bottom-color: transparent;
}



@media screen and (max-width: 960px) {
	.calc .calc-block {
		padding: 30px 20px;
	}
	.calc .calc-block .calc-block-inner {
		display: block;
	}
	.calc .calc-block .calc-block-inner .calc-block-info {
		margin-bottom: 30px;
		
		width: 100%;
	}
	.calc .calc-block .calc-block-inner .calc-block-fields {
		width: 100%;
	}
	.calc .calc-block .calc-block-inner .calc-block-fields .calc-title {
		margin: 40px 0 10px 0;
	}
	.calc .calc-block .calc-nav {
		display: block;
	}
	.calc .calc-block .calc-nav .calc-nav-info {
		display: none;
		width: 100%;
		
		text-align: center;
	}
	.calc .calc-block .calc-nav .calc-nav-content {
		width: 100%;
	}
	.calc .calc-block .calc-nav .calc-nav-content .calc-nav-summary {
		margin-bottom: 30px;
	}
	
	.calc-checkbox-control {
		width: calc(100% - 100px);
	}
	.calc-checkbox-price {
		width: 90px;
	}
	.calc-result-title {
		margin-bottom: 0;
		
		font-size: 28px;
		line-height: 38px;
	}
	.calc-result-title:after {
		margin-top: 20px;
	}
	.calc-result-block {
		padding: 30px 0;
	}
	.calc-result-block-title {
		margin-bottom: 20px;
		
		font-size: 18px;
		line-height: 26px;
	}
	.calc-subrow .calc-field-holder {
		max-width: 90px;
	}
}
/*** //Calc ***/

.calc-nav-info{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tnved__red{
    border-bottom: 1px solid red!important;
	--angle: 90deg;
}

input#calc-tnved.tnved__red + .calc-field-placeholder { color: red }

.calc-result-errors {
    text-align: center;
    font-size: 16px;
    color: red;
    /* font-weight: bold; */
}
.calc-result-errors a { color: red }
.calc-result-errors a:hover { text-decoration: none }