/* $Id: local-sample.css,v 1.1.2.1 2010/01/11 00:08:12 sociotech Exp $ */

/****************************/
/* LOCAL CSS                */
/****************************/

/* Put your custom CSS and CSS overrides in this file and  */
/* rename it local.css.  By restricting your CSS changes   */
/* to local.css, your changes will not be overwritten when */
/* upgrading to a new version of this theme.  You can also */
/* use a local-rtl.css file for the equivalent in RTL.     */

/* Steps to activate local.css:                       */
/* 1. Add your custom CSS to this file                */
/* 2. Rename this file to local.css                   */
/* 3. Clear cached data at admin/settings/performance */



.iframe1{
@charset "ISO-8859-1";	
}
body{
background:#fff url('../images/white.png') repeat-x bottom;
color:#303030;
margin :0 -120px;
}

@media (min-width:1000px)  {
	body { 

overflow: -moz-scrollbars-vertical;
overflow-x: hidden;
overflow-y: scroll;


 }
}



a, a:link, a:visited {
	color:#568d3b;
}

.font-size-11 {
font-size:11px;
}
.field-field-titteli

                             font: Verdana;
                             color: red;;

}
.node-type-yhteystieto p body h1{

                             display:none;
                             

}

.node-type-yhteystieto  .primary-menu-inner {
	display:none;
}

.node-type-yhteystieto .footer-inner {
		display:none;
}


.node-type-yhteystieto #kielimenu {
		display:none;
}

.node-type-yhteystieto .okryverkko {
		display:none;
}
.node-type-yhteystieto .content-inner-inner{
	width: 300px;
	}
.node-type-yhteystieto #header-tausta{
		display:none;
}
.yhteystieto p{
width:50px;	
}
h1{
	
}

h1,h2{
	font-weight:600;
	font-size:24px;
	border-bottom:1px dotted #999999;
	padding-bottom:10px;
}

h3{
	
	font-size:16px;
	
}

#page{
width:1260px;
margin:0 auto;
background:#aade90 url('../images/tausta.png') repeat-x; 

}

#page-inner{
width:1260px;
}

#header-group-wrapper{
background:url('../images/reuna.png') repeat-y;
}

#main-wrapper{
background:url('../images/reuna.png') repeat-y;
}

#postscript-bottom-wrapper{
background:url('../images/reuna.png') repeat-y;
}

.front #postscript-bottom-wrapper{

}

#preface-top-wrapper{
background:url('../images/reuna.png') repeat-y;
}

#preface-top-wrapper{
padding-top:20px;
overflow:hidden;
}



#footer-wrapper{
background:url('../images/footer.png') no-repeat bottom;
}

#header-tausta{
width:1000px;
margin:0 auto;
background:url('../images/header-tausta.png') no-repeat top;
height:130px; /* siirrä tätä headerin väliä.*/
}

#header-group-inner{
position:relative;
}

#header-info{
position:absolute;
right:0;
top:0;
height:50px;
width:480px;
}

#search-box{
position:absolute;
right:10px;
top:9px;
width:193px;
height:30px;
background:url('../images/haku-tausta.png') no-repeat top right;
}

#search-box.block .inner {
margin:0;
}

input#edit-search-theme-form-header{
padding:7px 6px 6px 6px;
border:none;
background:none;
margin:0 0 0 1px;
color:#888888;
width:140px;
}

#search-box input#search_header {
background:url("../images/etsi.png") no-repeat scroll left top transparent;
border:medium none;
cursor:pointer;
height:22px;
text-indent:-999px;
width:33px;
position:relative;
top:1px;
}

#sitemap-linkki{
	background:url("../images/sitemap.png") no-repeat scroll left top transparent;
	position:absolute;
right:290px;
top:9px;
width:30px;
z-index:100;
text-indent:-999px;
min-height:30px;
height:30px;
overflow:hidden;
}

#print-linkki{
	background:url("../images/print.png") no-repeat scroll left top transparent;
	position:absolute;
right:330px;
top:9px;
width:140px;
z-index:100;
text-indent:-999px;
min-height:30px;
height:30px;
overflow:hidden;
}

#logo {
margin:10px 0 0 0;
}

#breadcrumbs {
position:absolute;
right:0;
top:62px;
width:800px;
text-align:right;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
color:#568d3b;
white-space:nowrap;

}

.breadcrumbs a:hover{
	text-decoration:none;
	color:#000;
}

.breadcrumbs a span{
color:#666666;
font-family:Verdana,Geneva,sans-serif;
font-size:11px;
text-decoration:none;
line-height:11px;
}

.breadcrumbs a:link, .breadcrumbs a:visited {
	line-height:14px;
}



#pid-yhteys .content-group.grid12-12{
	padding:0;
}

#pid-yhteys .main-group.grid12-12{
	padding:0;
}

/* preface alkaa */

#preface-tausta{
width:1000px;
margin:0 auto;
padding:10px 0 0 0;
height:180px;
}
/* Oli height:220px; */
#preface-tausta{

background:url("../images/preface_bg.png") no-repeat scroll left top transparent;	

}

.front #preface-tausta{
background:url("../images/preface_front_bg.png") no-repeat scroll left top transparent;	
}

#preface-top{
	position:relative;
overflow:visible;
}

.preface-top-inner {
	padding-top:10px;
}

.preface-top-inner {
	font-size:14px;
	line-height:24px;
}

.preface-top-inner h2 {
border-bottom:none;
font-size:24px;
font-weight:600;
padding-bottom:0px;
}

.preface-top-inner ul{
	margin:0;
}

.preface-top-inner ul.menu li{
	list-style-type:none;
	list-style:none;
		border-bottom:1px dotted #999999;
	padding:7px 0;
}

.preface-top-inner ul.menu li a{
	font-size:14px;
	line-height:16px;
	color:#568d3b;
	background:url("../images/menu-arrow.png") no-repeat scroll 0 4px transparent;
	padding:0 0 0 20px;
}

.preface-top-inner ul.menu li a span{
	line-height:11px;
}

#block-menu-menu-ok-opintokeskus-alavalikko.block .inner {
margin-left:10px;
margin-right:20px;
}

#block-block-5.block{
margin-bottom:0;
}


/** main alkaa */

#main-wrapper{
	padding:30px 0 0 0;
}



.front #main-wrapper, #main-wrapper.presivu {
	padding:0 0 0 0;
	margin-top:0;
	
}

#main-tausta{
width:1000px;
margin:0 auto;
background:url("../images/main_top_bg_2.png") no-repeat scroll left top transparent;	
padding:10px 0 0 0;
}

.front #main-tausta, .presivu #main-tausta{
width:1000px;
margin:0 auto;
background:url("../images/front_main_top_bg.png") no-repeat scroll left top transparent;	
padding:13px 0 0 0;

}

.presivu #main-tausta{

background:url("../images/main_top_bg.png") no-repeat scroll left top transparent;	


}

#main-tausta-ala{
width:1000px;
margin:0 auto;
height:18px;
background:url("../images/main-tausta.png") no-repeat scroll left bottom transparent;	

}

.front #main-tausta-ala{
width:1000px;
margin:0 auto;
height:18px;
background:url("../images/front_main_bottom_bg.png") no-repeat scroll left top transparent;

}

#main{
position:relative;
overflow:visible;
/*background:url("../images/normicontent-tausta.png") no-repeat scroll left top transparent;	*/
}

.front #main{
position:relative;
overflow:visible;
background:none;	
}

#main-inner {
padding-top:20px;
}

.front #main-inner {
padding-top:0;
}

#main-footer-tausta{
width:1000px;
min-height:20px;
margin:0 auto;
background:url("../images/main-tausta.png") no-repeat scroll left bottom transparent;	
padding-bottom:10px;
}

.front #main-footer-tausta{
width:1000px;
min-height:10px;
margin:0 auto;
background:url("../images/front_main_bottom_bg.png") no-repeat scroll left bottom transparent;	
padding-bottom:9px;
}



#main-footer {
background:url("../images/footer-tausta.png") no-repeat scroll left bottom transparent;
overflow:visible;
position:relative;
min-height:20px;
}

.front #main-footer {
background:none;
overflow:visible;
position:relative;
min-height:10px;
}


.bl {background: #efeeeb url("../images/gray-bl.png") 0 100% no-repeat}
.br {background: url("../images/gray-br.png") 100% 100% no-repeat}
.tl {background: url("../images/gray-tl.png") 0 0 no-repeat}
.tr {background: url("../images/gray-tr.png") 100% 0 no-repeat; padding:3px} 
//* vaihdettu .tr padding ennen oli 9px. J**/

.front #main-footer .block .content{
	padding:5px 10px 5px 10px;
}

.front #main-footer .block .content p{
	margin:0;
}

.front #main-footer .block .content h2  {
border-bottom:none;
font-size:24px;
font-weight:600;
padding:10px 0 0 0;
}

.front #main-footer .block{
	position:relative;
}


.lohkoarrow{
	position:absolute;
	bottom:12px;
	right:18px;
	
}

.front #content-group.grid12-12 {
padding:0;
width:960px;
}

.front #content-inner.block {
margin-bottom:0;
}

.front .block #content-inner-inner.inner {
margin:0;
}



.front #content-inner div.node {
margin-bottom:0;
}

/* postscript alkaa */
#postscript-tausta{
width:1000px;
margin:0 auto;
background:url("../images/main-tausta.png") no-repeat scroll left top transparent;	
padding:10px 0 0 0;
}

.front #postscript-tausta{
width:1000px;
margin:0 auto;
background:url("../images/front_main_top_bg.png") no-repeat scroll left top transparent;	
padding:10px 0 0 0;
}

#postscript-bottom-inner{
	padding:20px 0 20px 0;
}

#postscript-bottom{
position:relative;
overflow:visible;
background:url("../images/normicontent-tausta.png") no-repeat scroll left top transparent;
}

#postscript-bottom .more-link {
background:url("../images/menu-arrow.png") no-repeat scroll 0 4px transparent;
color:#568d3b;
font-size:14px;
line-height:16px;
padding:0 0 0 20px;
width:95px;
float:right;
margin:10px 50px 0 0;
}

#postscript-bottom .view-Koulutukset .more-link {

width:auto;
float:left;
margin:10px 50px 0 0;
}

#postscript-bottom  h2 {

margin-bottom:0;
}

#postscript-bottom .view-Uutiset_lohko div.feed-icon{
float:left;
margin:8px 0 0 0;	
color:#568d3b;
font-size:14px;
line-height:16px;
}

#postscript-bottom .view-Uutiset_lohko a.feed-icon{
	position:relative;
	top:3px;
}

#postscript-bottom tr td{
	vertical-align:top;
	line-height:14px;
}

#postscript-bottom tr.even, #postscript-bottom tr.even td {
background:none;
border-bottom:1px dotted #999999;
padding:12px 4px;
}

#postscript-bottom tr.odd, #postscript-bottom tr.odd td {
background:none;
border-bottom:1px dotted #999999;
padding:12px 4px;
}

#postscript-bottom tbody {
border-top:none;
}

#postscript-bottom thead th, #postscript-bottom th {
border-bottom:none;
}

#footer-wrapper{
height:350px;	
}

#footer-tausta{
width:1000px;
margin:0 auto;
background:url("../images/main-tausta.png") no-repeat scroll left bottom transparent;	
padding-bottom:10px;
}

.not-front #footer{

background:url("../images/footer-tausta-sisa.png") no-repeat scroll left bottom transparent;	

}

#footer{
position:relative;
overflow:visible;
background:url("../images/footer-tausta-sisa.png") no-repeat scroll left bottom transparent;
min-height:155px; 
}

#footer #block-block-9{
	position:absolute;
	bottom:-40px;
	right:0;
	width:650px;
}

#footer #block-block-9 a{
	display:inline;
	margin:0;
	padding:0;
}

#footer #block-block-9 a img{
	display:block;
	float:left;
	margin:0;
	padding:0;
}

#footer #block-block-9 a img.rss_ikoni{
	width:111px;
}

#footer #block-block-9 a img.facebook_ikoni{
	width:239px;
}
#footer #block-block-9 a img.verkkovaraani_ikoni{
	width:121px;
}

img.okryverkko_ikoni{
	width:129px;

}
.okryverkko
{
position:relative;
left: 85%;	
margin-top: -9px;

}


html>body*.okryverkko {position:relative;
left: 85%;	
margin-top: -16px;}


#footer table td{
	vertical-align:top;
	width:215px;
	padding:10px 13px 4px 13px;
}
#footer table td p{
	margin:5px 0;
	font-size:12px;

	font-family:Arial, Helvetica, sans-serif;
}



#footer .block {

margin-bottom:0;

}


#footer table{
	display:block;


}

.footer-inner {
	padding-top:15px;
}


#footer table tbody {
border-top:none;
}

.grid12-12 {
width:960px;
padding:0 10px;
}

#main-inner{
	clear:both;
}

/* menu  */


.primary-menu ul li ul{
	display:none;
	
}

.primary-menu ul li a, .primary-menu ul li .nolink {

padding:0;

}

#primary-menu {
overflow:hidden; /* wrap floats */
height:31px; /* trips haslayout, wrap floats IE */
list-style:none;
/* the background image */
position:absolute;
top:-31px;
left:10px;

}

#preface-top #primary-menu {
overflow:hidden; /* wrap floats */
height:31px; /* trips haslayout, wrap floats IE */
list-style:none;
/* the background image */
position:absolute;
top:-29px;
left:10px;

}

#primary-menu li {
}

#primary-menu a {
  float:left;
  position:relative;
  padding:6px 0 6px 10px;
  margin-right:13px; /* adjust space between tabs ... */ 
  text-decoration:none;
  color:#fff;
  background:url("../images/menu.png") 0 0 no-repeat;
  display:block;
  height:19px;
  font-size:16px;
  }

#primary-menu a span {
  position:absolute;
  top:0;
  left:100%;
  width:10px;
  height:31px;
  background:url("../images/menu.png") -240px 0 no-repeat;
  }

#primary-menu a.active, #primary-menu .active-trail a{
  color:#333;
  background-position:0 -31px;
   }

#primary-menu a.active span, #primary-menu .active-trail a span {
  background-position:-240px -31px;
  }

#primary-menu a:active,
#primary-menu a:focus,
#primary-menu a:hover{
  color:#333;
  background-position:0 -31px;
   }

#primary-menu a:active span,
#primary-menu a:focus span,
#primary-menu a:hover span {
  background-position:-240px -31px;
  }
/* block menu */


/* kielimenu  */




.primary-menu ul li a, .primary-menu ul li .nolink {

padding:0;

}

#kielimenu {
overflow:hidden; /* wrap floats */
height:25px; /* trips haslayout, wrap floats IE */
list-style:none;
/* the background image */
position:absolute;
top:-25px;
left:700px;
width:306px;

}

#preface-top #kielimenu {
overflow:hidden; /* wrap floats */
height:25px; /* trips haslayout, wrap floats IE */
list-style:none;
/* the background image */
position:absolute;
top:-23px;
left:700px;
width:306px;;

}

#kielimenu ul li {
	list-style:none;
	list-style-type:none;
}

#kielimenu a {
  float:left;
  position:relative;
  padding:4px 0 4px 5px;
  margin-right:10px; /* adjust space between tabs ... */ 
  text-decoration:none;
  color:#fff;
  background:url("../images/kielimenu.png") 0 0 no-repeat;
  display:block;
  height:17px;
  font-size:12px;
  
  }

#kielimenu a span {
  position:absolute;
  top:0;
  left:100%;
  width:7px;
  height:25px;
  background:url("../images/kielimenu.png") -193px 0 no-repeat;
  }

#kielimenu a.active  {
  color:#333;
  background-position:0 -25px;

   }

#kielimenu a.active span {
  background-position:-193px -25px;
  }

#kielimenu a:active,
#kielimenu a:focus,
#kielimenu a:hover {
  color:#333;
  background-position:0 -25px;
   }

#kielimenu a:active span,
#kielimenu a:focus span,
#kielimenu a:hover span {
  background-position:-193px -25px;
  }
/* kielimenu */

#sidebar-first .block .inner {
margin-left:10px;
margin-right:20px;
}

.block-menu_block li a span, .block-menu_block li a:link span, .block-menu_block li a:visited span, .block-menu_block lia.active span, .block-menu_block li a:hover span{
color:#666666;
font-family:Verdana, Geneva, sans-serif;
font-size:11px;
text-decoration:none;

}

.block-menu_block ul{
	margin:0;
}

.block-menu_block li a:hover{
	color:#000;
}



.block-menu_block ul.menu li{
	list-style-type:none;
	list-style:none;
		border-bottom:1px dotted #999999;
	padding:9px 20px 9px 0;
	background:url("../images/li_isoarrow.png") no-repeat scroll right center transparent;
}

.block-menu_block ul.menu li.active-trail,.block-menu_block ul.menu li:hover{
	background:url("../images/li_musta_isoarrow.png") no-repeat scroll right center transparent;
}

.block-menu_block ul.menu li a{
	font-size:14px;
	line-height:16px;
}

.block-menu_block ul.menu li a:hover{
	text-decoration:none;
}

.block-menu_block ul.menu li a span{
	line-height:11px;
}

.block-menu_block ul.menu ul li{
	
		border-bottom:none;
	padding:2px 0 2px 15px;
	background:url("../images/pikkumenuarrow.png") no-repeat scroll 0 7px transparent;
}

.block-menu_block ul.menu li.active-trail ul li{
		background:url("../images/pikkumenuarrow.png") no-repeat scroll 0 7px transparent;
}

.block-menu_block ul.menu ul li.expanded{
	
	
	padding-bottom:0;
	
}

.block-menu_block ul.menu ul li a{
	font-size:11px;
	line-height:13px;
}
/* menu kakkostyyli */

#pid-kulttuuriavustukset .block-menu_block ul.menu li.active-trail{
	background:url("../images/menu_arrow_green_active.png") no-repeat scroll right center #e5f3de;
}

#pid-kulttuurin-verkkomateriaalit .block-menu_block ul.menu li.active-trail{
	background:url("../images/menu_arrow_green_active.png") no-repeat scroll right center #e5f3de;
}

#pid-kulttuuri .block-menu_block ul.menu li.active-trail{
	background:url("../images/menu_arrow_green_active.png") no-repeat scroll right center #e5f3de;
}

#pid-kulttuuriavustukset .block-menu_block ul.menu li{
padding-left:4px;	
background:url("../images/menu_arrow_green.png") no-repeat scroll right center #fff;
}

#pid-kulttuurin-verkkomateriaalit .block-menu_block ul.menu li{
padding-left:4px;	
background:url("../images/menu_arrow_green.png") no-repeat scroll right center #fff;
}

#pid-kulttuuri .block-menu_block ul.menu li{
padding-left:4px;	
background:url("../images/menu_arrow_green.png") no-repeat scroll right center #fff;
}

.block-menu_block h2.title {

margin-bottom:0;
}

/* gray block */

#sidebar-last .tr .content{
padding:0 10px;	
}

#sidebar-last .gray-block h2{
	padding:10px 0 0 10px;
	border:none;
	font-size:20px;
}


/*  taulukkotyylit  */

#block-views-Taulukkomalli-block_1{
	margin:0 0 0 0;
	

}
.gray-block h2{
	padding:10px;
	border:none;
	
}

.gray-block thead th,.gray-block  th {
border-bottom:none;
color:#666;
padding:4px;
font-weight:bold;
font-size:11px;
}

.gray-block tbody {
border-top:none;
}

.gray-block tbody td{
	padding:13px 0;
}



.gray-block tr.even,.gray-block tr.even td {
background-color:#f9f9f8;
border-bottom:1px solid #d7d6d3;
border-top:1px solid #fff;
}

.gray-block tr.odd, .gray-block tr.odd td {
background-color:#FFFFFF;
border-bottom:1px solid #d7d6d3;
}

.gray-block td.views-field-title{
	color:#568d3b;
	font-size:14px;
	padding:13px;
}



/** hankesivu  **/

.node-type-hankesivu .meta {
	display:none;
}

.node-type-hankesivu h1.title{
	display:none;
}

.node-type-hankesivu .tabs-tabset{
	background:#efeeeb;
	padding:10px;
	border: 1px solid #efeeeb;
	-moz-border-radius: 5px; 
    -webkit-border-radius: 5px; 
	
}

.node-type-hankesivu ul.ui-tabs-nav{
margin:15px 10px 5px 0;
border-bottom:none;
float:right;
}

.node-type-hankesivu ul.ui-tabs-nav li{
display:block;
float:left;
}

.node-type-hankesivu ul.ui-tabs-nav li a{
padding:6px 10px;
background-color:#fff;
border-color:#BBBBBB #BBBBBB #fff;
border-style:solid;
border-width:1px;
margin-right:0.5em;
font-size:12px;


-moz-border-radius-topleft:3px;
-webkit-border-top-left-radius:3px;
-moz-border-radius-topright:3px;
-webkit-border-top-right-radius:3px;
}


.node-type-hankesivu ul.ui-tabs-nav li.active a, .node-type-hankesivu ul.ui-tabs-nav li a:hover{
background-color:#efeeeb;
border-color:#BBBBBB #BBBBBB #efeeeb;
border-style:solid;
border-width:1px;
color:#000;

}

.node-type-hankesivu #tabs-tabset span.clear {
clear:both;
display:block;
font-size:0;
height:0;
line-height:0;
margin-bottom:0;
}

.node-type-hankesivu { 
}

#preface-top-inner p{
margin-bottom:5px;
}

#preface-top-inner p.tervetuloa{
margin:0;
}

/** koulutukset 2012 -banneri koulutuskalenterissa (block-23) **/

#block-block-23{
  height: 460px;
  margin-bottom: 0px;
}

#block-block-23 p{
  margin-top: 0px; padding-top: 0px; border: 0px black solid;
}

#koulutukset_2012 img{
  opacity:1.0;
  filter:alpha(opacity=100);
}

#koulutukset_2012 img:hover{
  opacity:0.8;
  filter:alpha(opacity=80);
}

/** suorat lähetykset sivut**/

#node-430 {
  margin-left: -10px;
  overflow: visible;
  border: 0px black solid;
  z-index: 50;
}

#node-430 iframe {
  border: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

#node-432 iframe {
  border: 0;
  margin: 0;
  padding: 0;
}

#node-433 iframe {
  border: 0;
  margin: 0;
  padding: 0;
}

/** hanke-esittely pecha kuchat 2011 **/

#node-451 {
  margin-left: -10px;
  overflow: visible;
  border: 0px black solid;
  z-index: 50;
}

#node-451 iframe {
  border: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

#node-452 iframe {
  border: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

#node-453 iframe {
  border: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

#node-454 iframe {
  border: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}
