html, header {
  padding: 0;
  margin: 0;
}

body {
  background-color: #f8f8f8;
  height: calc(100vh - 10px);
  width: calc(100vw - 10px);
  padding: 5px;
  margin: 0;
}

header {
  display: flex;
  flex-direction: column;
}

header h1 {
  margin-bottom: 3px;
}

header p {
  margin-top: 3px;
}

footer {
  height: 30px;
  text-align: center;
  font-size: 12px;
  margin: 0 auto;
}

footer p {
  margin: 0;
}

#main-no-footer {
  display: flex;
}

#sidebar {
  width: 200px;
  display: flex;
  flex-direction: column;
  margin-right: 5px;
}

#sidebar span {
  margin-bottom: 10px;
}

#sidebar section {
  margin: 10px 0;
}

#legend span {
  font-size: 14px;
}

#pos-filters label {
  padding: 0 2px;
  border-radius: 2px;
}

.pg {
  background-color: #e51616;
  color: white;
}

.sg {
  background-color: #e59d16;
}

.sf {
  background-color: #e5e516;
}

.pf {
  background-color: #16e516;
}

.c {
  background-color: #1616e5;
  color: white;
}

#attrSelectorForms ul {
  margin: 10px 0;
}

#attrSelectorForms li {
  display: flex;
  justify-content: space-between;
}

#attrSelectorForms li:first-of-type {
  margin: 0 0 2px 0;
}

#pos-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#year-filters {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.posFilter {
  margin-right: 15px;
}

#chart {
  padding: 30px;
  width: 100%;
  height: 100%;
}

.hidden {
  display: none!important;
}

div.tooltip {
  position: absolute;
  text-align: center;
  padding: 2px;
  font: 12px sans-serif;
  background: lightsteelblue;
  border: 0px;
  border-radius: 8px;
  pointer-events: none;
}

.tooltip p {
  margin: 4px 0;
}

ul {
  list-style: none;
  padding: 0;
}

#filters {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#filters ul {
  width: 50px;
}

#filters li {
  display: flex;
  justify-content: space-between;
}

#filters button {
  height: 40px;
}

#span-filter-container {
  margin: 12px;
}

.span-filter, .pseudo-span-filter {
  background: lightsteelblue;
  opacity: 0.9;
  padding: 2px;
  border-radius: 2px;
  margin: 2px;
  font-size: 14px;
  cursor: pointer;
}

#save-view {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#save-view button {
  height: 40px;
  margin-bottom: 12px;
}

#save-view input {
  width: 100%;
}

i.fa-map-pin {
  font-size: 14px;
  padding: 3px;
  border: 1px solid lightgrey;
  cursor: pointer;
  color: lightgrey;
}

i.fa-map-pin.pinned {
  border: 1px solid lightsteelblue;
  color: lightsteelblue;
}

#chart-container i.pinned {
  color: lightblue;
  border-color: lightblue;
}

.full-page {
  width: 90vw;
  height: calc(100vh - 30px);
}

#highlight-input {
  width: 100%;
}

#pin-helper {
  font-size: 12px;
  margin-bottom: 0px!important;
  text-align: right;
  width: 100%;
}
