.form_popup{
	z-index: 9999999999999;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	overflow-y: scroll;
}
.is-hidden {
	display: none;
}
.medal_wrap{
	margin: 0 auto;
	position: relative;
	top: 15vh;
	padding: 2.5vw;
	-webkit-box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
	background-color: #ffffff;
	width: 100%;
	max-width: 472px;
	margin-bottom: 8vw;
	z-index: 22;
	-webkit-animation: zoomShow 0.3s ease;
	-moz-animation: zoomShow 0.3s ease;
	-o-animation: zoomShow 0.3s ease;
	animation: zoomShow 0.3s ease;
}
@keyframes zoomShow {
	0% {
		transform: scale(0.8);
	}

	100% {
		transform: scale(1);
	}
}
@-webkit-keyframes zoomShow {
	0% {
		transform: scale(0.8);
	}

	100% {
		transform: scale(1);
	}
}
.medal_wrap .close{
	position: absolute;
	top: 0;
	right: 0;
	width: 2.5520833333333335vw;
	height: 2.5520833333333335vw;
	cursor: pointer;
	color: #fff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-transition: background-color .3s;
	-o-transition: background-color .3s;
	transition: background-color .3s;
	background-color: rgb(0 0 0 / 63%);  
}
.medal_wrap .close svg{
	fill: #fff;
	width: 1vw;
	height: 1vw; 
}
.medal_wrap .title{
	font-size: 1.35vw;
	color: #000;
	font-weight: bold;
	line-height: 1.25;
	margin-bottom: 0.78vw;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding-right: 1vw;
}
.medal_wrap form{
	position: relative;
	margin: 0;
}
.medal_wrap input{
	width: 100%;
	height: 2.66vw;
	display: flex;
	align-items: center;
	padding: 0 1.35vw;
	border: 1px solid #000000;
	margin-bottom: 1.04vw;
	border-radius: 5px;
	box-shadow: 0px 4px 4px 0px #0000001F;
	color: #000;
	line-height: 1;
	font-weight: 700;
	font-size: 0.83vw; 
}
.agreement{
	font-size: 0.63vw;
	line-height: 1;
	font-weight: 600;
	color: #444547;
	margin-bottom: 0.78vw;
	display: flex;
	align-items: center;
}
.agreement a{
	color: #000;
	text-decoration: underline;
}
.agreement a:hover{text-decoration: none;}
.medal_wrap button{
	position: relative;
display: flex;
align-items: center;
justify-content: center;
height: 2.66vw;
cursor: pointer;
outline: none;
text-decoration: none;
font-size: 0.83vw;
line-height: 1;
font-weight: 600;
color: rgb(255 255 255);
text-align: center;
border-radius: 5px;
background-color: #000;
box-sizing: border-box;
border: none;
transition: background-color 0.2s;
width: 100%;
}
@media (max-width: 840px) {
	.medal_wrap{padding: 3rem;}
	.medal_wrap .close{width: 3rem;height: 3rem;}
	.medal_wrap .close svg{width: 1.5rem;height: 1.5rem;}
	.medal_wrap .title{margin-bottom: 1rem;padding: 0;font-size: 20px;}
	form input, form textarea{font-size: 16px;margin-bottom: 20px;padding: 0 26px;height: 51px;}
	form textarea{padding: 15px 26px;min-height: 149px;max-height: 149px;}
	.agreement{font-size: 12px;margin-bottom: 15px;}
	.agreement .custom-checkbox+label::before{width: 23px;height: 23px;}
	button.button_form, .input-file .input-file-btn{height: 51px;font-size: 16px;}
}

.messageBlockForm {
	display: none;
}
.messageBlockForm.active {
	display: block;
}




.header-block__contacts{display: flex;gap: 0 1rem;order: 2;}
.header-block__contacts .contacts{	
	position: relative;
	display: flex;
	flex-direction: column;
	-webkit-transition: .5s linear;
	-o-transition: .5s linear;
	-moz-transition: .5s linear;
      margin-bottom: 0;
}
.header-block__contacts .contacts .phone{
	display: block;
	color: #000;
	font-style: normal;
	font-weight: 600;
	font-size: 1.15vw;
	-webkit-transition: .3s linear;
	-o-transition: .3s linear;
	-moz-transition: .3s linear;
	text-decoration: none;
}
.header-block__contacts .contacts .phone:hover{text-decoration: underline;}
.header-block__contacts .contacts .email{
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	color: #ff9900;
	cursor: pointer;
	text-decoration: underline;
	-webkit-transition: .3s linear;
	-o-transition: .3s linear;
	-moz-transition: .3s linear;
}
.messager{position: relative;display: flex;gap: 0.5vw;}
.messager a{
	background: rgba(255, 255, 255, 0.28);
	width: 1.8vw;
	height: 1.8vw;
	font-size: 0;
	padding: 0.3vw;
	border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
	-webkit-transition: .3s linear;
	-o-transition: .3s linear;
	-moz-transition: .3s linear;
	cursor: pointer;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.messager a::before {
	content: "";
	width: 1.042vw;
	height: 1.042vw;
}
.messager .fa-whatsapp::before{background: url(/image/whatsapp.svg) no-repeat;}
.messager .fa-telegram::before{background: url(/image/telegram.svg) no-repeat;}
.messager .fa-maxcdn::before{background: url(/image/max.svg) no-repeat;}
.messager .fa-whatsapp {background: #07b104;}
.messager .fa-telegram {background: #1396fd;}
.messager .fa-maxcdn {background: #0543bb;}
.messager a:hover{opacity: .8;}
  
@media (max-width: 600px) {
.header-block__contacts{flex-direction: column;align-items: baseline;gap: .5rem;padding-right: 15px;}
.header-block__contacts .contacts .phone{font-size: 14px;}
.header-block__contacts .contacts .email{font-size: 10px;}
.messager{gap: 1vw;}
.messager a{width: 25px;height: 25px;}
.messager a::before {content: "";width: .8rem;height: .8rem;}
main{padding: 45px 0;}
}