applies the input box styling