@font-face {
  font-family: "Rawline Regular";
  font-style: normal;
  font-weight: normal;
  src: local("Rawline Regular"), url("./data/rawline-400.woff") format("woff");
}

.mapboxgl-popup {
  border: solid 1px rgba(114, 114, 114, 0.116);
  border-radius: 25px;
  margin-bottom: 5px;
  -webkit-box-shadow: 2px -2px 22px 6px rgba(0, 0, 0, 0.096);
  -moz-box-shadow: 2px -2px 22px 6px rgba(0, 0, 0, 0.123);
  box-shadow: 2px -2px 22px 6px rgba(0, 0, 0, 0.116);
}

#menu2 {
  display: block;
  position: fixed;
  padding: 5px;
  z-index: 1;
  left: 10px;
  top: 10px;
  border-radius: 5px;
  width: auto !important;
  font-family: "Rawline Regular";
  background: #fff;
  border: 1px solid rgba(144, 144, 144, 0.731);
  opacity: 0.9;
  border: solid 1.5px rgba(114, 114, 114, 0.397);
  color: rgb(0, 0, 0);
  -webkit-box-shadow: 10px 5px 37px -14px rgba(0, 0, 0, 0.301);
  -moz-box-shadow: 10px 5px 37px -14px rgba(0, 0, 0, 0.281);
  box-shadow: 10px 5px 37px -14px rgba(0, 0, 0, 0.322);
}

/* Layers Control ---------------- */
#menu2 a {
  display: block;
  font-size: 12px;
  color: #404040;
  border-radius: 5px;
  padding: 5px 10px;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 2px 0px;
  z-index: 100 !important;
}

#menu2 a:last-child {
  border: none;
}

#menu2 a:hover {
  background-color: #f8f8f8;
  color: #1c1a49d4;
}

#menu2 a.active {
  background-color: #1c1a49;
  color: #ffffff;
}

#menu2 a.active:hover {
  background: #1e1c45dc;
}

.mapboxgl-popup-content {
  font-family: Rawline Regular, sans-serif !important;
  position: relative;
  min-width: 190px;
  width: auto;
  height: auto;
  background-color: #ffffff;
  text-decoration: none;
  padding: 6px 8px;
  padding-top: 8px;
  border-radius: 25px;
  z-index: 1;
  justify-content: center;
  text-align: center;
  outline: none;
}

.mapboxgl-popup-content h1 {
  display: block;
  font-family: Rawline Regular, sans-serif !important;
  display: block;
  letter-spacing: 0.56px !important;
  text-align: center;
  justify-content: center;
  margin: auto;
  font-size: 0.8rem;
  padding: 0% !important;
  text-decoration: none;
  user-select: none;
  padding: 0px 0px;
  outline: none;
}

.mapboxgl-popup-content a {
  font-weight: 300;
  color: rgb(27, 27, 27);
  outline: none !important;
}

.mapboxgl-popup-content b {
  margin-top: 5px;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgb(27, 27, 27);
  outline: none;
}

.mapboxgl-container {
  cursor: pointer;
}

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip {
  display: none !important;
}
.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip {
  display: none !important;
}
.mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
  display: none !important;
}
.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
  display: none !important;
}

.mapboxgl-popup-content img {
  position: relative;
  float: right;
  width: 25px;
  height: 25px;
  margin-left: 8px;
  margin-right: 0;
  border-radius: 50%;
  border-style: solid;
  border-width: 0.4px;
  border-color: rgb(168, 165, 165);
  border-radius: 50%;
  outline: none !important;
  cursor: pointer;
  background-repeat: no-repeat;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

.mapboxgl-popup-content img:hover {
  background-color: #ededed;
}

.bottomSliderContainer {
  display: flex;
  position: fixed;
  bottom: -100%;
  font-family: Rawline Regular, sans-serif !important;
  background-color: #fff;
  text-decoration: none;
  border-radius: 15px 17px 0 0 !important;
  color: #000;
  z-index: -1;
  width: 100% !important;
  height: auto;
  padding: 15px 0 15px 0;
  margin: auto;
  justify-content: center;
  text-align: center;
  transform: translateY(-100%);
  transition: all 0.45s ease;
  -webkit-box-shadow: 0px -5px 18px rgba(114, 114, 114, 0.15);
  box-shadow: 0px -5px 18px rgba(114, 114, 114, 0.15);
  border: solid 2px rgba(114, 114, 114, 0.25);
}

.Up {
  transform: translateY(5%);
  z-index: 5;
  bottom: 0;
}

.sliderContent {
  text-align: center;
  justify-content: center;
  font-weight: 550;
  font-size: 1rem;
  color: rgb(27, 27, 27);
  letter-spacing: 0.86px !important;
  margin: 2px 2px -1% 2px;
  font-size: 1rem;
  padding: 0% !important;
  text-decoration: none;
  user-select: none;
  padding: 0px;
  z-index: 5;
}

.sliderContent img {
  position: relative;
  width: 28px;
  height: 28px;
  float: right;
  margin-left: 10px;
  border-style: solid;
  border-width: 0.4px;
  border-color: rgb(168, 165, 165);
  border-radius: 50%;
  cursor: pointer;
  background-repeat: no-repeat;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

.sliderContent img:hover {
  background-color: #ededed;
}

.closeIcon {
  position: fixed;
  left: calc(50% - 28px);
  top: 5px;
  width: 28px;
  height: 5.2px;
  cursor: pointer;
  margin: auto;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

.resetbutton {
  display: block;
  position: fixed;
  cursor: pointer;
  left: 50%;
  top: 1%;
  transform: translate(-50%, -50%);
  margin-top: 18px;
  border-radius: 40px;
  -webkit-box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 15px 25px 0 rgba(0, 0, 0, 0.1);
  border: solid 2px rgba(117, 117, 117, 0.1);
  background-color: #fff;
  color: #000;
  text-decoration: none;
  font: 560 0.7rem/1.27778 SourceSansPro-Semibold, Arial, sans-serif !important;
  letter-spacing: 0.56px !important;
  padding: 5px 10px;
  z-index: 5;
  float: left;
  color: #4a4e4e;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}

.resetbutton:hover {
  background-color: #f5f5f5;
  transition: all 0.3s ease;
}

#loader {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: auto;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #1c1a49;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.basemaps-container {
  display: flex;
  flex-direction: column;
  height: auto;
  position: absolute;
  background: white;
  padding: 5px;
  border-radius: 50%;
  border: 0px solid #5656569a;
  z-index: 1;
  top: 8px;
  right: 8px;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  box-shadow: -1px 1px 20px 2px rgba(0, 0, 0, 0.181);
  transition: all 0.2s ease-in-out;
}

.basemaps-container:hover {
  border-radius: 15px;
}

.basemaps-icons {
  display: none;
  flex-direction: column;
}

.basemaps-container:hover .basemaps-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.basemaps-container:hover .multi-layer-icon {
  display: none !important;
}

.multi-layer-icon {
  width: 25px;
  height: auto;
  padding: 0px;
  margin: 2px;
  cursor: pointer;
}

.basemap-icon {
  width: 35px;
  height: auto;
  padding: 0px;
  margin-top: 5px;
  cursor: pointer;
  border-radius: 25%;
  border: none;
}

.basemap-icon.selected {
  border: 2.5px solid #15a5e5;
}

/* CLASESS FOR THE MOBILE SCREEN ----------------------------------------------------------------------------------   */

@media screen and (max-width: 762px) {
  a.mapboxgl-ctrl-logo {
    display: none !important;
  }

  .mapboxgl-ctrl-bottom-left .mapboxgl-ctrl {
    display: none !important;
  }

  .basemaps-container {
    border-radius: 15px;
    bottom: auto;
    top: 1%;
  }

  .basemaps-icons {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .multi-layer-icon {
    display: none !important;
  }

  #menu2 {
    padding: 2.5px;
    left: 10px;
    top: 10px;
    border-radius: 5px;
  }

  /* Layers Control ---------------- */
  #menu2 a {
    font-size: 11px;
    margin: 2px 0px;
  }
}
