#wrapper {
	width: 1000px;
	min-height: 700px;
	margin: 0 auto;
	margin-top: -15px !important;
	text-align: left; /*Used for I.E.*/
	padding: 0 5px;
	background: #fff url(images/wrapper_bg.jpg) repeat-y top left;
}

body {
	min-width: 1020px !important;
	min-height: 100%;
	padding: 0;
	margin: 0;
	text-align: center; /*fixes IE bug of centering*/
	background: #e0e7ee url(images/body_bg.jpg) repeat top left;
}


/********************************************************************
masthead
********************************************************************/
#masthead {
	width: 1000px;
	margin-left: -20px;
}

#masthead  h1 {
	height: 40px;
	width: 500px;
	font: 2em "Helvetica", Arial, sans-serif;
	font-weight: heavy;
	text-indent: -10000px;
}

#masthead a:link, #masthead a:visited {
	color: #000;
}

#masthead a:hover, #masthead a:hover {
	color: #000;
	background-color: #f0f7ff;
}

body.home #navSOTF a#home, body.forum #navSOTF a#forum, body.staff #navSOTF a#staff, body.about #navSOTF a#about, body.help #navSOTF a#help {
	background-color: #f0f7ff;
	border-bottom: 2px solid #f0f7ff;
}

#navSOTF {
	list-style: none;
	font: 1.2em "Lucida Grande", Geneva, Verdana, sans-serif;
	margin: -30px 20px 0 0;
	float: right;
}

#navSOTF li {
	border-right: 1px solid #ccc;
	line-height: 1.6em;
}

#navSOTF .firstLI {
	border-left: 1px solid #ccc;
}

#navSOTF li a {
	padding: 5px 20px;
	height: 20px;
}

#navSOTF a, #subNav a {
	display: block;
	text-decoration: none;
	border: none;
}

#navSOTF li, #navSOTF a {
	float: left;
}

#subNav li, #subNav a {
	float: left;
}

#subNavDiv {	
	font: 1.2em "Lucida Grande", Geneva, Verdana, sans-serif;
	height: 20px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	line-height: 1.5em;
}

#subNav {
	list-style: none;
	padding-left: 300px;
}

#subNav li a {
	padding: 0 20px;
}

#masthead {
	background: url(images/masthead_bg.jpg) repeat-x top left;
}

#masthead h1 {
	background: url(images/sotf_logo.png) no-repeat top left;
}

#subNavDiv {
	background-color: #f0f7ff;
}

#masthead #subNav a:hover, #masthead #subNav a:hover {
	background-color: #fff;
}

/********************************************************************
page header = has an id of 'pheader'
********************************************************************/
#pheader {
	margin: 10px 0;
	padding: 10px;
	width: 940px;
	background-color: #f0f7ff;
}

#searchBox input {
	width: 150px;
}

#searchBox {
	margin-top: -30px;
	float: right;
}

#page-header {
	clear: right !important;
}

#userNavBar {
	padding-bottom: 5px;
	border-bottom: 1px solid #ccc;
}

#page-footer #userNavBar {
	border-bottom: none;
}

ul.navlinks {
	border-bottom: none !important; /*targets phpBB's default prosilver navlinks*/
}

#userControlPanel {
	padding: 5px 0 20px 0;
}

/********************************************************************
forumBody  with additions from colours.css
********************************************************************/
.forumBody {
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-top: 1px solid #ccc;
	margin-bottom: 10px;
}

.forumBody table {
	border-bottom: 1px solid #ccc;
}

.forumBody table a {
	color: #828282 !important; 
}

li.header {
	border-bottom: 1px solid #ccc !important;
}

ul.forums {
	background-color: #f0f7ff !important; /*edit*/
}

li.row:hover {
	background-color: #ecf1f3 !important; /*edit*/
}

li.row {
	border-bottom-color: #ccc !important;
}

li.header .icon dt {
	padding-left: 5px !important;
}

/********************************************************************
viewtopic 
********************************************************************/

.bg1	{ background-color: #f0f7ff; }
.bg2	{ background-color: #e1ebf2;  }
.bg3	{ background-color: #cadceb; }

form .panel h3 {
	padding: 5px 0;
}

/********************************************************************
ul li colours for prosilver2, default style, originally found in colours.css
********************************************************************/

ul.forums {
	background-image: url("{T_THEME_PATH}/images/gradient.gif");
}

ul.topiclist li {
	color: #4C5D77;
}

ul.topiclist dd {
	border-left-color: #FFFFFF;
}

.rtl ul.topiclist dd {
	border-right-color: #fff;
	border-left-color: transparent;
}

ul.topiclist li.row dt a.subforum.read {
	background-image: url("{IMG_SUBFORUM_READ_SRC}");
}

ul.topiclist li.row dt a.subforum.unread {
	background-image: url("{IMG_SUBFORUM_UNREAD_SRC}");
}

li.row {
	border-top-color:  #FFFFFF;
}

li.row strong {
	color: #000000;
}

li.row:hover dd {
	border-left-color: #CCCCCC;
}

.rtl li.row:hover dd {
	border-right-color: #CCCCCC;
	border-left-color: transparent;
}

li.header dt, li.header dd {
	color: #FFFFFF;
}

li.header dt, li.header dd {
	line-height: 1em;
	border-left-width: 0;
	margin: 2px 0 4px 0;
	color: #4C5D77;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}


/********************************************************************
footer
********************************************************************/

#footer {
	min-height: 60px;
	width: 1000px;
	padding: 0 5px;
	margin: 0 auto;
	
}

#footer p {
	color: #808080;
	font-size: 1em;
	clear: left;
	text-align: center;
	padding-top: 3px;
}


#footerNav li, #footerNav a {
	float: left;
}

#footerNav {
	width: 400px;
	margin: 0 auto;
	padding: 3px 0 5px 30px;
}

#footerNav a:link, #footerNav a:visited {
	color: #000;
}

#footerNav a:hover, #footerNav a:active {
	color: #828282;
}

#footerNav a {
	display: block;
	text-decoration: none;
}

#footerNav li {
	padding: 5px;
	font: 1.2em "Lucida Grande", Geneva, Verdana, sans-serif;
}

#footerNav {
	list-style: none;
}
