* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
	/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
	height: 100%;
	margin-bottom: 1px;
	background-color: #808080;
}

h3 {
	font-size: 10pt;
}

h4 {
	font-size: 8pt;
}

a img, img { border: none; }

#content li {
	margin-left: 30px;
}

#content p, #content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
	margin-top: 5px;
	margin-bottom: 5px;
}

#phpbb #content li {
	margin-left: 0;
}

#phpbb {
	font-size: 80% !important;
}

/* Link colours */
.static a:link {color: white;}     /* unvisited link */
.static a:visited {color: white;}  /* visited link */
.static a:hover {color: #808080;}   /* mouse over link */
.static a:active {color: #313332;}   /* selected link */

/* Generic layout */
body {
	background-color: #808080;
	margin: 0;
	font: 10pt Arial, Helvetica, Geneva, sans-serif;
	color: white;
}

/*#page, #header, #content, #footer {
	border: solid;
}*/

#page {
	margin-left: auto;
	margin-right: auto;
	width: 900px;
}


#header {
	width: 900px;
	height: 45px;
	background-color: #313332;
	overflow: hidden;
}

#dot {
	padding-top: 14px;
	padding-left: 14px;
	float: left;
}

#content {
	background-color: #141414;
	width: 880px;
	float: left;
	
	/* Whitespace around all content */
	padding: 10px;
}

#footer {
	width: 900px;
	height: 35px;
	clear: both;
	background-color: #313332;
}

/* Header specific */
#header ul {
	float: right;
	margin: 0;
	padding-top: 12px;
	padding-right: 20px;
}

#header ul li {
	display: block;
	float: left;
	padding: 5px;
	margin-left: 5px;
	background-color: #464847;
	color: white;
	font-size: 8pt;
}

#header ul li a {
	text-decoration: none;
	color: white;
}

#header ul li.active {
	background-color: #b4001f;
}

/* Footer specific */
#footer ul {
	float: right;
	margin: 0;
}

#footer ul li {
	display: block;
	float: left;
	padding: 10px;
	margin-left: 20px;
	margin-right: 20px;
	color: #8b8e8e;
}

#footer ul li a {
	color: #8b8e8e;
	text-decoration: none;
}

#footer ul li a:hover {
	color: white;
}

/* Frontpage specific */
#frontpage-content {
	float: left;
	width: 685px;
	padding-top: 50px;
	border-right: 1px solid white;
}

#frontpage-news {
	float: right;
	width: 170px;
	background-color: #7a7a78;
	padding: 10px;
	margin-top: 50px;
}

#frontpage-news a:hover {
	color: black;
}

.frontpage-icon {
	width: 270px;
	margin-left: 30px;
	margin-right: 10px;
	float: right;
}

.frontpage-body {
	width: 550px;
	margin-left: 30px;
	margin-right: 10px;
	float: right;
}

/* Forum specific */
.search-box input {
	font-size: 10pt;
}

#page-body .display-options label, .search-box label, .quickmod label {
	color: white;
}

#page-body h2 {
	font-size: 14pt !important;

}

#page-body h2 a {
	color: white !important;
}

.header a {
	color: white;
}

#forum-sidebar {
	float: left;
	width: 200px;
}

#forum-main {
	float: left;
	width: 650px;
	margin-left: 10px;
}

.forum-sidebar-item {
	/*border-width: 2px;
	border-style: solid;*/
	margin-bottom: 10px;
	background-color: white;
	color: black;
	/*padding: 10px;*/
	clear: both;
	float: left;
	width: 200px;
}

.forum-sidebar-item #search-box a {
	color: black;
}

.forum-sidebar-item h3, .forum-sidebar-item h3 a {
	background-color: #313332;
	padding: 5px;
	margin: 0 !important;
	color: white;
}

#register dd {
	margin-left: 0;
	clear: both;
}

.forum-sidebar-item li, .forum-sidebar-item p, .forum-sidebar-item label, .forum-sidebar-item fieldset, .forum-sidebar-item .inputbox, .forum-sidebar-item .linklist a {
	list-style-type: none;
	font-size: 9pt;
}

.forum-sidebar-item #sidebar-stats li, .forum-sidebar-item p, .forum-sidebar-item .quick-login, .forum-sidebar-item #search, .forum-sidebar-item #control-panel {
	padding-left: 5px;
	padding-right: 5px;
}

.forum-sidebar-item .linklist li {
	clear: both;
}



#search-box {
	margin: 0;
}

.quick-login input, .forum-sidebar-item #search input {
	margin-top: 5px;
	margin-bottom: 5px;
}

/*.quick-login {
	width: 200px;
}

.quick-login #username, .quick-login #password {
	width: 70px;
	margin-bottom: 10px;
}

.quick-login .button2 {
	margin-top: 10px;
}

.quick-login label {
	display: block;
	width: 80px;
}*/

.quick-login #username, .quick-login #password {
	width: 180px !important;
	background-color: white;
}

#search-box .search {
	width: 100px;
}

#search-box .button2 {
	width: 60px !important;
}

#search-box {
	width: 200px !important;
}

#phpbb #content {
	background: url("images/forumbg.jpg") no-repeat;
	background-color: #6e6f73;
}

.navbar {
	background-color: white;
	color: black;
	padding-bottom: 5px;
	font-size: 9pt;
}

.linklist {
	color: black;
}

.row  {
	border-bottom: 1px solid #a3a7a6 !important;
	
	padding: 5px;
}

.column-header {
	padding: 5px;
	margin-top: 10px !important;
	background-color: white;
}

.column-header *{
	color: black !important;
	
	font-size: 10pt !important;
	overflow: hidden;
	
}


/* Show columns for everything but IE6 */
html>body .row {
	background: url(images/tablebg.png) repeat-y;
}

html>body .column-header {
	background: white url(images/tablebg.png) repeat-y;
}


.row dd {
	border: none !important;
}

.icon div {
	display: none;
}

.index-header * {
	font-size: 12pt !important;
	font-weight: normal;
}


.navlinks {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}



/* Friend specific */
.friend-item {
	float: left;
	width: 250px;
	height: 200px;
	margin-top: 300px;
	border-left: 2px solid #7a7a78;
	padding: 20px;
	position: relative;
}

.friend-item h4 {
	position: absolute;
	bottom: 0;
}

.friend-item ul {
	position: absolute;
	bottom: 0;
	margin-bottom: 30px;
	padding-left: 0;
}

.friend-item ul li {
	margin: 0 !important;
	font-size: 110%;
	list-style-type: none;
}

/* No excuse specific */
#noexcuse-left {
	float: left;
	width: 369px;
	height: 494px;
	padding: 10px;
	position: relative;
	/*background: transparent url(images/noexcuse_badges.jpg) no-repeat;*/
}

#noexcuse-left p, #noexcuse-left h3 {
	padding: 20px;
	padding-left: 80px;
}

#noexcuse-left p {
	padding-top: 0;
	width: 270px;
	
	position: absolute;
	left: 11px;
	top: 180px;
}

#noexcuse-map {
	float: right;
	margin-top: 4px;
	display: inline; /* For IE */
}

/*#noexcuse-map {
	float: left;
	height: 536px;
	position: relative;
	
	width: 511px;
	overflow: hidden;
}*/

/* No excuse cities */
#noexcusecities-header {
	margin-left: 10px;
}