html
	{
	text-align: left;
	width: 100%;
	background-color: white;
	}

body
	{
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	}

h1
	{
	font-size: 18pt;
	margin: 1em;
	margin-top:.5em;
	margin-left: .5em;
	}
h2
	{
	font-size: 14pt;
	margin: .8em;
	}
h3
	{
	font-size: 12.5pt;
	margin: .5em;
	}

nav
	{
	display: block;
	float:left;
	width: 16em;
	padding: 4px;
	overflow: auto;
	border-right: 1px dotted grey;	
	}
nav>ul
	{
	list-style-type: none;
	padding: 0px;
	margin: 0px;
	}
	
img
	{
	max-width: 98%
	}

.info
	{
	
	margin-left: 16em;
	padding: .5em;
	overflow: auto;
	}
	
.ssLink
	{/* On Std desktop we hide this cause the layout should make the screenshots already visible*/
	display: none;
	margin-top: .5em;
	}
	
.readMe
	{
	border: 1px solid darkgrey;
	padding: 3px;
	width: 70%;
	max-width: 65em;
	min-width: 45em;
	height: 22em;
	overflow: auto;
	resize: both;
	}
.readMe h2
	{
	font-size: 120%;
	font-weight: normal;
	}
.readMe h3
	{
	font-size: 110%;
	font-weight: normal;
	}
	
.ico
	{
	position: relative;
	top: 10px;
	}
	
.selected
	{ background-color: #ccf; }
	
.textLink
	{
	color: inherit;
	text-decoration: inherit;
	}
	
footer
	{
	display: block;
	margin: 2em;
	padding-top: 14em;
	clear: both;
	font-style: italic;
	}
	
p
	{ margin-bottom: .75em; }
	
table
	{
	border-collapse: collapse;
	border: 1px solid black;
	text-align: left;
	overflow: auto;
	text-decoration: inherit;
	font-size: inherit;
	}
thead, tbody, tr, th, td
	{
	border: 1px solid black;
	border-collapse: collapse;
	text-decoration: inherit;
	font-size: inherit;
	}
td
	{ text-align: left; }
thead
	{
	background-color: #c9c9c9;
	text-align: center;
	font-weight: bold;
	}



/*
 styles for thin-width mode (targeting mobile):
 kill the floats: arrange navigation, info, and screenshot blocks vertically using the entire width
 get rid of the readme scrollbox; display the whole text inline (pushes the screenshots way down... but you can't have everything)
 change the borders around a bit
 */
@media only screen and (max-width: 600px) 
	{
	nav
		{
		float: none;
		border-right: none;
		border-bottom: 2px dotted grey;
		width: 75%;
		margin-bottom: 1em;
		}
	nav h3
		{ font-size: 130%; }
	.info
		{
		float: none;
		margin: .5em;
		overflow: auto;
		width: 100%;
		}
	.ssLink
		{ display: block; }
	.readMe
		{
		border: none;
		border-left: 2.5px dashed grey;
		padding: .5em;
		padding-left: .2em;
		padding-right: .2em;
		width: 90%;
		max-width: none;
		min-width: inherit;
		height: auto;
		overflow: visible;
		
		}
	}

/*
 styles for thin-but-not-super-thin mode (targeting small desktop or landscape mobile):
 Same as mobile, except the nav box has two columns instead of one.
 */
 
@media only screen and (min-width: 601px) and (max-width: 1024px)
	{
	nav
		{
		float: none;
		text-align: center;
		border-right: none;
		border-bottom: 2px dotted grey;
		width: 100%;
		margin-bottom: 1em;
		}
	nav li
		{
		text-align: left;
		float: left;
		width: 49%;
		margin: .5%;
		border-top: 1px solid lightgrey;
		}
	nav h3
		{ font-size: 130%; }
	.info
		{
		float: none;
		margin: 1em;
		overflow: auto;
		width: 100%;
		}
	.ssLink
		{ display: block; }
	.readMe
		{
		border: none;
		border-left: 4px dashed grey;
		padding: .5em;
		width: 90%;
		max-width: none;
		min-width: inherit;
		height: auto;
		overflow: visible;
		}
	}
	
		
@media print
	{
	nav
		{ display: none; }
	footer
		{ display: none; }
	.info
		{
		float: none;
		margin: 1em;
		overflow: inherit;
		width: 100%;
		}
	.readMe
		{
		border: none;
		border-left: 4px dashed grey;
		padding: .5em;
		width: 95%;
		max-width: none;
		min-width: inherit;
		height: auto;
		overflow: inherit;
		}
	/*insert the download link's target as text:*/
	strong a::after
		{
		content: " (" attr(href) ")";
		}
	}
	/* Dark is the new 3d tv! */
@media (prefers-color-scheme: dark)
	{
	html
		{
		background-color: #171717;
		color: #EBEBEB;
		}
	a:link 
		{ color: #4DB2FF; }
	a:visited 
		{ color: #8763C5; }
	a:active 
		{ color: #0065B3; }
	a:hover 
		{ color: #0091FF; }
	nav
		{border-right: 1px dotted darkgrey;	}
	
	.selected
		{ background-color: #002B4D; }
	}