*{
	/* Universal reset: */
	margin:0;
	padding:0;
}

header,footer,
article,section,
hgroup,nav,
figure{
	/* Giving a display value to the HTML5 rendered elements: */
	display:block;
}

body{
	/* Setting the default text color, size, page background and a font stack: */
	font-size:12px;
	color:#000000;
	background:url(http://www.hypnojanet.com/images/bg-ocean.jpg) top center repeat #f4f6fa;
	background:url(http://www.hypnojanet.com/images/bg-water.gif) top center repeat #f4f6fa;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}

/* Hyperlink Styles: */

a, a:visited {
	text-decoration:underline;
	color:#3e6fc8;
	outline:none;
}

a:hover{
	text-decoration:none;
}

nav a, nav a:visited
{
	text-decoration:none;

}

a img{
	border:none;
}

/* Headings: */

h1,h2,h3{
	font-family:Maiandra GD, Arial, Helvetica, sans-serif;
}

h1{
	font-size:2.5em;
	font-weight:bold;
	padding:18px 0 0px 0;
	margin:0px 0 12px 0;
	color:#FFFFFF;
	/* text-transform:uppercase; */
}


h2{
	font-size:2em;
	font-weight:bold;
	letter-spacing:0.01em;
	margin:0 0 8px 0;
	color:#000000;
	text-transform:normal;
}

h3{
	font-size:1.5em;
	font-weight:bold;
	color:#3e6fc8;
	margin:0 0 8px 0;
}

p{
	line-height:18px;
	margin:0px;
	padding:0px;
	padding-bottom:11px;
}

.line{
	/* The dividing line: */
	height:0px;
	border-bottom:0px solid #416371;
	margin:0em 0;
	overflow:hidden;
}

article .line{
	/* The dividing line inside of the article is darker: */
	background-color:#f4f6fa;
	border-bottom-color:#204656;
	margin:1.3em 0;
}

footer .line{
	margin:2em 0;
}

nav{
	background:#f4f6fa;
	padding:0 5px;
	position:absolute;
	right:0;
	top:5em;
/*	
	border:1px solid #000000;

	-moz-box-shadow:0 1px 1px #CCCCCC;
	-webkit-box-shadow:0 1px 1px #CCCCCC;
	box-shadow:0 1px 1px #333333;
*/
}

/* The clearfix hack to clear the floats: */

.clear:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* The navigation styling: */

nav ul li{
	display:inline;
}

nav ul li a,
nav ul li a:visited{
	color:#3e6fc8;
	display:block;
	float:left;
	font-size:1.1em;
	font-weight:bold;
	margin:5px 2px;
	padding:7px 10px 4px;
	/*text-shadow:0 1px 1px white;
	 text-transform:uppercase; */s
}

nav ul li a:hover{
	text-decoration:none;
	background-color:#c6ddd2;
}

nav, article, nav ul li a,figure{
	/* 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;
}

article{
	background-color:#f4f6fa;
	margin:3em 0;
	padding:20px;
	
}

figure{
	border:3px solid #142830;
	float:right;
	height:300px;
	margin-left:15px;
	overflow:hidden;
	width:500px;
}

figure:hover{
	-moz-box-shadow:0 0 2px #4D7788;
	-webkit-box-shadow:0 0 2px #4D7788;
	box-shadow:0 0 2px #4D7788;
}

figure img{
	margin-left:-60px;
}

/* Footer styling: */

footer{
	margin-bottom:30px;
	text-align:center;
	font-size:0.825em;
}


footer p{
	margin-bottom:-2.5em;
	position:relative;
}

footer a,footer a:visited{
	color:#cccccc;
	background-color:#0d3786;
	display:block;
	padding:2px 4px;
	z-index:100;
	position:relative;
}

footer a:hover{
	text-decoration:none;
	background-color:#1a5cbd;
}

footer a.by{
	float:left;

}

footer a.up{
	float:right;
}

