/* Panoramic + Objects sections: pano.htm / object.htm were framesets
   cols="300,*" (menu frame | movie frame). The old documents were quirks mode;
   vertical spacing here is set explicitly to land on the same pixels. */

.vr-menu, .vr-frame { box-sizing: border-box; height: 100%; }

/* ---- left frame: pano-menu.htm / object-menu.htm ---- */
.vr-menu {
  padding: 8px 8px 16px;          /* body margin 8; last <p> margin 16 collapses through it */
  text-align: center;
  background: #e4e4e4;
}
.vr-menu.objects { padding-top: 0; color: #343434; } /* <body topMargin="0" text="#343434"> */
.vr-menu.panos { color: #000; }
.vr-menu.panos a:link, .vr-menu.panos a:visited { color: #000; }
.vr-menu.objects a:link, .vr-menu.objects a:visited { color: #343434; }
.vr-menu a:active { color: red; }

.vr-hdr {
  /* <p><b><i><font face=arial size=1><br></font><font face=Verdana size=3>...  */
  margin: 11.5px 0 16px;          /* the empty size-1 line, then </p> */
  height: 19.5px;
  font: italic bold 16px Verdana, Helvetica, Arial, sans-serif;
  white-space: nowrap;
}
.vr-thumb { display: block; width: max-content; margin: 0 auto; }
.vr-thumb img { display: block; border: 1px solid; }
.vr-cap {
  font: 10px/12px Verdana, Helvetica, Arial, sans-serif;
  white-space: nowrap;
}

/* ---- right frame: mov/*.htm, objects/*.htm ---- */
.vr-frame { padding: 0 8px 8px; background: #e4e4e4; color: #000; }
.vr-frame a:link, .vr-frame a:visited { color: #343434; }
.vr-note { text-align: center; white-space: nowrap; }
.vr-note.verdana { font: 10px/12px Verdana, Helvetica, Arial, sans-serif; }
.vr-note.arial { font: 10px Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif; }

/* the <embed> box: viewer + 16px QuickTime controller strip */
.vr { margin-left: auto; margin-right: auto; display: flex; flex-direction: column; background: #000; }
.vr-view { flex: 1 1 auto; position: relative; overflow: hidden; outline: none; }
.vr .pnlm-container { background: #000; }
.vr .pnlm-about-msg { display: none !important; }
.vr .pnlm-load-box { width: 160px; height: 90px; margin: -45px 0 0 -80px; font-size: 13px; }
.vr .pnlm-load-box p { margin: 10px 0; }

.vr[data-object] .vr-view {
  background-color: #fff;
  background-repeat: no-repeat;
  cursor: grab;
  touch-action: none;
}
.vr[data-object] .vr-view.grabbing { cursor: grabbing; }
.vr-view:focus-visible { box-shadow: inset 0 0 0 2px #6a8fd0; }

.qt-bar {
  flex: 0 0 16px;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  height: 16px;
  border-top: 1px solid #7c7c7c;
  background: linear-gradient(#f2f2f2, #cfcfcf 55%, #bdbdbd);
}
.qt-bar button {
  all: unset;
  box-sizing: border-box;
  width: 22px;
  display: grid;
  place-items: center;
  border-right: 1px solid #9a9a9a;
  box-shadow: inset 1px 0 #fafafa;
  color: #333;
  cursor: default;
}
.qt-bar button:hover { background: linear-gradient(#fff, #dcdcdc); }
.qt-bar button:active, .qt-bar button[aria-pressed="true"] { background: linear-gradient(#bdbdbd, #e2e2e2); }
.qt-bar button:focus-visible { outline: 1px solid #3a6fd0; outline-offset: -2px; }
.qt-bar svg { width: 9px; height: 9px; display: block; }
