label { font-weight: bold; font-size: 18px; cursor: pointer; } ul { padding-left: 20px; margin: 0; height: 0; overflow: hidden; } ul.active { height: auto; } li { list-style: none inside none; padding: 5px 0; cursor: pointer; } li.active { color: #1976D3; }