/* ----- FORM----- */
.webform {
  box-shadow: 0 5px 8px rgba(88, 88, 88, 0.4);
  padding: 15px 10px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid #ffd556;
  background: #fdfdfd;
}
.webform .webform-progress .webform-progress-tracker.progress-tracker {
  margin: 5px auto 18px auto;
  font-size: 12px;
}
.webform .progress-marker {
  width: 24px;
  height: 24px;
}
.webform input {
  margin-bottom: 15px;
}
.webform .select-wrapper:after {
  top: 25px;
  right: 6px;
}
.webform label {
  letter-spacing: 0.4px;
  font-weight: 600;
  margin-top: 8px;
  font-size: 12px;
}
.webform legend {
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 12px;
  padding-top: 10px;
  border-bottom: none;
  margin-bottom: 5px;
}
.webform .js-form-item-date-of-birth {
  margin-bottom: -5px;
}
.webform .radios--wrapper label {
  font-weight: unset;
}
.webform .js-form-type-checkbox {
  margin-bottom: 5px;
}
.webform .js-form-type-radio {
  padding-right: 15px;
  font-size: 16px;
}
.webform input.form-control {
  padding: 12px 13px 9px;
  margin: 0;
  height: 100%;
  font-size: 16px;
}
.webform select.form-control {
  padding: 12px 13px 9px;
  margin: 0;
  height: 100%;
  font-size: 16px;
}
.webform .email-terms {
  font-size: 11px;
}
.webform .phone-terms {
  font-size: 11px;
}

.select-wrapper select {
  line-height: 25px;
}

.webform-actions {
  text-align: center;
}

.webform-submit {
  text-align: center;
}

/* ----- VALIDITY ----- */
input[name=street2] {
  text-transform: unset !important;
}

.eac-sugg {
  padding: 15px 0px 12px 2px;
  font-size: 16px;
}

.valid-message {
  text-align: center;
  line-height: 7px;
  font-size: 12px;
  background: #e4faff;
  padding: 15px 0;
  max-width: 320px;
}

.email-v {
  margin: 15px auto -20px auto;
}

.addr-v {
  margin: -10px auto -20px auto;
}

/* ----- GENDER ----- */
.form-item-gender label, .form-item-phone-type label {
  font-size: 16px;
}

div[id*=edit-gender] .form-item-gender:first-child label,
div[id*=edit-gender] .form-item-gender:nth-child(2) label,
div[id*=edit-gender] .form-item:first-child,
div[id*=edit-gender] .form-item:nth-child(2) {
  margin-bottom: 0px;
}

div[id*=edit-gender] ul.parsley-errors-list li {
  position: absolute;
  margin-top: 70px;
}

/* ----- CATEGORIES ----- */
fieldset.categories {
  text-align: center;
  margin-top: -5px;
}
fieldset.categories .js-form-type-checkbox label {
  display: inline-block;
  background-color: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 25px;
  margin: 5px auto;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s;
  box-shadow: 0px 1px 2px rgba(99, 99, 99, 0.2);
  padding: 10px 0 9px 10px;
  cursor: pointer;
  width: 100%;
  font-weight: 500;
  color: #5b5b5b;
  text-align: left;
  font-size: 14px;
}
fieldset.categories .js-form-type-checkbox input[type=checkbox] {
  position: absolute;
  opacity: 0;
}
fieldset.categories .js-form-type-checkbox input[type=checkbox]:checked + span {
  background-color: #52bb79;
  color: #fff;
  transition: all 0.2s;
  border-radius: 25px;
  padding: 2px 0;
  outline: none;
  margin-right: 5px;
}
fieldset.categories .js-form-type-checkbox input[type=checkbox]:checked + span::before {
  content: "\f00c";
  transform: rotate(-360deg);
  transition: transform 0.3s ease-in-out;
  outline: none;
  font-size: 10px;
}
fieldset.categories .js-form-type-checkbox input[type=checkbox]:focus + span {
  outline: none;
}
fieldset.categories .js-form-type-checkbox input[type=checkbox]:active + span {
  outline: none;
}
fieldset.categories span::before {
  outline: none;
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  font-size: 12px;
  padding: 0 7px;
  content: "\f067";
  transition: transform 0.3s ease-in-out;
}
fieldset.categories .fad {
  font-size: 16px;
  margin: 0 15px 0 8px;
}

/* ----- PARSLEY ----- */
.webform .parsley-errors-list {
  padding: 0;
  margin: 0;
}
.webform .parsley-errors-list li {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #d30408;
  letter-spacing: 0.5px;
  padding: 10px 0 5px 0;
}
.webform .form-control:focus {
  border-color: #4ca0fa;
  outline: none;
}
.webform #birthday-error {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #d30408;
  letter-spacing: 0.5px;
  padding: 10px 0 5px 0;
}
.webform input.parsley-error {
  border: 1px solid #d30408;
}
.webform select.parsley-error {
  border: 1px solid #d30408;
}
.webform .select-wrapper select.parsley-error {
  border: 1px solid #d30408;
}

/* ----- MEDIA QUERIES ----- */
@media (min-width: 410px) {
  fieldset.categories .fad {
    margin: 0 10px 0 2px;
  }
}
@media (min-width: 450px) {
  fieldset.categories .fad {
    margin: 0 15px 0 8px;
  }
}
@media (min-width: 500px) {
  div[id*=edit-gender] ul.parsley-errors-list li {
    margin-top: 80px;
  }

  .webform-options-display-two-columns,
fieldset.category-set {
    max-height: 280px;
  }
}
@media (min-width: 640px) {
  .webform-options-display-two-columns,
fieldset.category-set {
    max-height: 300px;
  }
}
@media (min-width: 768px) {
  .webform {
    padding: 35px 40px 25px;
    margin-bottom: 50px;
  }
  .webform .select-wrapper:after {
    top: 30px;
  }
  .webform label {
    font-size: 18px;
  }
  .webform legend {
    font-size: 18px;
  }
  .webform input.form-control {
    padding: 15px 15px;
    font-size: 18px;
  }
  .webform select.form-control {
    padding: 15px 15px;
    font-size: 18px;
  }

  .select-wrapper select {
    line-height: 27px;
  }

  fieldset.categories .webform-options-display-two-columns {
    width: 80%;
  }
  fieldset.categories .js-form-type-checkbox {
    margin-bottom: 8px;
  }
  fieldset.categories .js-form-type-checkbox input[type=checkbox]:checked + span {
    padding: 2px 0;
  }
  fieldset.categories .js-form-type-checkbox input[type=checkbox]:checked + span::before {
    font-size: 14px;
  }
  fieldset.categories .js-form-type-checkbox label {
    padding: 12px 0 12px 10px;
  }

  .webform-options-display-two-columns {
    max-height: 340px;
  }

  fieldset.category-set {
    max-height: 340px;
  }

  .form-item-gender label {
    font-size: 18px;
  }

  .form-item-phone-type label {
    font-size: 18px;
  }

  .eac-sugg {
    padding: 17px 0px 12px 0px;
    font-size: 18px;
  }
}