/* LAYOUT JS Elokuu 2011
Linkkivärit: #373737
Leipisvärit: #333333
Kaikki fontit: Arial, Helvetica, sans-serif
------------------------------------------------------------------------------------------*/
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	margin: 0px;
	background-color: #FFFFFF;
	background-image: url(images/bg.jpg);
	background-repeat: repeat-x;
	background-position: left top;	/* text-shadow: #000 1px 1px 0px; */
}
* {
	margin: 0;
}
html, body {
	height: 100%;
}


a {
	text-decoration: none;
	font-weight: bold;
	color: #373737;
}
a:hover {
	text-decoration: none;
	color: #333333;
}
div.main {
	padding-top: 4px;
	width: 900px;
	text-align: left;
	position: relative;
	margin: auto;
}

#leftbar {
	width: 180px;
	float: left;
	background: #ffffff;
	padding-bottom: 1000px;
	margin-bottom: -1000px;
	padding-top: 5px;
}

#leftbar  h1 {
	display: none;
}

#rigthbar {
	width: 180px;
	float: left;
	padding-top: 5px;
}


#rigthbar hr, #leftbar hr {
	border: 0;
	border-top: 1px solid #e6e6e6;
	margin: 8px;
}


#rigthbar h1.title {
	border: 0;
	padding: 0;
	margin: 0;
	font-size: 12px;
	font-weight: bold;
}


div.mainarea {
	overflow: hidden;
	background: white;	
}


#news_container {
	padding: 6px;
	color: #77111e;
}


/* OTSIKOT
------------------------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	/*font-family: Arial, Helvetica, sans-serif;*/
	font-weight: normal;
	color: #77101d;
	line-height: normal;
	padding: 0;
	margin: 0;	/* text-shadow: #000 1px 1px 0px; */
	text-transform: uppercase;
}
	h1 { font-size: 24px; }
	h2 { font-size: 20px; }
	h3 { font-size: 18px; }
	h4 { font-size: 16px; }
	h5 { font-size: 14px; }
	h6 { font-size: 12px; }
/* HEADER,  SLIDESHOW & CONTENT
------------------------------------------------------------------------------------------*/
.ylaosa {
	background: #999;
}

.header {
	position: relative;
	height: 268px;
	width: auto;
	background-image: url(images/header.png);
	background-repeat: no-repeat;
	background-position: center top;
}
.language {
	position: absolute;
	width: 150px;
	top: 10px;
	left: 14px;
}


div.content {
	float: left;
	width: 520px;
	vertical-align: top;
	padding: 10px;
	line-height: 18px;
	color: #3393939;
	background-repeat: repeat-y;
	background-repeat: repeat-x;
	background-position: center top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	background-color: #FFFFFF;
}

.slidetausta {
	position: relative;
	padding: 6px;
	height: 250px;
	background: url(images/slidetausta.png) no-repeat right top;
}
#slideshow {
	position: relative;
	margin-top:-2px;
	height: 251px;
	width:887px;
	z-index: 999;
	
}


/* LEFT & TOPMENU / DOMMENU 
------------------------------------------------------------------------------------------*/
.topmenu {
	padding-left:-2px;
	font-weight: bold;
	height: 26px;
	width:900px;
	text-align: left;
	position: relative;
	margin-bottom: 5px;
	
}



.leftmenu {
	padding: 10px;
	margin: 0 0 0 0;
	background-color: #FFFFFF;	
}

td.leftmenutd {
	vertical-align: top;
	width: 184px;
	padding: 0 6px 0 0;
}
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: #3c3c3c;
	text-align: left;
	padding-top: 7px;
	padding-right: 15px;
	padding-left:15px;
	height: 21px;
	font-family: Arial, Helvetica, sans-serif;	/*
	text-transform: uppercase;
	*/
	text-transform: uppercase;
}
div.domMenu_left_menuElement {
	/* background: url('images/left_element.jpg') no-repeat left top; */
	font-size: 12px;
	font-weight: normal;
	color: #77101d;
	white-space: normal;
	padding: 5px 0;
}
	div.domMenu_menuElementHover {
	color: #FFFFFF;
	background-image: url(images/menu_hover.png);
	background-repeat: repeat-x;
}
	div.domMenu_left_menuElementHover, div.leftmenu div.domMenu_menuElementHover {
		/* background: url('images/left_hover.jpg') no-repeat left top; */
		color: #373737;
}
div.domMenu_subMenuBar {
	z-index: 999 !important;
	margin-top:3px;
}
div.domMenu_subMenuElement {
	font-weight: normal;
	background-color: #650202;
	color: #FFFFFF;
	text-align: left;
	padding-top: 5px;
	padding-right: 15px;
	padding-left: 15px;
	padding-bottom: 5px;
	border-bottom-width: thin;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
	div.domMenu_subMenuElementHeading {
		font-weight: bold;
		text-align: right;
}
		div.domMenu_subMenuElementHover {
	color: #650202;
	background-color: #CCC;
}
/* VASEMMAN PALSTAN UUTISET
------------------------------------------------------------------------------------------*/
#left_news {
	border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-webkit-box-shadow: 1px 1px 3px 0px #454545;
	-moz-box-shadow: 1px 1px 3px 0px #454545;
	box-shadow: 1px 1px 3px 0px #454545;
	background-color: #FFFFFF;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left:60px;
	padding-top: 600px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 0px;
}
#left_news h1{
	font-family: Arial, Helvetica, sans-serif;
	color: #900;
}
#left_news td {
}
#left_news a {
}
#left_news a:hover {
}
/* PIKAHAKU
------------------------------------------------------------------------------------------*/
.searchbar {
	height: 45px;
	border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-webkit-box-shadow: 1px 1px 3px 0px #454545;
	-moz-box-shadow: 1px 1px 3px 0px #454545;
	box-shadow: 1px 1px 3px 0px #454545; 
}
fieldset.search {
	width: 210px;
	margin: 0 auto;
	border: none;
}
.search input, .search button {
	border: none;
	float: left;
}
.search input.box {
	color: #333333;
	font-size: 12px;
	width: 164px;
	height: 20px;
	padding: 3px 5px 0;
	background: #FFF url('images/search_bar.gif') no-repeat left top;
	margin-right: 0px;
	border: 1px solid #666;
}
.search button.btn {
	width: 26px;
	height: 25px;
	cursor: pointer;
	text-indent: -9999px;
	background: #666 url('images/search_button.gif') no-repeat left top;
}

/* 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: 170px;
	padding-top: 8px;
}
.rightside {
	vertical-align: top;
	background-color: #FFF;
}
.banners {
	text-align: center;
}
.banners hr {
	border:none;
	border-top: 1px solid #ddd;
	height: 1px;
	width: 100%;
	text-align:center;
	margin: 5px auto;
	padding-left:2px;
}
/* NEWS/CALENDAR
------------------------------------------------------------------------------------------*/

#frontpage_news {
	padding-top:10px;
}
table.list {
}
tr.above {
}
td.date {
}
td.title {
}
td.link {
}
h1.title {
	padding: 2px;
	padding-top: 3px;
	margin: 0px;
	margin-top: 5px;
	border-top-width: thin;
	border-bottom-width: thin;
	border-top-style: none;
	border-bottom-style: solid;
	border-bottom-color: #77101d;
}
.news {
}
	.news h1 {
	font-size: 18px;
	font-weight: normal;
	color: #7d7d7c;
	text-transform: none;
	margin: 0px;
	}
	.news .date {
	color: #d7a713;
	}
	.news blockquote {
		margin: 0px;
		margin-top: 10px;
	}
	a.morelink {
	position: relative;
	display:block;
	text-align: right;
	right: 0px;
	text-decoration: none;
	color: #d7a713;
	font-size: 12px;
		padding-top: 10px;
	}
.list {
	font-size: 12px;
	width: 100%;
	border-bottom-width: thin;
	border-bottom-style: solid;
	border-bottom-color: #CCC;

}
	.list .date {
	color: #d7a713;
	font-weight: bold;
	vertical-align: top;
	width: 4em;
	white-space: nowrap;
	padding-top: 20px;
	font-size: 16px;
	}
	.list .title {
	color: #333333;
	font-size: 16px;
		padding-top: 20px;
	}
	.list .title A {
	color: #666666;
	text-decoration: none;
		padding-top: 20px;
	}
	.list .title A:hover {
		color: #373737;
		text-decoration: none;
	}

	.list .content {
	color: #333333;
	/*font-size: 80%;*/
	font-size: 12px;
	margin-bottom:30px;
	}
	.list .link {
		text-align: right;
		white-space: nowrap;
			padding-top: 20px;
	}
	.list .link a {
	text-decoration: none;
	color: #666666;	/*
		color: white;
		border: 1px solid #2e5d8b;
		background: #3e6f9f;
		padding-left: 2px;
		*/
	font-size: 12px;
	}
	.list .link a:hover {
	text-decoration: none;
	color: #d7a713;
	}
	
	
	/* CALENDAR
------------------------------------------------------------------------------------------*/
	.calendar{
	color           : #333;
	font-size       : 12px;
	font-weight     : bold !important;
	padding         : 4px;
	margin-left     : auto;
	margin-right    : auto;
	background-color: #FFF;
}

.calendar td{
	padding: 0;
	text-align: center;

}

.calendar-past a, .calendar-past span, .calendar-present a, .calendar-present span, .calendar-future a, .calendar-future span{
	padding: 3px;
	line-height: 20px;

}

.calendar-info-holder{
	position: relative;
	text-align: center;

}

a.calendar-prev, a.calendar-next, span.calendar-info{
	text-decoration : none;
	color: #890000;
	line-height: 28px;
	vertical-align: middle;

}

a.calendar-prev, a.calendar-next{

	position: absolute;

	width: 28px;

	height: 28px;

	cursor: hand;

	cursor: pointer;

}

a.calendar-prev{ left: 0; }

a.calendar-next{ right: 0; }

.calendar-present .calendar-day{

	color: #890000;

}

.calendar-has-events{
	background-color: #CCCCCC !important;
	color: #b80000 !important;
}

table.calendar td ul.calendar-events {

	display: none;

}

div.calendar-tooltip {

	border: 1px solid #2f4e6b;

	position: absolute;

	background-color: #fff;

	opacity: 0.9;

	z-index: 100;

	padding: 10px 15px 5px 15px;

}

div.calendar-tooltip ul {

	margin: 0;

	list-style: none;

	padding: 0;

}

div.calendar-tooltip ul li {

	padding-bottom: 5px;

}

div.calendar-tooltip ul li.calendar-events-title {

	font-weight: bold;

}
	
/* 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: #373737;
	text-transform: uppercase;
}
.feedbackform .label {
	color: #333333;
}
.feedbackform input, .feedbackform textarea {
	display: block;
	margin-top: 2px;
	border: 1px solid #373737;
}
.feedbackform input.button {
	display: inline;
	border: none;
	background: #373737;
	color: #FFF;
}
/* 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: 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;
}

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

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

.wrapper {
	margin-bottom: -117px;
	min-height: 100%;
	padding-bottom: -117px;
}


.footer {
	position: relative;
	height: 117px;
	text-align:left;
	background: url(images/footer.png) repeat-x;
}
.footer p {
	margin-bottom: 0px;
}
.footer a {
	color: #ffffff;
}
.footer a:hover {
	color: #a2b4ba;
	text-decoration: none;
}
.contact {
	font-weight: normal;
	font-size: 12px;
	color: #FFFFFF;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 17px;
}
.copyright {
	font-weight: normal;
	text-align: right;
}

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