body {
	margin: 0 0 0 6px;
	padding: 0;
 	font-family: Arial, Helvetica, sans-serif;
 	font-size: 75%;
	color: #000;
	background-color: #CCCFCC;
}

table#container {
  	margin: 0 auto;
	border-collapse: collapse;
	border: 0;
}

table#container td#cont {
  	width: 880px;
	min-width: 760px;
}

#header {
  	width: 100%;
  	height: 101px;
  	background: #009E25 url(pics/yla_vasen.jpg) no-repeat top left;
  	position: relative;
}

#header #ylaslogan {
  	position: absolute;
  	top: 32px;
  	left: 400px;
}

#header #ylaoikea {
  	position: absolute;
  	top: 0;
  	right: 0;
}


/* PÄÄLINKIT */

table#links {
  	background: transparent url(pics/l_tausta.gif) repeat-x top left;
  	width: 100%;
  	height: 23px;
  	margin: 0;
  	padding: 0;
	border: 0;
	border-collapse: collapse;
}

table#links td {
  	margin: 0;
  	padding: 0;
  	vertical-align: top;
}

table#links #l_vasen {
	width: 213px;  	
}

table#links #l_keski {
  	text-align: center;
}

table#links #l_oikea {
  	width: 34px; 
	text-align: right;
}

img.float {
	float: left;
}

#links ul {
  	padding: 0;
  	margin: 3px 0 0 0;
}

#links ul li {
	display: inline;
	color: #bbb;
}

#links li a:link, #links li a:visited {
  	text-decoration: none;
  	padding: 2px 7px;
  	color: #000;
}


#links li a.valittu:link, #links li a.valittu:visited {
  	font-weight: bold;
  	color: #666666;
}

#links li a:hover, #links li a:active, #links li a.valittu:hover, #links li a.valittu:active {
  	background-color: #1A8A0F;
  	color: #fff;
}


/* PÄÄTAULUKKO */

table#main {
  	width: 100%;
  	margin: 0;
  	padding: 0;
	border: 0;
	border-collapse: collapse;
}

table#main td {
  	vertical-align: top;
  	margin: 0;
  	padding: 0;
}

table#main #raja_vasen {
  	background-color: #000;
  	width: 1px;
}

table#main #raja_oikea {
  	width: 7px;
  	background: transparent url(pics/raja_oikea.gif) repeat-y top left;  	
}


/* VASEN */

table#main #vasen {
  	width: 173px;
  	border-right: 1px solid #000;
  	background: #E8E8E8 url(pics/tausta_vasen.gif) repeat-x top left;
}

#vasen #haku {
  	margin: 9px 0 0 0;
	padding: 0;
	width: 173px;
	height: 42px;
	border-bottom: 1px solid #000;
}

#haku input#hakulaatikko {
  	float: left;
  	width: 120px;
  	height: 18px;
  	padding: 0;
  	margin: 8px 0 0 5px;
  	border: 1px solid #aaa;
  	font-size: 13px;
}

#haku input#hae {
  	float: left;
  	width: 35px;
  	height: 20px;
  	font-size: 12px;
  	padding: 0;
  	margin: 8px 0 0 5px;
  	background-color: #DCE2DC;
  	border: 1px solid #aaa;
}

#haku input#hae:hover {
  	border: 1px solid #1A8A0F;
	background-color: #1A8A0F;
	color: #fff;
	cursor: pointer; /* virallinen tapa */
	cursor: hand; /* IE 5:n tapa */
}

#vasen #vasen_sivupalsta {
  	margin: 16px 9px 0 9px;
}

#vasen ul {
  	width: 155px;
  	margin: 0 0 20px 0;
  	padding: 0;
  	border-top: #ddd 1px solid;
}

#vasen li {
  	list-style-type: none;
  	padding: 1px 0;
  	border-bottom: #ddd 1px solid;
}

#vasen li a:link, #vasen li a:visited {
  	padding: 3px 6px;
  	width: 143px;
  	text-decoration: none;
  	color: #000;
  	display: block;
}

#vasen li a.valittu:link, #vasen li a.valittu:visited {
  	font-weight: bold;
  	color: #666666;
}

#vasen li a:hover, #vasen li a:active, #vasen li a.valittu:hover, #vasen li a.valittu:active {
  	background-color: #1A8A0F;
  	color: #fff;
}

#vasen #vasenalue {
  	text-align: center;
  	margin: 30px auto;
}

table#main #keski {
  	background: #fff url(pics/tausta_keski_v.gif) repeat-y top left;
}


/* KESKI */

#keski #content {
	margin: 20px 15px 40px 20px;
	line-height: 1.4em;
}


/* OIKEA */

table#main #oikea {
  	width: 173px;
  	border-left: 1px solid #000;
  	background: #FAFAFA url(pics/tausta_oikea2.jpg) no-repeat bottom right;  	
}

#oikea_sivupalsta {
	margin: 0 4px 180px 4px;
}

div.sivuotsikko {
  	font-size: 95%;
  	width: 165px;
  	height: 26px;
  	background: transparent url(pics/tausta_sivuotsikko.gif) no-repeat top left;  	
  	color: #fff;
  	padding-top: 6px;
  	text-align: center;
  	text-transform: uppercase;
  	margin: 15px 0 4px 0;
}

a.ajank:link, a.ajank:visited  {
  	font-size: 95%;
  	padding: 0 5px 4px 5px;
  	color: #D18902;
  	display: block;
  	text-decoration: none;
}

a.ajank:hover, a.ajank:active  {
  	text-decoration: underline;
}


/* ALAOSA */

#footer {
  	width: 100%;
  	height: 25px;
  	background: transparent url(pics/ala_vasen.gif) no-repeat top left;
  	position: relative;
}

#footer #alaoikea {
  	position: absolute;
  	top: 0;
  	right: 0;
}

#footer #liity_jaseneksi {
  	position: absolute; 
	top: -120px; 
	right: 35px;
}

#copyright {
  	margin-left: 5px;
  	height: 20px;
  	font-size: 85%;
  	color: #777;
}

#copyright a:link, #copyright a:visited {
  	color: #777;
  	text-decoration: none;
}

#copyright a:hover, #copyright a:active {
  	text-decoration: underline;
}


/* AJANKOHTAISTA JA TAPAHTUMAT */

div#ajankohtaista p, div#tapahtumat p, div#yhdistykset p {
  	margin-left: 2em;
}

div#tapahtumat h4.pvm, div#yhdistykset h4.yhdistys {
  	margin-bottom: 0.5em;
}


/* SISÄLLÖN TAGIT */

#content table {
  	margin: 0 0 1em 0;
  	padding: 10px;
	border-collapse: collapse;
	border: 0; 
	width: 100%;
}

#content table td {
  	padding: 1px 3px;
}

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

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

a:hover, a:active {
  	text-decoration: underline;
}

h1 {
  	font-size: 125%;
  	color: #006600;
  	font-weight: bold;
  	text-transform: uppercase;
  	margin: 0 0 1.5em 0;
}

h2 {
  	font-size: 115%;
  	color: #006600;
  	font-weight: bold;
  	margin: 1.5em 0 0.5em 0;
}

h3 {
  	font-size: 107%;
  	color: #006600;
  	font-weight: bold;
  	margin: 1.5em 0 0.5em 0;
}

h4 {
  	font-size: 100%;
  	color: #006600;
  	font-weight: bold;
  	margin: 1.5em 0 0 0;
}

p {
  	margin: 0 0 1em 0;
}
