.tqf-h2 {
    font-family: var(--e-global-typography-d23cb6e-font-family), Sans-serif;
    font-size: var(--e-global-typography-d23cb6e-font-size);
    font-weight: var(--e-global-typography-d23cb6e-font-weight);
    text-transform: var(--e-global-typography-d23cb6e-text-transform);
    font-style: var(--e-global-typography-d23cb6e-font-style);
    line-height: var(--e-global-typography-d23cb6e-line-height);
    color: var(--e-global-color-primary);
    margin: 0;
}

.tqf_row {
    display: flex;
    flex-wrap: wrap;
}

.tqf_row-left {
    width: 70%;
    border-right: 1px solid rgb(128 128 128 / 20%);
}

.tqf_row-right {
    width: 30%;
}
.tqf-age-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.tqf-btn-add,  .tqf-remove-age {
    border: 1px solid rgb(128 128 128 / 20%);
    color: #000 !important;
    line-height: 0px;
    width: 48px;
    font-weight: bold;
    background: transparent !important;
    height: 48px;
    padding: 0;
    min-width: 48px;
}
.tqf_row + .tqf_row {
    border-top: 1px solid rgb(128 128 128 / 20%);
}

.tqf_row + .tqf_row .tqf_row-left {
    padding: 30px 30px 30px 0;
}

.tqf_row + .tqf_row .tqf_row-right {
    padding: 30px 0 30px 30px;
}

.tqf_row:first-child .tqf_row-right {
    padding: 0 0 30px 30px;
}

.tqf_row:first-child .tqf_row-left {
    padding: 0 30px 30px 0;
}

.tqf-label {
    font-family: var(--e-global-typography-097da25-font-family), Sans-serif;
    font-size: var(--e-global-typography-097da25-font-size);
    font-weight: var(--e-global-typography-097da25-font-weight);
    text-transform: var(--e-global-typography-097da25-text-transform);
    font-style: var(--e-global-typography-097da25-font-style);
    line-height: var(--e-global-typography-097da25-line-height);
    color: var(--e-global-color-primary);
    margin-bottom: 6px;
    display: block;
}

.tqf-field select, .tqf-field input, .tqf-field textarea {
    width: 100%;
    border: none;
    background: #FAF2E1;
    color: var(--e-global-color-primary);
    padding: 12px 15px;
}

label.tqf-field {
    width: 100%;
    display: block;
}

.tqf-field input::placeholder, .tqf-field textarea::placeholder {
    color: #80868B;
}

.tqf-field input, .tqf-field textarea {
}

.tqf-field select {
}

.tqf-field select:focus, .tqf-field input:focus, .tqf-field textarea:focus {
    outline: none;
}

.tqf_row-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 14px;
    line-height: 21px;
}

.tqf_row-left .tqf-field +  .tqf-field {
    margin-top: 20px;
}

.tqf_row .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -16px;
}

.tqf_row .row .col-md-6 {
    width: 50%;
    padding: 0 16px;
}
.tqf_row .row .col-md-12 {
    width: 100%;
    padding: 0 16px;
}
.tqf-help {
    font-size: 14px;
    margin-top: 10px;
}

.tqf-field input#tqf-daily-budget, .tqf-field input#tqf-total-budget {
    padding-left: 40px;
}

.tqf-field  .tqf-input-prefix span {
    position: absolute;
    top: 16px;
    left: 15px;
}

.tqf-field .tqf-input-prefix {
    position: relative;
}

.tqf_row:last-child .tqf_row-left, .tqf_row:last-child .tqf_row-right {
    padding-bottom: 0;
}
.tqf-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.tqf-checkbox {
    position: relative;
}

.tqf-checkbox > span {
    padding: 0 0 0 25px;
    line-height: 21px;
    display: flex;
    position: relative;
}

.tqf-checkbox + .tqf-checkbox {
    margin-top: 15px;
}

.tqf-checkbox > span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border: 1px solid #262626;
}

.tqf-checkbox input:checked + span:before {
    background: #262626;
}

.tqf-checkbox input:checked + span:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.tqf-msg {
    margin-top: 8px;
    font-size: 14px;
    color: #6a645a;
  }
  .tqf-msg.tqf-ok {
    color: #2b7a2b;
  }
  .tqf-msg.tqf-err {
    color: #a32626;
  }
  
  button.tqf-btn[type="submit"] {
      border: none;
      background: #83744D;
      border-radius: 0;
      font-family: var(--e-global-typography-87c423b-font-family), Sans-serif;
      font-size: var(--e-global-typography-87c423b-font-size);
      font-weight: var(--e-global-typography-87c423b-font-weight);
      text-transform: var(--e-global-typography-87c423b-text-transform);
      font-style: var(--e-global-typography-87c423b-font-style);
      line-height: var(--e-global-typography-87c423b-line-height);
      fill: var(--e-global-color-7dbc4c5);
      color: var(--e-global-color-7dbc4c5);
      padding: 14px 34px;
  }
  
  button.tqf-btn[type="submit"]:focus {
      outline: none;
  }
  .data-radio-wrap {
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.data-radio-wrap span.tqf-label {
    margin: 0;
}

.data-radio-col {
    display: flex;
    align-items: center;
    gap: 15px;
}

.data-radio-col label.tqf-radio {
    position: relative;
}

.data-radio-col label.tqf-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.data-radio-col label.tqf-radio span {
    padding-left: 20px;
    position: relative;
}

.data-radio-col label.tqf-radio span:before {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #262626;
    border-radius: 100%;
    top: 2px;
}

.data-radio-col label.tqf-radio input:checked + span:after {
    content: "";
    position: absolute;
    left: 3px;
    top: 5px;
    background: #262626;
    width: 10px;
    height: 10px;
    border-radius: 100%;
}





.tqf-hidden {
    display: none !important;
  }
  
  .tqf-field textarea {
    min-height: 120px;
}

@media only screen and (max-width: 1024px) {

.tqf_row + .tqf_row .tqf_row-left {
    padding: 15px 15px 15px 0;
}

.tqf_row + .tqf_row .tqf_row-right {
    padding: 15px 0 15px 15px;
}

.tqf_row:first-child .tqf_row-right {
    padding: 0 0 15px 15px;
}

.tqf_row:first-child .tqf_row-left {
    padding: 0 15px 15px 0;
}

.tqf_row:last-child .tqf_row-left, .tqf_row:last-child .tqf_row-right {
    padding-bottom: 0;
}

}
@media only screen and (max-width: 767px) {
.tqf_row-left {
    width: 100%;
    border: none;
    padding: 0 !important;
}

.tqf_row-right {
    width: 100%;
    padding: 15px 0 0 0 !important;
}

.tqf_row + .tqf_row {margin-top: 20px;padding-top: 20px;}

.tqf_row .row .col-md-6 {
    width: 100%;
}
}
