/* Written by Brice (inspired by many). */

/* General styles */


/* html, body, .container { height: 100%; } */

body {
	color: #000;
	font-family: 'Droid Serif', Times, serif;
	font-size: 10px;
	margin: 0 auto;
	padding: 0;
}

header, article, footer {
	display: -moz-box;
	display: -o-box;
	display: -webkit-box;
	display: box;
	width: 100%;
}

header, article {
	border-width: 0 10px;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

section {
	display: block;
	background-color: rgba(90,102,130,0.75);
}

.container {
	background-color: rgba(90,102,130,0.25);
	width: 80%;
	min-width: 850px;
	-moz-box-shadow: 3px 3px 7px #777;
	-o-box-shadow: 3px 3px 7px #777;
	-webkit-box-shadow: 3px 3px 7px #777;
	box-shadow: 3px 3px 7px #777;
	margin-left:150px;
	margin-right:150px;

}




/* Typography */

h1, h2, h3, h4, p {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4 { font-family: 'Open Sans', Helvetica, Arial, sans-serif; }

h1 {
	color: #111;
	font-size: 240%;
	line-height: 1;
	text-shadow: 1px 1px white;
}

h2 {
	font-size: 180%;
	line-height: 1.166;
	margin-bottom: 4px;
	margin-top: 4px;
}

h3 {
	font-size: 150%;
	line-height: 1.166;
	margin-bottom: 4px;
	margin-top: 4px;
}

h4 {
	font-size: 120%;
	line-height: 1.166;
	margin-bottom: 4px;
	margin-top: 4px;
}


h1 a {
	color: #222;
	text-decoration: none;
}

h1 a:hover { color: rgba(90,102,130,0.7); }

h2 a {
	color: #222;
	text-decoration: none;
}

h2 a:hover { color: rgba(90,102,130,0.7); }

ul ul {
	font-size: 110%;
	line-height: 1.54;
	font-family: 'Droid Sans', Helvetica, Arial, sans-serif;
}
ul ul {
	font-size: 100%;
	line-height: 1.54;
	font-family: 'Droid Sans', Helvetica, Arial, sans-serif;
}

ul {
	font-size: 120%;
	line-height: 1.54;
	font-family: 'Droid Sans', Helvetica, Arial, sans-serif;
}

p {
	margin : 1em 0em;
	font-size: 120%;
	line-height: 1.54;
	font-family: 'Droid Sans', Helvetica, Arial, sans-serif;
}

/* Header */

header {
	-moz-box-align: center;
	-o-box-align: center;
	-webkit-box-align: center;
	box-align:center;
	-moz-box-pack: center;
	-o-box-pack: center;
	-webkit-box-pack: center;
	box-pack: center;
	min-height: 200px;
}

header div {
	align: center;
	text-align: center;
	margin-left:auto;
	margin-right:auto;

	-moz-box-flex: 0;
	-o-box-flex: 0;
	-webkit-box-flex: 0;
	box-flex: 0;
	background-color: rgba(255,255,255,1.0);
	-moz-border-radius: 6px;
	-o-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	padding: 10px;
	min-width: 480px;
	width: 50%;
}

header p {
	color: black;
	font-size: 160%;
	line-height: 1.5;
	text-shadow: 1px 1px white;
}

/* Main Content */
.main{
	-moz-box-align: center;
	-o-box-align: center;
	-webkit-box-align: center;
	box-align:center;
	-moz-box-pack: center;
	-o-box-pack: center;
	-webkit-box-pack: center;
	box-pack: center;

	/* align:center; */

	background-color: #DDD;
	padding: 5px;
	/* margin-right: 10px; */
	/* margin-left: 5px; */
	/* width:99%; */
	/* float:center; */
	/* min-width: 830px; */
	/* width: 79%; */
	margin-left: 1%;;
	margin-right: 1%;;

	border-radius: 6px;

}


article {
	padding: 0px;
}


section {
	-moz-box-flex: 1;
	-o-box-flex: 1;
	-webkit-box-flex: 1;
	box-flex: 1;
	background-color: #FFF;
	color: #000;
	border: 10px solid #DDD;
	padding: 10px;
	width: 180px;
	/* opera does not like this */
}

/* Footer */

footer {
	-moz-box-align: center;
	-o-box-align: center;
	-webkit-box-align: center;
	box-align: center;
	-moz-box-pack: end;
	-o-box-pack: end;
	-webkit-box-pack: end;
	box-pack: end;
	min-height: 100px;
}

footer div {
	margin-top:20px;
	font-style: italic;
	padding: 10px;
	min-width: 400px;
}


nav {
	position:fixed;

	top: 0;
	left:0;


}

nav ul {
	list-style: none;
	padding-left: 10px;
	padding-right: 10px;
	width: auto;


}

nav ul li {
	width: auto;
	background-color: rgba(90,102,130,0.5);
	-moz-border-radius: 6px;
	-o-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;

	margin-top: 10px;
	margin-bottom: 10px;

	padding-left: 10px;
	padding-right: 10px;
	padding-top: 1px;
	padding-bottom: 1px;
	line-height: 1.3;
	text-align: center;
	font-size: 100%;
}

nav ul li a {
	text-decoration: none;
	color: #111;
}

nav ul li a:hover {
	color: #fff;
}

nav p.selected a {
	color: #fff;
}

/* nav ul li.subscribe a {
	margin-left: 22px;
	padding-left: 33px;
	text-align: left;
	background: url("rss.png") left center no-repeat;
}                                                              */


