/* Variables =================================================== */
/* Mixins =================================================== */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
/* Absolute Center Spinner */
#loading {
  display: none;
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
#loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
#loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
#loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 2500ms infinite linear;
  -moz-animation: spinner 2500ms infinite linear;
  -ms-animation: spinner 2500ms infinite linear;
  -o-animation: spinner 2500ms infinite linear;
  animation: spinner 2500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.5) -1.5em 0 0 0, rgba(255, 255, 255, 0.5) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}
#help_icon {
  height: 67px;
  margin: 0;
  position: fixed;
  right: 134px;
  top: 0;
  width: 67px;
  z-index: 999;
}
@media only screen and (max-width: 767px) {
  #help_icon {
    height: 40px !important;
  }
  #help_icon a {
    margin: 8px 21px !important;
  }
}
#help_icon a {
  overflow: hidden;
  text-indent: -999999px;
  white-space: nowrap;
  background: url(../img/help-icon.png) no-repeat center center;
  cursor: pointer;
  display: block;
  height: 25px;
  margin: 21px;
  width: 25px;
}
#help_icon a:hover,
#help_icon a:focus,
#help_icon a:active {
  background: url(../img/help-icon-dark.png) no-repeat center center;
}
#splashscreen {
  display: none;
  position: fixed;
  color: #ffffff;
  top: 3%;
  bottom: 3%;
  left: 50%;
  right: 50%;
  margin: 0 -145px;
  width: 290px;
  z-index: 10000;
}
@media (min-height: 768px) {
  #splashscreen {
    top: 7px;
  }
}
@media (min-width: 768px) {
  #splashscreen {
    top: 14%;
    bottom: 12%;
    margin: 0 -175px;
    width: 350px;
  }
}
#splashscreen .container {
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}
#splashscreen .container .header {
  background: #1f1f1f;
  padding: 18px 22px;
  position: relative;
  border-bottom: 1px solid #808080;
}
@media (min-width: 768px) {
  #splashscreen .container .header {
    padding: 18px 30px;
  }
}
#splashscreen .container .header h4 {
  font-size: 19px;
  font-size: 1.9rem;
  text-transform: uppercase;
  margin: 0;
}
@media (min-width: 768px) {
  #splashscreen .container .header h4 {
    font-size: 23px;
    font-size: 2.3rem;
  }
}
#splashscreen .container .close {
  cursor: pointer;
  position: absolute;
  top: 14px;
  right: 15px;
  background: #1f1f1f;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 0;
  font-weight: normal;
  font-size: 13px;
  line-height: 26px;
  height: 28px;
  width: 28px;
  text-align: center;
  -webkit-border-radius: 14px 14px 14px 14px;
  -moz-border-radius: 14px 14px 14px 14px;
  border-radius: 14px 14px 14px 14px;
}
@media (min-width: 768px) {
  #splashscreen .container .close {
    top: 18px;
    right: 20px;
  }
}
#splashscreen .container .close:focus {
  outline: none !important;
}
#splashscreen .container .close:hover {
  -webkit-transform: scale(1.065);
  -moz-transform: scale(1.065);
  -ms-transform: scale(1.065);
  -o-transform: scale(1.065);
  transform: scale(1.065);
}
#splashscreen .container .inner {
  background: #1f1f1f;
  padding: 20px 22px 1px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 82%;
}
@media (min-width: 768px) {
  #splashscreen .container .inner {
    padding: 26px 30px 1px;
  }
}
#splashscreen .container .inner .cf {
  *zoom: 1;
  position: relative;
  padding-left: 62px;
  margin-bottom: 25px;
}
#splashscreen .container .inner .cf:before,
#splashscreen .container .inner .cf:after {
  display: table;
  content: "";
}
#splashscreen .container .inner .cf:after {
  clear: both;
}
@media (min-width: 768px) {
  #splashscreen .container .inner .cf {
    padding-left: 78px;
    margin-bottom: 28px;
  }
}
#splashscreen .container .inner img {
  position: absolute;
  left: 0;
  height: auto;
  width: 40px;
}
@media (min-width: 768px) {
  #splashscreen .container .inner img {
    width: 48px;
  }
}
#splashscreen .container .inner h5 {
  line-height: 1.3em;
  margin: 0 0 5px 0 !important;
  text-transform: uppercase;
}
#splashscreen .container .inner p {
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.3em;
  margin: 0;
}
#content {
  height: 100%;
  position: fixed;
  width: 100%;
}
#content #map {
  height: 100%;
  width: 100%;
  z-index: 4;
}
#content #map .leaflet-popup-content-wrapper {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content {
  margin: 0;
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup {
  *zoom: 1;
  display: block;
  min-height: 49px;
  position: relative;
  text-decoration: none;
  width: 186px;
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup:before,
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup:after {
  display: table;
  content: "";
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup:after {
  clear: both;
}
@media (min-width: 768px) {
  #content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup {
    width: 230px;
  }
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup.haspic {
  width: 280px;
}
@media (min-width: 768px) {
  #content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup.haspic {
    width: 230px;
  }
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content {
  padding: 7px 7px 10px 7px;
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content h4 {
  font-size: 18px;
  font-size: 1.8rem;
  margin: 0 0 5px 0;
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content h4 small {
  color: #bfbfbf;
  margin-left: 7px;
}
@media only screen and (max-width: 767px) {
  #content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content h4 {
    font-size: 15px !important;
    font-size: 1.5rem !important;
  }
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content .building_code {
  color: #bfbfbf;
  font-size: 13px;
  font-size: 1.3rem;
  margin: 0;
}
@media only screen and (max-width: 767px) {
  #content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content .building_code {
    font-size: 12px !important;
    font-size: 1.2rem !important;
  }
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content a {
  margin-top: 15px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-decoration: none;
  background: #404040;
  color: #ffffff !important;
  padding: 0.35em 10px;
  font-size: 14px;
  font-size: 1.4rem;
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content a:hover,
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content a:active,
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content a:focus {
  background: #1f1f1f !important;
  color: #ffffff !important;
}
@media only screen and (max-width: 767px) {
  #content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content a {
    margin-top: 10px !important;
    font-size: 12px;
    font-size: 1.2rem;
  }
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content a:first-of-type {
  margin-right: 7px;
}
@media only screen and (max-width: 767px) {
  #content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content img {
    float: left;
    margin-right: 14px;
    margin-bottom: 7px;
  }
}
@media (min-width: 768px) {
  #content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.popup-content img {
    display: block;
    margin-bottom: 15px;
  }
}
#content #map .leaflet-popup-content-wrapper .leaflet-popup-content div.popup div.favourite {
  position: absolute;
  top: -1px;
  left: -32px;
  width: 34px;
  height: 34x;
  padding: 7px 0 7px 7px;
  background-color: #fff;
  -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;
  box-shadow: -6px 1px 14px -2px rgba(0, 0, 0, 0.3);
}
#content .leaflet-popup-close-button {
  display: none !important;
}
#content .leaflet-control-container .leaflet-control {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
  border: none;
}
#content .leaflet-control-container .leaflet-control.reset-map {
  position: absolute;
  top: 0;
  left: 43px;
}
@media only screen and (max-width: 767px) {
  #content .leaflet-control-container .leaflet-control.reset-map {
    left: 50px;
  }
}
#content .leaflet-control-container .leaflet-control.reset-map a {
  width: 80px !important;
  height: 36px !important;
  line-height: 36px;
}
#content .leaflet-control-container .leaflet-control.leaflet-bar a:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
#content .leaflet-control-container .leaflet-control.leaflet-bar a:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
#content .leaflet-control-container .leaflet-control .leaflet-bar-part-single,
#content .leaflet-control-container .leaflet-control .leaflet-control-layers-toggle {
  height: 36px !important;
  width: 36px !important;
}
#content .leaflet-control-container .leaflet-control a.leaflet-control-zoom-in,
#content .leaflet-control-container .leaflet-control a.leaflet-control-zoom-out {
  padding: 0 11px;
  line-height: 36px;
  width: 36px;
  height: 36px;
}
#content .leaflet-control-container .leaflet-control .leaflet-disabled {
  cursor: not-allowed;
  color: #bfbfbf !important;
}
#content .leaflet-control-container .leaflet-control form.leaflet-control-layers-list {
  margin-bottom: 0;
}
#content .leaflet-control-container .leaflet-control form.leaflet-control-layers-list .leaflet-control-layers-overlays input {
  display: inline-block;
}
#content .leaflet-control-container .leaflet-control form.leaflet-control-layers-list .leaflet-control-layers-overlays label {
  padding: 3px;
  font-size: 12px;
  font-size: 1.2rem;
}
#content .leaflet-control-container .leaflet-control form.leaflet-control-layers-list .leaflet-control-layers-overlays label:nth-child(2) {
  border-bottom: 1px dotted #bfbfbf;
  margin-bottom: 7px;
}
#content .leaflet-control-container .leaflet-control form.leaflet-control-layers-list .leaflet-control-layers-overlays label span {
  padding-left: 5px;
}
#content .leaflet-control-locate.requesting a span {
  color: #cc0066;
}
#content .leaflet-control-locate.active a {
  background-color: #cc0066;
  color: #fff;
}
#content .leaflet-control-locate.active a span {
  color: #fff;
}
#content .leaflet-control-locate span {
  font-size: 12px !important;
  line-height: 36px;
}
#favourites ul,
#show_relative_to ul {
  list-style-type: none;
}
#favourites ul li a span.img,
#show_relative_to ul li a span.img {
  display: inline-block;
  width: 16px;
  text-align: center;
  margin-right: 5px;
}
#favourites ul li a span.img img,
#show_relative_to ul li a span.img img {
  margin: 0 auto !important;
  max-width: 16px;
}
#start-following {
  display: none;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 100;
}
#start-following a {
  display: block;
  padding: 8px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
  font-size: 12px;
  font-size: 1.2rem;
}
/* Animation */
@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
