

.vt-pano {
/*   width: 640px; */
/*   height: 360px; */
  width: calc( 100vw - 18em - 44px );
  height: calc( 56vw - 9em - 22px );
  max-height: 540px;
  max-width: 960px;
/*   border: 1px dotted red; */
}

.vt-inner {
/*   width: 800px; */
  display: inline-block;
/*   border: 1px dotted green; */
}

/* red dot */
.vt-center {
  width: 6px;
  height: 6px;
  background-color: red;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 171px;
  left: 317px;
  left:calc(50% - 3px);
  top:calc(50% - 3px);
  z-index: 2;
  border-radius: 12px;
}

div.center {
  text-align: center;
}

.pnlm-about-msg {
/*   https://github.com/mpetroff/pannellum/issues/1016#issuecomment-890360610 */
  display: none !important;
}

#bodywrap {
  width: 100%;
  padding:0;
  box-shadow: none;
}

#sceneview0, #scenenorth0 {
  display: block;
  position: absolute;
  bottom: 4px;
  left: 4px;
  background-color: rgba(0,0,0,.4);
  padding: 0 3px;
  color: white;
  z-index: 3;
}
#scenenorth0 {
  right: 4px;
  left: unset;
}

#inner1 {
  height: calc( 56vw - 9em - 22px );
  max-height: 540px;
  width: 12em;
  overflow-y: scroll;
  border: 1px dotted red;
  margin-left: 1em;
}
#vt-table {
  width: 99%;
  border-collapse: collapse;
  cursor: pointer;
}
#vt-table td {
  border: 1px solid #ccc;
  text-align: center;
}
#vt-table tr.current {
  border: 2px solid blue;
  background-color: #ffa;
  font-weight: bold;
}

#vt-table tr.current td.renhs, #vt-table tr.current td.addhs , #vt-table tr.current td.delhs {
/*   display: none; */
  color: transparent;
}


#vt-table tr:hover {
  background-color: #83bae8;
}

#vt-table td:hover {
background-color: #4f0;
}

#vt-table tr td.addhs, #vt-table tr td.delhs {
  color: #888;
}

#vt-table tr.istarget  td {
  font-weight: bold;
  text-shadow: 2px 2px 2px #888;
}

#vt-table tr.istarget  td.addhs{
  color: blue;
}

#vt-table tr.istarget  td.delhs{
  color: red;
}

#vt-table tr.istarget  td.renhs{
  color: green;
}
#rolllist:empty,#rolllist-fb:empty {display: none;}
#rolllist:before {
  content: "RollList N: ";
  font-weight: bold;
}

#rolllist-fb:before {
  content: "RollList FB: ";
  font-weight: bold;
}

#rolllist { cursor: pointer; }

#hzpitch, #hzroll {
  width: 5em;
}

input[type="button"] {
  padding: 0;
  height: 29px;
}

.vt-grid {
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  z-index: 2;
  pointer-events: none;
  background: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%22800%22%20height%3D%22800%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cdefs%3E%20%3Cpattern%20id%3D%22smallGrid%22%20width%3D%2210%22%20height%3D%2210%22%20patternUnits%3D%22userSpaceOnUse%22%3E%20%3Cpath%20d%3D%22M%2010%200%20L%200%200%200%2010%22%20fill%3D%22none%22%20stroke%3D%22gray%22%20stroke-width%3D%220.5%22%2F%3E%20%3C%2Fpattern%3E%20%3Cpattern%20id%3D%22grid%22%20width%3D%22100%22%20height%3D%22100%22%20patternUnits%3D%22userSpaceOnUse%22%3E%20%3Crect%20width%3D%22100%22%20height%3D%22100%22%20fill%3D%22url(%23smallGrid)%22%2F%3E%20%3Cpath%20d%3D%22M%20100%200%20L%200%200%200%20100%22%20fill%3D%22none%22%20stroke%3D%22%230f0%22%20stroke-width%3D%221%22%2F%3E%20%3C%2Fpattern%3E%20%3C%2Fdefs%3E%20%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%23grid)%22%20%2F%3E%20%3C%2Fsvg%3E") 50% 50%;
  display: none;
}

#chk_grid:checked ~ #pano0 .vt-grid { display: block; }


div.pnlm-tooltip span.pnlm-pointer { cursor: pointer; }

#vt-table td.openinfo { 
  line-height: 9px;
  font-size: 9px;
  text-align: left;
}

.pnlm-hotspot aside {
  text-align: left;
}

#vt_conf, #vt_json { display: none; } 
#showjson:checked ~ #vt_conf, #showjson:checked ~ #vt_json { display: inline; } 

#vt_compact { width: 98%; }

.vt-inner input, .vt-inner  select {
  padding: 2px;
  border-width: 1px;
  border-radius: 4px;
  margin: 0 2px;
}
input.fx {
  font-weight: bold;
  width: 3.4em;
  text-align: right;
  border-width: 2px;
  border-style: solid;
}

#fxBrightness {
  border-color: #aaa;
  color: #aaa;
}

#fxContrast {
  border: 1px solid black;
  font-weight: normal;
}

#fxSaturation {
  border-color: red;
  background-color: #ff0;
  color: green;
}


#fxHue {
  border-left: 6px solid magenta;
  border-right: 6px solid teal;
}

#fxGammaR { color: red; border-color: red; }
#fxGammaG { color: green;  border-color: green;}
#fxGammaB { color: blue;  border-color: blue;}

#pano0 canvas {
  filter: url(#virtour-filters);
}

table.isRoll td.openscene {
  color: #a00;
}

table.isRoll td.openscene:has(.north-done) {
  color: green;
}
