header,footer,
article,section,
hgroup,nav,
figure{
	/* Giving a display value to the HTML5 rendered elements: */
	display:block;
}

header{
	height:175px;
}

header img{
float:right;
}

header>h1 {
position: absolute;
top: 10px;
float: left;
margin: 0 0 0 20px;
font-size: 2em;
}

header>h1 a {
color:#348c8d;
text-decoration: none;
text-shadow: 0px 2px 3px #ddd;
}

header>h2 {
position: absolute;
top: 50px;
float: left;
margin: 0 0 0 20px;
color: #348c8d;
font-style: italic;
font-size:1.5em;
text-shadow: 0px 2px 3px #ddd;
}

nav{
	position:absolute;
	top:5em;
	height:60px;
	width:960px;
	background-image:url(/images/navbg.png);

}

nav ul li{
	display:inline;
}

nav ul li a,
nav ul li a:visited{
	color:#ffffff;
	float:left;
	font-size:1.15em;
	font-weight:bold;
	padding:2px 9px 2px 9px;
	margin: 1px 5px 1px 0px;
	font-family: calibri;
}

nav ul li a:hover{
	text-decoration:none;
	background-image: -moz-linear-gradient(100% 50% 90deg, #86e7e8, #348c8d);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#348c8d), to(#86e7e8));
}

page, nav,nav ul li a,nav ul li a:visited,aside{
	/* Applying CSS3 rounded corners: */
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
}



/* Article styles: */



#page{
	width:960px;
	margin:0 auto;
	position:relative;
	font-family: 'Trebuchet MS', calibri, Arial, Verdana, Tahoma;
}

article{
width:800px;
margin-top:10px;
float:left;
}

article img {
border: none;
float: left;
margin: 10px 40px 20px 0px;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}
h1,h2,h3,h4,h5,h6{
font-family: 'Times New Roman';
color: #df0174;
clear:both;
font-size: 1.5em;
margin-top:1em
}

h2,h3,h4,h5,h6{
font-family: 'Times New Roman';
color: #df0174;
clear:both;
font-size: 1.5em;
margin-top:4em
}


aside{
width:100px;
margin-top:40px;
float:right;
border:6px solid #86e7e8;
text-align:center;
}



.links{
margin: 50px;
text-align:center;
display: block;
}

.link a:visited{
color:#348c8d;
padding:2px 50px 2px 9px;
}
 
 .links a:hover{
 color:#f4b00a;
 }

/* Footer styling: */

footer{
	margin-bottom:30px;
	text-align:center;
	font-size:0.825em;
	clear:both;
}

footer a,footer a:visited{
	color:#cccccc;
	background-color:#213e4a;
	display:block;
	padding:2px 4px;
	z-index:100;
	position:relative;
}

footer a:hover{
	text-decoration:none;
	background-color:#142830;
}

footer a.up{
	float:right;
}
