/* CSS Document */

body{
	margin: 0px 0px 0px 0px;
	background-color: #D9DDE0;
	text-align: center;
	font-family: Arial;
	color: #666666;
        background-image: url('../images/bg.jpg');
}

body.contentpane{
	text-align: right;
	background-color: #ffffff;
}

#wrap { width: 960px; margin: 0 auto; padding: 0 30px; }
#clear { display: inline-block; overflow: hidden; }
#clear { display: block; clear: both; }

/* Links */
#links { overflow: hidden; float: left; width: 700px; background: url(../images/search-bg.png) left bottom no-repeat; list-style: none; color: #fff; padding: 5px; margin-left: 0px;}
#links li { float: left; margin-right: 20px; }
#links li a { text-decoration: none; color: #fff; }
#links li a:hover { text-decoration: none; }
#links li.lang { padding: 3px; }


#container{
	top: 0;
	right: 0;
	bottom: 0;
	right: 0;
	
	width: 949px;
	margin: auto;

	text-align: center;
	
	background-image: url('../images/taustakuva.gif');
	background-repeat: repeat-y;
	background-position: top center;
	padding-top: 9px;
}

#header{
	width: 937px;
	top: 0;
	right: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	height: 93px;
	
	/*background-image: url('../images/headertaustanew1.jpg');
	background-repeat: repeat-y;
	background-position: top center;*/
}

#headerl{
	position: relative;
	top: 30px;
	right: 26px;
	float: right;
	text-align: left; /* ie */
}

#headerr{
	position: relative;
	top: 58px;
	right: 24px;
	float: right;

}

div#search{
	
}

#search_out{
	float: right;
	width: 470px; /*169 */
}

#search_in{
	padding: 0px;
	height: 22px !important;
	height: 24px;
	overflow: hidden;	
}

#search_in form {
  padding: 0;
  margin: 0;
}

#search_in .inputbox {
	border: 0px;
	padding: 3px 3px 3px 0px;
	font-family: Tahoma;
	font-size: 11px;
	color: #5A5E68;
        direction: rtl;
	
	/* background-image: url('../images/ibackground.gif');*/
	background-color: #ffffff;
	background-repeat: no-repeat;
	background-position: top left;
	width: 500px;
	height: 20px;
}

/*#valiheader{
	margin-top: 3px;	
	background-image: url('../images/contentbg.gif');
	background-repeat: no-repeat;
	background-position: top center;
	width: 949px;	
	height: 16px;
	border: 1px solid purple;
}*/

#vali{
	width: 949px;
	text-align: right;
	clear: both;	
}

#vali2{
	height: 100px;
	
	/* background-image: url('../images/headerkuva.jpg');*/
	background-repeat: no-repeat;
	background-position: top right;
        width: 649px;
}

/*
#kuva{
	background-image: url('../images/headerkuva.jpg');
	background-repeat: no-repeat;
	background-position: top right;
	/* width: 674px;*/
	height: 100px;
	float: right;
	clear: both;
}*/

#bb{
	float: right;
	width: 500px; /* 224px;*/
	height: 100px; /*189px;*/
}



#navi{
	background-image: url('../images/navigointibg2b.gif');
	background-repeat: no-repeat;
	background-position: top center;
	height: 26px;
	margin-top: 2px;
	/*margin-right: 14px;*/
        padding-right: 14px;
}

#content{
	text-align: right;
	background-image: url('../images/contentbg.gif');
	background-repeat: no-repeat;
	background-position: top center;
	padding: 17px 25px 0px 28px;
}

#koko{
	width: 898px;
	border: 1px solid purple;
	margin-right: 24px;
	
	font-family: Arial;
	font-size: 11px;
	color: #666666;
	line-height: 1.5em;
}

#main{
	width: 474px;
	float: right;
	position: relative;
	right: 26px;
	background-color: #f2f2f2;
}

#vasen{
	float: right;
	width: 201px; /*241*/
}

#keski{
	float: right;
	width: 675px; /*655*/
}

#keski2{
	float: right;
	width: 460px; /*420*/	
}

#keski3{
	float: right;
	width: 475px; /*655*/	
}

#keski4{
	float: right;
	width: 898px;	
}

#oikea{
	width: 420px; /*224*/
	float: left;
}

#footer2{
	/* color: #9EA0A2;
*/
        color: #3333CC;
	font-family: Arial;
	font-size: 12px;
	height: 64px;
	clear: both;
	text-align: right;
	
	width: 949px;
	background-image: url('../images/footerpalkki.gif');
	background-repeat: no-repeat;
	background-position: bottom center;
	font-weight: bold;
	
}

#copy{
	float: right;
	font-size: 10px;
	padding-top: 40px;
	padding-right: 28px;
	color: #666666;
}

div#copy div{
	float: right;
	margin-right: 5px;
}

#othermenu{
	/* float: right;*/
	padding-top: 40px;
        text-align: center;
	padding-right: 28px;
	font-size: 10px;
	color: #666666;
	font-weight: bold;
	font-family: Arial;
}

#footer{
	/* color: #9EA0A2;*/
        color: #3333CC ;
	font-family: Arial;
	font-size: 10px;
	padding-top: 18px;
	position: relative;
	height: 30px;
	clear: both;
	
	background-image: url('../images/footer.gif');
	background-repeat: no-repeat;
	background-position: top center;
	background-color: #D9DDE0;
	font-weight: bold;
}

/* for joomla */

ul#mainlevel-nav
{
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.8em;
}

ul#mainlevel-nav li
{
	background-image: none;
	padding-left: 0px;
	padding-right: 0px;
	float: right;
	margin: 0;
	font-size: 16px;
	line-height: 21px;
	white-space: nowrap;
	/*border-right: 1px solid #cccccc;*/
	
	background-image: url('../images/sepa3a.gif');
	background-repeat: no-repeat;
	background-position: top left;
}

ul#mainlevel-nav li a
{
	font-family: Arial;
	font-weight: bold;
	display: block;
	padding-left: 15px;
	padding-right: 15px;
        font-size: 15px;
	text-decoration: none;
	/*color: #5A5E68;#015B8F*/
        color: #ffffff;
	background: transparent;
	margin-top: 4px;
}

#buttons>ul#mainlevel-nav li a { width: auto; }

	ul#mainlevel-nav li a:hover
{
	color: red;

}

div.moduletable{
	margin: 0px 0px 10px 10px;
	width: 200px; /*24*/
	font-family: Arial;
	font-size: 11px;
	color: #666666;
        text-align: right;
}

div.moduletable h3{
	background-image: url('../images/moduletitlebg2.gif');
	background-repeat: no-repeat;
	background-position: top left;
	padding: 4px 25px 0px 0px;	
        height: 35px;
	margin: 0;
	font-family: Arial;
	font-size: 15px;
	font-weight: bold;
	text-align: right;
	color: #ffffff;
}

div.moduletable table{
	font-family: Arial;
	font-size: 15px;
	color: #666666;
	/* width: 204px;*/
        width: 190px; 
	margin: 0px 10px 0px 10px;
}

div.moduletable table.contentpaneopen{
	margin: 0px 20px 0px 10px;
	text-align: right;
}

div.moduletable table.contentpaneopen td{
	text-align: right;
        margin: 0px 10px 0px 10px;
}

/* graphic grey module box */
div.moduletablegrey{
	margin: 0px 0px 10px 0px;
	width: 224px;

	font-family: Arial;
	font-size: 11px;
	color: #666666;
	background-image: url('../images/moduletitlebg_grey_big.gif');
	background-repeat: no-repeat;
	background-position: top right;
}

div.moduletablegrey h3{
	background-image: url('../images/moduletitlebg_grey.gif');
	background-repeat: no-repeat;
	background-position: 0px 0px;
	padding: 4px 0px 0px 11px;
	height: 35px;
	margin: 0;
	font-family: Arial;
	font-size: 12px;
	font-weight: bold;
	text-align: right;
	color: #ffffff;
}

div.moduletablegrey table{
	font-family: Arial;
	font-size: 11px;
	color: #666666;
	width: 204px;
	margin: 10px 20px 0px 10px;
}

div.moduletablegrey div{
	font-family: Arial;
	font-size: 11px;
	color: #666666;
	padding: 0px 10px 0px 10px;
}

/* plain color grey box */

div.moduletablegreybox{
	margin: 0px 0px 10px 0px;
	width: 224px;

	font-family: Arial;
	font-size: 11px;
	color: #666666;
	background-color: #F6F6F6;
}

div.moduletablegreybox h3{
	background-color: #F6F6F6;
	padding: 13px 0px 0px 11px;
	margin: 0;
	font-family: Arial;
	font-size: 11px;
	font-weight: bold;
	text-align: right;
	color: #881415;
}

div.moduletablegreybox div{
	font-family: Arial;
	font-size: 11px;
	color: #666666;
	padding: 0px 10px 0px 10px;
}


div.syndicate{
	text-align: right;
}

div.moduletable table.poll{
	text-align: right;
	width: 100%;
	margin: 0;
	padding: 0;
}

table.pollstableborder{
	text-align: right;
	width: 100%;
	margin: 0;
	padding: 0;
}

.pollxtd1{
	margin: 0;
}

div.syndicate div{
	text-align: right;
	margin-right: 11px;
}

table.contentpaneopen{
	font-family: Arial;
	font-size: 11px;
	color: #666666;
	
	padding: 0px 0px 0px 0px;
}

table.searchintro{
	font-family: Arial;
	font-size: 11px;
	color: #666666;
}

table.searchintro td{
	font-family: Arial;
	font-size: 11px;
	color: #666666;
}

table.contentpane{
	font-family: Arial;
	font-size: 11px;
	color: #666666;
}

table.contentpane table{
	font-family: Arial;
	font-size: 11px;
	color: #666666;
}

table.poll{
	font-family: Arial;
	font-size: 11px;
	color: #666666;
}

a.mainlevel:link, a.mainlevel:visited {
	display: block;
	background-image: url('../images/bulletti.gif');
	background-repeat: no-repeat;
	background-position: top right;
	/*vertical-align: middle;*/
	font-size: 15px;
	font-weight: bold;
	color: #0367BB;
	text-align: right;
	padding-top: 5px;
	padding-right: 17px;
	height: 15px !important;
	height: 20px;
	text-decoration: none;
}

a.mainlevel:hover {
	background-image: url('../images/bulletti_on.gif');
	background-repeat: no-repeat;
	background-position: top right;
	text-decoration: none;
	color: red;
	font-weight: bold;
}

a.mainlevel#active_menu {
	background-image: url('../images/bulletti_on.gif');
	background-repeat: no-repeat;
	background-position: top right;
	color:#0367BB;
	font-weight: bold;
}

a.mainlevel#active_menu:hover {
	background: url('../images/bulletti_on.gif') no-repeat;
	color: red;
	font-weight: bold;
}

.contentheading{
	margin: 0;
	font-family: Arial;
	font-size: 16px;
	color: #881415;
	font-weight: bold;
}

.componentheading{
	margin: 0;
	font-family: Arial;
	font-size: 16px;
	color: #881415;
	font-weight: bold;
}

.contentdescription{
	font-family: Arial;
	font-size: 11px;
}

.blog_more{
	font-family: Arial;
	font-size: 11px;
}

.small{
	font-family: Arial;
	font-size: 10px;
	color: #999999;
}

.createdate{
	font-family: Arial;
	font-size: 10px;
	color: #999999;
}

.modifydate{
	font-family: Arial;
	font-size: 10px;
	color: #999999;
}

.back_button{
	font-family: Arial;
	font-size: 10px;
}

.pagenav_prev{
	font-family: Arial;
	font-size: 10px;
}

.pagenav_next{
	font-family: Arial;
	font-size: 10px;
}

.message{
	font-family: Arial;
	font-size: 10px;
}

a:link, a:visited {
	color: #0367BB; text-decoration: none;
        font-family: Tahoma;
        font-size: 11px;
	font-weight: normal;
}

a:hover {
	color: #F23533;	text-decoration: underline;
	font-family: Tahoma;
        font-size: 11px;
        font-weight: normal;
}

a.footer:link		{color: #9EA0A2; font-size: 10px; font-weight: bold;}
a.footer:active		{color: #9EA0A2; font-size: 10px; font-weight: bold;}
a.footer:hover		{color: #9EA0A2; font-size: 10px; font-weight: bold;}
a.footer:visited	{color: #9EA0A2; font-size: 10px; font-weight: bold;}

a.readon:link		{background-image: url('../images/readon.gif'); background-repeat: no-repeat; background-position: top right; padding-right: 25px;}
a.readon:active		{background-image: url('../images/readon.gif'); background-repeat: no-repeat; background-position: top right; padding-right: 25px;}
a.readon:hover		{background-image: url('../images/readon.gif'); background-repeat: no-repeat; background-position: top right; padding-right: 25px;}
a.readon:visited	{background-image: url('../images/readon.gif'); background-repeat: no-repeat; background-position: top right; padding-right: 25px;}

ul{
		margin: 0;
		padding: 0;
		list-style: none;
}

li{
		line-height: 15px;
		padding-right: 15px;
		padding-top: 0px;
		background-image: url('../images/bullet.gif');
		background-repeat: no-repeat;
		background-position: top right;
}

ol li{
		background: none;
}
