.CalcBlock {
	display: flex;
	flex-flow: row wrap;
	margin-top: 60px;
	margin-bottom: 100px;
}

.CalcName {
	border-bottom: 2px solid #E0E0E0;
	width: 100%;
	margin: 15px 0;
	position: relative;
}

.CalcName > div {
	display: inline-block;
	font-weight: bold;
	font-size: 20px;
	line-height: 29px;
	color: #2BB3C0;
	border-bottom: 2px solid #2BB3C0;
	margin-bottom: -2px;
	padding: 0 5px 5px 3px;
}

.CalcName span {
	display: inline-block;
	padding-right: 25px;
}

.CalcLeft {
	padding-right: 23px;
	width: 51%;
}

.CalcRight {
	padding-left: 23px;
	width: 49%;
}

.CalcTypeList {
	display: flex;
	flex-flow: row wrap;
	margin: 10px -6px;
}

.CalcType {
	width: 30%;
	padding: 6px;
	display: flex;
	justify-content: center;
}
.CalcType > input {
	display: none;
}
.CalcType > label {
	background-color: #FFFFFF;
	box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
	border-radius: 3px;
	width: 100%;
	text-align: center;
	font-size: 14px;
	line-height: 110%;
	height: 125px;
	padding: 0 5px 10px;
	box-sizing: border-box;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	background-position-y: calc(50% - 10px);
	cursor: pointer;
	position: relative;
}

.CalcType > input:checked ~ label:before {
	background: linear-gradient(0deg, rgba(43, 179, 192, 0.5), rgba(43, 179, 192, 0.5));
	border: 1px solid #2BB3C0;
	box-sizing: border-box;
	box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	position: absolute;
	content: '';
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	z-index: 2;
}

.CalcImg {
	position: relative;
	border: 1px solid #F2F2F2;
	border-radius: 3px;
	margin-top: 50px;
}

.CalcImg input {
	width: 57px;
	height: 23px;
	border: 1px solid #2BB3C0;
	box-sizing: border-box;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.17);
	border-radius: 3px;
	text-align: center;
	color: #221F1C;
	position: absolute;
	pointer-events: none;
}

.CalcImg.vanna1 input[name="w1_img"] {
	left: 13%;
	top: 55%;
	transform: translate(-100%,-50%);
}

.CalcImg.vanna1 input[name="w2_img"] {
	left: 50%;
	top: 13%;
	transform: translateX(-50%);
}

.CalcImg.vanna1 input[name="w3_img"] {
	right: 12%;
	top: 55%;
	transform: translate(100%,-50%);
}


.CalcImg.vanna2 input[name="w1_img"] {
	left: 21%;
	top: 55%;
	transform: translate(-100%,-50%);
}

.CalcImg.vanna2 input[name="w2_img"] {
	left: 50%;
	top: 16%;
	transform: translateX(-50%);
}


.CalcImg.vanna3 input[name="w1_img"] {
	left: 16%;
	top: 60%;
	transform: translate(-100%,-50%);
}

.CalcImg.vanna3 input[name="w2_img"] {
	left: 50%;
	top: 13%;
	transform: translateX(-50%);
}

.CalcImg.vanna3 input[name="w3_img"] {
	right: 18.5%;
	top: 60%;
	transform: translate(100%,-50%);
}


.CalcLengthList {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-end;
}

.CalcLengthInput {
	max-width: 72px;
	text-align: center;
}

.CalcLengthInput input {
	width: 69px;
	background: #FFFFFF;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.17);
	border-radius: 3px;
	height: 28px;
	outline: none;
	border: none;
	padding: 0;
}

.CalcX {
	padding: 0 13px;
}

.CalcLengthList p {
	margin: 0;
	padding-left: 20px;
}

.CalcLengthInput > div {
	font-weight: bold;
	line-height: 24px;
	margin-bottom: -4px;
	padding-right: 4px;
}

.CalcLength {
	margin-bottom: 30px;
}
.help {
	position: absolute;
	border: none!important;
	right: 20%;
	padding: 10px!important;
	bottom: 0;
}
.helpLabel {
	width: 20px;
	height: 20px;
	background: url("img/help.svg") center no-repeat;
}
.helpHeader {
	font-weight: bold;
	font-size: 14px;
	line-height: 120%;
}
.helpBlock {
	background: #FFFFFF;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
	border-radius: 3px;
	width: 270px;
	display: none;
	font-size: 10px;
	line-height: 15px;
	color: #221F1C;
	padding: 20px 15px;
	position: absolute;
	left: 50%;
	bottom: 35px;
	transform: translateX(-50%);
}

.help:hover .helpBlock {
	display: block;
}

.CalcWidthInput {
	display: flex;
	color: #221F1C;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #F2F6F6;
	width: 85%;
}
.Calc input {
	text-align: center;
}
.CalcWidthInput input {
	background: #FFFFFF;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.17);
	border-radius: 3px;
	width: 65px;
	height: 28px;
	outline: none;
	border: none;
	padding: 0;
	text-align: center;
}

.CalcWidthInput p {
	margin: 0;
	padding-left: 20px;
}

.CalcWidthInput > div {
	width: 35%;
}

.CalcBorder {
	margin-top: 30px;
}

.CalcBorderList {
	display: flex;
	flex-flow: row wrap;
	margin: 5px -5px 20px;
}

.CalcBorderItem  {
	width: 20%;
	padding: 5px;
	display: flex;
	justify-content: center;
}
.CalcBorderItem  > input {
	display: none;
}
.CalcBorderItem  > label {
	width: 100%;
	text-align: center;
	font-size: 14px;
	line-height: 110%;
	box-sizing: border-box;
	cursor: pointer;
	position: relative;

}

.CalcBorderItem  > label img {
	box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
	border-radius: 3px;
	margin-bottom: 7px;
	overflow: hidden;
}

.CalcBorderItem  > input:checked ~ label:before {
	background: linear-gradient(0deg, rgba(43, 179, 192, 0.5), rgba(43, 179, 192, 0.5));
	border: 1px solid #2BB3C0;
	box-sizing: border-box;
	box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	position: absolute;
	content: '';
	left: 0;
	right: 0;
	top: 0;
	padding-top: 100%;
	z-index: 2;
}

.CalcWidthInput.hidden {
	display: flex!important;
	opacity: 0;
	visibility: hidden;
}

.CalcLength,
.CalcWidth,
.CalcBorder {
	width: 100%;
	margin: 0;
}

.CalcRight {
	display: flex;
	flex-flow: row wrap;
}

.CalcBorder {
	margin-top: auto;
}
.CalcBottom:before {
	background: #E0E0E0;
	border-radius: 3px;
	height: 2px;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	content: '';
}
.CalcBottom:after {
	background: #2BB3C0;
	border-radius: 3px;
	height: 2px;
	width: 50%;
	position: absolute;
	left: 0;
	top: 0;
	content: '';
}
.CalcBottom {
	margin-top: 40px;
	position: relative;
	padding-top: 10px;
	width: 100%;
	display: flex;
	flex-flow: row wrap;
}
.CalcProducts {
	width: 40%;
}
.CalcProductsHeader {
	font-weight: bold;
	font-size: 16px;
	line-height: 200%;
}

.CalcProductsList {
	display: flex;
	flex-flow: row wrap;
	margin: 0 -12px;
}

.CalcProductsItem {
	width: 95px;
	margin: 12px;
	font-size: 10px;
	line-height: 110%;
	text-align: center;

	color: #2BB3C0;
}

.CalcProductsItem img {
	filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.1));
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 10px;
}
.b24-form .b24-form-control-text {
	display: none!important;
}
.CalcNamePrice {
	font-weight: bold;
	font-size: 16px;
	line-height: 200%;
	color: #828282;
}

.blackBtn {
	background: #221F1C;
	border-radius: 3px;
	font-weight: bold;
	font-size: 16px;
	line-height: 24px;
	color: #FFFFFF;
	padding: 10px 38px;
	margin-left: 10px;
	cursor: pointer;
}
.CalcBottomTotal{
	display: flex;
	flex-flow: row wrap;
	align-items: flex-end;
	justify-content: space-around;
	width: 60%;
}

.CalcButtons {
	display: flex;
	flex-flow: row wrap;
	margin-bottom: 20px;
}

.CalcPrice {
	font-weight: bold;
	font-size: 36px;
	line-height: 200%;
	color: #221F1C;
}

@keyframes error {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
	}
}

.CalcBorderItem.error > label img {
	outline: 1px solid red;
	animation: error 0.5s linear;
}
.CalcBorderItem.error {
	color: red;
}

.adaptive {
	display: none!important;
}


@media (max-width: 992px){
	.help {
		display: none!important;
	}
	.CalcName span {
		display: inline-block;
		padding-right: 10px;
	}
	.CalcName > div {
		font-size: 18px;
	}
	.CalcBottomTotal {
		justify-content: right;
		text-align: right;
	}
	.CalcProductsItem {
		width: calc(33.33% - 24px);
	}
}

@media (max-width: 768px){
	.CalcButtons {
		width: 100%;
	}
	.adaptive {
		display: block!important;
	}

	.CalcLeft {
		padding-right: 0;
		width: 100%;
	}

	.CalcRight {
		padding-left: 0;
		width: 100%;
	}
	.CalcTypeList {
		justify-content: center;
	}
	.CalcName span {
		padding-right: 3px;
	}
	.CalcBlock {
		margin: 50px 0;
	}
	.CalcName {
		border: none;
		text-align: center;
	}
	.CalcName > div {
		font-size: 16px;
		line-height: 24px;
		border-bottom: none;
		margin-bottom: -2px;
		padding: 0;
	}
	.CalcType > label {
		height: 0;
		padding: 100% 0 0;
		background-size: 90%;
		background-position-y: center;
	}
	.CalcType > label > div {
		display: none;
	}
	.CalcImg {
		display: none;
	}

	.typeSelect input {
		height: 45px;
		padding: 10px 20px;
		box-sizing: border-box;
		background: #FFFFFF;
		border: 1px solid #2BB3C0;
		border-radius: 3px;
		width: 100%;
		font-weight: bold;
		color: #2BB3C0;
	}

	.typeSelect input.noactive {
		background: #F2F6F6;
		border: none;
		color: #221F1C;
	}

	.typeSelect:before {
		content: '';
		position: absolute;
		width: 13px;
		height: 8px;
		right: 10px;
		top: calc(50% - 4px);
		background: url(img/arr.svg) center no-repeat;
		transition: 0.2s;
	}

	.typeSelect ul {
		list-style: none;
		height: 0;
		overflow: auto;
		margin: 0;
		padding: 0;
		transition: 0.3s linear;
		position: absolute;
		top: 50px;
		width: 100%;
		z-index: 3;
		box-sizing: border-box;
	}
	.typeSelect ul li {
		background: #F2F6F6;
		border: none;
		box-sizing: border-box;
		border-radius: 3px;
		color: #828282;
		font-weight: bold;
		padding: 15px 20px;
		margin-bottom: 1px;
	}
	.typeSelect ul li.active {
		background: #2BB3C0;
		color: #fff;
	}
    .typeSelect {
        position: relative;
    }
	.typeSelect.active:before {
		transition: 0.2s;
		transform: rotate(180deg);
	}
	.typeSelect ul.active {
		height: 180px;
		transition: 0.3s linear;
		background: #FFFFFF;
		padding: 0 5px;
	}

    .CalcLeft,
    .CalcLength,
    .CalcWidth,
    .CalcBorder,
    .CalcLength {
        display: none;
    }

    .CalcLeft.active,
    .CalcLength.active,
    .CalcWidth.active,
    .CalcBorder.active,
    .CalcLength.active {
        display: block;
    }
    .button1 {
        padding: 14px!important;
        width: 100%;
    }
    [data-event="podbor"] {
        display: none!important;
    }

    .typeSelect {
        margin-bottom: 40px;
    }

    .button1[data-next="2"] {
		margin-top: 100px;
    }

	.mobileBtns {
		display: flex;
		margin-top: 100px;
	}
    .blackBtn {width: 100%;
    margin-top: 10px}
    .CalcDots {
        text-align: center;
        padding: 0;
        list-style: none;
        width: 100%;
        position: absolute;
        left: 0;
        bottom: 115px;
    }
.CalcButtons {
    margin-top: 50px;
}
    .CalcDots li {
        background: #E0E0E0;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin: 6px;
        display: inline-block;
    }
    .Calc {
        position: relative;
        overflow: hidden;
    }
    .CalcDots li.active {
        background: #326276;
    }


    .CalcLengthInput {
        position: relative;
    }
    .CalcLengthInput:before {
        content: 'мм';
        position: absolute;
        left: 50%;
        bottom: -21px;
        transform: translateX(-50%);
        font-size: 14px;
        line-height: 21px;
    }
    .CalcLengthList p {
        display: none;
    }
    .help {
        display: none!important;
    }
    .CalcLengthList {
        justify-content: center;
    }

    .CalcWidthInput {
        display: block;
        color: #221F1C;
        padding: 0;
        border-bottom: none;
        width: auto;
        margin: 0 10px;
    }

    .CalcWidthInput > div:first-child {
        font-size: 0;
        position: relative;
    }
    .CalcWidthInput > div:first-child:before {
        content: 'A';
        font-weight: bold;
        font-size: 16px;
        line-height: 24px;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        text-align: center;
    }
    .CalcWidthInput:nth-child(2) > div:first-child:before {
        content: 'B';
    }
    .CalcWidthInput:nth-child(3) > div:first-child:before {
        content: 'C';
    }
    .CalcWidthList {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .CalcWidthInput > div {
        width: 100%;
    }
    .CalcWidthInput.hidden {
        display: none!important;
    }

    .CalcWidthInput p {
        margin: 0;
        padding-left: 0;
        text-align: center;
    }

    .CalcBorderList {
        display: flex;
        flex-flow: row wrap;
        margin: 0;
    }

    .CalcBorderItem {
        padding: 0;
    }

    .CalcBorderSlider {
        width: 70vw;
        margin: auto;
        overflow: hidden;
        position: relative;
    }
    .CalcBorderItem > label img {
        margin-bottom: 37px;
    }
    .CalcBorderItem > label > div {
        height: 36.9px;
        background: #F2F6F6;
        border-radius: 3px;
        font-size: 14px;
        line-height: 110%;
        text-align: center;
        padding: 10px 0;
    }

    .CalcBorderRight {
        right: 0;
        position: absolute;
        bottom: 0;
        width: 36px;
        height: 36px;
        border: none;
    }
    .CalcBorderRight:before {
		border-radius: 50%;
        content: '';
        position: absolute;
        left: 10px;
        top: 10px;
        width: 16px;
        height: 16px;
        background: #221F1C url(/img/right.svg) center no-repeat;
    }
    .CalcBorderLeft{
        position: absolute;
        left: 0;
        bottom: 0;
        width: 36px;
        height: 36px;
        border: none;

    }
    .CalcBorderLeft:before {
		border-radius: 50%;
        content: '';
        position: absolute;
        left: 10px;
        top: 10px;
        width: 16px;
        height: 16px;
        background: #221F1C url(/img/right.svg) center no-repeat;
        transform: rotate(180deg);
    }
    .CalcProducts {
        width: 100%;
    }
    .CalcBottom:before,
    .CalcBottom:after {
        display: none;
    }
    .CalcProductsHeader {
        text-align: center;
        color: #2BB3C0;
    }
	.CalcBottomTotal > div:first-child {
		display: flex;
		flex-flow: row wrap;
		align-items: flex-end;
		justify-content: space-around;
		width: 100%;
	}
    .CalcBottomTotal{
        width: 100%;
    }
    .CalcBottom {
        margin-top: 0;
        position: relative;
        padding-top: 0;
    }
    .CalcProductsItem {
        width: calc(33% - 24px);
    }

    .CalcBottom.active ~.CalcDots {
        bottom: 150px;
    }
    .blackBtn {
        margin-left: 0;
        text-align: center;
        width: 100%;
        margin-top: 10px;
    }
	.mobileBtns {
		display: flex!important;
		justify-content: space-between;
	}
	.mobileBtns .whiteBtn {
		min-width: auto;
		width: 59px;
		margin-bottom: 0;
		box-shadow: none;
		border: 1px solid #2BB3C0;

	}

	.mobileBtns .button1 {
		width: calc(100% - 69px);
	}
	.CalcLengthInput input {
		width: 85px;
		height: 40px;
	}
	.CalcLengthInput {
		max-width: 85px;
	}
	.CalcX {
		padding: 0 8px;
	}
	.CalcWidthInput {
		text-align: center;
		margin: 0 8px;
	}
	.CalcWidthInput input {
		width: 85px;
		height: 40px;
	}

	.CalcBorderItem > input:checked ~ label:before {
		display: none;
	}
}

@media (max-width: 340px) {
	.CalcX {
		padding: 0 4px;
	}
	.CalcWidthInput {
		margin: 0 4px;
	}
}