@charset "utf-8";
body {
	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
	background-color: #42413C;
	margin: 0;
	padding: 0;
	color: #000;
}
ul, ol, dl {
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
	padding-right: 15px;
	padding-left: 15px;
}
a img { 
	border: none;
}
a:link {
	color: #42413C;
	text-decoration: underline;
}
a:visited {
	color: #6E6C64;
	text-decoration: underline;
}
a:hover, a:active, a:focus { 
	text-decoration: none;
}
.container {
	width: 100%;
	background-color: #FFFFFF;
	margin: 0 auto;
}
header {
	background-image:url(../images/cont_bg3.png);
}
.scroll{}
.sidebar1 {
	float: right;
	width: 180px;
	background-color: #EADCAE;
	padding-bottom: 10px;
}
.content {
	padding: 10px 0;
	width: 80%;
	float: left;
	height:610px;
	background-color: #f9fcf7;
}
.content ul, .content ol {
	padding: 0 15px 15px 40px;
}
nav ul{
	list-style: none;
	border-top: 1px solid #666;
	margin-bottom: 15px;
}
nav li {
	border-bottom: 1px solid #666;
}
nav a, nav a:visited {
	padding: 5px 5px 5px 15px;
	display: block;
	width: 160px;
	text-decoration: none;
	background-color: #C6D580;
}
nav a:hover, nav a:active, nav a:focus { 
	background-color: #ADB96E;
	color: #FFF;
}
footer {
	padding: 10px 0;
	background-color: #CCC49F;
	
	width:auto;
	clear: both;
}
header, section, footer, aside, article, figure {
	display: block;
}
input[type='range'] {
	position:absolute;
	top:70px;
	color:#020202;
	width:100px;
   transform: rotate(-90deg);
}
.sidebar1 {
	float: left;
	width: 180px;
	background-color: #EADCAE;
	padding-bottom: 10px;
}
.sidebar {
	float: left;
	width: 180px;
	background-color: #EADCAE;
	padding-bottom: 10px;
}
aside {
	float: right;
	width: 20%;
	height:610px;
	background-color: #ecefea;
	text-align:center;
	padding: 10px 0;
}

/* === DESHYA_VLAB_LAYOUT_PATCH_BEGIN === */
/*
  v4 (em-vlab-p1 aligned):
  - Do NOT change JS-driven positioning.
  - Clip media so diagram never overlaps the right panel.
  - Make question panel scroll internally.
  - Make disabled nav truly non-clickable.
*/

* { box-sizing: border-box; }

a.disabled,
a[aria-disabled="true"],
a[href="#"] {
  pointer-events: none !important;
  cursor: default !important;
  opacity: 0.55 !important;
  text-decoration: none !important;
}

#chartArea { overflow: visible !important; }

/* Media box: clip overflow so diagram never overlaps the right Description column */
#chartArea #mediaPlayer {
  overflow: hidden !important;
  background: #000 !important;
}

/* Fit diagram inside media box */
#chartArea #mediaPlayer canvas,
#chartArea #mediaPlayer img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Questions: scroll inside instead of expanding the page */
#chartArea #qq1 {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: 320px !important;
}

@media (min-height: 800px) {
  #chartArea #qq1 {
    max-height: 420px !important;
  }
}

/* === PE-VLAB: make diagram fully visible (applies to all labs) === */
#mediaPlayer{
  height: 420px !important;     /* was 355px in inline JS */
  overflow: hidden !important;  /* keeps it clean */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Images inserted into mediaPlayer should fit without cropping */
#mediaPlayer img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;   /* key: show whole image */
  display: block !important;
}

/* Canvas mode (charts): prevent bottom cut */
#mediaPlayer canvas{
  top: 0px !important;          /* overrides inline top:25px */
}

/* === DESHYA_VLAB_LAYOUT_PATCH_END === */

