*
{
	margin: 0px;
	padding: 0px;
}

body
{
	font: 0.8em Verdana, Arial, Helvetica, sans-serif;
	color: #CCCCCC;
	background: transparent url(../images/bg_concrete.jpg) repeat;
}

a,
a:link,
a:visited
{
	text-decoration: none;
	color: #87B7F0;
}

a:hover,
a:active,
a:focus
{

	text-decoration: underline;
	color: #AFC4D7;
}

#wrapper
{
	width: 868px;
	margin: 0px auto;
	padding: 20px 0px;
}

#head
{
	height: 150px;
}

#head a
{
	display: block;
	height: 150px;
}

#nav
{
	background: transparent url(../images/nav.png) no-repeat;
	height: 30px;
	padding: 0px 0px 4px 30px;
}

#nav ul li
{
	float: left;
	list-style: none;
}

#nav a,
#nav a:link,
#nav a:visited,
#nav a:hover,
#nav a:active,
#nav a:focus
{
	text-decoration: none;
	display: block;
	float: left;
	padding: 7px 10px;
}

#nav ul li a:hover,
#nav ul li a:active,
#nav ul li a:focus,
#nav ul li a.currentpage,
#nav ul li a.currentpage:link,
#nav ul li a.currentpage:visited
{
	background: transparent url(../images/nav_hover.gif) repeat-x;
	color: #CCCCCC;
}

#nav li.network
{
	margin-left: 280px;
}

#main
{
	background: transparent url(../images/body_repeat.png) repeat-y;
	min-height: 100px;
	padding: 0px 31px 0px 27px;
}

#main h1,
#main h4
{
	color: #AFC4D7;
	margin: 0px -5px 0px -5px;
}

#main h1,
#main h2,
#main h3,
#main h6
{
	padding-top: 10px;
	clear: both;
	text-align: left;
}

#main h1
{
	border-bottom: 1px solid #AFC4D7;
	font-size: 2em;
}

#main h2
{
	border-bottom: 1px solid #CCC;
	font-size: 1.4em;
}

#main h3
{
	font-size: 1.4em;
}

#main h4
{
	border-top: 1px solid #AFC4D7;
	font-size: 1em;
	font-style: italic;
	font-weight: 400;
	text-align: right;
}

#main h5
{
	font-size: 1.4em;
	border-bottom: 1px solid;
}

#main h6
{
	font-size: 1em;
	color: #CCC;
}

#main p
{
	padding: 5px 0px;
	text-align: justify;
}

#main ul
{
	margin: 5px 30px;
	line-height: 18px;
}

#main div
{
	padding: 0px 5px;
}

#main div.split
{
	width: 50%;
	float: left;
	padding: 0px;
}

#main div.box
{
	margin: 10px 5px;
	border: 2px solid #333;
	padding: 10px;
	color: #AFC4D7;
	clear: both;
}

#main div.box h3
{
	padding: 0px;
}

#main div.box p
{
	padding: 5px 0px;
}

#main div.box:before,
#main div.box:after,
#main div.gallery:before,
#main div.gallery:after
{
	display: block;
}

#main div.box,
#main div.box:before,
#main div.box:after
{
	background-color: #1F2A37;
}

#main div.box:before
{
	content: url(../images/box_tl.gif);
	background: transparent url(../images/box_tr.gif) no-repeat top right;
	margin: -12px -12px 0px -12px;
}

#main div.box:after
{
	content: url(../images/box_bl.gif);
	background: transparent url(../images/box_br.gif) no-repeat bottom right;
	margin: 0px -12px -12px -12px;
}

#main hr
{
	background-color: #1F2A37;
}

#main div.gallery
{
	text-align: center;
	border: 1px solid #444;
	background-color: #333;
	padding: 20px;
	margin: 15px 0px 5px;
}
/*
#main div.gallery:before,
#main div.gallery:after
{
	text-align: left;
}

#main div.gallery:before
{
	content: url(../images/box_grey_tl.gif);
	background: transparent url(../images/box_grey_tr.gif) no-repeat top right;
	margin: -21px;
}

#main div.gallery:after
{
	content: url(../images/box_grey_bl.gif);
	background: transparent url(../images/box_grey_br.gif) no-repeat bottom right;
	margin: -21px;
}
*/
#main div.gallery h2
{
	margin: 0px 20px 10px;
	
}

#main div.gallery img
{
	width: 180px;
	height: 135px;
	margin: 3px;
}

#main div.gallery a img
{
	border: 1px solid #444;
}

#main div.gallery a:hover img,
#main div.gallery a:active img,
#main div.gallery a:focus img
{
	border: 1px solid #AFC4D7;
}

#main img.full
{
	border: 1px solid #AFC4D7;
	margin: 5px auto;
	display: block;
}

#main p.credits
{
	text-align: center;
	font-size: 10px;
	margin-top: 20px;
	color: #999999;
	clear: both;
}

.credits a,
.credits a:link,
.credits a:visited
{
	color: #CCCCCC;
}

.credits a:hover,
.credits a:active,
.credits a:focus
{
	color: #AFC4D7;
}

#foot
{
	background: transparent url(../images/foot.png) no-repeat;
	height: 28px;
}

div.codemain
{
	border: 1px dotted #87B7F0;
	padding: 15px;
	margin: 5px;
	font-family: "Courier New", Courier, monospace;
	background-color: #1F2A37;
}

div.codetop
{
	display: none;
}
