.contacts-container {
  display: flex;
  margin: 40px 0;
}

.contacts-item {
  flex: 1;
  border-radius: 10px;
  box-shadow: 0 9px 56px 0 rgba(0, 0, 0, 0.06);
  padding: 25px;
  font-size: 14px;
  color: #474F55;
}
.contacts-item p {
  margin: 0;
}
.contacts-item a {
  font-size: 14px;
  color: #474F55;
  display: inline-block;
}
.contacts-item:not(:last-child) {
  margin-right: 24px;
}

.contacts-item-name {
  margin-bottom: 20px;
}
.contacts-item-name > svg {
  vertical-align: middle;
  margin-right: 14px;
}

.contacts-item-info,
.contacts-item-info a {
  font-weight: bold;
  line-height: 1.5;
  display: block;
}

#map {
  flex: 3;
  min-height: 504px;
  overflow: hidden;
  margin-right: 32px;
  border-radius: 10px;
}

.form__container {
  flex: 1;
  max-width: 476px;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 9px 56px 0 rgba(0, 0, 0, 0.06);
}
.form__container form > p {
  margin: 0;
}

.form__name {
  min-width: 475px;
  text-align: center;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  height: 56px;
}
.form__name > p {
  line-height: 56px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.form__content {
  padding: 24px;
}
.form__content textarea {
  width: 100%;
  max-width: 428px;
  height: 96px;
  max-height: 300px;
  border-radius: 5px;
  box-shadow: 0 9px 56px 0 rgba(0, 0, 0, 0.06);
  background-color: #efefef;
  border: none;
  padding: 12px;
}
.form__content textarea:focus {
  box-shadow: 0 9px 56px 0 rgba(0, 0, 0, 0.06);
  border: solid 2px #b4b4b4;
  background-color: #fff;
  outline: none;
}
.form__content input:not(.form__btn) {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 5px;
  box-shadow: 0 9px 56px 0 rgba(0, 0, 0, 0.06);
  background-color: #efefef;
  height: 56px;
  line-height: 56px;
  border: none;
  padding: 0 12px;
}
.form__content input:not(.form__btn):focus {
  box-shadow: 0 9px 56px 0 rgba(0, 0, 0, 0.06);
  border: solid 2px #b4b4b4;
  background-color: #fff;
  outline: none;
}
.form__content input:not(.form__btn).wrong {
  border: solid 2px #ea1111;
}
.form__content input:not(.form__btn).right {
  background-color: #e0ede2;
}
.form__content ::-webkit-input-placeholder {
  font-size: 14px;
  color: #474F55;
  opacity: 0.4;
}
.form__content ::-moz-placeholder {
  font-size: 14px;
  color: #474F55;
  opacity: 0.4;
}
.form__content :-ms-input-placeholder {
  font-size: 14px;
  color: #474F55;
  opacity: 0.4;
}
.form__content :-moz-placeholder {
  font-size: 14px;
  color: #474F55;
  opacity: 0.4;
}

.form__btn {
  border: none;
  margin: 24px 0 0 0;
  width: 100%;
  max-width: 100%;
  height: 64px;
  line-height: 64px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  transition-duration: 0.3s;
  border-radius: 32px;
  box-shadow: 0 9px 56px 0 rgba(0, 0, 0, 0.06);
  cursor: pointer;
}
.form__btn:hover {
  box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.26);
}
.form__btn.inactive {
  background: #fff;
  box-shadow: 0 9px 25px 0 rgba(0, 0, 0, 0.06);
  color: #1e241e33;
  pointer-events: none;
}

.form__success {
  padding: 40px;
  flex: 1;
  text-align: center;
  min-width: 476px;
  max-height: 200px;
  border-radius: 10px;
  box-shadow: 0 9px 56px 0 rgba(0, 0, 0, 0.06);
}

.mark-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  margin: 0 auto;
}
.mark-icon img {
  width: 100%;
}

.form__success-info p {
  color: #474F55;
  margin: 0 0 10px 0;
}
.form__success-info P:first-child {
  font-size: 18px;
  font-weight: bold;
  margin-top: 14px;
}
.form__success-info p:nth-child(2) {
  font-size: 14px;
}

@media all and (max-width: 768px) {
  .contacts-title {
    display: none;
  }

  .contacts-container {
    margin: 24px 0 8px 0;
    flex-direction: column;
  }
  .contacts-container > .contacts-item:last-child {
    margin-bottom: 0;
  }
  .contacts-container .contacts-item {
    margin-bottom: 16px;
    margin-right: 0;
  }
  .contacts-container .contacts-item-name span {
    vertical-align: middle;
  }

  .contacts-location {
    flex-direction: column;
  }

  #map {
    border-radius: 10px;
    min-height: 240px;
    margin: 24px 0 32px 0;
  }

  .form__name {
    min-width: 300px;
    width: 100%;
    max-width: 600px;
  }
}

/*# sourceMappingURL=contacts.css.map */
