.page-title {
	padding: 24px 0;
	text-align: center;
	background: #f8f8f8 url(contacts-bg.jpg) center center no-repeat;
	background-size: cover;
	letter-spacing: -0.1px;
	color: #000000;
}

h1 {margin: 0; font-size: inherit; line-height: inherit;}

.mg-contacts__wrap {
	padding-top: 32px;
	padding-bottom: 32px;
}

.mg-contacts__box {	box-sizing: border-box; }

.mg-contacts__box + .mg-contacts__box {	margin-top: 24px; }

.box-light {
	border: 2px solid #F5F6FA;
	box-sizing: border-box;
	border-radius: 14px;
	background: #fff;
	padding: 22px;
}

.box-dark {
	background: #FBFBFB;
	border: 2px solid #F5F6FA;
	box-sizing: border-box;
	border-radius: 14px;
	padding: 22px;
}

.mg-contacts__box-title-wrapper {
	display: flex;
	align-items: center;
	margin-bottom: 24px;
}

.mg-contacts__box-title {
	flex: 1 0 1%;
	font-family: 'Montserrat';
	font-weight: 500;
	letter-spacing: -0.4px;
	color: #000000;
	font-size: 18px;
	line-height: 150%;
	margin: 0;
}

.mg-contacts__box-ico {
	width: 40px;
	height: 40px;
	display: flex;
	background: #F8F8F8;
	border-radius: 50%;
	box-sizing: border-box;
	flex: none;
	justify-content: center;
	align-items: center;
}

.box-dark .mg-contacts__box-ico {background: #fff;}

.mg-contacts__box-ico svg {
	width: 20px;
	height: 20px;
}

.mg-contacts__wrap .mg-form__field-title {
	font-size: 14px;
	line-height: 20px;
	letter-spacing: -0.1px;
	color: #333333;
	margin-bottom: 3px;
}

.mg-contacts__wrap .mg-form__field-title-mark {color: red;}

.mg-contacts__wrap input[type="text"], .mg-contacts__wrap textarea {
	background: #fff;
	border: 2px solid #E1E1E1;
	box-sizing: border-box;
	border-radius: 8px;
	height: 48px;
	width: 100%;
	padding: 0 16px;
	outline: none;
}

.mg-contacts__wrap input[type="checkbox"] {
	width: 20px;
	height: 20px;
	border: 2px solid #E1E1E1;
	border-radius: 3px;
	box-sizing: border-box;
	flex: none;
	margin-right: 14px;
}

.mg-contacts__wrap .mg-form__field-checkbox ul {
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: -0.1px;
	color: #999999;
}

.mg-contacts__wrap .mg-form__field-checkbox ul a {color: #244ED5;}

.mg-contacts__wrap .mg-form__field-checkbox label { display: flex; }

.mg-contacts__wrap textarea {
	padding: 16px;
	height: 136px;
}

.mg-contacts__wrap .mg-form__field { margin-bottom: 16px; position: relative;}

.mg-contacts__wrap .mg-form__field-button {
	margin-bottom: 0;
	margin-top: 24px;
}

.mg-contacts__wrap button {
	background: linear-gradient(180deg, #47C634 0%, #2DBF60 100%);
	border: 1px solid #2FC05F;
	box-shadow: 0px 8px 12px rgba(45, 191, 96, 0.30025);
	border-radius: 48px;
	width: 100%;
	font-weight: 600;
	font-size: 18px;
	line-height: 24px;
	text-align: center;
	letter-spacing: -0.1px;
	color: #FFFFFF;
	padding: 14px;
	cursor: pointer;
}

.mg-contacts__wrap button:hover {
	background: linear-gradient(180deg, #51D53D 0%, #2DBF60 100%);
	box-shadow: 0px 8px 12px rgba(45, 191, 96, 0.30025);
}

.mg-contacts__wrap button:active {
	background: linear-gradient(180deg, #2EBF5F 0%, #2EBF5F 100%);
	box-shadow: none;
}

.mg-contacts__worktime {
	font-weight: 400;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: -0.1px;
	color: #212121;
	margin-bottom: 8px;
}

.mg-contacts__is-opened {
	display: inline-block;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: -0.1px;
	padding: 8px 16px;
	border-radius: 4px;
	margin-bottom: 24px;
}

.mg-contacts__is-opened.opened {
	background: #D9F2D8;
	color: #13AB41;
}

.mg-contacts__is-opened.closed {
	background-color: #ffe6e9;
	color: #d66466;
}

.mg-contacts__contact-phone-title {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.1px;
	color: #909090;
}

.mg-contacts__contact-phone {
	font-weight: 400;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: -0.1px;
	color: #212121;
	margin-bottom: 24px;
}

.mg-contacts__contact-phone:last-child {margin-bottom: 0;}

.mg-contacts__contact-phone a {
	color: inherit;
	text-decoration: none;
}

.mg-contacts__mail-button {
	display: flex;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: -0.1px;
	color: #000000;
	text-decoration: none;
	padding: 14px 0;
	border: 2px solid #2DBF60;
	box-sizing: border-box;
	border-radius: 96px;
	justify-content: center;
	align-items: center;
	transition: all 0.2s;
}

.mg-contacts__mail-button:hover {
	border: 2px solid #2DBF60;
	box-shadow: 0px 8px 16px rgba(45, 191, 96, 0.25);
}

.mg-contacts__mail-button:active {
	background: #EAF9F0;
	border: 2px solid #2DBF60;
	box-shadow: none;
}

.mg-contacts__mail-button span:first-child {font-size: 0; margin-right: 8px; line-height: 0;}

.mg-contacts__mail-button svg {
	width: 24px;
	height: 24px;
}

.mg-contacts__office { margin-bottom: 24px; }

.mg-contacts__office-title-wrapper {
	display: flex;
	margin-bottom: 7px;
	align-items: center;
}

.mg-contacts__office-title-ico {
	width: 24px;
	height: 24px;
	margin-right: 16px;
}

.mg-contacts__office-title-ico img {
	width: 100%;
	height: 100%;
}

.mg-contacts__office-title {
	font-size: 18px;
	line-height: 24px;
	letter-spacing: -0.1px;
	color: #000000;
}

.mg-contacts__office-title a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	transition: all 0.2s;
}

.mg-contacts__office-title a:hover {
	border-bottom-color: #fff;
}

.mg-contacts__office-text {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.1px;
	color: #909090;
}

mg-contacts__office-text p {
	margin: 0;
}

.mg-contacts__office .mg-contacts__contact-phone {margin: 8px 0;}

.mg-contacts__filial { margin-bottom: 24px;}

.mg-contacts__filial:last-child {margin-bottom: 0;}

.mg-contacts__filial-title-wrapper {
	display: flex;
	align-items: center;
	margin-bottom: 7px;
}

.mg-contacts__filial-title-ico {
	flex: none;
	width: 32px;
	height: 32px;
	margin-right: 16px;
}

.mg-contacts__filial-title {
	font-size: 18px;
	line-height: 24px;
	letter-spacing: -0.1px;
	color: #000000;
}

.mg-contacts__filial-title a {
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid currentColor;
	transition: all 0.2s;
}

.mg-contacts__filial-title a:hover { border-bottom-color: #fff; }

.mg-contacts__filial-phone {
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: -0.2px;
	color: #212121;
	margin-bottom: 8px;
}

.mg-contacts__filial-phone:last-child {margin-bottom: 0;}

.mg-contacts__filial-phone a {
	color: inherit;
	text-decoration: none;
}

.mg-contacts__socials { margin-bottom: 24px; }

.mg-contacts__social-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.mg-contacts__social-item {
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: all 0.2s;
}

.mg-contacts__social-item:hover {
	transform: translateY(-2px);
}

.mg-contacts__social-item-ico {
	flex: none;
	margin-right: 8px;
	line-height: 0;
}

.mg-contacts__social-item-text {
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.1px;
	color: #0369D9;
}

.mg-contacts__social-item + .mg-contacts__social-item {margin-top: 16px;}

.mg-contacts__box-button {
	display: flex;
	align-items: center;
	background: #FBFBFB;
	border: 2px solid #F5F6FA;
	box-sizing: border-box;
	border-radius: 14px;
	transition: all 0.2s;
	text-decoration: none;
	padding: 23px 22px;
}

.mg-contacts__box-button:hover { background: #fff;}

.mg-contacts__box-button:active {
	background: #F5F6FA;
	border: 2px solid #F5F6FA;
}

.mg-contacts__box-button + .mg-contacts__box-button {margin-top: 24px;}

.mg-contacts__box-button-ico {
	width: 40px;
	height: 40px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #CFF5B8;
	border-radius: 50%;
}

.mg-contacts__box-button:last-child .mg-contacts__box-button-ico {
	background: #FFDBC6;
}

.mg-contacts__box-button-text { flex: 1 0 1%; }

.mg-contacts__box-button-text span:first-child {
	display: block;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: -0.5px;
	color: #333333;
	margin-bottom: 2px;
}

.mg-contacts__box-button-text span:last-child {
	font-size: 16px;
	line-height: 18px;
	letter-spacing: -0.1px;
	color: #0369D9;
	position: relative;
	padding-right: 19px;
}

.mg-contacts__box-button-text span:last-child:before {
	position: absolute;
	width: 13px;
	height: 10px;
	top: 50%;
	right: 0;
	margin-top: -5px;
	content: "";
	background-image: url("data:image/svg+xml,%3Csvg width='13' height='10' viewBox='0 0 13 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.4 9.8a1 1 0 01-.2-1.4L9 6H1a1 1 0 010-2h8L7.2 1.6A1 1 0 118.8.4l2.992 3.99.017.022.441.588-.445.594-.009.011L8.8 9.6a1 1 0 01-1.4.2z' fill='%230369D9'/%3E%3C/svg%3E");
}

.mg-contacts__box-button-ico img {
	width: 23px;
	height: 23px;
}

.regions-popup {
	position: fixed;
	z-index: 6;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
}

.regions-popup.opened {
	visibility: visible;
	opacity: 1;
}

.regions-popup__inner {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	overflow: auto;
	padding: 16px;
	box-sizing: border-box;
	text-align: center;
}

.regions-popup__inner:before {
	display: inline-block;
	vertical-align: middle;
	content: "";
	width: 0;
	height: 100%;
}

.regions-popup__content {
	display: inline-block;
	vertical-align: middle;
	width: 712px;
	max-width: 100%;
	background: #fff;
	text-align: left;
	padding: 36px 24px 32px;
	border-radius: 16px;
	position: relative;
	box-sizing: border-box;
}

.regions-popup__title {
	font-weight: 500;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: -0.1px;
	color: #000000;
	margin-bottom: 28px;
}

.regions-popup__close {
	position: absolute;
	right: 24px;
	top: 24px;
	width: 48px;
	height: 48px;
	display: flex;
	background: #F8F8F8;
	border: none;
	outline: none;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	line-height: 0;
	cursor: pointer;
}

.regions-popup__item-title {
	font-size: 14px;
	line-height: 24px;
	letter-spacing: -0.1px;
	color: #909090;
}

.regions-popup__item-title a {color: #0369D9;}

.regions-popup__item-phone {
	font-size: 20px;
	line-height: 24px;
	letter-spacing: -0.1px;
	color: #212121;
}

.regions-popup__item-phone a {
	color: inherit;
	text-decoration: none;
}

.regions-popup__item + .regions-popup__item { margin-top: 24px; }

.mg-contacts__offices {
	display: flex;
	flex-direction: column;
}

.mg-contacts__mail-button.js-show-regions {margin-top: auto;}

.mg-contacts__form-note {
	font-size: 13px;
	line-height: 1.31;
	letter-spacing: -.4px;
	color: #828282;
	text-align: center;
	margin-top: 24px;
}

@media all and (min-width: 600px) {
	.page-title {
		padding: 40px 0;
	}
	
	.mg-contacts__wrap {
		padding-top: 40px;
		padding-bottom: 16px;
	}
	
	.mg-contacts__inner {
		display: flex;
		margin: 0 -12px;
		flex-wrap: wrap;
	}
	
	.mg-contacts__box {
		flex: none;
		width: calc(50% - 24px);
		margin: 0 12px 24px;
	}
	
	.mg-contacts__box + .mg-contacts__box {margin-top: 0;}
	
	.mg-contacts__box-title {font-size: 20px;}
	
	.mg-contacts__wrap .mg-form__field-title {
		line-height: 24px;
		margin-bottom: 0;
	}
	
	.mg-contacts__wrap .mg-form__field-checkbox ul {
		font-size: 16px;
		line-height: 24px;
	}
	
	.mg-contacts__wrap button {padding: 19px;}
	
	.mg-contacts__mail-button {
		font-size: 16px;
		line-height: 24px;
		padding: 18px 0;
	}
	
	.mg-contacts__box-button-ico {
		width: 56px;
		height: 56px;
	}
	
	.mg-contacts__box-button-ico img {
		width: 32px;
		height: 32px;
	}
	
	.mg-contacts__box-button-text span:first-child {
		font-size: 18px;
		margin-bottom: 6px;
		line-height: 24px;
	}
	
	.regions-popup__content {padding: 50px 56px 40px;}
	
	.regions-popup__close {
		right: 16px;
		top: 16px;
	}
	
	.regions-popup__title {
		margin-bottom: 38px;
		font-size: 20px;
	}
	
	.regions-popup__items {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	
	.regions-popup__item {
		flex: none;
		width: 168px;
		margin-bottom: 24px;
	}
	
	.regions-popup__item + .regions-popup__item {margin-top: 0;}
}

@media all and (min-width: 1200px) {
	.page-title {
		padding: 65px 0;
	}
	
	.mg-contacts__wrap {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	
	.mg-contacts__inner {
		margin: 0 -16px;
	}
	
	.mg-contacts__box {
		width: calc(100% / 3 - 32px);
		margin: 0 16px 32px;
	}
	
	.box-light, .box-dark {
		padding: 30px 38px 38px;
	}
	
	.mg-contacts__box-title-wrapper {margin-bottom: 16px;}
	
	.mg-contacts__box-title {
		line-height: 1.4;
	}
	
	.mg-contacts__box-ico {
		width: 48px;
		height: 48px;
	}
	
	.mg-contacts__worktime { font-size: 20px; }
	
	.mg-contacts__mail-button { margin-top: 48px; }
	
	.mg-contacts__filial {margin-bottom: 40px;}
	
	.mg-contacts__mail-button { padding: 23px 38px;	}
}

#onicon .onicon-bookmark .onicon-button__image {
	width: 60px!important;
	height: 60px!important;
	border-radius: 50%;
}

@media all and (max-width: 599px) {
	.regions-popup .regions-popup__inner:before {
		height: 0;
	}
}