body {
	text-align:center;
	margin:0;
	padding:0;
	border:0;
}

.leftpadding5 {
	padding-left:5px;	
	border-left:1px solid white;
}

div {
	font-family:arial, helvetica, sans-serif;	
}

div.paatos {
	 clear:both;
	 line-height:1px;
}

p.artikkeli {
	width:47%;
	margin:1%;
	float:left;
	text-align:justify;
}

p.erotin {
	clear:both;
	line-height:50px;
}

img.esite {
	height:350px;
}

div.kuvaL {
	float:left;
	width:200px;
	margin:20px 10px 5px 0;	
}

div.kuvaR {
	float:right;
	width:200px;
	margin:20px 0px 5px 10px;
}

div.kuvaL img,div.kuvaR img {
	width:100%;
	margin:0;
}

div.kuvaL p, div.kuvaR p {
	margin:1px 0 auto 0;
	font-size:0.8em;
	font-weight:bold;
	width:100%;
}

img.kuvauslogo {
	width:205px;
	float:right;
	margin:0 5px 5px 5px;
	border:none;
}

h1 {
	font-family:"times new roman",serif;
}

h2 {
	margin-top:20px;
}

h1,h2,h3,h4,h5,h6 {
	color:#0dbbe7;
}

h1.kokoalaviiva, h2.kokoalaviiva, h3.kokoalaviiva, h4.kokoalaviiva, h5.kokoalaviiva, h6.kokoalaviiva {
	border-bottom:1px solid black;
}

h1.punanen, h2.punanen, h3.punanen, h4.punanen, h5.punanen, h6.punanen {
	color:red;
}

a {
	color:#d0a717;
}

a.link {
	font-family: "Times New Roman", serif;
	font-style: italic;
	font-weight: bold;
	font-size: 1em;
	letter-spacing: 1px;	
}

a.link2 {
	font-size:30px;
}

div#kaikki {
	margin-right:auto;
	margin-left:auto;
	width:756px;
	text-align:left;
}

div#otsikko {
	text-transform:uppercase;
	text-align:center;
	font-family: "Times New Roman", serif;
	height:100px;
	*height:110px;
	border:1px solid white;
}
	div#otsikko h1 {
		*margin-top:40px;
	}
	
	div#otsikko h1.otsikko {
		margin-bottom:10px;
		font-size:40px;
		color:black;		
	}
	
	div#otsikko h1.kaksrivinen {
		margin-bottom:10px;
		font-size:35px;
		color:black;				
	}
	
	div#otsikko .tokarivi {
		font-size:30px;
		font-weight:bold;
		margin:0;
	}

	div#otsikko p.tokarivi {
		font-size:20px;
		padding:0 0 12px 0;
	}

div.nimi {
	text-align:center;
	width:100%;
	text-transform:uppercase;
	font-family: "Times New Roman", serif;
	font-size:15px;;
}

div#otsikko h1 {
	color:black;
}

div#otsikkokentta {
	position:relative;
	margin-top:50px;
	width:756px;
	height:200px;
	z-index:1;
}

/*			PÄÄ LAATIKKO			*/
.t {background-color: #0dbbe7;}
.b {background-color: #0dbbe7;}
.l {background-color: #0dbbe7;}
.r {background-color: #0dbbe7;}
.bl {background: url(img/kulma40dbbe7.png) 0 100% no-repeat;}
.br {background: url(img/kulma30dbbe7.png) 100% 100% no-repeat;}
.tl {background: url(img/kulma10dbbe7.png) 0 0 no-repeat;position:relative;}
.tr {background: url(img/kulma20dbbe7.png) 100% 0 no-repeat; padding:10px;} 

div.ilmoitus {
	text-align:center;
}

div.linkitoikea h1.ilmoitus {
	color:white; /*#e0b323;*/
	text-decoration:underline;
	margin-bottom:2px;
}

div.linkitoikea p.ilmoitus {
	margin:3px -10px;
	font: 13px arial, helvetica, sans-serif;
	color:white;	
	font-weight:bold;
	width:110%;
	text-decoration:none;
}

div.linkitoikea img.ilmoitus {
	margin:0 auto;
	display:block;
	width:116px;
	height:165px;
	border:none;
}

div.linkit {
	position:relative;
	display:block;
	z-index:100;
	height:180px;
}

div.linkitoikea li {
	width:100px;
}

ul.otsikkolinkit {
	list-style:none;
	display:inline;
	position:absolute;
	z-index:100;
	padding:0;
	margin:0 0 0 30px;
	*margin-top:-5px;
	*margin-left:10px;
}

ul.otsikkolinkit li {
	clear:both;
	position:relative;
	height:14px;
	*height:15px;
	*width:100%;
	margin:0;
	*margin-top:-3px;
	padding:0;
}

ul.otsikkolinkit li a {
	position:relative;
	float:left;
	*float:none;
	color:white;
	font: 14px arial, helvetica, sans-serif;
	*font-size:15px;
	font-weight:bold;
	text-decoration:none;
	width:100%;
	*width:auto;
}

ul.otsikkolinkit li a:hover {
	color:#ff0a0a;
}
	div.linkitoikea li a {
		font-size:12px;
	}

ul.otsikkolinkit li ul {
	position:absolute;
	z-index:149;
	list-style:none;
	background-color:#0dbbe7;
	border:3px outset white;
	border-bottom:4px outset white;
	display:none;
	padding:0;
	margin:-4px;
	*margin:0px;
	left:25%;
	top:1.1em;
	*top:0;
	*left:100%;
}
 
ul.otsikkolinkit li:hover ul {
	display:block;
}

ul.otsikkolinkit li:hover ul li {
	position:relative;
	z-index:150;
	height:auto;
		*margin-top:0px;
	width:200px;
}

ul.otsikkolinkit ul li a {
	*float:left;
	font-size:0.8em;
	color:white;
	padding:3px;
	background-color:#0dbbe7;
	border-bottom:2px solid white;
	width:194px;
	text-transform:uppercase;
}

ul.otsikkolinkit ul li a.viimeinen {
	border:0;
}

ul.otsikkolinkit ul li a:hover {}

ul.otsikkolinkit ul li a span.kuvaus {
	text-transform:none;
	font-size:1em;
}

ul.otsikkolinkit ul li a:hover span.kuvaus {
	color:#ff4f4f;
}

ul.otsikkolinkit ul li a p {
	margin:0;
	padding:3px;
}

ul.otsikkolinkit li:hover ul a:hover {
}

div.linkitoikea {
	position:relative;
	z-index:106;
	float:right;
	width:200px;
	top:-180px;
	margin-right:20px;
	display:inline;
}

div.linkitoikea ul.otsikkolinkit {
	text-align:right;
	width:100%;
	padding:0;
	margin:0;
}

div.linkitoikea ul.otsikkolinkit li {
	display:block;
	height:auto;
	width:100%;
}

div.linkitoikea ul.otsikkolinkit li a {
	margin:0;
	margin-bottom:5px;
	padding:0;
	float:right;
	text-align:right;
}

div.linkitoikea span.kuvaus {
	/*text-transform:none;
	font-size:0.7em;*/	
	display:none;
}

div#otsikkokuva {
	position:absolute;
	z-index:50;
	text-align:center;
	height:200px;
	width:100%;
	top:0;
	left:0;
	*left:-40;
}

div#otsikkokuva img {
	height:200px;
}

div#main {
	margin:60px auto 0 auto;
}

div.container {
	width:756px;
	text-align:center;
}

div.kesalinkki {
	width:200px;
	text-align:center;
	float:left;
}

div.kesalinkki a {
	font-style:normal;
	text-decoration:underline;
}

img.kesalinkki {
	 width:200px;
	 height:141px;
	 border:1px solid #d0a717;
}

div#osastolaatikotulko {
	position:relative;
	width:753px;
	margin-left:auto;
	margin-right:auto;	
}

div#osastolaatikotsisa {
	top:0;
	left:0;
	position:absolute;
}

div.osastolaatikko {
	position:relative;
	display:block;
	cursor:hand;
	float:left;
	margin:2.5px;
}

div.osastolaatikko div {
	display:block;
	position:inherit;
	cursor:hand;
}

div.osastolaatikko a {
	height:100%;
	width:100%;
	text-decoration:none;
	color:inherit;
}

div.osastolaatikkosisalto {
	width:226px;
	height:304px;
	color:black;
	text-align:center;
}

div.osastolaatikko img {
	border:none;
}

div.osastolaatikko h1 {
	color:#d0a717;
	font-size:1.8em;
	margin:10px auto;
	font-weight:bold;
}

div.osastolaatikko div.kuva {
	background-position:top center;
	background-repeat:no-repeat;
	width:100%;
	height:90px;
}

div.osastolaatikko div.wushu {
	background-image:url('img/wushulinkki.jpg');
}

div.osastolaatikko div.wingtsun {
	background-image:url('img/wingtsun.jpg');
}

div.osastolaatikko div.tiikerikoulu {
	background-image:url('img/tiikerilinkki.jpg');
}

div.osastolaatikko p {
	text-align:justify;
	width:90%;
	margin-left:auto;
	margin-right:auto;
	font-size:0.75em;
	font-weight:bold;
	color:black;
}

/*			e5faff LAATIKKO			*/
.ty {background-color: #e5faff;}
.by {background-color: #e5faff;}
.ly {background-color: #e5faff;}
.ry {background-color: #e5faff;}
.bly {background: url(img/kulma4e5faff.png) 0 100% no-repeat}
.bry {background: url(img/kulma3e5faff.png) 100% 100% no-repeat}
.tly {background: url(img/kulma1e5faff.png) 0 0 no-repeat}
.try {background: url(img/kulma2e5faff.png) 100% 0 no-repeat; padding:10px} 

div.artikkeli {
	width:47%;
	margin:1%;
	float:left;
	text-align:justify;
}

div.artikkeli h1,h2,h3,h4,h5,h6 {
	text-align:left;
	font-size:1.3em;
}

div.kolmesaraketta {
	text-align:justify;
	width:31%;
	float:left;
}

div.kolmesarakettakeski {
	text-align:justify;
	width:31%;
	float:left;
	margin:0 3%;
}

div.lajikuvaus {
	text-align:justify;
	margin:0 5px;
}

/*div.tietopaketti {
	width:45%;
	float:right;
	margin:0px auto 5% auto;
	padding:0 15px;
}*/

div.tietopaketti {
	clear:both;
	background: #e5faff;
	width:25%;
	float:right;
	font-size:0.8em;
	margin:0px 5px 10px 10px;
	padding:0 10px 10px 5px;
	display:block;
	text-align:justify;
}

div.tiedoitus {
	width:100%;
	position:relative;
	text-align:center;
	font-weight:bold;
}

div.tiedoitus p.tiedoitus {
	margin:0px 30px 20px 30px;
}

div.galleria {
  width: 90%;
  margin: auto;
  padding: .5em;
  border: thin solid #030;
  overflow: hidden;
  text-align: justify;
  border: none;
}

form.galleriakuva {
	float:left;
	border:1px solid black;
	width:110px;
	height:110px;
	padding:5px;
}

form.galleriakuva input.kuvah {
	width: 76px;
	height: 100px;
	margin: 5px 17px 5px 17px;
}

form.galleriakuva input.kuvaw {
	width: 100px;
	height: 76px;
	margin: 17px 5px 17px 5px;
}

div#kuvagalleriahighlight {
	clear:both;
	width:100%;
	height:100%;
}

div#kuvagalleriahighlight img {
	max-height:800px;
	margin:5px;
}

*html div#kuvagalleriahighlight img {
	/*IE*/
	height:800px;
}

ul.galleriamenu {
	font:0.8em arial, helvetica, sans-serif;
	font-weight:bold;
	list-style:none;
	margin:0;
	padding:0;
	display:block;
	color:white;
}

ul.galleriamenu a {
	text-decoration:none;
	color:white;
	padding:3px;
	width:100%;
}

ul.galleriamenu a:hover {
	color:#ff0a0a;
	cursor:hand;
		background-color:blue;
}

ul.galleriamenu p {
	font:0.95em arial, helvetica, sans-serif;
	font-weight:bold;
	margin:0;
	color:black;
}

ul.galleriamenu img {
	height:15px;
	vertical-align:middle;
	margin-bottom:3px;
	*margin-bottom:0px;
}

ul.galleriamenu li {
	float:left;
	background-color:#0dbbe7;
	margin;0;	
	border-right:2px solid black;
	border-bottom:2px solid black;
	height:20px;
}
	
ul.galleriamenu li ul {
	position:absolute;
	z-index:149;
	list-style:none;
	background-color:#0dbbe7;
	border:3px outset white;
	border-bottom:4px outset white;
	display:none;
	padding:0;
	margin:0;
}

ul.galleriamenu li:hover ul {
	display:block;
}

ul.galleriamenu li:hover ul li {
	clear:both;
	position:relative;
	z-index:150;
	height:auto;
	width:200px;
	display:block;
}

ul.galleriamenu ul li a {
	font-size:0.8em;
	color:white;
	padding:3px;
	background-color:#0dbbe7;
	width:194px;
	text-transform:uppercase;
}

ul.galleriamenu ul li a span.kuvaus {
	text-transform:none;
	font-size:1em;
}

ul.galleriamenu ul li a:hover span.kuvaus {
	color:#ff4f4f;
}

ul.galleriamenu ul li a.viimeinen {
	border:0;
}

ul.galleriamenu ul li a:hover {background-color:blue;}

ul.galleriamenu ul li a span.kuvaus {
	text-transform:none;
	font-size:1em;
}

ul.galleriamenu ul li a:hover span.kuvaus {
	color:#ff4f4f;
}

ul.galleriamenu ul li a p {
	margin:0;
	padding:3px;
}

ul.galleriamenu li:hover ul a:hover {
}

	ul.galleriamenu li.nappi form {
		margin:0;
		padding:0;
	}
	
	ul.galleriamenu li.nappi input {
		margin:5px;
		height:9px;
		width:20px;
	}
	
	ul.galleriamenu li.nappi img {
		margin:5px;
		height:9px;
		width:20px;
	}

div#alapalkki {
	clear:both;
	margin-bottom:500px;
}
@media print {div#alapalkki { display:none;}}
