.contacts--container {
  padding: 0;
  /* margin-top: -1.5em; */
}

.container--request {
  width: 100%;
  /*height: 300px;*/
  display: flex;
  flex-direction: row;
  background-image: url("../img/background/wallpaper_with_shadow.jpg");
  background-position: center;
  background-size: cover;
}

/* --- section contacts company --- */
.contacts_company {
  padding: 2em 1em;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.contacts_company .address .address--compane_name {
  color: var(--color-emerald);
  margin-bottom: 0.5em;
}
.contacts_company .phone,
.contacts_company .mail {
  display: flex;
  flex-direction: row;
}
.contacts_company .phone .phone--type,
.contacts_company .mail .mail--type {
  margin-right: 1em;
  white-space: nowrap;
}
.contacts_company .phone .phone--numbers a {
  color: var(--color-emerald);
  white-space: nowrap;
}
.contacts_company .mail p a {
  color: var(--color-emerald);
}

/* --- yandex map --- */
iframe {
  height: 300px;
}

/* --- section leaders --- */
.leaders {
  padding: 2em 0 0 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.single_leader {
  padding: 1em;
  display: flex;
  flex-direction: row;
}
.leader_img img {
  width: 150px;
  height: auto;
  margin-right: 1em;
}
.leader_description--header p.name {
  margin-bottom: 0.5em;
}
.leader_description--header p.position {
  color: var(--color-emerald);
  margin-bottom: 0.5em;
}
.leader_description--contacts {
  color: var(--color-emerald);
  margin-bottom: 0.5em;
}
.leader_description--contacts a {
  color: var(--color-emerald);
}
.leader_description--info {
  color: var(--color-emerald);
}

/* --- request container --- */
/* --- description */
.request--description {
  display: flex;
  flex-direction: column;
  padding: 3em;
  width: 50%;
}

.description__header--head {
  font-size: 1.9em;
}

.description__header--slogan {
  font-size: 1.2em;
}

.request__description--header {
  color: white;
}

.description__header--slogan {
  margin-top: 0.3em;
}

/* icons */
.request__description--icons {
  /* height: 100%; */
  margin-top: 2em;
  display: grid;
  grid-auto-rows: auto;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.description__icons--item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.description__icon--ico img {
  width: 50px;
  height: auto;
}

.description__icon--description {
  color: white;
  margin-left: 1em;
  word-break: break-word;
}

/* --- request form */
.request--form {
  width: 50%;
  padding: 3em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.request--form .request__description--header {
  margin-bottom: 1.5em;
  width: 100%;
  display: none;
}
.request--form .request__description--header .description__header--head {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}
.request--form .request__description--header .description__header--slogan {
  font-size: 1.1em;
}
.request--form .request__description--header .description__header--head,
.request--form .request__description--header .description__header--slogan {
  text-align: center;
}
.form-control {
  margin-bottom: 0.5em;
  width: 100%;
  padding: 0.5em;
  border: none;
  background-image: none;
  /*background-color:transparent;*/
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.form-control:focus,
.form-control:focus {
  outline: none;
}
.request__form_mail {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(169, 169, 169, 0.6);
  padding: 1em;
}
.request__form_mail h3 {
  color: white;
  letter-spacing: 1.5px;
  margin-bottom: 1em;
  text-align: center;
}
.attachment {
  padding: 1em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.attachment .label:hover {
  cursor: pointer;
}
.attachment .label {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.attachment .label img {
  width: 1.3em;
  height: 1.3em;
  margin-right: 0.5em;
}
.attachment .label span {
  color: white;
}
.attachment .label input[type="file"] {
  outline: 0;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  width: 0;
}
.output_message {
  color: white;
  margin-top: 0.5em;
}

/* ----------------------------- media ----------------------------- */
/* Medium devices (600px and down) */
@media (max-width: 600px) {
}

/* 768px and down */
@media (max-width: 375px) {
  .single_leader {
    flex-direction: column;
  }
  .single_leader .leader_img {
    margin-bottom: 0.5em;
  }
}

/* 768px and down */
@media (max-width: 768px) {
  .contacts_company {
    flex-direction: column;
  }
  .contacts_company .address,
  .contacts_company .phone {
    margin-bottom: 1em;
  }
  .contacts_company .address,
  .contacts_company .phone,
  .contacts_company .mail {
    border-bottom: 1px dotted lightgray;
    padding-bottom: 0.5em;
  }
  /* --- hide text  with icons callback form --- */
  .request--description {
    display: none;
  }
  .request--form {
    width: 100%;
  }
  .request--form .request__description--header {
    display: block;
  }
}
/* devices 992px and down */
@media only screen and (max-width: 992px) {
  .leaders {
    flex-direction: column;
  }
  .request--description,
  .request--form {
    padding: 1em;
  }
}

/* devices 993px and up */
@media only screen and (min-width: 993px) {
  .contacts_company {
    width: 80%;
    max-width: var(--max-width);
    margin: 0 auto;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
  }
  .maps_frame {
    width: 80%;
    max-width: var(--max-width);
    margin: 0 auto;
    border: 1px solid lightgray;
  }

  .contacts--container {
    padding: 0;
    background-image: url(../img/background/wallpaper_with_shadow.jpg);
    background-position: center;
    background-size: cover;
  }
  .container--request {
    width: 80%;
    max-width: var(--max-width);
    margin: 0 auto;
    background-image: none;
  }
  .request--description,
  .request--form {
    padding-left: 0;
    padding-right: 0;
    align-items: flex-end;
  }
}
