body.t-body {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-tap-highlight-color: transparent;
}

/* Калькулятор. Начало */
/*#rec665548595 .t-width {*/
/*	display: flex;*/
/*	align-items: center;*/
/*	height: 800px;*/
/*	background: url("https://static.tildacdn.com/tild6364-6530-4131-b036-356137323033/calc-bg.jpg") center/cover no-repeat;*/
/*}*/

#calc {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 80px;
    font-family: 'TildaSans',Arial,sans-serif;
    color: #ffffff;
    box-sizing: border-box;
    background: #434343 url(https://static.tildacdn.com/tild6364-6530-4131-b036-356137323033/calc-bg.jpg) center/cover no-repeat;
}

/*#calc:before {*/
/*    content: '';*/
/*	position: absolute;*/
/*	bottom: -40px;*/
/*	left: 15vw;*/
/*	z-index: 1;*/
/*	width: 15vw;*/
/*	height: 12vw;*/
/*	max-width: 175px;*/
/*	max-height: 150px;*/
/*	background: url(https://thumb.tildacdn.com/tild6536-3863-4138-a166-366634663363/-/resize/368x/-/format/webp/-15.png) center/cover no-repeat;*/
/*}*/

#calc * {
    transition: all .5s ease;
}

#calc .calc__wrapper {
    position: relative;
    z-index: 2;
}

#calc .calc__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

#calc .calc__row:last-child {
    margin-bottom: 0;
}

#calc .calc__row > div {
    flex: 1 0 50px;
    text-align: left;
}

#calc .calc__row input {
    width: 100%;
    outline: none;
}

#calc .calc__first-row {
    font-size: 28px;
    font-weight: 400;
}

#calc .calc__first-row > div {
    display: flex;
	flex-flow: column;
	justify-content: space-between;
}

#calc .calc__first-row span {
	margin: 5px 0 15px 0;
}

#calc .calc__first-row span,
#calc .calc__second-row span {
	font-size: 46px;
	font-weight: 600;
}

#calc .calc__first-row small,
#calc .calc__second-row small {
    font-size: x-large;
}

#calc .calc__first-row input[name="cost-text"],
#calc .calc__first-row input[name="initial-payment-text"] {
	margin: 5px 0 13px 0;
	padding: 0 8px;
	font-size: 46px;
	font-weight: 600;
	line-height: 1;
	color: #b5a482;
    box-sizing: border-box;
}

#calc .calc__first-row input[type="range"] {
	-webkit-appearance: none;
	position: relative;
	display: block;
	height: 2px;
	margin: 0;
	border-radius: 0;
	background: #b5a482;
	cursor: pointer;
}

#calc .calc__first-row input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border: 1px solid #f9f9f9;
	border-radius: 50%;
	background: #ffffff;
	cursor: ew-resize;
	background: linear-gradient(145deg, #d9d9d9 30%, #ffffff);
	box-shadow: 2px 2px 10px #0000003d, -2px -2px 10px #ffffff14;
}

#calc .calc__first-row input[type="range"]::-moz-range-thumb {
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border: 1px solid #f9f9f9;
	border-radius: 50%;
	background: #ffffff;
	cursor: ew-resize;
	background: linear-gradient(145deg, #d9d9d9 30%, #ffffff);
	box-shadow: 2px 2px 10px #0000003d, -2px -2px 10px #ffffff14;
}

#calc .calc__second-row {
    font-size: 18px;
    font-weight: 500;
}

#calc .calc__second-row span {
    display: inline-block;
    margin-top: 5px;
}

#calc .calc__third-row {
    flex-direction: row-reverse;
}

#calc .calc__submit {
    position: relative;
    display: block;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #b5a482;
    background: #ffffff;
    border: 1px solid transparent;
    overflow: hidden;
    transition: all .5s ease;
}

#calc .calc__submit:hover {
	color: #ffffff;
	background: #cfb78d;
	border: 1px solid #ffffff;
}



@media screen and (max-width: 1200px) {
    #calc {
        padding: 40px 60px;
    }

    #calc .calc__first-row {
        font-size: 1.8vw;
    }
    
    #calc .calc__first-row span,
    #calc .calc__first-row input[name="cost-text"],
    #calc .calc__first-row input[name="initial-payment-text"],
    #calc .calc__second-row span {
    	font-size: 40px;
    }
}

@media screen and (max-width: 960px) {
    #calc .calc__first-row {
    	font-size: 16px;
    	font-weight: 500;
    }

    #calc .calc__first-row > div {
        min-height: 60px;
    }

    #calc .calc__first-row span,
    #calc .calc__first-row input[name="cost-text"],
    #calc .calc__first-row input[name="initial-payment-text"],
    #calc .calc__second-row span {
        font-size: 4vw;
    }

    #calc .calc__first-row small,
    #calc .calc__second-row small {
        font-size: medium;
    }

    #calc .calc__second-row {
    	font-size: 15px;
    	font-weight: 500;
    }

    #calc .calc__submit {
        padding: 14px 24px;
        font-size: 16px;
    }
}

@media screen and (max-width: 640px) {
    #calc:before {
        bottom: 20px;
    }

    #calc .calc__row {
        flex-flow: column nowrap;
        gap: 20px; 
    }

    #calc .calc__first-row > div,
    #calc .calc__second-row > div {
        width: 100%;
        min-height: unset;
    }

    #calc .calc__first-row span,
    #calc .calc__first-row input[name="cost-text"],
    #calc .calc__first-row input[name="initial-payment-text"],
    #calc .calc__second-row span {
    	font-size: 6vw;
    }

    #calc .calc__first-row small,
    #calc .calc__second-row small {
        font-size: x-large;
    }
}

@media screen and (max-width: 480px) {
    /*#rec665548595 .t-width {*/
    /*    height: 940px;*/
    /*}*/

    #calc {
        padding: 40px;
        background-position-x: 35%;
    }
    
    #calc:before {
        left: 60vw;
        width: 40vw;
        height: 34vw;
        bottom: 220px;
    }

    #calc .calc__first-row,
    #calc .calc__second-row {
    	font-size: 4.3vw;
    }
    
    #calc .calc__first-row span,
    #calc .calc__first-row input[name="cost-text"],
    #calc .calc__first-row input[name="initial-payment-text"],
    #calc .calc__second-row span {
    	font-size: 8vw;
    }

    #calc .calc__submit {
        width: calc(100% - 50px);
    }
}

/* Калькулятор. Конец */


.back-button {
	position: fixed;
	bottom: 40px;
	right: 0;
	display: block;
	padding: 14px 24px;
	font-family: TildaSans, Arial, sans-serif;
	color: #ffffff !important;
	background: linear-gradient(90deg, #d3b589 50%, #e9cda2 75%, #ad8f62 100%);
	box-shadow: 5px 5px 8px rgb(30 30 30 / 50%);
	transition: all .5s ease;
	transform: translateX(100%);
	animation: 2.5s show-button forwards ease;
}

@keyframes show-button {
    80% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0%);
    }
}