main page frame and custom styles