
/*Tell the browser to render HTML5 elements as block */
header, section, footer, aside, nav, article, figure {  
	display: block;  
} 

html {
	background-color: #0099FF;
}

/********* GLOBAL ***********/
/* Body */
body {
    margin: 10px auto;
    padding: 10px;
 	width: 800px;   
	
 	color: #000000;
	background-color:#FFFFFF;
	border: solid #4A718C 1px;
	
	font-size: 75%;
	font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	
	border-radius: 5px;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

a:hover {
    color: #FF9900;
}

/* Headings */
h2 {font-size: 1.571em} /* 22px */
h3 {font-size: 1.429em} /* 20px */
h4 {font-size: 1.286em} /* 18px */
h5 {font-size: 1.143em} /* 16px */
h6 {font-size: 1em} /* 14px */

h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: .8em;
}


/* Anchors */
a {outline: 0}
a img {border:0px; text-decoration:none;}
a:link, a:visited {
	color: #000099;
	padding: 0 1px;
	text-decoration: underline;
}
a:hover, a:active{
	background-color: #0000FF;
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 1px #333;
}

a.adv:hover {
	text-shadow: none;
	text-decoration: none;
	background: none;
}

/* Paragraphs */
p {margin-bottom: 1.143em;}
* p:last-child {margin-bottom: 0;}

strong, b {font-weight: bold;}
em, i {font-style: italic;}

/* Main Blocks */


/*
	Header
	*********************/

header h1 {font-size: 3.751em; line-height:.6;}
header h1 a:link, header h1 a:visited {
	color: #000305;
	display: block;
	font-weight: bold;
	margin: 0 0 .6em .2em;
	text-decoration: none;
	width: 427px;
}

header h1 a:hover, header h1 a:active {
	background: none;
	text-shadow: none;
}

nav#main {
	background: #FF9900;
	font-size: 1.25em;
	height: 40px;
	line-height: 30px;
	margin: 0 auto 2em auto;
	padding: 0;
	text-align:center;
	width: 800px;
	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

nav#main ul {
	list-style: none; 
	margin: 0 auto; 
	width: 750px;
}

nav#main li {
	float:left; 
	display: inline; 
	margin: 0;
}

nav#main a:link, nav#main a:visited {
	color: white;
	display: inline-block;
	height: 30px;
	padding: 5px 1.0em;
	text-decoration: none;
}

nav#main a:hover, nav#main a:active, 
nav#main .active a:link, nav#main .active visited {
	background: #0000FF;
	color:		#FFFFFF;
}

nav#main li:first-child a{
	border-top-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
 
    border-bottom-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
}

#contentDiv {
	display:table;
	width:100%;
}

aside{
	display:table-cell;
	width: 200px;
}

aside .block{
	border: solid 1px black;
	padding: 10px;
	margin: 10px;
	background-color: #EFEFEF;
	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

aside .block ul{
	list-style:none;
	margin: 0;
	padding: 0;
}

aside .block li{
	margin: 0;
}

article{
	display:table-cell;
	padding: 10px;
}

footer {
	color: #000099;
	width: 100%;
	height: 15px;
	text-align:center;
	font-weight: bold;
	margin-bottom: 10px;
}
