:root {
  --rowHeight: 98vh;
  --colWidth: 98vw;
  --localRowHeight: 32vh;
  --videoHeight: 480px;
  --videoWidth: 640px;
  --frameHeight: 480px;
  --frameWidth: 640px;
  --topMar: 80px;
  --leftMar: 60px;
  --leftImageMar: 0px;
}

body {
  background: white;
  min-width: 600px !important;

  color: #fff;
	font-family: Monospace;
	font-size: 13px;
	line-height: 24px;
  overscroll-behavior: none;
  
  cursor: crosshair;

}

.videos {
  display: grid;
  grid-gap: 50px;
  grid-auto-flow: row;

  grid-template-columns: repeat(auto-fit, minmax(var(--colWidth), 1fr));
}

.host {
  /* display: grid; */
  float: left;
  z-index:2;
}

.videoContainer {
  position: relative;
  overflow: hidden;

  min-height: var(--rowHeight);
  min-width: var(--colWidth);

  z-index: 100;
}

.videoContainer video {
  /* position: relative; */
  /* left: 0; */
  /* bottom: 0; */
  margin-top: var(--topMar);
  margin-left: var(--leftMar);
  height: var(--videoHeight);
  width: var(--videoWidth);

  display: block;
  /* margin: 0 auto; */
  transform: scale(-1, 1);

  /* position: absolute;
      left: 0;
      bottom: 0;
      height: auto;
      width: 100%; */
}

.hostVideoContainer {
  position: fixed;
  overflow: hidden;
  z-index: 100;
  height: 300px;
  width: 250px;
}

.hostVideoContainer video {
  /* position: relative; */
  /* left: 0; */
  /* bottom: 0; */
  /* margin-top: var(--topMar);
  margin-left: var(--leftMar); */

  display: block;
  /* margin: 0 auto; */
  transform: scale(-1, 1);
  height: 256px;
  width: 192px;

  /* position: absolute;
      left: 0;
      bottom: 0;
      height: auto;
      width: 100%; */
}

.videoContainer canvas {
  /* position: relative; */
  /* left: 0; */
  /* bottom: 0; */
  margin-top: var(--topMar);
  margin-left: var(--leftMar);
  height: var(--videoHeight);
  width: var(--videoWidth);

  display: block;
  /* margin: 0 auto; */
  transform: scale(-1, 1);

  /* position: absolute;
      left: 0;
      bottom: 0;
      height: auto;
      width: 100%; */
}

canvas {
  pointer-events: initial;
  margin: auto;
}

#photo3d {
  clip-path: url(#outterClip);
  background-color: rgb(87, 87, 87) !important;
  margin: auto;
}

#photo3d canvas {
  clip-path: url(#innerClip);
}

#plotting_canvas {
  margin: auto;
}

.frames {
  display: grid;
  grid-gap: 50px;
  grid-auto-flow: row;

  grid-template-columns: repeat(auto-fit, minmax(var(--colWidth), 1fr));
}

.dpi{
  height: 1in; 
  width: 1in; 
  left: 100%; 
  position: fixed; 
  top: 100%;
}

.frameContainer {
  position: relative;
  overflow: hidden;

  min-height: var(--rowHeight);
  min-width: var(--colWidth);
}

.regularFrame {
  position: fixed;
  margin-left: var(--leftImageMar);
  /* left: 0; */
  top: 0;
  /* bottom: 0; */
  height: var(--frameHeight);
  width: var(--frameWidth);

  display: block;
  /* margin: 0 auto; */
  z-index: 1;
  /* border:5px dashed #0000cc; */
  /* transform: scale(-1, 1); */
}

.webgl{
  z-index: 1;
  position:fixed;
  top:0;
  left:0px;
}

.regularArrow{
    position: fixed;
    top: 0;
    margin-left: 0;
    z-index: -1;
    height: auto;
  width: 100px;
}

.videoContainerGaze {
  position: relative;
  overflow: hidden;

  min-height: var(--rowHeight);
  min-width: var(--colWidth);
}
.videoContainerGaze video {
  /* position: relative; */
  /* left: 0; */
  bottom: 0;
  height: var(--videoHeight) * 0.8;
  width: var(--videoWidth) * 0.8;

  display: block;
  margin: 0 auto;
  transform: scale(-1, 1);

  border: 5px dashed #0000cc;
  padding-left: 4px;

  z-index: 0;
}
/* border:5px dashed #0000cc;padding-left:4px */

.localVideoContainer {
  position: relative;
  overflow: hidden;
  left: 40%;
  top: 25%;
  height: auto;
  width: 20%;
  display: none;

  /* min-height: var(--localRowHeight); */
  /* min-width: var(--colWidth); */
}

.localVideoContainer video {
  position: absolute;
  left: 0;
  top: 0;
  height: auto;
  width: 100%;
}

.webglContainer{
  transform: scale(-1, 1);
}

.videoLabel {
  color: white;
  font: bold 18px Arial, Sans-Serif;
  line-height: 18px;
  height: 18px;

  /* background: rgba(0, 0, 0, 0.55); */

  position: float;
  left: 40%;
  /* margin-right: -50%; */
  bottom: 0;
  padding: 4px;
  z-index: 2;
}

/* Video Feed Styling */
#overlay {
  z-index: 1;
}

/* Navbar styling */
#webgazerNavbar {
  left: 320px;
  bottom: 0px;
  z-index: 0;
  box-shadow: 0px 3px 5px #ddd;
  border: 0px;
  background-color: #fff;
}

#Accuracy a {
  background-color: #222;
  color: #eee;
  left: -15px;
  padding-left: 80px;
  padding-right: 40px;
}
#Accuracy {
  background-color: #222;
  padding-left: inherit;
}

li {
  padding-left: 50px;
}
.navbar-right li {
  padding-right: 20px;
}

.helpBtn {
  padding: 15px;
  border: none;
  background: none;
  color: #777;
}
.helpBtn a {
  background: none;
  color: #777;
}
.helpBtn a:hover {
  color: black !important;
  text-decoration: none;
}
.modal-header {
  border-bottom: none !important;
}
/* .modal-content{
  display: none
} */
.loading{
  /* position: fixed; */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Calibration button styling */
.Calibration {
  width: 20px;
  height: 20px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  background-color: red;
  opacity: 0.2;
  border-color: black;
  border-style: solid;
  position: fixed;
}

/* Calibration point position */
#Pt1 {
  top: 70px;
  left: 340px;
}
#Pt2 {
  top: 70px;
  left: 50vw;
  margin-left: 340;
}
#Pt3 {
  top: 70px;
  right: 2vw;
}
#Pt4 {
  top: 50vh;
  left: 2vw;
}
#Pt5 {
  top: 50vh;
  left: 50vw;
}
#Pt6 {
  top: 50vh;
  right: 2vw;
}
#Pt7 {
  bottom: 2vw;
  left: 2vw;
}
#Pt8 {
  bottom: 2vw;
  left: 50vw;
}
#Pt9 {
  bottom: 2vw;
  right: 2vw;
}
