body { height: 100vh;
  width: 100vw;
  /*overflow: hidden;*/
  padding: 0;
  margin: 0;
  display: flex;
}
@media (orientation: landscape) { body { flex-direction: row; } }
@media (orientation: portrait) { body { flex-direction: column; } }
nav {
  position: relative;
  left: 0; right: 0; top: 0; bottom: 0; width: auto; z-index: auto;
  max-width: min-content;
  max-height: min-content;
  border: 2px solid black;
  border-radius: 4px;
  padding: 0;
  color: black;
  background-color:rgba(255, 255,255, 0.5);
  opacity: 1.0;
  flex-grow: 0;
  flex-basis: 60px;
  font-size: 1em;
}
@media (hover: none) {
    nav { touch-action: pan-x pan-y; }
}
@media (orientation: landscape) {
  nav {
    flex-direction: column;
  }
}
@media (orientation: portrait) {
  nav {
    flex-direction: row;
  }
}
nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center; /*space-between;*/
  align-items: flex-start;
  align-content:center;
  margin: 0;
  padding: 0.25em;
  list-style: none;
}
nav>ul>li { /* for menu items that don't have sub menu items */
  position: relative;
  white-space: normal; /* i.e., not nowrap */
  padding: 1px;
  margin: 1px;
}
@media (orientation: landscape) { nav ul { flex-direction: column; } }
@media (orientation: portrait) { nav ul { flex-direction: row; } }

main {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  padding: 0;
  overflow: hidden ; /* hidden, debug with scroll... */
}
@media (hover: none) {
    main { overflow: scroll; touch-action: pan-x pan-y; }
    .no-phone { display: none; }
}
svg.map {
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  border: 0;
  padding: 0;
  overflow: visible;
  user-select: none;
  background-color: none;
}
svg.svg-fit {
  height: 100%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  position: relative;
}

h1.full, h2.full h3.full, p.full { display: block }
span.full { display: inline; } /* big screens */
.abbr { display: none;   }
@media screen and (max-width:750px){ /* small screens */
  .full { display: none; }
  .abbr { display: initial; }
}

 /* ----- magnifying glass ----- */
.img-magnifier-container {
  position:relative;
  width: 100%;
}
.magnifying-glass {
  position: absolute;
  border: 3px solid #a02c3f;
  border-radius: 20px;
  /*cursor: none; */
  /*Set the size of the magnifier glass:*/
  width: 50vw;
  height: 50vh;
}
.glass {
  opacity: 95%;
  background-color: LightGrey;
}

:root {
  --magnifier-display: inline;
}
@media (hover: none) and (pointer: coarse) { /* no mouse */
  :root {
    --magnifier-display: none;
  }
}
@media screen and (max-width:750px) { /* smartphones, touchscreens */
  :root {
    --magnifier-display: none;
  }
}

.magnifier-display { display: var(--magnifier-display); }

.phone-size { width: 44px; height: 44px; font-size: 30px; padding: 1px; }
.phone-height { height: 44px; }
.disable { background-color: grey; opacity: 0.6; }

.cursor-scroll { cursor: all-scroll !important; }
.cursor-pointer { cursor: pointer; }
.cursor-zoom-in { cursor: zoom-in; }
.cursor-default { cursor: default; }

.tooltip {
  position: absolute;
  padding: 3px;
  text-align: center;
  color: black;
  background-color: white;
  border-color: black;
  border-width: 3px;
  border-radius: 5px;
  opacity: 0.9;
}

@keyframes animate-modal {
  from { opacity:0}
  to { opacity:1}
  from {transform: scale(.0);}
  to {transform: scale(1);}
}

.modal-background {
  display: block; /* noneHidden by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

.container { /* The expanding image container */
  position: relative;
  max-width: max-content;
  margin: auto;
  animation-name: animate-modal;
  animation-duration: .3s;
}

.closebtn {/* Closable button inside the expanded image */
  position: absolute;
  top: -1.5em;
  right: 0.5em;
  color: black;
  background-color: white;
  opacity: 60%;
  font-size: 2em;
  cursor: pointer;
}
.closebtn:hover,
.closebtn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
  opacity: 100%;
}
