.census.charts .flexhost {
  display: flex;
}
@media (max-width: 1014px) {
  .census.charts .flexhost {
    flex-direction: column-reverse;
  }
}
.census.charts .flexhost #charts {
  flex: 1 0 302px;
}
@media (min-width: 1014px) {
  .census.charts .flexhost #charts {
    flex: 0 0 612px;
  }
}
@media (min-width: 1320px) {
  .census.charts .flexhost #charts {
    flex: 0 0 918px;
  }
}
@media (min-width: 1640px) {
  .census.charts .flexhost #charts {
    flex: 0 0 1224px;
  }
}
@media (min-width: 1990px) {
  .census.charts .flexhost #charts {
    flex: 0 0 1530px;
  }
}
.census.charts .flexhost .right {
  flex: 1 0 302px;
  min-width: 360px;
}
.census.charts .flexhost .right #map {
  height: 610px;
}
.census.charts .flexhost .right .force {
  margin-bottom: 4px;
}
.census.charts .flexhost .map,
.census.charts .flexhost .force {
  margin: 2px;
}
.census.charts h1 {
  font-size: 36px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.census.charts #stats,
.census.charts #totals {
  display: inline-block;
  margin: 4px;
  vertical-align: middle;
}
.census.charts #charts-top,
.census.charts #charts {
  margin-left: -4px;
}
.census.charts .dc-chart {
  margin: 2px;
  border: #f2f2f2 1px solid;
  position: relative;
/*.dc-chart g.row text { fill: black; text-shadow: white 0 0 2px; }/**/
}
.census.charts .dc-chart .title {
  display: block;
  font-size: 14px;
  margin: 5px 0 -5px 35px;
  position: absolute;
}
.census.charts .dc-chart svg {
  margin-bottom: -5px;
}
.census.charts .dc-chart g.row text {
  fill: #fff;
  text-shadow: #000 0 0 2px, #000 0 0 3px;
  fill: #000;
  text-shadow: #fff 0 0 2px, #fff 0 0 2px, #fff 0 0 2px, #fff 0 0 2px;
  text-transform: capitalize;
}
.census.charts .dc-chart.crammed g.row text {
  fill: #000;
  text-shadow: #fff 0 0 1px, rgba(255,255,255,0.5) 0 0 2px, rgba(255,255,255,0.5) 0 0 8px;
}
.census.charts .dc-chart g.row text.lab-left {
  fill: #fff;
  text-shadow: #000 0 0 2px, #000 0 0 3px;
}
.census.charts .dc-chart text.pie-slice {
  fill: #fff;
  text-shadow: #000 0 0 2px, #000 0 0 3px;
}
.census.charts .dc-chart .title {
  width: calc(100% - 40px);
  max-width: calc(100% - 40px);
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
}
.census.charts .dc-chart .filter {
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-x: hidden;
}
.census.charts .dc-chart g.row rect {
  fill-opacity: 0.8;
}
.census.charts .dc-chart g.row rect:hover {
  fill-opacity: 0.6;
}
.census.charts .dc-chart g.pie-slice {
  fill-opacity: 0.9;
}
.census.charts .dc-chart rect.bar {
  fill-opacity: 0.9;
}
.census.charts .dc-chart a {
  background: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#4a4a4a, #4a4a4a);
  background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
  background-repeat: no-repeat, no-repeat, repeat-x;
  text-shadow: 0.03em 0 #fff, -0.03em 0 #fff, 0 0.03em #fff, 0 -0.03em #fff, 0.06em 0 #fff, -0.06em 0 #fff, 0.09em 0 #fff, -0.09em 0 #fff, 0.12em 0 #fff, -0.12em 0 #fff, 0.15em 0 #fff, -0.15em 0 #fff;
  background-position: 0 90%, 100% 90%, 0 90%;
  color: inherit;
}
.census.charts #story {
  float: left;
  margin: 2px;
  padding: 10px;
  border: #f2f2f2 1px solid;
  width: 100%;
  max-width: calc(100% - 4px);
  height: 302px;
  overflow-y: auto;
}
.census.charts .tgl-group {
  margin: 2px;
  display: inline-block;
  vertical-align: middle;
}
.census.charts .tgl-singletons {
  margin: 1px;
  display: inline-block;
  vertical-align: middle;
}
.census.charts .tgl-singletons .tgl {
  margin: 1px;
}
.census.charts .cols,
.census.charts .tgls {
  font-size: 0;
  padding: 0;
  margin: -2px;
}
.census.charts .cols .col,
.census.charts .tgls .col,
.census.charts .cols .tgl,
.census.charts .tgls .tgl {
  display: inline-block;
  margin: 2px;
  font-size: 8pt;
}
.census.charts .cols .col .btn,
.census.charts .tgls .col .btn,
.census.charts .cols .tgl .btn,
.census.charts .tgls .tgl .btn {
  transition: background-color 2s, border-color 0.5s;
}
.census.charts .cols .col .btn:not(.btn-success):hover,
.census.charts .tgls .col .btn:not(.btn-success):hover,
.census.charts .cols .tgl .btn:not(.btn-success):hover,
.census.charts .tgls .tgl .btn:not(.btn-success):hover {
  border-color: #008000;
  background-color: #c1ffce;
}
.census.charts .cols .col .btn:not(.btn-success).nations,
.census.charts .tgls .col .btn:not(.btn-success).nations,
.census.charts .cols .tgl .btn:not(.btn-success).nations,
.census.charts .tgls .tgl .btn:not(.btn-success).nations {
  color: #1f66ad;
}
.census.charts .cols .col .btn:not(.btn-success).religions,
.census.charts .tgls .col .btn:not(.btn-success).religions,
.census.charts .cols .tgl .btn:not(.btn-success).religions,
.census.charts .tgls .tgl .btn:not(.btn-success).religions {
  color: #17824d;
}
.census.charts .cols .col .btn:not(.btn-success).socials,
.census.charts .tgls .col .btn:not(.btn-success).socials,
.census.charts .cols .tgl .btn:not(.btn-success).socials,
.census.charts .tgls .tgl .btn:not(.btn-success).socials {
  color: #961fad;
}
.city-description {
  margin: 2px;
  padding: 10px;
  border: #f2f2f2 1px solid;
  width: 100%;
  max-width: calc(100% - 4px);
  min-height: 302px;
  overflow-y: auto;
}
.city-description .name {
  font-size: 17px;
}
.city-description .id,
.city-description .alt,
.city-description .key,
.city-description .val,
.city-description .okato,
.city-description .kladr {
  font-size: 11px;
}
.city-description .geo {
  display: block;
  padding-left: 4px;
}
.city-description .geo .coords .ll,
.city-description .geo .coords .y,
.city-description .geo .coords .g,
.city-description .geo .coords .osm {
  display: inline-block;
  font-size: 11px;
}
.city-description .geo .coords .y,
.city-description .geo .coords .g,
.city-description .geo .coords .osm {
  margin: 0 2px;
}
.city-description .geo .key {
  font-weight: bold;
}
.city-description .raws {
  padding: 0;
  margin: 4px 0;
  font-size: 11px;
}
.city-description .raws .key {
  color: #888;
  margin-right: 0.5em;
}
.city-description .raws .val,
.city-description .raws .year {
  display: inline-block;
}
.city-description .census-host {
  display: block;
}
.city-description .census-host .censuses {
  display: inline-block;
  overflow: hidden;
  border: solid 1px #f5f5f5;
  border-radius: 3px;
  font-size: 11px;
}
.city-description .census-host .censuses tr:nth-child(odd) {
  background: #f5f5f5;
}
.city-description .census-host .censuses td,
.city-description .census-host .censuses th {
  padding: 0 4px;
}
.city-description .census-host .censuses td {
  text-align: right;
}
.city-description .basic .header {
  display: inline-block;
}
.city-description .info {
  float: right;
}
.city-description .info .bars {
  line-height: 0;
  text-align: right;
}
.city-description .info .sparkbar {
  display: inline-block;
}
.city-description .info .distyear td {
  padding-top: 1px;
  font-size: 0;
}
.city-description .info .distyear td.year {
  text-align: right;
  padding-right: 2px;
  font-size: 11px;
  line-height: 16px;
}
.city-description .info .distlegend td.color {
  position: relative;
}
.city-description .info .distlegend td.color .fill {
  position: absolute;
  left: 0px;
  right: 1px;
  top: 1px;
  bottom: 0px;
}
.city-description .info .distlegend td.name {
  padding-left: 2px;
  font-size: 11px;
  line-height: 16px;
}
.expeditions.charts .flexhost {
  display: flex;
}
@media (max-width: 1330px) {
  .expeditions.charts .flexhost {
    flex-direction: column-reverse;
  }
}
.expeditions.charts .flexhost #charts {
  flex: 1 0 302px;
}
@media (min-width: 1330px) {
  .expeditions.charts .flexhost #charts {
    flex: 0 0 918px;
  }
}
@media (min-width: 1640px) {
  .expeditions.charts .flexhost #charts {
    flex: 0 0 1224px;
  }
}
@media (min-width: 1990px) {
  .expeditions.charts .flexhost #charts {
    flex: 0 0 1530px;
  }
}
.expeditions.charts .flexhost .right {
  flex: 1 0 302px;
  min-width: 360px;
}
.expeditions.charts h1 {
  font-size: 36px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.expeditions.charts .force,
.expeditions.charts .map {
  margin: 2px;
}
.expeditions.charts .force {
  margin-bottom: 4px;
}
.expeditions.charts .map #map {
  height: 456px;
}
.expeditions.charts #charts-top,
.expeditions.charts #charts {
  margin-left: -4px;
}
@media (max-width: 610px) {
  .expeditions.charts .right {
    margin-left: -4px;
  }
  .expeditions.charts .right .force,
  .expeditions.charts .right .map {
    margin: 2px;
  }
  .expeditions.charts #charts .article {
    height: unset;
    width: unset;
  }
}
@media (min-width: 610px) {
  .expeditions.charts .dc-chart.s-h1 {
    height: 301px;
  }
  .expeditions.charts .dc-chart.s-h2 {
    height: 606px;
  }
}
.expeditions.charts .article {
  padding: 10px 10px 10px 30px;
  height: 606px;
  width: 302px;
  overflow-y: auto;
}
.expeditions.charts .article a.hoverable {
  color: #000;
  border: 2px solid transparent;
  border-bottom-color: #ccc;
  background-image: unset;
}
.expeditions.charts .article a.hoverable:hover {
  background: #ffffa8;
  border-color: #ffffa8;
  text-shadow: none;
  text-decoration: none;
}
.expeditions.charts .dc-chart {
  margin: 2px;
  border: #f2f2f2 1px solid;
  position: relative;
}
.expeditions.charts .dc-chart .title {
  display: block;
  font-size: 14px;
  margin: 5px 0 -5px 35px;
  position: absolute;
}
.expeditions.charts .dc-chart svg {
  margin-bottom: -5px;
}
.expeditions.charts .dc-chart g.dc-legend-item text {
  text-shadow: #fff 0 0 1px, #fff 0 0 3px, rgba(255,255,255,0.5) 0 0 2px, rgba(255,255,255,0.5) 0 0 8px;
}
.expeditions.charts .dc-chart g.row text {
  fill: #000;
  text-shadow: #fff 0 0 2px, #fff 0 0 2px, #fff 0 0 2px, #fff 0 0 2px;
  text-transform: capitalize;
}
.expeditions.charts .dc-chart.crammed g.row text {
  fill: #000;
  text-shadow: #fff 0 0 1px, rgba(255,255,255,0.5) 0 0 2px, rgba(255,255,255,0.5) 0 0 8px;
}
.expeditions.charts .dc-chart g.row text.lab-left {
  fill: #fff;
  text-shadow: #000 0 0 2px, #000 0 0 3px;
}
.expeditions.charts .dc-chart text.pie-slice {
  fill: #fff;
  text-shadow: #000 0 0 2px, #000 0 0 3px;
}
.expeditions.charts .dc-chart .title {
  width: calc(100% - 40px);
  max-width: calc(100% - 40px);
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
}
.expeditions.charts .dc-chart .filter {
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-x: hidden;
}
.expeditions.charts .dc-chart .filter-hint {
  font-size: 14px;
}
.expeditions.charts .dc-chart g.row rect {
  fill-opacity: 0.8;
}
.expeditions.charts .dc-chart g.row rect:hover {
  fill-opacity: 0.6;
}
.expeditions.charts .dc-chart g.pie-slice {
  fill-opacity: 0.9;
}
.expeditions.charts .dc-chart rect.bar {
  fill-opacity: 0.9;
}
.expeditions.charts .dc-chart a {
  background: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#4a4a4a, #4a4a4a);
  background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
  background-repeat: no-repeat, no-repeat, repeat-x;
  text-shadow: 0.03em 0 #fff, -0.03em 0 #fff, 0 0.03em #fff, 0 -0.03em #fff, 0.06em 0 #fff, -0.06em 0 #fff, 0.09em 0 #fff, -0.09em 0 #fff, 0.12em 0 #fff, -0.12em 0 #fff, 0.15em 0 #fff, -0.15em 0 #fff;
  background-position: 0 90%, 100% 90%, 0 90%;
  color: inherit;
}
.expeditions.charts .tgl-group {
  margin: 2px;
  display: inline-block;
  vertical-align: middle;
}
.expeditions.charts .tgl-singletons {
  margin: 1px;
  display: inline-block;
  vertical-align: middle;
}
.expeditions.charts .tgl-singletons .tgl {
  margin: 1px;
}
.expeditions.charts .cols,
.expeditions.charts .tgls {
  font-size: 0;
  padding: 0;
  margin: -2px;
}
.expeditions.charts .cols .col,
.expeditions.charts .tgls .col,
.expeditions.charts .cols .tgl,
.expeditions.charts .tgls .tgl {
  display: inline-block;
  margin: 2px;
  font-size: 8pt;
}
.expeditions.charts .cols .col .btn,
.expeditions.charts .tgls .col .btn,
.expeditions.charts .cols .tgl .btn,
.expeditions.charts .tgls .tgl .btn {
  transition: background-color 2s, border-color 0.5s;
}
.expeditions.charts .cols .col .btn:not(.btn-success):hover,
.expeditions.charts .tgls .col .btn:not(.btn-success):hover,
.expeditions.charts .cols .tgl .btn:not(.btn-success):hover,
.expeditions.charts .tgls .tgl .btn:not(.btn-success):hover {
  border-color: #008000;
  background-color: #c1ffce;
}
.force {
  border: solid 1px #1f4c7a;
  font-size: 0;
}
.force svg .link {
  transition: opacity 1s;
  stroke: rgba(163,41,41,0.9);
}
.force svg .llab {
  transition: opacity 0.5s;
  fill: #fff;
  stroke: rgba(163,41,41,0.9);
  font-size: 11px;
  font-weight: bold;
  paint-order: stroke;
  stroke-width: 3px;
}
.force svg .node {
  transition: opacity 0.5s;
}
.force svg .node circle {
  fill: #337fcc;
  stroke: #1f4c7a;
  stroke-width: 2px;
}
.force svg .node text {
  fill: #fff;
  stroke: #1f3d7a;
  font-size: 11px;
  font-weight: bold;
  paint-order: stroke;
  stroke-width: 3px;
  stroke-opacity: 0.7;
  text-transform: capitalize;
}
.force svg .node.enter,
.force svg .llab.enter,
.force svg .link.enter {
  opacity: 0;
}
.force svg .node.exit,
.force svg .llab.exit,
.force svg .link.exit {
  transition: opacity 0.25s;
  opacity: 0;
}
.force svg .node:hover circle {
  fill: #2966a3;
  stroke: #143352;
}
.force svg .node:hover text {
  stroke: #143352;
}
.force svg .node.fixed circle {
  stroke: #194066;
  stroke-width: 3px;
}
.force svg .node.fixed text {
  stroke: #194066;
  stroke-width: 4px;
}
.force svg.focused .link:not(.active) {
  opacity: 0.2;
}
.force svg.focused .llab:not(.active) {
  opacity: 0;
}
.force svg.focused .node:not(.active) {
  opacity: 0.2;
}
.force svg.crowded:not(.focused) .node.insignificant:not(.enter) {
  opacity: 0.5;
}
.force svg.crowded:not(.focused) .link.insignificant:not(.enter) {
  opacity: 0.2;
}
.force svg.crowded:not(.focused) .llab {
  opacity: 0;
}
/* svg { width: 100%; shape-rendering: geometricPrecision; } /**/
#map {
  width: 100%;
  min-width: 302px;
  height: 606px;
  min-height: 301px;
  max-height: 919px;
  overflow: hidden;
  border: solid 1px #1f4c7a;
}
#map .info-host {
  position: absolute;
  width: 300px;
  left: calc(50% - 150px);
  font-size: 14px;
  top: 5px;
  z-index: 1000;
  border: solid 1px rgba(0,0,0,0.5);
  border-radius: 3px;
  background: rgba(255,255,255,0.5);
}
#map .info-host .info-data {
  text-align: center;
}
#map .info-host .info-data .prm {
  margin-left: 3px;
}
#map .info-host .coordinates {
  text-align: center;
}
#map .btn-host {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
}
#map.leaflet-touch .btn-host .tgl-group {
  border: 2px solid rgba(0,0,0,0.2);
  background-clip: padding-box;
  border-radius: 4px;
}
#map.leaflet-touch .btn-host .tgl-group .btn {
  border-width: 0;
  height: 30px;
  line-height: 30px;
  padding: 0 8px;
}
#map:not(.leaflet-touch) .btn-host .tgl-group {
  box-shadow: 0 1px 5px rgba(0,0,0,0.65);
  border-radius: 4px;
}
#map:not(.leaflet-touch) .btn-host .tgl-group .btn {
  border-width: 0;
  height: 26px;
  line-height: 26px;
  padding: 0px 7px;
}
#map .marker.leaflet-interactive {
  fill-opacity: 0.2;
  stroke-opacity: 0.4;
  stroke-width: 1px;
}
#map .marker.leaflet-interactive:not(.colorized) {
  fill: #337fcc;
  stroke: #1f4c7a;
}
#map .marker.leaflet-interactive.colorized {
  stroke: #000;
  stroke-opacity: 0.3;
}
#map.lowcount .marker.leaflet-interactive {
  fill-opacity: 0.5;
  stroke-opacity: 1;
}
#map.opaque .marker.leaflet-interactive {
  fill-opacity: 1;
  stroke-opacity: 1;
}
#mapmodal {
  padding: 20px;
}
#mapmodal .modal-dialog {
  width: 100%;
  height: 100%;
  margin: 0;
}
#mapmodal .modal-dialog .modal-content,
#mapmodal .modal-dialog .modal-body,
#mapmodal .modal-dialog .map {
  height: 100%;
}
#mapmodal .modal-dialog #map {
  height: 100%;
  max-height: none;
}
.sparkbar {
  line-height: 0;
}
.sparkbar .title {
  line-height: 25px;
  display: inline-block;
  vertical-align: top;
  margin-right: 5px;
}
.sparkbar .chart {
  line-height: 0;
  display: inline-block;
}
.sparkdist {
  line-height: 0;
  display: inline-block;
}
.sparkdist text {
  font-size: 10px;
  text-shadow: #fff 0 0 2px, #fff 0 0 2px, #fff 0 0 2px, #fff 0 0 2px;
}
.uni-table .tgl-group {
  margin: 2px;
}
.uni-table .cols,
.uni-table .tgls {
  font-size: 0;
  padding: 0;
  margin: -2px;
  margin-bottom: 20px;
}
.uni-table .cols .col,
.uni-table .tgls .col,
.uni-table .cols .tgl,
.uni-table .tgls .tgl {
  display: inline-block;
  margin: 2px;
  font-size: 8pt;
}
.uni-table .panel-heading h3 {
  display: inline-block;
}
.uni-table .header-btns {
  margin: -2px;
  margin-left: 6px;
  margin-top: 22px;
  margin-bottom: 11px;
  display: inline-block;
  vertical-align: bottom;
}
.uni-table .header-btns > .header-btn,
.uni-table .header-btns > .btn-group {
  margin: 2px;
}
.uni-table .controls {
  vertical-align: middle;
}
.uni-table .panel-body {
  overflow-x: auto;
  padding: 0;
}
.uni-table .panel-body table {
  margin: 0;
}
.uni-table .panel-body thead tr th,
.uni-table .panel-body tbody tr th {
  background: #fff;
}
.uni-table .panel-body thead tr th,
.uni-table .panel-body tbody tr th,
.uni-table .panel-body thead tr td,
.uni-table .panel-body tbody tr td {
  padding: 1px 8px;
}
.uni-table .panel-body .more {
  width: 100%;
}
