md-input-container {

  &.md-input-has-value {

    md-select {

      md-select-label {
        margin-top: -21px;

        *:first-child {
          margin-top: 11px;
        }

        .md-select-icon {
          margin-bottom: -11px;
        }
      }
    }
  }

  md-select {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    display: block;
    background: none;
    border-width: 0 0 1px 0;
    line-height: 26px;
    -ms-flex-preferred-size: 26px;
    border-radius: 0;
    margin: 0;

    md-select-label.md-select-label {
      border-width: 0 0 2px 0;
      margin-bottom: -2px;
      margin-top: -11px;
    }
  }
}
