/* Base modifiers
-------------------------------------------------- */

.medium-graphic {
  height: 120px;
  width: 120px;
}

.dark .scroll-styled::-webkit-scrollbar  { width: 5px;}
.dark .scroll-styled::-moz-scrollbar     { width: 5px;}
.dark .scroll-styled::scrollbar          { width: 5px;}

.fill-black { background-color: #000;}

/* Hero
-------------------------------------------------- */

.cover {
  background: url(cover.jpg) 50% no-repeat;
  background-size: cover;
  min-height: 600px;
}

.cover-overlay {
  background: url(cover-overlay.png) 50% no-repeat;
  background-size: cover;
  min-height: 600px;
}

.cover-content {
  top: 45%;
  -webkit-transform:translateY(-50%);
     -moz-transform:translateY(-50%);
      -ms-transform:translateY(-50%);
          transform:translateY(-50%);
}

@media only screen and (max-width:640px) {
}

/* Maps
-------------------------------------------------- */

.leaflet-container {
  background: #333;
}

.map-container .leaflet-control-zoom.leaflet-control {
  margin: 0;
  top: 10px;
  left: 10px;
  height: 30px;
  border: 0;
  background-color: rgba(0,0,0,.5);
}

.zoomlevel {
  top: 10px;
  left: 70px;
}

.map-container .leaflet-control-zoom.leaflet-control a {
  border:0;
  float: left;
  height: 30px;
}
.map-container .leaflet-control-zoom.leaflet-control a:hover { background-color: rgba(0,0,0,.9);}

.leaflet-bar .leaflet-control-zoom-out { background-position: 0 -24px;}
.leaflet-bar .leaflet-control-zoom-in { background-position: 0 2px;}

.map1 { border-bottom: 1px solid black;}
.map3 { border-left: 1px solid black;}

.xray-listing:hover {
  cursor: pointer;
  opacity: .75;
}
.xray-listing:hover:after {
  border: 1px solid white;
  padding: 5px;
  border-radius: 3px;
  max-width: 50%;
  content: attr(tooltip);
  display: block;
  max-height: 200px;
  height: auto;
  background-color: black;
  overflow: auto;
  white-space: normal;
  position: absolute;
  text-align: left;
  margin-top: 10px;
  color: white;
}

.xray-listing:last-child { margin-bottom: 0;}

.xray-details { padding-left: 30px;}

@media only screen and (min-width:1200px) {
  [class*='map-overlay'] { width: 400px;}
  .map-left { right: 400px; margin: 0; left: 33.3333%; width: auto;}
  .map-right { left: 400px; margin: 0; right: 33.3333%; width: auto;}
}

@media only screen and (max-width:640px) {
  .map-overlay { height: auto; position: relative;}
  .map { position: relative; height: 300px;}
}

/* Features
-------------------------------------------------- */

.data-content { padding-left: 140px;}
.data-feature { min-height: 140px;}
.data-feature .medium-graphic { position: absolute;}

[class*='graphic-'] {
  background: url(data-sprite.png) 0 0 no-repeat;
  background-size: 560px 560px;
}

.graphic-1 { background-position: 0      0; }
.graphic-2 { background-position: -200px 0; }
.graphic-3 { background-position: -400px 0; }

.graphic-7 { background-position: 0      -200px; }
.graphic-8 { background-position: -200px -200px; }
.graphic-9 { background-position: -400px -200px; }

.graphic-4 { background-position: 0      -400px; }
.graphic-5 { background-position: -200px -400px; }
.graphic-6 { background-position: -400px -400px; }


/* Satellite
-------------------------------------------------- */

[class*='satellite-images-'] {
  height: 0;
  padding-bottom: 100%;
}

.satellite-images-1 {
  background: url(satellite1.jpg) 0 0 no-repeat;
  background-size: contain;
}

.satellite-images-2 {
  background: url(satellite2.jpg) 0 0 no-repeat;
  background-size: contain;
}

@media only screen and (max-width:640px) {
  .satellite-images .map-overlay-left { top: 20px;}
  [class*='satellite-images-'] { padding-bottom: 200%;}
}


/* Own Data
-------------------------------------------------- */

.own-data {
  background: url(own-data@2x.png) 0 100% no-repeat;
  background-size: 100% auto;
  padding-bottom: 32%;
  height: 0;
}


/* More than tiles
-------------------------------------------------- */

.data-api {
  background: url(data-api@2x.png) 0 100% no-repeat;
  background-size: 100% auto;
  padding-bottom: 32%;
  height: 0;
}

@media only screen and (max-width:640px) {
  .own-data, .data-api  {
    padding-bottom: 85%;
  }
}
