html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, font, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: baseline;}


#kaikenrajat { width: 932px; margin-right: auto; margin-left: auto; padding: 0 1px; }

#marginaalit { width: 684px; margin-right: auto; margin-left: auto; padding: 0 1px; }
#mainosmarginaalit { width: 240px; margin-right: auto; margin-left: auto; padding: 0 1px; }
#mainoscontent { width: 240px; height: auto; float: right; margin-left: 2px; margin-top: 112px; padding: 0 0px; background-color: white;  border-width:thick; border-color: #831a5f; border-style: double; }
#mainosylapalkki { width: 240px; height: 20px; float: right; margin-left: 2px; padding: 0; }

#ylapalkki { background-image: url(kuvat/yla.png); background-repeat: no-repeat; width: 680px; height: 40px; float: left; margin: 0; padding: 0; }
#ylapalkkitorstaiteatteri { background-image: url(kuvat/yla.png); background-repeat: no-repeat; width: 680px; height: auto; float: left; margin: 0; padding: 0; }
#ohutylapalkki { background-image: url(kuvat/yla.png); background-repeat: no-repeat; width: 680px; height: 30px; float: left; margin: 0; padding: 0; }


#valkoinen { background-image: url(kuvat/keski.png); background-repeat: repeat-y; width: 680px; height: auto; float: left; margin: 0; padding: 0; }



#alapalkki { font-size: 0.75em; background-image: url(kuvat/ala.png); background-repeat: no-repeat; width: 600px; height: 40px; float: left; margin: 0; padding: 1px 40px; }
#alalaita { font-size: 0.75em;background-image: url(kuvat/kivet.png); background-repeat: no-repeat; background-position: 0 bottom; text-align: center; width: 680px; height: 50px; float: left; margin: 0; padding: 0 0 30px; }
#navi { text-decoration: none; width: 600px; height: auto; float: left; margin: 0; padding: 0 40px 0px; }

#naytelmaotsikkopalkki{background-image: url(kuvat/naytelmaotsikkopalkki.jpg); background-repeat: no-repeat; background-position: bottom center; width: 680px; float: left; margin: 20px 0 0 0; padding: 0px 0 0 0; text-align: center;}
#naytelmaotsikkopalkki ul{display: inline; text-align: bottom; margin: 0px 0px 0 0 px; padding: 0px 0 0 0;}
#naytelmaotsikkopalkki li{display: inline; text-align: bottom; padding: 0px 9px 5px 9px; margin: 20px 0 0 0; list-style-type: none; background: transparent url(kuvat/tikku.png) bottom right no-repeat;}
#naytelmaotsikkopalkki li.last{background: none;} 

#naytelmaotsikkopalkki a:link, #naytelmaotsikkopalkki a:visited, #naytelmaotsikkopalkki a:visited:hover, #naytelmaotsikkopalkki a:hover, #naytelmaotsikkopalkki a:focus, #naytelmaotsikkopalkki a:active{display: inline;   font: normal 0.9em/1.3em Arial, Verdana, Helvetica, sans-serif; color: #666666; text-decoration: none; text-transform: uppercase; text-align:left;}
#naytelmaotsikkopalkki a:hover, #naytelmaotsikkopalkki a:visited:hover, #naytelmaotsikkopalkki a:focus, #naytelmaotsikkopalkki .selected a{color: #782C14;}
#naytelmaotsikkopalkki p { text-indent:0px; margin: 0 0 0 0px; padding: 125px 0px 0px 0px; }




#navipalkki{font-size: 0.75em; background-image: url(kuvat/navipalkki.jpg); background-repeat: no-repeat; background-position: center bottom; width: 620px; height: auto; float: left; margin: 0px 0px 0px 30px; padding: 15px 0px 4px 0px; text-align: center;}
#navipalkki ul{display: inline; text-align: center; margin: 0 0px 0 0 px;}
#navipalkki li{display: inline; padding: 0px 5px 0px 5px; list-style-type: none; background: transparent url(kuvat/tikku.png) bottom right no-repeat;}
#navipalkki li.last{background: none;}


#navipalkki a:link, #navipalkki a:visited, #navipalkki a:visited:hover, #navipalkki a:hover, #navipalkki a:focus, #navipalkki a:active{display: inline;   font: normal 0.9em/1.3em Arial, Verdana, Helvetica, sans-serif; color: #666666; text-decoration: none; text-transform: uppercase; text-align:left; padding: 0px 3px 0px 3px;}
#navipalkki a:hover, #navipalkki a:visited:hover, #navipalkki a:focus, #navipalkki .selected a{color: #black;}
#navipalkki a:hover, #navipalkki a:active {display: inline;   font: normal 0.9em/1.3em Arial, Verdana, Helvetica, sans-serif; color: #black; text-decoration: none; text-transform: uppercase; text-align:left; background-color:#f2f1f6; }
#navipalkki a.aktiivinen{border-width: 2px; border-style: solid; border-color: #a57193; padding: 0px 3px 0px 3px;}

#ohutnavipalkki{font-size: 0.75em; width: 620px; height: auto; margin: 0px 0px 0px 30px; padding: 0px 0px 4px 0px; text-align: left;}
#ohutnavipalkki ul{display: inline; text-align: center; margin: 0 0px 0 0 px;}
#ohutnavipalkki li{display: inline; padding: 0px 9px 0px 9px; list-style-type: none; background: transparent url(/kuvat/tikku.png) bottom right no-repeat;}
#ohutnavipalkki li.last{background: none;}

#ohutnavipalkki a:link, #ohutnavipalkki a:visited, #ohutnavipalkki a:visited:hover, #ohutnavipalkki a:hover, #ohutnavipalkki a:focus, #ohutnavipalkki a:active{display: inline;   font: normal 0.9em/1.3em Arial, Verdana, Helvetica, sans-serif; color: #666666; text-decoration: none; text-transform: uppercase; text-align:left;}
#ohutnavipalkki a:hover, #ohutnavipalkki a:visited:hover, #ohutnavipalkki a:focus, #ohutnavipalkki .selected a{color: #black;}
#ohutnavipalkki a:hover, #ohutnavipalkki a:active {display: inline;   font: normal 0.9em/1.3em Arial, Verdana, Helvetica, sans-serif; color: #black; text-decoration: none; text-transform: uppercase; text-align:left; background-color:#f2f1f6;}


#navipalkkitorstaiteatteri {font-size: 0.75em; background-image: url(kuvat/teatterivalikkopalkki.png); background-repeat: no-repeat; background-position: center bottom; width: 620px; height: auto; float: left; margin: 0px 0px 0px 30px; padding: 15px 0px 4px 0px; text-align: left;}
#navipalkkitorstaiteatteri ul{display: inline; text-align: center; margin: 0 0px 0 0 px;}
#navipalkkitorstaiteatteri li{display: inline; padding: 0px 9px 0px 9px; list-style-type: none; background: transparent url(/kuvat/teatteritikku.png) bottom right no-repeat;}
#navipalkkitorstaiteatteri li.last{background: none;}

#navipalkkitorstaiteatteri a:link, #navipalkkitorstaiteatteri a:visited, #navipalkkitorstaiteatteri a:visited:hover, #navipalkkitorstaiteatteri a:hover, #navipalkkitorstaiteatteri a:focus, #navipalkkitorstaiteatteri a:active{display: inline;   font: normal 0.9em/1.3em Arial, Verdana, Helvetica, sans-serif; color: #ffffff; text-decoration: none; text-transform: uppercase; text-align:left;}
#navipalkkitorstaiteatteri a:hover, #navipalkkitorstaiteatteri a:visited:hover, #navipalkkitorstaiteatteri a:focus, #navipalkkitorstaiteatteri .selected a{color: black;}
#navipalkkitorstaiteatteri a:hover, #navipalkkitorstaiteatteri a:active {display: inline;   font: normal 0.9em/1.3em Arial, Verdana, Helvetica, sans-serif; color: black; text-decoration: none; text-transform: uppercase; text-align:left; background-color:#a57193;}


#navipalkkiitsetuntemus {font-size: 1 em; line-height: 138%; background-image: url(kuvat/itsetuntemusvalikkopalkki.png); background-repeat: no-repeat; background-position: center bottom; width: 130px; height: auto; float: left; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; text-align: center;}
#navipalkkiitsetuntemus ul{text-align: center; margin: 0 0px 0 0 px;}
#navipalkkiitsetuntemus li{padding: 0px 0px 0px 0px; list-style-type: none; background: transparent url(/kuvat/itsetuntemustikku.jpg) center bottom no-repeat;}
#navipalkkiitsetuntemus li.last{background: none;}
#navipalkkiitsetuntemus a:link,#navipalkkiitsetuntemus a:visited
 { display:block; font: normal 0.9em/1.3em Arial, sans-serif; color:#FFFFFF; width: 130px; text-align:center; padding: 9px 0px 9px 0px; text-decoration:none; text-transform: uppercase;}
#navipalkkiitsetuntemus a:hover, #navipalkkiitsetuntemus a:active
 { background-color:#7A991A;}





#tausta { background-image: url(kuvat/taustalogo.gif); background-repeat: no-repeat; background-position: center; width: 680px; height: auto; float: left; margin: 0; padding: 0; }

#torstaiotsikkotausta { background-image: url(kuvat/torstaiteatteriylapalkki.jpg); background-repeat: no-repeat; background-position: top center; width: 680px; height: auto; float: left; margin: 0; padding: 0; }

#content { width: 680px; height: auto; float: left; margin: 0; padding: 0; }



#aanikirjaotsikkopalkki {background-image: url(http://www.tarinoidenmajatalo.fi/pyhiahetkia/pyhiahetkiaotsikkopalkki.jpg);
                            background-repeat: no-repeat; background-position: top center; background-color: #333366; padding: 0px 0px 0 0px; margin: 0px 20px 0px 20px;}
#kokopalsta { font-size: 0.8em; font-style: normal; line-height: 138%; margin: 0; padding: 0 20px 0 40px; width: 600px; float: left; }
#vasenpalsta { font-size: 0.8em; font-style: normal; line-height: 138%; width: 270px; float: left; margin: 5px 0 0; padding: 5px 20px 0 40px; border-right-style: dotted; border-right-width: 1px; }
#oikeapalsta { font-size: 0.8em; font-style: normal; line-height: 138%; margin: 5px 0 0; padding: 5px 40px 0 20px; width: 270px; float: left; }

#vasen { font-size: 0.8em; font-style: normal; line-height: 138%; margin: 0; padding: 0 20px 0 40px; width: 270px; float: left; }
#vasen23 { font-size: 0.8em; font-style: normal; line-height: 138%; margin: 0; padding: 0 20px 0 40px; width: 345px; float: left; }
#vasen14 { font-size: 0.8em; font-style: normal; line-height: 138%; margin: 0; padding: 0 10px 0 40px; width: 135px; float: left; }


#oikea { font-size: 0.8em; font-style: normal; line-height: 138%; margin: 0; padding: 0 40px 0 20px; width: 270px; float: left; }
#oikea13 { font-size: 0.8em; font-style: normal; line-height: 138%; margin: 0; padding: 0 40px 0 20px; width: 195px; float: left; }
#oikea34 { font-size: 0.8em; font-style: normal; line-height: 138%; margin: 0; padding: 0 40px 0 10px; width: 425px; float: left; }


#kuvapalsta { font-size: 1em; font-style: normal; line-height: 138%; margin: 0 25px 0 35px; padding: 20px 5px; width: 600px; border-width: 0; }
#thumbs { width: 600px; margin-right: 25px; margin-left: 35px; padding: 5px; border-top-style: dotted; border-top-width: 1px; }
img.reunus { padding: 2px 2px 2px; }
img.puolipalstaa { padding: 4px 4px 4px 4px; }

#thumbs img { overflow: scroll; padding: 5px; border-style: none; border-width: 0; }

/*<agl.folder "otsikot">*/
	#viiva { width: 600px; height: 1px; border-bottom: 3px double #821b5f; }
	h5  /* navi */ { font-size: 11px; font-weight: normal; text-decoration: none; text-align: center; word-spacing: -1px; margin: 0; padding: 5px 0; }
	h5 a:link { color: #000000; text-decoration: none; }
	h5 a:visited { color: #000009; text-decoration: none; }
	h5 a:hover  /* mouse over */ { color: silver; text-decoration: none; background-color:#01793c; }
	h5 a:active  /* mouse down */ { text-decoration: none; background-color:#01aa3c;}
	h5 a { text-decoration: none; }
	h1 { color: #005533; font-size: 1.7em; font-family: tahoma, verdana, sans-serif; font-style: normal; font-weight: 550;  line-height: normal; padding: 5px 0px 0px 0px; margin-bottom: 10px;}
	h1.pallotvasen { background-image: url(kuvat/otsikkopallot.png); background-repeat: no-repeat; background-position: bottom left; color: #005533; font-size: 1.5em; font-family: Viner Hand ITC, times, georgia; font-weight: 100; font-style: normal; line-height: normal; padding: 5px 0px 2px 0px;}
        h1.pallotkeski { background-image: url(kuvat/otsikkopallot.png); background-repeat: no-repeat; background-position: bottom center; color: #005533; font-size: 1.5em; font-family: Viner Hand ITC, times, georgia; font-weight: 100; font-style: normal; line-height: normal; padding: 5px 0px 2px 0px;}
        h1.aanikirja   { color: white; font-size: 2.9em; font-family: Tw Cen MT, Arial, sans-serif; font-weight: bold; margin:0px 30px 0px 60px; color:white; padding:20px 0px 15px 0px;}


	h2 { color: black; font-size: 1.2em; font-family: Tahoma, Verdana, sans-serif; font-weight: bold; margin: 1.5em 0 1.0em 0; border-bottom-style: none; border-bottom-width: 1px; }
	
	h2.palkki {background-image: url(kuvat/otsikkopalkki.png); background-repeat: no-repeat; background-position: top; color: #831a5f; font-size: 1.1em; font-weight: normal; margin: 0.83em 0; padding: 10px; border-bottom-style: none; border-bottom-width: 1px; }
	h2.palkkihuomio {background-image: url(kuvat/otsikkopalkkihuomio.png); background-repeat: no-repeat; background-position: top; color: white; font-size: 1.1em; font-weight: normal; margin: 0.83em 0; padding: 10px; border-bottom-style: none; border-bottom-width: 1px; }
	
        h2.viiva {background-image: url(kuvat/otsikkoviiva.png); background-repeat: no-repeat; background-position: top; color: #831a5f; font-size: 1.1em; font-weight: normal; margin: 0.83em 0; padding: 10px; border-bottom-style: none; border-bottom-width: 1px; }
	h2.puu {background-image: url(kuvat/32jaa.jpg); background-repeat: no-repeat; background-position: left center; color: black; font-size: 1.1em; font-weight: normal; margin: 0.83em 0; padding: 2px 0px 2px 35px;}
	h2.vesi {background-image: url(kuvat/32jaasininen.jpg); background-repeat: no-repeat; background-position: center left; color: black; font-size: 1.1em; font-weight: normal; margin: 0.83em 0; padding: 2px 0px 2px 35px; border-bottom-style: none; border-bottom-width: 1px; }
        h2.tuli {color: black; font-size: 1.2em; font-weight: bold; margin: 2.3em 0em 0.5em 0em; padding: 0px 0px 0px 5px; border-left:18px solid #B7DD38;}
        h2.maa {background-image: url(kuvat/32puu.jpg); background-repeat: no-repeat; background-position: 0px center; color: black; font-size: 1.1em; font-weight: normal; margin: 2.3em 0em 0.5em 0em; padding: 0px 0px 0px 35px;} 
   
	h2.maa1 {background-image: url(kuvat/32puu.jpg); background-repeat: no-repeat; background-position: center left; color: black; font-size: 1.1em; font-weight: normal; margin: 0.83em 0; padding: 2px 0px 2px 35px; border-bottom-style: none; border-bottom-width: 1px; }
  	h2.hopea {background-image: url(kuvat/32hopea.jpg); background-repeat: no-repeat; background-position: center left; color: black; font-size: 1.1em; font-weight: bold; margin: 1.5em 0em 0.5em 0em; padding: 2px 0px 2px 35px; border-bottom-style: none; border-bottom-width: 1px; }


        h4  /* kursiivi */ { color: #831a5f; font-size: 1.1em; font-weight: normal; font-style: italic; line-height: normal; margin: 1.33em 0; }
	h3 { color: #821b5f; font-size: 1.1em; font-weight: 100; margin: 1em 0; border-top: 1px dotted #821b5f; }
/*</agl.folder>*/

/*<agl.folder "pohja">*/
	p { text-indent:0px; margin: 0 0 10px; padding: 0;}
        p.pallo { background-image: url(kuvat/pallot.png); background-repeat: no-repeat; background-position: 1px 3px; text-indent: 0px; margin: 0 0 10px; padding: 0px 0px 0px 16px; }
        p.ympyra { background-image: url(kuvat/ympyra.jpg); font-size: 1.1em; background-repeat: no-repeat; background-position: left center; text-indent: 0px; margin: 0 0 10px; padding: 0px 0px 0px 28px; }
        p.pikkuympyra { background-image: url(kuvat/pikkuympyra.jpg); background-repeat: no-repeat; background-position: 1px 3px; text-indent: 0px; margin: 0 0 10px; padding: 0px 0px 0px 16px; }
       
	p.sinipallo { background-image: url(kuvat/sinipallo.gif); background-repeat: no-repeat; background-position: 1px 3px; text-indent: 0px; margin: 0 0 10px; padding: 0px 0px 0px 16px; }
     
	p.ingressi { text-indent:0px; margin: 0 0 10px; padding: 0; font-size: 1.1em; line-height: 130%; font-family: arial, verdana, sans-serif;}
	p.majatalo { background-image: url(kuvat/majatalonikoni.gif); background-repeat: no-repeat; background-position: left -1px; text-indent: 0px; margin: 0 0 10px; padding: 0px 0px 0px 25px; }
	
	body { font-size: medium; font-family: sans-serif; font-weight: 100; font-style: normal; line-height: 1; background-color: #797991; background-image: url(kuvat/back.gif); background-repeat: no-repeat; margin: 0; padding: 0; border-color: #821b5f; }
	body.testi { font-size: medium; font-family: sans-serif; font-weight: 100; font-style: normal; line-height: 1; background-color: #797991; background-image: url(kuvat/back2.gif); background-repeat: no-repeat; margin: 0; padding: 0; border-color: #821b5f; }


/*</agl.folder>*/


#alpha { background-image: url(kuvat/spacer.gif); background-repeat: no-repeat; background-position: 0 bottom; text-align: center; width: 680px; height: auto; float: left; margin: 0; padding: 0 0 60px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='kuvat/kivet.png'); }
.vihree { color: #008000; }
.violetti { color: #821b5f; font-family: georgia; }
.alleviivaus { text-decoration: underline; }

#palaute { margin: 0; padding: 0px; }
a:link { color: #821b5f; text-decoration: underline; }
a:visited { text-decoration: underline; }
a:hover  /* mouse over */ { color: #478E6B; text-decoration: underline; }

a:active  /* mouse down */ { color: #008000; text-decoration: bold; }
a { color: #821b5f; text-decoration: underline; }

a.laatikko:link, a.laatikko:visited {color: black; display: block; padding: 2px 0px 2px 4px; background-color: #EDFFBA; text-decoration: none; border-width: 1px; border-style: solid; border-color:#DDEFCA;}
a.laatikko:hover, a.laatikko:active {color: black; border-color: #7A991A;}


label
{
float: left;
text-align: left;

display: block
}


input.radio
{
color: #ffffff;
background: #000033;
}

textarea
{
color: #000000;
background: #FFFFFF;

select
{
color: #000000;
background-color: #DDDDDD;
}

option
{
color: #000000;
background-color: #FFFFFF;
}

}

fieldset
{
color: #ffffff;
border: 2px solid #781351;
background: #8888AA;

padding: 1em;
}




fieldset.kummi
{
color: #ffffff;
border: 2px solid #781351;
background-image:url(kuvat/lomakenuotio.jpg);
background-position:right top;
background-repeat: no-repeat;
padding: 1em;
background-color: #000022;
}

fieldset.virta
{
color: #ffffff;
border: 1px solid #000033;
padding: 1em;
background-color: #000033;
}


legend
{
color: #fff;
padding: 0;
margin: 0;
} 