/* Start of CMSMS style sheet 'hattumaakari' */
/* CSS Document */

body{
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
	line-height: 1.4;
	background: url("images/hattumaakari/toy-background.png") #fde180;
}

#pageWrapper{
	width: 1000px; 
	overflow: visible;
	min-height: 450px;
	margin: 10px auto 30px auto;
}

/* HEADER */
#header{
	width: 1000px; 
	height: 150px;
	overflow: hidden;
	position: relative;
}

#logo{
	width: 503px;
	height: 74px;
	margin: 0 auto;
}

#taikurinHattu{
	position: absolute;
	right: 0;
	top: -150px;
}

#headerRightLeppikset{
	position: absolute;
	left: 0;
	top: -150px;
}

#headerRightFlower{
	position: absolute;
	right: -90px;
	top: -35px;
}
/* /HEADER */



/* NAVI */
#navi{
	width: 1000px;
	height: 34px;
	bottom: 0;
	position: absolute;
	margin: 0 auto;
}


#navi ul{
	margin: 0 20px;
	width: 960px;
	text-align: center;
}


#navi ul li{
	float: left;
	width: 167px;
	height: 29px;
	list-style-type: none;
	font-size: 15px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	padding-top: 5px;
	background: url(images/hattumaakari/navibutton-bg.gif) no-repeat top left;
}

#navi ul li.currentpage,
#navi ul li.menuactive{
background: url(images/hattumaakari/navibutton-bg-active.gif) no-repeat top left;
}

#navi ul li.currentpage h3,
#navi ul li.menuactive h3{
	font-size: 15px;
	text-align: center;
	color: #fff;
	font-weight: bold;
margin: 0;
color: #ffffff;
}

#navi ul li a{
	color: #fff;
	font-size: 15px;
	text-decoration: none;
}

#navi ul li a:hover{
	text-decoration: none;
}
/* /NAVI */


/* SUBNAVI */
#subnaviWrapper{
	float: left;
	width: 220px;
	padding: 0px;
min-height: 10px;
}

#subnaviTop{
	width: 220px;
	height: 50px;
	background: url(images/hattumaakari/subnavi-top.gif) no-repeat top left;
}

#subnaviBodyWrapper{
	background: url(images/hattumaakari/subnavi-body-bg.gif) repeat-y;
	width: 170px;
	padding: 0px 20px 3px 30px;
	overflow: visible;
	position: relative;
}

#subnaviBody{
	background-color: #feeaa6;
	width: 170px;
	overflow: hidden;
	padding: 0px 0px 10px 0px;
	text-align: left;
margin: 0;
}


/* simple submenu*/

div#subnaviBody h2{
margin: 0;
	padding: 0 0 0 10px;
	font-size: 18px;
font-weight: normal;
text-align: left;
}
div#subnaviBody h2 a,
div#subnaviBody h2 a:hover{
	color: #c6242a;
	margin: 0;
        background: transparent;
}

/* ykköstaso + defaultit */
div#subnaviBody ul{
	margin: 0px 0px 0px 0px;
	padding: 0px;
	text-align: left;
list-style-type: none;
}

div#subnaviBody ul li{
	padding: 3px 0px;
        display: block;
	list-style-type: none;
margin: 0px;
}

div#subnaviBody ul li a{
background-color: #fde17f;
width: 150px;
color: #2a1b0d;
text-decoration: none;
}
div#subnaviBody ul li a:hover{
background-color: #f9d761;
}

/*  kakkostaso */
div#subnaviBody ul li ul{
margin: 0px 0px 0px 10px;
padding: 0;
}

div#subnaviBody ul li ul li{
margin: 1px 0 0 0;
padding: 0;
}

div#subnaviBody ul li ul li a{
background-color: transparent;
}

div#subnaviBody li.currentpage{
color: #fff;
}

div#subnaviBody a{
display: block;
padding: 3px 10px;
color: #000;
margin-bottom: 0px;}

div#subnaviBody a.current{
background-color: #f9d761;
font-weight: bold;}

div#subnaviBody a.current:hover{
background-color: #f9d761;
font-weight: bold;
}

div#subnaviBody a:hover{
background-color: #f9d761;
color: #000;
text-decoration: none;}

/*simple submenu*/


#subnaviBottom{
	width: 220px;
	height: 23px;
	background: url(images/hattumaakari/subnavi-bottom.gif) no-repeat top left;
}
/* /SUBNAVI */




/* AJANKOHTAISTANOSTO ETUSIVULLA */
#fpAjankohtaistaWrapper{
	position: absolute;
	top: 70px;
	right: 30px;
	width: 220px;
	padding: 0px;
}

#fpAjankohtaistaTop{
	width: 220px;
	height: 10px;
	background: url(images/hattumaakari/ajankohtaista-top.png) no-repeat top left;
}

#fpAjankohtaistaBodyWrapper{
	background: url(images/hattumaakari/ajankohtaista-body-bg.png) repeat-y;
	width: 180px;
	padding: 3px 20px;
	overflow: visible;
	position: relative;
}

#fpAjankohtaistaFlower{
	position: absolute;
	top: -60px;
	left: -60px;
}

#fpAjankohtaistaBody{
	background-color: #feeaa6;
	width: 160px;
	overflow: hidden;
	padding: 80px 10px 10px 10px;
	text-align: center;
}

*html #fpAjankohtaistaTop,
*html #fpAjankohtaistaBodyWrapper,
*html #fpAjankohtaistaBottom{
background: none;}

*html #fpAjankohtaistaBody{
border: 5px solid #fff;}

#fpAjankohtaistaWrapper h2{
	text-align: center;
	color: #c6242a;
	font-weight: normal;
	font-size: 18px;
	margin: 0 0 .5em 0;
}

ul#fpAjankohtaistaList{
	margin: 0px 0px 20px 0px;
	padding: 0px;
	width: 160px;
	text-align: left;
}

ul#fpAjankohtaistaList li{
	background-color: #fde17f;
	padding: 3px 10px;
	margin-bottom: 3px;
	list-style-type: none;
}

#fpAjankohtaistaBottom{
	width: 220px;
	height: 10px;
	background: url(images/hattumaakari/ajankohtaista-bottom.png) no-repeat top left;
}
/* /AJANKOHTAISTANOSTO ETUSIVULLA */


/* AJANKOHTAISTA -SIVU */
.ajankohtaistaTitleArea{
overflow: hidden;
width: 100%;
border-bottom: 1px solid #fde17f;
position: relative;
margin-bottom: 10px;
}

h3.ajankohtaistaTitle{
float: left;
margin: 0;
}

.ajankohtaistaTitleDate{
float: left;
font-weight: bold;
margin: 0 1em 0 0;
}


/* AJANKOHTAISTANOSTO AJANKOHTAISTASIVULLA */



#newsAjankohtaistaWrapper{
	float: left;
	width: 220px;
	padding: 0px;
min-height: 10px;
}

#newsAjankohtaistaTop{
	width: 220px;
	height: 50px;
	background: url(images/hattumaakari/subnavi-top.gif) no-repeat top left;
}

#newsAjankohtaistaBodyWrapper{
	background: url(images/hattumaakari/subnavi-body-bg.gif) repeat-y;
	width: 170px;
	padding: 0px 20px 3px 30px;
	overflow: visible;
	position: relative;

}

#newsAjankohtaistaFlower{
	position: absolute;
	top: 0px;
	left: -30px;
}

#newsAjankohtaistaBody{
	background-color: #feeaa6;
	width: 170px;
	overflow: hidden;
	padding: 0px 0px 10px 0px;
	text-align: left;
margin: 0;
}


#newsAjankohtaistaWrapper h2{
	text-align: left;
	color: #c6242a;
	font-weight: normal;
	font-size: 18px;
	margin: 0 0 .5em 0;
padding-left: 10px;
}

#newsAjankohtaistaBottom{
	width: 220px;
	height: 23px;
	background: url(images/hattumaakari/subnavi-bottom.gif) no-repeat top left;
}
/* /AJANKOHTAISTANOSTO AJANKOHTAISTASIVULLA */





/*YHTEYSTIEDOT SIVUN ALAVALIKKO*/
#contactBody{
	background-color: #feeaa6;
	width: 165px;
	overflow: hidden;
	padding: 0px 0px 10px 5px;
	text-align: left;
margin: 0;
}

/* simple submenu*/

div#contactBody h1{
margin: 0;
	padding: 0 0 0 0px;
	font-size: 18px;
font-weight: normal;
text-align: left;
}
div#contactBody h1 a,
div#contactBody h1 a:hover{
	color: #c6242a;
	margin: 0;
        background: transparent;
}


/* CONTENT */
#contentArea{
	width: 1000px;
	min-height: 450px;
	float: left;
	margin: 0 auto;
	overflow: visible;
	margin-top: -5px; /*jotta tulee navin päälle*/
	position: relative;
}

#topShadow{
	background: url(images/hattumaakari/content-top.png) no-repeat bottom left;
	width: 1000px;
	height: 5px;
}

*html #contentArea{
margin-top: 0px;
}

*html #topShadow{
display: inline;
}

#contentBackground{
	width: 970px;
	overflow: visible;
	background: url(images/hattumaakari/content-bg.png) repeat-y;
	min-height: 490px;
	padding: 5px 15px;
margin: 0;
}

*html #contentBackground{
background: url(images/hattumaakari/content-bg.gif) repeat-y;
}

#contentSubpageColorArea{
	width: 950px;
	overflow: hidden;
	min-height: 490px;
	background-color: #fdfad6;
	padding: 5px 10px;
}

#leipis{
	width: 600px;
	margin-left: 20px;
	float: left;
	overflow: hidden;
}

*html #leipis{
height: 450px;
}


/*Google maps*/
div#map{
width: 500px;
height: 350px;
border: 5px solid #fff;
overflow: hidden;
margin: 1em 0;
}

/**/

#bottomShadow{
	background: url(images/hattumaakari/content-bottom.png) no-repeat top left;
	width: 1000px;
	height: 5px;
margin: 0px;
}

*html bottomShadow{
display: inline;
}

/* /CONTENT */


/* hakemuslomake */

div.hakemuslomake fieldset{
width: 500px;
overflow: hidden;
border: 1px solid #c6242a;
background-color: #feeaa6;
padding: 20px;
margin-bottom: 10px;
}

div.hakemuslomake fieldset legend{
color: #c6242a;
padding: 0px 10px;
font-size: 16px;
font-weight: bold;
}

div.hakemuslomake fieldset input{
margin: 1px 0;
width: 200px;
}

div.hakemuslomake textarea{
width: 300px;
height: 80px;
}

div.hakemuslomake fieldset label{
width: 170px;
float: left;
margin-right: 20px;
}

div.error_message{
background-color: #d00;
color: #fff;
font-weight: bold;
padding: 2px 10px;
border: 5px solid #fff;
margin-bottom: 10px;
}

div.submit{
width: 542px;
margin: 0 0 20px 0;
padding: 0 1px;
overflow: hidden;
float: left;
}

div.submit input{
background-color: #7e5a39;
color: #fff;
padding: 2px 10px;
border: 1px solid #333;
cursor: pointer;
}

.fbsubmit_next,
.fbsubmit{
float: right;
}

.fbsubmit_prev{
float: left;
}

div.vakuutus{
float: left;
overflow: hidden;
margin-bottom: 20px;
width: 540px;
}

div.vakuutus label{
font-size: 11px;
}

/* hakemuslomake */



/* FOOTER */
#contentFooter{
	width: 930px;
	min-height: 30px;
	overflow: visible;
	text-align: center;
	background-color: #fde180;
	padding: 10px 20px;
	position: relative;
}




#contentFooter h3{
	text-transform: uppercase;
	margin: 0;
}
#contentFooter p{
	margin: 0;
}

#contentFooter a{
color: #000;
text-decoration: underline;
}
#contentFooter a:hover{
text-decoration: none;
}

#footerAuringonkukka{
	position: absolute;
	left: -70px;
	top: -94px;
	z-index: 99;
}

#footerLeppisRight{
	position: absolute;
	right: 50px;
	top: 0;
}
/* /FOOTER */

h1{
	color: #e51212;
	font-size: 28px;
	font-weight: normal;
margin: .5em 0;
}
h2{
	color: #e51212;
	font-size: 16px;
	font-weight: normal;	
margin: .5em 0;
}
h3,h4,h5,h6{
	font-size: 12px;
	font-weight: bold;
margin: .5em 0;
}
p{
margin: .5em 0 1em 0;
}

img.kuva-oikeaan-reunaan{
float: right;
/*border: 5px solid #fff;*/
margin: 0px 0px 20px 20px;
}

img.kuva-vasempaan-reunaan{
float: right;
/*border: 5px solid #fff;*/
margin: 0px 20px 20px 0px;
}

a{
	color: #e51212;
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}

a.pdflink{
padding: 9px 0 9px 40px;
background: url(images/hattumaakari/icons/pdf-icon.gif) no-repeat top left;
}

img, div { behavior: url(js/iepngfix.htc); }




/* End of 'hattumaakari' */

