* {
	margin: 0;
	padding: 0;
}

body {
	/*margin-top: 20px;*/
	background: White;
	/*background: #777777 url(gfx/tausta_tassu.gif) no-repeat fixed 0 0;*/
	text-align: center; /*IE ei osaa keskittää elementtejä ilman tätä. Ylikirjoitettava kaikissa alaelementeissä -> text-align: left;*/
	color: #202020;
	font: normal normal 70% Verdana, Arial, Helvetica, Sans-serif;
}

/*****  GENERAL  *****/
h1, h2, h3, #bottom p#copyright, .message b, 
.message_form b, .userdata b, .feedback_message, .basic_form label, legend,
th {
	color: #B80F00;
	font: normal normal 120% "Lucida Sans Unicode", LucidaGrande, Verdana, Arial, Helvetica, Sans-serif;
}

a {
	color: #B80F00;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

a.edit_link, a.remove_link {
	line-height: 2em;
	border: 3px solid;
	border-color: #36B322 #1F6613 #1F6613 #36B322;
	padding: 0.3em;
	color: #FCFCED;
	background: #2E901E;
	text-decoration: none;
}

a.remove_link {
	border-color: #D67168 #9A3027 #9A3027 #D67168;
	background: #CF4236;
}

a.remove_link:hover {
	background: #A7352C;
	border-color: #9A3027 #D67168 #D67168 #9A3027;
}

a.edit_link:hover {
	border-color: #1F6613 #36B322 #36B322 #1F6613;
	background: #246919;
}

table {
	border-collapse: collapse;
	margin-bottom: 1em;
}

table th {
	border: 1px solid #C8BD7F;
	padding: 4px 6px 4px 3px;
	background: #EBE4C8;
}

table td {
	border: 1px solid #C8BD7F;
	padding: 3px 6px 3px 3px;
	background: #F9F6EE;
}

.error_message, .feedback_message {
	margin: 20px 0 20px 0;
	line-height: 3em;
}

.error_message span {
	background: #D2392C;
	border: 2px solid #81271D;
	color: #FAF9F0;
	font-size: 105%;
	font-weight: bold;
	padding: 8px;
}

/*****  FORMS GENERAL  *****/

form {
	width: 90%;
}

input {
	margin-top: 2px;
}

textarea, select, .common_text_field, .common_submit_button {
	font: normal normal 100% Verdana, Arial, Helvetica, Sans-serif;
	padding: 2px;
	border: 1px solid #BAAE53;
}

.common_submit_button {
	color: #B80F00;
	background: #E1DAAC;
}

fieldset {
	border: none;
}

.message_form b {
	margin-top: 10px;
	display: block;
}

.basic_form {
	margin-top: 20px;
}

.basic_form b {
	margin-top: 2px;
	display: block;
}

.basic_form label {
	font-size: 100%;
	margin-right: 1em;
}

.basic_form fieldset {
	padding: 10px 40px 20px 20px;
	border: 1px solid #BAAE53;
	margin-bottom: 10px;
}

/*****  HEADER  *****/
#header {
	margin: auto;
	margin-top: 20px;
}

#header, #mainpage {
	min-width: 900px;
	max-width: 1000px;
}

#header_left {
	float: left;
	/*margin-right: -3px;*/
	width: 310px;
	height: 153px;
	background: url(gfx/header_left.gif) no-repeat top right;
}

#header_right {
	position: relative;
	z-index: 1;
	float: right;
	margin-left: -6px;
	width: 10px;
	height: 154px;
	background: url(gfx/header_right.gif) no-repeat top left;
}

#header_center {
	margin-left: 310px;
	margin-right: 10px;
	background: url(gfx/header_center.gif) repeat-x right top;
	height: 32px;
	text-align: right;
}

/*****  MENUBAR  *****/
#header_center li {
	list-style: none;
	float: right;
	text-align: center;
}

#menu {
	margin-top: 25px;
}

* html #menu {
	padding-right: -20px;
}

#menu li {
	position: relative;
	z-index: 3;
	font: normal normal bold 12px Trebuchet MS;
	letter-spacing: 2px;
	padding-bottom: 5px;
	padding-top: 5px;
	margin-bottom: 1.0em;
	margin-right: -9px;
	margin-left: 9px;
}

#menu a, #menu a:hover, #menu span {
	display: block;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	text-decoration: none;
}

#menu li a {
	color: #B80F00;
	background: url(gfx/menu_a_bg2.gif) repeat-x top;
	background-color: #EBE5BD;
	border: 1px solid #D3CA88;
	border-bottom: 1px solid #BBAF57;
}

#menu li a:hover {
	/*color: #E3E0CA;*/
	background: #D7CF92;
	border-top: 1px solid #D3CA88;
	border-left: 1px solid #B9AC4F;
	border-right: 1px solid #B9AC4F;
	border-bottom: 1px solid #B9AC4F;
}

#menu li span {
	color: #E3E0CA;
	background: #B80F00;
	border-left: 1px solid #970B00;
	border-right: 1px solid #970B00;
	border-bottom: 1px solid #330400;
	border-top: 4px solid #B80F00;
	margin-top: -3px;
}

/*****  ALAMENU  ******/
#menu li ul {
	position: absolute;
	left: auto;
	list-style: none;
	width: 25em;
	padding-left: 23px;
	background: url(gfx/submenu_ul_bg.gif) no-repeat top left;
}

#menu li ul li {
	float: left;
	padding: 0;
	padding-top: 7px;
	margin: 0;
}

#menu li ul li a, #menu li ul li a:hover, #menu li ul li span {
	padding: 0;
	padding-right: 5px;
	padding-left: 5px;
	margin-top: -2px;
	text-decoration: none;
	background: transparent;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid #B80F00;
}

#menu li ul li a:hover {
	color: #D7CF92;
}

#menu li ul li span {
	color: #B80F00;
	background-color: White;
	background-image: url(gfx/submenu_a_active_bg.gif);
	border-left: 1px solid #B80F00;
	border-right: 1px solid #B80F00;
	border-bottom: none;
	border-top: 1px solid #B80F00;
	background-repeat: repeat-x;
}


/*****  MENUBAR TOOL BUTTONS  *****/
#tool_buttons {
	padding-top: 2px;
}

#tool_buttons li {
	margin-left: 8px;
}

#tool_buttons span {
	display: none;
}

#site_map_link {
	width: 19px;
	height: 17px;
	background: url(gfx/site_map_logo.gif) no-repeat top left;
	display: block;
}

a#site_map_link:hover {
	background: url(gfx/site_map_logo_hover.gif) no-repeat top left;
}

#site_stats_link {
	width: 23px;
	height: 18px;
	background: url(gfx/site_stats_logo.gif) no-repeat top left;
	display: block;
}

a#site_stats_link:hover {
	background: url(gfx/site_stats_logo_hover.gif) no-repeat top left;
}


/*****  MAIN PAGE  *****/

#mainpage {
	margin: auto;
	text-align: left;
	clear: both;
}

#left_content {
	float: left;
}

#right_content {
	float: right;
}

#center_content {
	margin-left: 200px;
	margin-right: 200px;
	min-width: 450px;
}

#left_content img#random {
	border: 1px solid #B80F00;
	margin-top: 20px;
}

h1.pagetitle {
	background: url(gfx/page_title_bg.gif) no-repeat top left;
	margin-left: -90px;
	height: 40px;
	font-size: 20px;
	letter-spacing: 3px;
	padding-left: 90px;
	margin-bottom: 20px;
}

* html h1.pagetitle {
	position: relative;
	left: -70px;
}

.normal_page ul, .normal_page p, .normal_page table {
	line-height: 1.3em;
	margin-bottom: 1em;
}

.normal_page p {
	margin-top: 1em;
}

.normal_page table {
	margin-top: 1em;
}

.normal_page ul {
	margin-left: 5em;
}

.normal_page h1, .normal_page h2, .normal_page h3 {
	margin-top: 1em;
}

/*table.scoreboard, table.gametable {
	margin-left: 3em;
}*/

table.scoreboard th, table.gametable th {
	font-weight: bold;
}

table.scoreboard th, table.scoreboard td  {
	font-family: Verdana, Arial, Helvetica, Sans-serif;
	font-size: 100%;
	padding: 3px 5px 3px 5px;
	text-align: right;
}

table.gametable th, table.gametable td {
	border-collapse: collapse;
	border: none;
	background: transparent;
	padding: 3px 20px 3px 0;
}

table.gametable b {
	color: #B80F00;
}

/*****  NEWS PAGE  *****/
.news h2 {
	font-size: 13px;
	letter-spacing: 1px;
}

.news h2.date {
	float: left;
	width: 80px;
	padding-right: 2px;
	margin-right: 5px;
	background: url(gfx/dot_red_5px.gif) no-repeat center right;
	letter-spacing: 0px;
}

.news p {
	line-height: 1.3em;
	background: url(gfx/news_bg.gif) no-repeat top left;
	padding-top: 5px;
	padding-left: 85px;
	margin-bottom: 20px;
	padding-bottom: 10px;
}

.news p.edit_info, p.edit_info {
	text-align: right;
	margin-top: -25px;
	color: #B80F00;
	background: transparent;
}


/*****  POLL WINDOW  *****/
.poll_window {
	clear: both;
	width: 180px;
	text-align: left;
	margin-top: 20px;
}

* html .poll_window {
	margin-bottom: 30px;
}

.poll_window img.left {
	float: left;
	position: relative;
	z-index: 1;
}

.poll_window img.right {
	display: block;
	position: relative;
	z-index: 1;
}

.poll_window h3 {
	position: relative;
	z-index: 4;
	float: left;
	color: #B80F00;
	background: url(gfx/small_window_top_center.gif) repeat-x top;
	padding-top: 5px;
	margin-left: -5px;
	height: 25px;
	font-size: 12px;
	letter-spacing: 0px;
}

.poll_window h3 img {
	float: left;
	margin-right: 4px;
	margin-top: -1px;
}

* html .poll_window h3 {
	margin-right: -5px;
}

.poll_window p, .poll_window form, .usermenu, .sidemenu {
	margin-bottom: 10px;
	margin-left: 10px;
	margin-top: 5px;
}

.poll_window ul {
	margin-left: 10px;
}

.poll_window .announcement {
	background: url(gfx/tiedote_anim.gif) no-repeat top left;
}

/*****  SIDE AND USER MENU  *****/
.usermenu li, .sidemenu li {
	list-style: none;
}

.usermenu li a, .usermenu li span {
	display: block;
	width: 80%;
	padding: 0.3em 0.3em 0.3em 0.3em;
	text-decoration: none;
	color: #B80F00;
	background-color: #EBE5BD;
	border: 1px solid #D3CA88;
}

.usermenu li a:hover {
	background-color: #D4CE8B;
}

.usermenu li span {
	color: #76651C;
	background-color: #F9F8ED;
	border: 1px solid #ECE6C6;
}

/*****  SIDEMENU  *****/
.sidemenu li {
	margin: 0.5em 0 0.5em 0;
	/*background: url(gfx/red_line_fade_500px.gif) no-repeat right bottom;*/
}

.sidemenu a, .sidemenu span {
	text-decoration: none;
	font-weight: bold;
	background: transparent;
}

.sidemenu a:hover {
	color: #D3CA88;
}

.sidemenu li span {
	color: #9D9139;
}

.sidemenu ul {
	margin-left: 10px;
}

.sidemenu ul li {
	background: none;
	background: url(gfx/lightyellow_line_fade_500px.gif) repeat-y top right;
	border-color: #EBE9C6;
	border-style: solid;
	border-width: 0 0 1px 1px;
	margin: 0;
	padding: 0.5em 0 0.1em 0.1em;
}
.sidemenu ul li a, .sidemenu ul li span {
	font-weight: normal;
}

a.logout_link {
	background: #CF4236;
	border: 2px solid;
	border-color: #D67168 #9A3027 #9A3027 #D67168;
	color: #FAF9F0;
	font-size: 100%;
	font-weight: bold;
	padding: 3px;
	text-decoration: none;
}

a.logout_link:hover {
	background: #A7352C;
	border-color: #9A3027 #D67168 #D67168 #9A3027;
}


/*****  LOGIN BOX  *****/
#login_box {
	font-size: 10px;
}

#login_box fieldset {
	float: left;
}

.input_field label {
	float: left;
	display: block;
	width: 6em;
}

.input_field input {
	height: 12px;
	width: 55px;
	font-size: 10px;
	margin-bottom: 2px;
}

.submit_button {
	float: right;
	margin-top: 1em;
	border: none;
}

/*****  BOTTOM BAR  *****/
#bottom {
	float: left;
	clear: left;
	text-align: left;
	width: 730px;
	height: 94px;
	background: url(gfx/bottom_line.gif) no-repeat top left;
	margin-top: 20px;
}

#bottom p#copyright {
	float: left;
	padding-left: 55px;
	margin-top: 30px;
	font-weight: bold;
	font-size: 12px;;
}

#bottom p#bottom_text {
	float: right;
	padding-right: 100px;
	margin-top: 30px;
}

/*****  MESSAGE BOARD  *****/
.navibar {
	/* widthin tarttee IEn giljotiini bugia varten */
	width: 80%;
	margin: 20px auto 40px auto;
}

.navibar a, .navibar span {
	margin: 0 0.6em 0 0.6em;
}

.navibar select {
	width: 4em;
}

.message {
	margin: 20px 0 5px 0;
	padding-bottom: 1px;
}

.message h3, .message h2, .message {
	background: url(gfx/red_line_fade_500px.gif) no-repeat left bottom;
}

.message h2 {
	font-size: 105%;
}

.message h3, .message b {
	font-size: 100%;
}

.message p {
	background: url(gfx/lightyellow_line_fade_500px.gif) repeat-y;
	padding: 5px 0 5px 0;
}

.keyword {
	color: #B80F00;
	font-weight: bold;
}

/*****  USER PAGES ETC.  *****/
.userdata b {
	font-size: 100%;
}