@media screen and (max-width: 1250px) {
	.guarantee_bnr {
		width: 100%;
	}

	#all > * {
		padding: 0 10px 0 10px;
		box-sizing: border-box;
	}
}

@media screen and (max-width: 1200px) {
	:root {--item-width: 100%;}

	.header_contacts {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin-left: 20px;
	}
	.line {
		width: 100%;
		margin: 0 10px;
	}

	.menu__list {
		padding: 0;
	}

	.menu__list > li {
		margin: 0px 5px 0px 5px;
	}

	.menu__list > li:first-child {
		margin-left: 20px;
	}

	.menu__list > li:last-child {
		margin-right: 20px;
	}

	.guarantee_text {
		background: url(/img/Vector.png) 272px 215px no-repeat;
		padding-bottom: 100px;
	}


	.questions .main {
		background-size: 124px;
		background-position-x: right;
		background-position-y: 0px;
    	padding-top: 20px;
	}

	.guarantee .main  {
		background-size: 239px;
		background-position-y: 100px;
    	background-position-x: right;
	}
}

@media screen and (max-width: 1024px)  {
	
	.header__container {
			height: 100%;
    		padding-bottom: 5px;
		}

	.guarantee_text {
		padding-top: 177px;
	}
	.guarantee_bnr {
	    display: flex;
	    width: 100%;
	    height: 100%;
	}

	.doc_box {
		flex-direction: column;
	}

	.document {
		background-position-x: -83px;
		background-position-y: 0px;
		background-size: 244px;
    	width: 100%;
    	height: 1210px;
	}

	.offer .main {
		background-position-x: right;
   		background-position-y: 0px;
    	background-size: 171px;
    	padding-top: 70px;
	}
	

}

@media screen and (max-width: 920px) {
	.calculation .main {background-size: 239px;}
	.all_calc {
    		flex-direction: column;
    		margin-top: 0px;
		}

	.all_calc > * {
			width: 100% !important;
		}

	.box_calc {margin-bottom: 43px;}	

	.box_calc > * {width: 100% !important;}

	.calc_summ {flex-direction: column;}
	.box_summ:nth-child(1) {margin-right: 0px;}
	.box_summ input {width: 100%;}

	.guarantee_bnr img {
		left: 52.92%;
	}

	.questions .main .tab {
		width: 100%;
	}
}

@media screen and (max-width: 767px) {
		h1, .h1 {
			font-size: 26px !important;
		}

		.guarantee_text span {
			font-size: 18px;
		}

		h2, .h2 {
			font-size: 24px;
		}

		h3, .h3 {
			font-size: 18px;
		}

		
		.ooo, .ip {
			left: 0;
			width: 100%;
			height: 100%;
		}

		.offer_box {
			flex-direction: column;
		}

		.offer_box div:nth-child(1) {
			margin-right: 0px; 
			margin-bottom: 50px;
		}

		

		.questions .main .tab {
			width: 100%;
			margin-top: 0px;
		}

		
		.cont {
			flex-direction: column;
			align-items: center;
			width: 100%;
		}

		.cont .tel {
			margin-right: 0px;
			margin-bottom: 17px;
			width: 100%;
		}
		.cont .tel > * {width: 100%;}

		.cont .btn {width: 100%;}

		.tab_box p {
			line-height: 15px;
		}

		.triangle {
			margin-left: 10px;
		}

		.guarantee .main {
			padding-bottom: 0;
		}

		.questions .main {
			padding-top: 90px;
		}

		.guarantee_text {
			align-items: center;
			 background: url(/img/Vector.png) 272px 215px no-repeat;
   			 padding-bottom: 200px;
   			 text-align: center;
   			 z-index: 10;
		}

		.guarantee_text ul {
			display: flex;
   			flex-direction: column;
    		align-items: center;
    		margin-top: 14px;
    		width: 288px;
		}

		.guarantee_text li:last-child {
			width: 220px;
		}

		.partner_img {
    		margin-top: 0px;
		}

		#modalleft img {
			display: none;
		}

		#modal {
			width: 320px;
		}

		#modalright {
		    width: 100%;
		    float: none;
		    display: flex;
		    flex-direction: column;
		    align-items: center;
		}

		#modalform .cons input, #modalform .cons button, #modalform .cons textarea {
			width: 100%;
		}

		.guarantee_bnr img {
			left: 35%;
		}

		.guarantee_bnr img {
    		position: absolute;
   			top: 577px;
    		width: 200px;
		}

}


@media screen and (max-width: 480px) {
    
    .header__logo {
        padding-left: 55px;
    }
    
    .header__logo .logo {
        line-height: 30px;
    }
    
    .header__logo .logo img {
        height: 30px;
        vertical-align: middle;
        margin-right: 10px;
    }
    
	.header__logo span {
                font-size: 12px;
                line-height: 17px;
                display: flex;
                width: 100%;
        }

     .header_contacts span {
     	font-size: 16px;
     	padding-bottom: 0px;
     }

     .header_contacts .btn {
     		font-size: 12px;
     		width: 140px;
     }

	.footer {
		align-items: center;
	}

	.footer p {
		margin-top: 43px;
		margin-bottom: 30px;
	}

	.footer .menu__body {
        display: flex;
        justify-content: center;
        position: relative;
        left: 0;
        background-color: unset;
        padding: 0;
	}

	.footer .menu__list {
		align-items: center;
		margin-top: 27px;
		margin-bottom: 37px;
	}

	.footer .logo {
		flex-direction: column;
    	align-items: center;
	}

	br {
			display: none;
	}

	.guarantee_text {
		background: url(/img/Vector.png) 207px 215px no-repeat;
	}

	#modal {
			width: 300px;
		}

	#modalform .cons {
    		width: 260px !important;
		}

}

@media screen and (max-width: 375px) {
		#modal {
			width: 260px;
		}

		#modalform .cons {
    		width: 260px !important;
		}
}
