/*
		static/css/webcam-light.css
		===========================

		MH, 5.22, 04.25
*/

h2 ~ #screen {
  margin-top: 0;
}

#webcam-img { 
  position: absolute;
  top: 0;
  left: 0;
}

#webcam-testcard {
  filter: blur(.5px);
}

#screen img {
  margin: 0;
  max-height: 288px;
}

#image {
  top :0;
	left: 0;
	position: absolute;
	height: 288px;
}

.viewport {
  display: inline-block;
  position:absolute;
  bottom: -1px;
  background-color:#ffffff;
  height:16px;
  line-height:16px;
  font-size:11px;
  font-weight:700;
  visibility: hidden;
  filter: blur(.5px);
  text-align: center;
 }

.viewport.date {
	right: 79px;
	width: 108px;
}

.viewport.time {
  right: 0;
  width: 80px;
  color: black;
}

.viewport.testcard {
  height: 7%;
  width: 32.9%;
  line-height: 1.5em;
  font-size: 13px;
  background-color: transparent;
  top: 64%;
  text-align: center;
}

 #viewport-date,
 #viewport-clock {
  display: block;
  width:100%;
  font-size: inherit;
  color: black;
  line-height: inherit;
 }

 #screen svg.placeholder > rect {
	fill: #fbfbfb
}

.viewport.date.testcard {
  left: 16%;
}

.viewport.time.testcard {
  left: 51%;
}

#screen {
	max-width: 99.5%;
	margin: 16px auto 30px auto;
  width: 352px;
  height: 288px;
}

#screen img {
  width: inherit;
  height: inherit;
  object-fit: cover;
}