
html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; right:0; width:80%; }
.sidebar {
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:20%;
  box-shadow: 3px 0px 10px 0px rgba(0,0,0,0.5);
  z-index:9999;
  overflow:auto;
}

.sidebar-header{
  padding: 10px;
  color: #333;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.slider-container {
  padding:20px
}

.slider-label {
  font-size: 14px;
  margin-bottom: 5px;
}

.map-legend{
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: rgba(255,255,255,.5);
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
}

.legend-list{
  padding-left: 10px;
}

.legend-item{
  list-style-type: none;
}

.legend-item-title{
  display:inline-block;
  padding-left:10px;
}

.legend-item-swatch{
  border-radius:6px;
  width:32px;
  height:20px;
  border:1px solid #91A7AF;
  display:inline-block;
  position:relative;
  top:3px;
}

.legend-item-grad{
  width:32px;
  height:200px;
  border:1px solid #91A7AF;
  display:inline-block;
}

.legend-item-min{
  display:inline-block;
  padding-left:10px;
  position: relative;
  top: -195px;
}
.legend-item-max{
  display: inline-block;
  padding-left: 10px;
  position: relative;
  left: -23px;
}

.floating-toolbar {
  position: absolute;
  font-size: 30px;
  font-weight: bold;
  top: 4px;
  left: 24%;
  z-index: 999;
}

.layer-name {
   font-size:20px;
}

.plan-name{
   padding-left:20px;
}

.hidden {
  display:none;
}

.inset-map{
  height:200px;
  width:100%;
  border: 1px solid #ccc;
}

.table-name{
      padding-left: 18px;
}
.layer-span{
      padding-left: 36px;
}

#legend {
	position:absolute;
	top:0;
	bottom:0;
	right:0;
	width:22%;
	-webkit-box-shadow: -3px 0px 10px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: -3px 0px 10px 0px rgba(0,0,0,0.5);
	box-shadow: -3px 0px 10px 0px rgba(0,0,0,0.5);
	font-family: sans-serif;
	font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
	overflow:auto;
}

.legend-header {
	padding: 0 20px;
	color:#333;
	background-color: #f8f8f8;
	border-bottom: 1px solid #eee;
}

.legend-body {

}

.legend-title {
	margin-top: 0;
    padding-top: 20px;
    font-size: 1.5em;
}

.legend-section-title {
	padding: 0 20px;
	margin-top: 0;
    padding-top: 20px;
	color: #747474;
	font-size:1em;
}

.key-item-list {
	padding:0px 20px;
}

.legend-body li {
	position: relative;
	list-style: none;
    margin-bottom: 10px;
    border: 1px solid #eee;
    display:list-item;
}

.legend-body li .key-item-map {
	position:relative;
    width: 100%;
    height: 40px;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    box-sizing:border-box;
    background-color: #ccc;
}

.legend-body li .key-item-zoom-to {
    background-image: url('zoom_to.png');
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display:none;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: #f1f2f3;
    opacity: 0.6;
    cursor: pointer;
}
.legend-body li:hover .key-item-zoom-to{
	display:block;
}

.key-item-name {
	margin: 0;
	padding: 5px;
	font-size: 0.9em;
}

.leaflet-control-layers-expanded{
    max-height:800px;
    overflow:auto;
}

/* Query Control */
.nsi-control-query a{
  background-position: 5px 4px;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  opacity: .8;
}

.nsi-control-query ul {
  display: none;
  left: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  white-space: nowrap;
  z-index: -1;
}
  .nsi-control-query ul li {
    display: inline-block;
  }
    .nsi-control-query ul li:first-child a {
      border-left: none;
    }
    .nsi-control-query ul li button {
      background-color: #919187;
      border: none;
      border-radius: 0;
      color: #FFF;
      display: block;
      font: 11px/19px "Helvetica Neue", Arial, Helvetica, sans-serif;
      line-height: 28px;
      text-align: center;
      text-decoration: none;
      padding-left: 10px;
      padding-right: 10px;
      height: 28px;
      width: auto;
    }
      .nsi-control-query ul li button:hover {
        background-color: #a0a098;
      }
      .nsi-control-query ul li button.pressed {
        background-color: #74746a;
      }
      .nsi-control-query ul li:last-child button {
        border-bottom-right-radius: 4px;
        border-top-right-radius: 4px;
      }

      .hide-input{
          display:none!important;
      }
