:root {
  --primary-color: #69a583;
  --text-color: #777777;
  --error-color: #dc3545;
}

.field-inner {
  width: 100%;
  position: relative;
}

.label {
  display: block;
  position: absolute;
  top: -20px;
  padding-left: 2px;
  left: 15px;
}

.label::before {
  position: absolute;
  content: attr(data-label);
  top: 0;
  left: -17px;
  color: var(--primary-color);
}

.wpcf7-not-valid-tip {
  position: absolute;
  top: -25px;
  right: 9px;
  font-size: 12px !important;
  line-height: 12px !important;
  color: var(--error-color) !important;
}

.wpcf7-response-output {
  border: none !important;
  position: absolute;
  padding: 5px;
  bottom: -110px;
  z-index: 5;
  width: 100%;
  font-size: 14px !important;
  line-height: 110% !important;
  padding: 0 !important;
}

.checked {
  text-align: left;
  margin-top: 0px !important;
}

.checked .dp-col {
  cursor: pointer;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.checked-label span {
  color: var(--text-color) !important;
  font-size: 12px !important;
  margin: 0;
}

.checked span::before {
  font-size: 16px !important;
}

.link {
  font-size: 12px !important;
  color: var(--text-color) !important;
  font-style: italic;
  transition: all 0.5s ease;
}

.checked-label:hover .link {
  color: var(--primary-color) !important;
  transition: all 0.5s ease;
}

.fieldset-cf7mls-wrapper div.wpcf7-validation-errors {
  color: var(--error-color) !important;
}

.wpcf7-not-valid {
  border: 1px solid var(--error-color) !important;
}

@media only screen and (max-width: 767px) {
  .wpcf7-not-valid-tip {
    top: -20px;
    font-size: 10px !important;
    line-height: 10px !important;
  }

  .field-inner {
    width: 100%;
  }
}

@media only screen and (max-width: 510px) {
  .checked {
    margin-top: -30px !important;
  }

  .checked-label span {
    font-size: 10px !important;
  }

  .link {
    font-size: 10px !important;
  }
}
