added css for when elements are within a div.has-error // adaptation to bootstrap validator