/* YLEISET ------------------------------------------------------------------------------*/

* {	
	margin: 0px; padding: 0px; border: 0px; outline: 0px;
	font-family: Arial, Helvetica, sans-serif;
	}
	
a {text-decoration: none;}

ul {list-style: none; margin-bottom: 8px;}

img {border: none;}

body {background: url(../images/bg.jpg) repeat-x top; text-align: center;}

#wrapper, #container, #header, #content, #footer {position: relative;}


/* TYPOGRAFIA ---------------------------------------------------------------------------*/

p {
	font-size: 14px;
	line-height: 18px;
	color: #696969;
	margin-bottom: 8px;
	}

h1 {
	background: url(../images/minor_logo.png) no-repeat left top; 
	text-indent: -9999px;
	margin: 13px 0px 0px 17px;
	width: 162px;
	height: 78px;
	float: left;
	}

h2 {
	font-size: 28px;
	font-weight: normal;
	color: #fff;
	}
	
h3 {
	font-size: 28px;
	font-weight: normal;
	color: #02153f;
	width: 100%;
	border-bottom: #c7d2e0 solid 1px;
	padding-bottom: 2px;
	margin-bottom: 16px;
	}

h4 {
	font-size: 18px;
	font-weight: normal;
	color: #02153f;
	margin-bottom: 2px;
	}
	
h5 {
	font-size: 12px;
	font-weight: normal;
	text-transform: uppercase;
	color: #02153f;
	width: 100%;
	border-bottom: #c7d2e0 solid 1px;
	padding-bottom: 2px;
	margin-bottom: 8px;
	}

li {
	font-size: 14px;
	line-height: 16px;
	color: #696969;
	margin-bottom: 0px;
	}
	
table {	
	font-size: 12px;
	line-height: 14px;
	color: #696969;
	float: left;
	margin-right: 10px;
	}
	
td {
	padding: 2px 0px 2px 0px;
	}

thead {
	color: #fff;
	text-transform: uppercase;
	background-color: #02153f;
	}
	
thead td {
	padding-left: 4px;
	}
	
tbody td:first-child {
	color: #02153f; 
	padding-right: 8px;
	}
	
tbody td {
	border-bottom: #c7d2e0 solid 1px;
	}

/* RAKENNE ------------------------------------------------------------------------------*/

#wrapper {
	background: url(../images/background.jpg) repeat-x center 113px; 
	}

#container {
	text-align: left;
	width: 1003px;
	margin: 0px auto;
	height: 700px;
	background: url(../images/allseason.png) no-repeat right 113px;
	}
	
#header {height: 113px; background: url(../images/bg_top.png) no-repeat left bottom;}

#content {
	height: 507px; 
	background: url(../images/bg_content.png) repeat-y left;
	padding: 0px 9px 10px 26px;
	}
	
	#text_area {
		position: absolute;
		left: 322px;
		top: 0px;
		width: 494px;
		height: 464px;
		background-color: #fff;
		padding: 26px 28px;
		z-index: 40;
		}
	
	.two_column {
		width: 100%;
		background: url(../images/bg_column.png) repeat-y left;
		clear: both;
		}
	
	#left_content {
		float: left;
		width: 190px;
		margin-right: 20px;
		}

		.date {font-size: 12px; line-height: 16px; color: #777e90; margin-bottom: 0px;}

		#left_content ul {margin-bottom: 24px;}

		#left_content li {margin-bottom: 8px;}
		
		#left_content a {font-size: 12px;}
	
	#right_content {
	float: left;
	width: 280px;
	}
		
		#right_content h4 {
			font-size: 16px;
			font-weight: bold;
			color: #696969;
			margin-bottom: 8px;
	}


#footer{
	height: 40px; 
	padding: 18px 33px 0px 10px; 
	background: url(../images/bg_bottom.png) no-repeat left top;
	font-size: 12px; 
	color: #677597; 	
}
	#footer ul {float: left;}

	#footer li {
		font-size: 12px;
		display: inline;
		background: url(../images/footer_bullet.png) no-repeat left center;
		padding-left: 7px;
		}
	#footer li:first-child {background: none;}
	#copy {float: right;}

/* PAAVALIKKO ---------------------------------------------------------------------------*/

#menu {
	float: left; 
	margin: 64px 0px 0px 70px;
}

#menu li {display: inline;}

.home, .news, .range, .allseason, .tradition, .company, .dealers {
	display: block;
	float: left;
	text-indent: -9999px;
	height: 22px;
	background: url(../images/menu.png) no-repeat;
	overflow: hidden;
}

a:link.home, a:visited.home { width: 76px; background-position: 0px 0px; }
a:hover.home, a:active.home, .active a:link.home, .active a:visited.home { width: 76px; background-position: 0px -23px; }

a:link.news, a:visited.news { width: 77px; background-position: -76px 0px; }
a:hover.news, a:active.news, .active a:link.news, .active a:visited.news { width: 77px; background-position: -76px -23px; }

a:link.range, a:visited.range { width: 87px; background-position: -153px 0px; }
a:hover.range, a:active.range, .active a:link.range, .active a:visited.range { width: 87px; background-position: -153px -23px; }

a:link.allseason, a:visited.allseason { width: 144px; background-position: -240px 0px; }
a:hover.allseason, a:active.allseason, .active a:link.allseason, .active a:visited.allseason { width: 144px; background-position: -240px -23px; }

a:link.tradition, a:visited.tradition { width: 124px; background-position: -384px 0px; }
a:hover.tradition, a:active.tradition, .active a:link.tradition, .active a:visited.tradition { width: 124px; background-position: -384px -23px; }

a:link.company, a:visited.company { width: 120px; background-position: -508px 0px; }
a:hover.company, a:active.company, .active a:link.company, .active a:visited.company { width: 120px; background-position: -508px -23px; }

a:link.dealers, a:visited.dealers { width: 92px; background-position: -628px 0px; }
a:hover.dealers, a:active.dealers, .active a:link.dealers, .active a:visited.dealers { width: 92px; background-position: -628px -23px; }


/* MODEL-VALIKKO ---------------------------------------------------------------------*/

#model_menu {
	position: absolute;
	left: 855px;
	top: 0px;
	width: 105px;
	height: 516px;
	background-color: #fff;
	border-left: #c7d2e0 solid 1px;
	}
	
#model_menu li {display: inline;}	
	
.data, .tests, .wallpaper {
	display: block;
	float: left;
	width: 25px;
	height: 516px;
	text-indent: -9999px;
	border-right: #c7d2e0 solid 1px;
	background: url(../images/model_menu.png) no-repeat;
	}/*lisää .videos valitsimiin*/
	
 .videos {display: none;} /*piilotettu video-linkki poista tämä*/
	
a:link.data, a:visited.data {background-position: 0px 0px; }
a:hover.data, a:active.data, .active a:visited.data {background-position: -100px 0px; }

a:link.tests, a:visited.tests {background-position: -25px 0px; }
a:hover.tests, a:active.tests, .active a:visited.tests {background-position: -125px 0px; }

a:link.videos, a:visited.videos {background-position: -50px 0px; }
a:hover.videos, a:active.videos, .active a:visited.videos {background-position: -150px 0px; }

a:link.wallpaper, a:visited.wallpaper {background-position: -75px 0px; }
a:hover.wallpaper, a:active.wallpaper, .active a:visited.wallpaper {background-position: -175px 0px; }

/* DEALERS-VALIKKO ---------------------------------------------------------------------*/

#dealer_menu {width: 100%; border-top: #c7d2e0 solid 1px; margin-top: 12px; }

#dealer_menu li {
	font-size: 12px;
	padding: 6px 6px;
	text-transform: uppercase;
	color: #7e7e7e;
	border-bottom: #c7d2e0 solid 1px;
	margin: 0px;
	}

#dealer_menu .active {background-color: #eee;}

/* SLIDESHOW ---------------------------------------------------------------------------*/ 

#slideshow {
	position:absolute;
	height: 516px; width: 934px; 
}

#slideshow img {position:absolute; top:0px; left:0px; border: none;}

#slideshow li {position:absolute; top:0px; left:0px; z-index:8; background-color: #fff; height:100%; width: 100%;}

#slideshow li.active {z-index:10;}

#slideshow li.last-active {z-index:9;}

/* OTSIKOT -----------------------------------------------------------------------------*/

.pagetitle {
	position: absolute;
	left: 26px;
	top: 12px;
	height: 30px;
	width: 360px;
	background-color: #02153f;
	padding: 14px 16px;
	z-index: 20;
}

.model {
	position: absolute;
	left: 26px;
	top: 12px;
	width: 230px;
	background-color: #02153f;
	padding: 14px 16px 0px 16px;
	z-index: 20;
}

/* ETUSIVUN ELEMENTIT -------------------------------------------------------------------*/

#news_field {
	position: absolute;
	left: 100px; 
	top: 364px;
	width: 800px;
	height: 136px;
	z-index: 20;
}

.news_box, .brochure {
	position: relative;
	float: right;
	height: 116px;
	margin: 4px;
	border: #fff solid 5px;
}

.news_box {
	width: 240px;
	background: url(../images/bg_box.png); 
}
	.news_box p {font-size: 12px; line-height: 16px; margin: 4px 0px 0px 6px}
	
	.news_box strong {font-size: 16px; font-weight: bold; color: #4d4d4d; display: block;}
	
.brochure {
	width: 117px;
}
	
	
	
/* RANGE-SIVUN ELEMENTIT -----------------------------------------------------------------*/



	.offshore, .wr, .professional {
		display: block;
		float: left;
		width: 311px;
		height: 516px;
		}

	.offshore {background: url(../images/offshore.jpg) no-repeat;}
	.wr {background: url(../images/wr.jpg) no-repeat;}
	.professional {background: url(../images/professional.jpg) no-repeat;}

	#range div:hover {background-position: 0px 0px;}
	#range div {background-position: -311px 0px;}
	
	.offshore div, .wr div, .professional div {
		position: relative;
		margin-top: 12px;
		width: 230px;
		background-color: #02153f;
		padding: 14px 13px;
		}
		
		.offshore h2, .wr h2, .professional h2 {font-size: 22px; margin-bottom: 0px;}
		
		.offshore p, .wr p, .professional p {color: #afb7c8; margin-bottom: 0px;}
		
		
	#range ul {
		position: relative; 
		float: left; 
		width: 256px; 
		border-top: #c7d2e0 solid 1px; 
		background: url(../images/bg_box.png);
		}
	
	#range li {
		position: relative;
		width: 230px;
		display: block;
		padding: 4px 13px;
		color: #7e7e7e; 
		border-bottom: #a5b0c0 solid 1px;
		margin: 0px;
	}
	
	.series a:link, .series a:visited {color: #fff;}
		
	
	
	
/* MALLISTON ELEMENTIT -------------------------------------------------------------------*/


#data, #tests, #videos, #wallpaper {
	display: none;
	position: absolute;
	left: 390px; 
	top: 12px;
	width: 382px;
	min-height: 200px;
	overflow: hidden;
	z-index: 20;
	border: #fff solid 5px;
	padding: 10px;
	background: url(../images/bg_box.png); 
	}
	
#tests ul {margin-top: 12px;}
	
	
#image {
	position: relative;
	left: 0px;
	top: 0px;
	}
	
#thumbs {
	position: absolute;
	top: 420px;
	left: 40px;
	z-index: 10;
}

.gallery_item {
	float: left;
	background: url(../images/bg_thumbnail.png);
	height: 70px;
	width: 70px;
	padding: 4px;
	margin: 3px;
	overflow: hidden; 
	}
	
.thumbnail {
	height: 70px;
	width: 70px;
	overflow: hidden;
}

#thumbs li {display: inline;}

.model ul {
	height: 19px;
	margin: 2px 0px 0px 0px;
	padding: 0px 0px 0px 4px; 
	border-left: #415271 solid 1px;
	overflow: hidden;
	}

.model li {
	display: inline;
	border-right: #415271 solid 1px;
	padding: 3px 3px 4px 0px;
	margin: 0px;
	}
	
#wallpaper ul {
	float: left; 
	border-left: #415271 solid 1px;
	margin: 5px 0 5px 7px;
	height: 156px;
	}
#wallpaper li {
	display: block; padding: 0 5px 5px 5px;
	}

	
.model ul a:link, .model ul a:visited {color: #7886a5;} 
.model ul a:hover, .model ul a:active, .model ul .active a:visited {color: #fff;}

#wallpaper img {
	margin: 5px 0; 
	float: left;
	}   


/* LINKIT --------------------------------------------------------------------------------*/

a:link, a:visited {color: #1f4064;}
a:hover, a:active, .active a:link, .active a:visited {color: #566ea4;}

a:link.close, a:visited.close {
	position: absolute;
	right: 0px;
	top: 0px;
	width: 71px;
	height: 22px;
	background: url(../images/close_button.png) 0px 0px;
	text-indent: -9999px;
	z-index: 30;
}
a:hover.close, a:active.close {background-position: 0px -22px;}

/* PAGINATION ---------------------------------------------------------------*/

#ditto_pages a, #ditto_pages a:link, #ditto_pages a:visited {
	padding: 0 3px; 
}

#ditto_pages {
	font-size: 12px;
	color: #888;
	
}

/* MUUT -------------------------------------------------------------------*/

#left_content li {line-height: 12px;}

#left_content li strong {font-size: 10px;}

strong {
	font-size: 11px;
	font-weight: normal;
	text-transform: uppercase;
	color: #5e6b8a;
	}
	
.pic {float: left; margin-right: 15px; margin-top: 15px;}

	.pic p {font-size: 12px; line-height: 14px; font-style: italic; margin-top: 3px; margin-bottom: 0px;}
	
	.pic strong {font-size: 10px;}

.clear {clear: both;}

.hidden {display: none;}
