.nav a, .nav label {
  display: block;
  padding: .45rem;
  color: #28a3dc;
  background-color: #e5e9ec;
  -webkit-transition: all .25s ease-in;
  transition: all .25s ease-in;
  font-size: 1.2em;
  text-transform: uppercase;
  margin-bottom: 1px;
}

.nav a.salir {
	color: #cd0c21;
}

.nav a:focus, .nav a:hover, .nav label:focus, .nav label:hover {
  color: #fff;
  background: #a6c1d5;
  text-decoration: none;
}

.nav label { cursor: pointer; }

/**
 * Styling first level lists items
 */

.group-list a, .group-list label {
  padding-left: 2rem;
  background: #eaf8fc;
   color: #6dc4ec;
   margin-bottom: 1px;
}

.group-list a:focus, .group-list a:hover, .group-list label:focus, .group-list label:hover { background: #d7f2fb; color: #6dc4ec; }

/**
 * Styling second level list items
 */

.sub-group-list a, .sub-group-list label {
  padding-left: 4rem;
  background: #353535;
  box-shadow: inset 0 -1px #474747;
}

.sub-group-list a:focus, .sub-group-list a:hover, .sub-group-list label:focus, .sub-group-list label:hover { background: #232323; }

/**
 * Styling third level list items
 */

.sub-sub-group-list a, .sub-sub-group-list label {
  padding-left: 6rem;
  background: #454545;
  box-shadow: inset 0 -1px #575757;
}

.sub-sub-group-list a:focus, .sub-sub-group-list a:hover, .sub-sub-group-list label:focus, .sub-sub-group-list label:hover { background: #333333; }

/**
 * Hide nested lists
 */

.group-list, .sub-group-list, .sub-sub-group-list {
  height: 100%;
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height .5s ease-in-out;
  transition: max-height .5s ease-in-out;
}

.nav__list input[type=checkbox]:checked + label + ul { /* reset the height when checkbox is checked */
max-height: 1000px; }

/**
 * Rotating chevron icon
 */

label > span {
  float: right;
  -webkit-transition: -webkit-transform .65s ease;
  transition: transform .65s ease;
}

.nav__list input[type=checkbox]:checked + label > span {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}