/* Sivuston rakenne															*/
/* ------------------------------------------------------------------------	*/
body
{
	background-color: #99CCFF;
	/*background-color: #BD334D;*/
	margin: 0px;
	padding: 0px;
}

.site_container
{
	background-color: #FFFFFF;
}

table#site_container_table
{
	width: 900px;
	border: 2px solid #000000;
	border-top: none;
}

td#site_container_title_bar
{
	height: 160px;
	background-color: #3D2468;
	/*background-color: #84131d;*/
	padding: 0px;
	background-image: url("kuvat/viivat.jpg");
	background-repeat: no-repeat;
}

td.site_container_left_bar
{
	width: 150px;
	overflow: hidden;
	height: 10%;
	background-image: url("kuvat/v_reuna2.gif");
}

td.site_container_content_area
{
	width: 690px;
	position: relative;
	padding: 15px;
	padding-left: 25px;
	border-top: 2px solid #000000;
}

#site_container_footer
{
	height: 65px;
	background-color: #FFFFFF;
	padding-bottom: 15px;
	padding-left: 25px;
	padding-right: 25px;
}

#site_container_footer_left
{
	background-image: url("kuvat/v_reuna2.gif");
}

div#content_container
{
	width: 100%;
}

div.sivuotsikko
{
	margin-top: 117px;
	margin-left: 16px;
	font-family: arial black;
	font-size: 175%;
	color: #CC66FF;
	letter-spacing: 5px;
}

/* ------------------------------------------------------------------------	*/
/* Sivuston rakenne päättyy													*/



/* Sisältöalueen tyyli 														*/
/* ------------------------------------------------------------------------	*/

.content
{
	font-family: verdana;
}

.content h2
{
	font-family: verdana;
	font-size: 125%;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 10px;
}
.content h3
{
	font-family: verdana;
	font-size: 90%;
	font-weight: bold;
	margin-top: 15px;
	margin-bottom: 10px;
}

.content p
{
	font-size: 70%;
	margin-top: 0px;
	margin-bottom: 10px;
	line-height: 130%;
}

.content a:link, .content a:visited, .content a:active
{
	color: #1100BB;
	text-decoration: none;
}
.content a:hover
{
	color: #1100BB;
	text-decoration: underline;
}
a.link_out
{
	font-weight:bold;
}


h3.varitetty
{
	font-size: 95%;
	color: #000000;
	background-color: #CC5DFF;
	/*background-color: #FD787B;*/
	padding: 2px;
	margin-top: 0;
	margin-bottom: 15px;
}

/* ------------------------------------------------------------------------	*/
/* Sisältöalueen tyyli päättyy												*/


/* Navigointipalkin tyyli 													*/
/* ------------------------------------------------------------------------	*/

td.site_container_left_bar
{
	padding: 10px;
	padding-top: 0px;
	padding-right: 0px;
	padding-left: 15px;
}

div.nav
{
	border: 2px solid #000000;
	border-bottom: 2px solid #000000;
	background-color: #EBEEFF;
	width: 180px;
}

.navlink
{
	border-bottom: 1px solid #000000;
	font-size: 70%;
	font-weight: bold;
}

.navlink_a
{
	width: 100%;
	display: block;
	padding-top: 4px;
	padding-bottom: 4px;

}

.navlink a:link, .navlink a:visited, .navlink a:active
{
	color: #663366;
	/*color: #84131d;*/
	text-decoration: none;
	background-color: #F00CCFF;
	/*background-color: #FFEBFB;*/

/*	background-color: #F3F6F6;*/
}

.navlink a:hover
{
	color: #000000;
	text-decoration: none;
	background-color: #FFFFFF;
}

.navlink_sub
{
	background-color: #FFFFFF;
	border-left: 2px solid #000000;
	border-right: 2px solid #FFFFFF;
	font-size: 70%;
	text-align: right;
}

.navlink_a_sub
{
	width: 100%;
	display: block;
	padding-top: 4px;
	padding-bottom: 4px;
}

.navlink_sub a:link, .navlink_sub a:visited, .navlink_sub a:active
{
	color: #3322AA;
	text-decoration: none;
	background-color: #FFFFFF;
}
.navlink_sub a:hover
{
	color: #3322AA;
	text-decoration: underline;
	background-color: #FFFFFF;
}


/* ------------------------------------------------------------------------	*/
/* Navigointipalkin tyyli päättyy											*/



/* Mitä uutta? -laatikon tyylit												*/
/* ------------------------------------------------------------------------	*/

div.uudet
{
	border: 2px solid #000000;
	background-color: #FFFFFF;
	font-size: 70%;
	padding: 2px;
	margin-bottom: 10px;
}

div.uudet h4
{
	margin-top: 0px;
	margin-bottom: 3px;
	padding: 1px;
	background-color: #CC5DFF;
	text-align: center;
	font-size: 100%;
	color: #000000;
}

div.uudet h3
{
	margin-top: 3px;
	margin-bottom: 6px;
	text-align: center;
	font-size: 110%;
	letter-spacing: 1px;
}

/* ------------------------------------------------------------------------	*/
/* Mitä uutta? -laatikon tyylit	päättyy										*/




/* Kategorianvalintasivun tyylit											*/
/* ------------------------------------------------------------------------	*/

.kategoria_linkki
{
	font-size: 110%;
	padding-bottom: 5px;
	border-bottom: 1px solid #AAAAAA;
	width: 100%;
}
.kategoria_linkki a
{
/*	display: block;*/
}
.arkistolinkki
{
	font-size: 70%;
	float: right;
}


/* ------------------------------------------------------------------------	*/
/* Kategorianvalintasivun tyylit											*/




/* Artikkelien tyylit														*/
/* ------------------------------------------------------------------------	*/

.artikkeli_taulu
{
	margin-bottom: 18px;
	width: 100%;
	border-bottom: 2px dotted #CCCCCC;;
}

div.artikkeli_sisalto
{
	width: 100%;
	float: left;
}

td.artikkeli_taulu_otsikko
{
	background-color: #CC5DFF;
	color: #000000;
	
	/*background-color: #FD787E;
	color: #FFFFFF;*/
	padding: 2px;
}
.lisatty_txt
{
	color: #999999;
	font-size:70%;
}
td.artikkeli_taulu_sisaltosolu
{
	padding-top: 15px;
	padding-bottom: 20px;
}

.artikkeli_taulu_otsikko h3
{
	font-size: 95%;
	margin: 0px;
}

h3.kategoriaotsikko
{
	font-size: 95%;
	margin-top: 0px;
	margin-bottom: 5px;
}

p.artikkeli_tekstialue
{
	margin: 0px;
}

.artikkeli_otsikkolinkit
{
	padding-top: 4px;
}

.artikkeli_otsikkolinkki
{
	font-size: 70%;
	margin-bottom: 6px;
	padding-bottom: 6px;
	padding-top: 4px;
	border-bottom: 1px solid #AAAAAA;
}

.artikkelikuva_oikea
{
	float: right;
	margin-left: 10px;
	margin-bottom: 6px;
	font-size: 80%;
	line-height: 135%;
	color: #707070;
}

.artikkelikuva_vasen
{
	float: left;
	margin-right: 10px;
	margin-bottom: 6px;
	font-size: 80%;
	line-height: 135%;
	color: #707070;
}

.pikkupalkki
{
	background-color: #EEEEEE;
	margin-bottom: 20px;
	margin-top: -20px;
	font-size: 70%;
	padding-left: 10px;
}

.artikkelikuva_oikea img, .artikkelikuva_vasen img
{
	border: 0;
}

div.kategoria_alku
{
	width: 100%;
	border-bottom: 2px dotted #CCCCCC;;
	margin-bottom: 18px;
}

img.lisakuva_oikea
{
	margin: 8px;
	margin-top: 0px;
	margin-right: 0px;
}

img.lisakuva_vasen
{
	margin: 8px;
	margin-top: 0px;
	margin-left: 0px;
}


/* ------------------------------------------------------------------------	*/
/* Artikkelien tyylit päättyy												*/



/* Sarjakuvasivun tyylit													*/
/* ------------------------------------------------------------------------	*/

table.sarjakuvat_taulu
{
	width: 550px;
}

table.sarjakuvat_taulu td
{

}

div.sarjakuva
{
	margin-bottom: 30px;
	margin-top: 20px;
}

.sarjakuva img
{

}

.sarjakuva h3
{
	font-size: 90%;
	margin-top: 5px;
}

p.sarjakuva_teksti
{
	margin-top: 10px;
	margin-bottom: 20px;
/*	line-height: normal;*/
}

/* ------------------------------------------------------------------------	*/
/* Sarjakuvasivun tyylit päättyy											*/



/* Kuvagallerian tyylit 													*/
/* ------------------------------------------------------------------------	*/

table.galleria_sivu_taulu
{
	width: 100%;
}

td.galleria_sivu_kategoriavalinta
{
	padding: 0px;
	font-size: 80%;
}

td.galleria_sivu_uusimmat_kuvat
{
	padding: 5px;
	width: 440px;
	font-size: 85%;
	border: 2px solid #DDDDDD;
	background-color: #F9F9F9;
}

td.galleria_sivu_uusimmat_kuvat h3
{
	margin: 0px;
	margin-bottom: 15px;
	font-size: 100%;
}

td.galleria_sivu_uusimmat_kuvat h4
{
	margin: 0px;
	margin-top: 10px;
	font-size: 90%;
}

td.galleria_sivu_uusimmat_kuvat img
{
	margin: 5px;
	width: 100px;
}

span.lisaa_linkki
{
	font-size: 80%;
	margin-left: 5px;
}

div.galleria_kategoria_valinta
{
	margin-bottom: 12px;
	font-weight: bold;
}


table.galleria_kuvat
{
	margin-top: 10px;
}

table.galleria_kuvat td
{
	padding: 5px;
}

div.galleria_sivuvalinta
{
	font-size: 80%;
	border: 2px solid #DDDDDD;
	padding: 2px;
	font-weight: bold;
}

div.galleria_kategoriavalinta_reuna
{
	float: right;
	font-size: 80%;
	margin-top: 15px;
	border: 2px solid #DDDDDD;
	padding: 4px;
	width: 120px;
}

img.galleria_isokuva
{
	border: 0;
	width:500px;
}

div.galleria_kuvavalinta
{
	font-size: 80%;
	border: 2px solid #DDDDDD;
	padding: 2px;
	font-weight: bold;
}

div.galleria_kuvateksti
{
	font-size: 80%;
	margin-top: 15px;
	margin-bottom: 5px;
}

div.galleria_kuva_kategorian_nimi
{
	font-weight: bold;
	margin-bottom: 1px;
}

div.galleria_videotiedosto_teksti
{
	font-size: 80%;
	margin-top: 5px;
	font-weight: bold;
	color: #007700;
}


/* ------------------------------------------------------------------------	*/
/* Kuvagallerian tyylit päättyy												*/




/* Lisäsivujen tyylit 														*/
/* ------------------------------------------------------------------------	*/

div.lisasivu
{
	font-size: 70%;
	line-height: 135%;
}

div.lisasivu h1
{
	font-size: 225%;
	margin-top: 0;
}

div.lisasivu h2
{
	font-size: 180%;
}

div.lisasivu h3
{
	font-size: 105%;
}

div.lisasivu p
{
	font-size: 100%;
}


/* ------------------------------------------------------------------------	*/
/* Lisäsivujen tyylit päättyy												*/



/* Yleiset tyylit 															*/
/* ------------------------------------------------------------------------	*/

.varillinen_otsikko
{
	background-color: #CC5DFF;
	color: #000000;
	padding: 2px;
}

table.palstajako_taulu
{
	width: 100%;
}

table.palstajako_taulu td
{

}

div.katkoviiva_kehys
{
	border-bottom: 2px dotted #CCCCCC;
}

td.vasen_palsta
{
	padding-right: 15px;
}

td.oikea_palsta
{
	border-left: 2px dotted #CCCCCC;
	width: 220px;
	padding-left: 15px;
}

span.pieni_teksti
{
	font-size: 70%;
	font-weight: normal;
}

div.lomake
{
	font-size: 70%;
}

div.lomake textarea, div.lomake input
{
	font-family: verdana;
	font-size: 100%;
}

table.henkilon_tiedot
{
	border-collapse: collapse;
	width: 580px;
}

td.henkilon_kuva
{
	width: 100px;
	padding: 0;
	padding-bottom: 12px;
}

td.henkilon_teksti
{
	font-size: 70%;
	padding: 0;
	padding-left: 7px;
	width: 183px;
}

/* ------------------------------------------------------------------------	*/
/* Yleiset tyylit päättyy													*/


/* Kalenterisivun (tapahtumat) tyylit 										*/
/* ------------------------------------------------------------------------	*/

div.kalenteri_pvm
{

	font-size: 80%;
	font-weight: normal;
	margin-bottom: 2px;
}

/* ------------------------------------------------------------------------	*/
/* Kalenterisivun (tapahtumat) tyylit päättyy								*/


/* Mainosten tyylit 														*/
/* ------------------------------------------------------------------------	*/

img.mainos_iso
{
	margin-bottom: 5px;
	border: 0;
}


/* ------------------------------------------------------------------------	*/
/* Mainosten tyylit päättyy													*/

/* ------------------------------------------------------------------------ */
/* Ajax-poller tyylit (päivän kysymys)										*/
img.vote_btn{
	border:0px;
	margin-left:10px;
	margin-top:5px;
}
div.vk_ots{
	font-weight: bold;
	font-size: 12px;
	text-align: center;
	color: #000000;
	background-color: #CC5DFF;
	padding: 1px;
}
img{
	border:0px;	
}
.clear{
	clear:both;
}
.poller{				/* Kysymys laatikko */
	float:right;		
	width:176px;
	height:100%;
	min-height:210px;
	padding:2px;
	padding-top: 5px;
	padding-bottom: 5px;
	border:2px solid black;
	background-image:url(ajax-poller/images/question.gif);
	background-repeat:no-repeat;
	background-position: center center;
	background-color: #ffffff;
	margin-top:15px;
}
p.pollerTitle{			/* kysymys, vaihtoehtojen yläpuolella */
	padding-top:4px;
	padding-left:4px;
	font-weight:bold;
	background-color: #ffffff;
	margin-bottom:5px;
}
p.result_pollerTitle{	/* Otsikko, kun tulokset näytetään */
	padding-top:4px;
	padding-left:4px;
	margin-bottom: 0px;
	font-weight:bold;
	font-size:0.6em;
	background-color: #ffffff;
}
p.pollerOption{			/* radio-nappien otsikot */
	margin-left:10px;
	margin-bottom:2px;
}
p.result_pollerOption{	/* Vastausten otsikot */
	font-weight:bold;
	margin-left:10px;
	margin-bottom:0px;
	margin-top:5px;
	font-size:0.6em;
}
.result_pollGraph img{	/* Don't change this one, it is used to get the left and right image(the corner) positioned correctly */
	float:left;
	
}
.result_pollGraph div{	/* The <div> tag where the percentage result is shown */
	float:left;
	height:16px;
	background-repeat:repeat-x;
	color:#FFF;
	font-size:0.6em;
	line-height:14px;
}
.result_pollGraph{		/* Graph div - parent of both the corner images and the div displaying percentage votes */
	height:16px;
	padding-left:10px;
}
.poller_waitMessage{	/* Message when Ajax is working getting restults fromt the server */
	display:none;	
}	
p.result_totalVotes{
	clear:both;
	font-size:0.8em;
	padding-top:6px;
	margin-left:10px;
	font-style:italic;
}
/* Ajax-poller tyylit päättyy												*/
/* ------------------------------------------------------------------------ */