Fixed overlapping css rules