.jssocials-share {
  display: inline-block;
  width: 1.6em;
  height: 1.6em;
  vertical-align: middle;
  font-size: 1.5em;
}

html, body, .viewport {
  width: 100%;
  height: 100%;
  margin: 0;
  background-image: none;
}

body {
  display: flex;
  flex-direction: column;
}

#filter {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
}
#filter form .form-group, #filter form a {
  display: inline-block;
}
#filter form .form-group input, #filter form .form-group select, #filter form a input, #filter form a select {
  margin: 0 10px;
}
#filter form {
  float: left;
}
#filter a {
  display: inline-block;
  line-height: 56px;
  margin: 0 30px;
}

header {
  z-index: 10;
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 10px;
  padding: 0;
}
header h1, header h2, header h3, header h4, header h5 {
  font-family: "Hobo", serif;
}
header h1, header h2 {
  font-size: 60px;
  letter-spacing: 2px;
}

main {
  display: flex;
  flex: 1;
  flex-direction: horizontal;
}
main #map-container {
  position: relative;
  flex: 4;
}
main #map-container #map {
  width: 100%;
  height: 100%;
}
main #map-container #map > div {
  height: 100%;
}
main #map-container .controls {
  top: 5px;
  left: 15px;
  border: 1px solid #efefef;
  padding: 10px;
  background-color: #fff;
  position: absolute;
}
main #map-container .sharing {
  bottom: 0;
  left: 0;
  background-color: #fff;
  width: 400px;
  position: absolute;
  min-height: 105px;
}
main #map-container .sharing p {
  margin: 5px 0 0 0;
  text-align: center;
}
main nav {
  padding: 10px 20px;
  flex: 1;
  min-width: 400px;
  overflow-y: scroll;
  height: 100%;
  background-color: #ffffff;
  color: #111;
  margin: 0;
}
main nav a {
  color: #111;
}
main nav ul li {
  float: none;
}
main nav span {
  background-color: transparent;
  padding: 0;
}

footer {
  margin: 0;
  padding: 5px;
  height: 30px;
}

#detail {
  z-index: 100;
  width: 500px;
  position: absolute;
  padding: 0px;
  top: 10px;
  right: 10px;
  background-color: #fefefe;
  border: 1px solid #eee;
}
#detail > div {
  padding: 10px;
  position: relative;
}
#detail > div ul {
  margin: 5px;
}
#detail > div a.close {
  line-height: 10px;
  position: absolute;
  top: 5px;
  right: 5px;
}
#detail img {
  display: none;
}
#detail .list-group li {
  float: none;
  display: block;
}
#detail .list-group:after {
  clear: both;
}

#directory {
  display: none;
}

main nav h1 {
  margin: 0 0 5px 0;
  font-size: 50px;
}
main nav img {
  margin: 0;
}
main select {
  display: block;
}

select {
  display: block;
}
