nth-child to nth-of-type