@charset "utf-8";
.side-nav label {
  display: block;
  position: relative;
  margin: 0 0 4px 0;
  padding : 10px;
  line-height: 1;
  font-size: 14px;
  font-weight: bold;
  color :#fff;
  background : blue;
  cursor: pointer;
}
.side-nav label::after {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 3em;
  height: 3em;
  line-height: 3;
  text-align: center;
  -webkit-transition: all .35s;
  -o-transition: all .35s;
  transition: all .35s;
}

.side-nav input[type=radio] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.side-nav input[type=radio] + label::after {
  content: "\25BC";
}
.side-nav input[type=radio]:checked + label::after {
  transform: rotateX(180deg);
  display: none;
}
.side-nav ul {
  margin: 0;
  padding: 0 0 0 20px;
  background-color: lightgray;
  list-style: none;
}
.side-nav li {
  font-size: 14px;
  height: 0;
  overflow: hidden;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.side-nav2 label {
  display: block;
  margin: 0 0 4px 0;
  padding: 15px;
  line-height: 1;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: orange;
  cursor: pointer;
}
.side-nav2 ul {
  margin: 0;
  padding: 0 0 0 15px;
  background-color: lightgray;
  list-style: none;
}
.side-nav2 li {
  font-size: 14px;
  margin: 0;
  background-color: lightgray;
}

.tab {
  position: relative;
  margin-bottom: 1px;
  width: 100%;
  color: #fff;
  overflow: hidden;
}

.tab-content {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height .35s;
  -o-transition: max-height .35s;
  transition: max-height .35s;
  color: #000;
}

.tab-content p {
  margin: 1em;
}

input:checked ~ .tab-content {
  max-height: 100%;
}
input[type=checkbox] + label::after {
  content: "+";
}
input[type=checkbox]:checked + label::after {
  transform: rotate(315deg);
}


.warning {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 0.9em;
  color: red;
  background-color: lightgray;
  overflow-y: visible;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

#type-conflex:checked ~ #links-conflex li,
#type-amber:checked ~ #links-amber li,
#type-chemoffice:checked ~ #links-chemoffice li,
#type-gaussian:checked ~ #links-gaussian li,
#type-support:checked ~ #links-support li,
#type-seminar:checked ~ #links-seminar li {
    height: 2em;
    opacity: 1;
  }
  #type-conflex:checked ~ .warning {
    height: auto;
    opacity: 1;
  }

@media only screen and (min-width: 768px) {
  .nav-menu ul li:nth-child(2) {
    border-bottom: 3px solid #0095d9;
  }
}
