/************************************************************
 *
 * Forms
 *
 ************************************************************/
.form-item {
  margin-bottom: 30px;
}
@media (max-width: 1023px) {
  .form-item {
    margin-bottom: 25px;
  }
}
.form-item label,
.form-item legend {
  display: block;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 12px;
  color: black;
}
.form-item label.form-required:after,
.form-item legend.form-required:after {
  content: ' *';
  color: #e85427;
}
@media (max-width: 1023px) {
  .form-item label,
  .form-item legend {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .form-item label,
  .form-item legend {
    font-size: 17px;
  }
}
.form-item label.option,
.form-item legend.option {
  margin-bottom: 0;
}
.form-item.js-form-type-radio label,
.form-item.js-form-type-checkbox label {
  display: inline;
  font-weight: normal;
}
.form-item .description {
  font-size: 15px;
  color: #979797;
  margin-top: 5px;
}
fieldset.styled-fieldset {
  padding: 40px;
  background: #F1F1F1;
}
@media (max-width: 1023px) {
  fieldset.styled-fieldset {
    padding: 25px;
  }
}
@media (max-width: 767px) {
  fieldset.styled-fieldset {
    padding: 15px;
  }
}
fieldset.styled-fieldset legend {
  float: left;
  clear: both;
  width: 100%;
  font-size: 28px;
  color: #e85427;
  margin-bottom: 30px;
}
@media (max-width: 767px) {
  fieldset.styled-fieldset legend {
    font-size: 22px;
  }
}
fieldset .form-item.js-form-type-radio,
fieldset .form-item.js-form-type-checkbox {
  margin-bottom: 5px;
}
input,
textarea {
  width: 100%;
  background: white;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #008cce;
  resize: none;
  font-size: 16px;
  line-height: 40px;
  border-radius: 0;
  font-family: 'Nunito Sans', sans-serif;
}
@media (max-width: 1023px) {
  input,
  textarea {
    line-height: 35px;
  }
}
@media (max-width: 767px) {
  input[type='text'],
  textarea[type='text'],
  input[type='password'],
  textarea[type='password'],
  input[type='email'],
  textarea[type='email'] {
    width: 100%;
  }
}
input[type='submit'],
textarea[type='submit'] {
  cursor: pointer;
  display: inline-block;
  width: auto;
}
@media (max-width: 767px) {
  input[type='submit'],
  textarea[type='submit'] {
    width: 100%;
  }
}
@media (max-width: 1023px) {
  textarea {
    height: 5em;
  }
}
.styled-select {
  background: white url(../images/forms/select.svg) no-repeat right 12px center;
  line-height: 35px;
  height: 35px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border: 1px solid #008cce;
  display: inline-block;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .styled-select {
    line-height: 35px;
    height: 35px;
    background-position: right 10px center;
    padding: 0 20px 0 10px;
  }
}
.styled-select select {
  background: transparent;
  border: none;
  font-size: 16px;
  height: 100%;
  width: 100%;
  padding: 0 15px;
  -webkit-appearance: none;
}
.styled-radio input[type='radio'] {
  display: none;
}
.styled-radio input[type='radio'] + label {
  background: url(../images/forms/radio.svg) no-repeat top left;
  display: inline-block;
  min-height: 20px;
  padding: 0 0 0 30px;
  cursor: pointer;
}
.styled-radio input[type='radio']:checked + label {
  background-image: url(../images/forms/radio-checked.svg);
}
.styled-checkbox input[type='checkbox'] {
  display: none;
}
.styled-checkbox input[type='checkbox'] + label {
  background: url(../images/forms/checkbox.svg) no-repeat top left;
  display: inline-block;
  min-height: 20px;
  padding: 0 0 0 30px;
  cursor: pointer;
}
.styled-checkbox input[type='checkbox']:checked + label {
  background-image: url(../images/forms/checkbox-checked.svg);
}
.styled-datelist .form-item {
  display: inline-block;
  margin-bottom: 0;
}
.styled-datelist .form-item .styled-select {
  width: 80px;
}
@media (max-width: 767px) {
  .styled-datelist .form-item.form-item-date-list-day .styled-select,
  .styled-datelist .form-item.form-item-date-list-year .styled-select {
    width: 50px;
  }
}
#edit-actions {
  margin: 40px 0;
}
