﻿body {
	background-color: black;
	color: #d5e1f1;
	
	margin: 0;
	font-size: 18pt;
}

input, select {
	font-size: 14pt;
}

.utilForm {
	margin: 0 auto;
	
	padding: 0;
	padding-top: 20pt;
	

	width: 100%;
	max-width: 450pt;
}

.utilForm input, .utilForm select, .utilForm output {
	float: left;
	color: #d5e1f1;
	background-color: black;
	width: 40%;		
}

.utilForm label {
	clear: left;
	float: left;
	width: 55%;
	margin-bottom: 15pt;
	
}

.utilForm .divider {
	clear: left;
	float: left;
	width: 100%; 
	height: 1.5pt;
	background-color: gray;	
	margin-top: -8pt;
	margin-bottom: 16pt;
}

.touch #numEfficiency {
	display: none;
}

.notouch #selEfficiency {
	display: none;
}

#content {
	width: 100%;
	max-width: 880pt;	
	margin: 0 auto;
	overflow: hidden;
}

.notouch nav ul {
	max-width: 880pt;
}

nav ul {
	list-style-type: none;
	margin: 0 auto;
	padding: 0;	
	overflow: hidden;
}

nav ul li {
	cursor: pointer;
	font-family: Arial;
	font-size: 24pt;
	font-weight: bold;
	
	color: #79a3d7;
	
	text-align: center;
	width: 33.333333%;
	float: left;
	background-color: #1a4876;
	padding-top: 3.75pt;
	padding-bottom: 3.75pt;
}

.navSelected {
	color: #d8e2ed;
	background-color: #8057e8;
}

.notouch nav ul li:hover {
	color: #d8e2ed;
}

table {
	border-spacing: 0;
    border-collapse: collapse;
}

#pageTechList { 
	height: 100%;
	overflow: hidden;
}


#tblTechList {
	width: 100%;	
}

#tblTechList td {
	padding: 7.5pt;
	cursor: default;
}

.notouch #tblTechList tr:hover {
	background-color: #dc6815;
	color: black;
}
 
.selected {
	background-color: #cbbbf2;
	color: black
}

#divPreqs {
	color: gray;
	padding-left: 16pt;
	padding-top: 16pt;
}

#lstPreqs {	
	padding-left: 34pt;
}

.scrollbox {
	float: left;
	width: 50%;	
	overflow-y: auto;
}

.researched {
	text-decoration: line-through;
	color: gray;
}

.cbResearched {
	width: 42px;
	height: 42px;
	background-position: 0px 42px;
	background-image: url(images.png);
}

.cbNotResearched {
	width: 42px;
	height: 42px;
	background-position: 42px 42px;
	background-image: url(images.png);
}

#btnSettings {
	width: 38px;
	height: 38px;
	background-image: url("images.png");
	background-position: 0px 80px;
	position: fixed;
	right: 7.5pt;
	bottom: 7.5pt;
}

#settingsRoot {
	position: fixed;
	top: 0pt;
	bottom: 0pt;
	right: 0pt;
	left: 0pt;
	background-color: rgba(220, 236, 241, 0.66);
}

#pnlSettings {	
	text-align: center;
	padding-top: 5pt;
	padding-bottom: 5pt;
	background-color: black;
	position: fixed;
	top: 50%;
	left: 50%;
	margin: -51pt 0 0 -140pt;
	width: 280pt;

	-webkit-border-radius: 12pt;
	-moz-border-radius: 12pt;
	border-radius: 12pt;
}

	#pnlSettings input[type=button] {
		width: 120pt;
		height: 30pt;
		margin-top: 10pt;
	}

	#pnlSettings select {
		width: 120pt;
	}

.fileLoader {
  /* Note: display:none on the input won't trigger the click event in WebKit.
     Setting visibility to hidden and width 0 works.*/
  visibility: hidden;
  width: 0;
  height: 0;

}

.hidden {
	display: none;
}

@media (max-width: 480pt) {

	body {
		font-size: 14pt;
	}

	input, select {
		font-size: 10pt;
	}

	nav ul li {
		font-size: 16pt;
	}

	#lstPreqs {
		padding-left: 26pt;
	}

	#pnlSettings {
		margin-left: -110pt;
		margin-top: -45pt;
		width: 220pt;

		-webkit-border-radius: 8pt;
		-moz-border-radius: 8pt;
		border-radius: 8pt;
	}

	#pnlSettings input[type=button] {
		width: 90pt;
		height: 24pt;
		margin-top: 6pt;
	}
}

@media ( max-height: 240pt ) {

	.utilForm {
		padding-top: 10pt;
	}
	.utilForm label {
		margin-bottom: 10pt;
	}

	.utilForm .divider {
		margin-top: -3pt;
		margin-bottom: 8pt;
	}
}