




.autotoc > div {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 24px;

  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;

  padding: 14px 16px;

}



.autotoc > div > span {

  font-weight: bold;

}



.autotoc > div > span + span {

  margin-left: 0.3em;

  font-weight: normal;

}



.autotoc > div > span > a {

  border: 1px solid #8c8c8c;

  padding: 10px 9px;

  border: 1px solid #eee;

  background-color: rgba(0,0,0,0.1);

  border-radius: 8px;

  font-weight: 600;

  color: #222;

  /* height: 48px; */

}


ol.tocarea {
    margin: 0 !important;
}

.autotoc ol {

  padding: 0;

  margin: 0 0 0 0.9em;

}



.autotoc > ol {

  margin: 0;

  margin-top: 8px;

}



.autotoc li {

  margin: 0;

/*  list-style: none !important;
  line-height: 1.2;*/

}



.autotoc a {

  text-decoration: none;
  color: #c5ad52;
  font-size: 16px;

}



.autotoc a:hover {

  text-decoration: underline;

}

.titolo_indice { font-size: 20px; font-weight: bold;}


.tocarea {
    list-style: none;
}

.alfabetico {
        list-style: none;
}



.numerazione {
  list-style: none;
  counter-reset: section;
}

.numerazione li {
  counter-increment: section;

}

.numerazione li a {
  text-decoration: none;

}

.numerazione li > ol.alfabetico {
  list-style: none;
}

.numerazione li > ol.alfabetico li {
  counter-increment: item;
  padding: 5px;
}


.numerazione li::before {
  content: counter(section) ".";
  font-weight: bold;
  margin-right: 10px;
}

.numerazione li > ol.alfabetico li::before {
  content: counter(section) "." counter(item) " ";
}


/* strong h2 headings */

@media (max-width: 768px)

{

  .autotoc > ol > li > ol > li > a {

    font-weight: bold;

    font-size: 17px;

    min-height: 40px;

    display: flex;

    align-items: center;

  }

}



@media (min-width: 768px)

{

  .autotoc > ol > li > ol > li > a {

    font-weight: bold;

  }

}

