moved css from parent to child