#sinyi_3DVR > iframe {
  width: 100%;
}
.warningDiv {
  position: fixed;
  width: 540px;
  top: calc(50% - 250px);
  left: calc(50% - 270px);
  display: none;
}
.warningDeco_button_div {
  width: 540px;
  height: 70px;
  position: fixed;
  left: calc(50% - 270px);
  background-color: white;
  border-top: 1px solid #dbdbdb;
}
.warningDeco-button {
  width: 510px;
  height: 40px;
  border-radius: 4px;
  color: white;
  margin: 14px 15px;
  border: none;
  background-color: #01ab59;
  cursor: pointer;
}
.warningDeco-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #595959;
}
.warningDeco {
  height: 430px;
  background-color: white;
  z-index: 1;
}

/* 預約看屋 */
.tool-button {
  position: absolute;
  background-color: #474747;
  border: 1px solid #21b561;
  padding: 5px 7px;
  font-size: 12px;
  color: #fff;
  border-radius: 17px;
  display: flex;
  cursor: pointer;
  box-shadow: 0 0 10px 0 rgba(8, 8, 8, 0.5);
  width: 85px;
  height: 30px;
  justify-content: center;
}
.tool-button img {
  width: 16px;
  height: 16px;
}

#Message {			
  bottom: 42px;
  left: 184px;					
}

.inputDiv {
  width: 100%;
  margin-bottom:10px
}

.inputDiv div {
  display: inline-block;
}

.inputField, .textareaField {
  width: 100%;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  background-color: #fff;
  outline: none;
}

.submitBtn {
  width: 100%; 
  border-radius: 4px; 
  text-align: center; 
  background-color: #01ab59; 
  color: #fff; 
  padding: 8px 0;
  margin-top: 10px;
  cursor: pointer;
  border: none;
}


@media screen and (orientation: landscape) {
  .leave-message {
    display: none;
    position: absolute;
    top: calc(50% - 240px);
    left: calc(50% - 285px);
    width: 570px;
    height: 470px;
    background-color: #fff;
    padding: 15px
  }
  
  #Policy {
    width: 500px;
    height: 500px;
    padding: 20px;
    overflow-y: scroll;
    position: fixed;
    top: calc(50% - 250px);
    left: calc(50% - 250px);
    background-color: #fff;
    z-index: -1;
  }
}

@media screen and (orientation: portrait) {
  #Message {
    display: none!important;
  }

  #Message_mobile {
    bottom: calc(50% - 15px);
    left: calc(50% - 45px);
  }

  .leave-message {
    display: none;
    position: absolute;
    width: 100vw;
    height: 100%;
    background-color: #fff;
    padding: 15px;
    top: 50px;
    bottom: 0;
    z-index: 99;
  }

  #AI_mobile {
    bottom: calc(50% - 15px);
    right: 10px
  }

  #Contact_mobile {
    bottom: calc(50% - 15px);
    left: 10px
  }

  #footer-mobile {
    display: block!important;
    position: fixed;
    bottom: 0;
    width: 100vw;
    height: 46px;
    background-color: #595959
  }
  #Policy {
    padding: 20px;
    overflow-y: scroll;
    position: fixed;
    top: 50px;
    bottom: 0;
    background-color: #fff;
    z-index: -1;
    display: none
  }
}

@media (max-width:767px){
  .warningDiv {
      width: 300px;
      left: calc(50% - 150px);
      top: 14vh
  }
  .warningDeco_button_div {
      width: 300px;
      left: calc(50% - 150px);
  }
  .warningDeco-button{
      width: 270px;
  }
}