.viz {
  background-color: #fff;
  color: #000;
  position: relative;
  text-align: left;
}
.viz * {
  line-height: 1;
  margin: 0;
}
.viz .fiche {
  border-top: 2px dotted #5e5c5c66;
  border-bottom: 2px dotted #5e5c5c66;
  margin: 1rem 0;
  padding: 1rem 0;
  position: relative;
  width: 100%;
}
.viz .fiche .content {
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}
@media only screen and (min-width: 768px) {
  .viz .fiche .content {
    flex-direction: row;
    padding: 0.75rem;
  }
}
.viz .fiche .content > div {
  background-color: #fff;
  padding: 0.5rem;
}
@media only screen and (min-width: 768px) {
  .viz .fiche .content > div {
    border-radius: 8px;
    padding: 1rem;
  }
}
.viz .fiche .content .info {
  display: flex;
  flex-direction: column;
  margin: 0 0 0.5rem 0;
}
@media only screen and (min-width: 768px) {
  .viz .fiche .content .info {
    margin: 0 0.75rem 0 0;
    max-height: 300px;
    overflow-y: auto;
    width: 54%;
  }
}
.viz .fiche .content .info div.header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 5px;
}
.viz .fiche .content .info div.header p.secteur {
  font-family: Roboto;
  padding: 0;
}
@media only screen and (min-width: 768px) {
  .viz .fiche .content .info div.header p.secteur {
    font-size: 13px;
    font-weight: 500;
  }
}
.viz .fiche .content .info div.header p.secteur img {
  display: inline-block;
  margin-right: 5px;
  width: 24px;
}
.viz .fiche .content .info .pollueur {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}
.viz .fiche .content .info .pollueur:not(:last-child) {
  margin-bottom: 5px;
}
.viz .fiche .content .info .pollueur div:first-child {
  margin-right: 5px;
  padding-top: 5px;
}
.viz .fiche .content .info .pollueur .dash-1 {
  height: 15px;
  margin: 0;
  width: 25px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='25px' height='15px'><line x1='-1' y1='1' x2='20' y2='1' stroke='black' stroke-width='3' stroke-dasharray='6 6' stroke-dashoffset='0' /></svg>") no-repeat;
}
.viz .fiche .content .info .pollueur .dash-2 {
  height: 15px;
  margin: 0;
  width: 25px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='25px' height='15px'><line x1='-1' y1='1' x2='20' y2='1' stroke='black' stroke-width='2' stroke-dasharray='3 3' stroke-dashoffset='0' /></svg>") no-repeat;
}
.viz .fiche .content .info .pollueur .dash-3 {
  height: 15px;
  margin: 0;
  width: 25px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='25px' height='15px'><line x1='-1' y1='1' x2='20' y2='1' stroke='black' stroke-width='1' stroke-dasharray='0 0' stroke-dashoffset='0' /></svg>") no-repeat;
}
.viz .fiche .content .info .pollueur img {
  display: block;
  height: 15px;
  margin-right: 10px;
}
.viz .fiche .content .info .pollueur h1.nom {
  font-family: Roboto Slab;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  margin-bottom: 4px;
}
.viz .fiche .content .info .pollueur h1.nom img {
  margin-right: 10px;
}
.viz .fiche .content .info .pollueur p.ville {
  font-family: Roboto;
  font-size: 12px;
  font-weight: 300;
  line-height: 14px;
  margin: 0;
  padding: 0;
}
.viz .fiche .content .chart {
  background-color: #fff;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.viz .fiche .content .chart .legend {
  display: flex;
  align-items: start;
  justify-content: flex-start;
}
.viz .fiche .content .chart .legend div.rect {
  background-color: #eee;
  display: inline-block;
  height: 15px;
  width: 15px;
  margin-right: 10px;
}
.viz .fiche .content .chart .legend p {
  flex: 1 1 auto;
  font-family: Roboto;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
  max-width: 80%;
}
.viz .fiche .content .chart .svg-container {
  height: 100%;
  min-height: 150px;
  max-height: 300px;
  position: relative;
}
.viz .fiche .content .chart .svg-container svg {
  background-color: #fff;
  height: 100%;
}
.viz .fiche .content .chart .svg-container svg rect {
  shape-rendering: crispedges;
}
.viz .fiche .content .chart .svg-container svg rect.secteur-median {
  fill: magenta;
  fill-opacity: 0;
}
.viz .fiche .content .chart .svg-container svg text.year {
  cursor: pointer;
  fill: #000;
  font-family: Roboto Slab;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  text-anchor: middle;
}
@media only screen and (min-width: 768px) {
  .viz .fiche .content .chart .svg-container svg text.year {
    font-size: 15px;
  }
}
.viz .fiche .content .chart .svg-container svg path.symbol {
  fill: #000;
  stroke: none;
}
.viz .fiche .content .chart .svg-container svg path.curve {
  fill: none;
  stroke: #000;
}
.viz .fiche.fiche-6 .content {
  flex-direction: column;
}
.viz .fiche.fiche-6 .content .legend {
  display: flex;
  align-items: center;
}
.viz .fiche.fiche-6 .content .legend p {
  display: flex;
  align-items: center;
  font-family: Roboto;
  font-size: 12px;
  font-weight: 300;
  line-height: 14px;
  margin-right: 1rem;
}
.viz .fiche.fiche-6 .content .legend p .rect {
  background-color: rgba(175, 175, 175, 0.3);
  display: inline-block;
  margin-right: 5px;
  width: 15px;
  height: 15px;
}
.viz .fiche.fiche-6 .content .legend p.secteur {
  font-size: 13px;
  font-weight: 500;
  line-height: 15px;
}
.viz .fiche.fiche-6 .content .legend p.secteur img {
  display: inline-block;
  height: 33px;
  margin-right: 10px;
}
.viz .tooltip {
  background-color: #000;
  border: 2px solid #fff;
  border-radius: 8px;
  color: #fff;
  font-family: Roboto;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  margin: 0;
  padding: 0.75rem 0.5rem;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  text-align: center;
  width: 150px;
  z-index: 1;
}
.viz .tooltip.tooltip--tight {
  font-family: Roboto Slab;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  padding: 0.5rem 0rem 0.5rem 0rem;
  width: 100px;
}
.viz .tooltip.tooltip--tight strong {
  font-size: 16px;
  font-weight: 700;
}
.viz .tooltip.triangle__top {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.viz .tooltip.triangle__top::after {
  content: '';
  height: 16px;
  width: 16px;
  background-color: #000;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
}
.viz .tooltip.triangle__right::after {
  content: '';
  height: 20px;
  width: 20px;
  background-color: #000;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 40%;
  right: -12px;
  transform: rotate(45deg);
}
.viz .tooltip.triangle__bottom::after {
  content: '';
  height: 16px;
  width: 16px;
  background-color: #000;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translate(-50%) rotate(45deg);
}
.viz .tooltip.triangle__left {
  padding-left: 0.75rem;
}
.viz .tooltip.triangle__left::after {
  content: '';
  height: 16px;
  width: 16px;
  background-color: #000;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  position: absolute;
  top: 40%;
  left: -2px;
  transform: translate(-50%) rotate(45deg);
}
.viz .flex {
  display: flex;
}
.viz .flex-column {
  flex-direction: column;
}
@media only screen and (min-width: 768px) {
  .viz .flex-column-ns {
    flex-direction: column;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1064px) {
  .viz .flex-column-m {
    flex-direction: column;
  }
}
@media only screen and (min-width: 1065px) {
  .viz .flex-column-l {
    flex-direction: column;
  }
}
.viz .flex-row {
  flex-direction: row;
}
@media only screen and (min-width: 768px) {
  .viz .flex-row-ns {
    flex-direction: row;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1064px) {
  .viz .flex-row-m {
    flex-direction: row;
  }
}
@media only screen and (min-width: 1065px) {
  .viz .flex-row-l {
    flex-direction: row;
  }
}
.viz .fill.lightgray {
  fill: rgba(175, 175, 175, 0.3);
}
.viz .hidden {
  display: none;
}
.viz .invisible {
  opacity: 0;
  pointer-events: none;
}
.viz .pointer {
  cursor: pointer;
}
.viz .o {
  outline: 1px solid red;
}
.viz .oc {
  outline: 1px solid cyan;
}
.viz .mb1 {
  margin-bottom: 0.125rem;
}
.viz .mb2 {
  margin-bottom: 0.25rem;
}
.viz .mb3 {
  margin-bottom: 0.5rem;
}
.viz .mb4 {
  margin-bottom: 1rem;
}
.viz .p1 {
  padding: 0.125rem;
}
.viz .p2 {
  padding: 0.25rem;
}
.viz .p3 {
  padding: 0.5rem;
}
.viz .p4 {
  padding: 1rem;
}
.viz .pr1 {
  padding-right: 0.125rem;
}
.viz .pr2 {
  padding-right: 0.25rem;
}
.viz .pr3 {
  padding-right: 0.5rem;
}
.viz .pr4 {
  padding-right: 1rem;
}
.viz .pl1 {
  padding-left: 0.125rem;
}
.viz .pl2 {
  padding-left: 0.25rem;
}
.viz .pl3 {
  padding-left: 0.5rem;
}
.viz .pl4 {
  padding-left: 1rem;
}
.viz .pv1 {
  padding-left: 0.125rem;
  padding-top: 0.125rem;
}
.viz .pv2 {
  padding-left: 0.25rem;
  padding-top: 0.25rem;
}
.viz .pv3 {
  padding-left: 0.5rem;
  padding-top: 0.5rem;
}
.viz .pv4 {
  padding-left: 1rem;
  padding-top: 1rem;
}
.viz .tl {
  text-align: left;
}
.viz .tc {
  text-align: center;
}
.viz .tr {
  text-align: right;
}
