div#ez-toc-container p.ez-toc-title {
  font-size: 120%;
}

div#ez-toc-container p.ez-toc-title {
  font-weight: 500;
}

div#ez-toc-container ul li {
  font-size: 95%;
}

div#ez-toc-container nav ul ul li ul li {
  font-size: 90% !important;
}

.ez-toc-container-direction {
  direction: ltr;
}

.ez-toc-counter ul {
  counter-reset: item;
}

.ez-toc-counter nav ul li a::before {
  content: counters(item, ".", decimal) ". ";
  display: inline-block;
  counter-increment: item;
  flex-grow: 0;
  flex-shrink: 0;
  margin-right: 0.2em;
  float: left;
}

.ez-toc-widget-direction {
  direction: ltr;
}

.ez-toc-widget-container ul {
  counter-reset: item;
}

.ez-toc-widget-container nav ul li a::before {
  content: counters(item, ".", decimal) ". ";
  display: inline-block;
  counter-increment: item;
  flex-grow: 0;
  flex-shrink: 0;
  margin-right: 0.2em;
  float: left;
}
.ez-toc-sticky-fixed {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999999;
  width: auto;
  max-width: 100%;
}

.ez-toc-sticky-fixed .ez-toc-sidebar {
  position: relative;
  top: auto;
  width: auto !important;
  height: 100%;
  box-shadow: 1px 1px 10px 3px rgb(0 0 0 / 20%);
  box-sizing: border-box;
  padding: 20px 30px;
  background: white;
  margin-left: 0 !important;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100vh;
}

.ez-toc-sticky-fixed .ez-toc-sidebar #ez-toc-sticky-container {
  max-width: auto;
  max-width: auto;
  padding: 0px;
  border: none;
  margin-bottom: 0;
  margin-top: 65px;
}

#ez-toc-sticky-container a {
  color: #000;
}

.ez-toc-sticky-fixed .ez-toc-sidebar .ez-toc-sticky-title-container {
  border-bottom-color: #eeeeee;
  background-color: #fafafa;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  width: 100%;
  position: absolute;
  height: auto;
  top: 0;
  left: 0;
  z-index: 99999999;
}

.ez-toc-sticky-fixed
  .ez-toc-sidebar
  .ez-toc-sticky-title-container
  .ez-toc-sticky-title {
  font-weight: 550;
  font-size: 18px;
  color: #111;
}

.ez-toc-sticky-fixed .ez-toc-close-icon {
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
  float: right;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  position: relative;
  color: #000;
  top: -2px;
  text-decoration: none;
}

.ez-toc-open-icon {
  position: fixed;
  right: 0;
  top: 8%;
  text-decoration: none;
  font-weight: 700;
  padding: 5px 10px 15px;
  box-shadow: 1px -5px 10px 5px rgb(0 0 0 / 10%);
  background-color: #fff;
  display: inline-grid;
  line-height: 1.4;
  border-radius: 10px 0 0 10px;
  z-index: 999999;
}

.ez-toc-sticky-fixed.hide {
  -webkit-transition: opacity 0.3s linear, right 0.3s cubic-bezier(0.4, 0, 1, 1);
  -ms-transition: opacity 0.3s linear, right 0.3s cubic-bezier(0.4, 0, 1, 1);
  -o-transition: opacity 0.3s linear, right 0.3s cubic-bezier(0.4, 0, 1, 1);
  transition: opacity 0.3s linear, right 0.3s cubic-bezier(0.4, 0, 1, 1);
  right: -100%;
}

.ez-toc-sticky-fixed.show {
  -moz-transition: right 0.3s linear;
  -o-transition: right 0.3s linear;
  transition: right 0.3s linear;
  right: 0;
}

.ez-toc-open-icon span.arrow {
  font-size: 18px;
}

.ez-toc-open-icon span.text {
  font-size: 13px;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

@media screen and (max-device-width: 640px) {
  .ez-toc-sticky-fixed .ez-toc-sidebar {
    min-width: auto;
  }

  .ez-toc-sticky-fixed .ez-toc-sidebar.show {
    padding-top: 35px;
  }

  .ez-toc-sticky-fixed .ez-toc-sidebar #ez-toc-sticky-container {
    min-width: 100%;
  }
}

.ez-toc-sticky-toggle-direction {
  direction: ltr;
}

.ez-toc-sticky-toggle-counter ul {
  counter-reset: item;
}

.ez-toc-sticky-toggle-counter nav ul li a::before {
  content: counters(item, ".", decimal) ". ";
  display: inline-block;
  counter-increment: item;
  flex-grow: 0;
  flex-shrink: 0;
  margin-right: 0.2em;
  float: left;
}
