.contact-content {
  display: flex;
  padding-top: 40px;
  padding-bottom: 120px;
}

.contact-infos {
  width: 50%;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 440px;
}

.location-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}
.location-card p {
  margin: 0;
}

.location-image,
.location-image img {
  width: 100%;
  display: block;
  border-radius: 5px 5px 0 0;
}
.location-info {
  border-radius: 0 0 5px 5px !important;
}

.location-card:has(.full-link:hover) .location-info.button {
  background-color: var(--ice-blue);
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-options a.button {
  margin-bottom: 0;
}

.contact-options a {
  flex: 1;
  text-align: center;
}

/* Contact Form */
.contact-form {
  width: 50%;
}

@media screen and (max-width: 1000px) {
  .contact-content {
    flex-direction: column;
    gap: 40px;
  }

  .contact-infos,
  .contact-form {
    width: 100%;
  }

  .contact-cards {
    max-width: unset;
  }

  .contact-content {
    padding-top: 20px;
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 600px) {
  .contact-options {
    flex-direction: column;
    gap: 10px;
  }
}

/* Inputs, Forms. etc. */
input,
select,
textarea {
  border: unset;
  border-bottom: 1px solid var(--light);
  padding-bottom: 10px;
  margin-bottom: 0 !important;
  -webkit-appearance: none;
  border-radius: unset !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: unset;
  color: var(--black);
}

select {
  background-color: unset;
  color: var(--black);
}

label {
  opacity: 0.5;
}

textarea {
  field-sizing: content;
}

button[type="submit"] {
  cursor: pointer;
  background-color: unset;
  margin-bottom: 0 !important;
  width: 100%;
  color: var(--black);
}
button[type="submit"]:hover {
  background-color: var(--ice-blue);
}

.ff-el-group {
  position: relative;
  margin-bottom: 15px !important;
}

.ff-el-input--label {
  position: absolute !important;
  top: 30px;
  font-size: 20px;
  transition: all 0.3s ease-in;
}
.ff-el-input--content {
  padding-top: 30px;
}

.ff-el-group:focus-within .ff-el-input--label,
.ff-el-group:has(.ff-el-form-control:not(:placeholder-shown))
  .ff-el-input--label,
.ff-el-group:has(select) .ff-el-input--label {
  top: 0px;
  font-size: 16px;
}

.ff-el-group.ff-el-is-error .ff-el-input--label {
  bottom: 30px;
}

.ff-el-group select {
  appearance: none; /* removes default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("/wp-content/themes/notariat-onepager/assets/icons/chevron_down.svg");
  background-repeat: no-repeat;
  background-position: right 10px center; /* adjust spacing */
  background-size: 16px 16px; /* size of the icon */
  padding-right: 30px; /* make room for icon */
}

.ff-message-success {
  background: var(--ice-blue);
  box-shadow: none !important;
  border: 1px solid var(--light);
  border-radius: 5px;
}
