body {
	background: #333 url("images/bg.gif") repeat;
	background-color: #FFFFFF;
	/*
	scrollbar-face-color: #F6BC0A;
	scrollbar-highlight-color: #F6BC0A;
	scrollbar-shadow-color: #F6BC0A;
	scrollbar-3dlight-color: #F6BC0A;
	scrollbar-arrow-color:  #F6BC0A;
	scrollbar-track-color: #FFFFFF;
	scrollbar-darkshadow-color: #F6BC0A;
	*/

	margin-top: 40px;
}

body,table {
	font-size : 0.8em;
	font-family: Arial;
}

/* General font families for common tags */
font,th,td,p { font-family: Arial }
a:link,a:active,a:visited { color : #9F0002; }
a:hover		{ text-decoration: underline; color : #9F0002; }
hr	{ height: 0px; border: solid #FFFFFF 0px; border-top-width: 0px;}

/* This is the border line & background colour round the entire page */
.bodyline	{
	/* background-color: #FFFFFF;  */
	border: 0px #FFFFFF solid;
}

/* This is the outline round the main forum tables */
.forumline	{
	/* background-color: #FFFFFF;  */
	border: 0px #FFFFFF solid;
}

/* Main table cell colours and backgrounds */
td.row1	{ background-color: #F6BC0A; border-style: solid; border: black; border-width: 0px; }
td.row2	{ background-color: #EAB100; border-style: solid; border: black; border-width: 0px; }
td.row3	{ background-color: #D8AF5F; border-style: solid; border: black; border-width: 0px; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
	/* background-color: #FFFFFF; */
}

/* Header cells - the blue and silver gradient backgrounds */
/*
th			{ font-weight: bold; font-size: 12px; color : #9F0002; text-align: left; height: 25px;}
a.th			{ font-weight: bold; font-size: 12px; text-decoration: none; color : #9F0002; }
a.th:visited			{ font-weight: bold; font-size: 12px; text-decoration: none; color : #9F0002; }
a.th:hover		{ font-weight: bold; font-size: 12px; text-decoration: underline; color : #9F0002; }
*/

th	{
	color: #111111; font-size: 11px; font-weight : bold;
	/* background-color: #FFFFFF; */
	height: 25px;
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
	/* background-color:#FFFFFF; */
	border: #FFFFFF; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat {
   height: 29px;
   border-width: 0px 0px 0px 0px;
   background-color:#FFD800;
}

td.catBottom {
   height: 29px;
   border-width: 0px 0px 0px 0px;
   background-color:#F6BC0A;
}

td.catHead {
   height: 29px;
   border-width: 0px 0px 0px 0px;
   /* background-color:#FFFFFF; */
}

th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: #000000; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
	/* background-color: #FFFFFF; */
	border: #FFFFFF; border-style: solid;
}

th.thHead,td.catHead { font-size: 11px; border-width: 0px 0px 0px 0px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 0px 0px 0px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 0px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 0px; }
th.thBottom,td.catBottom  { border-width: 0px 0px 0px 0px; }
th.thTop	 { border-width: 1px 0px 1px 0px; }
th.thCornerL { border-width: 1px 0px 1px 0px; }
th.thCornerR { border-width: 1px 0px 1px 0px; }

/*
.thHead			{ font-weight: bold; font-size: 12px; color : #9F0002; text-align: left;}
a.thHead			{ font-weight: bold; font-size: 12px; text-decoration: none; color : #9F0002; }
a.thHead:visited			{ font-weight: bold; font-size: 12px; text-decoration: none; color : #9F0002; }
a.thHead:hover		{ font-weight: bold; font-size: 12px; text-decoration: underline; color : #9F0002; }
*/

/* The largest text used in the index page title and toptic title etc. */
.maintitle	{
	font-weight: bold; font-size: 22px; font-family: "Arial",Arial;
	text-decoration: none; line-height : 120%; color : #111111;
}

/* General text */
.gen { font-size : 11px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 11px; }
.gen,.genmed,.gensmall { color : #111111; }
a.gen,a.genmed,a.gensmall { color: #111111; text-decoration: none; }
a.gen:visited,a.genmed:visited,a.gensmall:visited { color: #111111; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #9F0002; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 11px; color : #111111 }
a.mainmenu		{ font-size : 11px; text-decoration: none; color : #111111;  }
a.mainmenu:visited	{ font-size : 11px; text-decoration: none; color : #111111; }
a.mainmenu:hover{ font-size : 11px; text-decoration: underline; color : #111111; }

/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: 12px ; color : #9F0002}
a.cattitle		{ text-decoration: none; color : #9F0002; }
a.cattitle:visited		{ text-decoration: none; color : #9F0002; }
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 12px; color : #9F0002; }
a.forumlink 	{ text-decoration: none; color : #9F0002; }
a.forumlink:visited 	{ text-decoration: none; color : #9F0002; }
a.forumlink:hover{ text-decoration: underline; color : #9F0002; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 12px; color : #9F0002; text-align: left;}
a.nav			{ font-weight: bold; font-size: 12px; text-decoration: none; color : #9F0002; text-align: left;}
a.nav:visited			{ font-weight: bold; font-size: 12px; text-decoration: none; color : #9F0002; text-align: left;}
a.nav:hover		{ font-weight: bold; font-size: 12px; text-decoration: underline; color : #9F0002; text-align: left;}

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2	{ font-weight: bold; font-size: 12px; color : #111111; }
a.topictitle:link   { text-decoration: none; color : #9F0002; }
a.topictitle:visited { text-decoration: none; color : #9F0002; }
a.topictitle:hover	{ text-decoration: underline; color : #9F0002; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : 11px; color : #111111;}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : 11px; color : #111111; }

/* The content of the posts (body of text) */
.postbody { font-size : 11px; line-height: 17px}
a.postlink:link	{ text-decoration: none; color : #9F0002 }
a.postlink:visited { text-decoration: none; color : #9F0002; }
a.postlink:hover { text-decoration: underline; color : #9F0002}

/* Quote & Code blocks */
.code {
	font-family: Arial; font-size: 9px; color: #A76100;
	background-color: #F6BC0A; border: #000000; border-style: dotted;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: Arial; font-size: 9px; color: #111111; line-height: 16px;
	background-color: #F6BC0A; border: #000000; border-style: dotted;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright		{ font-size: 10px; font-family: Arial; color: #111111; letter-spacing: 0px;}
a.copyright		{ color: #9F0002; text-decoration: none;}
a.copyright:visited		{ color: #9F0002; text-decoration: none;}
a.copyright:hover { color: #9F0002; text-decoration: underline;}

/* Form elements */

input, textarea, text, select, border {
	color : #111111;
	font: normal 11px Arial;
	border-color : #111111;
	text-indent : 2px;
	margin 0px;
	padding 0px;
/*	border-width: 0px; */
/*	border-style: solid; */
}

.noborder {
	border-color : white;
	margin 0px;
	padding 0px;
	border-width: 0px;
	border-style: none;
}

/* The buttons used for bbCode styling in message post */
input.button {
	background-color : #FFD800;
	color : #111111;
	font-size: 11px; font-family: Arial;
}

/* The main submit button option */
input.mainoption {
	background-color : #FAFAFA;
	font-weight : bold;
	font-size: 11px; font-family: Arial;
}

/* None-bold submit button */
input.liteoption {
	background-color : #FAFAFA;
	font-weight : normal;
	font-size: 11px; font-family: Arial;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #F6BC0A; border-style: none; }

#logo {
	background: #000 url("/kuvat/toplogo.png") no-repeat;
	height: 65px;
	width: 744px; margin-left: auto; margin-right: auto;
}

#header {
	width: 724px;
	height: 192px;
	background: #000 url("http://www.moposport.fi/mopo.fi/kuvat/topkuva04.jpg") no-repeat;
	background-position: top right;
}

#wrapper {
	width: 724px;
	background-color: #FFD800;
	border: 10px solid #FFD800;
	margin: 0 auto;
	text-align: left;
}

#nav {
	list-style: none;
	z-index: 2;
	border-right: 1px solid #FFD800;
	height: 192px;
	width: 190px;

	margin-left: 0px;
	margin-bottom: 0px;
	margin-top: 0px;

	padding-left: 0px;
	padding-bottom: 0px;
}

#nav li a {
	color: #fff;
	display: block;
	width: 180px;
	background-color: #000;
	border-bottom: 1px solid #FFD800;
	padding-left: 10px;
	text-decoration: none;
	padding-top: 2px;
	padding-bottom: 2px;
}

#nav li a:hover {
	background-color: #ff0000;
}

#footer {
	clear: both;
	width: 400px;
	margin-left: 163px;
}

table.avaborder {
	border: 1px solid black;
}