body
{
	background-image: url('../images/layout/bg.png');
	background-repeat: repeat-x;
	background-color: #501d28;
	padding: 0;
	margin: 0;
}


#news, #prod, #events
{
	width: 200px;
	margin-top: 20px;
	margin-left: 40px;
	margin-right: 15px;
	float:left;
	font-family: Tahoma, Geneva, Arial, sans-serif;
	font-size: 12px;
}

#prod a:link {
	line-height: 25px;
}

#prod h1 {
	line-height: auto;
}


#content h1 {
padding: 0;
margin: 0;
font-size: 20px;
font-weight: normal;
padding-bottom: 10px;
}


#content a {
color: #952b1b;
font-size: 12px;
font-family: Tahoma, Geneva, Arial, sans-serif;
padding-top: 6px;
}

#new_date {
font-size: 10px;
color: #777;
}

#content a.header {
color: #005157;
font-size: 14px;
}

#dates {
font-size: 10px;
color: #777;
}

#container
{
	margin-top:1px;
	height: auto;
	width: 801px;
	position:relative;
	z-index:1;
	margin-left: auto;
	margin-right:auto;      
}


#top
{
	background-image: url(../images/layout/top_bg.jpg);
	background-position: top center;
	background-repeat: no-repeat;
 	height: 115px;
	width: 100%;
}

#logo
{
	float:left;
	
	height: 115px;
}

#search
{
	float:left;
	margin-left:160px;
	margin-top: 10px;
        font: 11px Tahoma, Geneva, Arial, sans-serif;
}

.search {
padding: 0;
margin: 0;
}

#fontsize
{
	float:left;
	margin-left: 162px;
	width: 140px;
	padding-left: 61px;
        font: 11px Tahoma, Geneva, Arial, sans-serif;
}

.fontsize {
font-size: 14px;
float: left;
margin-top: 3px;
margin-right: 3px;
        font: 11px Tahoma, Geneva, Arial, sans-serif;

}

.fontsize button {
float: left;
}

#navi
{
	
	background-image: url(../images/layout/navi_bg.jpg) ;  
	height:48px;
	float:left;
	padding-left: 150px;
}


#splitter
{
	height:2px;
	width:100%;
	background-color: #FFFFFF;
}

#main
{
	background-image: url(../images/layout/main_bg.jpg);
	background-repeat: no-repeat;
	background-color: #f8f8f8;
	height: auto;
	min-height: 640px;
	float:left;
	width: 799px;
	border-right: 2px solid black;
	margin-top: -15px;
}




#spacer
{
	background-color: #FFFFFF;
	background-image: url(../images/layout/spacer_bg.jpg) ;  
	height:1px;
	width: 801px;
	float:left;
}

#bottom
{
  
	background-repeat: repeat-y;
	height:auto;
	width: 801px;
	float:left;
}

#footer
{
	background-image: url(../images/layout/footer_bg.png);
	height:46px;
	width: 801px;
	float:left;
}

#footercenter
{
	float:left;
	color:#FF0000;
	 margin-left: 270px;
	margin-top: 0.8em;
	height:auto;
	width: auto;

}


#spacer2
{
	background: url(../images/layout/spacer2.jpg);
	background-repeat: repeat-y repeat-x;
	height: 1px;
	width: 100%;

	margin:auto;
}

#info
{
	margin-top: 5px;
	text-align: center;
	margin-bottom: 20px;

}

#flash
{
	height: 291px;
	width: 779px;
	margin-left: 10px;
	margin-top: 8px;
}

/* KUVIEN ASETTELUT*/


a img {
border: 0;
}


#navi img, #footer img {
float: left;
}

/* ///KUVIEN ASETTELUT*/

.top
{

	background-image: url(../images/layout/bg.png); 
	background-repeat: repeat-x;
	width: 100%;
	height: 617px;

}

.center
{
	width: 100%;
	height: 1px;
	background: #501d28;
}

.bottom
{
	width:100%;
	height: 279px;
	background-image: url(../images/layout/sidebottom_bg.png);
	background-color: #501d28;
	
}

/* isojen linkkien tyylit */

.header {
font-size: 20px;
color: #005157;
text-decoration: none;
}
/* /// isojen linkkien tyylit */

/* HAUN JA TEKSTINKOON TYYLIT*/

input.text
{
float:left;
	width: 12em;
	margin-top:0.2em;
}

input.searchButton
{


margin-top: 0.05em;
margin-left:0.2em;

	background:none; 
	background-image: url(../images/layout/search.jpg); 
	background-repeat:no-repeat; 
	border:none; 
	height:27px; 
	width:25px;
}

input.searchButton:hover
{
	background-image: url(../images/layout/search_active.jpg);
}


button.fontUp:hover
{
	background-image: url(../images/layout/fontUp_active.jpg);
}

button.fontUp, button.fontDown
{
	float:left;
	margin-left:0.2em;
	background:none; 
	background-image: url(../images/layout/fontUp.jpg); 
	background-repeat:no-repeat; 
	border:none; 
	height:23px; 
	width:23px;
}



button.fontDown
{
	
	background-image: url(../images/layout/fontDown.jpg); 

}

button.fontDown:hover
{
	background-image: url(../images/layout/fontDown_active.jpg);
}

/* UUTISTEN TYYLIT*/
#new_date {
float: none;
display: block;
}

#new_title {
float: none;
display: block;
}

#news p, #events p {
padding-top: 2px;
margin-top: 0px;
}

/* UUTISTEN TYYLIT LOPPUU*/


/* HAUN JA TEKSTINKOON TYYLIT*/







a.footer
{	
	text-align:center;
	font: 12px Tahoma;
	color:#000000;
	text-decoration: none;
	margin-top:0.2em;
	float:left;
	width:auto;
	text-align:center;
	margin-right: 1em;
	margin-left: 1em;
	
}





.ads
{
	float:left;
	height:auto;
	width:100%;
	margin-left:2.6em;
	margin-top:1.2em;
}

.ads a  {
	float: left;
	margin-right: 50px;
}

.infotext {
	color: #666666;
	font-family: arial;
	margin-left: 10px;
	padding-right: 10px;
	border-right: 1px solid #666666;
	height: 12px;
	font-size: 12px;
}

.last {
	border: 0;
}

#info a {
color: #666666;
text-decoration: none;
}
