html {
	background-color: #F5F7FA;
}
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
	max-width: 2880px;
	margin: 0 auto;

	background-color: #E5E5E5;
	scrollbar-face-color: #ECF6FF;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-shadow-color: #ECF6FF;
	scrollbar-3dlight-color: #FFFFFF;
	scrollbar-arrow-color:  #000000;
	scrollbar-track-color: #FFFFFF;
	scrollbar-darkshadow-color: #003399;
}

.tb {
	float:right;
	display:block;
	width: 870px;
	height: 150px;
	margin-bottom: 4px;
	text-align: right;
}
.tb img,
.tb iframe {
	max-width: 870px;
	max-height: 150px;
	min-width: 685px;
}
.tb iframe {
	width: 870px;
	height: 150px;
}

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
a:link,a:active,a:visited { color : #000000; }
a:hover		{ text-decoration: underline; color : #000000; }
hr	{ height: 0px; border: solid #003399 0px; border-top-width: 1px;}
.postbody img, .quote img { max-width: 100%; width: auto; height: auto; }

/* This is the border line & background colour round the entire page */
.bodyline	{ background-color: #FFFFFF; border: 1px #003399 solid; }

/* This is the outline round the main forum tables */
.forumline	{ background-color: #003399; border: 1px #003399 solid; }

/* Main table cell colours and backgrounds */
td.row1	{ background-color: #FFFFFF; }
td.row2	{ background-color: #ECF6FF; }
td.row3	{ background-color: #FFF6CC; }

td.row11	{ background-color: #f6FFf6; }

/*
  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	{
	color: #003399; font-size: 11px; font-weight : bold;
	background-color: #FFCC00; height: 25px;
}

a.thtext {
	color: #003399; font-size: 11px; font-weight : bold;
	text-decoration: none;
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-color:#ECF6FF; border: #FFCC00; 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,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
	background-color: #FFF6CC; border: #FFCC00; border-style: solid;
}

th.thHead,td.catHead { font-size: 12px; 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: 0px 0px 0px 0px; }
th.thCornerL { border-width: 0px 0px 0px 0px; }
th.thCornerR { border-width: 0px 0px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1,h2	{
	font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none; line-height : 120%; color : #000000;
}

/* New Messages */ 
.pm { font-size: 11px; text-decoration: none; color: #FF0000 } 

/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; white-space: nowrap; }
#hvt .genmed { white-space: normal;}
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #000000; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #000000; text-decoration: underline; }
.error {  font-size : 12px; color : #ff0000; }

.hlsmall,a.hlsmall,a.hlsmall:visited { font-weight: bold; font-size : 10px; color: #ff0000; text-decoration: none; }

.hlmed,a.hlmed,a.hlmed:visited { font-weight: bold; font-size : 11px; color: #ff0000; text-decoration: none; }

/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 11px; color : #000000; line-height: 16px; }
a.mainmenu		{ text-decoration: none; color : #000000;  }
a.mainmenu:hover{ text-decoration: underline; color : #000000; }

/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #000000}
a.cattitle		{ text-decoration: none; color : #000000; }
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 : #000000; }
a.forumlink 	{ text-decoration: none; color : #000000; }
a.forumlink:hover{ text-decoration: underline; color : #000000; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 11px; color : #000000;}
a.nav			{ text-decoration: none; color : #000000; }
a.nav:hover		{ text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle	{ font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle:link   { text-decoration: none; color : #000000; }
a.topictitle:visited { text-decoration: none; color : #000000; }
a.topictitle:hover	{ text-decoration: underline; color : #000000; }

.topic_done	{ text-decoration: none; font-weight: normal; font-size: 11px; color : #ECF6FF; }
.topic_low	{ text-decoration: none; font-weight: normal; font-size: 11px; color : #ECF6FF; }
.topic_ul { text-decoration: line-through; font-weight: normal; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : 11px; color : #000000;}
a.name			{ text-decoration: none;}
a.name:visited	{ text-decoration: none;}
a.name:active	{ text-decoration: underline;}
a.name:hover	{ text-decoration: underline;}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : 10px; color : #000000; }

/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink:link	{ text-decoration: none; color : #000000 }
a.postlink:visited { text-decoration: none; color : #000000; }
a.postlink:hover { text-decoration: underline; color : #000000}

/* Quote & Code blocks */
.code {
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
	background-color: #FFFFFF; border: #003399; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.codeinline {
	font-family: Courier, 'Courier New', sans-serif; font-weight: bold; font-size: 11px; color: #006600;
}

.quote {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
	background-color: #FFFFFF; border: #FFF6CC; border-style: solid;
	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: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
a.copyright		{ color: #444444; text-decoration: none;}
a.copyright:hover { color: #000000; text-decoration: underline;}

/* Form elements */
input,textarea, select {
	color : #000000;
	border-color : #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}

select {
	border: #000000 1px solid;
	background-color : #FFFFFF;
}

input { text-indent : 2px; }

.post, input.post {
	background-color : #FFFFFF;
	border: #000000 1px solid;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color : #000000;
	font-size: 11px;
}

/* The buttons used for bbCode styling in message post */
.button {
	background-color : #FFFFFF;
	border: #000000 1px solid;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color : #000000;
	font-size: 11px;
}

/* The main submit button option */
.mainoption {
	background-color : #FFFFFF;
	border: #000000 1px solid;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color : #000000;
	font-size: 11px;
	font-weight : bold;
}

/* None-bold submit button */
.liteoption {
	background-color : #FFFFFF;
	border: #000000 1px solid;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color : #000000;
	font-weight : normal;
	font-size: 10px;
}

/* 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: #ECF6FF; border-style: none; }

a.toplink:link { font-family:Verdana, Arial, Helvetica;text-decoration:none;font-size:8pt;color:#ffffff; }
a.toplink:visited { font-family:Verdana, Arial, Helvetica;text-decoration:none;font-size:8pt;color:#ffffff; }
a.toplink:hover { font-family:Verdana, Arial, Helvetica;text-decoration:none;font-size:8pt;color:#ffffff; }

.hv_linkk			{ font-size:8pt; color:#990000 }
a.hv_linkk:link		{ text-decoration:none;font-size:8pt; color:#990000; font-weight: bold  }
a.hv_linkk:visited	{ text-decoration:none;font-size:8pt; color:#990000; font-weight: bold  }
a.hv_linkk:hover	{ text-decoration:none;font-size:8pt; color:#990000; font-weight: bold  }

.hv_link { color:#990000 }
a.hv_link:link		{ text-decoration:none;color:#990000 }
a.hv_link:visited	{ text-decoration:none;color:#990000 }
a.hv_link:hover		{ text-decoration:none;color:#990000 }

.hv_counter{ font-family:Verdana, Arial, Helvetica;text-decoration:none;font-size:8pt;color:#009900; font-weight: normal  }
.hv_fcounter{ font-family:Verdana, Arial, Helvetica;text-decoration:none;font-size:8pt;color:#990000; font-weight: normal  }

.hv_hinna {  text-decoration:none;color: #ff0000 }
.hv_vaatlus  {  text-decoration:none;color: #000080 }
.ot {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #444444; line-height: 125%;
	background-color: #FFFFFF; border: #FFF6CC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

form {
    margin: 0px 0px 0px 0px;
}

div.floater {margin: 0px 25px 0px 0px; float: left}
fieldset {border: 1px solid #003399; padding: 0px 10px 10px 15px}
legend {padding: 10px 5px  }

table.attachtable,#hvt table {
	border-bottom: 1px solid #003399;
	border-left: 1px solid #003399;
	border-top: 1px hidden;
	border-right: 1px hidden;
	border-spacing: 0px;
/*\*/
*	border-collapse: collapse;
/**/
}

td.attachrow, td.attachheader,#hvt td {
	padding: 3px 9px 3px 9px;
	border-top: 1px solid #003399;
	border-right: 1px solid #003399;
	border-bottom: 1px hidden;
	border-left: 1px hidden;
}

#hvt .errors {
	background-color: #FFDDDD;
}

#hvt .biginp {
	width: 200px;
}

#hvt .smallinp {
	width: 50px;
}

.spoiler_head {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;
	padding: 5px;
	line-height: 125%;
	cursor: pointer;
}

.spoiler_body {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;
	padding: 5px;
	border: 1px solid #003399;
	line-height: 125%;
}


div.fileinputs {
	position: relative;
}

div.fakefile {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
}

input.file {
	position: relative;
	text-align: right;
	-moz-opacity:0 ;
	filter:alpha(opacity: 0);
	opacity: 0;
	z-index: 2;
}

#hvr table {
	border-bottom: 1px solid #CAD2D9;
	border-left: 1px solid #CAD2D9;
	border-top: 1px hidden;
	border-right: 1px hidden;
	border-spacing: 0px;
/*\*/
*	border-collapse: collapse;
/**/
}

#hvr td,#hvr th {
	padding: 0px 9px 1px 9px;
	border-top: 1px solid #CAD2D9;
	border-right: 1px solid #CAD2D9;
	border-bottom: 1px hidden;
	border-left: 1px hidden;
}

#hvr .gensmall { font-size : 9px; }
#hvr .genmed { font-size : 9px; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("/templates/HinnaVaatlus/formIE.css");
