/********************************************
   AUTHOR:  			Erwin Aligam
   MODIFIED BY: 		Jutta Rikola
   WEBSITE:   			http://www.styleshout.com/
	TEMPLATE NAME: 	Stylevantage modified
   TEMPLATE CODE: 	S-0001
   VERSION:          1.2          	
 *******************************************/ 
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */

* {
	margin: 0; padding: 0;
} 
body {
	margin: 0; padding: 0;
	font-family:'Trebuchet MS', Arial, Helvetica, Sans-serif;
	font-size:11px;
	line-height:1.4em;
	color:#000000;
	/* background: url(images/bg.jpg) repeat; */
	background-color:#ffffff;
}


/* links */
a {
	background: inherit;
	color: #10a0e1;
	text-decoration:none;

}
a:hover, a:visited {
	background: inherit;
	color: #58889d;
	text-decoration:none;
}

.login a {
	color: #ffffff;
	text-decoration:underline;
	font-weight:bold;
}



/* headers */
h1, h2, h3 {
	font: italic 1em Georgia, Serif;
	font-weight:400;
	color: #ffffff;
	
}
h1 { font-size: 1.5em; }
h2 { font-size: 1.3em; }
h3 { 
	font-size: 1.2em; 
	color:#000000;
	background-color:#FFFFFF;
}

h4 {
	font-size:1em;
	padding-bottom:1em;
}
	
p+h4 {
	font-size:1em;
	padding-top:1.6em;
	padding-bottom:1em;
}
	

p+h1 {margin-top:20px;}

#rightbar h1, #sidebar h1, #sidebar h2 {
	background-color:#a0dc10;
}

#sidebar h1, #sidebar h2, #rightbar h1, #rightbar h2 {
	text-align:center;
	padding-top:10px;
	background: url(images/otsikko_sivu_tausta2.gif) no-repeat 0% 0%;
	width:201px;
	height:41px;
	font-size:14px;
}


	
#main h1 {
	color:#FFFFFF;
	background:url(images/otsikko_main_tausta.gif) no-repeat 0% 0%;
	width:440px;
	height:41px;
	text-align:center;
	font-size:16px;
	/*line-height:16px;*/
	padding-top:9px;
	overflow:visible;

	
}

#main h1.news {
	padding-top:8px;
	font-size:14px;
	line-height:16px;
}

#main h1 a{
	color:#FFFFFF;
	background: transparent;
	padding:0 5px 0 5px;
	font-weight:normal;
	overflow:visible;
}

h1 span.date {
	color:#FFFFFF;
	background: transparent;

}

/* listat */
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;	
	color: #000000;	
}
ul span, ol span {
	color: #666666;
}

span.epg_aika {
	color: #000000;
	font-weight:bold;
	padding-right:5px;
}

ol {list-style-type:decimal;}
ol ol {list-style-type:lower-alpha;}

div#toteutus {
	width:440px;
	height:660px;
	background:url(images/pilottien-toteutusprosessi.gif) no-repeat 0% 0%;
/*	text-indent:-9999px; */
}

div#toteutus ol {margin-left:9999px;}

div#vaiheet {
	width:440px;
	height:440px;
	background:url(images/neoarenan_vaiheet2.gif) no-repeat 0% 0%;
	
}

div#phases {
	width:440px;
	height:440px;
	background:url(images/phases.gif) no-repeat 0% 0%;
	
}

div#vaiheet #inner, div#phases #inner {
	background: transparent;
	margin-left:9999px;
}
	

/* images */

img {
	border:0;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
 
}

img.float-left-nomargin {
  margin:0px;
  float:left;
}
a img {  
  border:0;
}

.logo {
	background-color:#CCCCCC;
	border:thin #999999 dotted;
	text-align:center;
}

.logo img {
	padding:10px;
	padding-bottom:5px;
}

a.vod img {margin:5px; margin-bottom:-5px;}

/*
a:hover img {  
  border: 2px solid #806B4D !important; *//* IE fix*/
  /* border: 2px solid #EC981F;
}
*/

/*
code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  */
  /* white-space: pre; */
  /*
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
  border-left: 3px solid #EC981F;
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 15px;
 	padding: 0 0 0 32px;  	
  	background: #FAFAFA url(images/quote.gif) no-repeat 5px 10px !important; 
	background-position: 8px 10px;
	border: 1px solid #f2f2f2; 
	border-left: 3px solid #EC981F;  
	font-weight: bold; 
}
*/

/* form elements */

form {
	margin:10px; padding: 0;
	border: 1px solid #f2f2f2; 
	background-color: #FAFAFA; 
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 4px;
	margin-left:10px;
	border:1px solid #999;
	font: normal 1em/1.5em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:350px;
	padding:4px;
	font: normal 1em/1.5em Verdana, sans-serif;
	border:1px solid #999;
	height:100px;
	display:block;
	color:#777;
}

input.button { 
	margin: 0; 
	font: bold 1em Arial, Sans-serif; 
	border: 1px solid #CCC;
	background: #FFF; 
	padding: 2px 3px; 
	color: #333;	
}

fieldset {border:hidden;}

/* search form */

form.searchform {
	background: transparent;
	border: none;
	margin: 0; padding: 0;
	float:right;
	
}

form.searchform input.textbox { 
/*
	margin: 0;
	padding:0; 
	height:39px;
	width: 176px;
	border:none;
	background: #FFF;
	color: #333; 
	vertical-align: top;
	background: url(images/search_txtfield.png) no-repeat;
*/
margin-top:8px;
vertical-align:top;
}

form.searchform input.button {
	margin: 0;
	padding:0;
	width: 36px;
	height:39px;
	vertical-align: top;
	background: url(images/search_submit.png) no-repeat;
	text-indent:-1000px;
	border:none;
}

form.searchform textarea {
	padding-left:20px;
}

/*****************/
/*    Layout     */
/*****************/

.inside {padding:10px;}

#wrap {
	margin: 0;
	padding:0;
	width: 990px;  	
	text-align: left;		
		
}
#content-wrap {
	clear:both;
  	margin: 0; padding:0;
	padding-left:9px;
	width: 990px;	
}

/* header */
#header {
	position: relative;
	height: 222px;
	width:990px;
	background: url(images/header2.jpg) no-repeat 0% 0%;
}
#header h1#logo {
	text-indent:-1000px;
	/*
	position: absolute;
	margin: 0; padding: 0;
	font: bolder 4.1em 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	color: #CCC;
	text-transform: lowercase;
	*/
	/* change the values of top and Left to adjust the position of the logo*/
	/*top: 0; left: 5px; */
		
}

#header h1#logo a { text-decoration:none; }


#header h2#slogan {
	display:none;	
}

#leftmenu {
	width:220px;
	position:absolute;
	right:100px;
}

.login, .translations, .sitemap {
	display:inline;
	float:right;
}

.sitemap {
	padding-right:2px;
}
.login {
	padding:12px 10px 0 0;
}

/*
#header .searchform {
	position: absolute;
	top: 5px; right: 3px;	
}
*/

/* main column */
#main {
	float: left;
	margin-left:10px;
	padding: 0;
	width: 440px;
	/*border-left: 1px solid #f2f2f2;*/
}

#main p {
	font-family:'Trebuchet MS', Arial, Helvetica, Sans-serif;
	font-size:11px;
	font-weight:200;
	line-height:1.4em;
	color:#000000;
	background-color:#FFFFFF;
	margin-bottom: 11px;
}


.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin-top: 20px;
	font-size: 95%;
	border: 1px solid #f2f2f2;
}
/*
.post-footer .date {
	background: url(images/clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

*/
.post-footer .comments {
	background: url(images/comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
	display:none;
}
.post-footer .readmore {
	background: url(images/page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

.post-footer .readmore a {
	background: none;
}

.date {
	font-family:'Trebuchet MS', Arial, Helvetica, Sans-serif;
	font-size:8px;
	font-weight:200;
	color:#ffffff;
	background-color:#a0dc10;
	font-style:normal;
	padding-left:16px;
}

/* sidebar */
#sidebar {
	float: left;
	width: 201px;
	margin: 0;	padding: 0; 
	margin-left:10px;
	display: inline;	
}
#sidebar ul {
	list-style: none;
	text-align: left;
	margin: 0 0 8px 0;	
	padding-right: 0;		
	text-decoration: none;
}
#sidebar ul li {
	border-bottom: 1px solid #EFF0F1;
	padding: 2px 5px 2px 20px;	
}

* html body #sidebar ul li { height: 1%; }


#sidebar ul a {
	font-weight: bold;
	background-image: none;
	text-decoration: none;	
}

#sidebar #pikainfo {
	background-image: url(images/teksti_sivu_tausta_ala.gif);
	background-repeat:no-repeat;
	background-position:bottom;
	padding-bottom:16px;
}


#sidebar p#pikainfo {
	padding:10px;
	padding-top:5px;
	margin-top:0;
	background-image:url(images/teksti_sivu_tausta.gif);
	background-repeat:repeat-y;
}



/* rightbar */
#rightbar {
	float: left;
	width: 200px;
	padding: 0;	margin: 0;
	margin-left:10px;	
}

#rightbar ul, #sidebar ul {
	list-style: none;
	text-align: left;
	margin: 0px 0 10px 0;	
	padding-right: 0;		
	text-decoration: none;
	background-image: url(images/teksti_sivu_tausta_ala.gif);
	background-repeat:no-repeat;
	background-position:bottom;
	padding-bottom:16px;
}
#rightbar ul li, #sidebar ul li {
	border-bottom: 1px solid #ffffff;
	background: url(images/teksti_sivu_tausta.gif) repeat-y;
	background-color:#ecf8cf;
	padding: 5px 5px 5px 10px;	
	margin-left:-15px;
}

sidebar ul li ul {
	background:none;
	padding:0;}

* html body #rightbar ul li { height: 1%; }

#rightbar ul a {
	font-weight: normal;
	background-image: none;
	text-decoration: none;	
}

/* footer */
#footer {
	clear: both;
	width:990px;
	padding-top:30px;
	text-align: center;	
	height: 120px;
	font-size:8px;
	line-height:10px;
	color:#a9a9a9;
}
#footer a {
	text-decoration: none;
	font-weight: normal;
}

/*vod*/

div.vod {padding-bottom:20px;
	display:none;
}


/* menu */

#header-menu {
	height: 38px;
	font-size: 12px;
	float: left; /* Safari sotkee alamenut ilman tätä */
	clear: both;
	margin: 0;
}

#menu, #menu_en{
	position:absolute;
	top:140px;
	left:25px;
}

#menu, #menu_en {
	width:852px;
	font-size:12px;
	line-height:38px;
	overflow: hidden;
	margin: 0 ;
}

#menu ul, #menu_en ul {
	list-style-type:none;
	padding:0 0 23px 0;
	
}

#menu li, #menu_en li {
	/*border:thin dotted #CCCCCC;*/
	float:left;
	margin:0 0 0 0;
	/* background: url(images/bg_menu_left.gif) no-repeat;
	background-position:0% -38px; */
	padding:0 0 0 5px;
	z-index: 100;
}

#menu li a, #menu_en li a{
	text-decoration:none;
	display:block;
	background: url(images/bg_menu_right.gif) repeat-x;
	background-position:100% -38px;
	padding:0 25px 0 25px;
	/* color:#10a0e1; */
	color:#a0dc10;
	font-weight:bold;
}


#menu li a:hover, #menu_en li a:hover {
	color:#ffffff;
	background-position:100% 0;
	}


#menu li a:active, #menu_en li a:active {text-decoration:none;}
#menu li a:visited, #menu_en li a:visited {text-decoration:none;}

/*
#menu li.current_page_item{
	background-position:0 0
}
*/

#menu li.current_page_item a, #menu li.current_page_ancestor a, #menu_en li.current_page_item a, #menu_en li.current_page_ancestor a {
	color:#ffffff;
	background-position:100% 0;
}

/* Menu englanniksi */
/*
#menu_en {
	position:absolute;
	top:142px;
	left:20px;
}

#menu_en ul {background:url(images/mainmenu_en.png)}
#menu_en ul li { float:left; list-style-type:none }


#menu_en ul li a { 
	height:38px;
	display:block;
	text-indent:-9999px;
	outline:none
}

#menu_en ul li.page_item a {background:url(images/mainmenu_en.png) }

#menu_en ul li.page-item-home a {background-position:0 0; width:109px; left:0; }
#menu_en ul li.page-item-home a:hover, #menu_en ul li.page-item-home.current_page_item a, #menu_en ul li.page-item-home.current_page_ancestor a {background-position:0 -38px; }
*/

/* Sitemap */
.ddsg-wrapper h2 {
	color:#000000;
	background-color:#FFFFFF;
}

.ddsg-wrapper ul {
	padding:0;}

.ddsg-wrapper ul li {
	list-style-type:none;
}


/* Alignment classes */
.float-left   { float: left;}
.float-right  { float: right; }
.align-left   { text-align: left; }
.align-right  { text-align: right; }
.align-center { text-align: center;	}
.align-justify { text-align: justify; }

/* display classes */
.clear  { clear: both; }
.block  { display: block; }
.hide   { display: none; }	
.orange { color: #FFA600; }

div.block.clear {padding-bottom:20px;}


/* Begin Comments*/

.alt {
	margin: 0;
	padding: 10px;
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}
.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	display:none;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}

/* End Comments */

img.avatar {float:left; margin-right:5px;}
