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

.app {
  display: block;
  position: absolute;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

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: 56px;
  line-height: 56px;
  left: 0;
  right: 0;
  margin: 0;
  /*padding: 5px 0;*/
  display: flex;
}

#record-header h1 {
  display: inline-block;
  font-size: 18px;
  line-height: 56px;
  padding: 0;
  margin: 0;
  text-align: center;
  flex: auto;
}


.map-tools {
  display: inline-block;
  margin-right: 8px;
}

.map-tools a, .map-tools button {
  margin-top: -2px;
}


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


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

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

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

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

.naki-attribution.small {
  height: 48px;
}

.report-button {
  position: absolute;
  height: 20px;
  left: 8px;
  right: 2px;
  bottom: 0;
  padding: 6px 6px 6px 12px;
  text-align: right;
  /*border-top: 1px solid #ccc;*/
}

.infringement span {
  cursor: pointer;
  color: #393;
}

.infringement span:hover {
  color: #97310e;
}

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

.hidden-sidebar .sidebar {
  width: 6px;
}

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

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

.sidebar .map-info {
  min-width: 200px;
  top: 0px;
  left: 6px;
  right: 0;
  /*border-spacing: 2px;*/
  /*border-collapse: separate;*/
}

.sidebar-col {
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 0;
    left:0;
    right:0;
    margin-bottom: 120px;
    margin-left: 6px;
}

.sidebar .attr {
  margin-top: 6px;
  padding: 2px 6px 0 4px;
  border-top: 1px solid #ccc;
  text-align: justify;
}

.sidebar .attr:nth-child(1) {
  border-top: none;
}

.map-info .attr span {
  vertical-align: top;
}

.map-info .attr span:nth-child(1) {
  display: inline-block;
  width: 100px;
  font-weight: bold;
}

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


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

.sidebar-row label {
  display: inline;
  padding-right: 6px;
}

.slider {
  display: inline-block;
  width: 60%;
}

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

#url-dialog .content {
  display: flex;
  align-items: center;
}

#url-dialog .content button {
  flex: none;
  margin: 0;
  margin: 0 0 0 6px;
}

#url-dialog .content input {
  flex: auto;
  margin: 0;
}

.report label {
  display: inline-block;
  width: 8rem;
  padding-right: 0.4rem;
  text-align: right;
}

.report textarea, .report input {
  margin-bottom: 0;
}

.report .form-row {
  margin-bottom: 1rem;
}

.report .hint {
  font-style: italic;
  margin-left: 0.5rem;
  color: #666;
}

.report .error {
  color: #dc3545;
  display: block;
  padding-left: 8.6rem;
}

#citation-dialog textarea {
  width: 100%;
}


.arrow:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
.arrow{
  padding:5px;
}
.inner {
  display: inline-block;
  vertical-align: middle;
}
