
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,em,font,img,ins,kbd,q,s,samp,small,strike,strong,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-size: 100%;
	font-family: inherit;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

body {
	line-height: 1;
	color: black;
	font: normal normal 12px lucida grande, georgia, arial, sans-serif;
	background: #D8E2EE url(/pics/bg-body.jpg) repeat-x;
}

	body.kirjapaino { background: #D8E2EE url(/pics/bg-body2.jpg) repeat-x; }
	body.etusivu { background: #D8E2EE url(/pics/bg-body3.jpg) repeat-x; }

strong { font-weight: bold; }

ol,ul {
	list-style: none;
}

#padding ul  { 
	list-style-type: disc;
	margin-left: 35px; 
	margin-bottom: 10px; 
}

#padding ul li ul { 
	list-style-type: circle;
}

#padding ul li ul li ul { 
	list-style-type: square;	
}

#padding ol  { 
	list-style-type: decimal;
	margin-left: 35px; 
	margin-bottom: 10px; 

}

blockquote { margin-left: 35px; }

span.strong {
	background-color:yellow;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,th,td {
	text-align: left;
	font-weight: normal;
}

blockquote:before,blockquote:after,q:before,q:after {
	content: "";
}

blockquote,q {
	quotes: "" "";
}

/* yleiset */
#container {
	background: transparent url(/pics/bg-container.jpg) no-repeat;
	position: relative;
	width: 845px;
	margin: 0 auto;	
}
	#container.kirjapaino {
		background: transparent url(/pics/bg-container2.jpg) no-repeat;
	}
	
	#container-etusivu {
		background: transparent url(/pics/bg-container3.jpg) no-repeat;
		position: relative;
		width: 845px;
		margin: 0 auto;	
	}



#header {
	width: 845px;
	height: 138px;
}

	#header #logo {
		position: absolute;
		top: 20px;
		width: 148px;
		height: 64px;
		background: transparent url(/pics/logo-karisto1.jpg) no-repeat;
	}
	
		#header #logo.kirjapaino {
			background: transparent url(/pics/logo-karisto2.jpg) no-repeat;
		}
		
	#header #search { 
		width: 332px;
		word-spacing: 2px;
		height: 47px;
		padding: 13px 20px 10px 20px;
		position: absolute;
		right: 5px;
		top: 0px;
		background: transparent url(/pics/bg-searchbox.gif) top left no-repeat;
	}
	
		#header #search.etusivu { 
			width: 436px;
			background: transparent url(/pics/bg-searchbox2.gif) top left no-repeat; 
		}
	
	#header #search a { 
		font-size: 11px; 
		font-weight: bold; 
		color: #3B5269;
	}
	
	#header #search .haku { 
		border: 0px;
		padding-left: 23px;
		padding-top: 4px;
		font-size: 11px;
		color: #717171;
		height: 17px;
		width: 117px;
		position: absolute;
		right: 20px;
		top: 12px;
		background: #FFFFFF url(/pics/bg-search.gif) 3px 0px no-repeat;
	}

	#header #navi {
		width: 840px;
		height: 31px;
		position: relative;
		top: 94px;
		background: transparent url(/pics/bg-navi.gif) top left no-repeat;
	}
		#navi ul li {
			display: block;
			float: left; 
			margin-top: 6px;
			height: 19px;
			border-right: 1px solid #D2D2D2;
		}
		
		#navi ul li a {
			padding: 5px 17px 6px 17px;
			color: #252B31;
			font-size: 12px;
			text-decoration: none;
		}
		
		#navi ul li a:hover {
			color: #252B31;
			text-decoration: underline;
		}
		
		#navi ul li a#selected {
			height: 46px;
			top: -0px;
			padding-top: 7px;
			padding-bottom: 15px;
			position: relative;
			background: transparent url(/pics/bg-navi-active.gif) top center no-repeat;
		}
		
		#navi-border-left { 
			position: absolute;
			height: 4px;
			width: 4px;
			z-index: 2;
			background: transparent url(/pics/navi-border.gif) top center no-repeat;
			top: 1px;
			left: 0px;
		}
			#navi-border-left.kirjapaino { background: transparent url(/pics/navi-border-b.gif) top center no-repeat; }
		
		#navi-border-right { 
			position: absolute;
			height: 4px;
			width: 4px;
			z-index: 2;
			background: transparent url(/pics/navi-border2.gif) top center no-repeat;
			top: 1px;
			right: 0px;
		}
			#navi-border-right.kirjapaino { background: transparent url(/pics/navi-border-b2.gif) top center no-repeat; }

#footer {
	font-size: 11px;
	font-family: arial;
	width: 800px;
	padding: 24px 20px 13px 20px;
	margin-top: 22px;
	background: #FFFFFF url(/pics/bg-frame-top.gif) top left no-repeat;
}

#footer-margin { height: 20px; }

.frame-bottom { 
	background: transparent url(/pics/bg-frame-bottom.gif) top left no-repeat;
	width: 841px;
	height: 14px;
}

/* etusivu */

#frontpage-content {
	width: 800px;
	padding: 20px 20px 10px 20px;
	margin-top: 2px;
	background: #FFFFFF url(/pics/bg-frame-top.gif) top left no-repeat;
}

	#frontpage-content #frontpage-image { 
		width: 802px;
		height: 291px;
		padding-top: 48px;
		background: #FFFFFF url(/pics/frontpage.jpg) top left no-repeat;	
	}
	
	#frontpage-content .frontpage-button { 
		width: 292px;
		height: 47px;
		float: left;
		clear: left;
		margin: 0px 10px 10px 23px;
		background: transparent url(/pics/bg-button2.png) top left no-repeat;	
		font-size: 20px;
		color: #252B31;
		padding: 22px 0px 0px 20px;
		cursor: pointer;
	}
	
		#frontpage-content .frontpage-button:hover { pointer: cursor; } 

	#frontpage-banner { 
		width: 523px;
		padding-left: 2px;
		height: 195px;
		float: left;
	}
	
	#frontpage-bulletin { 
		width: 252px;
		height: 195px;
		float: right;
		margin-right: 1px;
	}
		
		#frontpage-bulletin a {
			width: 252px;
			font-size: 12px; 
			display: block; 
			color: #2199E5;
		}
		
			#frontpage-bulletin .linebreak { 
				margin: 8px 0px 8px 0px; 
				line-height: 0px; 
				border-bottom: 1px solid #DDDDDD; 
				height: 1px;
			}
			
		
/* sisalto */

#content {
	position: relative; 
	width: 800px;
	overflow: hidden;
	padding: 20px 20px 10px 20px;
	margin-top: 30px;
	background: #FFFFFF url(/pics/bg-frame-top.gif) top left no-repeat;
}

	#content #padding { 
		padding-right: 100px;
	}
	
	#content.kustannusliike { padding-top: 0px; }


#subnav { 
	width: 250px;
	height: 190px;	
	background: transparent url(/pics/bg-subnav.gif) top left no-repeat; 
	z-index: 2;
	position: absolute;
	top: 66px;
	right: 19px;	
}
	
	#subnav #parent { 
		font-size: 24px;
		font-weight: normal;
		padding-bottom: 2px;
		display: block;
		margin: 25px 0px 15px 25px;
		color:#000;
	}

	#subnav ul li a { 
		text-decoration: none;
		color: #3B5269;
		display: block;
		margin-bottom: 8px;
		margin-left: 25px;
		
	}
	
	#subnav ul li a:hover  { 
		text-decoration: underline;
	}
	
	#subnav ul li #selected  { 
		font-weight: bold;
	}

#kuvapaikka { 
	width: 800px;
	height: 282px; 
	background: transparent url(/pics/placeholder.jpg) top left no-repeat; 
	margin-bottom: 30px;
}

#kuvapaikka-reuna {
	position: absolute;
	background: transparent url(/pics/kuvapaikka.gif) top left no-repeat; 
	width: 800px;
	height: 282px; 
}

#kirjapaino-image { 
		width: 800px;
		height: 365px;
		padding-top: 25px;
		background: #FFFFFF url(/pics/kirjapaino.jpg) top left no-repeat;	
}

	#kirjapaino-image .frontpage-button { 
		width: 292px;
		height: 47px;
		float: left;
		clear: left;
		margin: 0px 10px 10px 23px;
		background: transparent url(/pics/bg-button2.png) top left no-repeat;	
		font-size: 20px;
		color: #252B31;
		padding: 22px 0px 0px 20px;
		cursor: pointer;
	}
	
	#kirjapaino-text { 
		width: 280px; 
		margin: 5px 0px 28px 25px; 
	}
		#kirjapaino-text p, #kirjapaino-text { font-size: 12px; }

.movie {
	width: 100%;
	height: 100%;
	}
			
div.movie {
	width: 800px;
	background: #FFFFFF url(/pics/bg-karuselli.jpg) top left no-repeat;	
	height: 360px;
	text-align: center;
	border: 0px solid #333333;
	margin: 20px auto;
}

#fd fieldset { 
	float: left; 
	width: 246px; 
	display: block;
	margin: 0px 10px 10px 10px;
}

#fd input, #fd textarea { margin-bottom: 15px; margin-top: 3px; }
#fd .description { font-size: 11px;  }
#fd #submit {  
	position: absolute;
	bottom: 65px;
	right: 85px; 
}

#search-results { width:98%; }

#banners { 
	width: 800px;
	height: 66px; 
	margin-top: 45px; 
	padding: 0px 0px 0px 8px;
}

	.banner {
		float: left; 
		text-align: center;
		overflow: hidden;
		background: transparent url(/pics/bg-pikalinkki3.gif) top left no-repeat;
		margin: 0px 13px 0px 0px;
		width: 187px;
		height: 66px; 
	} 
	
	.banner a { 
		display: block;
		padding: 15px 10px 22px 10px; 
		font-size: 20px;
		color: #FFFFFF;
	}
	
/* Bannerit oikealla */

#bannersRight { 
	width: 154px; 
	position: absolute; 
	right: -156px; 
	top: 168px;  
	}

	#bannersRight.index { 
		top: 140px; 
		}

.bannerTop { 
	height: 7px;
	width: 154px; 
	background: transparent url(/pics/bg-banner-top.gif) no-repeat; 
	}

.bannerMdl { 
	background: #FFFFFF; 
	}

	.bannerMdl img { 
		margin: 0 0 0 7px; 
		display: block; 
		}

.bannerBtm { 
	height: 7px; 
	width: 154px; 
	background: transparent url(/pics/bg-banner-btm.gif) no-repeat; 
	margin: 0 0 6px 0; 
	}

/* tuotelistaukset */

#productsearch { 
	width: 350px;
	float: left;
}

#productsearch h1 { 
	padding-bottom: 10px;
}

	#productsearch .category { 
		color: #3B5269; 
		display: block; 
		margin-left: 3px;
		width: 242px; 
		padding: 7px 15px 13px 15px;
	}
	
		#productsearch .category:hover { 
			background: transparent url(/pics/bg-category-hover.gif) top left no-repeat;
			text-decoration: none;	
		}
	
	#productsearch #active-category, #productsearch #active-theme  { 
		background: transparent url(/pics/bg-category-active.gif) top left no-repeat;
		
	}
	
	#productsearch .linebreak { margin: 20px 0px 20px 0px; border-bottom: 1px solid #DDDDDD; height: 1px; }

	#productsearch  #parent { 
		font-size: 24px;
		font-weight: normal;
		padding-bottom: 2px;
		display: block;
		margin: 0px 0px 15px 0px;
		color:#000;
	} 
	
	#productsearch .category-box { 
		background: #ebf2f8 url(/pics/bg-category-top.gif) top left no-repeat;
		padding: 20px 20px 0px 20px;
		width: 283px;	
		margin: 12px 10px 0px 13px; 
	}
	
	.category-box input { border: 1px solid #99a7b5; }
	
	.category-box-bottom {
		background: transparent url(/pics/bg-category-bottom.gif) top left no-repeat;
		padding: 5px 20px 0px 20px;
		width: 283px;	
		height: 30px; 
		margin: 0px 10px 0px 13px; 
	}
	
	.category-box .linebreak {
		margin: 0px 0px 19px 0px;
		background: #b4cedb; 
		border-bottom: 1px solid #FFFFFF !important; 
		height: 1px; 
	} 
	
	#productsearch ul li { 
		color: #3B5269; 
		margin-bottom: 8px;
	}
		
		#productsearch ul li a { 
			color: #3B5269;
		}
		#productsearch ul li a#selected { font-weight: bold; }

	#hakutyyppi { margin-bottom: 10px; }
	
	.haku-input { 
		background: transparent url(/pics/inputoff.gif) 0px 3px no-repeat;
		padding-left: 20px; 
		margin-right: 10px;
	}
	
	
#productlisting { 
	width: 420px;
	float: right;
	margin-top: 9px; 
}
	
	
	#productlisting #pagination { 
		font-size: 12px;
		color: #3B5269;
		text-align: center;
		margin-bottom: 20px;
	}
		#pagination a.inactive { color: #96A9BA; }
		#pagination #prev { float: left;}
		#pagination #next { float: right; } 
	
	#pagination-numbers { width: 274px; margin: 0px 0px 15px 12px; float: left; }
		
	
	#productlisting .product { 
		height: 250px; 
		float: left;
	}
	
	#productlisting .linebreak {
		margin: 0px 0px 18px 0px;
		border-bottom: 1px solid #DDDDDD; 
		height: 1px; 
	} 
	
	#productlisting .author { 
		color: #3B5269;
	}
	
	#productlisting .title { 
		color: #252B31;
		float: left;
		margin: 5px 0px 4px 0px;
	}
	
	#productlisting .releaseyear { 
		color: #8997A5;
		font-size: 12px;
	}
	
	#productlisting .description { 
		float: left;
		font-size: 12px;
		margin: 3px 0px 4px 0px;
	}
	
	#productlisting .description { color: #4B5C69; }  
	
#productlisting .author-listing { 
	padding-bottom: 10px;
}

#book-image { 
	float: right; 	
	position: relative;
	margin-bottom: 13px;
	color: #346EAA; 
}
	
	.verkkokauppa { 
		font-weight: bold;
		position: absolute;
		right: -3px;
		bottom: -12px;
		width: 119px;
		background: transparent url(/pics/verkkokauppaan.gif) top left no-repeat;
		padding-left: 22px; 
		font-size: 12px;	
	}	
	
.paperproduct { 
	height: 150px; 
	clear: left; 
	margin-bottom: 15px; 
}

.paperproduct-image { 
	overflow: hidden;
	text-align: center; 
	height: 130px;
	width: 170px; 
	float: left;  	
}

.paperproduct-image img { 
	height: 100%;
}

.paperproduct-description { 
	float: left;
	margin-left: 10px;
	width: 240px; 
}

.paperproduct-linebreak {
		margin: 0px 0px 18px 0px;
		border-bottom: 1px solid #DDDDDD; 
		height: 1px; 
}

.paperproduct-verkkokauppa {
	font-weight: bold;
	padding-left: 22px; 
	font-size: 12px;	
	background: transparent url(/pics/verkkokauppaan.gif) top left no-repeat;
}	

/* kirjailijat */

#kirjailijat-pagination {
	text-align: center;
}

	#kirjailijat-pagination .kirjailijat-letter { font-size: 20px; }
	#authors { text-align: center; padding-left: 33px;}

	.author-box { margin: 10px 10px 10px 10px; height: 145px; padding: 20px 0px 20px 0px; width: 125px; float: left; }
	.author-box img { margin-bottom: 4px; border: 1px solid #CCCCCC; }
	.author-box a:hover { text-decoration: none; }
	.author-box .author-name:hover { text-decoration: underline; }
	.author-box b { font-size: 12px;}

	.book-listing { 
		display: block;
	}


/* ajankohtaista */
	
#bm2 small { 
	margin-right: 10px; 
	color: #496A8B; 
	font-size: 12px; 
}

#bm2 span { color: #3B5269; }

#bm2 ul li { margin-bottom: 4px; }

#bm2 #pagination { 
	margin-top: 7px; 
	float: left;
	clear: left;
}

#fb { width: 154px; margin-bottom: 10px; margin-left: 15px;}
