﻿html {
	height: 100%;
	-ms-overflow-style: -ms-autohiding-scrollbar;
}

body {
	height: 100%;
	margin: 0;
	font-family: arial;
	font-size: 14px;
	line-height: 1.3;
	background: #000;
	touch-action: none;
	user-select: none;
	user-drag: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
}

img {
	user-select: none;
	user-drag: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
}


/************************************************* mainscreen *****************************************************************/

#mainscreen {
	height: 100%;
	background: #000;
}

#divhelp {
	position: absolute;
	width: 60%;
	left: 50%;
	margin-left: -30%;
	top: 20px;
	text-align: center;
	color: #aaa;
	z-index: 1000;
}

.divlabel {
	position: absolute;
	box-sizing: border-box;
	font-size: 13px;
	color: #fff;
	text-align: center;
	xfont-family: cursive, lucida handwriting, xmonotype corsiva, cursive;
}

#sourcelabel {
	width: 40px;
	height: 60px;
	width: 50px;
	height: 54px;
	left: 0px;
}

#source {
	position: absolute;
	box-sizing: border-box;
	width: 40px;
	height: 20px;
	border: 1px solid #666;
	xbackground: #ddd;
	background: #fff;
	left: 5px;
	/*
	top: 50%;
	margin-top: -10px;	
	*/
}

#beam {
	position: absolute;
	box-sizing: border-box;
	width: 400px;
	height: 2px;
	background: #fff;
	left: 25px;
}

#spectrometer {
	position: absolute;
	box-sizing: border-box;
	width: 10px;
	height: 40px;
	background: #444;
	cursor: pointer;
}

#spectrometerlabel {
	position: absolute;
	box-sizing: border-box;
	width: 60px;
	height: 36px;
	width: 90px;
	height: 18px;
}

#slit1, #slit2, #cover1, #cover2 {
	position: absolute;
	box-sizing: border-box;
	width: 4px;
	height: 16px;
	background: #888;
	background: #444;
}

#cover1 {
	top: 0;
}

#cover2 {
	bottom: 0;
}

#spectrum {
	position: absolute;
	box-sizing: border-box;
	width: 40px;
	height: 300px;
	background-image: url(rainbow.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	top: 0;
}

#line1, #line2, #line3, #line4, #line5 {
	position: absolute;
	width: 40px; /*same as spectrum*/
	height: 2px;
	background: #000;
	top: -10%;
}

#gaslabel {
	width: 60px;
	height: 18px;
}

#gas {
	position: absolute;
	box-sizing: border-box;
	width: 60px;
	height: 40px;
	border: 1px solid #448;
	background: rgba(100, 150, 255, 0.3);
	cursor: pointer;
}

/************************************************* others *********************************************************************/

#output {
	position: absolute;
	width: 200px;
	height: 30px;
	padding: 0;
	top: 0;
	left: 0;
	overflow-y: auto;
	font: 12px/15px segoe ui, lucida console;
	background: rgba(240, 240, 240, 0.7);
	z-index: 10000;
	display: none;
}

#status {
	position: absolute;
	width: 200px;
	height: 60px;	
	padding: 0;
	top: 34px;
	left: 0;
	overflow-y: auto;
	font: 12px/15px segoe ui, lucida console;
	background: rgba(240, 240, 240, 0.7);
	z-index: 10000;
	display: none;
}

.spacer {
	width: 0;
	height: 0;
	clear: both;
}