html, body {
  height: 100%;
  width: 100%;
}

body {
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Roboto, sans-serif;
}

.mdc-top-app-bar {
  position: sticky;
}
.mdc-top-app-bar .mdc-top-app-bar__title {
  font-family: Roboto Mono, sans-serif;
}
.mdc-top-app-bar .mdc-ripple-upgraded::after,
.mdc-top-app-bar .mdc-ripple-upgraded::before {
  background: #FFF;
}

.mdc-top-app-bar__title--small-screen {
  display: none;
}

@media (max-width: 599px) {
  .mdc-top-app-bar__title--small-screen {
    display: initial;
  }
  .mdc-top-app-bar__title--large-screen {
    display: none;
  }
}
.mdc-top-app-bar__row {
  max-width: 1280px;
  margin: auto;
}

.import-team-form-container {
  width: 220px;
  max-height: calc(100vh - 100px);
  overflow: auto;
  padding: 20px;
  padding-top: 0px;
}
.import-team-form-container > p:nth-child(1) {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.005rem;
}
.import-team-form-container > p > a {
  font-size: 0.8rem;
  word-break: break-all;
}
.import-team-form-container > p:nth-child(3) {
  font-size: 0.8137499392rem;
}
.import-team-form-container > div.text-field-container > div {
  width: 100%;
}
.import-team-form-container > button {
  margin: 1rem auto;
  display: block;
}
.import-team-form-container > iframe {
  margin: auto;
  display: block;
}

main {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  background: #444;
}

.mdc-drawer {
  color: white;
  background: #161616;
}
.mdc-drawer .mdc-list-item {
  color: inherit;
}

.hcsim-dice-drawer[dir=rtl] {
  position: absolute;
}
.hcsim-dice-drawer[dir=rtl] .mdc-list-item__graphic {
  margin-left: 0;
  margin-right: 32px;
}
.hcsim-dice-drawer[dir=rtl] .mdc-drawer__content {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-items: end;
}
.hcsim-dice-drawer[dir=rtl] .mdc-list-divider {
  background-color: rgba(255, 255, 255, 0.22);
  margin: 0;
}
.hcsim-dice-drawer[dir=rtl] .dice-history {
  max-height: 100%;
  overflow-y: auto;
  padding: 4px;
  box-sizing: border-box;
}
.hcsim-dice-drawer[dir=rtl] .dice-history .dice-history-instructions {
  text-align: center;
}
.hcsim-dice-drawer[dir=rtl] .mdc-chip-set {
  margin: auto;
}
.hcsim-dice-drawer[dir=rtl] .mdc-chip {
  background: #333;
  color: white;
}
.hcsim-dice-drawer[dir=rtl] .mdc-chip:hover {
  background: #444;
}
.hcsim-dice-drawer[dir=rtl] .mdc-chip::after {
  background: white;
}
.hcsim-dice-drawer[dir=rtl] .mdc-chip span[role=button] {
  outline: none;
}
.hcsim-dice-drawer[dir=rtl] .mdc-chip .mdc-chip__text:focus {
  outline: none;
}
.hcsim-dice-drawer[dir=rtl] .mdc-chip .mdc-chip__icon--leading {
  margin-left: 0;
  margin-right: 4px;
}
.hcsim-dice-drawer[dir=rtl] .roll-dice {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.move-camera-overlay {
  transition: opacity 0.25s;
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  justify-items: center;
  align-items: center;
  font-size: 2em;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
  grid-template-rows: 1fr auto;
  padding: 10px;
  box-sizing: border-box;
}
.move-camera-overlay.invisible {
  visibility: hidden;
  opacity: 0;
}
.move-camera-overlay .move-camera-instructions {
  color: rgb(255, 255, 255);
  text-shadow: 0 0 5px black;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.rotation-controls {
  padding: 4px;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  color: white;
  background: #333;
  opacity: 0.8;
  transition: opacity 0.25s;
  border-radius: 10px 10px 0px 0px;
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
.rotation-controls.invisible {
  visibility: hidden;
  opacity: 0;
}
.rotation-controls:hover {
  opacity: 0.9;
}
.rotation-controls button::after, .rotation-controls button::before {
  background: white;
}
.rotation-controls .center-focus {
  grid-row: 2/2;
  grid-column: 2/2;
}
.rotation-controls .rotateXp {
  grid-row: 1/1;
  grid-column: 2/2;
  transform: scaleY(-1) rotate(-90deg);
  -webkit-transform: scaleY(-1) rotate(-90deg);
  -moz-transform: scaleY(-1) rotate(-90deg);
  -ms-transform: scaleY(-1) rotate(-90deg);
  -o-transform: scaleY(-1) rotate(-90deg);
}
.rotation-controls .rotateXm {
  grid-row: 3/3;
  grid-column: 2/2;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
}
.rotation-controls .rotateZm {
  grid-row: 2/2;
  grid-column: 3/3;
}
.rotation-controls .rotateZp {
  grid-row: 2/2;
  grid-column: 1/1;
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
  -ms-transform: scaleX(-1);
  -o-transform: scaleX(-1);
}

.zoom-controls {
  color: white;
  background-color: black;
  bottom: 0;
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(20px, 720px) auto;
  justify-content: center;
  align-content: end;
  width: 100%;
  opacity: 0.3;
  transition: opacity 0.25s;
}
.zoom-controls.invisible {
  visibility: hidden;
  opacity: 0;
}
.zoom-controls.invisible .mdc-slider__track-marker-container {
  visibility: hidden;
}
.zoom-controls:hover {
  opacity: 0.4;
}
.zoom-controls button::after, .zoom-controls button::before {
  background: white;
}

.hcsim-scene-container {
  width: 100%;
  height: 100%;
  perspective: 1000px;
  transition: perspective 0.3s;
}

.hcsim-scene-drag-container {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.3s;
  transform: scale(1.5);
}

.hcsim-scene {
  height: 100%;
  transform-style: preserve-3d;
  display: grid;
  align-items: center;
  justify-items: center;
}

.hcsim-map {
  transform-style: preserve-3d;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hcsim-map > div {
  position: absolute;
}

.hcsim-map img#map-spacer-img {
  display: grid;
  visibility: hidden;
}

.hcsim-map-top {
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../imgs/heroclixmaps/AV-01a-Airbase-16x24-O.png");
  display: grid;
  grid-gap: 1px;
  padding: 1px;
  box-sizing: border-box;
}

.hcsim-map-top > div {
  width: 20px;
  height: 20px;
}

.hcsim-map-top > div:hover {
  border: 1px solid yellow;
}

.hcsim-map-front {
  bottom: 0;
  width: 100%;
  height: 30px;
  background: cyan;
  transform-origin: bottom center;
  transform: rotateX(90deg);
}

.hcsim-map-back {
  top: 0;
  width: 100%;
  height: 30px;
  background: red;
  transform-origin: top center;
  transform: rotateX(-90deg);
}

.hcsim-map-left {
  top: 0;
  left: 0;
  width: 30px;
  height: 100%;
  background: purple;
  transform-origin: left center;
  transform: rotateY(90deg);
}

.hcsim-map-right {
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: yellow;
  transform-origin: right center;
  transform: rotateY(-90deg);
}

.hcsim-figure {
  display: grid;
  justify-items: center;
  align-items: center;
  width: 20px;
  height: 20px;
  position: absolute;
  transform-style: preserve-3d;
  border-radius: 1px;
  transition: 0.2s background-color;
}

.hcsim-figure:hover {
  background: rgba(255, 255, 0, 0.8);
  cursor: pointer;
}

.hcsim-figure:hover .hcsim-figure-picture {
  opacity: 1;
}

.hcsim-figure-top {
  grid-row: 1;
  grid-column: 1;
  border-radius: 50%;
  background: black;
  width: 100%;
  height: 100%;
  transform: translateZ(5px);
  position: absolute;
  box-shadow: inset 0px 0px 0.5px 0px white;
}

.hcsim-figure-mid {
  grid-row: 1;
  grid-column: 1;
  border-radius: 50%;
  background: black;
  height: 20px;
  width: 20px;
  position: absolute;
}

.hcsim-figure-mid1 {
  transform: translateZ(1px);
}

.hcsim-figure-mid2 {
  transform: translateZ(2px);
}

.hcsim-figure-mid3 {
  transform: translateZ(3px);
}

.hcsim-figure-mid4 {
  transform: translateZ(4px);
}

.hcsim-figure-bottom {
  grid-row: 1;
  grid-column: 1;
  border-radius: 50%;
  background: black;
  width: 20px;
  height: 20px;
  position: absolute;
  box-shadow: 0p 0px 5px black;
}

.hcsim-figure-picture {
  transition: 0.2s opacity, 0.3s transform;
  grid-row: 1;
  grid-column: 1;
  display: grid;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  position: absolute;
  bottom: 10px;
  transform-origin: bottom center 5px;
  box-shadow: inset 0px 0px 1px black;
}
.hcsim-figure-picture > img {
  max-width: 20px;
  box-sizing: border-box;
  border: 1px solid black;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.hcsim-figure-card-container {
  position: relative;
  perspective: 1000px;
  width: 265px;
  height: 360px;
  border-radius: 10px;
  transform-style: preserve-3d;
  transition: transform 0.5s;
  box-shadow: 0px 0px 5px;
}
.hcsim-figure-card-container.facedown {
  transform: rotateY(180deg);
}

.hcsim-figure-card {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.hcsim-figure-card .front, .hcsim-figure-card .back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  border-radius: 10px;
  background: black;
  color: white;
}
.hcsim-figure-card .front {
  transform: translateZ(0.01px);
}
.hcsim-figure-card .back {
  transform: rotateY(180deg) translateZ(-0.01px);
}

footer.footer {
  color: white;
  height: 56px;
  width: 100%;
  background: var(--mdc-theme-primary, #212121);
  text-align: center;
  display: grid;
  align-content: center;
  justify-content: center;
  grid-auto-flow: column;
}
footer.footer .mdc-ripple-upgraded::after,
footer.footer .mdc-ripple-upgraded::before {
  background: #FFF;
}

footer.footer > button.active::before {
  background: #fff;
  opacity: 0.4;
}
footer.footer > button.active:focus::before {
  opacity: 0.6;
}/*# sourceMappingURL=main.css.map */
