/*style_1*/


/*style_2*/
/* We don't want to mess up the newsletter */
#wrapper .n5view #newsletter table, #wrapper .n5view #newsletter td { border:0; }

/* Feedback form: Antispan fields */
.feedbackFormContainer .feedbackFormSpamValidationFields { display: none; } 

/* tiketti 4106  */
body.hidePortletTitles .portlet-msg-error { display:none; }

/* tiketti 4321 */
.julkaisu .lead { margin-top : 1.5em; }

/* tiketti 3510 */
.shortcuts .nuoli-sisennys-liite, .shortcuts .nuoli-sisennys { margin-left: 0px; } 
.tiedote .attachments .nuoli-sisennys-liite, .tiedote .attachments .nuoli-sisennys { margin-left: 0px; }
.julkaisu .attachments .nuoli-sisennys-liite, .julkaisu .attachments .nuoli-sisennys { margin-left: 0px; }
.verkkouutinen .attachments .nuoli-sisennys-liite, .verkkouutinen .attachments .nuoli-sisennys { margin-left: 0px; }
/* Tyylejä siirretty teemaan. Säilytä Tinyn tarvitsemat luokat täällä. */

a.nuoli, a.nuoli-sisennys, a.ulkoinen, a.ulkoinen-sisennys { /*styles in theme */ }
table.reunat, table.alareuna, table.reunaton { /*styles in theme */ }
tr.odd  { background:#eee; }

/* popup scrolling */
body.portal-popup { padding:0 !important;}
body.portal-popup #content-wrapper { padding:0 10px; height:100%; overflow:auto; }

#middle .news-item { margin-bottom:1em; }
.tiedote_content { width:100%; }

div.link-wrap { padding-left:15px; display:inline-block; }
div.link-wrap-indent { padding-left:30px; }
div.link-wrap a, div.link-wrap-indent a { margin-left:-15px; display:inline !important; background-position:0 0.4em !important;}

.site-wrapper .n5content a.nuoli, .border-right .n5content a.nuoli-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.nuoli, .ie7 .site-wrapper .n5content a.nuoli-sisennys, .ie6 .site-wrapper .n5content a.nuoli, .ie6 .site-wrapper .n5content a.nuoli-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 { display:inline-block; background-position:0 0.8em!important; }

/*.highlight-arrow a, */a.nuoli { background: url(../images/custom/link-arrow.gif) 0 0.3em no-repeat; padding: 0 0 0 15px; line-height:2em; }
    a.nuoli-sisennys { background: url(../images/custom/link-arrow.gif) 0 0.3em no-repeat; margin-left:15px; padding: 0 0 0 15px; line-height:2em; }
    a.ulkoinen { background: url(../images/custom/link-arrow-ext.gif) 0 0.4em no-repeat; padding: 0 0 0 15px; line-height:2em; }
    a.ulkoinen-sisennys { background: url(../images/custom/link-arrow-ext.gif) 0 0.4em no-repeat; margin-left:15px; padding: 0 0 0 15px; line-height:2em; }

about.ylakulma-artikkeli-tr{background-position: left top;}

/* 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*/
 .newsletterList01 { 
 float: left;
 width: 48%;
 }
	
 .newsletterList02 { 
 float: left;
 width: 48%;
 }
	
ol { 
 list-style: none; 
}

/*style_5*/
/* tiketti 3510 */
body.shortcuts span.nuoli-sisennys-liite, body.shortcuts .nuoli-sisennys { margin-left: 0px !important; } 
body.attachments span.nuoli-sisennys-liite, body.attachments .nuoli-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 a { color:#1e848c !important; text-decoration:none; }
body.n5content img { border:0;}

body.main-heading { font-size: 1.1em !important; font-weight: normal !important; font-family:"Gill Sans", Arial, sans-serif !important; color:#555 !important; }
body.header-highlight { text-transform: none; font-weight: bold; font-size: 0.9em; color:#555; font-family:"Gill Sans", Arial, sans-serif; }

body.n5content{font-family: Arial, sans-serif; font-size: 75%; line-height:1.7em;}

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:#555; }
body.n5content ul{list-style-type: disc; 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; }
body.n5content h2{font-size: 1.8em; font-weight: normal; }
body.n5content h2.front {font-size: 1.5em; color: #32982a; margin-bottom: 19px; }
body.n5content h3 { font-weight: bold; font-size: 1.2em; }
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; background:url(stm-site-theme/images/custom/page-breaker-light.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.nuoli { display:inline-block; background: url(stm-site-theme/images/custom/link-arrow.gif) 0 0.7em no-repeat; padding: 0 0 0 15px; line-height:2em; }
body.n5content a.nuoli-sisennys { display:inline-block; background: url(stm-site-theme/images/custom/link-arrow.gif) 0 0.7em 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/link-arrow-ext.gif) 0 0.8em 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/link-arrow-ext.gif) 0 0.8em 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.nuoli { line-height:1.7em; margin-left:-16px; padding: 0 0 0 15px;  background: url(stm-site-theme/images/custom/link-arrow.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/link-arrow-ext.gif) 0 0.4em no-repeat; padding:0 0 0 15px; line-height:1.5em; }
body.n5content .link-list li a.nuoli-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.nuoli-sisennys-liite {display: inline-block; background: url(stm-site-theme/images/custom/link-arrow.gif) 0 0.7em no-repeat; margin-left:15px; padding: 0 0 0 15px; line-height:2em; }
body.n5content span.nuoli-sisennys-liite a {text-decoration: underline;}

body.up-corner { line-height:1.4em; }
body.up-corner a { text-decoration:underline; }


/*style_7*/
body.tasa-arvo a { color:#006bb6 !important; text-decoration:none; }
body.tasa-arvo img { border:0;}

body.tasa-arvo.main-heading { font-size: 1.1em !important; font-weight: normal !important; font-family:Arial, sans-serif !important; color:#ff7f31 !important; }
body.tasa-arvo.header-highlight { text-transform: none; font-weight: bold; font-size: 0.9em; color:#222; font-family:Arial, sans-serif; }

body.tasa-arvo{font-family: Arial, sans-serif; font-size: 75%; line-height:1.7em;}

body.tasa-arvo h1, body.tasa-arvo h2, body.tasa-arvo h3, body.tasa-arvo h4, body.tasa-arvo h5, body.tasa-arvo h6 { margin-top: 0; margin-bottom: 1.2em; font-family:Gill Sans, Arial, sans-serif; color:#222; }
body.tasa-arvo ul{list-style-type: disc; padding-left:0; margin-top:-1em;}
body.tasa-arvo ol{list-style-type: decimal; margin-top:-1em; }
body.tasa-arvo li{margin-left: 2em;}
body.tasa-arvo p, body.tasa-arvo ul, body.tasa-arvo ol, body.tasa-arvo table{margin-bottom: 1.2em; font-size: 1em;}

body.tasa-arvo h1{ font-weight: bold; font-size: 1.6em; line-height: 1em;}
body.tasa-arvo h2{font-size: 1.5em; text-transform:uppercase; font-weight: normal; color:#ff7f31; }
body.tasa-arvo h3 { text-transform: none; font-weight: bold; font-size: 1.2em; }
body.tasa-arvo h4 { text-transform: none; font-weight: bold; font-size: 1.1em; }
body.tasa-arvo h5, body.tasa-arvo h6 { padding:0; text-transform: none; font-weight: bold; font-size: 1em; background:none; }

body.tasa-arvo table h3 { margin:1em 0 0.3em 0; }

body.shortcuts ul { margin:0; }
body.tasa-arvo a.nuoli { display:inline-block; background: url(stm-site-tasaarvo-theme/images/custom/link-arrow.gif) 0 0.7em no-repeat; padding: 0 0 0 15px; line-height:2em; }
body.tasa-arvo a.nuoli-sisennys { display:inline-block; background: url(stm-site-tasaarvo-theme/images/custom/link-arrow.gif) 0 0.7em no-repeat; margin-left:15px; padding: 0 0 0 15px; line-height:2em; }
body.tasa-arvo a.ulkoinen { display:inline-block; background: url(stm-site-tasaarvo-theme/images/custom/link-arrow-ext.gif) 0 0.8em no-repeat; padding: 0 0 0 15px; line-height:2em; }
body.tasa-arvo a.ulkoinen-sisennys { display:inline-block; background: url(stm-site-tasaarvo-theme/images/custom/link-arrow-ext.gif) 0 0.8em no-repeat; margin-left:15px; padding: 0 0 0 15px; line-height:2em; }
body.tasa-arvo span.nuoli-sisennys-liite {/*display: inline;*/ background: url(stm-site-tasaarvo-theme/images/custom/link-arrow.gif) 0 0.7em no-repeat; margin-left:15px; padding: 0 0 0 15px; line-height:2em; }

body.tasa-arvo .link-list { margin-left:15px; line-height:1.3em; font-size:0.95em; }
body.tasa-arvo .link-list ul { margin-left:0; }
body.tasa-arvo .link-list li { list-style:none; margin-bottom:0.3em; margin-left:16px; }
body.tasa-arvo .link-list li a, body.tasa-arvo .link-list li a.nuoli { line-height:1.7em; margin-left:-16px; padding: 0 0 0 15px;  background: url(stm-site-tasaarvo-theme/images/custom/link-arrow.gif) 0 0.3em no-repeat; font-size:1.05em; }
body.tasa-arvo .link-list li a.ulkoinen, body.tasa-arvo .link-list li a.ulkoinen-sisennys { background: url(stm-site-tasaarvo-theme/images/custom/link-arrow-ext.gif) 0 0.4em no-repeat; padding:0 0 0 15px; line-height:1.5em; }
body.tasa-arvo .link-list li a.nuoli-sisennys, body.tasa-arvo .link-list li a.ulkoinen-sisennys { margin-left:0; }

/*style_8*/
.mceEditor { background:none !important; }

body.lapsiasia { background:#f5f5f5; }
body.lapsiasia a { color:#266f80 !important; text-decoration:none; }
body.lapsiasia img { border:0;}
body.lapsiasia b, body.lapsiasia strong { color:#555; }

body.lapsiasia.main-heading { font-size: 1.1em !important; font-weight: normal !important; font-family:Arial, sans-serif !important; color:#555 !important; }

body.lapsiasia{font-family: Arial, sans-serif; font-size: 75%; line-height:1.7em;}

body.lapsiasia ul{list-style-type: disc; padding-left:0; margin-top:-1em;}
body.lapsiasia ol{list-style-type: decimal; margin-top:-1em; }
body.lapsiasia li{margin-left: 2em;}
body.lapsiasia p, body.lapsiasia ul, body.lapsiasia ol, body.lapsiasia table{margin-bottom: 1.2em; font-size: 1em;}

body.lapsiasia h1, body.lapsiasia h2, body.lapsiasia h3, body.lapsiasia h4, body.lapsiasia h5, body.lapsiasia h6 { margin-top: 0; margin-bottom: 1.2em; font-family:Gill Sans, Arial, sans-serif; color:#555; }
body.lapsiasia h1{ font-weight: bold; font-size: 1.6em; line-height: 1em;}
body.lapsiasia h2{ font-size: 1.5em; font-weight: normal; }
body.lapsiasia h3 {font-weight: bold; font-size: 1.2em; }
body.lapsiasia h4 { font-weight: bold; font-size: 1.1em; }
body.lapsiasia h5 { padding:0; font-weight: bold; font-size: 1em; background:none; }
body.lapsiasia h6 { padding:0; font-weight: bold; font-size: 1em; color:#f5822f; border:0; }

body.lapsiasia table h3 { margin:1em 0 0.3em 0; }


/*style_9*/
table.reunat, table.alareuna, table.reunaton { /*styles in theme */ }

/*style_10*/
body.n5content.masto {font-family: Arial, sans-serif; line-height:1.5em;}
body.n5content.main-heading  { font-size:1.4em !important; color:#8e979d !important; font-weight:normal !important; }

body.n5content.masto a { color:#007581 !important; text-decoration:none; }
body.n5content.masto img { border:0; }

body.n5content.masto ul

{list-style-type: disc; padding-left:0; margin-top:-1em;}

body.n5content.masto ol
{list-style-type: decimal; margin-top:-1em; }

body.n5content.masto.inner  li
{ margin:9px 0 6px 9px !important; padding: 0px 0 0 15px !important; list-style:none !important;background: url(stm-site-masto-theme/images/custom/link-arrow.gif) 0 0.5em no-repeat !important;  font-size:0.9em; }

body.n5content.masto a.nuoli, body.n5content.masto a.ulkoinen { background: url(stm-site-masto-theme/images/custom/link-arrow.gif) 0 0.7em no-repeat !important; padding: 0 0 0 15px !important; line-height:2em !important; }

body.n5content.masto  ul
{ margin-top:9px !important; }

/*body.n5content.masto p,*/
body.n5content ul, 
body.n5content ol, 
body.n5content.masto table

{ font-size:1.2em; font-weight:normal;}

body.n5content.masto h1,
body.n5content.masto h3,
body.n5content.masto h4,
body.n5content.masto h5, 
body.n5content.masto h6 
{ margin-top: 0; margin-bottom: 1em; font-family:Arial, sans-serif; color:#555; }

body.n5content.masto h3 { font-size:1.1em; font-weight:bold; color:black; }
body.n5content.masto h4 { font-size:1.1em; font-weight:normal; }
body.n5content.masto h5 { font-size:1.1em; font-weight:normal; }



