replace nth-child pseudo selector with nth-of-type as ios8 Safari fails ...

...on nth-child