@charset "UTF-8";

html,body{background:#FBF4F5;scrollbar-width:thin;scrollbar-color:#503335 transparent;color:#1C1213}
body{margin:20px 10px}@media (min-width: 768px){body{margin:20px 30px}}
html::-webkit-scrollbar,body::-webkit-scrollbar{width:6px;height:6px}
html::-webkit-scrollbar-track,body::-webkit-scrollbar-track{background:transparent}
html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb{background-color:#503335;border-radius:3px;border:0}

#heatmap text {
  font-family: "Roboto Slab", sans-serif;
}

line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

path {
  fill: none;
  stroke: #fff;
  shape-rendering: crispEdges;
}

#tooltip {
  background-color: #fff;
  border: 2px solid #ccc;
  padding: 10px;
}

#tooltip-info {
  left: 0; right: 0; bottom: 20px;
  top: auto !important;
  margin: 0 auto !important;
  pointer-events: none;
  max-width: 250px;
  height: auto;
}

.closed:hover {
  opacity: 0.3;
}

.closed:before, .closed:after {
  position: absolute;
  left: calc(100% - 10px);
  right: 0px;
  top: 5px;
  bottom: 0;
  content: " ";
  height: 12px;
  width: 1px;
  background-color: #888;
}

.closed:before {
  transform: rotate(45deg);
}

.closed:after {
  transform: rotate(-45deg);
}

.legendTitle {
  font-family: "Roboto Slab", sans-serif;
  font-size: 0.9rem;
}

.legend_valor {
  font-family: "Roboto Slab", sans-serif;
  font-size: 0.8rem;
}

.d3-tip {
  color: black;
  padding: 8px;
  background-color: #fff;
  border-radius: 3px;
  font-size: 12px;
  font-family: "Roboto Slab", sans-serif;
  box-shadow: 0 1px 1px 0 #ccc;
  border: 1px solid #ccc;
  margin-left: 2px;
  line-height: 1.5;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 14px;
  width: 100%;
  line-height: 1;
  color: white;
  content: "▼";
  position: absolute;
  text-align: center;
  filter: drop-shadow(0px 1px 1px #ccc);
  -webkit-filter: drop-shadow(0px 1px 1px #ccc);
}

/* Style northward tooltips differently */
.d3-tip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}

@media only screen and (max-width: 600px) {
  #heatmap text {
    font-size: 0.7rem;
    font-family: "Roboto Slab", sans-serif;
  }

  .legend_valor {
    font-family: "Roboto Slab", sans-serif;
    font-size: 0.7rem;
  }
}
.leyenda_chart {
  font-size: 0.85rem;
  font-weight: bold;
}

.leyenda_chart_lv {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: gainsboro;
  display: inline-block;
}

.leyenda_chart_sd {
  margin-left: 20px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #cc503e;
  display: inline-block;
}

.chart_canvas {
  max-width: 650px;
  margin: 0 auto;
  padding-bottom: 10px;
}

.chart_caption {
  text-align: center;
  font-style: italic;
  font-size: smaller;
}
