body {
  padding: 0;
  margin: 0;

  font-family: sans-serif;
}

#map {
  height: 100vh;
  padding: 0;
  margin: 0;
}

#map.cursor-spawn-balloon {
  cursor: url("balloon_cursor.png") 20 36, crosshair;
}

/* the top side widget as title */

div#top-bar {
  min-height: 5em;
  min-width: 40vw;
  max-width: 75vw;
  position: fixed;
  left: 50%;
  transform: translate(-50%, 0);
  top: 0;

  background-color: #ffffe0ff;
  z-index: 9998;

  text-align: center;

  display: flex;
  font-family: 'Poppins', sans-serif;

  border: 1px solid darkgray;
  border-radius: 0 0 3em 3em;
}
div#top-bar #top-mid {
  flex: 5;
}
div#top-bar #top-left, div#top-bar #top-right {
  flex: 1;
  text-align: center;
}
div#top-bar h1, div#top-bar h3, div#top-bar h4 {
  font-weight: normal;
  margin: 0.06em;
}
div#top-bar h1 {
  font-size: 2.08em;
}
div#top-bar h3 {
  font-size: 1.10em;
}

img.top-bar-ballon {
  width: 4em;
  height: 4em;
  margin: 0.5em;
}

@keyframes top-bar-ballon-anim {
  0%   {top: 1em;}
  100% {top: 0em;}
}




div#right-bar {
  height: 80vh;
  width: 4em;
  position: fixed;
  right: 0;
  top: 10vh;
  z-index: 9998;
  background-color: white;
  border-radius: 1em 0 0 1em;
  border: 1px solid gray;
  display: flex;
  flex-direction: column;
}

div#right-bar button {
  border:none;
  background-color:transparent;
  outline:none;

  margin: 0.25em;
}

/* the bottom side widget with controls */

div#bottom-bar {
  min-height: calc(8em - 0.6em*2);
  width: calc(75vw - 1em*2);
  position: fixed;
  left: 17vw;
  bottom: 0;

  border-radius: 0.4em 0.4em 0 0;
  padding: 0.6em 1em;
  border: 1px solid darkgray;
  border-bottom: none;

  display: flex;
  flex-direction: row;

  background-color: #ffffff;
  z-index: 9998;
}
#time-slider-section {
  flex: 5;
  text-align: center;
}
#time-slider{
  width: 95%;
}
div#time-div {
  font-size: 1.2em;
}
div#time-display {
  display: inline-block;
}

#time-adjust-div {
  text-align: center;
}
#time-adjust-div .timeskip-btn {
  font-size: 1.09em;
  height: 2em;

  border: 2px solid #303d75;
  background-color: #9dadf2;
  color: #161975;
  border-radius: 0.6em;
}
#time-adjust-div .timeskip-btn:active {
  background-color: #7383c9;
}

#copy-desc {
  font-size: 0.78em;
  bottom: 0;
}

#support-attributes-section {
  flex: 1;
}
#sim-length-select {
  width: 3.6em;
}

#support-attributes-section-2 {
  flex: 1;
}

button#deploy-balloon {
  position: relative;
  border-radius: 5px;
  border: 1px solid darkgray;
}

button#deploy-balloon:active img#img-balloon {
  filter: brightness(0.7);
}

img#img-balloon {
  width: 3.5em;
  height: 3.5em;
}

div#btn-ballon-plus {
  font-size: 1.45em;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 0;
}

#support-attributes-section-3 {
  flex: 0.3;
}
.share-social {
  width: 2.5em;
  height: 2.5em;
}

/* the left side widget listing spawned paths */

div#left-bar {
  max-height: calc(84vh - 9em);
  position: fixed;
  left: 0;
  top: 19vh;
  z-index: 9996;
  background-color: white;
  border-radius: 0 0.4em 0.4em 0;
  border: 1px solid darkgray;
  overflow-y: auto;
}

div.left-bar-item {
  display: flex;
  flex-direction: row;
  margin: 0.4em;
  position: relative;
}

.left-bar-item-float-left {
  float: left;
  text-align: center;
}

img.left-bar-balloon-icon {
  width: 2.8em;
  height: 2.8em;
}

div.balloon-color {
  width: 0.75em;
  height: 0.75em;

}

div.left-bar-balloon-description, div.left-bar-cur-position {
  font-size: 0.95em;
}
div.balloon-color, div.balloon-info-time, div.balloon-info-coord, div.balloon-info-current {
  display: inline-block;
}
div.delete-cross {
  position: absolute;
  top: 0;
  right: 0;

  color: gray;
  cursor: pointer;
}

div#notice {
  position: fixed;
  left: 0;
  bottom: 0;
  max-width: 18vw;

  font-family: 'Poppins', sans-serif;
  font-size: 0.9em;

  background-color: #c4f5cf;

  border-radius: 0 0.2em 0 0;
  border: 1px solid darkgray;

  z-index: 9999;

  padding: 4px;

}

div#notice-remove-cross {
  position: absolute;
  bottom: 0px;
  right: 5px;

  color: #444;
  text-decoration: underline;

  font-size: 1.1em;
  cursor: pointer;
}
