body {
  /*position: absolute;*/
  overflow: hidden;
  background: transparent url('/static/maps/img/wavegrid.png');
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
}

header nav {
  text-align: center;
  border-bottom: 2px solid #ccc;
  padding-bottom: 15px;
}

header nav a {
  font-weight: bold;
  font-size: 16px;
  padding: 5px 20px;
}

footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 17px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  border-top: 1px solid #bbb;
  background-color: rgba(200, 200, 200, 0.3);
  padding: 6px 0;
}

footer a {
  padding: 0 20px;
}

#record-header {
  position: absolute;
  top: 52px;
  /*height: 60px;*/
  left: 0;
  right: 0;
  margin: 0;
  padding: 7px 0;
}

#record-header h1 {
  font-size: 18px;
  line-height: 28px;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#main {
  position: absolute;
  border-top: 2px solid #ccc;
  top: 96px;
  bottom: 0;
  left: 0;
  right: 0;
}

.map-box {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 240px;
}

.hidden-sidebar .map-box {
  right: 6px;
}

.sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 240px;
  background-color: #fff;
  /*background: white url('../img/lined_paper_big.png');*/
}

.sidebar .sidebar-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 8px;
  padding-left: 10px;
  overflow-x: hidden;
  overflow-y: scroll;
}

.naki-attribution {
  position: absolute;
  height: 100px;
  left: 8px;
  right: 2px;
  bottom: 0;
  padding: 6px 6px 6px 12px;
  border-top: 1px solid #ccc;
}

.sidebar-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: #aaa url('../img/arrow-right.png') no-repeat 1px center;
  cursor: pointer;
}

.hidden-sidebar .sidebar {
  width: 8px;
  overflow-y: hidden;
}

.hidden-sidebar .sidebar table {
  display: none;
}

.hidden-sidebar .sidebar-handle {
  background: #aaa url('../img/arrow-left.png') no-repeat left center;
}


.navbar-fixed-top .brand {
  float: right;
}

.slider {
  display: inline-block;
  width: 60%;
  margin-left: 10px;
}

.sidebar hr {
  width: 94%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #bbb;
}

.sidebar h3 {
  font-size: 115%;
}

.sidebar-row {
  padding-left: 25px;
}

#navigation-pane {
  position: absolute;
  top: -3px;
  left: 160px;
  right: 160px;
  height: 36px;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  border-bottom: 1px solid #999;
  /*box-shadow: 0px 0px 5px #aaa;*/
  background-color: rgba(145, 145, 145, 0.5);
  /*opacity: 0.5;*/
  text-align: center;
  z-index: 10;
}

#navigation-pane #id_pagenum {
  width: 64px;
  position: relative;
  text-align: center;
  top: 5px;
}

#navigation-pane button {
  display: inline-block;
  width: 40px;
  height: 28px;
  font-size: 18px;
}

#page-list {
  list-style-type: none;
  margin: 3px 0;
}

#page-list li {
  display: flex;
  margin: 5px 0;
  padding: 3px 0;
}

#page-list li span {
  flex: none;
  width: 40px;
}

#page-list li.current span {
  width: 38px
}

#page-list li img {
  flex: auto;
}

#page-list .current {
  border: 2px solid #6CBA6F;
  background-color: #ddd;
}
