Fixes for first rule in custom CSS code