* {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  font-family: Helvetica, Arial, sans-serif;
}

html {
  font-size: 12px;
  line-height: 12px;
  min-width: 1000px;
}

#header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45px;
  background: #181818 url(/img/headergradient.png) repeat-x;
}

#zoomControls {
  float: left;
}

#zoomControls button {
  text-indent: -9999px;
}

#zoomControls button span {
  width: 8px;
  display: block;
}

#zoomOutButton span {
  background: transparent url(/img/minus.png) center center no-repeat;
}

#zoomInButton span {
  background: transparent url(/img/plus.png) center center no-repeat;
}

#exportControls {
  visibility: hidden;
}

#search {
  float: left;
  margin: 0 10px;
}

#search input {
  color: #ddd;
  border: 1px solid #404040;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-right: none;
  font-size: 12px;
  line-height: 12px;
  background: transparent;
  float: left;
  padding: 4px 10px;
  width: 220px;
  height: 14px;
}

#search button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  -webkit-border-top-left-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-topleft: 0;
  -moz-border-radius-bottomleft: 0;
}

#footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  line-height: 30px;
  background: #181818;
  text-align: center;
}

#footer h1 {
  float: left;
  margin: 0 0 0 10px;
  color: #666;
  font-size: 12px;
}

#footer ol {
  float: right;
  margin: 0 10px 0;
}

#footer li {
  display: inline;
  margin: 0 8px;
}

#footer a {
  color: #666;
  font-weight: bold;
  text-decoration: none;
}

#footer a:hover {
  color: #aaa;
  text-shadow: rgba(255, 255, 255, 0.3) 0 0 6px;
}

#map {
  position: absolute;
  top: 45px;
  left: 0;
  right: 0;
  bottom: 30px;
}

div.mapOverlay {
  position: absolute;
  top: 45px;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 110;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
}

#noticeBar, #errorBar {
  position: absolute;
  top: 45px;
  left: 0;
  right: 0;
  color: #fff;
  line-height: 1;
  font-weight: bold;
  text-align: center;
  padding: 10px 0;
}

#noticeBar {
  background-color: green;
}

#errorBar {
  background-color: #530000;
}

#loadingOverlay {
  background: rgba(0, 0, 0, 0.7) url(/img/loading.gif) center center no-repeat;
}

#reportCacheDialog {
  width: 400px;
  background: #181818;
  margin: 100px auto 0 auto;
  padding: 25px;
  color: #777;
  text-align: left;
  -webkit-box-shadow: #222 0 0 60px;
  -moz-box-shadow: #222 0 0 60px;
  -o-box-shadow: #222 0 0 60px;
  box-shadow: #222 0 0 60px;
}

#reportCacheDialog textarea {
  display: block;
  width: 390px;
  height: 100px;
  background-color: #222;
  color: #888;
  padding: 5px;
  font-size: 13px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

#reportCacheDialog button {
  color: #ccc;
  font-size: 14px;
  line-height: 28px;
  padding: 0 12px;
  margin: 20px 0 0 0;
  height: 28px;
  background: #222 url(/img/buttondarkgradient.png) repeat-x;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

#addCacheDialog {
  width: 500px;
  background: #181818;
  margin: 100px auto 0;
  padding: 25px;
  color: #777;
  text-align: left;
  -webkit-box-shadow: #222 0 0 60px;
  -moz-box-shadow: #222 0 0 60px;
  -o-box-shadow: #222 0 0 60px;
  box-shadow: #222 0 0 60px;
}

#addCacheDialog p,
#reportCacheDialog p {
  margin: 10px 0;
  line-height: 1.5;
}

#addCacheDialog h2,
#reportCacheDialog h2 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: normal;
  line-height: 18px;
  text-transform: uppercase;
  text-shadow: #000 0 0 5px;
}

#addCacheDialog input {
  border: 1px solid #404040;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  padding: 0 6px;
  width: 140px;
  height: 26px;
  font-size: 14px;
  line-height: 26px;
  color: #999;
  background: #222;
}

#addCacheDialog div.form {
  margin-top: 20px;
}

#addCacheDialog button {
  color: #ccc;
  font-size: 14px;
  line-height: 28px;
  padding: 0 12px;
  margin: 0 1px 0 0;
  height: 28px;
  background: #222 url(/img/buttondarkgradient.png) repeat-x;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

#addCacheDialog div.notice,
#addCacheDialog div.error {
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin: 20px -25px;
  line-height: 30px;
}

#addCacheDialog div.notice {
  background-color: green;
}

#addCacheDialog div.error {
  background-color: #530000;
}

#closeAddCacheDialog,
#closeReportCacheDialog {
  float: right;
  width: 30px;
  height: 30px;
  margin: -35px -35px 0 0;
  background: transparent url(/img/fancy_close.png) no-repeat;
}

#leftControls {
  position: absolute;
  top: 10px;
  left: 10px;
}

#rightControls {
  position: absolute;
  top: 10px;
  right: 10px;
  text-align: right;
}

ol.segmentedControl {
  display: inline-block;
  list-style: none;
  vertical-align: middle;
}

ol.segmentedControl li {
  display: inline-block;
  margin-right: 1px;
}

ol.segmentedControl li:last-child {
  margin-right: 0;
}

button:hover {
  cursor: pointer;
}

a.button,
button.button,
ol.segmentedControl a,
ol.segmentedControl button {
  color: #eee;
  font-size: 12px;
  line-height: 12px;
  text-decoration: none;
  padding: 6px 12px;
  background: #222 url(/img/buttondarkgradient.png) repeat-x;
  display: inline-block;
}

button.button,
ol.segmentedControl button {
  height: 24px;
}

a.button,
button.button {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

ol.segmentedControl a.selected,
ol.segmentedControl button.selected {
  color: #fff;
  background: #222 url(/img/buttonlightgradient.png) repeat-x;
}

ol.segmentedControl li:first-child a,
ol.segmentedControl li:first-child button {
  -webkit-border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

ol.segmentedControl li:last-child a,
ol.segmentedControl li:last-child button {
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.cacheoverlay {
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  background: transparent url(/img/darkarrow-bottom.png) 20px bottom no-repeat;
  opacity: 0.98;
  position: absolute;
  visibility: hidden;
  padding: 0 0 7px;
  cursor: default;
}

.cacheoverlay .inner {
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  padding: 10px 10px;
  white-space: nowrap;
  background: transparent url(/img/darkgradient.png) bottom repeat-x;
}

.cacheoverlay h3 {
  font-size: 12px;
  margin: 0 0 8px 0;
}

.cacheoverlay .box {
  display: inline-block;
  color: #666;
  margin: 0 20px 10px 0;
}

.cacheoverlay .box img {
  display: block;
  margin-bottom: 5px;
}

.cacheoverlay p {
  margin: 5px 0 0 0;
}
