/* Tales of Irnh Website Stylesheet */
/* (c) 2013-2014, TNT Productions, all rights reserved. */

/* 
	Here's for when we display this on the web 
*/
@media screen {
	html {
		margin: 2em;
		padding: 0;
	}

	article, footer, header, nav {
		display: block;
	}
	
	article {
		float: right;
		margin: 0.5em 0 0.5em 0;
		width: 79%;
	}
	
	footer {
		clear: both;
	}
	
	header {
	}
	
	header.usingBackgroundImage {
		background-image: url('Images/alien_horizon_by_argothar-d68e7ry.png'); 
		background-repeat: no-repeat;
		background-position: center;
		/* Image is 363 height x 1024 wide. Cutting the height down gets rid of
		a black border on the bottom. */
		height: 338px;
		width: 1024px;
	}
	
	header.usingBackgroundImage h3.usingBackgroundImage {
		color: ivory;
		font-size: 350%;
	}
	
	nav {
		background-color: ivory;
		border: 1px solid #cc3300;
		float: left;
		margin: 1em 0 0.5em 0;
		width: 18%;
	}
	
	nav a {
		text-decoration: none;
	}
	
	nav p {
		margin: 0.5em 0 0.5em 1em;
	}
	
	nav p.navigationIndentation {
		margin: 0.5em 0 0.5em 2em;
	}
}

/* 
	Here's for when we need to print the bluesheets. 
*/
@media print {
	html {
		/* 
		For the bluesheets, we can shrink the size of the font to save some
		paper.
		*/
		font-size: 10pt;
		margin: 1em 2em 2em 5em;
		padding: 0;
	}
	
	/* This takes the whole page. */
	article {
		display: block;
		margin: 0.5em 0 0.5em 0;
	}
	
	footer {
		clear: both;
		display: block;
	}
	
	/* Simple, with no background image or color changes. Just the defaults. */
	header {
		display: block;
	}

	/* This just disappears. */
	nav {
		display: none;
	}
}

/*
	This is the common formatting.
*/
body {
	/* For some reason, Skia produces a dense, thick, clunky Skia Black, which 
	is not what we originally had. Optima is sleeker, like the Skia of old. */
	font: 100% Optima, Futura, Century Gothic, Big Caslon, Helvetica;
	margin: 0;
	padding: 0;
}

header h3 {
	font-size: 150%;
	margin: 0;
	padding: 20px 0 0 0;
	text-align: center;
}

footer, h4 {
	border-top: 1px solid black;
	border-left: 1px solid black;
	font-size: 100%;
	margin: 0.5em 0 0 0;
	padding: 0.25em;
}
	
h5 {
	background-color: #eeeeee;
	border: 1px solid black;
	font-size: 100%;
	margin: 0;
	padding: 0.25em 0;
	text-align: center;
}
	
div.inspirationalQuote {
	background-color: #eeeeee;
	border: 1px solid black;
	font-style: italic;
	margin: 1.5em 8em;
	padding: 0.5em;
}

div.inspirationalQuote p.citation {
	font-style: normal;
	margin: 0;
	text-align: right;
}

div.questionnaireInstructions {
	background-color: #eeeeee;
	border: 1px solid black;
	margin: 1em 10% 0 10%;
	padding: 5px;
}

ul.statementRanking {
	list-style-type: none;
	margin: 0.25em;
	padding: 0.5em; 
}

ul.statementRanking li {
	margin: 0.5em;
	padding: 0;
}

table {
	border-bottom: 1px solid black;
	border-right: 1px solid black;
	margin: 0.5em 0;
	padding: 0;
	width: 100%;
}

tr.headerRow, tr.statisticsHeader {
	background-color: #eeeeee;
	font-weight: bold;
}

/* In the rules page */
td.ruleDefinition table.characterStatistics {
	margin: 0 0 0.5em 1em;
	width: 15%;
}

table.characterStatistics td {
	border-top: 1px solid black;
	border-left: 1px solid black;
	vertical-align: top;
}

td.ruleTerm {
	background-color: #eeeeee;
	font-weight: bold;
	vertical-align: top;
}

td.runName {
	white-space: nowrap;
}

td.runDate,
td.statisticValue {
	text-align: center;
}

td.trackIdentifier {
	text-align: center;
	white-space: nowrap;
}

td {
	border-top: 1px solid black;
	border-left: 1px solid black;
	padding: 5px;
}

