// SEARCH
.search-admin {
  > * {
    display: inline-block;
    margin: 0 2em 0 0;
    padding: 0;
    vertical-align: bottom;

    &:last-child {
      margin-right: 0;
      text-align: center;
    }
  }

  fieldset {
    border: 0;

    legend {
      border-bottom: solid 1px $background-secondary;
      box-sizing: border-box;
      padding: 0 1em .5em;
      width: 100%;
    }

    legend + .search-fields {
      margin-top: .5em;
      padding: 0 1em;
    }

    .search-fields {
      display: table;

      > p {
        display: table-cell;
        vertical-align: bottom;
      }

      > p + p {
        padding-left: 1em;
      }
    }
  }

  fieldset input,
  input[type='submit'],
  fieldset select {
    background-color: #fff;
    display: block;
    height: auto;
    padding: .3em .5em;
    width: auto;
  }

  label + input,
  label + select {
    background-image: none;
    box-shadow: 0 0 4px #888 inset;
  }
}
