
  @-ms-viewport { width:device-width; }
  @media only screen and (min-device-width:800px) {
    html { overflow:hidden; }
  }
  html {
    height:100%;
  }
  body {
    height:100%;
    width: 100%;
    overflow:hidden;
    margin:0;
    padding:0;
    font-family:Arial, Helvetica, sans-serif;
    font-size:16px;
    color:#FFFFFF;
    background-color:#ffffff;
  }

  #pano{
    width: 100%;
    height: 100%;
  }

  .mfp-bg {
    background-color: rgba(255,255,255,0.5);
  }

  .mfp-iframe-scaler {
    max-width: 660px;
    max-height: 530px;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    left: 50%;
    width: 50vw;
    height: 100vh;
    top: 50%;
    position: absolute;
    padding-top: 0;
    padding-bottom: 0;
  }
  .mfp-iframe-scaler iframe{
    background: white;
    width: 100%;
    height: 100%;
  }

  @media only screen and (max-width: 768px) {
    .mfp-iframe-scaler {
      height: 100vh;
      width: 100vw;
      max-width: 100%;
      max-height: 100%;
      left: auto;
      top: auto;
      padding-top: 0;
      -webkit-transform: none;
          -ms-transform: none;
              transform: none;
    }
    .mfp-content {
      height: 100%;
    }
  }

  .mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close{
  	font: 40px "Lucida Grande", Lucida, Verdana, sans-serif;
  	top: auto;
    color: #999999;
    right: 0;
    width: auto;
  }

  /* Animation */
  .mfp-fade.mfp-bg {
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -o-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
  }

  .mfp-fade.mfp-bg.mfp-ready {
    opacity: 1;
  }

  .mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
  }

  .mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -o-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
  }

  .mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
  }

  .mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
  }
