.accordion { cursor: pointer; } .panel { overflow: hidden; display: inline-block; transition: max-height 0.2s ease-out; } section#content article h1.accordion:after { content: '—'; color: #496c94; float: right; margin-right: 1%; } section#content article h1.active:after { content: "+"; } section#content h1 { background-color: #cde2e5; display: table; text-align: left; width: 100%; padding: 5px 0 5px 10px; box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } section#content > article { margin: 0 2% 20px 2%; width: 95%; display: inline-block; text-align: left; } section#content .panel { padding: 15px 0 0 0; } div.boxright, div.boxleft { margin: 0 0 20px 0; background-color: white; box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); padding: 30px; text-align: center; opacity: 1; }