* {
	margin:0;
}	
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	background: #FFFFFF;
	height: 100%;
	color: #626262;
	
}
html{
	height: 100%;
}
a {
	text-decoration: none;
	font-weight: bold;
	color: #000;
}
a:hover {
	color: #ff0000;
}
div.main {
	margin: auto;
	width: 870px;
	/*text-align: left;*/
	position: relative;
}
.mainarea {
	padding-top: 2px;
	padding-bottom: 2px;
}
.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -261px;
 /* the bottom margin is the negative value of the footer's height */
}
/*p {
	padding-top: 10px;	
}*/
/* OTSIKOT
------------------------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	color: #ffa200;
	line-height: normal;
	padding-top: 5px;
	padding-bottom: 10px;
	margin: 0;
	color: #ff0000;
}
	h1 { font-size: 48px; }
	h2 { font-size: 25px; }
	h3 { font-size: 20px; }
	h4 { font-size: 18px; }
	h5 { font-size: 16px; }
	h6 { font-size: 14px; }
/* HEADER & CONTENT
------------------------------------------------------------------------------------------*/
/*.header {
	background: url('images/top_bg.gif') repeat-x left top #09C;
	position: relative;
	height: 0px;
	width: 100%;
}*/
.language {
	position: absolute;
	width: 150px;
	top: 10px;
	left: 14px;
}
table.maintable {
	/*background: url('images/content_bg.jpg') no-repeat left top;*/
}
td.content {
	height: 200px;
	width: 870px;
}
	.content {
		width: 870px;
		vertical-align: top;
		padding-right: 0px;
		padding-bottom: 40px;
		padding-left: 0px;
		padding-top: 20px;
		line-height: 18px;
		color: #626262;
		/*
		border-left: 1px solid #ffffff;
		border-top: 1px solid #ffffff;
		border-right: 1px solid #ffffff;
		border-bottom: 1px solid #ffffff;
		*/
	}
/*---------------------------------------------TOPMENU----------------------------------------------*/
.topmenu {
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	background: url('images/rautalammin_auto_oy_header.jpg') no-repeat center top #fff15f;
	height: 428px;
	text-align: center;
	margin-top: -10px;
}
div.domMenu_menuBar {
	
}
div#domMenu_top, div.domMenu_menuBar table, div.domMenu_menuBar td {
}
div.domMenu_menuElement {
	/* background: url('images/menu_element.jpg') no-repeat left top; */
	font-size: 14px;
	font-weight: bold;
	white-space: nowrap;
	color: #ff0000;
	text-align: center;
	padding-top: 35px;
	padding-right: 15px;
	padding-left: 15px;
	height: 37px;
	text-transform: uppercase;
}
div.domMenu_menuElementHover {
		/* background: url('images/menu_hover.jpg') no-repeat left top; */
		background-color: #ff0000;
		color: #fff;
}
/*----------------------------------------LEFTMENU--------------------------------------------------*/
.leftmenu {
	padding-bottom: 10px;
	width: 130px;
	border-right: 1px solid #CCC;
	margin-right: 50px;
}

td.leftmenutd {
	vertical-align: top;
	width: 150px;
	padding-top: 20px;
}

div.domMenu_left_menuElement {
	/* background: url('images/left_element.jpg') no-repeat left top; */
	font-size: 13px;
	font-weight: bold;
	color: #666;
	white-space: normal;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 15px;
	padding-right: 15px;
}
div.domMenu_left_menuElementHover, div.leftmenu div.domMenu_menuElementHover {
		/* background: url('images/left_hover.jpg') no-repeat left top; */
		color: #444;
}
/*-------------------------------------------------SUBMENU----------------------------------------------------*/
div.domMenu_subMenuBar {
	background-color: #ff0000;
	
	
	font-family: 'Open Sans', sans-serif;
}
div.domMenu_subMenuElement {
	font-size: 14px;
	font-weight: bold;
	white-space: nowrap;
	color: #fff;
	text-align: center;
	padding-top: 15px;
	padding-right: 15px;
	padding-left: 15px;
	height: 37px;
	text-transform: uppercase;
	border-top: 1px solid #fff;
	
}
div.domMenu_subMenuElementHeading {
		font-weight: bold;
		text-align: right;
		
}
div.domMenu_subMenuElementHover {
			background-color: #000;
		color: #fff;
	
}

/*-----------------------------------------------INTRAMENU---------------------------------------------------*/
#intramenu {
	background: #e8eff5;
}
.leftmenu h2, .leftmenu h2 a {
	font-size: 12px;
	font-weight: bold;
	margin:0px;
	padding: 5px;
	padding-left: 15px;
	color: #018fd7;
	text-transform: uppercase;
}
.leftmenu h2 a {
	padding-left: 0px;
}
.leftmenu hr {
	border: 1px solid white;
	width: 100%;
	height: 1px;
}
.leftmenu a {
	padding-left: 15px;
	font-size: 12px;
	font-weight: bold;
	color: #456F97;
	text-decoration: none;
}

/*--------------------------------------------BANNERIT & OIKEAPUOLI----------------------------------------------*/

td.rightside {
	width: 12%;
}
.rightside {
	vertical-align: top; 
	width: 150px;
}
.banners {
	text-align: center;
}
.banners hr {
	border:none;
	border-top: 1px solid #ddd;
	height: 1px;
	width: 100%;
	text-align:center;
	margin: 5px auto;
}

/*------------------------------------------------NEWS/CALENDAR--------------------------------------------------*/

#frontpage_news {
}
table.list {
}
tr.above {
}
td.date {
}
td.title {
}
td.link {
}
h1.title {
		/* background: url('h_bg.jpg') repeat-x; */
		height: 18px;
		color: #17a0e6;
		font-size: 18px;
		padding-top: 3px;
		font-weight: bold;
		margin: 0px;
		margin-top: 5px;
		font-family:"Century Gothic", "Trebuchet MS", Arial, Helvetica, sans-serif;
		padding-bottom: 10px;
}
.news {
}
	.news h1 {
		font-size: 14px;
		font-weight: bold;
		color: #17a0e6;
		text-transform: uppercase;
		margin: 0px;

	}
	.news .date {
		color: #333333;
	}
	.news blockquote {
		margin: 0px;
		margin-top: 10px;
	}
	a.morelink {
		position: relative;
		display:block;
		text-align: right;
		right: 0px;
		text-decoration: none;
		color: #6f6f6f;
	}
	a.morelink:hover {
		color: #999;	
	}
.list {
	font-size: 12px;
	width: 100%;
}
	.list .date {
		color: #6f6f6f;
		font-weight: bold;
		vertical-align: top;
		width: 4em;
		white-space: nowrap;
		padding-right: 5px;
	}
	.list .title {
		color: #6f6f6f;
	}
	.list .title A {
		color: #17a0e6;
		text-decoration: none;
	}
	.list .title A:hover {
		color: #0082C5;
		text-decoration: none;
	}

	.list .content {
		color: #6f6f6f;
		/*font-size: 80%;*/
		padding-bottom: 1em;
	}
	.list .link {
		text-align: right;
		white-space: nowrap;
	}
	.list .link a {
		text-decoration: none;
		color: #373737;	/*
		color: white;
		border: 1px solid #2e5d8b;
		background: #3e6f9f;
		padding-left: 2px;
		*/
	}
	.list .link a:hover {
		text-decoration: none;
		color: #333333;
	}
/*----------------------------------------------------HAKU-------------------------------------------------------*/
.search {
	padding-left: 15px;
	padding-top: 10px;
	color: #333333;
	font-weight: bold;
	font-weight: bold;
}
	.searchresults {
	}
	.searchresults h1 {
		font-weight: bold;
		color: #333333;
		text-transform: uppercase;
	}
	.searchresults a {
		color: #333333;
		font-weight: bold;
		text-decoration: none;
	}
	
	.searchresults hr {
		border: none;
		border-top: 1px solid #AAA;
		height: 1px;
		width: 85%;
		text-align: center;
		margin-top: 1em;
		margin-bottom: 1em;
	}
/*------------------------------------------PALAUTE & LOMAKKEET------------------------------------------------*/

.feedbackform {
}
.feedbackform h1 {
	font-weight: bold;
	color: #17a0e6;
	text-transform: uppercase;
}
.feedbackform .label {
	color: #666;
}
.feedbackform input, .feedbackform textarea {
	display: block;
	margin-top: 2px;
	border: 1px solid #CCC;
	padding: 4px;
}
.feedbackform input.button {
	display: inline;
	border: none;
	background: #ff0000;
	padding: 4px;
	color: #FFF;
	margin-right: 10px;
	font-size: 13px;
}
.feedbackform input.button:hover {

	background: #fff15f;
	color: #ff0000;

}

/*-------------------------------------------------GALLERIA------------------------------------------------------*/
#gallery_category_table {
}
#gallery_image_table {
}
	#gallery_path_cell {
	}
	#gallery_nextprev_cell {
	}
	#gallery_image_cell {
		padding: 20px 0 10px 0;
		text-align: center;
	}
	#gallery_description_cell {
	}

/*-------------------------------------------------FORUM--------------------------------------------------------*/
.forum {
	font-size: 14px;
}

A.forum_cattree_link, a.forum_cat_link, a.forum_msg_link, a.forum_msg_link_selected, a.forum_msg_funktion, a.forum_add_new {
	color: #17a0e6;
	font-weight: bolder;
	text-decoration: underline;
}

a.forum_msg_link_selected {
	color: 17a0e6;
}

td.forum_cat_topic, TD.forum_msg_topic, TD.forum_form_topic, TD.forum_add_new {
	font-family: "Century Gothic", "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #17a0e6;
	text-transform:uppercase;
	padding: 5px;
}

TD.forum_msg_functions, TD.forum_msg_info {
	color: #17a0e6;
	padding: 5px;
}

TD.forum_cat_topic{   /* on forum frontpage*/
	font-weight: bolder;
	padding: 2px 5px 2px 5px;
}
TD.forum_cat_bg{    /* bg of category-topic*/
	padding: 2px 5px 2px 5px;
	height: 50px;
}
TD.forum_cat_name{    /* category name on frontpage cat-list */
	color: #000000;
	padding: 2px 5px 2px 5px;
}

TD.forum_cat_info{    /* info of category (total messages) */
	color: black;
	padding: 2px 5px 2px 5px;
}

TD.forum_msglist_topic{   /* topic, nickname, total replies */
	font-weight: bolder;
	padding: 2px 2px 2px 2px;
}

TD.forum_msglist_1{   /* msg list where user has selected category line 1 */
	color: #000000;
}

TD.forum_msglist_2{   /* msg list where user has selected category line 2 */
	color: #000000;
	background-color: #D7D8DD;
}

TD.forum_msgtree_topic{   /* topic, nickname, total replies */
	font-weight: bolder;
	border-bottom: 1px dotted #999999;
	padding: 2px 2px 2px 2px;
}

TD.forum_msgtree_1{   /* msg tree under chosen message line 1 */
	color: #000000;
	padding:2px;
}

TD.forum_msgtree_2{   /* msg tree under chosen message line 2 */
	color: #000000;
	background-color: #D7D8DD;
	padding:2px;
}
TD.forum_msg_bg { /* open message whole cell bg*/
	background-color: #ddd;
	padding: 0px;
}
TD.forum_msg_topic  { /* open message topic */
	background-color: #ffffff;
	font-weight: bolder;
	padding: 2px 2px 2px 2px;
}
TD.forum_msg_info { /* open message info (nickame, time) */
	font-size: 7pt;
	font-weight: bolder;
	padding: 2px 2px 2px 2px;
}
TD.forum_msg_content{   /* open message content */
	color: black;
	padding: 2px 2px 2px 2px;

}
TD.forum_msg_functions  { /* bg of reply to message, inform of bad message */
	padding: 2px 3px 2px 3px;
}

TD.forum_form_topic{    /* topic of form of new message or topic */
	font-size: 20px;
	font-weight: bold;
	padding: 2px 2px 20px 0px;

}

TD.forum_add_new{   /* bg of add new topic or message */
	/*border: 1px solid #2A4C7E;*/
	background: none;
	padding: 2px 5px 2px 5px;
}

.login {
	padding-left: 10px;
}
/*-----------------------------------------IE FIX -------------------------------------------------*/
* html .banners hr { margin: 0px auto; }
* html form { margin: 0px; }

/*-----------------------------------------FOOTER--------------------------------------------------*/


.push {
	height: 261px;
}
.footer {
	position: relative;
	background-color: #fff15f;
	height: 261px;
	width:100%;
	margin: 0px;
	padding: 0px;
}
.footer_tekstit {
	position: absolute;

	width:870px;
	height: 261px;
	bottom: 0px;
	left: 50%;
    margin-left: -430px;
	font-weight: normal;
	font-size: 14px;
	text-align: left;
	padding-top: 0px;
	color: #626262;
	
}
.footer_tekstit p {
	padding-top:40px;
	padding-left: 340px;
		background: url('images/rautalammin_auto_oy_logo.png') no-repeat left center;
}
.footer_tekstit a {
	color: #626262;

}
		.copyright {
		
		font-weight: normal;
		text-align: right;
		margin-right: 30px;
		padding-top: 30px;
		font-size: 11px;
		}

		a.copyright {
		padding-top: 40px;
		font-weight: normal;
		text-decoration: none;
		color: #626262;
		padding-left:150px;
		}
		a.copyright:hover {
		font-weight: normal;
		color: #626262;
		}