@import '../../node_modules/@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css';

body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
}

.baseMapCtrl {
  width: 30px;
}

.img-thumb {
  display: inline-block;
  background-position: center;
  background-size: cover;
  width: 100%;
}

.navControl {
  width: 30px;
}

/* map controls */

.data-ctrl-group {
  pointer-events: all;
  display: flex;
  flex-direction: column;
}

.data-ctrl-icon {
  transition: 0.2s;
  width: 80px;
  height: 80px;
  border-color: transparent;
  border-bottom: 1px solid #afafaf;
  border-right: 1px solid #afafaf;
}

.data-ctrl-icon:hover {
  cursor: pointer;
  opacity: 0.5;
}

.mapboxgl-ctrl-top-right > .mapboxgl-ctrl-geocoder.mapboxgl-ctrl {
  margin-right: 60px;
}

.mapboxgl-ctrl-group > .mapboxgl-ctrl-basemap {
}

.mapboxgl-ctrl-group > .mapboxgl-ctrl-reset {
  width: 120px;
}

.mapboxgl-ctrl-group > .mapboxgl-ctrl-geolocation {
  width: 120px;
}

.mapbox-customControl {
  /*width: 120px;*/
}

.control-panel {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 320px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  padding: 12px 24px;
  margin: 20px;
  font-size: 13px;
  line-height: 2;
  color: #6b6b76;
  outline: none;
  text-transform: uppercase;
}

label {
  display: inline-block;
  width: 100px;
}

input {
  margin-left: 20px;
  width: 160px;
}

.tooltip {
  position: absolute;
  margin: 8px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  max-width: 300px;
  font-size: 10px;
  z-index: 9;
  pointer-events: none;
}
