Fixed class and css inheritance