/*style_1*/


/*style_2*/

/* Ticket 10962 */
.ie6 #footer, .ie7 #footer { position:relative; z-index:1; }

* html #wrapper .ylakulma-about-tm { margin-top:42px; }

/* For frontapage's hallinnonalan tiedotteet, Clear for IE6 */
#front-bottom #column-3 h5 { margin-bottom:0; clear:both }
.ie6 #front-bottom #column-3 h5,
.ie7 #front-bottom #column-3 h5 { display:inline-block; }

/* Tyylejä siirretty teemaan. Säilytä Tinyn tarvitsemat luokat täällä. */
a.sisainen, a.sisainen-sisennys, a.ulkoinen, a.ulkoinen-sisennys { /*styles in theme */ }
table.reunat, table.alareuna, table.reunaton { /*styles in theme */ }
tr.pariton-rivi {}
.rss {}
.email {}
.more {}
.no-style {}

#middle .news-item { margin-bottom:1em; }

.site-wrapper .n5content a.sisainen, .border-right .n5content a.sisainen-sisennys { display:inline-block; background-position:0 0.7em; }
.site-wrapper .n5content a.ulkoinen, .border-right .n5content a.ulkoinen-sisennys { display:inline-block; background-position:0 0.8em; }

.ie7 .site-wrapper .n5content a.sisainen, .ie7 .site-wrapper .n5content a.sisainen-sisennys, .ie6 .site-wrapper .n5content a.sisainen, .ie6 .site-wrapper .n5content a.sisainen-sisennys,
.ie7 .site-wrapper .n5view a.sisainen, .ie7 .site-wrapper .n5view a.sisainen-sisennys, .ie6 .site-wrapper .n5view a.sisainen, .ie6 .site-wrapper .n5view a.sisainen-sisennys{ display:inline-block; background-position:0 0.7em!important; }
.ie7 .site-wrapper .n5content a.ulkoinen, .ie7 .site-wrapper .n5content a.ulkoinen-sisennys, .ie6 .site-wrapper .n5content a.ulkoinen, .ie6 .site-wrapper .n5content a.ulkoinen-sisennys,
.ie7 .site-wrapper .n5view a.ulkoinen, .ie7 .site-wrapper .n5view a.ulkoinen-sisennys, .ie6 .site-wrapper .n5view a.ulkoinen, .ie6 .site-wrapper .n5view a.ulkoinen-sisennys { display:inline-block; background-position:0 0.8em!important; }

/* custom document bank */
#customDocumentLibrary {z-index:999;width:auto;display:block;background:#eFeFeF;border:1px solid black; padding:5px;position:absolute;left:100px;top:10px;}
#customDocumentLibrary .folders {width:200px;float:left;padding:5px;  background:white; border: 1px solid #bfbfbf; margin:0; margin-right:5px;}
#customDocumentLibrary .folders h2 { margin:0; padding:0;}
#customDocumentLibrary .files {width: 482px;float:left;border: 1px solid #bfbfbf; padding:5px; background:white; margin:0;}
#customDocumentLibrary .breadcrumb {border: 1px solid #bfbfbf; background: white; height:26px; width:697px;}
#customDocumentLibrary .close {color:red;border: 1px solid #bfbfbf; background: #ecE1EC; padding:5px; float:right; margin-bottom:5px;cursor:pointer;cursor:hand;}
#customDocumentLibrary .breadcrumbfolder {margin:3px; cursor:pointer;cursor:hand;}
#customDocumentLibrary .breadcrumbfolders {margin:2px;}
#customDocumentLibrary .folder span {display:block;background:url(../images/trees/plus.png) no-repeat 0px 0px; padding-left:16px; min-height:16px;cursor:pointer;cursor:hand;}
#customDocumentLibrary .file {cursor:pointer;cursor:hand;}
#customDocumentLibrary .rootfolder span {cursor:pointer;cursor:hand;display:block;float:left;margin:3px;background:url(../images/trees/root.png) no-repeat 0px 0px; width:14px;height:15px}

/* tables */
#customDocumentLibrary table.files {
	font-family:arial;
	font-size: 8pt;
	text-align: left;
}
#customDocumentLibrary table.files thead tr th,#customDocumentLibrary table.tablesorter tfoot tr th {
	background-color: #e6EEEE;
	font-size: 8pt;
	padding: 4px;
}
#customDocumentLibrary table.files thead tr .header {
	background-image: url(../images/custom/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
#customDocumentLibrary table.files tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}
#customDocumentLibrary table.files tbody tr.odd td {
	background-color:#F0F0F6;
}
#customDocumentLibrary table.files thead tr .headerSortUp {
	background-image: url(../images/custom/asc.gif);
}
#customDocumentLibrary table.files thead tr .headerSortDown {
	background-image: url(../images/custom/desc.gif);
}
#customDocumentLibrary table.files thead tr .headerSortDown, #customDocumentLibrary table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}

/*style_3*/
#sortablelist .selectionArea ul li { list-style : none; } 
#sortablelist .act { font-weight : bold; } 


/*style_4*/
/* siirretty teemaan */

/*style_5*/
/* tiketti 3510 */
body.shortcuts span.sisainen-sisennys-liite, body.shortcuts .sisainen-sisennys, body.shortcuts .ulkoinen-sisennys { margin-left: 0px !important; } 
body.attachments span.sisainen-sisennys-liite, body.attachments .sisainen-sisennys, body.attachments .ulkoinen-sisennys { margin-left: 0px !important; } 

body.n5content div.link-wrap { padding-left:15px; border:1px dotted #5555ff; display:inline-block; }
body.n5content div.link-wrap-indent { padding-left:30px; border:1px dotted #5555ff; }
body.n5content div.link-wrap a, body.n5content div.link-wrap-indent a { margin-left:-15px; display:inline; background-position:0 0.4em; }

body.n5content div.link-wrap { padding-left:15px; border:1px dotted #5555ff; display:inline-block; }
body.n5content div.link-wrap-indent { padding-left:30px; border:1px dotted #5555ff; }
body.n5content div.link-wrap a, body.n5content div.link-wrap-indent a { margin-left:-15px; display:inline; background-position:0 0.4em; }

body.n5content a { color:#156166 !important; text-decoration:none; }
body.n5content a.no-style { background:none; display:inline; margin:0; padding:0; text-decoration:none; }
body.n5content img { border:0;}

body.main-heading { font-size: 1.5em !important; line-height:1.2em !important; font-weight: normal !important; font-family:Arial, sans-serif !important; color:#646464 !important; }
/*body.header-highlight { text-transform: none; font-weight: bold; font-size: 0.9em !important; color:#646464 !important; font-family:Arial, sans-serif; }*/

body.n5content {font-family: Arial, sans-serif; font-size: 75%; line-height:1.4em;}

body.n5content h1, body.n5content h2, body.n5content h3, body.n5content h4, body.n5content h5, body.n5content h6 { margin-top: 0; margin-bottom: 1.2em; font-family:Gill Sans, Arial, sans-serif; color:#4c4c4c; }
body.n5content ul{list-style-type: square; padding-left:0; margin-top:-1em;}
body.n5content ol{list-style-type: decimal; margin-top:-1em; }
body.n5content li{margin-left: 2em;}
body.n5content p, body.n5content ul, body.n5content ol, body.n5content table{margin-bottom: 1.2em; font-size: 1em;}

body.n5content h1{ font-weight: bold; font-size: 1.6em; line-height: 1em; color:#646464; }
body.n5content h2{font-size: 1.8em; font-weight: normal; color:#646464; }
body.n5content h3 { font-weight: bold; font-size: 1.2em; color:#646464; }
body.n5content h4 { font-weight: bold; font-size: 1.1em; }
body.n5content h5 { font-weight: bold; font-size: 1.2em; padding-top:20px; margin-top:20px; color:#646464; background:url(stm-site-theme/images/custom/border_dot_hor.gif) top left repeat-x; }
body.n5content h6 { font-weight: bold; font-size: 1.1em; border-bottom:1px solid #ccc; }

body.n5content table h3 { margin:1em 0 0.3em 0; }

body.shortcuts ul { margin:0; }
body.n5content .highlight-arrow a, body.n5content a.sisainen { display:inline-block; background: url(stm-site-theme/images/custom/square.gif) 0 0.5em no-repeat; padding: 0 0 0 15px; }
body.n5content a { display:inline-block; background: url(stm-site-theme/images/custom/square.gif) 0 0.5em no-repeat; padding: 0 0 0 15px; margin-bottom:0.5em; }
body.n5content a.sisainen-sisennys { display:inline-block; background: url(stm-site-theme/images/custom/square.gif) 0 0.5em no-repeat; margin-left:15px; padding: 0 0 0 15px; /*line-height:2em;*/ }
body.n5content a.ulkoinen { display:inline-block; background: url(stm-site-theme/images/custom/square_arrow.gif) 0 0.5em no-repeat; padding: 0 0 0 15px; /*line-height:2em;*/ }
body.n5content a.ulkoinen-sisennys { display:inline-block; background: url(stm-site-theme/images/custom/square_arrow.gif) 0 0.5em no-repeat; margin-left:15px; padding: 0 0 0 15px; /*line-height:2em;*/ }

body.n5content .link-list {/* margin-left:15px; line-height:1.3em;*/ border:1px dotted #5555ff; }
body.n5content .link-list ul { margin-left:0; }
body.n5content .link-list li { list-style:none; margin-bottom:1em; margin-left:16px; }
body.n5content .link-list li a, body.n5content .link-list li a.sisainen { line-height:1.7em; margin-left:-16px; padding: 0 0 0 15px;  background: url(stm-site-theme/images/custom/square.gif) 0 0.3em no-repeat; }
body.n5content .link-list li a.ulkoinen, body.n5content .link-list li a.ulkoinen-sisennys { background: url(stm-site-theme/images/custom/square_arrow.gif) 0 0.4em no-repeat; padding:0 0 0 15px; line-height:1.5em; }
body.n5content .link-list li a.sisainen-sisennys, body.n5content .link-list li a.ulkoinen-sisennys { margin-left:0; }
body.n5content .link-list li p { padding:0 0 0 15px; color:#555; }
body.n5content .link-list li address { color:#888; font-style:italic; }
body.n5content span.sisainen-sisennys-liite {display: inline-block; background: url(stm-site-theme/images/custom/square.gif) 0 0.7em no-repeat; margin-left:15px; padding: 0 0 0 15px; /*line-height:2em;*/ }
body.n5content span.sisainen-sisennys-liite a {text-decoration: underline; background:none; padding:0; display:inline;}

body.n5content .valiviiva { display:block; height:1px; overflow:hidden; background:url(stm-site-theme/images/custom/border_dot_hor.gif) top left repeat-x; }

body.up-corner a { text-decoration:underline; }

/* #7298 */

body.n5content a.mceItemAnchor { display:inline; background:url(html/portlet/N5ContentEditor/tinymce/themes/navigo5/images/anchor_symbol.gif) center bottom no-repeat; line-height:6px; overflow:hidden; margin:0; padding-left:12px; width:12px; }


/*style_7*/
/* viety teemaan */

/*style_8*/
/* viety teemaan */

/*style_9*/
table.reunat, table.alareuna, table.reunaton { /*styles in theme */ }


/*style_10*/
/* viety teemaan */


