.form-inline is used to make the form horizontal and class .sr-only is used to make the label text invisible.
.form-inline
.sr-only