* {
    font-family: "Open Sans", sans-serif;
}

html,
body {
    color: #484848;
    background-color: #F0EEE9;
}

a,
a:visited {
    color: #7F5594;
}

a:hover,
a:focus {
    color: #A147F8;
    text-decoration: none;
}

.preloading {
    display: inline-block;
    font-size: 10px;
    color: #A147F8;
    font-weight: bold;
    letter-spacing: 1px;
    vertical-align: middle;
    border: 1px solid #A147F7;
    line-height: 14px;
    padding: 0 2px 1px;
    border-radius: 4px;
}

.limpiar-filtros {
    color: #A147F7;
    font-size: 10px;
    cursor: pointer;
}

.external-link {
    font-size: 14px;
    vertical-align: middle;
    color: #7F5594;
}

.reset {
    cursor: pointer;
}

.reset .fa,
.reset .fas {
    color: #A147F7;
    margin-left: 4px;
}

.col {
    background-color: #FFF;
    border: 2px solid #E8E6E1;
    border-radius: 8px;
    padding-top: 0px;
    padding-bottom: 16px;
}

.col.col-fuente {
    background-color: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px dashed #999;
}

.col.col-fuente p {
    margin: 0;
    text-align: right;
}

#chart-count {
    color: #666;
    font-size: 15px;
    text-align: center;
}

#chart-count .filter-count {
    color: black;
    font-size: 24px;
    font-weight: 200;
}

.dc-chart g.row text {
    fill: #343038;
}

h1 {
    line-height: 30px;
    margin-top: 16px;
    font-size: 32px;
}

h2 {
    font-size: 18px;
    color: #877;
    margin-bottom: 21px;
}

.col h3 {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: #F3F6F9;
    padding: 7px 12px 5px;
    margin: 0px -15px 8px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom: 1px solid #EEE;
    text-align: center;
}

.col h3.no-round-corners {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.dc-chart .axis .tick text,
.dc-chart .row text,
.pie-label-group text.pie-slice {
    font-family: "Futura Book", "Poppins", sans-serif;
    font-weight: 300;
}

.dc-chart .row text,
.pie-label-group text.pie-slice {
    fill: #343038;
}

.dc-chart .axis .tick text {
    fill: #767676;
}

.dc-chart .grid-line,
.dc-chart .axis .grid-line,
.dc-chart .grid-line line,
.dc-chart .axis .grid-line line {
    stroke: #DDD;
}

.dc-chart .axis path,
.dc-chart .axis line {
    stroke: #999;
}

.mapa {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 400px;
}

.copy {
    color: #736579;
    padding: 16px 0;
    font-size: 10px;
    text-align: center;
}

.bar.current-hover {
    opacity: 0.6;
}

#tooltip {
    top: 32px;
    left: 32px;
    position: fixed;
    min-width: 32px;
    max-width: 256px;
    min-height: 32px;
    background-color: rgba(16, 16, 16, 0.85);
    border-radius: 4px;
    display: none;
    color: #EEE;
}

#tooltip .content {
    z-index: 9999;
    position: relative;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}

#tooltip .dark {
    color: #DDD;
}

#tooltip .light {
    color: #FFF;
}

.font-09 {
    font-size: 0.9em;
}

#chart-map svg {
    display: block;
    margin: 0 auto;
}

#chart-map.dc-chart svg g path {
    stroke-width: 1px;
    stroke: #AFBBB4;
}

#chart-map.dc-chart svg g path:hover {
    stroke-width: 1;
    stroke: white;
    fill: #A147F8;
    fill-opacity: 1;
    cursor: pointer;
}

#chart-map.dc-chart svg g.deselected path {
    fill: #BEC0BB;
    stroke: white;
}

#chart-map.dc-chart svg g.selected path {
    stroke-width: 1;
    stroke: black;
    fill-opacity: 1;
}

#chart-map.dc-chart svg text {
    fill: #333;
    font-size: 10px;
}

/* https://codepen.io/mgzme/pen/OqqeLM */
.toggle-switch-container {
  align-content: center;
  padding: 4px 2px;
}

.toggle-switch {
  margin: 0;
}

.toggle-switch {
  width: 10px;
  position: relative;
}

.toggle-switch input {
  position: absolute;
  top: 0;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}

.toggle-switch input:checked {
  z-index: 1;
}

.toggle-switch input:checked + label {
  opacity: 1;
  cursor: default;
}

.toggle-switch input:not(:checked) + label:hover {
  opacity: 0.5;
}

.toggle-switch label {
  color: black;
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
}

.toggle-switch .toggle-outside {
  height: 100%;
  border-radius: 17px;
  padding: 11px;
  overflow: hidden;
  transition: opacity 0.3s ease-in-out;
}

.toggle-switch .toggle-inside {
  border-radius: 50%;
  background: #424242;
  position: absolute;
  transition: all 0.3s ease-in-out;
}

.switch-vertical {
  background-color: #00F;
  width: 0px;
  height: 36px;
  margin-left: 32px;
}

.switch-vertical input {
  height: 100%;
  width: 60px;
  right: 0;
  margin: 0;
}

.switch-vertical label {
  font-size: 10px;
  line-height: 18px;
  display: block;
  width: 80px;
  height: 50%;
  margin: 0;
  text-align: left;
  padding-left: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.switch-vertical .toggle-outside {
  background: #A147F8;
  position: absolute;
  width: 23px;
  height: 100%;
  right: 0;
  top: 0;
}

.switch-vertical .toggle-inside {
  height: 17px;
  left: 3px;
  top: 3px;
  width: 17px;
  background-color: white;
}

.switch-vertical input:checked ~ .toggle-outside .toggle-inside {
  top: 2px;
}

.switch-vertical input ~ input:checked ~ .toggle-outside .toggle-inside {
  top: 17px;
}