html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  overflow:hidden;
}

/* LAYOUT */

#header {
  position: absolute;
  top:0;
  left:0;
  height:75px;
  right:0;
}
#footer {
  position: absolute;
  bottom:0;
  left:0;
  height:25px;
  right:0;
}
#results {
  position:absolute;
  z-index:100;
  top:75px;
  bottom:25px;
  right:0px;
  width:335px;
  overflow-y: auto;
  overflow-x: hidden;
}
#content {
  position: absolute;
  top:75px;
  bottom:25px;
  left:0;
  right: 335px;
}
#map {
  position:absolute;
  top:50px;
  left:5px;
  right:5px;
  bottom:150px;
}
#overview_map {
  position:absolute;
  bottom:150px;
  right:5px;
  width:195px;
  height:150px;
  z-index:100;
  border: 1px solid #ccc;
}
.plovr-error-report { z-index: 64000; position: absolute; top:0; left:0; }

/* Layout align & padding & colors */

html, body {
  font-family: arial, sans-serif;
  font-size: 9pt;
}

#header {
  z-index: 100;
  background-color:#dee;
}
#header h1 {
  padding:20px;
}
#footer {
  z-index: 100;
  background-color:#dee;
  text-align: center;
}
#sidebar {
  border-left: 1px solid #ccc;
  background-color: #ececef;
  z-index: 90;
}

#content {
  padding:10px;
}

#map {
  border:2px solid #ccc;
}

#mapcanvas-border {
  border-left:10px solid #fff;
  margin-bottom: 0px;
}

#mapfooter {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 160px;
}

fieldset { border: none; }

/* Colors */

h1, h2, h3 {color: #104A85;}


/* MAP BAR */

#geocoderdiv {
  float:right;
}
#geocoder {
  width:250px;
  padding:0 4px;
}
input, select, button {
  font-size: 9pt;
}

h1 { margin:0pt; white-space:nowrap; }
h2 { margin:0.5em 0; white-space:nowrap; }
h3 { font-size: 90%; margin:0.8em; white-space:nowrap; }

h1, h2, h3, h4
{ letter-spacing: .06em; font-weight: normal;
}

h2 {
  font-size: 125%;
  font-weight: bold;
}

.tooltip { vertical-align: text-bottom; }
.goog-tooltip {
  background: infobackground;
  color: infotext;
  border: 1px solid infotext;
  padding: 1px;
  font: menu;
  max-width: 400px;
  z-index:1500;
}

#textsearch {
  display: block; /* none; */
}
#textsearch div { padding-left: 25px; }
#textsearch label { padding-right: 5px; }
#textsearch input { width: 350px; }

.item {
  padding:10px;
  padding-left: 8px;
  border: 1px solid #fff;
  border-bottom: 1px solid #ccc;
  color: #000;
  background-color:#f7f7f9;
  overflow: hidden;
  overflow: ellipsis;
  display:block;
  text-decoration:none !important;
  clear:both;
}
.item:hover, .item.active {
  background-color: #efb7aa; /* fallback color */
  border: 1px solid #dd7b6f;
  display:block;
  text-decoration:none !important;
  cursor: pointer !important;
}
.item .title { font-size:110%; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.item .author { padding-left: 5px; }
/*
.resultitem .maintitle { font-weight: bold; }
.resultitem .year { display: inline; padding-right:0.5em; cursor: pointer; }
.resultitem .author { height: 1.2em !important; overflow:hidden; display: block; cursor: pointer; padding-left: 2px; }
.resultitem .mapscale { display: inline; float:right; cursor: pointer; padding-left:2px; }
*/

.serie_record {
  width:40px;
  float:left;
  clear:none;
  padding: 5px 0px 5px 10px;
}

.label-input-label {
  color: GrayText;
}


.mapcontrol {
  background-color: rgba(255,255,255,0.7);
  position: absolute;
  width:30px; height:30px;
  left:15px;
  top:60px;
  text-decoration: none !important;
  font-weight: bold;
  font-size:200%;
  color:#000;
  text-align: center;
}
.mapcontrol:hover {
  background-color: rgba(255,255,255,0.9);
}
#map_minus {
  top:95px;
}
#map_select {
  top:130px;
}

#libraries {
  position: absolute;
  top:10px;right:10px;
}

/* Styles for goog.ui.AutoComplete and its derivatives.
   Note: these styles need some work to get them working properly at various
   font sized other than the default. */

/* goog.ui.AutoComplete.Renderer */

/* TODO(annams): Rename (here and in renderer.js) to specify class name as
   goog-autocomplete-renderer */

.ac-renderer {
  position: absolute;
  width: 350px;
  background-color: #fff;
  border: 1px solid #666;
  -moz-box-shadow: 2px 2px 2px rgba(102, 102, 102, .4);
  -webkit-box-shadow: 2px 2px 2px rgba(102, 102, 102, .4);
}

.ac-row {
  position: relative;
  padding: .4em;
  cursor: pointer;
}

.ac-highlighted {
  font-weight: bold;
}

.ac-active {
  background-color: #b2b4bf;
}

.ac-type {
  background-color: #990033;
  color: #FFFFFF;
  display: block;
  margin: 2px;
  padding: 2px;
  font-style: italic;
  float: right;
}

/* TIMELINE */

#timeline { position: relative; height: 34px; }
#timeline .goog-twothumbslider-range{background:#cfcfcf; position:absolute; top:4px; height:4px; left: 26px; right: 26px;}
#timeline .goog-twothumbslider-rangehighlight{background:#009ee3; position:absolute; top:4px; height:4px;}
#timeline .goog-twothumbslider-value-thumb,
#timeline .goog-twothumbslider-extent-thumb {cursor:pointer; width:52px; height:34px; position:absolute;}
#timeline div.thumb {background-color:#009ee3; position:absolute; width:12px; height:12px;left:21px; top:0;}
#timeline .goog-twothumbslider-value-thumb span,
#timeline .goog-twothumbslider-extent-thumb span {border:1px solid black; background-color:#fff; position:absolute; bottom:0; left:0; width:50px; text-align:center}


/* LIGHTBOX */

#lightbox {display:none;}
#lightbox {position: absolute;top: 0;left: 0;width: 100%;height:100%;z-index: 999}
#lightbox .background {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0,0,0,0.5);}
#lightbox #mainBox { background: #fff; width: 780px;margin-left: -390px;position: absolute;top: 10%;left: 50%; position: relative;}
#lightbox #mainBox .close {display: block; position: absolute;top: 23px;right: 23px;}
#lightbox #mainBox .padding {padding: 35px;}
#lightbox #mainBox .top {padding-bottom: 19px;}
#lightbox #mainBox .container {padding: 13px 0 18px 0; border-top: 1px solid #d6d4d1; border-bottom: 1px solid #d6d4d1;}
#lightbox #mainBox .container #owner-logo {margin-top: 38px;}
#lightbox #mainBox #adsense { height: 58px; text-align:center; padding-top: 15px; }
#lightbox #arrow-left, #lightbox #arrow-right {width: 44px; height: 45px; background: #fff; text-align: center; padding-top: 15px; margin-top: 5px; position: absolute; text-align: center;}
#lightbox #arrow-left { left: -46px; top: 150px; border-right: 1px solid #ccc; }
#lightbox #arrow-right { right: -46px; top: 150px; border-left: 1px solid #ccc; }

#lightbox #arrow-left a, #lightbox #arrow-right a {display: inline-block; width:20px; font-size:200%; text-decoration:none !important; text-align:center; font-weight:bold; cursor:pointer;}

.clear, .cleaner {clear: both;}