#player-area {
  float: left;
  height: 100%;
  min-width: 310px;
}

#ui-wrapper {
  position: fixed;
  width: 100%;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-flow: column;
  -webkit-flex-flow: column;
  top: 0px;
  bottom: 15px;
}

#ui-content-wrapper {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-flex-shrink: 1;
  -ms-flex-negative: 1;
  flex-shrink: 1;
}

#ui-footer-wrapper {
  width: 100%;
  opacity: 0;
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: none;
}

#hud-group-wrapper {
  bottom: 0px;
  left: 0px;
  width: 100%;
}

/*#hud-group-wrapper.mobile.floorplan.open {}*/

#floorplan-area {
  border-radius: 4px;
}

#floorplan-header-button {
  display: none;
  z-index: 1;
  border-radius: 4px;
  border: none;
}

#floorplan-header-button>* {
  vertical-align: middle;
}

#floorplan-header-button span {
  margin-left: 5px;
  line-height: 24px;
  font-size: 14px;
}

#floorplan-header-button i {
  text-align: right;
}

#floorplan-header-button.open {
  border-radius: 0 0 4px 4px;
}

#floorplan-content-wrapper {
  display: table-cell;
  overflow: hidden;
  width: 30vw;
  height: 30vw;
  float: left;
  position: relative;
  z-index: 1;
  border-radius: 4px;
}

#floorplan-content-wrapper.open {
  border-radius: 4px 4px 0 0;
}

#floorplan-content-wrapper.mobile {
  /*position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;*/
  /* width: calc(30% - 10px) !important; */
  /* height: 100% !important; */
  /* max-width: calc(30% - 10px); */
}

#floorplan-content-wrapper.mobile.portrait-floorplan {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  display: table-cell;
  vertical-align: bottom;
}

#floorplan-content {
  width: 100%;
  height: calc(100% - 1px);
  background-color: rgba(0, 0, 0, 0.6);
  margin-bottom: 1px;
  text-align: center;
}

#floorplan-resize-handle {
  width: 24px;
  height: 24px;
  position: absolute;
  right: 0px;
  z-index: 1;
  cursor: nesw-resize;
  /* margin: 8px 4px 0 0; */
  line-height: 19px;
}

#floorplan-resize-handle i {
  -webkit-transform: rotate(270deg);
  -moz-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  -o-transform: rotate(270deg);
  transform: rotate(270deg);
  font-size: 20px;
}

#floorplan-resize-handle i:hover {
  color: white;
}

#floorplan-resize-handle.mobile {
  /*display: none !important;*/
}

#floorplan-ui {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

#floorplan-ui i {
  font-size: 15px;
  padding: 0 7px;
}

#floorplan-resize-handle i:hover {
  color: white;
}

#floorplan-ui.mobile {
  /*display: none !important;*/
}

#empty-floorplan-message {
  color: white;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#empty-floorplan-message i {
  width: 100px;
  height: 100px;
  font-size: 100px;
  left: calc(50% - 50px);
}

#empty-floorplan-warn {
  /*background-color: rgba(0,0,0,0.4);*/
  padding: 5px 0px;
  bottom: calc(50% - 70px);
  left: 0px;
  right: 0px;
  text-align: center;
}

@media only screen and (max-width: 549px) {
  #view-floorplan {
    display: none;
  }

  #floorplan-area.mobile {
    display: none !important;
  }

  #floorplan-area.max.mobile {
    width: 90% !important;
    max-width: 90% !important;
  }

  #floorplan-area.mobile.portrait-floorplan {
    display: block !important;
  }

  #hud-group-wrapper.mobile.floorplan {
    left: 0px !important;
    width: 100% !important;
  }

  #hud-group-wrapper.mobile.floorplan.open {
    left: 0px !important;
    width: 100% !important;
  }
}

@media only screen and (min-width: 550px) and (max-width: 1279px) {
  #view-floorplan {
    /* display: none; */
  }

  #floorplan-area.mobile {
    width: 30% !important;
    max-width: 30% !important;
  }

  #floorplan-area.max.mobile {
    width: 50% !important;
    max-width: 50% !important;
  }

  #floorplan-header-button.mobile {
    color: rgb(204, 204, 204);
    background-color: rgba(0, 0, 0, 0.6);
    /*position: fixed;*/
    /*left: 10px !important;
        bottom: 10px !important;*/
    width: 100% !important;
    height: 33px;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    outline: none;
    border: none;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: left;
    margin: 0;
    padding: 0px 5px;
  }

  /*#floorplan-header-button.open.mobile {}*/
  #floorplan-header-button.mobile.notch-x {
    left: 50px !important;
  }

  #floorplan-content-wrapper.mobile {
    /* left: 10px !important; */
    /* bottom: 43px !important; */
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: table-cell;
    vertical-align: bottom;
  }

  #floorplan-content-wrapper.mobile.notch-x {
    left: 50px !important;
  }

  #floorplan-content.mobile {
    /* pointer-events: none; */
    margin-bottom: 0;
    border-bottom: 1px solid #e5e5e5;
  }

  #hud-group-wrapper.mobile.floorplan {}

  #hud-group-wrapper.mobile.floorplan.notch-x {
    left: calc(30% + 40px) !important;
    width: calc(70% - 40px) !important;
  }
}

@media only screen and (min-width: 1280px) {
  #floorplan-content {
    background-color: rgba(0, 0, 0, 0.6);
  }
}