/* ------------------------------------------------------------

    Yritys:   JS Media
    Päivitetty:   6.5.2008

------------------------------------------------------------ */

/* -----------------------------------

YLEISET MUOTOILUT 

-------------------------------------- */

* {
padding:0;
margin:0;
}

div {
margin:0px;
padding:0px;
text-align: left;
}

p {
padding-bottom:15px;
}

.padding0 {
padding:0;
}

ul {
padding-bottom:15px;
}

li {
margin-left:15px;
}


a {
text-decoration:none;
color:#b00014;
}

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;
margin-bottom:10px;
}

.center {
text-align:center;
}

.underline {
text-decoration:underline;
}

select {

}

.error {
color:#FF0000;
}

td {
vertical-align:top;
}

a.back {
font-size:130%;
}

a.shop {
background-image:url('../images/verkkokauppa_icon.gif');
background-repeat:no-repeat;
background-position:right;
padding-right:35px;
}

select.dropdown {
font-size:13px;
}

/* -----------------------------------

RAKENTEEN MUOTOILUT

-------------------------------------- */
html {
height:100%;
}

body {
margin: 0;
padding: 0;
color: #1e1e1e;
font: 74%  "tahoma", Helvetica, sans-serif;
text-align: left; /*ie hack for centered layout*/
height:100%;
background-color: #fff;

}


#wrapper  {
float:left;
width:100%;
}

#backgroundwrapper  {
width:1015px;
background-image:url('../images/bg.gif');
background-repeat:no-repeat;
background-position:-36px 90%;
margin:auto;
text-align:center;
}


#layoutwrapper  {
width:864px;
margin:auto;
text-align:center;
margin-top:20px;
} 

#layoutborders {
border:1px solid #9e1a20;
float:left;
width:862px;
}



/* -----------------------------------

TEKSTIEN MUOTOILUT

-------------------------------------- */


h1 {
color:#000;
font-size: 1.4em;
font-weight:bolder;
text-transform:uppercase;
padding:15px 0 10px 0;
margin:0; 
}


h2 {
color:#000;
font-size: 1.3em;
font-weight:bold;
padding-bottom:4px;
padding-top:5px;
}

h3 {
color:#000;
padding-bottom:4px;
padding-top:5px;
font-size: 1.2em;
}

h4 {
color:#000;
padding-bottom:4px;
padding-top:5px;
font-size: 1.1em;
}

h5 {
color:#000;
padding-bottom:4px;
padding-top:5px;
font-size: 1.1em;
}

h6 {
color:#000;
padding-bottom:4px;
padding-top:5px;
font-size: 1.0em;
}



/* -----------------------------------

YLÄOSA

-------------------------------------- */

#header  {
width:100%;
height:76px;
background-color:#b00014;
background-image:url('../images/bg_header.jpg');
background-repeat:no-repeat;
background-position:right;
}

#header img  {
padding:13px 0 0 20px;
}

#search {
float:right;
padding:20px 100px;
margin-top:20px;
}

	#search input {
	font-size:95%;
	border:1px solid #fff;
	width:150px;
	}
	
	#search img {
	margin:-3px 0 0 -20px;
	}

/* -----------------------------------

PÄÄNAVIGAATIO

-------------------------------------- */

#naviframe {
height:22px;
margin:2px 0 0px 0;
background-color:#b00014;
padding:2px 20px 0 20px;
font-size:1.1em;
background-image:none;
float:left;
display:block;
width:822px;
}

	#naviframe {	
	float:left;
	}
	
	#naviframe ul {
	float:left;
	list-style:none;
	}
	
	#naviframe li {
	float:left;
	list-style:none;
	padding:0 13px 0 0;
	}
	
	#naviframe li a {
	color:#fff;
	}
	
	
	#languages {	
	float:right;
	}

	
	#languages li a {
	}


/* -----------------------------------

SISÄLTÖOSA ETUSIVU

-------------------------------------- */

#frontpage_content_wrapper {}

#frontpage_content_wrapper h1 {
	background-color:#b00014;
	display:block;
	color:#fff;
	height:18px;
	font-size:1.1em;
	margin:0;
	padding: 2px 0 0 20px;
	font-weight:normal;
	text-transform:none;
	clear:both; !important
	}
	
		#frontpage_content_wrapper h1 a {
		color:#FFF;
		font-size:9px;
		margin-left:30px;
		}

#frontpage_mainimage {
clear:both;
}

	#frontpage_mainimage img {
	}
	
	#frontpage_mainimage p{
	padding:0;
	margin:0;
	}


	/* Ajankohtaiset kirjat */

	#frontpage_newbooks {
	padding:20px 20px 0 20px;
	float:left;
	}
	
		#frontpage_newbooks .book {
		padding-right:20px;
		padding-bottom:10px;
		float:left;
		}
		
		#frontpage_newbooks .booknavi {
		float:right;
		padding:0 0 10px 0;
		width:100px;
		}

	/* Etusivun uutiset */
	
	
	#frontpage_news {
	width:862px;
	background-image:url('../images/bg_frontnews_borders.gif');
	background-repeat:repeat-y;
	display:block;
	float:left;
	font-size:95%;
	}
	
	#frontpage_news a {
	color:#000;
	}
	
		#frontpage_news .newsbox {
		float:left;
		padding:20px;
		width:247px;
		display:block;
		}
		
		#frontpage_news .newsbox_right {
		float:left;
		padding:20px;
		width:247px;
		display:block;
		}

/* -----------------------------------

SISÄLTÖOSA SISÄLTÖSIVUT

-------------------------------------- */
#content_nolines {
width:822px;
padding:20px;
line-height:1.4;
}

#content_buybook {
width:822px;
padding:20px;
line-height:1.4;
background-image:url('../images/verkkokaupat.gif');
background-repeat:no-repeat;
background-position: 95% 5%;
}

#content_2_lines {
width:862px;
background-image:url('../images/bg_content_2_lines.gif');
background-repeat:repeat-y;
float:left;
line-height:1.4;
}


#content_left_line {
width:862px;
background-image:url('../images/bg_content_left_line.gif');
background-repeat:repeat-y;
float:left;
line-height:1.4;
}

#content_right_line {
width:862px;
background-image:url('../images/bg_content_right_line.gif');
background-repeat:repeat-y;
float:left;
line-height:1.4;
}

.content_column_thin {
width:288px;
float:left;
}

.content_column_thick {
width:576px;
float:left;
}
	
	

/* -----------------------------------

ALAOSA

-------------------------------------- */

#footer {
	width:864px;
	height:21px;
	margin:auto;
	text-align:center;
	clear:both;
	background-color:#fff;
	color:#b00014;
	font-size:1.1em;
	padding:5px 0 0 0;
	border-top:20px #b00014 solid;
}



#footer_left {
	float:left;
	padding-top:10px;
	padding-left:10px;
}

#footer_left p {
padding:35px 0 0 0;
color:#fff;
}


#footer_right {
	float:right;
	padding-top:10px;
	padding-right:10px;
}

#footer_right p {
padding:35px 0 0 0;
color:#77705e;
}

		#footer a {
			color:#fff;
			font-weight:normal;
			}
			
		#footer a:hover {
			text-decoration:underline;
			}
			
			
#co {
	width:100%;
	height:65px;
	text-align:center;
	padding-top:4px;
	color:#666;
	background-color:#FFFFFF;	
}	
		

/* ------------------------------------------------------------

	Haku

------------------------------------------------------------ */

#search {
float:right;
padding:0px 5px 0 0;
width:230px;

}

#search div.txtfield {
	float:left;
	padding-right:3px;
	padding-top:8px;
}

#search .search_button {
float:left;
padding-left:0px;
}

	#search input {
	border:1px solid #d14555;
	font-size:105%;
	width:130px;
	color:#333;
	padding:2px;
	}	


/* ------------------------------------------------------------

	Haun pudotusvalikko

------------------------------------------------------------ */

.searchmenu{
margin: 0;
padding: 0;
float:left;
}


/*  NAVIGAATIO */
.searchmenu ul{
margin: 0;
padding: 0;
list-style-type: none;
float:left;
}

/*Top level list items*/
.searchmenu ul li{
position: relative;
float: left;
margin-left:0px;
z-index:2;
}

/*Top level menu link items style*/
.searchmenu ul li a{
display:block;
width: 80%; /*Width of top level menu link items*/
text-decoration: none;
}


	
/*1st sub level menu*/
.searchmenu ul li ul{
left: 0;
position: absolute;
top: 1em; /* no need to change, as true value set by script */
display: block;
visibility: hidden;
margin:4px 0 0 -120px;
float:left;
border-top:1px solid #333;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.searchmenu ul li ul li{
display: list-item;
float: none;
font-size:95%;
float:left;
}

/*All subsequent sub menu levels offset after 1st level sub menu */
.suckertreemenu ul li ul li ul{ 
left: 159px; /* no need to change, as true value set by script */
top: 0;
}

/* Sub level menu links style */
.searchmenu ul li ul li a{
display: block;
width: 135px; /*width of sub menu levels*/
text-decoration: none;
padding: 3px 3px 3px 8px;
background-color:#fff;
color:#333;
border-bottom:1px solid #333;
border-left:1px solid #333;
border-right:1px solid #333;
}

.searchmenu ul li a:hover{
}

.searchmenu ul li a.dropd:hover{
background-color:#ccc;
}


/*Background image for top level menu list links */
.searchmenu .mainfoldericon{

}

/*Background image for subsequent level menu list links */
.searchmenu .subfoldericon{
background: #950808 url(../images/arrow.gif) no-repeat center right;
}

* html p#iepara{ /*For a paragraph (if any) that immediately follows suckertree menu, add 1em top spacing between the two in IE*/
padding-top: 1em;
}
	
/* Holly Hack for IE \*/
* html .searchmenu ul li { float: left;  height: 1%; }
* html .searchmenu ul li a { height: 1%; }
/* End */


/* ------------------------------------------------------------

	Kirjahaku

------------------------------------------------------------ */

.kirjahaku {
padding: 16px 0 10px 16px;
float:left;
width:270px;
font-size:95%;
}

	.kirjahaku p {
	padding: 8px 0 10px 0;
	color:#b00112;
	font-weight:bold;
	}

	.kirjahaku td {
	color:#b00112;
	font-weight:bold;
	padding-bottom:10px;
	}
	
	.kirjahaku form input {
	background-color:#d9d9d9;
	border-left: 3px solid #efefef;
	border-bottom: 3px solid #dfdfdf;
	border-top: 3px solid #d9d9d9;
	border-right: 3px solid #d9d9d9;
	font-size:95%;
	}
	
	.kirjahaku form select, form input.submit {
	background-color:#d9d9d9;
	border-left: 3px solid #efefef;
	border-bottom: 3px solid #dfdfdf;
	border-top: 3px solid #d9d9d9;
	border-right: 3px solid #d9d9d9;
	color:#b00112;
	font-weight:bold;
	cursor:pointer;
	}

.hakutulos {
float:left;
padding: 14px 0px 10px 0px;
width:574px;
}
	
	

.hakusetti {
width:287px;
float:left;
font-size:95%;
}
	.hakusetti ul {
	list-style:none;
	padding:0px 5px 25px 0px;
	font-weight:bold;
	}
	.hakusetti ul li {
	color:#000;	
	padding-bottom:3px;
	list-style:none;
	}
	.hakusetti img {
	padding-left:10px;
	}
	
	.hakusetti a {
	text-decoration:underline;
	}
	
	.haku_otsikko {
	color:#b00112;
	}
	


/* ------------------------------------------------------------

	Kirjahakutulos

------------------------------------------------------------ */

div.bookitem {
width:533px;
float:left;
padding:10px 20px 10px 20px;
font-size:95%;
}

	div.bookitem img {
	padding:20px 0px 10px 0px;
	}

div.specialbooks {
width:288px;
float:left;
font-size:95%;
}
	div.specialbook {
	clear:both;
	margin-bottom:10px;
	margin-left:10px;
	}
	
	
	.specialbook ul {
	list-style:none;
	padding:10px 10px 25px 0px;
	}
	.specialbook ul li {
	color:#000;
	font-weight:bold;
	padding-bottom:3px;
	}
	.specialbook img {
	padding-right:0px;
	padding-top:10px;
	}
	
.bookinfo_main {
border-top:1px solid #af2b29;
border-bottom:3px solid #af2b29;
padding:10px 0 10px 0;
margin:20px 20px 30px 0;
}
	
	.bookinfo_main h1  {
	color:#af2b29;
	padding:0;
	margin-bottom:0px;
	font-size:120%;
	font-weight:bolder;
	}
	
	.bookinfo_main h2  {
	padding:0;
	color:#af2b29;
	font-size:110%;
	}
	
	.bookinfo_main h6  {
	padding:0;
	}

.bookinfo_basic {}

	.bookinfo_basic span.heading {
	color:#af2b29;
	margin-right:4px;
	text-transform:uppercase;
	}
	
#book_description {
padding:20px 0 0 0;
}

p.searchresult {
font-size:140%;
margin:0 10px 20px 10px;
}
	

