/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://example.com/
 Description:  A custom child theme
 Author:       dtkweb
 Author URI:   https://example.com
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  generatepress-child
*/
.cta-form__row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.cta-form__row.--full {
  width: 100%;
}
.cta-form__row.--full .cta-form__input {
  flex-grow: 1;
  width: 100%;
}
.cta-form__row p {
  margin: 0;
}
.cta-form__row input {
  width: 100%;
}
.input-text {
}
textarea.input-text {
  width: 100%;
  resize: vertical;
  height: 119px;
}
@media screen and (max-width: 600px) {
  .cta-form__row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-form__text {
    font-size: 12px;
  }
}

/* Big form */
.big-form {
  max-width: 644px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  color: #0c1d3d;
}
.big-form__row {
  display: flex;
  gap: 40px;
}
.big-form__title {
  flex: 0 0 150px;
}
.big-form__input {
  flex-grow: 1;
}

.big-form-nemovitost {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  padding: 2px;
}

.big-form-nemovitost__input {
  position: relative;
}
.big-form-nemovitost__input label {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 7px;
  cursor: pointer;
}
.big-form-nemovitost__input input {
  position: absolute;
  opacity: 0;
  z-index: -1;
  top: 0;
  left: 0;
}
.big-form-nemovitost__input input:checked + label {
  background: #bd8f13;
  color: #fff;
}
.big-form-nemovitost__input input:checked + label img {
  filter: brightness(100);
}

.big-form__row {
  margin-bottom: 54px;
}

input.big-form__input-text {
  width: 100%;
  padding: 14px;
  outline: none;
  font-size: 16px;
}
input.--margin-top {
  margin-top: 24px;
}

.big-form__title {
  color: #0c1d3d;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px; /* 150% */
  letter-spacing: 1px;
  text-transform: uppercase;
}

.big-form__input select {
  width: min(240px, 100%);
  padding: 14px;
  outline: none;
  font-size: 16px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='11' viewBox='0 0 20 11' fill='none'%3E%3Cpath d='M9.70312 11.0039C10.0196 11.0039 10.3124 10.8633 10.5351 10.629L19.0664 1.89842C19.2773 1.6875 19.3945 1.41797 19.3945 1.11328C19.3945 0.480456 18.9141 0 18.2812 0C17.9883 0 17.6953 0.11718 17.4843 0.328122L9.70312 8.29688L1.91016 0.328122C1.69922 0.11718 1.42969 0 1.11328 0C0.492192 0 0 0.480456 0 1.11328C0 1.41797 0.117198 1.6875 0.328122 1.89842L8.85938 10.629C9.10552 10.875 9.37498 11.0039 9.70312 11.0039Z' fill='%230C1D3D'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 45px;
}
.checkbox-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.radio-input {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.radio-input input {
  opacity: 0;
  position: absolute;
}
.radio-input label {
  position: relative;
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px; /* 171.429% */
  letter-spacing: -0.16px;
  gap: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.radio-input label:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: #fff;
  display: block;
}

.radio-input label:after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: #bd8f13;
  position: absolute;
  top: calc(50% - 3px);
  left: 2px;
  transform: scale(0);
}
.radio-input input:checked + label:after {
  transform: scale(1);
}

.big-form__input.--plocha {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}
.big-form__input.--plocha input:first-child {
  width: 137px;
}

.big-form__input.--plocha input:last-child {
  width: 210px;
}

.checkbox-input {
  position: relative;
}
.checkbox-input input {
  opacity: 0;
  position: absolute;
}
.checkbox-input label {
  position: relative;
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px; /* 171.429% */
  letter-spacing: -0.16px;
  gap: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.checkbox-input label:before {
  content: "";
  width: 20px;
  height: 20px;
  border: 1px solid #0c1d3d;
  background: #fff;
  display: block;
}
.checkbox-input input:checked + label:before {
  background: #bd8f13;
  /* border-color: #bd8f13; */
}

.submit-before,
.submit-after {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px; /* 150% */
  letter-spacing: -0.12px;
}
.submit-before {
  text-align: left;
}
.big-form__row.--submit {
  text-align: center;
}
.big-form__row.--submit button {
  margin: 17px 0 22px;
  width: 100%;
}

.big-form__input a {
  color: #0c1d3d;
  text-decoration: underline;
  font-weight: 600;
}

.big-form__input .subtext {
  color: rgba(18, 18, 18, 0.8);
  margin-top: 20px;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px; /* 150% */
  letter-spacing: -0.12px;
}

.big-form__row.--before-submit {
  margin-bottom: 25px;
}
.--var.--dum:not(.--byt),
.--var.--pozemek {
  display: none;
}

.big-form.--pozemek .--margin-top.mesto-input {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .big-form__row {
    flex-direction: column;
    gap: 17px;
  }
  .big-form__title {
    flex: 0 0 auto;
  }
  .big-form__row {
    margin-bottom: 40px;
  }
  input.--margin-top {
    margin-top: 14px;
  }
  .big-form__input.--plocha input:first-child,
  .big-form__input.--plocha input:last-child {
    width: 40%;
  }
  .big-form {
    padding-left: 24px;
    padding-right: 24px;
  }
  .big-form-nemovitost__input label {
    font-size: 12px;
    gap: 4px;
  }
  .big-form-nemovitost__input label img {
    width: 20px;
  }
}
/* AJAX Form Styles */
.big-form__error {
  color: #d32f2f;
  font-size: 12px;
  margin-top: 5px;
  line-height: 1.4;
}

.big-form__success {
  background-color: #4caf50;
  color: white;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  text-align: center;
}

.big-form__input-text.error,
select.error,
textarea.error {
  border-color: #d32f2f !important;
}

.big-form button[type="submit"].loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.big-form button[type="submit"] .preloader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.big-form button[type="submit"].loading svg,
.big-form button[type="submit"].loading span {
  opacity: 0;
}

.phone.valid {
  border: 1px solid green;
}
.phone.invalid {
  border: 1px solid red;
}

.gb-element-8850b7bc{
  margin-top: 0 !important;
}