html,
body {
  margin: 0;
  padding: 0;
  font-family: "avenir next", Arial, sans-serif;
  font-size: 12px;
  color: #696969;
  background-color: #ffffff;
  user-select: none;
}
#mapDiv {
  position: absolute;
  display: block;
  width: 100%;
  height: inherit;
}
#map {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  display: block;
  z-index: 100;
}
.leaflet-tile-pane {
  opacity: 0.3 !important;
}
.leaflet-container {
  background: #fff !important;
}

#ui-overlay {
  display: block;
  position: absolute;
  z-index: 9992;
  width: 100%;
  pointer-events: none;
}

/* SLIDER */

#timeline {
  display: inline-block;
  position: absolute;
  z-index: 9990;
  width: 80%;
  max-width: 710px;
  vertical-align: middle;
  left: 100px;
  top: 9px;
}

#slider {
  display: inline-block;
  position: relative;
  z-index: 9999;
  width: 80%;
  max-width: 840px;
  vertical-align: middle;

  pointer-events: none;
  top: 6px;
}
#slider_handle {
  pointer-events: none;
}
#slider svg {
  pointer-events: none;
}
#slider svg > g {
  pointer-events: none;
}

.ticks {
  font-size: 10px;
}

.track,
.track-inset,
.track-overlay {
  stroke-linecap: round;
}

.track {
  stroke: #000;
  stroke-opacity: 0.3;
  stroke-width: 10px;
}

.track-inset {
  stroke: #dcdcdc;
  stroke-width: 8px;
  pointer-events: stroke;
  cursor: pointer;
}

.track-overlay {
  pointer-events: stroke;
  stroke-width: 50px;
  stroke: transparent;
  cursor: pointer;
}

.handle {
  fill: #fff;
  stroke: #000;
  stroke-opacity: 0.5;
  stroke-width: 1.25px;
  pointer-events: none;
}

#info-box {
  z-index: 400;
  position: absolute;
  display: block;
  width: 340px;
  height: 140px;
  left: 20px;
  bottom: 20px;
  background-color: #ffffff;
  border: 1px solid #999999;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  padding: 4px;
  white-space: normal;
  overflow: hidden auto;

  -webkit-user-select: text; /* Chrome all / Safari all */
  -moz-user-select: text; /* Firefox all */
  -ms-user-select: text; /* IE 10+ */
  user-select: text;
}
.buttonx {
  z-index: 9997;
  position: relative;
  display: inline-block;
  left: 0px;
  top: 0px;
  background-color: #f90;
  border: 1px solid #999999;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  padding: 4px;
  width: auto;
  vertical-align: middle;
  cursor: pointer;
}
#datespan {
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  white-space: nowrap;
}
.leaflet-marker-pane svg path {
  pointer-events: all !important;
  cursor: pointer;
}
circle {
  pointer-events: all !important;
  cursor: pointer;
}
path:hover {
  stroke-width: 2;
  stroke-opacity: 1;
  stroke: rgb(0, 0, 97);
}

.leaflet-marker-pane svg {
  pointer-events: none;
}
.leaflet-marker-pane svg g {
  pointer-events: none;
}

.evtPoint {
  stroke: rgba(0, 0, 112, 0.7);
  z-index: 200;
}

.evtBounds {
  stroke-dasharray: 0.2em 0.2em;
  stroke: rgba(0, 0, 112, 0.7);
  fill: rgba(0, 0, 112, 0.2);
  /*fill: rgba(114, 10, 250, 0.5);
  fill: url(#diagonalHatch);*/
  fill-opacity: 0.5;
  z-index: 150;
}
.fire {
  stroke: rgba(0, 0, 112, 0.7);
  fill: rgba(250, 10, 0);
  fill-opacity: 0.5;
}
.traffic {
  stroke: rgba(0, 0, 112, 0.7);
  fill: rgb(23, 0, 226);
}
.hazard {
  stroke: rgba(0, 0, 255, 0.7);
  fill: rgba(250, 200, 0, 0.95);
  z-index: 300;
}
path {
  position: absolute;
  stroke-width: 0.5;
  stroke-opacity: 1;
}
path:hover {
  stroke-width: 2;
  stroke-opacity: 1;
  stroke: rgb(0, 0, 97);
}

.sa_bounds {
  position: absolute;
}

.sa_bounds svg {
  position: absolute;
}

.sa_incedent {
  position: absolute;
}

.sa_incedent svg {
  font: 10px sans-serif;
  position: absolute;
}
.wa_incedent {
  position: absolute;
}

.wa_incedent svg {
  font: 10px sans-serif;
  position: absolute;
}
.qld_incedent {
  position: absolute;
}

.qld_incedent svg {
  font: 10px sans-serif;
  position: absolute;
}

@media (max-width: 680px) {
  /* For mobile phones: */
  #mapBlock {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
  }
  #map {
    width: 100%;
    height: 600px;
    position: relative;
    display: inline-block;
  }
  #info-box {
    top: 0px;
    width: 100%;
    height: 50px;
    position: relative;
    display: inline-block;
  }
}

#ui-overlay > .button {
  background-color: rgb(255, 255, 255);
  background-position: 50% 50%;
  background-position-x: 50%;
  background-position-y: 50%;
  background-repeat: no-repeat;
  overflow: hidden;

  border-color: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  border-style: solid;
  border-width: 2px;
  color: rgb(0, 0, 0);
  cursor: pointer;
  display: inline-block;
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 22px;
  font-weight: 700;
  height: 30px;
  line-height: 30px;
  pointer-events: auto;
  text-align: center;
  text-indent: 1px;
  width: 30px;
  vertical-align: middle;
}
