@media only screen and (max-width : 1200px) {
	.header-info {
		margin-left: 0;
	}
	.service-block {
		margin-bottom: 20px;
		font-family: "Times New Roman", sans-serif;
	}
	.visit-wrap {
		justify-content: center;
	}
	.visit-title {
		text-align: center;
	}
	.visit-text {
    margin-top: 0;
    margin-left: 20px;
    }
    .visit-info {
        text-align: center;
    }
    .item {
	margin-right: 42px;
	margin-bottom: 17px;
	}
	.item:nth-child(5){
		margin-right: 42px;
	}
	.item:nth-child(10){
		margin-right: 42px;
	}
	.item:nth-child(15){
		margin-right: 42px;
	}
	.item:nth-child(20){
		margin-right: 42px;
	}
}
/*@media only screen and (max-width : 992px) {
	
}*/
@media only screen and (max-width : 945px) {
	.header-info {
    margin-left: 0;
	}
	nav {
		order: 2;
    	width: 100%;
    	display: none;
    	justify-content: center;
    	text-align: center;
	}
	nav ul {
		margin-top: 10px;
	display: flex;
    flex-direction: column;
	}
	nav ul li{
		margin-bottom: 7px;
	}
	#burger {
    margin-bottom: 10px;
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    text-align: right;
    order: 2;
	}
	.main-wrap {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
	}
	.service-block {
    margin-bottom: 20px;
	}
	.visit-wrap {
		justify-content: center;
	}
	.visit-img img {
		max-width: 100%;
	}
	.visit-title {
		text-align: center;
	}
	.gallery-blocks {
		justify-content: center;
	}
	.gallery-block img {
    border-radius: 15px;
    width: 125px;
    height: 125px;
	}
	.item {
	margin-right: 20px;
	margin-bottom: 17px;
	}
	.item:nth-child(5){
		margin-right: 20px;
	}
	.item:nth-child(10){
		margin-right: 20px;
	}
	.item:nth-child(15){
		margin-right: 20px;
	}
	.item:nth-child(20){
		margin-right: 20px;
	}
}
@media only screen and (max-width : 782px) {
    .visit-wrap {
    flex-wrap: wrap;
    }
    .visit-text {
    margin-top: 5px; 
    margin-left: 39px;
    }
	.main-wrap {
		padding-bottom: 0;
	}
	.main-title {
    margin-top: 25px;
	}
	.offer {
		background-size: cover;
	}
	.offer-wrap {
		justify-content: center;
		height: auto;
	}
	.offer-title {
		text-align: center;
    margin-top: 30px;
	}
	.offer-info {
		margin-top: 20px;
		margin-bottom: 0;
	}
	form {
		margin-bottom: 30px;
		margin-top: 30px;
	}
	.footer-icon {
		margin: 0 auto;
	}
	.footer-developer {
		font-size: 14px;
	}
	.place-map__info {
    top: 61px;
    left: 2px;
	}
}
@media only screen and (max-width : 560px) {
	.place-map__info .logo {
    padding-top: 4px;
	}
	.footer {
		position: relative;
		bottom: -154px;
	}
	.footer-contact {
		line-height: 12px;
	}
	.footer-contact span i {
    font-size: 11px;
	}
	.footer-contact span {
    display: block;
    background-color: #555555;
    width: 25px;
    height: 25px;
    border-radius: 70%;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-right: 17px;
    cursor: pointer;
    color: #fff;
	}
	.place-map__info {
    text-align: center;
    top: 0;
    left: 0;
    position: relative;
    background-color: #fff;
    color: #333;
    font-size: 12px;
    line-height: 1.13;
    font-weight: 300;
    width: 100%;
    min-width: 100%;
    min-height: 160px;
     padding: 0; 
    -webkit-box-shadow: -1px 2px 20px rgba(0,0,0,.2);
    -moz-box-shadow: -1px 2px 20px rgba(0,0,0,.2);
    box-shadow: -1px 2px 20px rgba(0,0,0,.2);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-right: 0;
    z-index: 1;
	}
	.footer-icon {
    margin: 0;
    padding-bottom: 10px;
    justify-content: center;
	}
	.icon-map {
		margin-right: 41px;
	}
	.icon-map:nth-child(3) {
		margin-right: 0;
	}
	.logo__text {
    display: block;
	}
	.footer-contact.phone-map {
    margin-right: 17px;
	}
	.footer-contact {
    margin-bottom: 15px;
    text-align: center;
    justify-content: center;
	}
	.header-wrap {
		justify-content: space-between;
	}
	.header-info {
		margin-top: 10px;
		text-align: center;
		margin-left: -1px;
		display: none;
	}
	nav {
		display: none;
	}
	nav ul {
		display: flex;
	}
	#burger {
    margin-bottom: 10px;
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    width: 50%;
    text-align: right;
	}
	.header-button {
		display: none;
	}
	.main-wrap {
		padding-bottom: 15px;
		text-align: center;
	}
	.main-title {
		margin-top: 30px;
	}
	.main-btn a {
		margin: 25px 0 8px 0;
	}
	.main-title h1 {
    color: #fff;
    padding: 0;
    margin: 0;
    font-size: 25px;
	}
	.main-info {
    margin-top: 20px;
     line-height: 15px; 
    color: #fff;
	}
	.service-wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
	}
	.service-blocks {
		justify-content: center;
	}
	.service-block {
		margin-bottom: 20px;
		margin-right: 8px;
	}
	.visit-wrap {
		justify-content: center;
	}
	.visit-img img {
    max-width: 100%;
    width: 400px;
    height: 200px;
	}
	.visit-text {
		margin-left: 1px;
		text-align: center;
	}
	.progress-wrap {
		padding: 30px 0 10px 0;
	}
	.progress-block {
    	margin-bottom: 30px;
    	margin-left: 30px;
    	margin-right: 30px;
	}
	.gallery-blocks {
		justify-content: center;
	}
	.gallery-block {
	}
	.gallery-block img {
    width: 150px;
    height: 100px;
	}
	.offer {
		background-size: cover;
	}
	.offer-wrap {
		text-align: center;
	}
	.offer-title {
    margin-top: 20px;
	}
	.offer-title h1 {
	font-size: 25px;
	line-height: 25px;
	}
	.offer-info {
    margin-top: 20px;
    margin-bottom: 0;
	}
	form {
    margin: 20px auto;
	}
	.footer-top {
    justify-content: center;
    flex-direction: column;
	}
	.footer-logo {
		margin-bottom: 7px;
	}
	.footer-contact {
		margin-bottom: 15px;
		text-align: center;
	}
	.footer-btm {;
    justify-content: center;
    text-align: center;
	}
	.footer-btm .footer-contact {
		text-align: center;
		margin-bottom: 0;
	}
	#close {
		top: 10px;
    	right: 15px;
	}
	.modal-content {
		margin: 35% auto;
		width: 300px;
	}
	.header-logo {
	border-right: none;
    padding-right: 0;
	}
	.progress-wrap {
		justify-content: center;
	}
}
@media only screen and (max-width: 420px) {
	.footer-wrap {
		display: flex;
		flex-direction: column;
	}
}
@media only screen and (max-width: 376px) {

	#close {
		top: 10px;
    	right: 15px;
	}
	/*.modal-content {
		margin: 30% auto;
		width: 250px;
	}*/
	.submit {
	  padding: 17px 35px;
	}
}