/* reset css */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.2;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
svg { 
  overflow: hidden;
}

/* custom styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  font-family: sans-serif;
}
iframe{
  display: block;
  width: 100%;
  height: 100%;
}
button, input, select {
  -webkit-appearance: none;
  -ms-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: solid 1px #c6c6c6;
  font-family: sans-serif;
  font-size: 16px;
  color: #000000;
  background-color: #ffffff;
  border-radius: 0 10px 10px 10px;
}
*:focus {
  outline: none;
}
::placeholder {
  color: #777777;
  opacity: 1;
}
button {
  cursor: pointer;
  overflow: hidden;
}
button.disabled {
  color: #777777;
  pointer-events: none;
}
button.primary {
  background-color: #b55b2b;
  color: #ffffff;
  border: none;
  min-width: 120px;
  height: 32px;
}
button.primary-outline {
  background-color: #ffffff;
  color: #b55b2b;
  border-color: #b55b2b;
  min-width: 120px;
  height: 32px;
}
button.primary.disabled,
button.primary-outline.disabled {
  opacity: 0.5;
  pointer-events: none;
}

#Wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#contentWrapper {
  flex-grow: 1;
  height: 0;
}

#descriptionWrapper {
  width: 0%;
  height: 100%;
  position: relative;
  display: inline-block;
  overflow: auto;
}
#descriptionWrapper > div.description-content {
  width: 100%;
  height: 100%;
}
#descriptionWrapper > div.close-button {
  margin: 10px;
}

#mapWrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: inline-block;
}

#mapid {
  width: 100%;
  height: 100%;
}

#Wrapper > .footer-note {
background-color: #b55b2b;
color: #ffffff;
padding: 16px 40px;
}

/* time control */
.leaflet-touch .leaflet-bar a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  margin-right: 8px;
}

.time-control {
  margin: 0 0 12px 40px !important;
}

.time-control .leaflet-control-time-control {
  float: left;
  border-bottom-width: 0px;
  background-color: #ffffff;
  height: 36px;
  line-height: 36px;
}

.time-control .leaflet-control-time-control:hover {
  border-bottom-width: 0px;
}

.time-control div.leaflet-control-time-control {
  padding: 0 10px;
  min-width: 50px;
  text-align: center;
  font-size: 16px;
}

.time-control .leaflet-control-time-control svg.icon {
  width: 12px;
  height: 12px;
  margin: 12px auto;
  fill: #b55b2b;
}
.time-control a.pressed {
  background-color: #777777; 
}
.time-control a.pressed > svg > path {
  fill: #ffffff; 
}
.time-control a.pressed > svg.icon-play > path {
  fill: LawnGreen; 
}

.time-control-dateslider,
.time-control-speed {
  margin-right: 8px;
}

/* input slider */
input.slider {
  -webkit-appearance: none;
  appearance: none;
  background: #c6c6c6;
  height: 4px;
  width: 100%;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  padding: 0;
  border: none;
}
input.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background-color: #b55b2b;
  cursor: pointer;
  border: none;
  border-radius: 5px;
}
input.slider::-moz-range-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background-color: #b55b2b;
  cursor: pointer;
  border: none;
}

/* panel button */
.close-button,
.size-button {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  width: 14px;
  height: 14px;
}
.close-button:before, .close-button:after {
  position: absolute;
  left: 7px;
  content: ' ';
  height: 16px;
  width: 2px;
  background-color: #000000;
}
.close-button:before {
  transform: rotate(45deg);
}
.close-button:after {
  transform: rotate(-45deg);
}
.size-button:after {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiMwMDAwMDAiPjxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIvPjxwb2x5Z29uIHBvaW50cz0iMjEsMTEgMjEsMyAxMywzIDE2LjI5LDYuMjkgNi4yOSwxNi4yOSAzLDEzIDMsMjEgMTEsMjEgNy43MSwxNy43MSAxNy43MSw3LjcxIi8+PC9zdmc+);
  background-repeat: no-repeat;
  background-size: 14px 14px;
}
.maximize-table .size-button:after {
 background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0cHgiIGZpbGw9IiMwMDAwMDAiPjxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIvPjxwYXRoIGQ9Ik0yMiwzLjQxbC01LjI5LDUuMjlMMjAsMTJoLThWNGwzLjI5LDMuMjlMMjAuNTksMkwyMiwzLjQxeiBNMy40MSwyMmw1LjI5LTUuMjlMMTIsMjB2LThINGwzLjI5LDMuMjlMMiwyMC41OUwzLjQxLDIyeiIvPjwvc3ZnPg==);
}

/* select wrapper */
.select-wrapper {
  display: inline-block;
  position: relative;
  width: 32px;
  height: 32px;
}
.select-wrapper:before {
  content: '';
  width: 2px;
  height: 12px;
  background-color: #000000;
  position: absolute;
  top: 10px;
  left: 15px;
  z-index: 1;
  pointer-events: none;
}
.select-wrapper:after {
  content: '';
  width: 12px;
  height: 2px;
  background-color: #000000;
  position: absolute;
  left: 10px;
  top: 15px;
  pointer-events: none;
}
.select-wrapper > select {
    width: 32px;
    height: 32px;
    position: relative;
    cursor: pointer;
    background-color: #eaeaea;
    border: 0;
    border-radius: 50%;
    color: transparent;
}
.select-wrapper > select > option{
    color: black;
}

/* info panel */
div.infopanel-background {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1008;
  display: none;
}
div.infopanel-background > div.infopanel {
  position: relative;
  max-width: 690px;
  max-height: 856px;
  margin: 0 auto;
  margin-top: 0px;
  margin-top: 48px;
  background-color: #ffffff;
  border-radius: 0 20px 20px 20px;
}
div.infopanel-background > div.infopanel > .close-button {
  padding: 20px;
}
div.infopanel-background > div.infopanel > .close-button:before,
div.infopanel-background > div.infopanel > .close-button:after {
  margin: 0 20px;
}
div.infopanel-background > div.infopanel > .panel-content {
  padding: 40px 0;
  height: calc(100% - 80px);
}
div.infopanel-background > div.infopanel > .panel-content > div {
  padding: 0 56px;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
}
/* info panel nav buttons */
div.infopanel-background > div.infopanel > button.right-button,
div.infopanel-background > div.infopanel > button.left-button,
div.infopanel-background > div.infopanel > button.left2-button {
  width: 24px;
  height: 32px;
  padding: 0;
  margin: 0 16px;
  border: none;
  background-color: #000000;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 4px;
  opacity: 0.5;
  transition: all 0.2s ease-in-out;
  background-repeat: no-repeat;
  background-position: center;
  display: none;
}
div.infopanel-background > div.infopanel > button.left2-button {
  left: 0;
  transform: translateY(-175%);
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCA2LjM1IDEyLjciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTMuODQgMTAuMDEzYS41My41MyAwIDAgMCAuMzI1LS40OXYtNi4zNWEuNTMuNTMgMCAwIDAtLjkwMi0uMzcyTC4wODcgNS45NzRhLjUzLjUzIDAgMCAwIDAgLjc0OGwzLjE3NyAzLjE3NmEuNTMuNTMgMCAwIDAgLjU3Ni4xMTV6Ii8+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTYuMDkxIDEwLjAxM2EuNTMuNTMgMCAwIDAgLjMyNi0uNDl2LTYuMzVhLjUzLjUzIDAgMCAwLS45MDItLjM3MkwyLjMzOSA1Ljk3NGEuNTMuNTMgMCAwIDAgMCAuNzQ4bDMuMTc3IDMuMTc2YS41My41MyAwIDAgMCAuNTc2LjExNXoiLz48L3N2Zz4=);
}
div.infopanel-background > div.infopanel > button.left-button {
  left: 0;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCA2LjM1IDEyLjciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTQuOTY1IDEwLjAxM2EuNTMuNTMgMCAwIDAgLjMyNi0uNDl2LTYuMzVhLjUzLjUzIDAgMCAwLS45MDItLjM3MkwxLjIxMyA1Ljk3NGEuNTMuNTMgMCAwIDAgMCAuNzQ4TDQuMzkgOS44OThhLjUzLjUzIDAgMCAwIC41NzYuMTE1WiIvPjwvc3ZnPg==)
}
div.infopanel-background > div.infopanel > button.right-button {
  right: 0;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCA2LjM1IDEyLjciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTEuMzg1IDIuNjg2YS41My41MyAwIDAgMC0uMzI2LjQ5djYuMzVhLjUzLjUzIDAgMCAwIC45MDIuMzcybDMuMTc2LTMuMTczYS41My41MyAwIDAgMCAwLS43NDhMMS45NiAyLjhhLjUzLjUzIDAgMCAwLS41NzYtLjExNVoiLz48L3N2Zz4=);
}
div.infopanel-background > div.infopanel:hover > button.right-button,
div.infopanel-background > div.infopanel:hover > button.left-button,
div.infopanel-background > div.infopanel:hover > button.left2-button {
  opacity: 0.75;
}

div.infopanel-background > div.infopanel > button.location-button {
position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  border: none;
  margin: 10px;
  display: none;
}
div.infopanel-background > div.infopanel > button.location-button > img {
  width: 24px;
  height: 24px;
}
/* info template */
.info-template {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: justify;
}
.info-template > h2 {
  margin-bottom: 8px;
  font-size: 32px;
}
.info-template > h2 + div {
  flex-grow: 1;
  overflow-y: auto;
  padding: 0 56px;
  margin: 0 -56px;
}
.info-template > div > img {
  float: right;
  margin: 0 0 16px 16px;
  width: 50%;
}

/* panels */
.panel-style {
  border: 0 !important;
}
.collapse-panel > .panel-style {
  display: none !important;
}
.panel-style h4 {
  margin: 15px 0 10px 0;
  color: #000000;
  font-size: 20px;
}
.highlight-header {
  background-color: #b55b2b;
  font-weight: bold;
  color: #ffffff;
  font-size: 20px;
  position: relative;
  height: 64px;
  text-align: center;
  line-height: 64px;
}
.highlight-header > .close-button {
  padding: 22px;
}
.highlight-header > .close-button:before,
.highlight-header > .close-button:after {
  background-color: #ffffff;
  margin: 0 22px;
}

.tables-section > .tables-section-header > .items-nav > ul {
  display: block;
  padding: 8px 0;
}
.items-nav > ul > li {
  padding: 8px 16px;
  cursor: pointer;
  color: #ffffff;
  display: inline-block;
  margin-right: 8px;
  border-radius: 0 10px 10px 10px;
  background-color: #b55b2b;
  text-align: center;
  opacity: 0.4;
}
.items-nav > ul > li:not(.active):hover {
  opacity: 0.6;
}
.items-nav > ul > li.active {
  pointer-events: none;
  opacity: 1;
}

.items-nav2 {
  position: absolute;
  top: 0;
  left: 0;
}
.items-nav2 > ul > li {
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  display: inline-block;
  border-radius: 10px 10px 0 0;
  text-align: center;
  height: 48px;
  width: 40px;
  line-height: 64px;
  background-color: #b55b2b;
  margin: 16px 0 0 8px;
}
.items-nav2 > ul > li > img {
  filter: invert(1);
}
.items-nav2 > ul > li.active {
  cursor: default;
  background-color: #d9d9d9;
  opacity: 1;
}
.items-nav2 > ul > li.active > img {
  filter: none;
}
.filter-panel-wrapper {
  z-index: 1006;
  margin: 24px 0 0 40px !important;
}
.filter-panel-wrapper > .filter-panel {
  padding-bottom: 12px;
  background-color: #d9d9d9;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  width: 360px;
}
.filter-panel-wrapper > .filter-panel > .tools-tabs {
  flex-grow: 1;
  overflow-y: hidden;
  margin-top: 16px;
}
.filter-panel-wrapper > .filter-panel > .tools-tabs > .tools-tab {
  height: 100%;
}
.filter-panel-wrapper > .filter-panel > .tools-tabs > .tools-tab > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tools-panel > .tools-tabs {
  margin-top: 16px;
}
.tools-panel > .tools-tabs > .tools-tab > .items-opacity > h4 {
  margin-left: 44px;
}
.tools-panel > .tools-tabs > .tools-tab > .items-opacity > input.slider {
  width: 80%;
  margin-left: 10%;
  margin-bottom: 16px;
}
.tools-panel {
  display: none;
  width: 360px;
  background-color: #d9d9d9;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1000;
  margin-right: 40px !important;
  margin-bottom: 10px !important;
  min-height: 266px;
}

.buttons-panel {
  background: #ffffff;
  border-radius: 0 8px 8px 8px;
  margin-right: 40px !important;
}
.buttons-panel > button,
.buttons-panel > img {
  margin: 4px;
}
.zoom-buttons {
  margin-right: 40px !important;
}
.zoom-buttons > button {
  display: block;
  margin: 8px 0;
  width: 40px;
  height: 40px;
  border: none;
  background: #d9d9d9;
  color: #000000;
  position: relative;
}
.zoom-buttons > button.zoomin:before {
  content: '';
  width: 6px;
  height: 24px;
  background-color: #000000;
  position: absolute;
  top: 8px;
  left: 17px;
}
.zoom-buttons > button.zoomout:after,
.zoom-buttons > button.zoomin:after {
  content: '';
  width: 24px;
  height: 6px;
  background-color: #000000;
  position: absolute;
  top: 17px;
  left: 8px;
}
.zoom-buttons > button.zoomreset {
  background-color: #b55b2b;
  color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==);
  background-size: 24px 24px;
}

/* visual selectors */
div.visual-selector {
  margin: 0 12px 16px 44px;
}
div.visual-selector > div:first-child {
  display: inline-block;
  white-space: nowrap;
  width: calc(100% - 32px);
}
div.visual-selector > div:first-child > span {
  display: inline-block;
  margin: 6px 0;
  font-size: 20px;
}

ul.visual-selector {
  margin: 2em;
}
ul.visual-selector > li {
  font-size: 1.4em;
  padding: 0.2em;
  text-align: center;
  cursor: pointer;
}
ul.visual-selector > li:hover,
ul.visual-selector > li.active {
  font-weight: bold;
}

/* items filter */
.items-filter > button {
  margin-right: 3px;
}
.items-filter > .select-wrapper,
.items-filter > .value-selector {
  display: none;
}
.items-filter > .filter-buttons {
  margin: 8px 12px 0 12px;
}
.items-filter > .list-variables {
  padding: 0 12px 0 12px;
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.items-filter > .list-variables > .value-selector > select {
  width: 100%;
  margin: 4px 0;
}
.items-filter > .list-variables > .value-selector > .simple-search > .search-box {
  border: none;
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 16px 24px;
  width: 219px;
}
.items-filter > .list-variables > .value-selector > .simple-search > .search-icon {
  border: none;
  background: none;
  margin-left: 16px;
}
.items-filter > .list-variables > .value-selector > .simple-search > .search-icon > svg {
  width: 16px;
  height: 16px;
}
.items-filter > .list-variables > .value-selector > span.tag {
  background-color: #ffffff;
  border-radius: 8px;
  display: inline-block;
  padding: 8px 16px;
  margin: 0 8px 8px 0;
  cursor: pointer;
  font-size: 16px;
}
.items-filter > .list-variables > .value-selector > span.tag.tag-selected {
  background-color: #777777;
  color: #ffffff;
}
.items-filter > .list-variables > .value-selector > span.tag:hover {
  background-color: #000000;
  color: #ffffff;
}
.items-filter > .list-variables > .item-variable {
  margin-left: 32px;
  margin-bottom: 16px;
  cursor: pointer;
}
.items-filter > .list-variables > .item-variable > span.text {
  display: inline-block;
  white-space: nowrap;
  width: calc(100% - 32px);
}
.items-filter > .list-variables > .item-variable > span.text > span {
  margin: 6px 0;
  font-size: 20px;
  display: inline-block;
}
.items-filter > .list-variables > .item-variable > span.plus {
  width: 32px;
  height: 32px;
  position: relative;
  background-color: #eaeaea;
  border: 0;
  border-radius: 50%;
  display: inline-block;
  vertical-align: bottom;
}
.items-filter > .list-variables > .item-variable > span.plus:before {
  content: '';
  width: 2px;
  height: 12px;
  background-color: #000000;
  position: absolute;
  top: 10px;
  left: 15px;
  z-index: 1;
  pointer-events: none;
}
.items-filter > .list-variables > .item-variable > span.plus:after {
  content: '';
  width: 12px;
  height: 2px;
  background-color: #000000;
  position: absolute;
  left: 10px;
  top: 15px;
  pointer-events: none;
}
.items-filter > .list-variables > .item-variable.active > span.plus:before {
  display: none;
}

/* window */
div.window-background {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1004;
}
div.window {
  position: relative;
  border-radius: 5px;
  background-color: #ffffff;
  margin: 0 auto;
  padding: 30px;
}
div.window h2 {
  font-size: 22px;
  padding-bottom: 10px;
  font-weight: normal;
  text-align: center;
}
div.window h3 {
  font-size: 20px;
  padding-bottom: 10px;
  font-weight: bold;
}
div.window > .close-button {
  margin: 8px 10px 0 0;
}
div.window > .window-content {
  width: 100%;
  overflow-y: auto;
}
p.window-message {
  font-size: 26px;
  text-align: center;
}

/* color scale picker */
.picker {
  margin: 20px 0;
}
.picker ul.col-3 {
  display: inline-block;
  width: 33%;
}
.picker li {
  cursor: pointer;
  text-align: center;
}
.picker li > * {
  display: inline-block;
  padding: 3px;
  border: 1px solid #ffffff;
}
.picker li.active > * {
  border-color: #b55b2b;
}

.picker div.row {
  text-align: center;
}
.picker div.row > span {
  display: inline-block;
  border: 1px solid #ffffff;
  cursor: pointer;
  border-radius: 50%;
  margin: 4px;
}
.picker div.row > span.active,
.picker div.row > span:hover {
  border-color: rgba(0,0,0, 0.25);
}
button.custom-color {
  color: #777777;
  width: 100%;
  margin-bottom: 2em;
}
#iro-picker {
  margin-bottom: 2em;
}

/* search panel */
.search-panel {
  position: absolute;
  z-index: 1005;
  margin: 24px 40px !important;
  width: 360px;
}
.search-panel > .search-padding {
  padding: 0 0 0 80px;
}
.search-panel > .search-padding > .search-wrapper {
  position: relative;
}
.search-panel > .search-padding > .search-wrapper > .search-box {
  width: 100%;
}
.search-panel > .search-padding > .search-wrapper > .search-box > input {
  width: calc(100% - 32px);
  padding: 16px;
  border: 0;
  height: 32px;
}
.search-panel > .search-padding > .search-wrapper > .search-icon {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  margin: 0;
  background-color: transparent;
  border-radius: 0;
  padding: 16px;
}
.search-panel > .search-padding > .search-wrapper > .search-icon > svg {
  width: 32px;
  height: 32px;
  fill: #b55b2b;
}
.search-panel > .search-padding > .search-wrapper > .search-icon.disabled > svg {
  fill: #777777;
}
.search-panel > .search-padding > .search-wrapper > ul.suggestions-list > li {
  padding: 5px 10px;
  cursor: pointer;
  background-color: #ffffff;
}
.search-panel > .search-padding > .search-wrapper > ul.suggestions-list > li:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.search-panel > .search-padding > .search-wrapper > ul.suggestions-list > li:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.search-panel > .search-padding > .search-wrapper > ul.suggestions-list > li:hover {
  background-color: #f5f5f5;
}

/* show panel button */
.show-panel-button {
  background-color: #b55b2b;
  border-radius: 0 10px 10px 10px;
  display: none;
  cursor: pointer;
  line-height: 0;
  width: 64px;
  height: 64px;
  text-align: center;
}
.show-panel-button > span {
  display: inline-block;
  background-color: #ffffff;
  width: 3px;
  height: 3px;
  margin: 40px 1px 0 1px;
  border-radius: 50%;
  pointer-events: none;
}
.collapse-panel > .show-panel-button {
  display: inline-block;
}

.show-panel-button > .show-filters-button {
  padding: 16px;
}
.show-panel-button >  span {
  border-radius: 50%;
  background-color: #ffffff;
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 8px;
  display: inline-block;
  text-align: center;
  width: 16px;
  height: 16px;
  font-size: 8px;
  line-height: 2;
  animation: myhighlight 1s 10;
  color: #2f7bee;
}

/* legend styles */
.legends-panel-wrapper {
  margin-top: 24px !important;
  margin-right: 40px !important;
}
.legends-panel {
  background-color: #ffffff;
  width: 360px;
}
.legends-panel > .legends-content {
  overflow-y: auto;
  padding: 16px;
}
.legends-panel > .legends-content > .legend {
  margin: 12px 0;
}
.legends-panel > .legends-content > .legend:first-child {
  margin-top: 0;
}
.legends-panel > .legends-content > .legend:last-child {
  margin-bottom: 0;
}
.legends-panel > .legends-content > .legend > .legend-scale-wrapper > .domain1,
.legends-panel > .legends-content > .legend > .legend-scale-wrapper > .domain2 {
  display: inline-block;
  width: 50%;
  font-size: 16px;
}
.legends-panel > .legends-content > .legend > .legend-scale-wrapper > .domain2 {
  text-align: right;
}
.legends-panel > .legends-content > .legend > .legend-scale-wrapper {
  display: inline-block;
  width: calc(100% - 30px);
}
.legends-panel > .legends-content > .legend > .edit-legend-scale {
  display: inline-block;
  width: 24px;
  margin-left: 6px;
  cursor: pointer;
}
.legends-panel > .legend-bottom-controls {
  border-top: 1px solid #c6c6c6;
  padding: 12px;
}

.legend-title {
  font-size: 20px;
}

.legend-check-box {
  background-color: #ffffff;
  border: solid 1px #b55b2b;
  display: inline-block;
  border-radius: 3px;
  width: 10px;
  height: 10px;
  margin-bottom: -1px;
  margin-right: 4px;
}
.legend-check-box.checked {
  background-color: #b55b2b;
  border-color: #b55b2b;
}
.legend-check-box.checked:after {
  content: "";
  display: block;
  margin: 0 0 0 2px;
  width: 3px;
  height: 7px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.legend-selectall {
  position: relative;
}
.legend-selectall > .legend-check-box.checked:after {
  content: "";
  display: block;
  margin: 4px 0 0 1px;
  width: 8px;
  height: 8px;
  border: none;
  border-top: solid 2px #ffffff;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}
.legend-separator {
  color: transparent;
  border-bottom: solid 1px #c6c6c6;
  margin: 6px 2px;
}
.legend-bottom-button {
  margin: 6px 2px 0 2px;
}

.legend-item {
  position: relative;
  margin: 4px 0;
  overflow: hidden;
  white-space: nowrap;
  content: "";
  font-size: 16px;
}
.legend-item:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width:100%;
  height:100%; 
  background:linear-gradient(to right, transparent 90%, #ffffff);
  pointer-events: none;
}
.legend-bullet {
  margin: 0 7px;
  display: inline-block;
  vertical-align: top;
}

/* tables */
table {
  color: #000000;
  border-spacing: 0;
  border-collapse: collapse;
} 
td, th {
  border: solid 0px #ffffff;
  padding: 4px;
}
td {
  border-top: 1px solid #ddd;
}
th {
  border-bottom: solid 1px #777777;
  text-align: left;
  white-space: nowrap;
}
.tables-section > .tables-container > table {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tables-section > .tables-container > table > tbody > tr.selected-row {
  background-color: #cbdefb !important;
}
.tables-section > .tables-container > table > tbody > tr:nth-child(odd) {
  background-color: #ffffff;
}
.tables-section > .tables-container > table > thead,
.tables-section > .tables-container > table > tbody {
  display: block;
}
.tables-section > .tables-container > table > tbody {
    overflow-y: auto;
    overflow-x: hidden;
    flex-grow: 1;
}
.tables-section > .tables-container > table > thead > tr,
.tables-section > .tables-container > table > tbody > tr {
  display: block;
  white-space: nowrap;
}
.tables-section > .tables-container > table > thead > tr > th,
.tables-section > .tables-container > table > tbody > tr > td {
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  padding: 0;
  position: relative;
}
.tables-section > .tables-container > table > thead > tr > th > div,
.tables-section > .tables-container > table > tbody > tr > td > div {
  padding: 4px 8px;
}
.tables-section > .tables-container > table > thead > tr > th.sorting,
.tables-section > .tables-container > table > thead > tr > th.sorting_asc,
.tables-section > .tables-container > table > thead > tr > th.sorting_desc {
  cursor: pointer;
  position: relative;
}
.tables-section > .tables-container > table > thead > tr > th.sorting > div,
.tables-section > .tables-container > table > thead > tr > th.sorting_asc > div,
.tables-section > .tables-container > table > thead > tr > th.sorting_desc > div {
  padding-right: 1.2em;
}
.tables-section > .tables-container > table > thead > tr > th.sorting:after,
.tables-section > .tables-container > table > thead > tr > th.sorting_asc:after,
.tables-section > .tables-container > table > thead > tr > th.sorting_desc:after {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 22px;
  background: linear-gradient(to right, transparent 0%, white 25%);
}
.tables-section > .tables-container > table > thead > tr > th.sorting:after {
  content: "\20\2195";
  color: #c6c6c6;
}
.tables-section > .tables-container > table > thead > tr > th.sorting_asc:after {
  content: "\20\2191";
  color: #b55b2b;
}
.tables-section > .tables-container > table > thead > tr > th.sorting_desc:after {
  content: "\20\2193";
  color: #b55b2b;
}
.tables-section > .tables-container > table > tbody > tr > td:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  background: linear-gradient(to right, transparent 90%, white);
  pointer-events: none;
}
.tables-section > .tables-container > table > thead > tr > th.text-right,
.tables-section > .tables-container > table > tbody > tr > td.text-right {
  text-align: right;
}
.tables-section > .tables-container > table > tbody > tr > td.text-right:after {
  background: linear-gradient(to left, transparent 90%, white);
}
.tables-section > .tables-container > table > tbody > tr.selected-row > td:after {
  background: linear-gradient(to right, transparent 90%, #cbdefb);
}
.tables-section > .tables-container > table > tbody > tr.selected-row > td.text-right:after {
  background: linear-gradient(to left, transparent 90%, #cbdefb);
}
.tables-section {
  background-color: #ffffff;
  width: 100%;
  height: 33%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1007;
  display: flex;
  flex-direction: column;
}
.maximize-table > .tables-section {
  height: 100%;
}
.tables-section > .tables-section-header {
  position: relative;
  margin: 0 40px;
}
.tables-section > .tables-section-header > .close-button {
  margin: 8px 10px 0 0;
}
.tables-section > .tables-section-header > .size-button {
  margin: 8px 30px 0 0;
}
.tables-section > .tables-section-header > .only-selected-data {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  margin: 8px 50px 0 0;
  font-size: 14px;
  line-height: 1.4;
}
.tables-section > .tables-container {
  flex-grow: 1;
  overflow-y: auto;
  height: 100%;
  margin: 0 40px 16px 40px;
}
.tables-section > .tables-section-header > .table-title {
  margin: 8px 0 16px 0;
}
.tables-section > .tables-section-header > .table-title > span {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}
.tables-section > .tables-section-header > .table-title > input[type=text] {
  height: 32px;
  padding: 2px 8px;
}

.maximize-table > .leaflet-container > .leaflet-control-container > div > .leaflet-control:not(.time-control) {
  display: none;
}

/* frequencies section */
.frequencies-section {
  background-color: #ffffff;
  width: 33%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1003;
  display: flex;
  flex-direction: column;
}
.frequencies-section > .frequencies-section-header {
  position: relative;
  margin: 20px 40px;
}
.frequencies-section > .frequencies-container {
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
}
.frequencies-section > .frequencies-container > .frequency-barplots {
  padding: 0 40px;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > h2 {
  margin: 12px 0 6px 0;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .freq-bar {
  position: relative;
  margin-bottom: 4px;
  cursor: pointer;
  font-size: 14px;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .freq-bar > div.freq1 {
  background-color: #cbdefb;
  height: 100%;
  width: 100%;
  padding: 4px 0;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .freq-bar > div.freq2 {
  background-color: #c6c6c6;
  margin: 4px 0;
  position: absolute;
  display: inline-block;
  z-index: 1;
  top: 0;
  left: 0;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .freq-bar > span {
  position: absolute;
  display: inline-block;
  padding: 4px;
  z-index: 1;
  top: 0;
  left: 0;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .show-more-less-bars {
  color: #b55b2b;
  padding: 4px;
  margin-bottom: 4px;
  display: inline-block;
  width: 100%;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .show-more-less-bars > span {
  display: inline-block;
  width: 50%;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .show-more-less-bars > .show-less-bars {
  text-align: right;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .show-more-less-bars > span:after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 10px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==);
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .show-more-less-bars > .show-less-bars:after {
    transform: rotate(180deg);
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .freq-axis,
.bottom-axis {
  position: relative;
  border-top: solid 1px #777777;
  padding-bottom: 20px;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .freq-axis > span,
.bottom-axis > span {
  position: absolute;
  display: block;
  width: 100px;
  text-align: center;
  margin-left: -50px;
  margin-top: 4px;
  font-size: 14px;
}
.frequencies-section > .frequencies-container > .frequency-barplots > .bar-plot > .freq-axis > span:after,
.bottom-axis > span:after {
  content: "";
  border-left: solid 1px #777777;
  height: 4px;
  display: block;
  position: absolute;
  top: -4px;
  left: 50px;
}
.left-axis {
  position: relative;
  border-right: solid 1px #777777;
}
.left-axis > span {
  position: absolute;
  display: block;
  width: 30px;
  text-align: right;
  margin-top: -10px;
  margin-right: 4px;
  font-size: 14px;
}
.left-axis > span:after {
  content: "";
  border-top: solid 1px #777777;
  width: 4px;
  display: block;
  position: absolute;
  right: -10px;
  top: 10px;
}

/* slider */
.slider-tray {
  position: absolute;
  width: 100%;
  height: 14px;
  border-radius: 7px;
  background-color: #777777;
}

.slider-handle-icon {
  width: 14px;
  height: 14px;
  position: absolute;
  border-radius: 7px;
  background-color: #ffffff;
  border: solid 1px #777777;
  top: -3.5px;
  left: -7px;
  cursor: pointer;
}

.slider-extent {
  position: absolute;
  display: block;
  top: 1px;
  height: 14px;
  background-color: #003366;
}

.slider-min, .slider-max, .slider-text {
  position: absolute;
  display: block;
  color: #000000;
  line-height: 1.333;
  padding: 1px 3px;
  background: rgba(0,0,0,0.1);
  border-radius: 0 3px 3px 3px;
}

.slider-text {
  background-color: #ffffff;
  cursor: pointer;
  font-size: 10px;
}

.slider-text input {
  width: 100%;
  border: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 1px;
  left: 1px;
}

/* labels */
.leaflet-tooltip.entity-label,
.leaflet-tooltip.marker-label {
  border-radius: 5px;
}

img.leaflet-marker-icon {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}
img.leaflet-marker-icon.rounded-icon {
  border-radius: 50%;
}
img.leaflet-marker-icon.selected-marker {
  border-width: 3px !important;
  border-color: #ffff00 !important;
}
img.leaflet-marker-icon.table-selected-marker {
  border-width: 3px !important;
  border-color: #ff0000 !important;
}
img.leaflet-marker-icon.low-opacity {
  opacity: 0.5;
}

.main-date-viewer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 999;
  font-size: 3.2em;
  text-shadow: 1px 1px 5px #ffffff;
  color: #000000;
  font-weight: bold;
}
.main-date-viewer > .main-date-prev,
.main-date-viewer > .main-date-next {
  display: inline-block;
  width: 0; 
  height: 0; 
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent; 
  cursor: pointer;
}
.main-date-viewer > .main-date-next {
  border-left: 16px solid #b55b2b;
  margin-left: 16px;
}
.main-date-viewer > .main-date-prev {
  border-right: 16px solid #b55b2b;
  margin-right: 16px;
}
.main-date-viewer > .main-date-text {
  pointer-events: none;
}
.maximize-table > .main-date-viewer {
  text-shadow: none;
  color: #000000;
}
.period-description {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin-bottom: 88px;
  text-align: center;
  z-index: 1002;
  font-size: 1em;
  pointer-events: none;
}
.period-description > .period-popup {
  display: inline-block;
  position : relative;
}
.period-description > .period-popup > .period-popup-content {
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 12px;
  color: #222;
  box-shadow: 0 3px 14px rgba(0,0,0,0.4);
  text-align: left;
  padding: 13px 19px;
}
.period-description > .period-popup > .period-popup-close {
position: absolute;
top: 0;
right: 0;
padding: 4px 4px 0 0;
border: none;
text-align: center;
width: 18px;
height: 14px;
font-size: 16px;
line-height: 14px;
font-family: sans-serif;
font-weight: normal;
color: #c3c3c3;
text-decoration: none;
font-weight: bold;
background: transparent;
cursor: pointer;
}
.period-description > .period-popup > .period-popup-close:hover {
color: #999;
}

.show-location {
  background: rgba(255, 255, 255, 0.7);
  margin: 0;
  padding: 0 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 1002;
  text-align: center;
  display: inline-block;
  transform: translate(-50%,0);
}

.leaflet-container .leaflet-popup.template-mode > a.leaflet-popup-close-button {
border: 2px solid;
border-radius: 50%;
height: 20px;
width: 20px;
padding: 2px;
font-size: 20px;
line-height: 0.8;
margin: 5px;
color: #000000;
}

/* tutorial */
div.tutorial {
  position: absolute;
  border-radius: 0 0 40px 0;
  background-color: #ffffff;
  z-index: 1010;
  padding: 40px;
  text-align: center;
  font-size: 18px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.07);
}
div.tutorial p {
  margin-top: 12px;
  margin-bottom: 24px;
}
div.tutorial > .tutorial-content > h3 {
  font-weight: bold;
  margin-top: 12px;
  font-size: 24px;
  margin-bottom: 24px;
}
div.tutorial button.primary {
  min-width: 60px;
}
div.tutorial button.primary.prev {
  float: left;
}
div.tutorial button.primary.next {
  float: right;
}
div.tutorial > .tutorial-content > div.mncars-logo > svg {
  height: 60px;
}
div.tutorial span.highlight {
  color: #b55b2b;
}
div.tutorial p > img {
  vertical-align: middle;
}

div.tutorial > .tutorial-content > ul {
  text-align: left;
}
div.tutorial > .tutorial-content > ul.ul-table {
  text-align: center;
}
div.tutorial > .tutorial-content > ul.ul-table > li {
  display: inline-block;
  width: 30%;
  margin-top: 12px;
  margin-bottom: 24px;
}
div.tutorial > .tutorial-content > ul.ul-table > li > span {
  display: block;
}

div.tutorial-arrow {
width: 40px;
height: 60px;
margin-left: -20px;
position: absolute;
display: inline-block;
z-index: 1011;
pointer-events: none;
}
div.tutorial-arrow:before,
div.tutorial-arrow:after {
content: '';
border-color: transparent;
border-style: solid;
position: absolute;
}
div.tutorial-arrow:before {
border: none;
background-color: #b55b2b;
height: 80%;
width: 30%;
top: 20%;
left: 35%;
}
div.tutorial-arrow:after {
left: 0;
top: -35%;
border-width: 20px 20px;
border-bottom-color: #b55b2b;
}

div.tutorial > .img-and-text {
  text-align: left;
}
div.tutorial > .img-and-text > img:first-child {
  border: solid #b55b2b 4px;
  width: 180px;
  float: left;
  margin-right: 20px
}
div.tutorial > .img-and-text:after {
  content: "";
  display: table;
  clear: both;
}

div.tutorial-icon {
  width: 24px;
  height: 24px;
  float: right;
  margin: 0 5px;
  background-color: #b55b2b;
  border-radius: 50%;
  cursor: pointer;
}
div.tutorial-icon:after {
  content: "?";
  color: #ffffff;
  font-weight: bold;
  font-size: 20px;
  width: 24px;
  display: inline-block;
  text-align: center;
}
