/* Former template: Forms and sorting filters */
form {
  margin: 20px 0;
}
textarea {
  resize: vertical;
}
textarea.form-control {
  height: auto;
}
.form-control {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #ffffff;
  height: 40px;
  font-weight: 300;
  font-size: 14px;
  padding-right: 30px;
  border-color: #e1e1e1;
  color: #777777;
  position: relative;
  -webkit-appearance: none;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}
.form-inline [type=submit] {
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 575px) {
  .form-inline {
      display: block !important;
  }
}
.form-control:focus {
  border-color: #999999;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}
select.form-control {
  padding-right: 5px;
  -webkit-appearance: menulist;
}
.form-control::-webkit-input-placeholder {
  color: inherit;
}
form label,
.radio label,
.checkbox label {
  font-weight: 300;
}
.has-feedback {
  position: relative;
}
.has-feedback label ~ .form-control-feedback {
  top: 29px;
}
.has-feedback .form-control-feedback {
  width: 40px;
  height: 40px;
  line-height: 40px !important;
  top: 0;
  right: 0;
  color: #777777;
  position: absolute;
  text-align: center;
  margin-top: 0;
}
.sorting-filters label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  text-align: left;
}
.sorting-filters form {
  margin: 0;
}
.sorting-filters .form-inline .form-control {
  width: 100%;
}
.sorting-filters .btn {
  margin: 0;
  min-width: 0;
  width: 100%;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .sorting-filters .form-inline .form-group {
      width: 16%;
  }
}
@media (min-width: 992px) {
  .sorting-filters .btn {
      margin: 25px 0 0;
  }
}
@media (max-width: 991px) {
  .sorting-filters .form-control {
      margin: 0 0 5px;
  }
  .sorting-filters .form-inline,
    .sorting-filters .form-inline .form-group {
      display: block;
  }
  .sorting-filters form {
      width: 100%;
  }
}
