.node-kontakty .image-header {
  background: #00AEC9;
  color: #fff;
  padding: 100px 0 118px;
  margin-bottom: 110px;
}
.node-kontakty .image-header .wrap {
  position: relative;
}
.node-kontakty .image-header h1 {
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 59px;
  text-transform: uppercase;
  position: absolute;
  left: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.node-kontakty .image-header img {
  position: relative;
  float: right;
  display: block;
}
.node-kontakty .contacts .line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  grid-auto-rows: auto;
  grid-template-rows: auto;
}
.node-kontakty .contacts .line .item {
  font-weight: normal;
  margin-bottom: 50px;
}
.node-kontakty .contacts .line .item > a,
.node-kontakty .contacts .line .item > span {
  text-decoration: none;
  color: #000;
  display: block;
  padding: 2px 0 3px 60px;
}
.node-kontakty .contacts .line .item.adress span {
  background: url("../img/svg/location.svg") no-repeat 0 -7px;
}
.node-kontakty .contacts .line .item.grafic span {
  background: url("../img/svg/time.svg") no-repeat 0 -7px;
}
.node-kontakty .contacts .line .item.phone a {
  background: url("../img/svg/phone.svg") no-repeat 0 -7px;
}
.node-kontakty .contacts .line .item.email a {
  background: url("../img/svg/mail.svg") no-repeat 0 -7px;
}
.node-kontakty .map iframe {
  height: 360px;
  width: 100%;
  margin-bottom: 88px;
}
.node-kontakty .form-wrap .title {
  font-style: normal;
  font-weight: bold;
  font-size: 32px;
  line-height: 47px;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.node-kontakty .form-wrap .text {
  font-weight: normal;
  font-size: 28px;
  line-height: 41px;
  color: #000000;
  margin-bottom: 32px;
}
.node-kontakty .form-div form {
  word-spacing: -0.3em;
  margin: 0 -15px;
}
.node-kontakty .form-div form .form-item {
  width: 50%;
  display: inline-block;
  word-spacing: normal;
  margin-bottom: 53px;
  padding: 0 15px;
}

.node-kontakty .form-div .form-item input[type="tel"],
.node-kontakty .form-div .form-item input[type="text"],
.node-kontakty .form-div .form-item input[type="email"] {
  max-width: 100%;
}
.node-kontakty .form-div input[type='submit'] {
  margin: 0 15px 88px;
}
@media screen and (max-width: 960px) {
  .node-kontakty .image-header img {
    height: 220px;
  }
  .node-kontakty .image-header {
    background: #00AEC9;
    color: #fff;
    padding: 60px 40px 60px 0;
    margin-bottom: 60px;
  }
  .node-kontakty .form-div input[type='submit'] {
    margin: 0 15px 50px;
  }
  .node-kontakty .map iframe {
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 760px) {
  .node-kontakty .form-div form .form-item {
    width: 100%;
    margin-bottom: 25px;
  }
  .node-kontakty .map iframe {
    margin-top: 30px;
  }
  .node-kontakty .contacts .line .item {
    margin-bottom: 20px;
  }

}
@media screen and (max-width: 650px) {
  .node-kontakty .contacts .line {
    grid-template-columns: 1fr;
    grid-gap: 0;
  }
  .node-kontakty .image-header h1 {
    bottom: -80px;
    top: inherit;
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -o-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
  }
  .node-kontakty .image-header img {
    height: 200px;
    padding-right: 30px;
  }
  .node-kontakty .image-header {
    padding: 60px 0 130px;
  }
}

@media screen and (max-width: 460px) {
  .node-kontakty .image-header h1 {
    font-size: 30px;
    line-height: 40px;
  }
  .node-kontakty .form-wrap .title {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 25px;
  }
  .node-kontakty .form-wrap .text {
    font-size: 25px;
    line-height: 38px;
  }
  input[type='submit'] {
    font-size: 18px;
  }
  input[type='tel'], input[type='text'], input[type='email'], input[type='password'], select, textarea {
    font-size: 18px;
  }
  textarea::placeholder,
  input::placeholder {
    font-size: 18px;
  }
  .node-kontakty .form-div .form__field {
    padding: 0 15px;
  }
  .node-kontakty .form-div input[type='submit'] {
    margin: 0 0 50px;
    width: 100%;
  }

}
