@charset "UTF-8";
#iv-container {
  background: #fffe;
}

.iv-close:after,
.iv-close:before {
  content: "";
  height: 4px;
  width: 32px;
  background: #000;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -2px;
}

.iv-close {
  right: 20px;
  top: 20px;
}

.iv-snap-view {
  background: #fff;
}

.onoffswitch {
  position: absolute !important;
  right: 13px !important;
  bottom: 15px !important;
}

#hideAllHS {
  bottom: 150px !important;
}

.onoffswitch {
  width: 90px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.onoffswitch-checkbox {
  display: none;
}

.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  /* border-radius: 20px; */
}

.onoffswitch-inner {
  display: block;
  width: 200%;
  margin-left: -100%;
  -webkit-transition: margin 0.3s ease-in 0s;
  transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
  display: block;
  float: left;
  width: 50%;
  height: 30px;
  padding: 0;
  line-height: 30px;
  font-size: 14px;
  color: white;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.onoffswitch-inner:before {
  content: "開";
  padding-left: 10px;
  background-color: #4B4F54;
  color: #ffffff;
}

.onoffswitch-inner:after {
  content: "關";
  padding-right: 10px;
  background-color: #4B4F54;
  color: #ffffff;
  text-align: right;
}

.onoffswitch-switch {
  display: block;
  width: 24px;
  margin: 4px;
  background: #308078;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 56px;
  /* border: 2px solid white;  */
  /* border-radius: 20px; */
  -webkit-transition: all 0.3s ease-in 0s;
  transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 0px;
  background-color: #45B8AC;
}

@-ms-viewport {
  width: device-width;
}

@media only screen and (min-device-width: 800px) {
  html {
    overflow: hidden;
  }
}

html {
  height: 100%;
}

body {
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans TC', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  background-color: #000000;
}

.dialog-wrapper {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 1;
  pointer-events: all;
  -webkit-transition: opacity 0.5s ease-out;
  /* Safari */
  transition: opacity 0.5s ease-out;
}

.dialog-wrapper .dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  width: 100%;
  height: 100%;
  /*max-width: 1000px;
			max-height: 750px;*/
  /*border-radius: 5px;*/
  overflow: hidden;
}

.dialog-wrapper .dialog .img {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
}

.dialog-wrapper .close {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 10px;
  left: 10px;
  cursor: pointer;
  z-index: 9999;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

#info-overlay {
  position: fixed;
  left: 0;
  bottom: 0;
  margin: 20px;
}

#info-overlay > * {
  display: inline-block;
  vertical-align: middle;
}

.no-select {
  pointer-events: none;
}

.modal-card{
  border-radius: 20px;
}

.modal-card-head, .modal-card-foot {
  background: white;
  border: none;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
}

#navbar .brand {
  height: 40px;
  margin: 5px;
}

#menu-toggle {
  background: white;
  width: 50px;
  height: 50px;
  padding: 10px;
}

.modal-card, .modal-content {
  width: 90%;
}

.kr-hotspots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.kr-hotspot {
  position: absolute;
  top: -100000;
  left: -100000;
  pointer-events: all;
  opacity: 0;
}

.kr-hotspot .handle {
  width: 50px;
  height: 50px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
  position: relative;
}

.kr-hotspot .detail {
  z-index: 2;
  width: 200px;
  text-align: center;
}

.kr-hotspot .detail img {
  max-width: 100%;
}

.kr-hotspot.style-1:hover .detail {
  opacity: 1;
  bottom: 200px;
  pointer-events: all;
}

.kr-hotspot.style-1 .detail {
  position: absolute;
  bottom: 300px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  opacity: 0;
  text-shadow: -1px -1px 0 #000,  
 1px -1px 0 #000,
 -1px 1px 0 #000,
 1px 1px 0 #000;
  font-size: 24px;
  line-height: 30px;
  -webkit-transition: all 0.7s ease;
  transition: all 0.7s ease;
  pointer-events: none;
}

.kr-hotspot.style-1 .detail::after {
  content: "";
  position: absolute;
  top: 29px;
  height: 127px;
  width: 1px;
  left: calc(50% - 0.5px);
  background: white;
}

.kr-hotspot.style-2:hover .detail {
  opacity: 1;
  bottom: 75px;
  pointer-events: all;
}

.kr-hotspot.style-2 .detail {
  position: absolute;
  bottom: -10px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  opacity: 0;
  font-size: 24px;
  line-height: 30px;
  -webkit-transition: all 0.7s ease;
  transition: all 0.7s ease;
  background: white;
  border-radius: 4px;
  padding: 10px;
  pointer-events: none;
}

#starting-screen {
  z-index: 999;
  position: fixed;
  color: #363636;
  padding: 20px;
  -webkit-transition: 1s background;
  transition: 1s background;
}

#starting-screen p {
  max-width: 600px;
  margin: 20px auto;
}

#info-toggle {
  opacity: 0;
  height: 100px;
  width: 100px;
  border-radius: 50px;
  position: absolute;
  left: 50%;
  bottom: 10px;
  cursor: pointer;
  transform: translateX(-50%);
  z-index: 3;
  background: #BE1E4A;
  box-shadow: 0px 0px 5px 0px black;
  border: 4px solid white ;
  color: white;
}

#info-toggle .icon{
  background-image: url(../nav_buttons.png?v=3);
  background-size: 392px 112px;
  background-position: -56px 0px;
  height: 56px;
  width: 56px;
  display: block;
  margin-left: 18px;
  margin-top: 4px;
}

#info-toggle .label{
  width: 92px;
  text-align: center;
  color: white;
}

.b-r-0 {
  border-radius: 0 !important;
}

#infoModal .delete {
  background: #33CCCC;
}

.modal-card-foot {
  text-align: center;
}

.modal-card-foot .footer-logo {
  width: 100%;
}

button {
  background: #be1e4a;
  color: white;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  font-size: 1.4rem;
  padding: 5px 20px;
  border-radius: 10px;
  cursor: pointer;
  -webkit-transition: background 0.5s;
  transition: background 0.5s;
}

#controls {
  opacity: 0;
  position: absolute;
  left: 15px;
  bottom: 15px;
  transition: bottom 0.6s ease;
}
#controls.up{
  bottom: 195px;
}

#controls .control-btn {
  pointer-events: all;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: inline-block;
  background-repeat: no-repeat;
  margin-bottom: 15px
}



#controls .list-view.active {
  background-position: -240px;
}


#controls .control-btn:hover {
  background-position-y: -40px;
}
#controls .prev-scene:hover, #controls .next-scene:hover {
  background-position-y: -60px !important;
}

#scene-picker {
  pointer-events: none;
  width: 100%;
  position: absolute;
  bottom: 0px;
  left: 0;
  -webkit-transition: 0.7s all;
  transition: 0.7s all;
  opacity: 0;
  padding-bottom: 30px;
  padding-top: 30px;
  background: rgb(190 30 74 / 90%);
}
#scene-picker.active * {
  pointer-events: all;
}

#scene-picker.active {
  opacity: 1;
}
/*# sourceMappingURL=app.css.map */


@media (max-width: 640px){

  #controls .control-btn {
    pointer-events: all;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: inline-block;
    background-repeat: no-repeat;
    margin-bottom: 10px;
  }

  #starting-screen p{
    font-size: 0.8rem;
  }
  
    #info-toggle {
      opacity: 0;
      height: 70px;
      width: 70px;
      border-radius: 50px;
      position: absolute;
      left: 50%;
      bottom: 10px;
      cursor: pointer;
      transform: translateX(-50%);
      z-index: 3;
      background: #BE1E4A;
      box-shadow: 0px 0px 5px 0px black;
      border: 4px solid white ;
      color: white;
    }

    #info-toggle .icon{
      background-image: url(../nav_buttons.png?v=3);
      background-size: 252px 72px;
      background-position: -36px 0px;
      height: 36px;
      width: 36px;
      display: block;
      margin-left: 12px;
      margin-top: 4px;
    }

    #info-toggle .label{
      width: 62px;
      text-align: center;
      color: white;
      font-size: 0.8rem;
    }
      
   

}

#controls>div{
  width: 40%;
}

.is-pulled-right{
  text-align: right;
}

.is-pulled-left>div{
  margin-left: -4px;
}
.is-pulled-right>div{
  margin-right: -4px;
}

#controls>div>div{
  width: 33%;
  text-align: center;
}

.control-btn{
  margin: auto;
}


#list-view{
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  z-index: 5;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  display: none;
}
#list-view.active{
  display: block;
}
#list-view .close{
  position: fixed;
  right: 15px;
  top: 15px;
  font-size: 0.6rem;
  color: black;
  z-index: 6;
  cursor: pointer;
  padding-left: 5px;
  line-height: 40px;
  padding-right: 5px;
}

#list-view .list-title{
  line-height: 40px;
  color: black;
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  margin-top: 15px;
}

#list-view .container{
  position: fixed;
  top: 50%;
  left: 50%;
  height: calc(100% - 80px);
  width: calc(100% - 50px);
  max-width: 600px;
  background: white;
  box-shadow: 0px 0px 5px 0px black;
  z-index: 5;
  transform: translate(-50%, -50%);
  border-radius: 20px;
}

#list-view .item-list{
  height: calc(100% - 60px);
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

#list-view .item{
  display: block;
  margin: 15px;
  color: black; 
  position: relative;
  height: 150px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: black;
  cursor: pointer;
  user-select: none;
}

#list-view .item .img{
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  height: 100%;
  background-size: cover;
  transition: all 0.7s ease-out;
  opacity: 0.8;
}

#list-view .item .overlay{
  color: white;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
#list-view .item:hover .img{
  transform: scale(1.2);
  opacity: 0.4;
}


.separator{
  width: 40px;
  margin: 15px;
  height: 2px;
  background: #cdcdcd;
}
.group .header{
  position: relative;
  padding-left: 15px;
  color: #5d5d5d;
  font-size: 1.1rem;
  
  padding-top: 10px;
  padding-bottom: 10px;
}
.group.is-collection .header::after{
  content: "";
  transform: translateY(-50%) rotate(-45deg) ;
  -webkit-transform: translateY(-50%) rotate(-45deg) ;
  border: solid #5d5d5d;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  color: grey;
  position: absolute;
  right: 15px;
  top: 50%;
  transition: all 0.3s ease;
}
.group.is-collection.selected .header::after{
  content: "";
  transform: translateY(-50%) rotate(45deg) ;
  -webkit-transform: translateY(-50%) rotate(45deg) ;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  color: grey;
  position: absolute;
  right: 15px;
  top: 50%;
}
.group.is-collection.selected .header{
  color: white;
  background: #be1e4a;
}
.group .children{
  max-height: 0;
  transition: all 0.3s ease;
  overflow: hidden;
}
.group.selected .children{
  max-height: unset;
}
.group .child:first-child{
  margin-top: 5px;
}
.group .child:last-child{
  margin-bottom: 5px;
}
.group .child{
  color: rgba(0,0,0,0.5);
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  padding-left: 30px;
}
.group .child.tiny{
  padding-top: 8px;
  padding-bottom: 8px;
}
.group.selected .child::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 2px;
  background: rgba(0,0,0,0.2);
}

.group .child.active::before{
  content: "";
  transform: translateY(-50%) rotate(-45deg);
  -webkit-transform: translateY(-50%) rotate(-45deg);
  border: solid #be1e4a;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  color: #be1e4a;
  position: absolute;
  right: 15px;
  left: 12px;
  top: 50%;
  background: none;
  bottom: unset;
  
}
.group .child.active{
  color: rgba(0,0,0,1);
}

#menu{
  pointer-events: all;
  position: absolute;
  top: 15px;
  left: 15px;
  opacity: 0;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

#menu-body{
  overflow: auto;
  margin-top: 15px;
  background: rgba(255,255,255,0.9);
  border-radius: 20px;
  min-width: 220px;
  max-height: 0;
  transition: all 0.5s ease-in-out;
}

#menu.active #menu-body{
  max-height: 400px;
  
}

#menu-header{
  display: inline-block;
  background: rgb(255,255,255);
  padding: 0px 20px;
  height: 40px;
  border-radius: 20px;
  line-height: 40px;
  color: #000;
  color: #be1e4a;
  font-size: 1.1rem;
  pointer-events: all;

}

#menu-header::after{
  display: inline-block;
  content: "▼";
  font-size: 0.5rem;
  color: #be1e4a;
  transform: rotate(-90deg);
  transition: all 0.3s ease;

}

#menu.active #menu-header::after{
  transform: rotate(0deg);
}


.control-btn{
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

#unit-type-btn{
  opacity: 0;
  position: absolute;
  right: 15px;
  top: 15px;
  background: #be1e4a;
  color: white;
  padding-left: 30px;
  height: 30px;
  line-height: 30px;
  padding-right: 5px;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  pointer-events: all;

}

#unit-type-btn::before{
  content: "";
  transform: translateY(-50%) rotate(135deg);
  -webkit-transform: translateY(-50%) rotate(135deg);
  border: solid white;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  color: grey;
  position: absolute;
  left: 15px;
  top: 50%;
  transition: all 0.3s ease;
}

#unit-type-image{
  width: 100%;
  text-align: right;
}

#ui-overlay{
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}