/**
* Modal Forms
*/
.modal-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.modal-form.center {
  align-items: center;
}
.inquiry-modal .content .hero,
.map-modal .content .hero, 
.price-modal .content .hero {
  color: #fff ;
  background: #1d2327 ;
  font-size: 26px;
  border-bottom: 1px #ccc solid;
  margin-bottom: 20px;
}
.inquiry-modal .content {
  background: #efefef !important;
}

.modal-form .hero {
  flex: 0 0 100%;
  max-width: 100%;
  font-size: 25px;
  margin-bottom: 20px;
  font-weight: 500!important;
  padding: 0!important;
}
.modal-form .desc {
  flex: 0 0 100%;
  max-width: 100%;
  font-size: 14px;
  padding-right: 45%;
  margin-bottom: 20px;  
}
.modal-form .form-area {
  flex: 0 0 52%;
  max-width: 52%;
}
.modal-form .detail-area {
  flex: 0 0 45%;
  max-width: 45%;
}
.modal-form .field {
  margin-bottom: 15px;
}
.modal-form .field label {
  display: block;
  width: 100%;
}
.modal-form .field input,
.modal-form .field textarea {
  display: block;
  width: 100%;
  height: 40px;
  padding: 10px;
  font-size: 14px;
  border: solid 1px #ccc;
  border-radius: 5px;
  transition: all .3s linear;
}
.modal-form .field input:focus,
.modal-form .field textarea:focus {
  border-color: #1d2327 ;
}
.modal-form .field textarea {
  min-height: 130px;
  resize: none;
}

.modal-estate .modal-form .field textarea { min-height: 100px; }

.modal-form .checkboxes .field-checkbox {
  position: relative;
  margin-bottom: 15px;
  font-size: 13px;
  padding-left: 25px;
}
.modal-form .checkboxes input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 3;
  cursor: pointer;
}
.modal-form .checkboxes .checkbox {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: #ccc;
  border-radius: 100%;
}
.modal-form .checkboxes input:checked + .checkbox {
  background: #1d2327 ;
}
.modal-form .checkboxes .title {
  text-align: center;
  margin-bottom: 15px;
}
.modal-form .checkboxes {
  margin-bottom: 15px;
}
.modal-form button {
  position: relative;
  display: block;
  width: 100%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 50px;
  border-radius: 5px;
  background-color: #1d2327 ;
  text-decoration: none;
  border: unset;
  transition: all .3s linear;
}
.modal-form button:hover {
  background-color: #02967c;
}
.modal-form .detail-area {
  padding: 15px;
  background: #efefef;
}
.modal-form .detail-area img {
  width: 100%;
  margin-bottom: 10px;
}
.modal-form .detail-area .name {
  margin: 15px 0;
  color: #78859F;
  font-size: 12px;
}
.modal-form .detail-area .price {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #626F88;
  font-size: 24px;
}
.modal-form .detail-area .properties li {
  margin-top: 5px;
  padding-left: 25px;
  color: #78859F;
  font-size: 12px;  
  background: url('../images/icon@right-arrow.svg') no-repeat left center;
}
.modal-form--alternate .badge {
  display: inline-block;
  margin-bottom: 15px;
  padding: 10px;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  border-radius: 5px;
  background: #ffa636;
}
.modal-form--alternate .desc {
  padding-right: 0;
  font-size: 18px;
  line-height: 27px;
  color: #555;
}
.modal-form--alternate button {
  font-size: 16px;
}
.modal-form--alternate button strong {
  font-size: 20px;
}

@media(max-width: 768px) {
  .modal-form .form-area {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .modal-form .detail-area {
    display: none;
  }
  .inquiry-modal .content .hero {
    font-size: 20px!important;
  }
  .inquiry-modal .content .form {
    padding: 0 20px 30px;
  }
}
