body {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

main {
  flex: 1 0 auto;
}

.hide__group {
  flex: 0 0 auto;
}

@media screen and (max-width: 767px) {
  .footer {
    flex: 0 0 auto;
  }
}

.header__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 40px;
  text-align: center;
  margin-bottom: 20px;
}

@media (max-width: 680px) {
  .header__title {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 10px;
  }
}

@media (max-width: 490px) {
  .header__title {
    font-size: 22px;
    line-height: 22px;
    padding: 10px 0;
  }
}

.contacts__container .contacts__main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 15px;
}

@media (max-width: 970px) {
  .contacts__container .contacts__main {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0;
  }
}

.contacts__container .contacts__main .contacts__left {
  margin-right: 30px;
}

@media (max-width: 970px) {
  .contacts__container .contacts__main .contacts__left {
    margin-right: 0;
  }
}

.contacts__container .contacts__main .contacts__left .contacts__adress {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  min-width: 340px;
}

@media (max-width: 767px) {
  .contacts__container .contacts__main .contacts__left .contacts__adress {
    margin-right: 0;
    min-width: auto;
  }
}

.contacts__container .contacts__main .contacts__left .contacts__adress>div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.contacts__container .contacts__main .contacts__left .contacts__adress .adress__name {
  align-items: flex-end;
}

.contacts__container .contacts__main .contacts__left .contacts__adress span {
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 15px;
  color: var(--blue-color);
  min-width: max-content;
  height: 30px;
}

@media screen and (max-width: 359px) {
  .contacts__container .contacts__main .contacts__left .contacts__adress span {
    height: 45px;
  }
}

.contacts__container .contacts__main .contacts__left .contacts__adress p {
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 15px;
  text-align: right;
  height: 30px;
}

@media screen and (max-width: 359px) {
  .contacts__container .contacts__main .contacts__left .contacts__adress p {
    height: 45px;
  }
}


.contacts__container .contacts__main .contacts__left .contacts__form {
  max-width: 472px;
  width: 100%;
  height: auto;
  background: var(--bg-main-color);
  border-radius: 10px;
  padding: 30px;
}

@media (max-width: 1120px) {
  .contacts__container .contacts__main .contacts__left .contacts__form {
    padding: 10px 20px;
    margin-top: 0;
  }
}

@media (max-width: 375px) {
  .contacts__container .contacts__main .contacts__left .contacts__form {
    padding: 10px;
  }
}

.contacts__container .contacts__main .contacts__left .contacts__form h2 {
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 12px;
}

.contacts__container .contacts__main .contacts__left .contacts__form label {
  font-weight: 700;
  color: #666666;
}

.contacts__container .contacts__main .contacts__left .contacts__form label input {
  width: 100%;
  background: var(--white-color);
  border-radius: 5px;
  padding: 5px 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  height: 34px;
}

.contacts__container .contacts__main .contacts__left .contacts__form label textarea {
  background: var(--white-color);
  border-radius: 5px;
  margin-top: 5px;
  margin-bottom: 20px;
  padding: 5px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  width: 100%;
}

.contacts__container .contacts__main .contacts__left .contacts__form button {
  width: 100%;
  height: 34px;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  background: var(--blue-color);
  color: var(--bg-main-color);
  -webkit-box-shadow: var(--box-shadow);
  box-shadow: var(--box-shadow);
  border-radius: 5px;
  margin-bottom: 20px;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.contacts__container .contacts__main .contacts__left .contacts__form button:hover {
  color: var(--white-color);
  background: var(--blue-color);
}

.contacts__container .contacts__main .contacts__left .contacts__form p a {
  text-decoration: underline;
}

.contacts__container .contacts__main .contacts__left .contacts__form p a:hover {
  color: var(--blue-color);
}

.contacts__container .contacts__main .contacts__right {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

@media (max-width: 970px) {
  .contacts__container .contacts__main .contacts__right {
    width: 100%;
    height: 470px;
    padding-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .contacts__container .contacts__main .contacts__right {
    height: 330px;
  }
}

.contacts__container .contacts__main .contacts__right .contact-box__map {
  height: 100%;
}

.contacts__container .contacts__main .contacts__right .contact-box__map iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 1120px) {
  .contacts__container .contacts__main .contacts__right .contact-box__map {
    overflow: hidden;
    position: relative;
    width: 100%;
  }
}

@media (max-width: 1120px) {
  .contacts__container .contacts__main .contacts__right .contact-box__map iframe {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
  }
}

.contacts__images {
  background: var(--white-color);
  /* margin-bottom: -15px; */
}

@media (max-width: 767px) {
  .contacts__images {
    margin-bottom: 0;
  }
}

.contacts__images .contacts__images_wrapper {
  /* display: flex;
	flex-wrap: wrap;
	justify-content: center; */
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 10px 20px;
}

.contacts__images .contacts__images_wrapper img {
  /* width: 346px;
	height: 260px; */
  width: 100%;
  height: 100%;
  padding: 10px;
}

/* @media (max-width: 360px) {
	.contacts__images .contacts__images_wrapper img {
		width: 300px;
		height: 246px;
	}
} */

.swiper-contact-prev,
.swiper-contact-next {
  color: var(--white-color);
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.swiper-contact-prev:hover {
  color: var(--blue-color);
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.swiper-contact-next:hover {
  color: var(--blue-color);
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

@media screen and (min-width: 768px) {

  .swiper-contact-prev,
  .swiper-contact-next {
    display: none;
  }
}