/*===================================*/
/*            Калькулятор            */
/*===================================*/
#calculator-main{
	display: flex;
	flex-wrap: wrap;
}
#calculator-main .calculator-main-inputs,
#calculator-main .calculator-additional-inputs{
	border: 1.5px solid #333;
	padding: 10px 15px;
	margin-bottom: 30px;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
#calculator-main{
	text-transform: none;
	font-family: 'Bebas Neue';
}
.calculator-wrapper h3{
	font-weight: 600;
	font-size: 24px;
	padding-left:10px;
	padding-bottom: 10px;
	margin-bottom: 0px;

}
#calculator-main .input-item-wrapper{
	padding:0px 10px 25px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
#calculator-main .category-item{
	display: none;
}
#calculator-main .category-item.active{
	display: block;
}
#calculator-main .input-item-wrapper label{
	font-weight: 400;
	display: block;
	width: 100%;
	font-size: 18px;
	text-align: left;
	padding: 13px 0px;
}
#calculator-main .weight-calculation-input,
#calculator-main .amount-input{
	display: none;
}
#calculator-main .weight-calculation-input.active,
#calculator-main .amount-input.active{
	display: block;
}
#calculator-main .input-item-wrapper input,
#calculator-main .input-item-wrapper select{
	width: 100%;
	background-color: #efefef;
	color: #666;
	font-size: 16px;
	height: 41px;
	line-height: normal;
	padding: 10px;
	border:none;
	outline:none;
	font-family: 'Bebas Neue'
}
#calculator-main .input-item-wrapper input:focus,
#calculator-main .input-item-wrapper select:focus,
#calculator-main .input-item-wrapper input:active,
#calculator-main .input-item-wrapper select:active{
	border:2px solid #333;
	border-radius: 3px;
}
#calculator-main .msk-china-delivery,
#calculator-main .china-msk-delivery,
#calculator-main .msk-china-pickup,
#calculator-main .china-msk-pickup{
	display: none;
}
#calculator-main .msk-china-delivery.active,
#calculator-main .china-msk-delivery.active,
#calculator-main .msk-china-pickup.active,
#calculator-main .china-msk-pickup.active{
	display: block;
}
#calculator-main .totals-wrapper{
	margin-bottom: 30px;
	width: calc(50% - 10px);
	margin-right: 10px;
	border: 1.5px solid #333;
	padding: 10px 15px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}
#calculator-main .additional-totals{
	margin-left: 10px;
	margin-right: 0px;
}
#calculator-main .additional-totals > *{
	width: 100%;
}
#calculator-main .totals-wrapper h3{
	margin-bottom: 20px;
	position: relative;

}
#calculator-main .totals-wrapper h3:after{
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 10px;
	height: 0px;
	width: 80%;
	border-bottom: 1px solid #333;
}
#calculator-main .totals-wrapper .total-item{
	padding-left: 10px;
	height: 43px;
	display: flex;
	align-items: center;
	font-size: 18px;
}
#calculator-main .totals-wrapper .total-item .total-value span.valuta{
	font-size:16px;
}
#calculator-main .totals-wrapper .total-item .total-name{
	width: 50%;
}
#calculator-main .totals-wrapper .total-item.subtotal{
	font-size: 20px;
	font-weight: 600;
	height: 50px;
	margin-top: auto;
}
#calculator-main .totals-wrapper .total-item.subtotal .valuta{
	font-size: 18px;
}
#calculator-main .result{
	position: relative;
	padding-top: 30px;
	width: 100%;
}
#calculator-main .result:before{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0px;
	height: 0px;
	width: 100%;
	border-bottom: 1.5px solid #333;
}
#calculator-main .result-item{
	font-size: 36px;
	padding-bottom: 20px;
	font-weight: 600;
}
#calculator-main .result-item .valuta{
	font-size: 34px;
	margin-top: -2px;
	margin-left: 2px;
}
#calculator-main .course{
	margin-bottom: 30px;
	width: 100%;
	display: none;
}
#calculator-main .course.active{
	display: block;
}
#calculator-main .course-wrapper{
	font-size: 24px !important;
	font-weight: 600;
	border: 2px solid #333;
	padding:20px;
	text-align: center;
	width: 450px;
	max-width: 100%;
}
#calculator-main .course-wrapper p{
	margin-bottom: 0px;
	margin-bottom: 0px !important;
	line-height: 1.3;
	text-align: center;
}
#calculator-main .course-disabled{
	display: none !important;
}
#calculator-main .info-help{
	display: flex !important;
	align-items: center;
	position: relative;
}
#calculator-main .info-help .calculator-info-btn{
	content:"?";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	background-color: #000;
	border-radius: 50%;
	margin-right: 8px;
	cursor: pointer;
	color: #fff;
	font-size: 11px;
	margin-top: -3px;
	transition: all 0.25s ease;
	padding: 0;
}
#calculator-main h3.info-help .calculator-info-btn{
	width: 16px;
	height: 16px;
	margin-top: -4px;
	padding-left: 1px;
}
#calculator-main .info-help .calculator-info-btn:hover{
	cursor: pointer;
	transform: scale(1.2);
}
#calculator-main .result-item.info-help .calculator-info-btn{
	width: 20px;
	height: 20px;
	margin-top: -5.5px; 
}
#calculator-main .instructions > div{
	display: none;
}
#calculator-main .instructions > div.active{
	display: block;
}
#calculator-main .calculator-statistics{
	max-width: 100%;
}
#calculator-main .calculator-statistics-item{
	display: none;
}
#calculator-main .calculator-form-item{
	display: none;
}
#calculator-main .calculator-statistics-item.active,
#calculator-main .calculator-form-item.active{
	display: block;
}
#calculator-main .result-item .result-phys,
#calculator-main .result-item .result-jur{
	margin-left: 10px;
}
@media screen and (max-width: 1000px){
	#calculator-main .totals-wrapper .total-item .total-name {
		width: 60%;
	}
}
@media screen and (max-width: 768px){
	#calculator-main .totals-wrapper{
		width: 100%;
		margin-left:0px;
		margin-right:0px;
	}
	#calculator-main .result-item{
		font-size: 26px;
	}
	#calculator-main .result-item .valuta{
		font-size: 26px;
		margin-top: -1.5px;
		margin-left: 2px;
	}
}
@media screen and (max-width: 575px){
	#calculator-main .result-item{
		font-size: 20px;
	}
	#calculator-main .totals-wrapper .total-item{
		justify-content: space-between;
	}
	#calculator-main .totals-wrapper .total-item .total-name{
		width: auto;
	}
	#calculator-main .result-item .result-phys,
	#calculator-main .result-item .result-jur{
		font-size: 24px;
	}
	#calculator-main .result-item .valuta{
		font-size: 24px;
	}
}
@media screen and (max-width: 500px){
	#calculator-main .result-item > span{
		width: 100%;
		display: inline-block;
	}
	#calculator-main .result-item .result-phys,
	#calculator-main .result-item .result-jur,
	#calculator-main .result-item .valuta{
		width: auto;
	}
	#calculator-main .result-item .result-phys, #calculator-main .result-item .result-jur {
    margin-left: 0;
}

}


/* Calculator NEW */
#calcnew .category-direction {
	display: none;
}
#calcnew .category-direction.active {
	display: block;
}
#calcnew .pickup-type {
	display: none;
}
#calcnew .pickup-type.active {
	display: block;
}
#calcnew .delivery-type {
	display: none;
}
#calcnew .delivery-type.active {
	display: block;
}
#calcnew .units-depend {
	display: none;
}
#calcnew .units-depend.active {
	display: block;
}

#calcnew {
	display: flex;
	flex-wrap: wrap;
	text-transform: none;
	font-family: 'Bebas Neue';
}
.calcnew-block {
	border: 1px solid #333;
	padding: 30px 30px 10px;
	margin-bottom: 30px;
}
.calcnew-main-inputs, .calcnew-additional-inputs {
	width: 100%;
}
.calcnew-main-totals {
	width: calc(50% - 15px);
	margin-right: 30px;
}
.calcnew-additional-totals {
	width: calc(50% - 15px);
}

#calcnew h3{
	font-weight: 600;
	font-size: 24px;
	padding-bottom: 10px;
	margin: 0;
}
#calcnew .calcnew-block-result h3 {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #333;
}

.calcnew-row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 20px;
	gap: 10px;
	align-items: flex-end;
}
.calcnew-col {	
	flex: 1;
}
.calcnew-col-sm {
	flex: none;
}

.btn-remove-pack {
  color: red;
  background: rgba(255,0,0,0.15);
  border-radius: 0;
  font-size: 1.5rem;
  padding: 8px 16px;
	transition: all ease-in-out 0.15s;
}
.btn-remove-pack:hover, .btn-remove-pack:focus {
	color: #fff;
	background: red;
}
.btn-add-pack {
	color: #fff;
  font-size: 16px;
  font-family: 'Bebas Neue';
  padding: 6px 10px;
  background: #666;
  border-radius: 0;
	transition: all ease-in-out 0.15s;
}
.btn-add-pack:hover, .btn-add-pack:focus {
	background-color: #333;
	color: #fff;
}

.pack-footer {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 20px;
	align-items: center;
}
.pack-result span {
	font-weight: 700;
}

#calcnew .calcnew-field input,
#calcnew .calcnew-field select{
	width: 100%;
	background-color: #efefef;
	color: #666;
	font-size: 16px;
	height: 41px;
	line-height: normal;
	padding: 10px;
	border:none;
	outline:none;
	font-family: 'Bebas Neue'
}
#calcnew .calcnew-field input:focus,
#calcnew .calcnew-field select:focus,
#calcnew .calcnew-field input:active,
#calcnew .calcnew-field select:active{
	border:2px solid #333;
	border-radius: 3px;
}
#calcnew .calcnew-field label{
	font-weight: 400;
	display: block;
	width: 100%;
	font-size: 18px;
	text-align: left;
	padding: 13px 0px;
}
@media(min-width:769px) {
	#calcnew .calcnew-row:not(:first-child) .calcnew-field label {
		display: none;
	}
}
#calcnew .total-item {
	display: flex;
	margin-bottom: 20px;
}
#calcnew .total-name, #calcnew .total-value {
	flex: 1;
}
#calcnew .total-item-final {
	font-weight: 700;
}

#calcnew .result-item {
	font-weight: 600;
	font-size: 36px;
}

#calcnew .instructions > div{
	display: none;
}
#calcnew .instructions > div.active{
	display: block;
}
#calcnew .calculator-statistics{
	max-width: 100%;
}
#calcnew .calculator-statistics-item{
	display: none;
}
#calcnew .calculator-form-item{
	display: none;
}
#calcnew .calculator-statistics-item.active,
#calcnew .calculator-form-item.active{
	display: block;
}

@media screen and (max-width: 768px){
	#calcnew .calcnew-main-totals,
	#calcnew .calcnew-additional-totals{
		width: 100%;
		margin-left:0px;
		margin-right:0px;
	}
	#calcnew .result-item{
		font-size: 26px;
	}
	#calcnew .calcnew-col {
		flex: none;
		width: 100%;
	}
}
@media screen and (max-width: 575px){
	#calcnew .result-item{
		font-size: 20px;
	}	
	#calcnew .calcnew-block {
		padding: 20px 20px 10px;
	}
	#calcnew .calcnew-field label {
		padding-bottom: 4px;
	}
}