#pagColDx, #pagColSx {
    float: right;
    padding: 0;
}
#pag, #pagine {
    border: 1px solid #f0f0f0;
}
#anche, #pagine {
    width: 310px;
    background: url(bgGrey80.png) top left repeat-x #fff;
    text-align: left;
    display: block;
}
#anche, #pag, #pag td, #pagine {
    text-align: left;
}
#anche, #pag hr, #pagine, .pagBox {
    display: block;
}
#pagColSx {
    width: 310px;
    margin: 0 10px 0 0;
}
#pagColDx {
    width: 650px;
    margin: 0;
}
#pag {
    line-height: 1.5em;
    padding: 0 10px 10px;
    margin: 0 30px 0 0;
    border-bottom: 2px solid #ccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    font-size: 12px;
}
#anche>ul>li.titAnche, #pagine>ul>li.titolo {
    line-height: 130%;
    text-shadow: #ccc 2px 2px 3px;
    list-style: none;
}
#allegati>ul>li a:hover, #pag a {
    text-decoration: underline;
}
#allegati>ul>li a, #pag a:hover {
    text-decoration: none;
}
#pag>h2 {
    padding: 0;
    font-family: Verdana, Arial, sans serif;
    font-size: 17px;
    margin-bottom: .5em;
    margin-top: .3em;
    color: #393;
    text-shadow: #ccc 2px 2px 3px;
}
#pag>ul>li {
    margin-bottom: 10px;
}
#allegati>ul {
    margin: 1em;
    padding: 0;
}
#allegati>ul>li {
    list-style-image: url(frecciaArancio.gif);
    margin-left: 1em;
    padding: 0;
}
#allegati>ul>li.liH {
    list-style: none;
    margin-left: 0;
    color: #393;
}
#allegati>ul>li.modulo {
    list-style-image: url(modulo.png);
    margin-left: 1em;
    padding: 0;
}
#allegati>ul>li.pubb {
    list-style-image: url(book.png);
    margin-left: 1em;
    padding: 0;
}
#anche>ul>li, #pagine>ul>li, .pagBox ul li {
    list-style-image: url(frecciaArancio.gif);
}
#pagine {
    z-index: 100;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #ccc;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
#pagine>ul {
    margin-top: 0;
    padding: 0 3px 0 0;
}
#pagine>ul>li {
    margin-top: 0;
    margin-bottom: .5em;
    margin-left: 1.5em;
    font-size: 12px;
}
#pagine>ul>li.titolo {
    margin: 0 0 3px;
    padding: 0 0 0 .5em;
    color: #393;
    font-size: 13px;
}
#pagine>ul>li.titolo>h3 {
    margin: 5px 0 0;
}
#pagine a.active {
    color: #caa83d;
}
#anche {
    zindex: 100;
    margin-top: 10px;
    border: 1px solid #f0f0f0;
    border-bottom: 2px solid #ccc;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
#anche>ul {
    margin-top: 0;
    padding: 0 3px 0 0;
    background: url(star_full32.png) top right no-repeat;
}
#anche>ul>li {
    margin-top: 0;
    margin-bottom: .5em;
    margin-left: 1.5em;
    font-size: 12px;
}
#anche>ul>li.titAnche {
    margin: 0 0 3px;
    padding: 0 0 0 .5em;
    color: #e70;
    font-size: 13px;
}
#anche>ul>li.titAnche>h3 {
    margin: 5px 0 0;
}
#pag>address {
    clear: both;
    font-family: Verdana, Arial, sans-serif;
    color: #666;
    margin: 0 0 10px;
    width: 575px;
    padding: 1em;
    border: 1px solid #efefef;
    position: relative;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .27), 0 0 40px rgba(0, 0, 0, .06) inset;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .27), 0 0 60px rgba(0, 0, 0, .1) inset;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, .27), 0 0 40px rgba(0, 0, 0, .06) inset;
    -o-box-shadow: 0 1px 4px rgba(0, 0, 0, .27), 0 0 40px rgba(0, 0, 0, .06) inset;
}
#pag table.tabTrasp td, #pag td, #pag th, .pagBox {
    padding: 3px 5px;
}
#pag table, #pag td, #pag th {
    border: 1px solid #999;
}
#pag table {
    border-collapse: collapse;
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);
    -o-box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .1);
}
#pag th {
    background: #eee;
    text-align: center;
}
#pag table.tabTrasp {
    border: none;
    border-collapse: collapse;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}
#pag table.tabTrasp tr {
    border-top: 2px #090 solid;
    border-bottom: 2px #090 solid;
}
#pag table.tabTrasp th {
    border: none;
    text-align: center;
    padding: 3px 5px;
}
#pag table.tabTrasp td {
    border: none;
    text-align: left;
}
#pag hr {
    color: #393;
}
.pagBox {
    width: 585px;
    margin: 0 0 10px;
    background-color: #fff;
    border: 1px solid #eee;
    border-top: 5px #055880 solid;
    border-bottom: 1px #055880 solid;
    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, .1);
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, .1);
    -o-box-shadow: 1px 1px 3px rgba(0, 0, 0, .1);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .1);
}
.infoPagBox {
    color: #055880;
}
.pagBox ul li {
    margin-bottom: 3px;
}
.pagBox ul li.liH {
    list-style: none;
    margin-left: -2em;
    color: #000;
}
.aggiornata {
    color: #666;
    font-size: 10px;
    font-style: italic;
}
@media print {
    #cerca, #pagColSx {
        display: none;
    }
    body {
        font-size: 16px;
        font-family: serif;
    }
    #cerca {
        width: 0;
    }
    #stemmaHome h1 a {
        text-indent: 0;
        text-align: left;
        color: #000;
        width: 600px;
        font-size: 20px;
    }
    #pagColDx {
        width: 100%;
        border: none;
    }
    #pag, #pag p {
        font-size: 16px;
    }
    #pag h2 {
        font-size: 20px;
    }
}
/* Inizio css barchart */
.legenda {
  display: block;
  height: 280px;
  margin: auto;
  margin-bottom: 3rem; 
  max-width: 960px;
  position: relative;
  width: 80%;
}

.lines {
  height: 100%;
  position: relative;
}

.line {
  background: rgba(221, 221, 221, .7); 
  height: inherit;
  list-style-type: none;
  position: absolute;
  width: 2px;
}

.line.l--0 {
  left: 0;
}

.line.l--25 {
  left: 25%;
}

.line.l--50 {
  left: 50%;
}

.line.l--75 {
  left: 75%;
}

.line.l--100 {
  left: calc(100% - 1px);
}

.line__label {
  bottom: -20px;
  display: block;
  position: absolute;
  right: -50px; 
  text-align: center;
  width: 100px;
}

.line__label.title {
  font-weight: bold; 
  text-transform: uppercase;
}

.charts {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.chart:not(:first-child) {
  margin-top: 10px;
}

.chart__title {
  animation: 1s anim-lightspeed-in ease forwards; 
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 10px;
  opacity: 0;
  padding-left: 1rem;
}

.chart__label {
  color: white; 
  line-height: 30px;
  padding-left: 10px;
}

.chart--horiz {
  overflow: hidden;
}

li.chart__bar {
  list-style-type: none;
}

li.chart__bar__0 {
  list-style-type: none;
}

li.chart__bar__25 {
  list-style-type: none;
}

li.chart__bar__50 {
  list-style-type: none;
}

li.chart__bar__75 {
  list-style-type: none;
}

li.chart__bar__100 {
  list-style-type: none;
}

.chart__bar {
  animation: 1s anim-lightspeed-in ease forwards; 
  background: linear-gradient(to left, #00cd00, #004d00);
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  font-weight: 600;
  height: 30px;
  margin-bottom: 10px;
  opacity: 0;
}

.chart__bar__75 {
  animation: 1s anim-lightspeed-in ease forwards; 
  background: linear-gradient(to left, #ffd854, #d43900);
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  font-weight: 600;
  height: 30px;
  margin-bottom: 10px;
  opacity: 0;
}

.chart__bar__50 {
  animation: 1s anim-lightspeed-in ease forwards; 
  background: linear-gradient(to left, #ff703b, #a12b00);
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  font-weight: 600;
  height: 30px;
  margin-bottom: 10px;
  opacity: 0;
}

.chart__bar__25 {
  animation: 1s anim-lightspeed-in ease forwards; 
  background: linear-gradient(to left, red, darkred);
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  font-weight: 600;
  height: 30px;
  margin-bottom: 10px;
  opacity: 0;
}

.chart__bar__0 {
  animation: 1s anim-lightspeed-in ease forwards; 
  background: linear-gradient(to left, red, darkred);
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  color: #282828;
  font-weight: 600;
  height: 30px;
  margin-bottom: 10px;
  opacity: 0;
}

.chart__bar__0 .chart__label {
  color: #282828; 
  line-height: 30px;
  padding-left: 10px;
}

@keyframes anim-lightspeed-in {
  0% {
    opacity: 1; 
    transform: translateX(-200%);
  }
  100% {
    opacity: 1; 
    transform: translateX(0);
  }
}

/* Fine css barchart */
