﻿/* (A) LIST TO MENU */
.tree, .section ul {  list-style: none;  padding: 0;  margin: 0;}
.tree {  background: none;  border: 1px solid #d2d2d2;}
.tree li {  border-bottom: 1px solid #d2d2d2;  padding: 3px 20px;}
.tree li:last-child {  border: 0;}

/* (B) SUB-SECTIONS */
/* (B1) TOGGLE SHOW/HIDE */
.section ul { display: none; }
.section input:checked ~ ul { display: block; }

/* (B2) HIDE CHECKBOX */
.section input[type=checkbox] { display: none; }

/* (B3) ADD EXPAND/COLLAPSE ICON  */
.section {   position: relative;   padding-left: 20px !important;}

/* ADD EXPAND/COLLAPSE ICON  */
.section label:after {
  content: "\025BA";
  position: absolute;
  top: 0; left: 0;
  padding: 1px 2px;
  text-align: center;
  font-size: 16px;
  color: #0000FF;
  transition: all 0.5s;
}
.section input:checked ~ label:after {   color: #23c37a;  transform: rotate(90deg);}

/* (B4) SUB-SECTION ITEMS */
.section ul { margin-top: 2px; }
.section ul li { color: #d43d3d; padding: 1px 15px;}

/* DOES NOT MATTER */
.tree {  font-family: arial, sans-serif;  font-size: 16px; }