body {
  background: #faf7f0;
}

body:not(.home) #content {
  padding-top: 0;
  overflow: hidden;
}

body p {
  font-size: 1em;
}

.herov2 {
  position: relative;
}

.herov2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.69);
  z-index: 1;
}

.herov2 .container {
  position: relative;
  z-index: 3;
}

#content br {
  content: "";
  margin: 8px;
  display: block;
  font-size: 24%;
}

#content .container {
  max-width: 1518px !important;
}

#contact {
  padding: 118px 0 176px 0;
  position: relative;
  z-index: 1;
  background-image: url('../images/rajz.png');
  background-image: image-set(url('../images/rajz.png') 1x,
      url('../images/rajz@2x.png') 2x);
  background-size: auto;
  background-position: 101% 82px;
  background-repeat: no-repeat;
}

#contact .container {
  max-width: 1120px !important;
}

#contact .title {
  font-size: 40px;
  line-height: 1em;
  font-family: 'Noto Serif', serif;
  font-weight: 600 !important;
  color: #000;
  margin-bottom: 62px;
  letter-spacing: 0.1em;
}

#contact .inner {
  display: grid;
  grid-template-columns: 470fr 299fr 333fr;
  grid-template-rows: 1fr 1fr;
  gap: 61px 20px;
}

#contact .inner .el:first-child {
  padding-top: 7px;
  grid-column: 1 / 1;
  grid-row: 1 / 3;
}

#contact .inner .el:first-child a p {
  font-size: 17px;
}

#contact .inner .el:first-child p strong {
  font-size: 14px;
  font-family: "Noto Sans Display", serif;
  font-weight: 600;
}

#contact .inner .el:nth-child(4),
#contact .inner .el:nth-child(5) {
  margin-top: -13px;
}

#contact .el {
  font-size: 12px;
  font-family: "Noto Sans Display", serif;
  color: #000;
}

#contact .el-title {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  font-family: 'Noto Serif', serif;
}

#contact .icon-with-text {
  display: flex;
  align-items: center;
}

#contact .el .icon-with-text {
  margin-top: 12px;
}

#contact .el .icon-with-text:nth-of-type(1) {
  margin-top: 0;
}

#contact .el .icon-with-text + p {
  margin-top: 33px;
}

#contact .img {
  width: 44px;
}

#contact a,
#contact p {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #000;
  text-decoration: none !important;
}

#contact p strong,
#contact p b {
  font-size: 1.285em;
  font-family: 'Noto Serif', serif;
  font-weight: 700;
}

#contact a {
  text-decoration: none !important;
}

#contact .socials {
  margin-top: 35px;
  display: flex;
  align-items: center;
  gap: 15px;
}

#contact .socials a {
  width: 60px;
  height: 60px;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact .inner2 {
  display: grid;
  grid-template-columns: 1fr 344px;
  gap: 83px;
  padding-top: 27px;
}

#contact .logo {
  padding-top: 88px;
}

#contact .form-title {
  font-size: 20px;
  font-weight: 600;
  color: #EBC883;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
  font-family: 'Noto Serif', serif;
}

#contact .gform_required_legend {
  display: none;
}

#contact .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  border: 1px solid #B2A596 !important;
  width: 100%;
  height: 34px;
  line-height: 34px;
  padding: 0 16px;
  background: #fff;
  color: #B2A596;
  font-size: 10px !important;
  font-family: "Noto Sans Display", serif;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

#contact .gform_body textarea {
  border: 1px solid #B2A596 !important;
  padding: 0 16px;
  background: #fff;
  line-height: 164%;
  color: #B2A596;
  font-size: 10px !important;
  font-family: "Noto Sans Display", serif;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  resize: none;
  min-height: 138px;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

#contact .gform_body textarea::placeholder,
#contact .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file])::placeholder {
  color: #B2A596;
  text-transform: uppercase;
  font-family: "Noto Sans Display", serif;
}

.hidden_label label,
.hidden_label legend {
  display: none;
}

.ginput_container_consent {
  display: flex;
}

#contact .ginput_container_consent label {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  color: #000;
  font-family: "Noto Sans Display", serif;
  margin-top: -1px;
}

#contact .ginput_container_consent label a {
  color: #D1A666;
  font-weight: 600;
  font-size: 12px;
}

#contact .map {
  margin-top: 110px;
}

#contact .map iframe {
  max-width: 100%;
}

#contact input[type=checkbox] {
  border: 1px solid #000;
  border-radius: 3px;
  margin-right: 11px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

#contact input[type=checkbox]:checked:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#contact .gform_button[type=submit] {
  margin: 31px 0 0 0 !important;
  min-width: 227px;
  height: 42px !important;
  line-height: 42px !important;
  color: #000 !important;
  border-color: #000 !important;
  background: transparent !important;
  font-family: "Noto Sans Display", serif;
  font-weight: 400 !important;
  letter-spacing: 0.07em;
  transition: 0.2s;
}

#contact .gform_button[type=submit]:hover {
  background: transparent !important;
  border-color: #000 !important;
}

#contact .gform_submission_error {
  font-family: "Noto Sans Display", serif;
  margin-bottom: 8px;
  font-size: 11px;
}

#contact .gfield_validation_message {
  font-size: 11px;
}

#contact .gfield_description.validation_message {
  position: relative !important;
  bottom: 0 !important;
  margin: -6px 0 8px 1px;
  font-family: "Noto Sans Display", serif;
}

#contact .gfield--type-consent .gfield_description.validation_message {
  margin: 2px 0 0 0;
}

@media screen and (max-width: 992px) {
  #contact {
    padding-bottom: 0;
  }

  #contact .title {
    font-size: 46px;
  }

  #contact .inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  #contact .inner2 {
    grid-template-columns: 1fr;
  }

  #contact .logo {
    padding-top: 0;
    text-align: center;
  }

  #contact .logo img {
    max-width: 230px;
  }

  #contact .map {
    margin-left: -15px;
    width: 100vw;
    margin-top: 50px;
  }

  #contact .map iframe {
    width: 100vw;
    height: 265px;
    display: block;
  }

  #contact .ginput_container_consent label {
    margin-top: 0;
  }
}

@media screen and (max-width: 768px) {
  #contact {
    padding: 50px 0 0 0;
  }

  #contact .title {
    font-size: 28px;
    text-align: left;
    margin-bottom: 30px;
  }

  #contact .inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #contact .el-title {
    font-size: 18px;
    margin-bottom: 19px;
    position: relative;
  }

  #contact a,
  #contact p {
    font-size: 11px;
    line-height: 18px;
  }

  #contact .inner .el:first-child a p {
    font-size: 14px;
  }

  #contact .img {
    width: 31px;
  }

  #contact .img img {
    max-width: 17px;
  }

  #contact .el .icon-with-text {
    margin-top: 8px;
  }

  #contact .el .icon-with-text + p {
    margin-top: 17px;
  }

  #contact .socials {
    margin-top: 22px;
  }

  #contact .socials a {
    width: 45px;
    height: 45px;
  }

  #contact .socials img {
    max-width: 25px;
    max-height: 25px;
  }

  #contact .form-title {
    font-size: 18px;
  }

  #contact .inner2 {
    padding-top: 30px;
    gap: 56px;
  }

  #contact .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    height: 30px;
    line-height: 30px;
  }

  #contact .gform_body textarea {
    margin-bottom: 13px;
  }

  #contact .ginput_container_consent label,
  #contact .ginput_container_consent label a {
    font-size: 9px;
  }

  #contact .gform_button[type=submit] {
    height: 33px !important;
    line-height: 33px !important;
    margin-top: 26px !important;
    min-width: 0;
    padding: 0 19px !important;
  }
}