completely reworked styles due to an issue in chrome/webit