@charset "UTF-8";
/* APPLY FORM */
.form-container {
  position: relative;
  padding-bottom: 138px;
}
.form__span {
  height: 622px;
  width: 93%;
  position: absolute;
  left: -1px;
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.05);
  background-color: #f3e1ba;
  z-index: 0;
  top: -19px;
}
.form__header {
  display: flex;
  margin-bottom: 35px;
}
.form__header h2, .form__header #apartment__form-thank-message {
  font-size: 50px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: none;
  color: #475068;
}

.apartment__form__card, .postlisti__form__card {
  position: relative;
  width: 100%;
  /* height: 550px; */
  height: 675px;
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  z-index: 1;
  padding: 69px 96px 38px 96px;
}
@media (min-width: 1200px) {
  .apartment__form__card, .postlisti__form__card {
    height: 654px;
  }
}
.apartment__form__section, .postlisti__form__section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.apartment__form__section-block, .postlisti__form__section-block {
  display: block;
}
.apartment__form__section-block input, .postlisti__form__section-block input {
  margin-bottom: 20px;
}
.apartment__form label, .apartment__form .label, .postlisti__form label, .postlisti__form .label {
  width: 49%;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #8e8e8e;
  margin-bottom: 29px;
}
.apartment__form input[type=text], .apartment__form input[type=email], .apartment__form input[type=date], .apartment__form input[type=number], .apartment__form textarea, .apartment__form .select-pure__select, .apartment__form select, .postlisti__form input[type=text], .postlisti__form input[type=email], .postlisti__form input[type=date], .postlisti__form input[type=number], .postlisti__form textarea, .postlisti__form .select-pure__select, .postlisti__form select {
  display: block;
  width: 100%;
  margin-top: 8px;
  color: #8e8e8e;
  border: none;
  background-color: #f4f3f1;
  padding-left: 7px;
}
.apartment__form input[type=text], .apartment__form input[type=email], .apartment__form input[type=date], .apartment__form input[type=number], .apartment__form select, .postlisti__form input[type=text], .postlisti__form input[type=email], .postlisti__form input[type=date], .postlisti__form input[type=number], .postlisti__form select {
  height: 34px;
}
.apartment__form input.is-danger, .postlisti__form input.is-danger {
  border: 1px solid red;
}
.apartment__form select.is-danger, .postlisti__form select.is-danger {
  border: 1px solid red;
}
.apartment__form__footer, .postlisti__form__footer {
  position: absolute;
  bottom: 38px;
  right: 96px;
  left: 96px;
}
.apartment__form__button, .postlisti__form__button {
  width: 276px;
  height: 53px;
  background-color: #e0757d;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
}
@media (max-width: 992px) {
  .apartment__form__button, .postlisti__form__button {
    width: 230px;
  }
}
.apartment__form__button:hover, .postlisti__form__button:hover {
  opacity: 0.85;
}
.apartment__form__button-next, .postlisti__form__button-next {
  float: right;
}
.apartment__form__button-prev, .postlisti__form__button-prev {
  float: left;
}
.apartment__form__button-disabled, .postlisti__form__button-disabled {
  opacity: 0.75;
  cursor: default;
  pointer-events: none;
}
.apartment__form-thank, .postlisti__form-thank {
  margin-top: 100px;
  text-align: center;
}
.apartment__form-error, .postlisti__form-error {
  color: red;
  display: none;
  margin-top: 10px;
}

.apartment__form__section-roomates {
  display: flex;
  width: 100%;
}
.apartment__form__roomates {
  display: block;
}
.apartment__form__roomates-select {
  margin-bottom: 20px;
}
.apartment__form__roomates-select label, .apartment__form__roomates-select select, .apartment__form__roomates-select option {
  margin-bottom: auto;
  font-size: 12px;
}
.apartment__form__roomates-select label {
  width: auto;
  margin-right: 10px;
  display: flex;
}
.apartment__form__roomates p {
  display: flex;
  width: 100%;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #8e8e8e;
  margin-bottom: 15px;
  text-transform: uppercase;
  cursor: pointer;
}
.apartment__form__roomates p:before {
  display: block;
  content: "+";
  font-size: 12px;
  margin-right: 4px;
}
.apartment__form__roomates-open:before {
  content: "-" !important;
}
.apartment__form__roomates-inputs {
  display: flex;
  width: 100%;
}
.apartment__form__roomates input {
  max-width: 97%;
}
.apartment__form__section-files {
  display: block;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .apartment__form__section-files {
    margin-top: -15px;
  }
}
.apartment__form__section-files ol {
  font-size: 14px;
}
.apartment__form__section-files .radio-label {
  width: 100%;
  display: flex;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: initial;
  color: #475068;
  font-weight: normal;
}
@media (max-width: 768px) {
  .apartment__form__section-files .radio-label {
    font-size: 14px;
  }
}
.apartment__form__section-files .radio-label input {
  margin: 4px;
}
.apartment__form__section-files {
  /* Hide the default radio button */
}
.apartment__form__section-files input[type=radio] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.apartment__form__files {
  display: flex;
  margin-left: 25px;
  font-size: 12px;
}
@media (max-width: 768px) {
  .apartment__form__files {
    flex-wrap: wrap;
  }
}
.apartment__form__files > div {
  width: 25%;
  display: block;
  text-align: center;
}
@media (max-width: 768px) {
  .apartment__form__files > div {
    width: 50%;
  }
}
.apartment__form__files input {
  display: none;
}
.apartment__form__files label {
  display: block;
  margin: 7px auto 0 auto;
  width: 35px;
  min-width: 35px;
  height: 35px;
  color: #e0757d;
  cursor: pointer;
  font-size: 16px;
  border: 2px solid #e0757d;
  text-align: center;
}
@media (max-width: 768px) {
  .apartment__form__files label {
    margin: 2px auto 7px auto;
    width: 30px;
    min-width: 30px;
    height: 30px;
  }
}
.apartment__form__files label::before {
  content: "+";
  display: inline-block;
  font-size: 20px;
  vertical-align: middle;
  line-height: 31px;
}
@media (max-width: 768px) {
  .apartment__form__files label::before {
    line-height: 25px;
  }
}
.apartment__form__files label:hover {
  opacity: 0.85;
}
.apartment__form__files label.file-chosen::before {
  content: "✔";
}

.postlisti__form label, .postlisti__form .label {
  width: 100%;
}
.postlisti__form label[for=name] {
  width: 49%;
}

#apartment__form-thank-message {
  margin-bottom: 18px;
  color: #475068;
}

/* MOBILE */
@media (max-width: 768px) {
  .form__header {
    margin-bottom: 20px;
  }
  .form__header h2 {
    margin: auto;
    font-size: 32px;
  }
  .form__span {
    height: 670px;
  }
  .apartment__form__card, .postlisti__form__card {
    height: 725px;
    padding: 50px 25px 38px 25px;
    font-size: 14px;
  }
  .apartment__form__basic-text, .postlisti__form__basic-text {
    font-size: 14px;
  }
  .apartment__form__section, .postlisti__form__section {
    display: block;
  }
  .apartment__form__section-files label, .postlisti__form__section-files label {
    font-size: 14px;
  }
  .apartment__form input, .postlisti__form input {
    margin-bottom: 15px;
  }
  .apartment__form__button, .postlisti__form__button {
    float: none;
  }
  .apartment__form__button-next, .apartment__form__button-submit, .postlisti__form__button-next, .postlisti__form__button-submit {
    margin-bottom: 20px;
  }
  .apartment__form__roomates, .postlisti__form__roomates {
    width: 100%;
  }
  .apartment__form__roomates-inputs, .postlisti__form__roomates-inputs {
    flex-wrap: wrap;
  }
  .apartment__form__roomates-select, .postlisti__form__roomates-select {
    width: 100%;
  }
  .apartment__form__roomates label, .postlisti__form__roomates label {
    margin-bottom: 5px;
  }
  .apartment__form__footer, .postlisti__form__footer {
    text-align: center;
  }
  .apartment__form__footer {
    left: 0;
    right: 0;
    margin: auto;
  }
  .postlisti__form {
    height: 640px;
  }
  .postlisti .form__span {
    height: 620px;
  }
  .postlisti__form__button {
    margin-top: 30px;
  }
}
@media (max-width: 535px) {
  .apartment__form__card {
    height: 865px;
  }
  .form__span {
    height: 807px;
  }
  .postlisti__form {
    height: 640px;
  }
  .postlisti .form__span {
    height: 620px;
  }
}