modified the css of the relationship layout