body {
	font-family: Arial, Verdana, sans-serif;
	background: #222D2D url(ulkoasu/background.jpg);
	background-repeat: repeat-x;
	background-position: 0px 0px;
}

/* TEKSTIT */

/* Otsikko */

h1 {
	font-family: Georgia, "Times New Roman", Arial, Verdana, sans-serif;
	font-size: 22px;
	font-weight: bold;
	color: #FF3399;
}

h2 {
	padding-top: 10px;
	font-weight: normal;
	font-size: 18px;
}

h2.perus {
	word-spacing: 10px;
}

h2 a:link {
	text-decoration: underline;
	color: #FF3399;
}

h2 a:visited {
	text-decoration: underline;
	color: #FF3399;
}

h2.special {
	background: #FFFFFF url('ulkoasu/specialtitle.jpg');	
	background-repeat: no-repeat;
	text-align: center;
	color: #FFFFFF;
	width: 201px;
	height: 32px;
	padding-top: 5px;
	font-weight: normal;
	font-size: 16px;
}

h2.uutinen {
	font-family: Arial;
}

h2.uutinen a:link {
	text-decoration: underline;
	color: #000000;
}

h2.uutinen a:visited {
	text-decoration: underline;
	color: #000000;
}

h2.uutinen a:hover {
	color: #999999;
}

h2.uutinen {
	font-size: 16px;
}

h3 {
	padding-top: 10px;
	font-weight: bold;
	font-size: 16px;
}

h2, h3 {
	font-family: Georgia, "Times New Roman", Arial, Verdana, sans-serif;
	color: #FF3399;
}

h2 a:hover, h3 a:hover {
	color: #FF99CC;
}

/* Leipäteksti */

p {
	line-height: 120%;
	padding-top: 10px;
	clear: left;
	font-size: 16px;
}

p a:link {
	text-decoration: underline;
	color: #000000;
}

p a:visited {
	text-decoration: underline;
	color: #000000;
}

p a:hover {
	color: #999999;
}

span.alkaa {
	color: red;
	font-size: 11px;
}

span.korostus {
	font-size: 13px;
	text-transform: uppercase;
	color:#ff3399;	
	font-weight: bold;
}

/* Ulkoasu */

p.polku {
	padding-top: 10px;
	font-size: 14px;
	color: #666666;
	font-family: Georgia, "Times New Roman", Arial, Verdana, sans-serif;
}

.polku a:link {
	color: #666666;

}

.polku a:visited {
	color: #666666;

}

.polku a:hover {
	color: #999999;
}

p.paivays {
	padding-top: 10px;
	font-size: 14px;
	color: #000000;
}

/* Erikoisteksti */

p.punainen {
	color: red;
}

p.vihrea {
	color: green;
}

p.update {
	font-size: 14px;
}

p.pieni {
	font-size: 12px;
}

.kylla { /* aktiivinen */
	border: 1px solid #ADFF2F;
    background-color: green;
	color: #FFFFFF;
}

.ei {
	border: 1px solid #FF69B4;
    background-color: red;
	color: #FFFFFF;
}

.kylla a:hover {
    border: 1px solid #000000;
}

.ei a:hover {
    border: 1px solid #000000;
}

/* TAULUKOT */

td.vastaus { /* vieraskirjassa */
	color:#FF3399;
}

table.seuraava {
	border-spacing: 2px;
	border-style: none none none none;
	font-size: 16px;
	padding-left: 5%;
}

tr.tanaan {
	background-color: #FEE0EF;
}

tr.tanaan a:link, tr.tanaan a:visited, tr.tanaan a:active, tr.tanaan a:hover {
	background-color: #FEE0EF;
}

table.jaksot {
	width: 620px;	
}

td.pvm {
	width: 80px;	
}

td.oikea {
	text-align: right;
}

td.ohje {
	color: #FA4A05;
}

th {
	text-align: left;
}

th.keski {
	text-align: center;
}

table.henkilot {
	font-size: 16px;
}

table.sarjat {
	font-size: 16px;
	border-spacing: 10px;
}

td {
	padding: 0.25em;
	vertical-align: top;
}

table {
	padding-left: 10px;
	font-size: 14px;
	border-spacing: 0.5em;
}

table.muokkaa {
	font-size: 14px;
	padding: 0;	
	text-align: center;
}

table.muokkaa th {
	text-align: center;	
}

table a:link {
	color: #000000;
	text-decoration: underline;
}

table a:visited {
	color: #000000;
	text-decoration: underline;
}

table a:hover {
	color: #999999;	
}

td.vastaus a:link {
	color: #FF3399;
}

td.vastaus a:hover {
	color: #FF99CC;
}

table.sisalto {
	padding: 0;
	margin: 0;	
}

table.kalenteri {
	border-width: 1px 1px 1px 1px;
	border-spacing: 0px;
	border-style: none none none none;
	border-color: gray gray gray gray;
}

table.kalenteri th {
	padding: 3px 3px 3px 3px;
	text-align: center;	
}
table.kalenteri td {
	vertical-align: top;
	border-width: 0px 0px 1px 0px;
	border-style: dotted;
	border-color: gray gray gray gray;
	padding: 3px 13px 3px 13px;
}

.valikko {
	padding: 0;
	width: 160px;
	height: 600px;
	color: #CC3300;
	font-size: 14px;
}

table.valikko {
	padding: 0;
	width: 160px;
	height: 600px;
	color: #CC3300;
	font-size: 14px;
	/*background: #000000 url(ulkoasu/valikko.jpg);
	background-repeat: no-repeat;
	background-position: right;*/
}

table.valikko td {
	padding: 0;
	border-bottom: 0.5px dotted #CC3300;
}

table.valikko a:link, table.valikko a:visited {
	color: #CC3300;
	text-decoration: none;
	font-weight: bold;
}	

table.valikko a:hover {
	color: #FF3399;
	font-weight: bold;
}

.valikko_over {
}

.valikko_out {
}

/* Tyhjää */

.kuva img {
	float: left;
	border: none;
	padding: 0em 1em 0em 0em;
}

.alas {
	font-size: 14px;
	padding-top: 5em;
}

.alaa {
	padding-bottom: 4em;
}

.alaa2 {
	padding-bottom: 30em;
}

img {
	border: none;
}

/* Listat */

.lista ul li { 
	list-style-type: none;
}

.lista a:link {
	text-decoration: underline;
	color: #000000;
	background-color: transparent;
}

.lista a:visited {
	text-decoration: underline;
	color: #000000;
	background-color: transparent;
}

.pallo ul li { 
	padding-left: 10px;
	list-style-type: disc;
}

.seuraava ul li {
	list-style-type: none;
	font-size: 14px;
	padding: 0.20px;
	padding-left: 10px;
}

.seuraava a:link {
	text-decoration: underline;
	color: #000000;
	background-color: transparent;
}

.seuraava a:visited {
	text-decoration: underline;
	color: #000000;
	background-color: transparent;
}

.kalenteri a:link {
	text-decoration: underline;
	color: #000000;
	background-color: transparent;
}

.kalenteri a:visited {
	text-decoration: underline;
	color: #000000;
	background-color: transparent;
}

.linkit ul li {
	list-style-type: none;
	font-size: 16px;
	padding: 0.5em;
	padding-left: 1em
}

.linkit a:link {
	text-decoration: underline;
	color: #000000;
	background-color: transparent;
}

.linkit a:visited {
	text-decoration: underline;
	color: #000000;
	background-color: transparent;
}

/* Linkit */

.button {
	border: 1px solid #663300;
    background: url(ulkoasu/menubg.jpg);
	background-repeat: repeat-x;
	color: #FFFFFF;
}

.button2 {
	border: 1px solid #FFFFFF;
    background: url(ulkoasu/menubg.jpg);
	background-repeat: repeat-x;
	color: #FFFFFF;
}

.button a:hover {
    border: 1px solid #000000;
}

.lista a:hover, .seuraava a:hover, .linkit a:hover, .henkilot a:hover {
  	text-decoration: none;
	color: #999999;	
}

.lista a:active, .seuraava a:active, .linkit a:active {
	text-decoration: none;
	color: #000000;
}

img a:hover {
	color: #FFFFFF;
	background-color: #FFFFFF;	
}

.sivukartta ul li {
	list-style-type: none;	
}

.sivukartta ul li a:link, .sivukartta ul li a:visited {
	color: #000000;	
}

.sivukartta ul li a:hover {
	color: #999999;	
}

/* ADSENSE */

.cse-branding-bottom,
.cse-branding-right {
margin-left: 10%;
padding:0
}
.cse-branding-bottom:after,
.cse-branding-right:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden
}
.cse-branding-text { 
font: 10px Arial;
}
.cse-branding-form form {
margin-bottom: 0;
padding-bottom: 0;
padding-left: 10px;
}
/* Bottom-specific selectors */
.cse-branding-bottom .cse-branding-logo, 
.cse-branding-bottom .cse-branding-text {
display: block; 
float: left
}
.cse-branding-bottom .cse-branding-form {
margin-bottom: 3px;
}
.cse-branding-bottom .cse-branding-logo {
padding: 0
}
.cse-branding-bottom .cse-branding-text {
padding-top: 4px
}
.cse-branding-right .cse-branding-form {
float: left;
}
/* Right-specific selectors */
.cse-branding-right .cse-branding-logo, 
.cse-branding-right .cse-branding-text {
margin-left: 4px;
}
.cse-branding-right .cse-branding-form {
float: left;
margin-right: 4px;
}
.cse-branding-right .cse-branding-logo {
padding: 0
}
.cse-branding-right .cse-branding-text {
margin-top: -4px
}

/* ALUEET */

#wrapper {
	text-align: left;
	margin: 0 auto;
	padding: 0;
	border:0;
	width: 975px;
	background: white;
	background-position: center top;
}

#header {
	clear: both;
	background: #000000 url('ulkoasu/topimage.jpg');
	background-position: center top;
	background-repeat: no-repeat;
	height: 321px;
	text-align: center;
}

span.yla2 {
	font-size:44px;	
	color: #FFFFFF;	
	font-family: Georgia, "Times New Roman", Arial, sans-serif;
	text-transform: uppercase;
	font-weight: normal;
}

span.yla3 {
	font-family: Georgia, "Times New Roman", Arial, sans-serif;
	font-size: 20px;	
	padding-bottom: 0px;
	color: #FF3399;
	text-transform: uppercase;
	font-weight: normal;
}

#menu {
	text-align: center;
	background-repeat: repeat-x;
	height: 30px;
	background: #999999 url('ulkoasu/menubg.jpg');
}

.valikko, .valikko a:link, .valikko a:visited {
	font-family: Georgia, "Times New Roman", Arial, sans-serif;
	text-decoration: none;
	height: 30px;
	word-spacing: 10px;
	color: #CCCCCC;	
	font-size: 13px;
	text-transform: uppercase;
	font-weight: normal;
}

.valikko a:hover {
	color: #FF3399;	
}

h3 a:link {
	text-decoration: underline;
	color: #FF3399;
}

h3 a:visited {
	text-decoration: underline;
	color: #FF3399;
}

h3 a:hover {
	color: #FF99CC;
}

/*#side-a {
	float: left;
	width: 160px;
	color: red;
	background: black;
}*/

/*html>body #content {
height: auto;
}*/

/* etusivu */
#side-etu {	
	float: right;
	width: 300px;
	font-family: Arial;
	background: white;
	padding-right: 20px;
}

#contentetu { 
	float: left;
	width: 635px;
	background: white;
	border: 1px solid #FFFFFF;
}

#sisaltoetu {
	padding: 20px;
	padding-top: 0px;
	width: 605px;
}

/* ei sivupalkkia */
#contentkoko { 
	float: left;
	width: 945px;
	background: white;
	border: 1px solid #FFFFFF;
}

#sisaltokoko {
	padding: 20px;
	padding-top: 0px;
	width: 940px;
}

/* normaali sivu */
#content { 
	float: left;
	width: 745px;
	background: white;
	/*height: 500px; 
	min-height: 500px;
	*/
}

#side-b {	
	float: right;
	width: 210px;
	font-family: Arial;
	background: white;
	padding-right: 20px;
}

#sisalto {
	padding: 20px;
	padding-top: 0px;
	width: 700px;
}

#footer {
	clear: both;
	background: #999999 url('ulkoasu/footer.jpg');
	color: black;
	font-size: 12px;
	font-weight: normal;
	height: 19px;
	padding-top: 5px;
	padding-left: 15px;
	padding-right: 15px;
	text-align: left;
}

#footer a:link, #footer a:visited {
	color: #000000;
}


html,body {
     margin:0;
     padding:0;
}
