@import url("editor.css");
@import url("services.css");
@import url("news_syndicate.css");
@import url("activecalendar.css");
@import url("service_forms_catalog.css");
@import url("blog.css");

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}
body {
	background-color: white;
}
#login_body{
	background-position: 0 19px;
}

/* WRAPPER */
#wrapper {
	width: 1006px;
	padding: 0px;
	margin: 0 auto;
	background: url(../gfx/wrapper.gif) repeat-y;

	position: relative;
	min-height: 100%;
} * html #wrapper{
	/* seuraavat kaksi riviä vanhemmille selaimille, säilytä järjestys */
	height: auto !important;
	height: 100%;
}
/* HEADER */
#header {
	height: 99px;
	overflow: hidden;
	position: relative;
	padding: 0;
	background: url(../gfx/header.jpg) no-repeat;	
}
	#header #extra_menu{
		background: url(../gfx/extra_menu.gif) no-repeat;	
		height: 27px;
		width: 627px;
		position: absolute;
		top:15px;
		left: 338px;
		position: relative;
	}
	/* extra valikko */
	#header #extra_menu ul{
		margin: 0;
	}
	#header #extra_menu ul li{
		list-style: none;
		float: left;
		padding: 4px 10px 0 10px;
		margin: 0;
	}
	#header #extra_menu ul li a{
		color: white;
		font-size: 11px;
		text-decoration: none;
	}
	#header #extra_menu ul li a.active{
		font-weight: bold;
	}
	/* Kielivalinta */
	#header #language{
		position: absolute;
		right: 160px;
		top: 5px;
		text-align: right;
		font-size: 11px;
		color: white;
		text-decoration: none;
	}
	/* Haku */
	#header .search_form{
		background: url(../gfx/search.gif) no-repeat;
		position: absolute;
		top: 0px;
		right: 0px;
		width: 160px;
		height: 27px;
	}
	#header .search_form .searchstring{
		border: none;
		background-color: transparent;
		width: 125px;
		margin: 5px 5px 0 30px;
	}
	#header .search_form .submit_button{
		background: url(../gfx/search_button.gif) no-repeat;
		border: none;
		width: 25px;
		height: 22px;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 2px;
		right: -25px;
	}
	#header #front_page{
		position: absolute;
		top:20px;
		left: 20px;
		width: 290px;
		height: 60px;
	}
/* MAIN */
#main {
	padding: 0 9px 0 8px;
	overflow: hidden;
	zoom: 1;
}
/* Pää valikko */
#top_navigation {
		overflow: hidden;
		height: 32px;
		display: block;
		margin-left: 18px;
}
		 #top_navigation ul{
			margin: 0;
			border-bottom: solid 1px #ffcc00;
			height: 31px;
			width: 620px;
		}
		 #top_navigation  ul li{
			list-style: none;
			float: left;
			display: block;
			height: 28px;
		}
		 #top_navigation  ul li.last{
		}
		 #top_navigation  ul li.active{
			padding: 0;
			margin: 0;
			border-bottom: solid 4px #ffcc00;
		}
		 #top_navigation  ul li.last {
		}
		 #top_navigation  ul li a{
			color: white;
			text-decoration: none;
			display: inline;
			height: 22px;
			font-size: 16px;
			line-height: 27px;
			padding: 5px 10px 5px 10px;
		}
		 #top_navigation  ul li a.active{
			font-weight: bold;
		}
		 #top_navigation #navi_end{
			position: absolute;
			top: 0;
			right: -10px;
			height: 27px;
			width: 10px;
		}
/* etusivu.tpl */
#sidebar_frontpage{
	width: 346px;
	float: left;
}
	#sidebar_frontpage #animation{
		height: 240px;
		padding: 14px 27px 19px 29px;
		background: url(../gfx/anime_frame.jpg) no-repeat;
		overflow: hidden;
		color: white;
		position: relative;
	}
		#sidebar_frontpage #animation	.htmldata_controls{
			position: absolute;
			bottom: 0px;
			right: 4px;
		}
	#sidebar_frontpage .box{
		background: url(../gfx/left_box.gif) no-repeat;
		margin-left: 20px;
		margin-top: 20px;
		padding: 0px;
	}
	#sidebar_frontpage .box_title{
		text-transform: uppercase;
		font-weight: normal;
		color: #666666;
		font-size: 18px;
		line-height: 18px;
		position: relative;
		padding-top: 18px;
		padding-left: 50px;
		padding-bottom: 15px;
		margin: 0;
	}#sidebar_frontpage .box_title .htmldata_controls{position: absolute;top:15px;right:15px;}
	#sidebar_frontpage .box .box_text{
		padding: 0 20px;	
	}
	#sidebar_frontpage .box .box_bottom{
		background: url(../gfx/left_box_bottom.gif) no-repeat;
		height: 24px;
		width: 100%;
	}
	#sidebar_frontpage #box1{}
	#sidebar_frontpage #box2{
		margin-bottom: 20px;
	}

#content_front{
	width: 643px;
	overflow: hidden;
	float: left;
	background: url(../gfx/news_blue.jpg) repeat-x;
	position: relative;
	padding:0;
}

	#content_front #top_con{
		width: 643px;
		background: url(../gfx/news_box.jpg) no-repeat;
		background-position: top right;
		position: relative;
	}
	#content_front #top_con #boxs_place{
			padding-left: 5px;
			padding-bottom: 20px;
			/*position: relative;*/
	}
		#content_front #top_con #boxs_place .space_gif{
			height: 200px;
			width: 1px;
			float: left;
		}
	#content_front #top_con #bottom{ 
		background: url(../gfx/news_box_bottom.jpg) repeat-x;
		background-position: top right;
		height: 15px;
		width:643px;
		overflow: hidden;
		position: absolute;
		left: 0;
		bottom: 0px;
	}
		#content_front #top_con .news_box{
			float: left;
			width: 276px;
			margin: 0;
			padding: 25px 20px 0 15px;
		}
		#content_front #top_con .news_title{
			height: 18px;
			text-transform: uppercase;
			font-weight: normal;
			color: #666666;
			font-size: 18px;
			position: relative;
			padding-left: 45px;
			padding-top: 5px;
			padding-bottom: 11px;
			margin-top: 0px;
			margin-left: 0px;
			margin-bottom: 7px;
		}#content_front #top_con .news_title .htmldata_controls{position: absolute;top:0;right:0;}
		.calendar_image{
			background: url(../gfx/calendar_title.jpg) no-repeat;
		}
		.event_image{
			background: url(../gfx/event_title.jpg) no-repeat;
			padding-left: 55px!important;
		}
		#content_front #top_con .news_box .news_front{
			margin: 0;
			/*position: relative;*/
		}
			#content_front #top_con .news_box .news_front .htmldata_controls{
				position: absolute; top:50px; left:70px;
			}
		
	#content_front #botton_con{
		padding: 15px;
	}
/* default.tpl */	
#inner_page_top_navigation{
	height: 34px;
	background: url(../gfx/inner_page_top.gif) repeat-x;
	position: relative;
}
#inner_page_top_navigation #top_navigation{
	position: absolute;
	right: 5px;
	top: 0;
}
#route{
	border-bottom: solid 1px #333333;
	padding: 4px;
	margin: 0 10px;
	text-align: right;
	font-size: 11px;
	line-height: normal;
}#route a{
	text-decoration: none;
	color: #333333;
}

#sidebar { /* SIDEBAR */
	width: 210px;
	padding: 10px 0 0 15px;
	padding-bottom: 1001em;
	margin-bottom: -1000em;
	float: left;
	overflow: hidden;
}

#site_name{
	font-size: 14px;
	font-weight: bold;
	color: white;
	
	background: url(../gfx/site_name.gif) no-repeat;
	display: block;
	height: 22px;
	margin: 0 0 1px 0;
	padding: 0;
	float: left;
	overflow: hidden;
}
#site_name_right{
	background: url(../gfx/site_name_right.gif) no-repeat right;
	/*height: 19px;*/
	line-height: 22px;
	padding: 2px 10px 2px 10px;
	display: inline;
}

	#sidebar #navigation { /* bottom navigation */
	    margin: 0;
	}
	#sidebar #navigation ul {
	    padding: 0;
	    margin: 0;
	}
	#sidebar #navigation ul li {
	    padding: 0;
	    margin: 0;
		 list-style: none;
		 margin-bottom: 1px;
	}
	#sidebar #navigation ul li a{
		 background: url(../gfx/navigation_one.gif) no-repeat;
		 background-color: #e3e3e3;
		 /*height: 20px;*/
		 padding-top: 3px;
		 padding-bottom: 3px;
		 color: #676767;
		 display: block;
		 padding-left: 15px;
		 white-space: nowrap;
		 text-decoration: none;
	}
	#sidebar #navigation ul li a.active {
		font-weight: bold;
		background-color: #a8a8a8;
		color: white;
	}
	#sidebar #navigation ul li a:hover {
		text-decoration: none;
		border: none;
		background-color: #a8a8a8;
	}
	/* Level 2 */
	#sidebar #navigation ul ul{
	    padding: 0;
	    margin: 1px 0 0 12px;
		 border-right: solid 1px #a8a8a8;
 		 border-left:  solid 1px #a8a8a8;
	}
	#sidebar #navigation ul ul li{
		overflow: hidden;
	}
	#sidebar #navigation ul ul li a{
		background: url(../gfx/navigation_two.gif) no-repeat left;
		background-color: transparent;
		color: #333333;
		white-space: normal;
	}
	#sidebar #navigation ul ul li a.active{font-weight: bold;background-color: transparent;color: #676767;}
	#sidebar #navigation ul ul li a:hover{text-decoration: underline;background-color: transparent;}
	
	/* Level 3 */
	#sidebar #navigation ul ul ul{
	   margin: 0 1px 0 1.5em;
		padding-top: 7px;
		border: none;
		background: url(../gfx/navigation_tree.gif) no-repeat center top;
	}
	#sidebar #navigation ul ul ul li{}
	#sidebar #navigation ul ul ul li a{
		background-image: none;
		background-color: #e3e3e3;
		color: #333333;
	}
	#sidebar #navigation ul ul ul li a.active{font-weight: bold;background-color: #e3e3e3;}
	#sidebar #navigation ul ul ul li a:hover{text-decoration: underline;}

#sidebar	#ext_box{
	width: 210px;
	padding: 10px 0 0 0px;
	overflow: hidden;
}

/* muuttumaton_map.tpl */
#i_frame{
	border: none;
	margin: 0;
	overflow: hidden;
}

#content {/* CONTENT */
	float: left;
	padding: 15px 15px 30px;
	width: 720px;
	overflow: hidden;
        position:relative;
}
     .addthis_toolbox{
float: right;
padding: 0 0 15px 15px;
        /*position: absolute;
        right: 17px;
        bottom: 7px;*/
     }
/* FOOTER */
#footer_space {
	height: 103px;
}
#footer {
	height: 103px;
	width: 990px;
	margin: 0 0 0 7px;
	background-color: #4367c5;	
	position: absolute;
	bottom: 0;
	left: 0;
}
#footer #light{
	height: 59px;
	position: relative;
	color: white;
	padding:  7px;
	overflow: hidden;
}#footer #light a{color: white;}
	#footer #light .htmldata_controls{position: absolute; left: 5px; top: 5px;}
#footer #darg{
	background-color: #022c78;
	border-top: solid 1px white;
	height: 22px;
	position: relative;
	color: white;
	font-size: 11px;
	padding: 7px  7px 0  7px;
}#footer #darg a{color: white;}
	#footer #darg .htmldata_controls{position: absolute; left: 5px; top: 5px;}
/* EMEDIA SIGNATURE */
#signature {
	position: absolute;
	right: 2px;
	bottom: 2px;
}
#signature, #signature a {
	color: #fff;
	font-family: Verdana, Arial;
	font-size: 9px;
	line-height: 16px;
	text-align: right;
}
#signature a {
	text-decoration: none;
	font-weight: bold;
}
.ext{
	clear: both;
	/* ie bugi rivit */
	height: 0;
	overflow: hidden;
}
#calendar_br{

}
/* deafault calender news tpl */
#cont_left{
  width: 420px;
  float: left;
  overflow: hidden;
}
#cont_right{
  margin-left: 20px;
  width: 275px;
  float: left;
  overflow: hidden;
}
#cont_right .news_syndicate .news_buttons{
  position: relative;
}
#cont_right .archive_link{
  background-image:none;
}
#calendar_br{
 overflow: hidden;
 padding: 10px 0 0 0;
 width: 210px;
}













