/* Responsive Styles */
@media (max-width: 1366px) {
#yandex-map {
		width: 666px;}
	.header_logo img {width: 160px;}
	.main_header {
		height: 768px;
	}

		.header_top {
			padding: 0px 50px 0 90px;
		}

	.header_bottom {
		height: 300px;
		padding-left: 50px;
		padding-right: 50px;
	}

		.header_slide {
			max-width: 270px;
			height: 164px;
		}
.practice-item.odd::before {
	background-position: 101px 0px;
}
.practice-item.even::before {
	right: 210px;
}
.contacts_info::before {background-position: 3px 116px;}
.dear_sirs .container, .commitment .container, .contacts_map .container, .main_footer .container {max-width: 1168px;}
.commitment::before {background-size: 70%;}
.dear_sirs_content {max-width: 669px;}
		.header_slide p {max-width: 270px;}
				.practices .container {
					max-width: 1168px;
				}
				.main_footer::after {
					width: 85%;}
				.image-block img {
					height: 460px;
					object-position: center;
				}
		
				.text-block {
					padding: 60px 80px;
				}


@media (max-width: 992px) {
	#yandex-map {
			width: 508px;
		}
	.dear_sirs_image {width: auto;}
		.dear_sirs_content h1 {
			font-size: 28px; font-weight: 400;
		}
				.podpis {width: 132px;}
								 .commitment::before {
								 	background-size: 86%;
								 }
		.commitment h2 {font-size: 28px; font-weight: 400;}
	.commitment .container {padding: 30px 40px;}
		.dear_sirs_text p {font-size: 16px; font-weight: 400; line-height: 18px;}
	.dear_sirs_image img {width: 310px; height: auto;}
		.dear_sirs {padding: 0; padding-top: 20px;}
.header_bottom {flex-direction: column;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 30px;
	 align-items: start; justify-content: start;}

		 .commitment p {font-size: 16px; font-weight: 400;}
				 .project-item h3 {font-weight: 400;}
		.header_top {
				padding: 0px 30px 0 30px;
			}
						.contacts_map {padding: 10px 30px;}
						.header_slide h3 {font-size: 20px; color: rgba(0, 0, 0, 1);
						font-weight: 400;}
.header_logo img {margin-top: 20px;}
.main_navigation.active {width: 480px;}
		.practice-item {
				height: 304px;
			}

						.text-block h3 {font-size: 24px; font-weight: 400;}
												.text-block p {font-size: 16px;}
		
			.practice-item.even {
				flex-direction: revert;
			}
					  .practice-item.even::before {
					  	right: 129px;
							background-size: 80%;
									top: -42px;
					  }
			.text-block,
			.image-block {
				width: 100%;
		
			}
		
			.text-block {
				padding: 40px;
			}
		
			.image-block img {
				height: 400px;
			}
	.main_header {
		height: 500px;
	}

	.header_bottom {
		height: 230px;
	}


	
	  .mobile-slide h3 {
	  	cursor: pointer;
	  }
		.header_slide {max-width: fit-content;}
	  .mobile-slide p.active {
	  	/*display: block;*/
			max-width: 100%;
	  }


 .header_slide p {
 	max-height: 0;
 	overflow: hidden;
 	transition: max-height 0.3s ease-out, padding-top 0.3s ease, padding-bottom 0.3s ease;
 	padding-top: 0;
 	padding-bottom: 0;
 	margin: 0;
 }

 .header_slide p.active {
 	max-height: 200px;
	padding-bottom: 20px;

 }

 .header_slide h3 {
 	cursor: pointer;
 	transition: color 0.2s ease;
 }











.practices {padding: 40px 0px;}
		.practices h2 {font-size: 28px; margin-bottom: 40px; font-weight: 400;}


	  .practice-item.odd::before {
	  	background-position: 01px 0px;
	  	background-size: 80%;
	  	right: -141px;
	  	top: -74px;
	  }

.map_wrapper {flex: auto; width: 500px;}

.contacts_info {width: 272px; flex: auto;}
.contacts_map_wrapper {min-height: 304px;}
.contact-item.phone {font-size: 28px; font-weight: 400;}
.contact-item {font-size: 16px;}
.main_footer {padding: 38px 0; margin-top: 40px;}

.footer_navigation {display: none;}
.footer_contacts_info .contact-item {font-weight: 400;}

	  .main_footer::after {
	  	width: 94%;
	  }

.main_footer .container {
	padding: 0 30px;
}



}
}






@media (max-width: 768px) {

	.main_navigation.active {padding-right: 0 !important;}
	#yandex-map {
			width: 100%;
		}
	.custom-logo {display: none;}
	.logo_mobile {display: flex;}
	.practices {
		padding: 60px 0;
	}

	.practices h2 {
		font-size: 28px;
		margin-bottom: 40px;
	}

	.text-block {
		padding: 0px;
	}
.image-block {height: fit-content; min-height: auto;}
	.image-block img {
		height: auto;
	}
			  .header_top {
			  	padding: 0px 0px 0 20px;
			  }

								.hamburger_icon span {left: auto;}

.hamburger_icon span:nth-child(1) {
top: 10px;
}

.hamburger_icon span:nth-child(2) {
top: 20px;
}

.hamburger_icon span:nth-child(3) {
top: 30px;
}

.main_navigation.active+.hamburger_icon span:nth-child(1) {
	transform: rotate(45deg);
	top: 20px;
	z-index: 101;
}

.main_navigation.active+.hamburger_icon span:nth-child(2) {
	opacity: 0;
}

.main_navigation.active+.hamburger_icon span:nth-child(3) {
	transform: rotate(-45deg);
	top: 20px;
	z-index: 101;
}
	  .main_navigation.active {
	  	width: 100vw;
			right: 0;
			top: 0;
			box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.28);
			z-index: 100;
	  }
.primary_menu {
	flex-direction: column;
	justify-content: center;
height: 123px;
margin-left: 0;
width: 100%;
align-items: center;
padding-top: 20px;
}



#menu-item-21 {order: 2;}
#menu-item-22 {order: 3;}
#menu-item-23 {order: 4;}

.primary_menu li {margin-right: 0; margin-left: 0;}

.header_bottom {
	min-height: 126px;
height: max-content;
padding-top: 10px;
margin-top: 41px;
}

.header_slide {height: auto;}

.header_slide h3 {margin-bottom: 10px;}
	  .practices {
			background-color: #F2F2F2;
	  	padding: 20px 0;
	  }
				.practices h2 {margin-bottom: 20px; font-size: 18px;}

 .practice-item.odd::before,  .practice-item.even::before {display: none;}

.practice-item {flex-direction: column;}
.practice-item.even {flex-direction: column-reverse; margin-top: 20px; margin-bottom: 20px;}

.text-block p br {display: block; margin-bottom: 7px;}
.text-block p  {font-weight: 400;}
.dear_sirs_wrapper {flex-direction: column;}
		    .dear_sirs_image {
		    	width: auto;
		    	margin: 0 auto;
					margin-bottom: 20px;
		    }

.dear_sirs_content h1 {font-size: 18px; font-weight: 400;}
.dear_sirs_text p {font-size: 14px; font-weight: 400;}
.commitment h2 {font-size: 18px; font-weight: 400;}
.commitment .container {padding: 0;}
.commitment {background-color: #F2F2F2;}
.project-icon {margin: 20px auto;}

 .commitment {
 	padding: 20px 20px;
	padding-bottom: 80px;
 }
 .projects-grid {
 	grid-template-columns: 1fr;
 	max-width: fit-content;
 }
 .commitment p.outro-text {margin-top: 20px;}

 .contacts_map {
 	padding: 0;
 }
.contacts_map_wrapper {flex-direction: column;}
.contact-item {margin-bottom: 10px;}
.contacts_info {padding-top: 0;}
.map_wrapper {width: 100%; padding-left: 20px; padding-right: 20px;}
.footer_logo {height: auto;}


/*эксперементально */

.contacts_info {display: none;}

#processes .container h2 {
	background-color: #fff;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 20px 0;
	text-align: left;
	margin-top: -20px;
	/* Компенсируем padding контейнера */
	margin-bottom: 30px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	padding-left: 30px;
}

		.main_header {
			min-height: 250px;
			height: 250px;
			overflow: hidden;
			transition: all .5s ease;
		}
	
		.main_header.expanded {
			height: 350px;
		}
	
		.logo_mobile img {
			margin-top: 10px;
			width: 176px;
			height: auto;
		}
	
		.hamburger_icon {
			width: 50px;
			height: 50px;
		}
	
	
		.header_slide h3 {
			font-size: 16px;
		}
}






@media (max-width: 500px) {


}