updated css for top-bottom panel, text box