/**
 *
 * Boost.space Forms
 * Copy & edit from the 0.4.7
 *
 */

.boost-space-forms {
  position: relative;
}

.boost-space-forms form {
  display: flex;
  flex-direction: column;
}

.boost-space-forms form fieldset legend {
  display: none;
}

.boost-space-forms form fieldset > div {
  position: relative;
  width: 100%;
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  max-width: 100%;
  margin: 25px 0 30px 0;
  padding: 0;
}

@media (max-width:899px) {
  .boost-space-forms form fieldset > div {
    margin-top: 15px;
    margin-bottom: 20px;
  }
}

@media (max-width:599px) {
  .boost-space-forms form fieldset > div {
    margin-top: 15px;
    margin-bottom: 15px;
  }
}

.boost-space-forms form fieldset > div.required-input::before {
  display: block;
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 100%;
  position: absolute;
  left: -22px;
  bottom: 14px;
  background: #9c8668;
}
.catalogoue-strong strong {
  color: #9c8668;
}
.boost-space-forms form fieldset > div.required-input.input-type-checkbox::before,
.boost-space-forms form fieldset > div.required-input.input-type-gdpr_accept::before,
.boost-space-forms form fieldset > div.required-input.input-type-newsletter_accept::before {
  display: none;
}

.boost-space-forms form fieldset > div label {
  position: absolute;
  top: 38px;
  left: 0;
  font-size: 19px;
  color: #000;
  padding: 0;
  transition: all .4s;
  z-index: 99;
  transform-origin: 0 50%;
  -webkit-transform-origin: 0 50%;
  -ms-transform-origin: 0 50%;
  pointer-events: none;
}

@media (max-width:899px) {
  .boost-space-forms form fieldset > div label {
    font-size: 17px;
  }
}

@media (max-width:599px) {
  .boost-space-forms form fieldset > div label {
    top: 28px;
  }
}

.boost-space-forms form fieldset > div.is-focus > label,
.boost-space-forms form fieldset > div.is-filled > label,
.boost-space-forms form fieldset > div.input-type-select > label {
  transform: scale(.66) translateY(-38px) translateX(0px);
  opacity: 0.66;
}

.boost-space-forms form fieldset > div.input-type-checkbox,
.boost-space-forms form fieldset > div.input-type-gdpr_accept,
.boost-space-forms form fieldset > div.input-type-newsletter_accept {
  display: flex;
  align-items: center;
}

.boost-space-forms form fieldset > div input[type=checkbox] {
  border: none;
}

.boost-space-forms form fieldset > div input[type=checkbox] + label {
  position: relative;
  top: 0;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 100%;
  pointer-events: all;
  cursor: pointer;
}

@media (max-width:899px) {
  .boost-space-forms form fieldset > div input[type=checkbox] + label {
    font-size: 17px;
  }
}

.boost-space-forms form fieldset > div input,
.boost-space-forms form fieldset > div textarea {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 68px;
  font-size: 19px;
  background: none;
  color: #333;
  padding: 28px 0 0 0;
  transition: transform .4s, opacity .4s, border .4s, box-shadow .4s;
  border: 1px solid rgb(0, 0, 0, 0);
  border-bottom: 1px solid #848484;
  border-radius: 0;
}

@media (max-width:899px) {
  .boost-space-forms form fieldset > div input,
  .boost-space-forms form fieldset > div textarea {
    font-size: 17px;
  }
}

@media (max-width:599px) {
  .boost-space-forms form fieldset > div input,
  .boost-space-forms form fieldset > div textarea {
    padding-top: 18px;
    min-height: 58px;
  }
}

.boost-space-forms form fieldset > div textarea {
  /* max-height: 68px; */
  height: 68px;
  max-height: none;
  padding-top: 0px;
  border-top: 36px solid #fff;
  resize: vertical;
  overflow: hidden;
}

.boost-space-forms form fieldset > div:focus-within input {
  box-shadow: 0px 12px 34px -28px rgba(0, 0, 0, 0.35);
}

.boost-space-forms form fieldset > div:focus-within textarea {
  box-shadow: 0px 12px 34px -28px rgba(0, 0, 0, 0.35);
}

.boost-space-forms form fieldset > div select {
  font-family: inherit;
  color: #333;
  padding: 7px 0 7px 0;
  min-height: 0;
  font-size: 19px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 32px 0 0 0;
  border: 1px solid rgb(0, 0, 0, 0);
  background-color: transparent;
  border-bottom: 1px solid #848484;
  box-shadow: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  background-image: url('../img/ios-arrow-down.svg');
  background-repeat: no-repeat, repeat;
  background-position: right 10px bottom 40%;
  background-size: 14px;
  outline: none;
}

@media (max-width:899px) {
  .boost-space-forms form fieldset > div select {
    font-size: 17px;
  }
}

.boost-space-forms form fieldset > div select::-ms-expand {
  display: none;
}

.boost-space-forms form fieldset > div select:hover {
  cursor: pointer;
}

.boost-space-forms form fieldset > div select:focus {
  box-shadow: 0px 12px 34px -28px rgba(0, 0, 0, 0.35);
}

.boost-space-forms form fieldset > div select option {
  font-weight: normal;
}

.boost-space-forms form fieldset > div select option:first-child {
  color: #666;
}

.boost-space-forms form fieldset > div select:disabled,
.boost-space-forms form fieldset > div select.input[aria-disabled=true] {
  opacity: 0.5;
  cursor: not-allowed;
}

.boost-space-forms form fieldset > div input[type=checkbox] {
  position: relative;
  cursor: pointer;
  display: inline-block;
  width: auto;
  min-height: 0;
  font-size: 26px;
  width: 26px;
  height: 26px;
  margin: 0 16px 0 0;
}

@media (max-width:899px) {
  .boost-space-forms form fieldset > div input[type=checkbox] {
    font-size: 19px;
    width: 19px;
    height: 19px;
    margin-right: 18px;
  }
}

.boost-space-forms form fieldset > div input[type=checkbox]:before {
  content: "";
  display: block;
  position: absolute;
  width: 26px;
  height: 26px;
  top: 0;
  left: 0;
  border: 1px solid #848484;
  border-radius: 0;
  background-color: white;
}

@media (max-width:899px) {
  .boost-space-forms form fieldset > div input[type=checkbox]:before {
    width: 22px;
    height: 22px;
  }
}

.boost-space-forms form fieldset > div.required-input input[type=checkbox]:before {
  border-color: #a48484;
}

.boost-space-forms form fieldset > div input[type=checkbox]:checked:after {
  content: '';
  display: block;
  width: 7px;
  height: 13px;
  border: solid #00b4cd;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 4px;
  left: 10px;
}

@media (max-width:899px) {
  .boost-space-forms form fieldset > div input[type=checkbox]:checked:after {
    width: 6px;
    height: 11px;
    left: 8.5px;
  }
}

.boost-space-forms form .submit-field {
  margin-top: 35px;
  text-align: center;
  order: 3;
}

.boost-space-forms form input {
  -webkit-appearance: none !important;
}

.boost-space-forms form input[type="submit"] {
  font-size: 17px;
  line-height: 1.2;
  font-family: inherit;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  background: none;
  color: #fff;
  border: 1px solid #02161c;
  background-color: #02161c;
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 35px;
  transition: all .4s;
  position: relative;
  box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.boost-space-forms form input[type="submit"]:hover {
  background-color: #fff;
  border: 1px solid #000;
  color: #000;
}

.boost-space-forms form input[type="submit"]:hover::after {
  right: 32px;
}

.boost-space-forms .google-recaptcha {
  margin: 15px 0;
  text-align: center;
}

.boost-space-forms .google-recaptcha > div {
  margin: auto;
}

@media (max-width:599px) {
  .boost-space-forms .google-recaptcha > div {
    transform: scale(0.77);
    -webkit-transform: scale(0.77);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
}

.boost-space-forms .form-status {
  padding: 0.65em 1em 0.75em 1em;
  border: 2px solid #00a0d2;
  font-size: 21px;
  text-align: center;
  margin: 32px 0 0 0;
  box-shadow: 7px 7px 0 rgba(0,0,0,0.05);
  display: none;
}

@media (max-width:899px) {
  .boost-space-forms .form-status {
    font-size: 17px;
  }
}

.boost-space-forms .form-status.alert {

}

.boost-space-forms .form-status.alert.alert-success {
  border-color: #00d259;
  display: block;
}


.boost-space-forms .form-status.alert.alert-danger {
  border-color: #eb5353;
  display: block;
}

.boost-space-forms form fieldset > div.catalog-version-print,
.boost-space-forms form fieldset > div.catalog-version-electronic {
  width: 50%;
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  max-width: 50%;
  float: left;
  line-height: 1.25;
  background-image: url(https://aquamarinespa.cz//wp-content/themes/aquamarine/assets/img/catalogue/catalogs_print.png);
  background-size: 180px;
  background-position: 50% 0%;
  background-repeat: no-repeat;
  height: 250px;
  align-items: flex-end;
}

.boost-space-forms form fieldset > div.catalog-version-electronic {
  background-image: url(https://aquamarinespa.cz//wp-content/themes/aquamarine/assets/img/catalogue/catalogs_electronic.png);
  background-position: 50% 21%;
}

@media (max-width:599px) {
  .boost-space-forms form fieldset > div.catalog-version-print,
  .boost-space-forms form fieldset > div.catalog-version-electronic {
    width: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
    background-position: 50% 50%;
    background-size: 150px;
    height: 200px;
    float: none;
  }
}

@media (max-width:399px) {
  .boost-space-forms form fieldset > div.catalog-version-print,
  .boost-space-forms form fieldset > div.catalog-version-electronic {
    background-position: 50% 25%;
    background-size: 120px;
    height: 170px;
  }
}

.boost-space-forms form fieldset > div.catalog-version-print input[type=checkbox],
.boost-space-forms form fieldset > div.catalog-version-electronic input[type=checkbox] {
  margin-bottom: 7px;
}

.boost-space-forms form fieldset > div.catalog-version-print input[type=checkbox] + label,
.boost-space-forms form fieldset > div.catalog-version-electronic input[type=checkbox] + label {
  height: auto;
}


/* SPECIAL FORMS FIXES */

.page-id-129 .input-wrap-input_97 label::after {
  margin-top: 6px !important;
}

.page-id-129 .input-wrap-input_177 label,
.page-id-7361 .input-wrap-input_175 label {
  top: -10px !important;
}
