html {
  min-height: 100%;
}
body {
  height: 100vh;
}
textarea {
  resize: none;
  overflow: hidden;
  min-height: 350px;
}
.portal-navbar--hidden {
  display: none;
}
.portal-navbar::after {
  position: absolute;
  content: ' ';
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(to right, transparent, white);
}
.portal-navbar-rail {
  width: 1000px;
  height: 42px;
  overflow: scroll;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.portal-navbar-rail::-webkit-scrollbar {
  display: none;
}
.btn-portal {
  margin: 0 .3rem !important;
  min-height: 2.6rem;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}
.nomap,
.leafletmap-container {
  padding-top: 54px;
}
.nomap,
.leafletmap {
  width: 100%;
  height: calc(100vh - 54px);
}
.leafletmap-container.leafletmap-container--hidden {
  height: 100vh;
  padding-top: 0;
}
.leaflet-container--hidden {
  height: 100vh;
}
.nomap {
  background: url('/static/nomap.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .2;
}
.leaflet-interactive:focus {
  outline: none;
}
.portal-map-label {
  background: #fff;
  border: 2px solid rgba(255, 0, 184, 1);
  border-radius: 4px;
  box-shadow: none;
  margin-top: -1rem;
}
.hexagon {
  background-color: rgba(255, 0, 184, 1);
  width: 70px;
  height: calc(70px * 1.15);
  background-size: cover;
  clip-path: polygon(
    50% 0%,
    100% 25%,
    100% 75%,
    50% 100%,
    0% 75%,
    0% 25%
  );
  position: relative;
  overflow: visible;
  transition: all 0.6s;
  transform-style: preserve-3d;
}
.hexagon:hover {
  transition: all 0.6s;
  transform-style: preserve-3d;
  transform: rotate(120deg);
}
.hexagon:hover .hexagon__inner {
  transition: all 0.6s;
  transform-style: preserve-3d;
  transform: rotate(-120deg);
}
.hexagon.hexagon--active {
  background-color: rgba(255, 0, 184, 1) !important;
}
.hexagon-marker:has(.hexagon.hexagon--active) {
  z-index: 2000 !important;
}
.hexagon.hexagon--inactive {
  background-color: grey !important;
}
.hexagon__title {
  width: 100%;
  height: 2rem;
  margin-top: 20px;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hexagon__title--h100 {
  margin-top: 0;
  height: 100%;
}
.hexagon__title_in {
  max-width: 75%;
  line-height: 1.1em;
  max-height: 2.2em;
}
.hexagon__title--h100 .hexagon__title_in {
  max-width: 90%;
  max-height: none;
  font-size: 10px;
}
.hexagon__inner {
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  background-color: white;
  clip-path: polygon(
    50% 0%,
    100% 25%,
    100% 75%,
    50% 100%,
    0% 75%,
    0% 25%
  );
  z-index: -1;
  position: absolute;
  top: 2.75px;
  left: 3px;
  background-repeat: no-repeat;
  background-position: center bottom 8px;
  transition: all 0.6s;
  transform-style: preserve-3d;
}
.hexagon--lg {
  width: 146px;
  height: calc(146px * 1.15);
}
.hexagon_btn {
  background-color: #FFE800;
  width: 39px;
  height: calc(39px * 1.1);
  clip-path: polygon(
    50% 0%,
    100% 25%,
    100% 75%,
    50% 100%,
    0% 75%,
    0% 25%
  );
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.hexagon_btn:nth-child(1) { background-color: #FF00B8; }
.hexagon_btn:nth-child(2) { background-color: #FF3A73; }
.hexagon_btn:nth-child(3) { background-color: #FF5C4C; }
.hexagon_btn:nth-child(4) { background-color: #FF7E25; }
.hexagon_btn:nth-child(5) { background-color: #FF9900; }
.hexagon_btn:nth-child(6) { background-color: #FFAD00; }
.hexagon_btn:nth-child(7) { background-color: #FFC100; }
.hexagon_btn:nth-child(8) { background-color: #FFD500; }
.hexagon_btn:nth-child(9) { background-color: #FFE800; }
.hexagon_btn + .hexagon_btn {
  margin-left: 1px;
}
.hexagon_btn__icon {
  display: inline-block;
  color: #000;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background-color: white;
  clip-path: polygon(
    50% 0%,
    100% 25%,
    100% 75%,
    50% 100%,
    0% 75%,
    0% 25%
  );
  top: 1.75px;
  left: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s;
  transform-style: preserve-3d;
}
.hexagon_btn .hexagon_btn__icon .fa-fw {
  transition: all 0.6s;
}
.hexagon_btn:hover {
  transition: transform 0.6s;
}
.hexagon_btn:hover .hexagon_btn__bg {
  background-color: #FF00B8 !important;
}
.hexagon_btn:hover .hexagon_btn__icon {
  background-color: #000;
  color: #fff !important;
  transition: all 0.6s;
  transform-style: preserve-3d;
  transform: rotateY(180deg);
}
.hexagon_btn:hover .hexagon_btn__icon .fa-fw {
  transition: transform 0.6s;
  transform-style: preserve-3d;
  transform: rotateY(-180deg);
}
/* Leaflet.draw CSS legyen betöltve! */
/* Re-using a polyline ikon a spritesheetből */
.leaflet-draw-toolbar a.leaflet-draw-draw-simpleline {
  background-image: url("https://unpkg.com/leaflet-draw@1.0.4/dist/images/spritesheet.svg");
  background-repeat: no-repeat;
  /* polyline ikon pozíció (verziófüggő lehet) */
  background-position: -2px -2px;
  background-color: #bada55;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
