* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  height: 100%;
}
html,
body {
  overflow: hidden;
  min-height: 100%;
}

#map {
  height: 100vh;
  width: 100vw;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  padding: 30px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s linear 0.1s, opacity 0.3s ease;
}

.modal.open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 21;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  outline: none;
  background: none;
  font-size: 24px;
  color: #747474;
  font-weight: bold;
}

.modal.modal__close:hover {
  color: #000;
}

.modal__container {
  position: relative;
  z-index: 22;
  width: 400px;
  height: 200px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px #fff;
  margin: 0 auto;
  padding: 30px;
  background-color: #fff;
  text-align: center;
}
.material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 48;
}

.icon-wrapper .box {
  font-size: 33px;
  color: #008cff;
  background: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #333;
  border-radius: 100%;
}

.main-layer {
  position: fixed;
  z-index: 999;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;
  align-items: stretch;
  width: 75px;
}

.main-layer .layer-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75px;
  width: 75px;
  background-color: #fff;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 600;
  border: 2px solid #fff;
  border-radius: 10px;
  transition: 0.5s;
  cursor: pointer;
  margin: 5px 0 0 0;
}
.main-layer .layer-item.active {
  border: 5px solid #20a6ff;
}
.main-layer .layer-item.active.k1 {
  border: 5px solid #4b56d2;
}
.main-layer .layer-item.active.k2 {
  border: 5px solid #fb2576;
}
.main-layer .layer-item.active.k3 {
  border: 5px solid #ff7000;
}
.main-layer .layer-item.active.k4 {
  border: 5px solid #ffcaca;
}
.main-layer .layer-item.active.k5 {
  border: 5px solid #59ce8f;
}

.leaflet-control-container .leaflet-routing-container-hide {
  display: none;
}

body.loading {
  overflow: hidden;
}
.loader-wrapper {
  width: 100vw;
  height: 100vh;
  position: fixed;
  background: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-wrapper.hide {
  display: none;
}
.loader-wrapper.hide .loader {
  display: none;
}
.loader {
  border: 10px solid #f3f3f3;
  border-radius: 50%;
  border-top: 10px solid #3498db;
  width: 75px;
  height: 75px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
