added styles for main layers