*{
}

body{
	/* Setting the default text color, size, page background and a font stack: */
	font-size:13px;
	color:#666;
	background-color:#e6e6e6;
	font-family:Arial, Helvetica, sans-serif;
}

/* Hyperlink Styles: */

a, a:visited {
	color:#7D141F;
	text-decoration:none;
	outline:none;
}

a:hover{
	color:#8d8a16;
}

a img{
	border:none;
}
a.up{
	float:right;
}

/* Headings: */


p{
	line-height:1.5em;
	padding-bottom:0.8em;
}

.line{
	/* The dividing line: */
	height:1px;
	background-color:#666;
	border-bottom:1px solid #416371;
	margin:1em 0;
	overflow:hidden;
}
div.header ul  {
	display:inline;
	list-style-type:none;
	padding-left:10px;
	margin-left:0px;
}
div.header ul li {
	display:inline;
	list-style-type:none;
	text-transform: uppercase;
	margin-right:6px;
}
div.header img {
	margin-top:10px;
	padding-bottom:6px;
}
div.article .line{
	/* The dividing line inside of the article is darker: */
	background-color:#e6e6e6;
	border-bottom-color:#999;
	margin:1.3em 0;
}

div.footer .line{
	margin:2em 0;
}

div.nav{
	background:url(img/gradient_light.jpg) repeat-x 50% 50% #f8f8f8;
	padding:0 5px;
	position:absolute;
	right:30px;
	top:10px;
	border:1px solid #FCFCFC;
	-moz-box-shadow:0 1px 1px #333333;
	-webkit-box-shadow:0 1px 1px #333333;
	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: */

div.nav ul li{
	display:inline;
}

div.nav ul li a,
div.nav ul li a:visited{
	color:#565656;
	display:block;
	float:left;
	font-size:1em;
	font-weight:bold;
	margin:5px 2px;
	padding:7px 10px 4px;
	text-shadow:0 1px 1px white;
	text-transform:uppercase;
}

div.nav ul li a:hover{
	text-decoration:none;
	background-color:#f0f0f0;
}

div.nav, div.article,div.articlex, div.nav ul li a,div.figure{
	/* Applying CSS3 rounded corners: */
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
}

/* Article styles: */

#page{
	width:850px;
	margin:0 auto;
	position:relative;
	
}

div.article{
	margin:3em 2em;
	padding:20px;
	background-color: #282828;
	background-image: url(contact/img/dark_wood_texture.jpg);
	min-height: 300px;
}
div.article ul  {
	
	list-style-type:none;
	padding-left:10px;
	margin-left:0px;
}
div.article  li {
	
	list-style-type:none;
	padding-bottom:6px;
	margin-right:6px;
}
div.articlex{
	width:730px;
	background-color:#ffffff;
	margin:auto;
	padding:20px;	
}
div.articlex ul  {
	
	list-style-type:none;
	padding-left:10px;
	margin-left:0px;
}
div.articlex  li {
	display:inline;
	list-style-type:none;
	padding-bottom:2px;
	margin-right:6px;
}

div.figure{
	border:3px solid #999;
	float:right;
	height:auto;
	margin-left:15px;
	overflow:hidden;
	width:auto;
}

div.figure:hover{
	-moz-box-shadow:0 0 2px #4D7788;
	-webkit-box-shadow:0 0 2px #4D7788;
	box-shadow:0 0 2px #4D7788;
}

div.figure img{
	padding: 3px;
}

/* Footer styling: */

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


div.footer p{
	margin-bottom:-2.5em;
	position:relative;
}



div.footer a.by{
	float:left;

}

div.footer a.up{
	float:right;
}

div.footer ul {
	list-style-type:none;
	padding-left:10px;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
}
div.footer li {
	display:inline;
	list-style-type:none;
	padding-bottom:2px;
	margin-right:6px;
	text-align:center;
}

