/* Overcomes LESS compile error with calc(). */
@font-face {
  font-family: 'gotham-light-webfont';
  src: url('../../fonts/gotham-light-webfont.eot');
  src: url('../../fonts/gotham-light-webfont.woff') format('woff'), url('../../fonts/gotham-light-webfont.ttf') format('truetype');
}
@font-face {
  font-family: MatterRegular;
  src: url('fonts/Matter-Regular.woff'), url('/fonts/Matter-Regular.woff2');
}
@font-face {
  font-family: MatterMedium;
  src: url('fonts/Matter-Medium.woff'), url('/fonts/Matter-Medium.woff2');
}
/* Was having problems with the iPhone font not always being what the css specified (e.g. in 'm-phone-popup-message-text' class landscape).
It was changing correctly in Chrome browser but not on the iPhone.
This mentions a fix but not really sure why: https://stackoverflow.com/questions/2545542/font-size-rendering-inconsistencies-on-an-iphone. */
body {
  -webkit-text-size-adjust: 100%;
}
*:not(p) {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
*:not(i) {
  font-family: 'gotham-light-webfont';
  font-size: 12px;
  zline-height: 120%;
}
body.show-me-my-room *:not(i) {
  font-family: 'MatterRegular';
}
p {
  zzzmargin-top: 3px;
  zzzmargin-bottom: 3px;
}
html,
body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  background-color: ddd;
}
body {
  overflow-x: auto;
  overflow-y: auto;
}
body.disable-horizontal-scrolling {
  overflow-x: hidden;
}
body.disable-vertical-scrolling {
  overflow-y: hidden;
}
.m-hide {
  display: none;
}
.m-hide-important {
  display: none !important;
}
body.m-phone .mm-tablet-only,
body.m-phone .mm-desktop-only,
body.m-tablet .mm-phone-only,
body.m-tablet .mm-desktop-only,
body.m-desktop .mm-phone-only,
body.m-desktop .mm-tablet-only,
body.m-desktop .mm-phone-or-tablet-only {
  display: none !important;
}
.m-page {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.m-fixed {
  /*position: absolute;
left: 0;
zzbackground-color: yellow;
overflow-x: hidden;
overflow-y: hidden;
width: 100%;
height: 100%;
*/
}
.m-main {
  position: relative;
  qqposition: fixed;
  left: 0;
  top: 50px;
  width: 100%;
  height: calc(100% - 50px);
  top: 0;
  padding-top: 50px;
  height: 100%;
}
.m-scene-render {
  position: relative;
  display: none;
  qqposition: fixed;
  left: 0px;
  top: 50px;
  width: 100%;
  height: calc(100% - 50px);
  qqqqheight: 100%;
  qqoverflow-x: scroll;
  qqoverflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  /* momentum scrolling. */
  zzbackground-color: blue;
  qqz-index: -1;
  font-size: 0;
  top: 0;
  height: 100%;
}
.m-desktop .m-scene-render {
  text-align: center;
}
.visualizer-plugin-render-canvas.mm-fill-height {
  width: auto;
  height: 100%;
}
.visualizer-plugin-render-canvas.mm-fill-width {
  width: 100%;
  height: auto;
}
#panorama {
  position: absolute;
  left: 0;
  top: 50px;
  height: calc(100% - 50px);
  z-index: -1;
  /* Or appears behind but the pano gets the button taps. */
  z-index: 0;
  /* Or appears behind but the pano gets the button taps. */
}
/* Hide their loading box. */
.pnlm-load-box {
  display: none !important;
}
.m-message-popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 5;
}
.m-message {
  position: fixed;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  top: 200px;
  text-align: center;
  padding: 20px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #fff;
}
.m-message-loading-icon {
  width: 41px;
  height: 41px;
  padding: 5px;
  border-radius: 20px;
  margin-bottom: 16px;
  background-color: white;
}
.m-message-text {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 16px;
  color: #444;
  zzbackground-color: yellow;
}
body.show-me-my-room .m-message {
  border: none;
}
@media screen and (orientation: landscape) {
  .m-phone .m-message {
    top: 120px;
  }
}
.m-page {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: url(images/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}
body.show-me-my-room .m-page {
  background: url(images/background-smmr.jpg?1);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
.m-upload-phone-photo-popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 5;
}
.m-upload-phone-photo-popup .mm-container {
  position: fixed;
  left: 50%;
  width: 300px;
  margin-left: -150px;
  top: 90px;
  padding: 10px;
  text-align: center;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #fff;
}
.m-upload-phone-photo-popup .mm-title {
  zmargin-top: 10px;
  zmargin-bottom: 15px;
  padding: 0px;
  font-size: 18px;
  font-weight: bold;
  color: #444;
  zzbackground-color: yellow;
}
.m-upload-phone-photo-popup .mm-photo-icon {
  font-size: 60px;
  color: #444;
}
.m-upload-phone-photo-popup .mm-done-icon {
  font-size: 60px;
  color: green;
}
.m-upload-phone-photo-popup .mm-text,
.m-upload-phone-photo-popup .mm-text span {
  zmargin-top: 10px;
  margin-left: 20px;
  margin-right: 20px;
  zzline-height: 17px;
  text-align: center;
  font-size: 16px;
  color: #444;
  zzbackground-color: yellow;
}
.m-upload-phone-photo-popup .mm-text.mm-part-3 {
  color: red;
}
.m-upload-phone-photo-popup .mm-qr-code-container img {
  margin-top: 10px;
  margin-left: 25%;
  margin-bottom: 10px;
  width: 50%;
}
.m-upload-phone-photo-popup .mm-button {
  font-size: 16px;
  zmargin-top: 15px;
  margin-bottom: 10px;
  zzleft: 10%;
  width: 150px;
  height: 40px;
  padding: 5px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #eee;
  color: #444;
}
.m-upload-phone-photo-popup .mm-close-button {
  text-align: center;
  zpadding-bottom: 15px;
  zbackground-color: cyan;
}
.m-upload-phone-photo-popup .mm-close-button i {
  margin-top: 0px;
  zwidth: 48px;
  zheight: 43px;
  color: #444;
  padding: 8px 8px 8px 8px;
  zbackground-color: yellow;
}
body.show-me-my-room .m-upload-phone-photo-popup .mm-container.mm-not-smmr {
  display: none;
}
body:not(.show-me-my-room) .m-upload-phone-photo-popup .mm-container.mm-smmr {
  display: none;
}
body.show-me-my-room .m-upload-phone-photo-popup .mm-smmr-image {
  height: 70px;
  margin-top: 30px;
}
body.show-me-my-room .m-upload-phone-photo-popup .mm-smmr-button {
  background-color: #B4C347;
  color: white;
  border-radius: 8px;
  font-family: MatterMedium;
  font-size: 14px;
  text-align: center;
  width: 80%;
  height: 50px;
  padding: 16px 0 0 0;
  margin: 15px 10% 15px 10%;
  cursor: pointer;
  zmargin-top: 5px;
  zmargin-bottom: 20px;
}
body.show-me-my-room .m-upload-phone-photo-popup .mm-container {
  border: none;
}
@media screen and (orientation: landscape) {
  .m-upload-phone-photo-popup .mm-container {
    top: 5px;
  }
}
