/* Overall Styling */
* {
	margin:0;
	padding:0;
} 
html, body {
	height: 100%;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	background-color: #666;
	background-image: url(images/bg.gif);
}
#wrap {
	width: 100%;
	min-height: 100%;
	background-image: url(images/topbg.png);
	background-repeat: repeat-x;
}
#main {
	overflow:auto;
	padding-bottom: 50px;
	width: 950px;
	margin-right: auto;
	margin-left: auto;
}  

/* Header Styling */

#header {
	height: 150px;
}
#headerlogo {
	float: left;
	height: 150px;
	width: 250px;
	text-align: center;
}
#headerleft {
	height: 64px;
	width: 350px;
	float: left;
	text-align: center;
}
#headerright {
	float: left;
	height: 64px;
	width: 350px;
	text-align: center;
}
#logo {
	background: url("images/logo.png") no-repeat 0 0;
}
#logo {
	display: block;
	width: 250px;
	height: 150px;
}
#logo:hover { 
	background-position: 0 -150px;
}
#logo span {
	display: none;
}
#menu{
	margin: 0;
	padding: 0;
	float: left;
	width: 350px;
	padding-top: 14px;
}
#menu li{
	display: inline;
	font: bold 28px Helvetica, sans-serif;
	color: #EEE;
	padding-left: 20px;
	padding-right: 20px;
}
#menu li a{
	font:18px Helvetica, sans-serif;
	color: #C7C7C7;
	text-decoration: none;
}
#menu li a:visited{
	color: #C7C7C7;
}
#menu li a:hover, .menu li .current{
	color: #FFF;
}

/* Title Box Styling */

#titletop {
	background-image: url(images/titletop.png);
	height: 22px;
	width: 935px;
	color: #999;
	font-size: 10px;
	text-transform: uppercase;
	padding-top: 12px;
	text-align: right;
	padding-right: 15px;
}
#titlecontents {
	background-image: url(images/titlebox.png);
	height: 480px;
	width: 950px;
}
#titletag {
	font-weight: bold;
	color: #FFF;
	font-size: 18px;
	font-family: "Comic Sans MS", cursive;
	position: relative;
	top: 10px;
	left: 10px;
}
#titlequote {
	font-size: 15px;
	color: #FFF;
	text-align: right;
	padding-top: 200px;
	padding-right: 10px;
}
#titleshow {
	height: 250px;
	margin-right: 53px;
	margin-left: 53px;
	margin-bottom: 10px;
	padding-top: 10px;
}
#titleleft {
	background-image: url(images/titleleft.png);
	background-repeat: no-repeat;
	float: left;
	height: 165px;
	width: 418px;
	margin-top: 5px;
	margin-right: 7px;
	margin-bottom: 17px;
	margin-left: 30px;
	padding: 10px;
}
#titleright {
	background-image: url(images/titleright.png);
	background-repeat: no-repeat;
	float: left;
	height: 165px;
	width: 418px;
	margin-top: 5px;
	margin-right: 30px;
	margin-bottom: 17px;
	margin-left: 7px;
	padding: 10px;
}
#titleleft h1, #titleright h1 {
	font-size: 16px;
	color: #605f91;
	letter-spacing: 0.2em;
}
#titlelefttext {
	width: 254px;
	color: #CCC;
	float: left;
	text-align: right;
}
#titlerighttext {
	width: 254px;
	color: #CCC;
	float: left;
}
#titleleftimage {
	height: 160px;
	width: 160px;
	float: left;
	margin-top: 4px;
}
#titlerightimage {
	height: 160px;
	width: 160px;
	float: left;
	margin-top: 4px;
}
#titleleftimage a img,
#titlerightimage a img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

/* Content Styling */

#contents {
	background-color: #FFF;
	height: 300px;
	width: 920px;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 15px;
}
#post {
	width: 655px;
	float: left;
	padding-right: 15px;
}
#ptitle {
	font-size: 18px;
	color: #605f91;
}
#pcontent {
	text-indent: 20px;
	padding-top: 4px;
}
#pdate {
	text-align: right;
	font-size: 10px;
	color: #666;
	padding-top: 4px;
}
#advert {
	float: left;
	width: 250px;
	color: #999;
	text-align: center;
	height: 300px;
	font-size: 10px;
}
#cend {
	background-image: url(images/contentend.png);
	height: 9px;
	width: 950px;
	margin-bottom: 10px;
}

/* Footer styling */

#footer {
	position: relative;
	margin-top: -50px; /* negative value of footer height */
	height: 50px;
	clear:both;
	font-size:10px;
	width: 100%;
	text-align: center;
	color: #CCC;
	background-color: #000;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCC;
	padding-top: 10px;
	padding-bottom: 10px;
} 
#footer a,
#footer a:visited {
	font-size:12px;
	color: #CCC;
	text-decoration: none;
}
#footer a:hover {
	color: #CCC;
	text-decoration: underline overline;
}
#footer img {
	padding-right: 4px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	vertical-align: top;
}

/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/
}
