/*
$textfont    : 'Baskerville','Baskerville Old Face','Hoefler Text',Garamond,'Libre Baskerville','Times New Roman',serif;

body {
  font-family: $textfont;
}

*/
emph {
  font-variant: italic; }

div.article {
  max-width: 40em; }

.main, .explanation {
  display: inline; }

.lead {
  font-size: 120%; }

h4 {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  text-align: center; }

.chart_container {
  margin: auto;
  width: 400px;
  line-height: 0px;
  margin-bottom: 2em;
  position: relative; }

.unit-chart {
  -ms-writing-mode: tb-lr;
  -webkit-writing-mode: vertical-lr;
  -moz-writing-mode: vertical-lr;
  -ms-writing-mode: vertical-lr;
  writing-mode: vertical-lr; }

.summary {
  line-height: 1.2em;
  /*
  width: 75%;
  margin-top: 1.2em;
  margin-left: 25%;
  margin-right: 0%;
  */
  padding: .5em;
  position: absolute;
  left: 425px;
  width: 210px; }

div.article ol ul li, div.article ul ul li {
  font-size: 100%; }

.summary div {
  padding: .1em; }

.privilegies {
  background-color: #c7f0ba; }

.penalises {
  background-color: #ffd1c9; }

.idem {
  background-color: #ffffe0; }

.count {
  float: right; }

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 1px; }

.dot:hover {
  border: 2px solid #14CCCC; }

.tooltip {
  font-family: sans-serif;
  font-size: 80%;
  background-color: white;
  border: 1px solid lightgray;
  border-radius: 5px;
  padding: 1em;
  display: table; }

.tooltip div {
  display: table-row; }

.tooltip div.canton {
  font-weight: bold; }

.tooltip div span {
  display: table-cell;
  padding: .1em; }

.tooltip div span.chf {
  text-align: right; }
