Accordion ugly appearance

 The accordion feature when inserted to my LMS ( MyLO) appears very untidy. I would like to remove the box that is around it.  The rules between are ok. I would also like to change the font size and font of the panel heading. see screenshot  (accord 1).



Also look at the second image (Accord 2). This is what i found in a different unit . I like this style. how can i get this format of the panel