a,
button,
img {
  border: none;
  outline: none;
  text-decoration: none;
  background: none;
  color: inherit;
}
a,
button {
  cursor: pointer;
}
html {
  -webkit-text-size-adjust: 100%;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}
body {
  box-sizing: border-box;
}
body * {
  box-sizing: border-box;
  font-family: SF Pro Display;
}
body > :first-child {
  height: 100%;
}
body.has-top-bar {
}
body:not(.has-top-bar) {
}
/* body.has-top-bar > :first-child {
  height: calc(100% - 36px);
} */
#__next {
  height: 100%;
}
#topbar {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20000;
  width: 100%;
  height: 36px;
  background: #474d59;
}
#topbar-popup,
#topbar-panel {
  position: fixed !important;
}
[class^='icon-']:before,
[class*='icon-']:before {
  margin: 0;
}



@media screen and (max-width: 850px) ,
only screen and ( min-resolution: 200dpi) {
  
  #topbar,
  #topbar-panel {
    height: 0 !important;
    position: absolute !important;
  }
}
/* @media only screen
  and (min-device-width : 700px)
  and (max-device-width : 800px) {
    body.has-top-bar {
      padding-top: 36px;
    }
  } */

/* mapbox styles */
.mapboxgl-canvas-container {
  height: 100%;
}

.mapboxgl-popup-content {
  padding: 20px ;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.14), 0 3px 10px 0 rgba(0, 0, 0, 0.07);
}
.mapboxgl-popup-close-button {
  display: none;
}

.mapboxgl-popup.user-marker-popup {
  max-width: 100% !important;
}

.mapboxgl-popup.reverseBuildAddr {
  max-width: 100% !important;
}
.mapboxgl-popup.reverseBuildAddr .mapboxgl-popup-tip {
  display: none !important;
}

.mapboxgl-popup.reverseBuildAddr .mapboxgl-popup-content {
  padding: 0;
}

.mapboxgl-popup-tip {
  position: relative;
  border: 7px solid transparent !important;
}
.mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
  border-bottom-color: #fff !important;
}
.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
  border-top-color: #fff !important;
}
.mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
  border-right-color: #fff !important;
}
.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
  border-left-color: #fff !important;
}
.mapboxgl-popup-tip:after {
  content: '';
}

/* react hint css */
.react-hint {
  padding: 5px;
  position: absolute;
  z-index: 999999;
  cursor: default;
  animation: 0.5s fadeIn;
}

@media screen and (max-width: 1024px){
  .react-hint{
    display: none;
  }
}

.react-hint__content {
  background: #fff;
  padding: 5px 12px;
  height: 24px;
  border-radius: 14px;
  background-color: #ffffff;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.18);
  color: #000000;
  font-family: SF Pro Display;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}
.mapboxgl-control-container {
  display: none !important;
}
