#customPageTitle,
.customPageText {
  display: none !important;
}
#content {
  min-height: 100vh !important;
}
.centeredContent {
  overflow: visible;
}
.centeredContent {
  width: 100% !important;
}
.contact {
  position: relative;
}
.backgroundContact {
  position: absolute;
  top: -400px;
  width: 100%;
}
.buttonRed {
  width: 150px;
  padding: 10px 30px;
  color: white;
  border: 1px solid #aa1829;
  background: #aa1829;
  cursor: pointer;
  transition: 0.5s all ease-in-out;
  margin: 20px auto 0 auto !important;
  justify-content: center !important;
}
.buttonRed:hover {
  border: 1px solid #aa1829;
  background: transparent;
  color: #aa1829;
}
.contactForm {
  background: white;
  width: 80%;
  position: inherit;
  max-width: 1100px;
  margin: auto;
  margin-top: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 30px;
}
h1 {
  color: #aa1829;
  font-weight: 700;
  margin-bottom: 20px !important;
  font-size: 28px;
}
h1 + p {
  font-size: 18px;
  color: #000000;
  opacity: 0.7;
  width: 80%;
  max-width: 670px;
  margin: auto !important;
  margin-bottom: 40px !important;
}
.form {
  width: 90%;
}
.form div {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}
.form div label {
  display: flex;
  align-items: center;
  margin-right: 10px !important;
}
.consult {
  flex-direction: column;
}
.form div input {
  margin-right: 10px !important;
  background: #f6f6f6;
  border-radius: 0;
  border: transparent;
  padding: 5px 10px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 15px;
  height: auto;
}
input[type="date"]:before {
  content: attr(placeholder);
  margin-right: 10px;
  font-weight: 700;
}
input[type="date"]:focus:before {
  content: "" !important;
}
.form div textarea {
  background: #f6f6f6;
  border-radius: 0;
  border: transparent;
  color: rgba(0, 0, 0, 0.5);
  font-size: 15px;
  padding: 15px 0;
  text-indent: 15px;
  width: 100%;
}
.form div input:last-child {
  margin-right: 0 !important;
}
.form p {
  text-align: initial;
  font-weight: 600;
  color: black;
  margin-top: 30px !important;
}
.contactInput {
  margin-bottom: 0;
}
.consult input {
  margin-bottom: 10px !important;
  width: 100%;
}
.customizableFieldRow {
  background-color: rgba(196, 196, 196, 0.2);
  border-radius: 5px;
  margin-bottom: 7px !important;
  width: 72%;
  text-indent: 7px;
  padding-top: 3px;
  padding-bottom: 3px;
  margin-top: 5px;
  font-size: 13px;
  color: #757575;
  height: 24px;
}
.form + p {
  font-weight: 700;
  margin-top: 70px !important;
  margin-bottom: 10px !important;
  font-size: 20px;
}
.form + p + p {
  font-size: 20px;
  margin-bottom: 20px !important;
}
.wpForm {
  cursor: pointer;
}
.wpForm img {
  width: 270px;
  margin-bottom: 30px !important;
}
iframe {
  height: 350px;
  width: 90%;
}

@media screen and (min-width: 770px) and (max-width:1150px) {
  h1{
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 10px !important;
  }
  h1+p, .form+p+p{
    font-size: 17px;
  }
}

@media screen and (max-width: 768px) {
  .backgroundContact {
    top: -250px;
    width: 100%;
    height: 50vh;
    object-fit: cover;
  }
  .contactForm {
    width: calc(95% - 60px);
    padding: 30px 10px 0;
  }
  h1 + p {
    font-size: 14px;
    width: 90%;
  }
  .form {
    width: 100%;
  }
  .form div {
    flex-direction: column;
    margin: 0;
  }
  .form div input {
    margin-bottom: 10px !important;
    width: 100%;
  }
  .form p{
    margin-bottom: 10px !important;
    margin-top: 20px !important;
    font-weight: 400;
  }
  .form div label{
    margin-bottom: 10px !important;
  }
  .form div label:nth-of-type(2){
    margin-top: 10px !important;
  }
  .buttonRed{
    width: 100%;
  }
  .form+p+p{
    font-size: 15px;
    line-height: 18px;
  }
  .customPageCenteredContent{
    margin-bottom: 0;
  }
  iframe{
    width: 100%;
    margin-bottom: 30px;
  }
  #to {
    margin-bottom: 35px !important;
  }
}
