/*
 * 	Author: Adrian Sampson
*/

html, body {
	background:#F3F3F3;
	font-family:Verdana,sans-serif;
	font-size:10pt;
	height:100%;
	margin:0;
}

h1, h2, h3, h4 {
	font-family:"Segoe UI","Trebuchet MS",Tahoma,sans-serif;
}

h1, h2, h3, h4, .newsItemHeader, a[href] {
	color:#4284C9;
}

h1 {
	border-bottom:1px solid #CCC;
	margin-top:0;
	padding-bottom:0.5em;
}

h2 {
	font-size:1.5em;
	position:relative;
}

/*hr {
	border-top:1px solid #CACACA;
	border-bottom:1px solid #FFF;
}*/

a[href] {
	font-weight:bold;
}

a img {
	border:none;
}

#Container {
	min-height:100%;
	position:relative;
}

#Header, #Footer, #SubNav li a:hover {
	background:#222;
}

#Header {
	width:100%;
	height:7em;
	position:fixed;
	top:0;
	z-index:100;
}

#Header div {
	width:70em;
	margin:0 auto;
	white-space:nowrap;
}

#Logo {
	outline:none;
	text-decoration:none;
	margin:1.3em 3em 0 0;
	float:left;
}

#Logo img {
	border:none;
	vertical-align:middle;
}

#Header ul {
	list-style:none;
	padding:0;
	margin:3em 0 0;
	float:left;
}

#Header ul li {
	text-align:center;
	margin:0 1.5em;
	display:inline-block;
}

#Header ul li a, #SubNav li a {
	outline:none;
	text-decoration:none;
	font-family:"Segoe UI","Trebuchet MS",Tahoma,sans-serif;
}

#Header ul li a {
	border-bottom:3px solid transparent;
	color:#FAFAFA;
	font-family:'Trebuchet MS',sans-serif;
	/* font-size: 1.15em; */
	padding-bottom: 0.35em;
}

#Header ul li a.active, #Header ul li a:hover {
	border-color:#4284C9;
}

#Middle {
	padding: 8em 0 9em;
}

a#TopAnchor {
	position:absolute;
	top:0;
}

#SubNav {
	list-style:none;
	width:25%;
	padding:0;
	margin:0;
	white-space:nowrap;
	position:fixed;
	left:0;
}

#SubNav li {
	margin:0.65em 0.5em;
}

#SubNav a {
	-moz-border-radius:0.75em;
	border-radius:0.75em;
	font-size:0.85em;
	padding:0.4em 1.25em;
}

#SubNav a:hover {
	color:#4891DE;
}

#Content {
	padding:0 4% 0 3%;
}

#Content.partialWidth {
	width:70%;
	padding-left:17.5em;
}

#Content li {
	color:#3A75B3;
	font-size:0.9em;
	font-weight:bold;
}

#Content li span {
	color:#000;
	font-weight:normal;
}

#Footer {
	border-top:2px solid #141414;
	width:100%;
	height:7em;
	padding:0.4em 0;
	clear:both;
	position:absolute;
	bottom:0;
}

#FooterButtons {
	text-align:center;
	width:200px;
	margin:0.25em auto 0.5em;
}

#FooterButtons a {
	color:#000;
	display:inline-block;
}

a#GithubLink {
	margin:0.25em 0 1em;
	color:#fff;
	text-decoration: none;
}

#FooterButtons a.spriteLink {
	background-image:url('sprites.png');
	background-repeat:no-repeat;
	text-indent:-9999px;
	overflow:hidden;
}

a#DonationLink {
	background-position:left -30px;
	width:88px;
	height:32px;
}

a#ValidMarkupLink {
	background-position:-90px -30px;
	width:88px;
	height:31px;
	margin-bottom:1px;
}

#Footer p {
	color:#EEE;
	font-size:10px;
	text-align:center;
	margin:0;
}

.newsItem + .newsItem {
	border-top:1px solid #CCC;
	padding-top:1em;
}

.newsItemHeader, .newsItemSubHeader {
	font-weight:bold;
	display:block;
}

.newsItemHeader {
	font-size:1em;
}

.newsItemSubHeader {
	font-size:0.9em;
	margin:1em 0 0 2.5em;
}

.snippet {
	-moz-border-radius:0.75em;
	border-radius:0.75em;
	color:black;
	font-family:"Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono",
	"Liberation Mono","Nimbus Mono L",Monaco,monospace;
	font-size:0.85em;
	padding:1em;
	margin-left:2em;
	background:#ccc;
}

.snippet span {
	margin-left:0.5em;
	display:block;
}

a.toTop {
	font-size:0.75em;
	text-decoration:none;
	margin:0 0.5em;
}

a.pageAnchor {
	height:0;
	position:absolute;
	top:-5.45em;
	visibility:hidden;
	display:block;
}

/* Utility */
.indented , span.indented {
	margin-left:3em;
}

.centered {
	text-align:center;
}

.clear:after {
	content:'.';
	height:0;
	clear:both;
	display:block;
	visibility:hidden;
}

/* Language selection form */

#Header {
     white-space:nowrap;
}

#Header form#LangForm {
     text-align:right;
     margin:3em 2em 0 0;
}

