/* Start of CMSMS style sheet 'stc_style' */
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #4f4f4f;
	background-color: #ffffff;
	text-align: center;
	margin: 0px;
        margin-bottom: 50px;
        line-height: 1.5em;
}
a {
        color: #4f4f4f;
        text-decoration: none;
}
a:hover {
        text-decoration: underline;
}
h1 {
       font-family: Arial, Helvetica, sans-serif;
       font-size: 15px;
       color: #0ec7fc;
       font-weight: normal;
}
h2 {
       font-weight: bold;
       font-size: 13px;
       color: #9f9f9f;
       padding-top: 0.5em;
 }
.currentpage {
        color: #0ec7fc;
}
.activeparent {
        color: #0ec7fc;
}
.initially-hidden {
	display: none;
}
#content {
	width: 790px;
	position: relative;
	margin-right: auto;
	margin-left: auto;
}
#navi {
	text-transform: uppercase;
	text-align: left;
	height: 19px;
        text-decoration: none;
        color: #636363;
	font-size: 11px;
position: relative;
z-index: 100;
}
#navi a:hover {
	text-align: left;
    	text-decoration: underline;
        color: #4f4f4f;
}
#navi_ala {
	text-align: left;
    	text-decoration: none;
        color: #4f4f4f;
	font-size: 11px;
}
#navi_ala a:hover {
	text-align: left;
    	text-decoration: underline;
        color: #4f4f4f;
}
#index {
	width: 790px;
	height: 398px;
	background-repeat: no-repeat;
             background-image: url(uploads/images/jpg/bg_index.jpg); 
}
#index-2 {
	width: 790px;
	height: 398px;
	background-repeat: no-repeat;
             background-image: url(uploads/images/jpg/bg_index-2.jpg); 
}
#kaavio {
            width: 780px;
            height: 270px;
            position: absolute;
            left: 0px;
            z-index: 1;
}
#blank {
	width: 790px;
	min-height: 398px;
	background-repeat: no-repeat;
             padding-left: 130px;
             text-align: left;
}
#palsta_w {
	text-align: left;
	width: 400px;
             padding-top: 50px;
             padding-bottom: 50px;
        }
#palsta_x {
	text-align: left;
	width: 500px;
        padding-top: 270px;
        padding-bottom: 50px;
        }
#blank_flash {
	width: 790px;
	height: 398px;
	background-image: url(uploads/images/bg_flash2.jpg); 
	background-repeat: no-repeat;
}

#news {
	text-align: left;
	position: absolute;
	top: 140px;
	left: 130px;
	width: 130px;
	height: 370px;
        overflow: hidden;
}
#news a {
        text-decoration: none;
	color: #4f4f4f;
}
#news a:hover {
        text-decoration: underline;
}
#news_return a {
        text-decoration: none;
	color: #4f4f4f;
}
#news_return a:hover {
        text-decoration: underline;
}
#nappaimet {
        width: 115px;
        height: 150px;
        background-image: url(uploads/images/nappaimet.gif);
        position: absolute;
        left: 715px;
        top: 78px;
        z-index: 2;
}
#suosittelijabanneri {
        position: absolute; 
        top:3px; 
        left:420px;
        width: 300px; 
        height: 400px;
        background: url('uploads/images/suosittelijabanneri.png') no-repeat top left;

        padding-top: 115px;
        font-size: 120%;
}
#suosittelijabanneri a {
        color: #A1A1A1;
        display: block;
        width: 100%;
        height: 50px;
}
#avoimetbanneri {
        position: absolute; 
        top:469px; 
        left:420px;
        background: url('uploads/images/avoimet_bg.gif') no-repeat top left;
        height:46px;
        width:370px;
        font-size: 120%;
        /*color: #A1A1A1;*/
}
#avoimetbanneri a {
        display: block;
        width: 100%;
        height: 100%;
        padding-top: 10px;
}
#flipflop {
        width: 420px;
        height: 297px;
        position: absolute;
        top: 168px;
        left: 200px;
}
#tarina {
	text-align: left;
	font-size: 10px;
	line-height: 13px;
	position: relative;
	top: 50px;
	left: 400px;
	width: 250px;
	height: 300px;
}
#footer {
        color: #9f9f9f;
	font-size: 10px;
	line-height: 13px;
	position: relative;
	text-align: left;
	top: 5px;
	height: 50px;
        width: 790px;
	margin-right: auto;
	margin-left: auto;
}
#footer a {
        color: #9f9f9f;
}
#yhteystieto_left {
	float: left;
	width: 145px;
}
#yhteystieto_right {
	float: right;
	width: 160px;
}
#pisteviiva {
        text-align: left;
        position: relative
        width: 790px;
        height: 10px;
        margin-right: auto;
        margin-left: auto;
        background-image: url(uploads/images/pisteviiva.png);
}

td#left_palsta {
        width: 300px;
        vertical-align: top;
}

td#right_palsta {
        width: 250px;
        vertical-align: top;
        padding-left: 5px;
}
.NewsSummaryPostdate {
        font-size: 10px;
        color: #4f4f4f;
}
.NewsSummarySummary {
        font-size: 12px;
        color: #4f4f4f;
}
.NewsSummaryMorelink {
        font-size: 10px;
        color: #4f4f4f;
}
/* End of 'stc_style' */

/* Start of CMSMS style sheet 'Navigation: stc' */
/********************
MENU
*********************/
#menu_vert {
   padding-left: 0px;
   margin-left: 1em;
}


/* third level has some padding to have it stand out */
div#menu_vert ul ul ul {
   padding-bottom: 0.5em;
}

/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;
   display: block;
}

#menu_vert ul ul li {
   border: none;
}

/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert a {
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 0.8em 0.5em 0.8em 1.5em; /* some air for it */
   color: #18507C; /* this will be link color for all levels */
   background: url(images/cms/arrow-right.gif) no-repeat 0.5em center; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
}

/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
   font-size: 90%;
   padding: 0.5em 0.5em 0.5em 2.8em;
   background-position: 1.5em center;
}

/* third level links, more padding */
div#menu_vert ul ul ul a {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(images/cms/dash.gif) no-repeat 2.8em center; 
}

/* hover state for all links */
div#menu_vert a:hover {
   background-color: none;
}

div#menu_vert a.activeparent:hover {
   background-color: #C3D4DF;
   color: #000;
}

/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
   background: url(images/cms/arrow-down.gif) no-repeat 0.4em center; 
   background-color: #385C72;
   color: #fff;
}

div#menu_vert ul ul li a.activeparent {
   background-position: 1.5em center; 
   background-color: transparent;
   color: #18507C;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert ul h3 {
   background: url(images/cms/arrow-right-active.gif) no-repeat 0.4em center;
   background-color: #385C72;
   display: block; 
   padding: 0.8em 0.5em 0.8em 1.5em;  /* some air for it */
   color: #fff;                                 /* this will be link color for all levels */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
   margin: 0;                                  /* as <h3> normally has some margin by default */
}

/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
div#menu_vert ul ul h3 {
   font-size: 90%;
   padding: 0.3em 0.5em 0.3em 2.8em;
   background-position: 1.4em center;
   background-color: transparent;
   border-bottom: none;
   color: #000;     
}

/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(images/cms/arrow-right-active.gif) no-repeat 2.7em center; 
}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}

}

/* End of 'Navigation: stc' */

