body {
  overscroll-behavior-y: contain;
}

/* Area di disegno */
#drawArea {
  border: 1px solid #000;
  width: 100%;
  height: 100%;
  position: relative;
  background: url('/assets_b/images/griglia3.png') repeat;
}

#drawArea > #zoomControls {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

#drawArea.cursor-hand {
  cursor: move;
}

#drawArea svg circle {
  touch-action: manipulation;
}

#zoomValueBtn {
  width: 75px;
}

/* Helpers - Spaziature */
.mt-0 {
  margin-top: 0px;
}

.mt-1 {
  margin-top: 5px;
}

.mt-2 {
  margin-top: 10px;
}

.mb-1 {
  margin-bottom: 5px;
}

.mb-2 {
  margin-bottom: 10px;
}

.mt-3 {
  margin-top: 15px;
}

/* Overlay caricamento */
#loaderOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  color: #fff;
  display: none;
}

#loaderContainer {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
  .navbar-nav {
    float: right;
    margin: 0;
  }
}

.panel-title-clickable {
  display: block;
}

/* Gestione mobile */
#actionsContainer {
  background-color: #222d32;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 480px;
  height: calc(100vh);
  overflow-y: auto;
  z-index: 1000;
  padding: 20px;
}

#actionsContainer > .mobile-menu {
  position: fixed;
  bottom: 15px;
  left: 20px;
  width: 50px;
  z-index: 2000;
}

#mapContainer {
  min-height: 1px;
  width: 100%;
}

@media (min-width: 1300px) {
  #actionsContainer {
    background-color: transparent;
    display: block;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    width: 25%;
    position: initial;
    top: initial;
    left: initial;
    max-width: initial;
    height: initial;
    overflow-y: initial;
    padding: initial;
  }

  #mapContainer {
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    width: 75%;
  }
}

#drawArea > .mobile-menu {
  position: fixed;
  bottom: 15px;
  left: 20px;
  width: 50px;
  z-index: 2000;
}

.mobile-menu-button {
  width: 50px;
}

.hidden-mobile {
  display: none;
}

@media (min-width: 1300px) {
  .hidden-mobile {
    display: initial;
  }
}

@media (min-width: 1300px) {
  .visible-mobile {
    display: none;
  }
}

.panel-body.noscroll {
  min-height: calc(100vh - 120px);
  min-height: initial;
  overflow-y: auto;
}

@media (min-height: 800px) {
  .panel-body.noscroll {
    min-height: initial;
    max-height: calc(100vh - 450px);
    overflow-y: auto;
  }
}

.panel-body.minheight {
  min-height: 200px;
}

.accessori-dettaglio {
  margin-top: 10px;
}

.tipisupporto-container {
  display: flex;
  align-items: center;
}

.tipisupporto-image {
  display: inline-block;
  width: 48px;
  height: 48px;
  margin: 0 10px;
}