﻿.toc-widget {
  overflow: visible;
  position: sticky;
  top: 0;
  background-color: #fff;
  background: #f2f2f2;
  padding: 30px;
  max-height: 100vh;
  overflow-y: auto;
}
.toc-widget-contents {
  /*li.toc-li-0:hover {
        ul {
            max-height: 500px;
            transition: max-height .5s ease-in;
            height: auto;
        }
    }*/
}
.toc-widget-contents header {
  color: #282828;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.toc-widget-contents hr {
  background-color: #282828;
}
.toc-widget-contents a {
  color: #282828;
  display: block;
  text-decoration: none;
  /*border-left: 5px solid transparent;*/
  font-weight: normal;
}
.toc-widget-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-widget-contents ul li {
  padding: 3px 0;
  overflow: hidden;
}
.toc-widget-contents ul li a {
  padding-left: 7px;
  font-weight: bold;
}
.toc-widget-contents ul li ul li a {
  padding-left: 20px;
  font-weight: normal;
}
.toc-widget-contents li ul {
  max-height: 0px;
  transition: max-height 0.3s ease-out;
}
.toc-widget-contents a:hover {
  color: #27a6de;
}
.toc-widget-contents .active {
  /*border-top: 1px solid #dcdcdc;
        border-bottom: 1px solid #dcdcdc;
        border-left: 5px solid @orange;*/
  color: #f99d1c !important;
}
.toc-widget-contents li.liactive {
  border-left: 2px solid #f99d1c;
}
.toc-widget-contents li.liactive ul {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
  height: auto;
}
.toc-widget-contents #toc_title {
  padding-left: 7px;
  font-weight: bold;
  margin-bottom: 3px;
}
.toc-widget-contents #toc_title.active {
  border-left: 2px solid #f99d1c;
}
.toc-widget-mobile {
  background: #fff;
  bottom: 30px;
  z-index: 100;
  border-radius: 5px;
  border: 2px solid #e0e1e9;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 3px 0px;
  padding: 15px;
}
.toc-widget-mobile .toc-m-header {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border: 0;
  width: 100%;
  transition: color 0.1s linear;
  cursor: pointer;
}
.toc-widget-mobile .toc-m-header .toc-m-header-title {
  font-weight: 700;
  text-transform: uppercase;
  flex-grow: 1;
  text-align: left;
}
.toc-widget-mobile .toc-m-header .toc-m-header-icon {
  width: 16px;
}
.toc-widget-mobile .toc-m-header:hover {
  color: #27a6de;
}
.toc-widget-contents-mobile {
  display: none;
}
.toc-widget-contents-mobile hr {
  background-color: #282828;
}
.toc-widget-contents-mobile a {
  color: #282828;
  display: block;
  text-decoration: none;
  /*border-left: 5px solid transparent;*/
  font-weight: normal;
}
.toc-widget-contents-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-widget-contents-mobile ul li {
  padding: 3px 0;
  overflow: hidden;
}
.toc-widget-contents-mobile ul li a {
  padding-left: 7px;
}
.toc-widget-contents-mobile ul li ul li a {
  padding-left: 20px;
  font-weight: normal;
}
.toc-widget-contents-mobile li ul {
  max-height: 0px;
  transition: max-height 0.3s ease-out;
}
.toc-widget-contents-mobile #toc_title_m {
  padding-left: 7px;
  margin-bottom: 3px;
}
.toc-widget-contents-mobile a:hover {
  color: #27a6de;
}
.toc-widget-contents-mobile .toc-m-header-icon {
  display: none;
}
.tocm-show {
  display: block;
}
@media (min-width: 700px) {
  .toc-widget-mobile {
    width: 400px;
    margin-left: auto;
    margin-bottom: -50px;
  }
}
@media screen and (min-width: 991px) {
  .toc-widget-mobile {
    display: none;
  }
}