/**
 * CSS Reset
 * From Blueprint reset.css
 * http://blueprintcss.googlecode.com
 */

a:hover{ 
	color: orange;
	text-decoration: none;
	cursor: pointer;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0px;
  line-height: 1.428571429;
}


h3 {
  padding: 8px 0px;
  margin: 0;
  font-weight: bold;
  font-size: 1em;
}

h2 {
  padding: 10px 0px;
  margin: 0;
  font-weight: bold;
  font-size: 1.5em;
}

h1 {
  padding: 15px 0px;
  margin: 0;
  font-weight: bold;
  font-size: 2em;
}

div.leftpanel {
	font-family: Arial, Verdana, Geneva, sans-serif!important;
  margin: 0;
	color: #f0f0f0;
  height: 100%;
  width: 300px; /* must be the same size as mapcontainer margin width */
  float: left;
  position: relative;
  overvlow: hidden;
  -webkit-box-shadow: 5px 0 15px rgba(0, 0, 0, 0.7);
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.7);
  z-index: 1;
  background-color: #3F4757;
}

.leftpanel .titleImg {
  text-align: center;
}

.leftpanel .titleImg img {
  width: 100%;
}

.menu {
  margin: 1%;
  padding: 2% 1%;
  position: absolute;
  bottom: 50px;
  top: 140px;
  width: 96%;
/*  overflow: hidden;*/
}

.mapContainer {
  margin-left: 300px; /* must be the same size as leftpanel width */
  height: 100%;
}
#map {
  width: 100%;
  height: 100%;
  position: relative;  
}

.tab {
  list-style: none;
  text-decoration: none;
  border-bottom: 1px solid #888;
  padding: 0 0 4px 0;
  margin: 0;
}

.tab > li > a {
  color: #f0f0f0;
  text-decoration: none;
  padding: 7px 10px;
  border: 1px solid #AAA;
  border-radius: 6px 6px 0 0;
  border-bottom-color: transparent;
  outline: none;
}
.tab > li > a:hover {
  color: #f0f0f0;
}
.tab > .active > a {
  background-color: #66667B;
  border: 1px solid #888;
  border-bottom-color: transparent;
}

.tab > li {
  display: inline;
}

.tabContainer {
  height: 100%;
}
.tab-content {
  margin: 0;
  border: 1px solid #888;
  border-top: 0px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #66667B;
  max-height: 90%;
  max-height: -webkit-calc(100% - 20px);
  max-height: -moz-calc(100% - 20px);
  max-height: calc(100% - 20px);
  overflow: auto;
}
.tab-content-in {
/*  overflow: auto;
  height: 100%;*/
  margin: 5px 0px;
}

.tab-pane {
  display: none;
  margin-left: 10px;
  margin-right: 10px;
  position: relative;
  height: auto;
}
.tab-pane.active {
  display: block;
}
.tab-pane > i {
  padding: 10px;
  display: block;
}
.tab-pane h3 {
  color: #CCC;
  padding-top: 2em;
}

.legend_checked, .transp_checked {
  height: 1em;
  vertical-align: middle;
  cursor: pointer;
}

.legend_checked {
/*  background-color: #000;
  border-radius: 10px;*/
  opacity: 0.5;
}
.transp_checked {
  opacity: 0.5;
}

.linkContainer {
  margin-left: 1em;
  margin-top: 1em;
}

.linkContainer a {
  text-decoration: none;
  color: #DDF;
}
.linkContainer a:hover {
  text-decoration: none;
  color: #30B;
}


div#leftpanel-footer {
	height: 40px;
	position: absolute;
  width: 100%;
  text-align: center;
	color: #000;
  font-size: 10px;
	text-decoration: none;
  bottom: 0px;
}
div#leftpanel-footer img {
  padding: 0px 4px;
}

div#printmap {
	cursor:pointer; 
}

.layerLine {
  overflow: hidden;
}
.layerBtns {
  float: right;
  /*position: absolute;
  right: 5px;*/
}
/*.layerBtns:after {
  content: '.';
  height: 0;
  display: block;
  clear: both;
  visibility: hidden;
}*/
.inlineBtn {
  height: 1em;
  vertical-align: middle;
  cursor: pointer;
}
.icon {
  vertical-align:middle;
  padding-right:3px;
  height: 1.2em;
}
.logo {
  vertical-align:middle;
}


/**
 * Legend objects
 */

/*.closelegend {
  position: absolute ;
  top: 3px;
  right: 3px;
  cursor: pointer;
  z-index: 1001;
}*/
.closelegend {
  position: absolute ;
  top: 5%;
  right: 2%;
  cursor: pointer;
  z-index: 1001;
}
.legend {
  position: absolute ;
  top: 5%;
  right: 2%;
  z-index: 1000;
  max-width: 30%;
  max-height: 90%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 2px;
  overflow: auto;
}

.legend > div {
  margin: 1px;
  padding: 7px;
  color: white;
  background: rgba(90, 102, 125, 0.7);
}
.legend h2 {
  padding: 7px 0px;
}

.legend td:first-child {
  width: 2em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
/* border: 1px solid black;*/
  border-radius: 3px;
}
.legendLine > div {
  display: inline;
}
.legendImage {
  max-width: 400px;
  max-height: 500px;
}
.colorbarcontainer td {
  border-collapse: collapse;
  border-spacing: 0px;
  border: none;
}
.colorbarcontainer td:first-child {
  width: 2em;
  height: 1.5em;
  vertical-align: middle;
  margin-right: 5px;
}
.colorbarcontainer td:nth-child(2) {
  position: relative;
  top: 0.7em;
}


/* ol zoom buttons */
div.olControlZoom {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 2px;
}
div.olControlZoom a {
  display: block;
  margin: 1px;
  padding: 0;
  color: white;
  font-size: 18px;
  font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  height: 22px;
  width: 22px;
  line-height: 19px;
  background: #130085;
  background: rgba(90, 102, 125, 0.7);
  filter: alpha(opacity=80);
}
div.olControlZoom a:hover {
  background: #130085;
  background: rgba(73, 79, 90, 0.9);
  filter: alpha(opacity=100);
}

div.olControlZoom a.olControlZoomExtent {
  font-size: 14px;
  line-height: 22px;
}
.olControlZoomExtent img {
  max-height: 20px;
  max-width: 20px;
  margin-top: -3px;
}

/* ol ucl copyright */
.olControlAttribution {
  bottom: 4px;
  left: 75px;
  display: inline;
}
.olControlAttribution span {
  color: rgb(6,42,86);
  font-size: 18px;
  font-weight: bold;
  margin: 0px;
}
.olControlAttribution img {
  vertical-align: baseline;
  margin-bottom: -1px;
  margin-right: 3px;
}
.imgAttrib {
  height: 15px;
  padding-right: 10px;
}

/* ol ggl  */
  /* disable gmap info */
.gmnoprint, .gm-style-cc {
  display: none;
}
  /* google logo behind our layers */
div#map div.olForeignContainer > div > div:nth-of-type(2) {
  z-index:0 !important;
}

/* ol white position bckg */
div.olControlMousePosition {
  background-color: rgba(255,255,255,.7);
  padding: 3px;
  border-radius: 3px;
  bottom: 3px;
}
