/* LAYOUT */
body      {
	font-size: 11px;
	font-family: Verdana, Geneva, sans-serif;
	background-image: url(bg.jpg);
	background-repeat: repeat-x;
	background-position: center top;
	background-color: #BEA884;
}
a    {
	color: #7C5A46;
	text-decoration: underline
}
a:hover   {
	color: #C90;
}
div.main     {
	font-family: Verdana, Geneva, sans-serif;
	margin: auto;
	position: relative;
	width: 963px;
	font-size: 12px;
	color: #000;
}
.topbar  { position: relative }
.copyright   {
	color: #452F1C;
	font-size: 11px;
	font-family: Verdana, Geneva, sans-serif;
	text-decoration: none
}
.topbar .company {
	position: absolute;
	left: 0px;
	top: 0px;
	background: url('companyback.gif') right top no-repeat;
	padding-right: 30px;
	padding-top: 7px;
	height: 43px;
	font-size: 14pt;
	font-family: "Times New Roman", Times, serif;
	font-weight: bold;
}

/* OTSIKOT
------------------------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	font-family: Verdana, Geneva, sans-serif;
	font-weight: normal;
	color: #626262;
	line-height: 15px;
	/* text-shadow: #000 1px 1px 0px; */
}
	h1 { font-size: 21px;color: #503721; font-weight: bold; }
	h2 { font-size: 16px;color: #503721; font-weight: bold;}
	h3 { font-size: 15px;color: #503721; font-weight: bold; }
	h4 { font-size: 20px;color: #f1e3c0; font-weight: bold; }
	h5 { font-size: 12px; }
	h6 { font-size: 12px; }


.topmenu        {
	font-weight: bold;
	background-image: url("menu_bar.jpg");
	padding-right: 15px;
	padding-left: 0px;
	height: 64px
}
.leftmenu    {
	margin-top: 3px;
	padding-top: 10px;
	padding-bottom: 10px;
	width: 140px;
	background-image: url(body_bg.jpg);
	background-position: left top;
	background-color: #f9f2e7;
}
#intramenu {
	background: #e8eff5;
}
.leftmenu h2, .leftmenu h2 a    {
	color: #573e34;
	font-size: 12px;
	font-family: Verdana, Geneva, sans-serif;
	font-weight: bold;
	background-color: #dcdfec;
	text-transform: uppercase;
	margin: 0;
	padding: 5px 5px 5px 15px
}
.leftmenu h2 a   { background-color: #dcdfec; padding-left: 0 }
.leftmenu hr   { background-color: #dcdfec; width: 100%; height: 1px }
.leftmenu a    {
	color: #999;
	font-size: 12px;
	font-family: Verdana, Geneva, sans-serif;
	font-weight: bold;
	text-decoration: none;
	background-color: #dcdfec;
	padding-left: 15px
}
.vasenreunus  { }
.search {
	padding-left: 15px;
	padding-top: 10px;
	color: #0066CC;
	font-weight: bold;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	font-weight: bold;
}
h1.title {
	background: url('bar_tausta.jpg') repeat-x;
	height: 14px;
	color: #4C341C;
	font-size: 14px;
	padding: 2px;
	padding-top: 3px;
	padding-left: 3px;
	font-family: Verdana, Geneva, sans-serif;
	font-weight: bold;
	margin: 0px;
	margin-top: 5px;
}

.content     {
	padding-top: 20px;
	padding-right: 30px;
	padding-bottom: 10px;
	padding-left: 30px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	line-height: 18px;
	color: #000;
	background-color: #f9f2e7;
	border-right-style: none;
	border-left-style: none;
	margin-right: 20px;
	margin-left: 20px;
	border-top-style: none;
	border-bottom-style: none;
}

/* NEWS/CALENDAR */
.list {
	font-size: 12px;
	font-family: Verdana, Geneva, sans-serif;
	width: 100%;
}
.list .date {
	color: #382213;
	font-weight: bold;
	vertical-align: top;
	width: 4em;
	white-space: nowrap;
}
.list .title {
	color: #392314;
	font-weight: bold;
}
.list .title A {
	color: #382213;
	text-decoration: none;
}
.list .content   {
	color: #000;
	background-color: #dcdfec;
	padding-bottom: 1em;
	border-right: 1px solid #c2a994;
	border-left: 1px solid #c2a994
}
.list .link {
	text-align: right;
	white-space: nowrap;
}
.list .link a {
	text-decoration: none;
	color: #392314;	/*
	color: white;
	border: 1px solid #2e5d8b;
	background: #3e6f9f;
	padding-left: 2px;
	*/
}

/* BANNERIT & OIKEAPUOLI
------------------------------------------------------------------------------------------*/
td.rightside {
	width: 200px;
	

}
.rightside {
	vertical-align: top;
	width: 200px;
	padding-right: 5px;
	padding-left: 5px;
	margin-right: 5px;
	margin-top: 15px;
	background: #fdfbf8;
}
.banners {
	text-align: center;
	padding-top: 25px;
	padding-bottom: 17px;
	margin-right: 0px;
	margin-top: 10px;
	background: #fdfbf8;
}
.banners hr {
	border:none;
	border-top: 5px solid none;
	height: 10px;
	margin-right: 0px;
	width: 90%;
	text-align:center;
	margin: 15px auto;
	padding-top: 25px;
}


/* KUVAGALLERIA
------------------------------------------------------------------------------------------*/

#gallery_category_table {
}

div.gallery_category_cell {
	padding-bottom: 10px;
}

#gallery_image_table {
}
	#gallery_path_cell {
	}
	#gallery_nextprev_cell {
	}
	#gallery_image_cell {
		padding: 20px 0 10px 0;
		text-align: center;
	}
	#gallery_description_cell {
	}
a.gallery_category {
background: url('kuvagalleria_kuvake.png') !important;
padding-left: 20px !important;
padding-top: 20px !important;
padding-right: 9px !important;
padding-bottom: 9px !important;
width: 71px !important;
height: 71px !important;
}



/* Single item */
.news {
	font-family: Verdana, Geneva, sans-serif;
}
.news h1 {
	font-size: 12px;
	font-weight: bold;
	color: #382213;
	text-transform: uppercase;
	margin: 0px;
}
.news .date {
	color: #382213;
}
.news blockquote {
	margin: 0px;
	margin-top: 10px;
}

.searchresults {

}
.searchresults h1 {
	font-size: 12px;
	font-weight: bold;
	color: #0066CC;
	text-transform: uppercase;
}
.searchresults a {
	color: #0066CC;
	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;
}

.feedbackform {
	font-family: Arial, sans-serif;
}
.feedbackform h1 {
	font-size: 12px;
	font-weight: bold;
	color: #0066CC;
	text-transform: uppercase;
}
.feedbackform .label {
	font-size: 9pt;
	color: #838383;
}
.feedbackform input, .feedbackform textarea {
	display: block;
	margin-top: 2px;
}
.feedbackform input.button {
	display: inline;
	border: 1px solid #3c6293;
	background: #f0eeef;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 10pt;
	color: #382213;
}

/* IE fix */
* html form { margin: 0px; }

/* DOMMENU */ 
div.domMenu_menuBar    { }
div#domMenu_top, div.domMenu_menuBar table, div.domMenu_menuBar td     {
	padding-top: 0px
}
div.domMenu_menuElement, div.domMenu_left_menuElement       {
	color: #F9F2E7;
	font-size: 18px;
	font-family: Arial, Helvetica, sans-serif;
	white-space: nowrap;
	padding-right: 24px;
	padding-left: 24px;
	height: 64px;
	font-weight: normal;
	background-image: url(topmenu_valiviiva.jpg);
	background-position: right top;
	background-repeat: no-repeat;
	padding-top: 22px;
}
div.domMenu_left_menuElement    {
	color: #1E5A26;
	font-size: 10px;
	font-family: Verdana, Geneva, sans-serif;
	font-weight: bold;
	white-space: normal;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 15px
}
div.domMenu_menuElementHover    {
	color: #FFFFFF
}
div.domMenu_left_menuElementHover    {
	color: #ffcc00
}
div.domMenu_subMenuBar    {
	border: 1px solid #FFFFFF
}
div.domMenu_subMenuElement       {
	color: #000000;
	font-size: 12px;
	font-family: Verdana, Geneva, sans-serif;
	background-color: #AEB2BB;
	text-align: left;
	padding-right: 6px;
	padding-bottom: 2px;
	padding-left: 6px;
	font-weight: bold;
}
div.domMenu_subMenuElementHeading {
	font-weight: bold;
	text-align: right;
}
div.domMenu_subMenuElementHover    {
	color: #FFFFFF
}

/* FORUM */
.forum {
	font-size: 8pt;
}

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: #2A4C7E;
	font-weight: bolder;
	text-decoration: none;
}

a.forum_msg_link_selected {
	color: black
}

td.forum_cat_topic, TD.forum_msg_topic, TD.forum_form_topic, TD.forum_add_new {
	background-color: #aec7ec;
	color: black;
}

TD.forum_msg_functions, TD.forum_msg_info {
	background-color: #D7DCFD;
	color: black;
}

TD.forum_cat_topic{   /* on forum frontpage*/
	border: 1px solid #2A4C7E;
	font-weight: bolder;
	padding: 2px 5px 2px 5px;
}
TD.forum_cat_bg{    /* bg of category-topic*/
	background-color: white;
	border: 1px solid #2A4C7E;
	color: black;
	padding: 2px 5px 2px 5px;
	height: 50px;
}
TD.forum_cat_name{    /* category name on frontpage cat-list */
	background-color: white;
	color: black;
	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;
	border-bottom: 1px dotted #999999;
	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: white;
	border: 1px solid #999999;
	padding: 0px;
}
TD.forum_msg_topic  { /* open message topic */
	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;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
}
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 */
	border: 1px solid #999999;
	font-weight: bolder;
	padding: 2px 2px 2px 5px;

}

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


a.morelink {
	position: relative;
	display:block;
	text-align: right;
	right: 0px;
	text-decoration: none;
	color: #382213;
}
.login   { background-color: #dcdfec; padding-left: 10px }


/* IE FIX */
* html .banners hr { margin: 0px auto; }

.search input[type="submit"] { padding: 0; } /* IE8 fix */


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

.footer {
	position: relative;
	background: url('footer.jpg') repeat-x;
	height: 153px;
	padding-top: 0px;
}	

.keskitys {
	margin-left: 56px;
	margin-right: auto;
	width: 906px;
	padding-top: 24px;
	line-height: 0px;
}
.viiva {
	border-left: 1px solid #ffffff;
	padding-left: 10px;
}
	.contact {
	font-weight: normal;
	font-size: 15px;
	color: #f6edde;
	text-align: left;
		
}
		.copyright {
		font-weight: normal;
		text-align: right;
		float: right;
		margin-top: 32px;
		padding-right: 0px;
		}

		a.copyright {
		font-size: 11px;
		font-weight: normal;
		text-decoration: none;
		color: #ffffff;
		}
		a.copyright:hover {
		font-weight: normal;
		color: #382109;
		}