/*
** Kun koulu loppuu
*/

/* perusjuttuja */

body, html {
	height: 100%;
	width: 100%;
	background: #333;
	color: #666;
	padding: 0;
	margin: 0;
	font-family: arial, helvetica, sans-serif;
	text-align: center;
	font-size: 1em;
}

a:link {
	color: #dfff3d;
	text-decoration: none;
}

a:visited {
	color: #cfec3a;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}
	
a:active {
	color: #dfff3d;
	text-decoration: none;
	background-color: black;
}



/* haku */

#hakupaikka {
	width: 470px;
	margin: 0 50%;
	position: absolute;
	top: 15px;
}

#haku {
	background-color: #242424;
	height: 30px;
	text-align: right;
	width: 220px;
	float: right;
	white-space: nowrap;
	margin: 0;
	padding: 0;
	border: 1px solid black;
}

#haku input#hakulaatikko {
	margin: 0;
	float: left;
	border: none;
	height: 18px;
	padding: 6px 0 6px 0;
	font-size: 14px;
	text-align: center;
}

.searchboxoff {
	width:180px;
	margin: 0;
	padding: 0;
	height: 30px;
	background-color: #999;
	border: none;
}

.searchboxon {
	width:180px;
	margin: 0;
	padding: 0;
	height: 30px;
	background-color: #CCC;
	border: none;	
}

#haku input#hakunappi:hover {
	color: white;
}

.findbuttonoff {
	color: #dfff3d;
	border: none;
	height: 30px;
	width: 40px;
	font-size: 14px;
	background-color: black;
}

.findbuttonon {
	color: #6C0;
	border: none;
	height: 30px;
	width: 40px;
	font-size: 14px;
	background: black url(../img/hakunappi-tausta-animaatio.gif) center center repeat-y;
}



/* ylatunniste */

#ylatunniste {
	width:100%;
	background: #242424 url(../img/ylatunniste-tausta.gif) bottom center repeat-x;
	height: 146px;
	margin:0;
	padding:0;
	border-bottom: 3px solid black;
	text-align: center;
	z-index: 100;
}

#ylatunniste h1 {
	font-size: 1px;
	width: 940px;
	height: 146px;
	overflow: hidden;
	text-indent: -9000px;
	margin: 0 auto;
	padding: 0;
	background: url('../img/ylatunniste-kuva1.gif') no-repeat bottom center;
}

#ylatunniste h1.taustakuva1 {
	background: url('../img/header/1_tet.jpg') no-repeat bottom center;
}

#ylatunniste h1.taustakuva2 {
	background: url('../img/header/2_kesatyo.jpg') no-repeat bottom center;
}

#ylatunniste h1.taustakuva3 {
	background: url('../img/header/3_opiskelemaan.jpg') no-repeat bottom center;
}

#ylatunniste h1.taustakuva4 {
	background: url('../img/header/4_ammattiin.jpg') no-repeat bottom center;
}

#ylatunniste h1.taustakuva5 {
	background: url('../img/header/5_tyoabc.jpg') no-repeat bottom center;
}

#ylatunniste h1.taustakuva6 {
	background: url('../img/header/6_testit.jpg') no-repeat bottom center;
}

#ylatunniste h1.taustakuva7 {
	background: url('../img/header/7_linkit.jpg') no-repeat bottom center;
}

#ylatunniste h1.taustakuva8 {
	background: url('../img/header/8_sitemap.jpg') no-repeat bottom center;
}

/* palvelun navigaatio */

#paanavigaatio {
	width:100%;
	background: url(../img/navigaatio-tausta.gif) top center repeat-x;
	margin: 0;
	color: black;
	padding:8px 0 0 0;
	text-align: center;
	overflow: hidden;
	clear: both;
}

ul#navilinkit {
	width: 940px;
	margin: 0 auto;
	padding: 0px 0px 0px 20px;
	overflow: hidden;
	height: 1%;
	clear: both;
}

ul#navilinkit li {
	text-transform: uppercase;
	margin: 0;
	padding: 0 5px 0 5px;
	font-weight: bold;
	font-size: 1.1em;
	color: #000;
	display: block;
	overflow: hidden;
	float: left;
	height: 1%;
}

#paanavigaatio li a,
#paanavigaatio li a:hover {
	display: block;
	float: left;
	padding: 10px 6px 20px 6px;
	text-decoration: none;
	height: 1%;
	position: relative;
	background: transparent url("../img/navigaatio-tausta-black.gif") repeat-x right top;
}

#paanavigaatio li a:hover {
	color: #fff;
	background: transparent url("../img/navigaatio-tausta-red.gif") repeat-x right top;
}

ul#navilinkit li.valittu a,
ul#navilinkit li.valittu a:hover {
	background: #dfff3d url(../img/navigaatio-on.gif) no-repeat right bottom;
	color: #000;
}


/* sisaltoalue */

#sisaltoalue {
	width: 960px;
	overflow: hidden;
	clear: both;
	padding: 0;
	margin: 20px auto 0 auto;
}

.palsta460 {
	width: 460px;
	margin: 0 10px;
	text-align: left;
}

.palsta220 {
	width: 220px;
	margin: 0 10px;
	text-align: left;
}

.palsta700 {
	width: 700px;
	margin: 0 10px;
	text-align: left;
}


/* laput, liput, napit ja muut irtopalaset */

.lappu_blogi {
	background: url(../img/lappu-piksunblogi-pohja.gif) left bottom no-repeat;
	padding-bottom: 20px;
	color: black;
}

.lappu_blogi h2 {
	background: url(../img/lappu-piksunblogi-otsikko.jpg) right top no-repeat;
	font-size: 1px;
	height: 46px;
	overflow: hidden;
	text-indent: -9000px;
	margin:0;
	padding:0;
}

.lappu_blogi h3 {
	margin: 0 0 0 60px;
	padding: 0 8px 0 120px;
	background-color: #e6e6e6;
	font-size: 120%;
}

.lappu_blogi .fpmarg {
	margin: 0 0 0 60px;
	padding: 0 8px 15px 120px;
	background-color: #e6e6e6;
}

.lappu_blogi .fpmarg h3 {
	margin: 0px;
	padding: 0px;
	background-color: #e6e6e6;
	font-size: 120%;
}
	
.lappu_blogi .fpmarg .fpscroll {
	overflow: auto;
	height: 300px;
	background-color: #e6e6e6;
}
	
.lappu_blogi p {
	font-size: 85%;
}

.lappu_blogi .piksublogikuva {
	width: 170px;
	height: 211px;
	float: left;
	position: relative;
	z-index: 99;
	background: url("../img/piksun-blogista.jpg") center center no-repeat;
}

.lappu_esittelyt {
	margin: 0 0 20px 0;
	padding: 0 0 10px 0;
	overflow: hidden;
	height: 1%;
	background: url("../img/lappu-esittelyt-tausta.gif") left top repeat;
}

.lappu_esittelyt h2 {
	color: white;
	font-size: 115%;
	margin: 0;
	padding: 10px 5px 0px 10px;
}

.lappu_esittelyt img, .lappu_esittelyt a:link img {
	float: right;
	margin: 10px 5px;
	padding: 3px;
	/*border: 5px solid black;*/
	border: 5px dashed #dfff3d;
}
	
.lappu_esittelyt a:visited img {
	border: 5px dashed #dfff3d;
}
	
.lappu_esittelyt a:hover img, .lappu_esittelyt a:active img {
	border: 5px solid #dfff3d;
}
	
.lappu_esittelyt dl {
	margin: 0;
	padding: 0;
}

.lappu_esittelyt dl dd, .lappu_esittelyt dl dt {
	margin: 0;
	font-size: 80%;
	color: #999;
	padding: 0 0 0 10px;
}

.lappu_esittelyt dl dd {
	padding-bottom: 10px;
}

.lappu_esittelyt dl dt a {
	font-size: 110%;
	line-height: 120%;
	font-weight: bold;
}

.lappu_mika {
	background: #ff9 url(../img/lappu-mika-pohja.gif) center bottom no-repeat;
	padding-bottom: 43px;
	color: black;
	font-size: 85%;
}

.lappu_mika h2 {
	background: url(../img/lappu-mika-otsikko.jpg) center top no-repeat;
	font-size: 1px;
	height: 127px;
	overflow: hidden;
	text-indent: -9000px;
	margin:0;
	padding:0;
}

.lappu_mika a, .lappu_blogi a {
	color: #00c;
}

.lappu_mika p, .lappu_testit p {
	margin: 0 8px 10px 8px;
}

.lappu_testit {
	background: #98dae1 url(../img/lappu-testit-pohja.gif) center bottom no-repeat;
	padding-bottom: 41px;
	color: black;
	font-size: 85%;
	width: 220px;
}

.lappu_testit h2 {
	background: url(../img/lappu-testit-otsikko.gif) center top no-repeat;
	font-size: 1px;
	height: 102px;
	overflow: hidden;
	text-indent: -9000px;
	margin:0;
	padding:0;
}

.lappu_testit h3 {
	margin:0 8px;
	font-size: 160%;
	padding:0;
}

.lappu_testit a {
	color: #800000;
}

.lappu_galleria h2, .lappu_duuni h2 {
	display: none;
}

	
.lappu_galleria2 h2, .lappu_duuni2 h2 {
	display: none;
}
	
/* juttusivut */

#osionavigaatio {
	padding: 50px 0 35px 0;
	font-size: 85%;
	overflow: hidden;
	height: 1%;
	clear: both;
}

#osionavigaatio ul,
#osionavigaatio li,
#osionavigaatio ul li,
#osionavigaatio ul ul,
#osionavigaatio ul ul li {
	padding: 0;
	margin: 0;
	list-style-type: none;
	display: block;
	overflow: hidden;
	height: 1%;
	clear: both;
}

#osionavigaatio a:visited,
#osionavigaatio li a:visited {
	color: #94a827; /*#afc635;*/
}

#osionavigaatio a,
#osionavigaatio a:hover,
#osionavigaatio li a,
#osionavigaatio li a:hover {
	color: #dfff3d;
}	

#osionavigaatio a,
#osionavigaatio a:hover {
	display: block;
	margin: 0px;
	padding: 5px 3px;
	height: 1%;
	clear: both;
}

#osionavigaatiohead a,
#osionavigaatiohead a:hover {
	text-transform: uppercase;
	padding: 5px 3px 15px 3px;
}

#osionavigaatio li.menudepth1 {
	margin-left: 0px;
	border-bottom: 1px solid #5C5C5C;
	padding: 4px 0 4px 15px;
	background: url('../img/lista-merkki.gif') 8px 50% no-repeat;
}
	
#osionavigaatio li.menudepth1.opened a,
#osionavigaatio li.menudepth1.opened a:hover,
#osionavigaatio li.menudepth2.opened a,
#osionavigaatio li.menudepth2.opened a:hover,
#osionavigaatio li.menudepth3.opened a,
#osionavigaatio li.menudepth3.opened a:hover,
#osionavigaatio li.menudepth4.opened a,
#osionavigaatio li.menudepth4.opened a:hover {
	color: #333;
}
	
#osionavigaatio li.menudepth2 {
	padding: 4px 0 4px 30px;
	background: url('../img/lista-merkki.gif') 18px 50% no-repeat;
	border-bottom: 1px solid #5C5C5C;
}

body #osionavigaatio li.menudepth1.opened,
body #osionavigaatio li.menudepth2.opened,
body #osionavigaatio li.menudepth3.opened,
body #osionavigaatio li.menudepth4.opened {
	background-color: #dfff3d;
	background-image: none;
}

#osionavigaatio li.menudepth3 {
	padding: 4px 0 4px 40px;
	background: url('../img/lista-merkki.gif') 26px 50% no-repeat;
	border-bottom: 1px solid #5C5C5C;
}

	
#osionavigaatio li.menudepth4 {
	padding: 4px 0 4px 50px;
	background: url('../img/lista-merkki.gif') 34px 50% no-repeat;
	border-bottom: 1px solid #5C5C5C;
}

.valkoinen {
	background-color: white;
	color: black;
	padding: 0 0 20px 0;
	border-bottom: 7px solid black;
}

.valkoinen a:link, .valkoinen a:visited, .valkoinen a:hover {
	color: #00C;
}

.valkoinen a:visited {
	color: #0c0c9f;
}

.valkoinen a:active {
	color: #dfff3d;
	text-decoration: none;
	background-color: black;
}
	
.valkoinen h2 {
	font-size: 200%;
}

.valkoinen p#murupolku {
	padding: 42px 5px 5px 40px;
	margin:0;
	color: #999;
	background: #ecf4b2 url('../img/valkoinen-murupolku-tausta.jpg') center top no-repeat;
	font-size: 75%;
}

.valkoinen p#murupolku a,
.valkoinen p#murupolku a:hover {
	color: #888a79;
	text-decoration: underline;
}

.valkoinen p#murupolku a:hover {
	color: #666;
}

.valkoinen p, .valkoinen td  {
	line-height: 140%;
}
	
.valkoinen h1, .valkoinen h2, .valkoinen h3, .valkoinen h4, .valkoinen h5, .valkoinen h6, .valkoinen p, .valkoinen .kuvaboxi {
	margin: 1em 115px 0 40px;
}

.valkoinen table {
	margin: 1em 0px 0px 40px;
}

.valkoinen em, .valkoinen table p, .valkoinen table h1, .valkoinen table h2, .valkoinen table h3, .valkoinen table h4, .valkoinen table table, .valkoinen h1 p, .valkoinen h2 p, .valkoinen h3 p {
	margin-left: 0px;
}

.valkoinen em {
	margin: 1em 115px 0 40px;
}
	
.valkoinen p em {
	margin:0px;
}

.valkoinen i {
	margin: 1em 115px 0 40px;
}
	
.valkoinen p i {
	margin: 0px;
}
	
.valkoinen ul, .valkoinen ol {
	margin: 1em 120px 0 60px;
}

.valkoinen label {
	margin: 10px 0px 0px 40px;
}

.valkoinen input, .valkoinen select, .valkoinen textarea, .feedback_button, #captcha_image {
	margin: 0px 0px 0px 40px;
}

.valkoinen fieldset {
	margin: 10px 10px 10px 40px;
}
	
.valkoinen fieldset table, .valkoinen fieldset input, .valkoinen input .button {
	margin: 0px;
}

.feedback_button .button {
	margin-left: 0px;
}
	
#admin_img_m img {
	margin: 0px 0px 0px 40px;
}
	
.yrityslinkit p {
	margin: 0px;
	display: inline-block;
	float: left;
}

.piksunvinkki p {
	margin: 0px;
	font-size: 75%;
}
	
.valkoinen h3, .valkoinen h4, .valkoinen h5, .valkoinen h6 {
	margin-top: 1.5em;
	font-size: 120%;
}

.valkoinen h4, .valkoinen h5, .valkoinen h6 {
	font-size: 100%;
}

.kuvituskuva {
	margin: 10px 10px 0 40px;
	overflow: hidden;
}

.yrityslinkit {
	margin: 0.3em 110px 1em 40px;
}

.yrityslinkit br, .videolista br {
	display: none;
}

.yrityslinkit a {
	display: inline-block;
	width: 255px;
	margin: 5px 0 0 0px;
	padding: 0 15px 0 0;
	border-bottom: 1px solid #e5e5e5;
}

.yrityslinkit table {
	margin-left: 0px;
}
	
.piksunvinkki {
	clear: right;
	padding: 1em 0 150px 0;
	background: #fff url('../img/piksunvinkki-pohja-tausta.gif') center bottom no-repeat;
}

div.vinkki {
	clear: right;
	background: #fff url('../img/piksunvinkki-teksti-tausta.gif') left top repeat-y;
	padding: 10px 10px 0 10px;
	margin: 0;
}

.faktaboksi {
	background: #f6fad9 url('../img/faktaboksi-tausta.gif') center center;
	padding: 10px 5px;
	margin: 1.5em 10px 10px 10px;
	font-size: 90%;
	border-top: 5px solid black;
	border-bottom: 5px solid black;
	line-height: 150%;
}

.faktaboksi p {
	margin: 0 0 10px 0;
	padding: 0;
}

.faktaboksi ul, .faktaboksi ol, .faktaboksi dl {
	margin: 0;
	padding: 0 0 0 15px;
}

p.kerrokaverille {
	clear: both;
	border-bottom: 1px solid #CCC;
	line-height: 100%;
	margin-top: 2.5em;
	text-align: right;
	padding-top: 1em;
}

p.kerrokaverille a:link, p.kerrokaverille a:visited {
	font-size: 85%;
	color: red;
	padding: 0 5px;
	background-color: #dfff3d;
}

.videolista {
	margin: 1em 110px 0 38px;
}

.videolista a img {
	border: none;
	display: block;
}

.videolista a {
	display: inline;
	float: left;
	width: 150px;
	padding: 0 30px 0 0;
	height: 13em;
	text-align: center;
	font-size: 80%;
	border: 0px solid #ffffff;
}

.videolista a:visited {
	text-decoration: none;
	border: 0px solid #ffffff;
}

.videolista a:hover {
	color: #0000d6;
	text-decoration: underline;
	border: 0px solid #ffffff;
}
	
.videolista a:active {
	color: #0000d6;
	border: 0px solid #ffffff;
	background-color: white;
}
	
/* sivukartta */

.tummapohja {
	}

.tummapohja h2 {
	margin-left: 70px;
	color: white;
	font-size: 200%;
}

.sivukartta {
	font-size: 1em;
}

.sivukartta ul {
	width: 580px;
	padding: 0;
	margin: 0 0 0 70px;
	list-style: none;
}

.sivukartta li.menudepth1 {
	padding: 0;
	margin: 20px 0 0 0;
	font-size: 120%;
	font-weight: bold;
	list-style-type: none;
}
	
.sivukartta li.menudepth1 a {
	background: black;
	display: block;
	margin:0;
	padding: 3px 0 3px 5px;
}
	
.sivukartta li.menudepth2 {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: bold;
	border-bottom: 1px solid #5C5C5C;
}

.sivukartta li.menudepth2 a {
	background: #333;
	display: block;
	line-height:28px;
	margin:0;
	padding: 3px 0 3px 15px;
}

.sivukartta li.menudepth3 {
	border: none;
	font-size: 83%;
	padding-left: 16px;
	font-weight: normal;
}

.sivukartta li.menudepth3 a {
	padding-left: 10px;
	line-height:24px;
	background: url('../img/lista-merkki.gif') center left no-repeat;
}
          
.sivukartta li.menudepth4 {
	border: none;
	font-size: 83%;
	padding-left: 26px;
	font-weight: normal;
}

.sivukartta li.menudepth4 a {
	padding-left: 10px;
	line-height:24px;
	background: url('../img/lista-merkki.gif') center left no-repeat;
}
	
.sivukartta li.menudepth5 {
	border: none;
	font-size: 83%;
	padding-left: 36px;
	font-weight: normal;
}

.sivukartta li.menudepth5 a {
	padding-left: 10px;
	line-height:24px;
	background: url('../img/lista-merkki.gif') center left no-repeat;
}

.sivukartta li.menudepth6 {
	border: none;
	font-size: 83%;
	padding-left: 46px;
	font-weight: normal;
}

.sivukartta li.menudepth6 a {
	padding-left: 10px;
	line-height:24px;
	background: url('../img/lista-merkki.gif') center left no-repeat;
}
	
/* alatunniste */

#alatunniste {
	width: 960px;
	background-color: #1d1d1d;
	margin: 50px auto 10px auto;
	color: #999;
	padding: 10px 0px;
	text-align: center;
}

#alatunniste a {
	color: #afc635;
}

#alatunniste a:hover {
	color: #dfff3d;
}

#copyright {
	padding-bottom: 20px;
	font-size: 75%;
	overflow: hidden;
	height: 1%;
	clear: both;
}

#copyright a {
	color: #666;
}


/* sekalaiset */

hr {border: none; height: 5px; clear:both; }
small {font-size: 75%}

.piilossa {display: none}
.vasen {float: left}
.oikea {float: right}


/*
* Exove
*/

.lappu_galleria a,
.lappu_duuni a {
	display: block;
	height: 240px;
	font-size: 1px;
	color: #333;
	overflow: hidden;
	text-indent: -9000px;
	background: url("../img/gallery-button.gif") center bottom no-repeat;
}
	
.lappu_duuni a {
	height: 289px;
	background: url("../img/duuni-magazine.jpg") center bottom no-repeat;
}

.emptyField {
	display: none;
}

/*
* Sitemap
*/

.border-box {
	float: left;
	text-align: left;
	margin: 0 60px 0 80px;
	width: 580px;
	display: inline;
}

.content-view-sitemap h1 {
	color: #fff;
	font-size: 2em;
}

.content-view-sitemap h2 {
	width: 100%;
	display: block;
	margin-bottom: 0;
}

.content-view-sitemap h2 a {
	background-color: #000;
	display: block;
	font-size: 90%;
	padding: 3px 0 3px 5px;
}

.content-view-sitemap table tr {
	width: 100%;
	clear: both;
	display: block;
}

.content-view-sitemap table tr td {
	width: 100%;
	clear: both;
	display: block;
}

.content-view-sitemap ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.content-view-sitemap li {
	border-bottom: solid 1px #5c5c5c;
	width: 100%;
	display: block;
}

.content-view-sitemap li a {
	display: block;
	padding: 5px 0 5px 15px;
}

.object-left {
	display: block;
	float: left;
	padding: 10px 0px 10px 0px;
}

.object-right {
	display: block;
	float: right;
	padding: 10px 0px 10px 0px;
}

#searchForm {
	margin: -130px 0 0 450px;
}


#ylatunniste #searchForm .searchFormText {
	width: 100px;
	font-size: 0.7em;
}

.buttonblock {
	margin-top: 20px;
}

.feedback_button {
	margin-top: 20px;
}


/* Search styles */


.content-search h2 {
	margin-left:0;	
}


.content-search {
	margin-left:40px;	
}


/* Paging */

/* PAGENAVIGATOR */

div.pagenavigator
{
    text-align: center;
    width:400px;
    clear: both;
}

div.pagenavigator span.current {
	display:inline;
}

div.pagenavigator span.previous
{
    display: block;
    float: left;
}

div.pagenavigator span.next
{
    display: block;
    float: right;
}

div.pagenavigator span.disabled
{
    color: #d0d0d0;
}

#nuorisoform .messageTextWrapper500Chars,
#nuorisoform .messageTextWrapper3000Chars {
	display: none;
}

#nuorisoform .nuorisoItem label {
	display: inline;
	margin-left: 0;
}

#nuorisoform .nuorisoItem input {
	display: inline;
	width: 200px;
}

/*gallery*/

.imageItems .class-image {
	float: left;
	overflow: visible;
	width: auto;
	clear: none;
	height: auto;
	margin: 10px 10px 10px 0;
}

.imageItems p {
	margin-left: 0;
}

.imageItems .class-image img {
	border: 0;
}

.attribute-header h1 {
	margin: 10px 0;
}

.content-navigator div {
	display: inline;
}

.content-navigator-separator,
.content-navigator-separator-disabled {
	margin: 0 10px;
}

.attribute-link.slideshow p {
	margin-left: 0;
}