.accordion48 {
margin: 3em auto;
max-width: 100%;
}
.toggle48 {
display: none;
}
.option48 {
position: relative;
margin-bottom: 1em;
}
.title48,
.content48 {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transform: translateZ(0);
transition: all 0.3s;
}
.title48 {
border: solid 1px #ccc;
padding: 1em;
display: block;
color: #3D9899;
font-weight: bold;
font-size: 1.2em;
}
.title48::after,
.title48::before {
content: "";
position: absolute;
right: 1.25em;
top: 1.25em;
width: 2px;
height: 0.75em;
background-color: #999;
transition: all 0.3s;
}
.title48::after {
transform: rotate(90deg);
}
.content48 {
max-height: 0;
overflow: hidden;
}
.content48 p {
margin: 0;
padding: 0.5em 1em 1em;
font-size: 1.1em;
line-height: 200%;
}
.toggle48:checked + .title48 + .content48 {
max-height: 30000px;
transition: all 1.5s;
}
.toggle48:checked + .title48::before {
transform: rotate(90deg) !important;
}