#appcontainer {
  min-width: 800px;
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: url('../images/bgpattern.jpg');
  color: #fff;
}

.esriGeocoderResults {
  color: black;
}

#topline {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  min-width: 800px;
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.75);
}
#menu {
  position: absolute;
  z-index: 2;
  top: 50px;
  left: 0;
  width: 50px;
  height: calc(100vh - 50px);
  background: rgba(0, 0, 0, 0.85);
}
#menu ul {
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
}
#menu ul li:hover,
#menu ul li.active {
  background: rgba(68, 112, 161, 0.8);
  transition: 0.3s;
}
#menu ul li svg {
  fill: #fff;
  width: 30px;
  height: 30px;
  padding: 10px;
}

#sidebar {
  position: absolute;
  z-index: 2;
  top: 50px;
  left: 50px;
  width: 300px;
  height: calc(100vh - 50px);
  background: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
#sidebar h3 {
  font-size: 1em;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  color: #ccc;
}
.legend-item {
  font-size: 0.8em;
  padding: 0.3em 1em;
  margin-top: 1px;
}
.legend-item:hover {
  background: rgba(0, 0, 0, 0.25);
  transition: 0.3s;
  cursor: pointer;
}
.legend-item.on {
  background: rgba(0, 0, 0, 0.4);
  border-right: solid 0.7em #558acc;
}
.legend-item img {
  width: 40px;
  margin-right: 10px;
  padding: 5px;
}
.legend-category {
  padding: 0.3em 1em;
  font-size: 0.75em;
  background: rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
}
.legend-radio {
  margin: 1em;
  border: solid 1px #666;
  border-radius: 3px;
}
.legend-radio span {
  font-size: 0.75em;
  text-transform: uppercase;
  padding: 0.7em 1em 0.7em 3em;
  border-bottom: solid 1px #666;
  display: block;
  position: relative;
}
.legend-radio span:last-child {
  border-bottom: none;
}
.legend-radio span.on,
.legend-radio span.on:hover {
  background: #558acc;
}
.legend-radio span:before {
  content: '\f10c';
  font-family: 'FontAwesome';
  font-size: 1.5em;
  position: absolute;
  left: 0.5em;
  top: 5px;
}
.legend-radio span.on:before {
  content: '\f192';
}
.legend-radio span:hover {
  background: rgba(68, 112, 161, 0.8);
  transition: 0.3s;
}
.event-item {
  padding: 0.3em 1em;
}
.event-item.hush {
  opacity: 0.3;
}
.event-item.selected,
.event-item.selected:hover {
  background: rgba(68, 112, 161, 0.8);
}
.event-item img {
  width: 50px;
  float: left;
  margin-right: 10px;
}
.event-item .event-desc,
.event-item .event-time {
  font-size: 0.8em;
  display: block;
}
.event-item span:first-of-type {
  padding-top: 0.5em;
}
.event-item:hover {
  background: rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  cursor: pointer;
}
.event-item .event-time {
  font-size: 0.75em;
  color: #ddd;
}
.searchbox {
  padding: 1em;
}
.psychic {
  font-size: 0.8em;
}
.psychic span {
  display: block;
  padding: 0.7em 1em;
}
.psychic span:hover {
  cursor: pointer;
  background: rgba(68, 112, 161, 0.8);
  transition: 0.3s;
}
.psychic-message {
  text-align: center;
  color: #aaa;
}
#chartDiv {
  position: absolute;
  width: 50%;
  height: 60vh;
  right: 2em;
  top: 20%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 3;
}
.chart-config {
  padding: 1em;
  font-size: 0.8em;
}
#txtsearch {
  width: 100%;
  background: none;
  border: 1px solid #aaa;
  font-size: 14px;
  padding: 0.3em;
  box-sizing: border-box;
  color: #fff;
}
#map {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100vh;
}

#topline > h1 {
  font-size: 1.3em;
  font-weight: 400;
  position: absolute;
  top: 10px;
  left: 95px;
  display: inline;
  margin: 0;
  padding: 0;
}
#topline > h2 {
  font-size: 1.1em;
  font-weight: 400;
  position: absolute;
  top: 12px;
  right: 25px;
  display: inline;
  margin: 0;
  padding: 0;
  color: #bbb;
}
#topline a {
  color: #fff;
  text-decoration: none;
}
#hcglogo {
  position: absolute;
  top: -10px;
  left: 15px;
  width: 69px;
  z-index: 3;
}
#map_zoom_slider {
  top: auto;
  left: auto;
  bottom: 50px;
  right: 20px;
}
.popeye-slide {
  position: relative;
}
.popeye-slide img {
  width: 50px;
  box-shadow: 0px 0px 0.5em 5px #f52424;
  border-radius: 25px;
  position: absolute;
  top: 20px;
  left: 20px;
}
.popeye-slide .popeye-content {
  position: absolute;
  top: 30px;
  left: 100px;
  width: 270px;
  text-align: left;
}
.popeye-slide .popeye-content h4 {
  border-bottom: solid 2px #f52424;
  font-size: 1.2em;
  margin: 0 0 0.5em 0;
  padding-bottom: 0.2em;
}
.popeye-slide .popeye-content span {
  display: block;
  padding: 0.25em 0;
}
/* ==========================================================================
   ESRI search plugin overwrites
   ========================================================================== */
.simpleGeocoder .esriGeocoderContainer {
  width: 100%;
  font-family: inherit;
}
.simpleGeocoder .esriGeocoder {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0;
}
.simpleGeocoder .esriGeocoder input,
.simpleGeocoder .esriGeocoder input:focus {
  color: #fff;
}
.simpleGeocoder .esriGeocoderResults {
  border: none;
  background: rgba(0, 0, 0, 0.25);
  -webkit-border-radius: 0;
  border-radius: 0;
  color: #fff;
  font-family: inherit;
}
.simpleGeocoder .esriGeocoderResults ul {
  margin-top: 1em;
}
. simpleGeocoder .esriGeocoderResults ul li {
  border-bottom: solid 1px #666;
}
.simpleGeocoder .esriGeocoderResultLast {
  border-radius: 0;
}
.simpleGeocoder .esriGeocoderResult:hover,
.simpleGeocoder .esriGeocoderResultEven:focus,
.simpleGeocoder .esriGeocoderResultOdd:focus {
  background: rgba(68, 112, 161, 0.8);
}
.simpleGeocoder .esriGeocoderActive,
.simpleGeocoder .esriGeocoderMenuActive {
  border-bottom: inherit;
}
