@media (max-width: 1024px) {
	#content {max-width: 1024px;}
	.small-blocks {height: 220px; margin-top: 0;}
	.banner {height: 400px;}
}

@media (max-width: 959px) {
    #content {max-width: 960px;}
	#b-menu {width: 100%;}
	.banner-item-title {top: 4%;}
}

@media (max-width:768px) {
	body {min-width: 320px;}
    #content {max-width: 768px;}
	#section-1 {
		min-height: auto;
		max-height: 240px;
	}
	.banner {
		max-height: 240px;
	}
	.banner-item-title {
		top: 12%;
		font-size: 38px;
	}
	.small-blocks {
		grid-template-columns: repeat(2, 1fr);
		height: auto;
	}
	.text-about {
		grid-template-columns: repeat(1, 1fr);
		padding: 18px 12px;
	}
	.section-3-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}
	.section-3-wrapper_text {
		padding: 22px;;
	}
	.section-4-wrapper {
		margin: 18px auto;
	}
	.section-4-text {
		padding: 22px;
	}
	.section-4-small-blocks {
		flex-direction: column;
		grid-gap: 26px;
	}
	.section-5-gallery {
		min-height: 322px;
	}
	.section-5-gallery-img-1 {
		width: 146px;
		height: 134px;
		top: 20px;
		left: 2%;
	}
	.section-5-gallery-img-3 {
		width: 154px;
		height: 166px;
		top: 0;
		right: 12%;
	}
	.section-5-gallery-img-2 {
		width: 180px;
		top: 100px;
		left: 7%;
		border: 10px solid #fff;
	}
	.section-5-gallery-img-4 {
		width: 150px;
		height: 134px;
		right: 2%;
		top: 76px;
		border: 10px solid #fff;
	}
	.section-5-block {
		align-items: center;
	}
	.section-5-block-wrapper {
		margin-top: 0;
		width: 100%;
		padding: 18px;
	}
	.section-sontacts-block {
	    grid-template-columns: repeat(1, 1fr);
		grid-gap: 18px;
		width: 96%;
	}
	.section-sontacts-block-tile-logo {
		width: 80px;
		height: 80px;
	}
	.contact-form-form-block {
		width: 96%;
	}
	.contact-send-form {
		grid-template-columns: repeat(1, 1fr);
	}
	.form-group:nth-child(4), .form-group:nth-child(7), .contact-send-button {
		grid-column-start: 1;
		grid-column-end: 1;
	}
}
