#TOC ul,
#TOC li,
#TOC span,
#TOC a {
  margin: 0;
  padding: 0;
  position: relative;
}
#TOC {
  line-height: 1;
  border-radius: 3px 3px 0 0;
  background: #006400;
/*  background: linear-gradient(to bottom, #328332 0%, #006400 100%);*/
  border-bottom: 2px solid #640064;
  width: auto;
  float: left;
  clear: left;
}
body {
  margin-left: 110px;
/*  border: 25px solid black;*/
  width: auto;
  max-width: 95%;
}

#TOC {
  position: fixed;
  left: 0;
  top: 0px;
  width: 20%;
  max-width: 200px;
  min-width: 20px;
  height: 100%;
  overflow:auto;
}
#TOC:after,
#TOC ul:after {
  content: '';
  display: block;
  clear: both;
}
#TOC a {
  background: #006400;
/*  background: linear-gradient(to bottom, #328332 0%, #006400 100%);*/
  color: #ffffff;
  display: block;
  padding: 9px 10px;
  text-decoration: none;
  text-shadow: none;
}
#TOC ul {
  list-style: none;
}
#TOC > ul > li {
  display: block;
  float: left;
  margin: 0;
}
#TOC > ul > li > a {
  color: #ffffff;
}

#TOC > ul > li:first-child > a {
  border-radius: 5px 0 0 0;
}

#TOC.align-right > ul > li:first-child > a,
#TOC.align-center > ul > li:first-child > a {
  border-radius: 0;
}
#TOC.align-right > ul > li:last-child > a {
  border-radius: 0 5px 0 0;
}
#TOC > ul > li.active > a,
#TOC > ul > li:hover > a {
  color: #ffffff;
  box-shadow: inset 0 0 3px #000000;
  background: #002800;
  width:200px;
  background: linear-gradient(to bottom, #004600 0%, #002800 100%);
}
#TOC .has-sub {
  z-index: 2;
}
#TOC .has-sub:hover > ul {
  display: block;
}
#TOC .has-sub ul {
  display: none;
  position: relative;
  width: 185px;
  top: 100%;
  left: 15px;
}
#TOC .has-sub ul li a {
  background: #640064;
  border-bottom: 1px dotted #b17fb1;
  filter: none;
  display: block;
  line-height: 120%;
  padding: 5px;
  color: #ffffff;
}
#TOC .has-sub ul li:hover a {
  background: #003100;
}
#TOC ul ul li:hover > a {
  color: #ffffff;
}
#TOC .has-sub .has-sub:hover > ul {
  display: block;
}
#TOC .has-sub .has-sub ul {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
}
#TOC .has-sub .has-sub ul li a {
  background: #003100;
  border-bottom: 1px dotted #b17fb1;
}
#TOC .has-sub .has-sub ul li a:hover {
  background: #003100;
}
#TOC ul ul li.last > a,
#TOC ul ul li:last-child > a,
#TOC ul ul ul li.last > a,
#TOC ul ul ul li:last-child > a,
#TOC .has-sub ul li:last-child > a,
#TOC .has-sub ul li.last > a {
  border-bottom: 0;
}
#TOC ul {
  font-size: 0.9rem;
}
*/
