/* ------------------------------------------------------------

    Yritys:   Koodiavain
	www.koodiavain.fi
    Päivitetty:   26.8.2008

------------------------------------------------------------ */

/* -----------------------------------

YLEISET MUOTOILUT 

-------------------------------------- */

* {
padding:0;
margin:0;
}

div {
margin:0px;
padding:0px;
text-align: left;
}

p {
padding-bottom:15px;
}

ul {
padding-bottom:15px;
}

li {
margin-left:15px;
}

a {
text-decoration:none;
color:#709824;
}

a:hover {
text-decoration:underline;
}

.strong {
font-weight:bolder;
}
.left {
float:left;
}

.right {
float:right;
}

.image_border{
margin:1px;
border:1px solid #999;
}

.clear {
clear:both;
}

.center {
text-align:center;
}

.underline {
text-decoration:underline;
}

select {
font-size:80%;
}

.error {
color:#FF0000;
}

img {border:0;}

p.highlighted {
background-color:#dae2f8;
padding-bottom:0;
margin-bottom:15px;
}

/* -----------------------------------

RAKENTEEN MUOTOILUT

-------------------------------------- */
html {
height:100%;
}

body {
margin: 0;
padding: 0;
background-color: #f9f9fa; 
color: #3e5667;
font: 80%  "tahoma" verdana, sans-serif;
text-align: left; 
background-image:url(../images/bg.jpg);
background-repeat:repeat-x;
background-position:top center;
text-align:center;
}

#wrapper {
width:890px;
margin:auto;
background-color:#fff;
padding:0 5px 0 5px;
}


/* -----------------------------------

TEKSTIEN MUOTOILUT

-------------------------------------- */

h1 {
font-weight:normal;
font-size:1.8em;
color:#333;
margin-bottom:15px;
}


h2 {
color:#333;
font-weight:normal;
margin-bottom:10px;
font-size:1.6em;
font-weight:normal;
}

h3 {
color:#333;
font-weight:normal;
margin-bottom:15px;
padding:5px 0 2px 0;
font-size: 1.2em;
}

h4 {
color:#333;
margin-bottom:10px;
padding-bottom:4px;
padding-top:5px;
font-size: 1.1em;
}

h5 {
color:#333;
margin-bottom:10px;
padding-bottom:4px;
padding-top:5px;
font-size: 1.1em;
}

h6 {
color:#333;
margin-bottom:10px;
padding-bottom:4px;
padding-top:5px;
font-size: 1.0em;
}


/* -----------------------------------

HEADER

-------------------------------------- */

#header  {
height:80px;
float:left;
background-image:url(../images/bg_header.jpg);
background-repeat:no-repeat;
width:890px; position:relative;
}

#header a {color:#3a4a78;}

	#logo {
	float:left;
	}
	
	#announcement {
	float:left;
	padding:27px 0 0 10px;
	}
	
		#announcement a {
		font-size:13px;
		text-decoration:underline;
		color:#333;
		font-weight:bolder;
		}
	
	#topright {
	padding:0 10px 20px 20px;
	float:right;
	position:absolute;
	top:55px;
	right:0;
	}
	
		#languages {
		color:#717d86;
		}
		
		#languages a {
		color:#717d86;
		}
	

#topbar  {
height:22px;
float:left;
background-image:url(../images/topbar.gif);
background-repeat:no-repeat;
background-position:top center;
width:890px;
margin:5px 0 5px 0;
}	

/* -----------------------------------

Layout

-------------------------------------- */

#contentwrapper {
float:left;
background-image:url(../images/bg_content.gif);
background-repeat:repeat-y;
background-position:top center;
width:890px;
}

#contentwrapper p {
line-height:1.5;
}

#contact_main {
float:left;
margin:5px 0 5px 5px;
width:374px;
}

#product_main {
float:left;
margin:5px 0 5px 5px;
width:670px;
}

	#product_main img {
	margin-bottom:5px;
	}

	#product_main p {
	padding-bottom:0;
	}
	#product_main .crey_heading {
	background-color:#a7b0b6;
	padding:0 0 0 10px;
	margin-top:5px;
	
	}
	
	#product_main .crey_heading h3 {
	color:#fff;
	margin-bottom:5px;
	}
	
	#product_main .lime_background {
	background-color:#e6f2d0;
	padding:5px 0 0 10px;
	font-size:11px;
	line-height:1.1;
	height:84px;
	}
	
	#product_main ul {
	padding-bottom:5px;
	}
	
	

#frontpage_main {
float:left;
margin:5px;
width:514px;
}

.frontpage_main_top h1 {
background-color:#69a919;
font-size:25px;
color:#FFF;
height:93px;
padding:20px 10px 10px 20px;
}

.product_main_top h1 {
background-image:url(../images/bg_heading_tuotteet.gif);
background-repeat:repeat-y;
font-size:25px;
color:#FFF;
height:93px;
padding:20px 10px 10px 20px;
margin-bottom:5px;
}

.mantytukki_main_top h1 {
background-image:url(../images/bg_heading_mantytukki.gif);
background-repeat:repeat-y;
font-size:25px;
color:#FFF;
height:94px;
padding:20px 10px 10px 20px;
}

.ikkunateollisuus_main_top h1 {
background-image:url(../images/bg_heading_ikkunateollisuus.gif);
background-repeat:repeat-y;
font-size:25px;
color:#FFF;
height:94px;
padding:20px 10px 10px 20px;
}

.kayttaja_main_top h1 {
background-image:url(../images/bg_heading_kayttaja.gif);
background-repeat:repeat-y;
font-size:25px;
color:#FFF;
height:94px;
padding:20px 10px 10px 20px;
}

.puukauppa_main_top h1 {
background-image:url(../images/bg_heading_puukauppa.gif);
background-repeat:repeat-y;
font-size:25px;
color:#FFF;
height:95px;
padding:20px 10px 10px 20px;
}

.yritys_main_top h1 {
background-image:url(../images/bg_heading_yritys.gif);
background-repeat:repeat-y;
font-size:25px;
color:#FFF;
height:95px;
padding:20px 10px 10px 20px;
}

.yhteystiedot_main_top h1 {
background-color:#5f85c1;
font-size:25px;
color:#FFF;
height:94px;
padding:20px 10px 10px 20px;
}



.content_main_bottom  {
padding:10px 10px 10px 20px;
}

h2.orange  {
color:#bb8017;
}

h2.lightblue  {
color:#5c7fb8;
}




/* -----------------------------------

OIKEA KOLUMNI

-------------------------------------- */

#content_right {
width:151px;
float:right;
}

#content_right img.margin {
margin-top:5px;
}

#content_right_wide {
width:296px;
float:right;
}

#content_right_wide img.margin {
margin-top:5px;
}


/* -----------------------------------

ALAOSA

-------------------------------------- */

#footer {
	clear:both;
	width:890px;
	font-size:95%;
	margin:auto;
	background-color:#69a919;
	border-top:5px solid #fff;
	text-align:center;
}


#footer p {
padding:6px 0 6px 0;
color:#fff;
}
	
		


/* ------------------------------------------------------------

	Alanavi

------------------------------------------------------------ */
#subnavigation { 
	font-size: 115%;
	width:215px;
	float:left;
	border-top:5px solid #fff;
	}

#subnavigation ul {
	text-align:left;
	padding:0;
	margin:0;
	}


#subnavigation li {
	list-style:none;
	margin:0;
	}

#subnavigation li.level1_act a {
	text-decoration:none;
	display:block;
	color:#132c3e;
	padding:10px 0 10px 40px;
	background-image:url('../images/bg_mainlink_act.gif');
	background-repeat:repeat-y;
	border-bottom:#fff solid 5px;
}

#subnavigation li.level1_act a:hover {
	text-decoration:none;
}

#subnavigation li.level1_deact a {
	text-decoration:none;
	display:block;
	color:#132c3e;
	border-bottom:#fff solid 5px;
	background-image:url('../images/bg_mainlink.gif');
	background-repeat:no-repeat;
	padding:10px 0 10px 40px;
	background-repeat:repeat-y;
}

#subnavigation li.level1_deact a:hover {
	text-decoration:none;
	display:block;
	color:#132c3e;
	padding:10px 0 10px 40px;
	background-image:url('../images/bg_mainlink_act.gif');
	background-repeat:repeat-y;
	border-bottom:#fff solid 5px;
}


