html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: rgb(47, 56, 62);
  overflow: hidden;
}

input {
  border: 2px solid #dadada;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 375;
  padding: 5px 5px 5px 7px;
  background-color: #fff;
  font-family: Roboto;
  margin: 12px 12px;
}

input:focus {
  outline: none;
  border-color: #9ecaed;
  box-shadow: 0 0 10px #9ecaed;
}

td,
tr,
img,
tbody {
  padding: 0px;
  margin: 0px;
  border: none;
  border-collapse: collapse;
}

td,
.scene-list-button {
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
}

::scrollbar {
  display: none;
}

.hidden,
.saved-container::-webkit-scrollbar {
  display: none !important;
}

.notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

.textbox {
  padding: 5px 5px 5px 5px;
  border: 2px solid #fff;
  border-radius: 8px;
  background-color: #fff;
  color: #666666;
  /* font-family: Roboto; */
}

#pano-wrapper {
  position: fixed;
  overflow-x: auto;
  overflow-y: hidden;
}

#pano-table {
  border-collapse: collapse;
  border-spacing: 0;
  position: absolute;
  z-index: -10;
  width: 200%;
  height: 100%;
}

/* The default Maps pano viewer. Must generate, but isn't used */
#gm-pano {
  display: none;
}

.tray-wrapper {
  position: absolute;
  border-radius: 14px;
  box-shadow: 0 30px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease-in-out, width 0.5s ease-in-out, height 0.5s ease-in-out;
}

#saved-wrapper {
  top: 0px;
  margin-top: 12px;
  right: 10px;
  height: 276px;
  width: 0px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
  /* padding-left: 20px; */
  padding: 5px 13px 5px 20px;
}

#map-wrapper {
  bottom: -250px;
  left: 400px;
  z-index: 2;
}

#gm-map {
  height: 300px;
  width: 300px;
  z-index: 2;
  border-radius: 14px;
  transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
}

#map-pin {
  top: 0px;
  right: 10px;
  z-index: 3;
  padding: 10px 10.5px 6px;
  margin-top: 12px;
}

#map-drag {
  top: 0px;
  left: -25px;
  z-index: 1;
  height: 24px;
  margin-top: 12px;
  padding: 8px 25px 2px 6px;
  border-radius: 8px;
  cursor: grab;
}

#map-drag:active {
  cursor: grabbing;
}

#map-labels {
  top: 0px;
  right: 372px;
  z-index: 3;
  padding: 10px 10.5px 6px;
  margin-top: 12px;
}

#sv-button {
  width: 40px;
  height: 40px;
  top: 250px;
  right: 10px;
  z-index: 10;
  background-image: url('../images/coverage_on.png');
  background-size: cover;
}

#pano-info {
  position: absolute;
  top: 100px;
  z-index: 5;
  transition: opacity 0.5s linear;
}

#copyright {
  position: fixed;
  bottom: 48px;
  left: 24px;
  z-index: 1;
}

.icon-button {
  position: absolute;
  background-color: #fff;
  color: #666666;
  border-radius: 8px;
  border: 2px solid #fff;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
  cursor: pointer;
}

.icon-button:hover,
.saved-list-button:hover,
.saved-list-button:hover {
  color: #333;
}

.saved-container {
  display: flex;
  flex-direction: row;
  align-content: flex-start;
  width: 100%;
}

#saved-lists-container {
  height: 30px;
  border-radius: 8px 8px 0px 0px;
  background-color: #fff;
  flex-wrap: nowrap;
  overflow-x: scroll;
  overflow-y: hidden;
  width: calc(100% + 10px);
}

#saved-scenes-container {
  height: 100%;
  border-radius: 0px 0px 8px 8px;
  padding: 5px;
  background-color: #eee;
  gap: 5px;
  flex-wrap: wrap;
  overflow-x: hidden;
  overflow-y: scroll;
}

.saved-list-button {
  padding: 5px 10px;
  border-radius: 8px 8px 0px 0px;
  background-color: #ddd;
  cursor: pointer;
}

.saved-list-button.selected {
  background-color: #eee !important;
  color: #333 !important;
}

.saved-scene-button {
  height: 136px;
  width: 136px;
  border-radius: 8px;
  border: 3px solid #fff;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.saved-scene-button:hover {
  opacity: 0.85;
}

#add-list-prompt {
  position: absolute;
  left: 320px;
  width: 280px;
  top: -7px;
  z-index: 3;
}

#add-scene-button {
  align-items: center;
  justify-content: center;
  font-size: 24pt;
}

#saved-edit-button {
  position: absolute;
  bottom: 24px;
  right: 24px;
  padding: 8px;
}

.remove-scene-button {
  padding: 1px 3px 0px;
  margin: 10px 8px;
}

@keyframes jiggle {
  25% {
    transform: rotate(0.7deg);
  }
  75% {
    transform: rotate(-0.7deg);
  }
}

.edit {
  animation: jiggle 0.4s infinite;
}

.edit:hover {
  opacity: 0.65 !important;
  color: #000;
}
