.preloader .container,
#header {
  animation-delay: 0.5s;
}

.preloader {
  animation-duration: 1s;
}

.preloader .container {
  height: 100%;
}

.preloader:before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../img/dormeo-contact-us.png);
  background-size: cover;
  background-position: center top;
  /*opacity: .2 !important;
  --mask: linear-gradient(to bottom, rgba(0,0,0, 1) 0, rgba(0,0,0, 1) 40%, rgba(0,0,0, 0) 95%, rgba(0,0,0, 0) 0 ) 100% 50% / 100% 100% repeat-x;
  -webkit-mask: var(--mask);
  mask: var(--mask);*/
}

div.preloader .definition {
  animation-delay: 0.75s;
}

.arrows {
  animation-delay: 1s;
}
#contactUs {
  padding-top: 3rem;
}

#contactUs,
#map {
  background: linear-gradient(0deg, #fff 0%, #efefef 100%);
  z-index: 1;
  overflow-x: clip;
  overflow-y: visible;
  display: flex;
  justify-content: center;
  position: relative;
}

#contactUs .row,
#map .row {
  width: 1200px;
  max-width: 100vw;
  margin-bottom: 3rem;
}

#contactUs .row {
  margin-bottom: 0;
}

#contactUs .row .col-md-6 {
  margin: 0 auto;
  min-width: 350px;
  padding: 1rem 2rem;
}

#contactUs .row .col-md-6:last-child div.contactForm {
  padding: 2rem 1.5rem;
  border: 1px solid #555;
  border-bottom: none;
  color: #000;
  min-height: 580px;
  --mask: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0,
      rgba(0, 0, 0, 1) 80%,
      rgba(0, 0, 0, 0) 95%,
      rgba(0, 0, 0, 0) 0
    )
    100% 50% / 100% 100% repeat-x;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  background: linear-gradient(
    180deg,
    rgb(252, 248, 245) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.15);
  text-align: center;
}

#contactUs .row .col-md-6 div h2,
#map .row h2 {
  color: #ca571e;
  margin-bottom: 2rem;
  text-align: left;
}

#map .row h2 {
  margin-top: 2rem;
  padding: 0;
}

#contactUs .row .col-md-6 div h5 {
  letter-spacing: 0.07em;
  text-decoration: underline;
  padding-bottom: 0.5rem;
  margin: 0.75rem 0;
}

#contactUs .row .col-md-6 div span {
  font-weight: 600;
  color: #111;
}

#map:before {
  content: "";
  position: absolute;
  width: 90%;
  max-width: 100vw;
  height: 100%;
  left: 5%;
  overflow: visible;
  bottom: -7rem;
  opacity: 0.5;
  background-image: url(../img/bottom.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
}

#contactUs table td {
  border: none;
  padding: 0.5rem 2rem;
}

#contactUs table td:first-child {
  padding-left: 0;
  max-width: 100px;
  color: #111;
}

#contactUs table td:last-child {
  padding-right: 0;
}

#contactUs table td a {
  color: #ca571e;
}

#contactUs table td img {
  width: 18px;
  margin-right: 1rem;
  vertical-align: middle;
  padding-bottom: 3px;
}

.form-group input,
.form-group textarea {
  border-color: #777;
}

#contactUs .row .col-md-6:last-child div.contactForm button {
  width: 150px;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

#contactUs .row .col-md-6:last-child div.contactForm button img {
  width: 27px;
  filter: invert(1);
  margin-left: 1rem;
}

#contactForm {
  padding-bottom: 0 !important;
}

#map {
  background: none;
}

#map .row {
  padding: 0 2rem;
}

#map iframe {
  z-index: 1;
  padding: 0;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
}

#map iframe:hover {
  padding: 0;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.35);
  -webkit-box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.35);
}

#faq {
  padding: 3rem 1.5rem;
  overflow: hidden;
  padding-bottom: 5rem;
}

#faq h1 {
  margin: 5rem auto;
  font-family: Roboto-Thin;
  letter-spacing: 0.02em;
  line-height: 1.5;
  font-weight: 600;
  font-size: 28px;
  text-align: center;
  color: #000;
  width: 340px;
  max-width: 100%;
  background-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(171, 133, 37, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

#faq .row {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

#faq .row .accordion-flush .accordion-item .accordion-button {
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  font-size: 16px;
  margin: 0;
  white-space: initial;
  line-height: 1.8;
  padding: 1.5rem 0;
}

#faq .row .accordion-flush .accordion-item .accordion-body {
  color: #333;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 2rem;
}

#faq .row .accordion-button:not(.collapsed) {
  color: #ca571e;
  background-color: transparent;
}

#action a {
  width: auto;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .preloader:before {
    /*opacity: .4 !important;*/
  }
  #contactUs .row .col-md-6:last-child div.contactForm {
    min-height: 600px;
  }

  #faq h1 {
    width: 500px;
  }

  #map {
    padding-bottom: 5rem;
  }

  #map:before {
    width: 600px;
    left: calc(50% - 300px);
    bottom: -70px;
  }
}

@media (min-width: 912px) {
  #map:before {
    width: 800px;
    left: calc(50% - 400px);
    bottom: -90px;
  }
}

@media (min-width: 1200px) {
  .preloader:before {
    /*opacity: .7 !important;*/
  }
  #contactUs table td:first-child {
    max-width: 45px;
    padding-right: 0;
  }
}
