fieldset {
  border: none;
  @include font($baton-regular);
  margin: 0 0 10px;
  padding: 0 10px;
  display: block;
  position: relative;
  word-break: break-all;
  word-wrap: break-word;
  &:last-of-type {
    padding-bottom: 0;
  }
}
textarea {
  @include font($baton-regular);
  border: none;
  padding: 8px 8px 0;
  margin: 0 8px;
  display: block;
}
.required-asterisk {
  color: #909497;
  font-size: 13px;
}
.required-info {
  color: #909497;
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin: -5px 0 0;
}
.hint-text {
  color: #909497;
  display: block;
  font-size: $font-small;
  font-weight: bold;
  padding: 0 0 10px;
  text-transform: capitalize;
}
.search-icon {
  font-size:12px;
  color: #909497;
}

.helptext {
  color: $slate-grey;
  font-size: $font-small;
  padding: 0 0 10px;
  line-height: get-line-height($font-x-small, 20px);
}

.error-list,
.errorlist {
  margin: 0;
  padding: 0;
  li {
    display: block;
    color: $bright-orange;
    text-align: center;
  }
}
.errors, .error-list__item {
  color: $bright-orange;
  padding: 10px 15px 0;
  text-align: center;
}
label.error {
  .required-asterisk,
  .required-info {
    color: $bright-orange;
  }
  input[type="submit"] {
    border: none;
    background: #fff;
  }
  input[type="text"],
  input[type="number"],
  input[type="password"],
  input[type="email"],
  input[type="tel"],
  input[type="search"] {
    border: 1px solid red;
  }
}

label,
.checkbox__legend {
  font-size: $font-medium;
  padding: 10px 0 0;
  color: $gunmetal;
  display: initial;
  text-align: center;
}

.select-group {
  display: inline-block;
  padding: 15px 0;
}
.sub_label {
  display: block;
}
.input-group {
  ul {
    padding: 0;
    margin: 0;
    li {
      display: block;
      position: relative;
      label {
        text-align: left;
      }
    }
  }
  &.input-error {
    input, textarea {
      border-color: $bright-orange;
    }
  }
  .error-message {
    color: $bright-orange;
  }
  span {
    color: #868b95;
    font-size: $font-x-small;
    font-style: italic;
    padding-left: 10px;
  }
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="week"],
input[type="date"],
input[type="month"],
input[type="datetime"],
input[type="datetime-local"],
input[type="url"],
textarea, select {
  border: 2px solid $springster-purple;
  box-sizing: border-box;
  border-radius: 0;
  display: block;
  font-size: 16px;
  margin: 10px auto;
  padding: 10px 0 10px 5px;
  width: 98%;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -webkit-border-radius: 0px;
  &:focus {
    outline: 0;
    border: 2px solid $springster-purple !important;
  }
}

.choice-group {
  margin: 0 0 10px;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
  margin-left: 10px;
  position: initial;
  visibility: initial;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select {
  background: #fafafa;
  margin: 0 auto 10px;
  padding: 10px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  &:focus,
  &:visited,
  &:active {
    outline: none;
  }
}
button {
  border: none;
}
