/* jQuery styles */

@import url(http://www.nicebooks.com/styles/jquery.lightbox-0.5.css);

/* General settings */

html, body, form, ul, li {
	padding: 0;
	margin: 0;
}

body {
	background-color: white;	
}

div, input, a {
	font-family: Arial, Helvetica, sans-serif;
}

img {
	vertical-align: middle;
}

a img {
	border: none;	
}

q {
	font-weight: bold;	
	letter-spacing: -1px;
}

.link a {
	border-bottom: 1px solid #dde;
	text-decoration: none;
}

.link a:hover {
	border-bottom: 3px solid #69b;
}

.clear {
	clear: both;	
}

/* Home page logo & catch phrase */

#logo {
	text-align: center;
	
	margin-top: 20px;
	margin-bottom: 0;
	padding: 0;
}

#catchphrase {
	text-align: center;
	font-size: 18px;

	font-family: Arial, Helvetica, sans-serif;

	font-weight: normal;
	letter-spacing: -1px;
	color: #aaa;

	margin-bottom: 50px;
	margin-top: 0;
	padding: 0;
}

/* Home page search box */

#form {
	border-width: 1px 0;
	border-color: #9ebadb;
	border-style: solid;
}

#search {
	padding: 20px;
	border-width: 1px 0;
	border-color: #fff;
	border-style: solid;
	background-color: #e8f1f6;
	background-image: url(../images/search-bg.gif);
	background-position: top;
	background-repeat: repeat-x;
	text-align: center;
}

#search input {
	font-size: 17px;
	vertical-align: middle;
	letter-spacing: -1px;
	color: #333;
}

#form input {
	padding: 5px;
}

#searchbox {
	width: 320px;
	padding: 2px;
	border: 2px solid #9ebadb;
	background-color: #fff;
}

/* Home page search bar link */

#browser-search-bar {
	text-align: center;
	font-size: 13px;
	letter-spacing: -1px;
	padding: 10px;
}

#browser-search-bar a {
	color: #369;
	font-size: 14px;
	letter-spacing: -1px;
}

/* Home page bestsellers */

#bestsellers {
	background-color: #f7f7f7;
	margin: 10px 0 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 0;
}

#bestsellers p {
	text-align: center;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	margin: 0;
	padding: 10px;
	overflow: hidden;
	white-space: nowrap;
}

#bestsellers p a {
	margin: 0 3px;
}

/* Footer links */

#links {
	list-style-type: none;
	text-align: center;
	padding: 10px;
}

#links li {
	display: inline;
	margin: 0 5px;
}

#links a {
	color: #333;
	font-size: 12px;
	letter-spacing: -1px;
}

#links a:hover {
	text-decoration: none;	
}

/* Copyright */

#copyright {
	padding: 10px;
	text-align: center;
	font-size: 11px;
	color: #999;
}

/* Sticky label */

#sticky {
	position: relative;
}

#sticky * {
	margin: 0;
	padding: 0;
}

#sticky div {
	background-image: url(../images/sticky-left.gif);
	background-position: top left;
	background-repeat: no-repeat;

	position: absolute;
	z-index: auto;
	
	top: 0;
	margin-top: -20px;

	right: 50%;
	margin-right: -30px;
}

#sticky div p {
	background-image: url(../images/sticky-right.gif);
	background-position: top right;
	background-repeat: no-repeat;

	padding: 3px 10px 9px 10px;
	line-height: 37px;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 17px;

	color: white;
	letter-spacing: -1px;
	
	white-space: nowrap;
	overflow: hidden;
}

/* Language dropdown menu */

#language-menu {
	position: absolute;
	z-index: auto;
	
	margin-top: 15px;
	width: 100%;
}

#language-menu div {
	width: 140px;
	margin: 0 auto;
}

#language-menu ul {
	list-style-type: none;
	float: left;
	margin: 0;
	padding: 0;

}

#language-menu ul:hover li {
	display: list-item;
}

#language-menu ul:hover li.first {
	border-bottom-width: 0;
}

#language-menu ul:hover li.last {
	border-bottom: 1px solid #dadada;	
}


#language-menu ul li {
	background-color: #fafaf9;

	border-width: 0 1px;
	border-style: solid;
	border-left-color: #bbbbbb;
	border-right-color: #d9d9d9;
	
	margin: 0 5px;
	
	display: none;
	width: 140px;
}

#language-menu ul li.first {
	padding: 0;
	
	display: list-item;

	background-image: url(../images/menu-bg.gif);
	background-color: #fafaf9;
	background-position: top;
	background-repeat: repeat-x;
	
	border-width: 1px;
	border-style: solid;
	border-right-color: #d9d9d9;
	border-bottom-color: #e3e3e3;
	border-top-color: #cccccc;
	border-left-color: #bbbbbb;

	margin: 0 5px;
	
	margin-top: 3px;
}

#language-menu ul li a {
	font-family: Arial;
	font-size: 12px;
	letter-spacing: -1px;
	color: #222;

	display: block;

	padding: 3px 4px;


	text-decoration: none;


	cursor: default;

	height: 1%;
	overflow: hidden;
	white-space: nowrap;
}

#language-menu ul li a:hover {
	background-color: #f0f0f2;
}

#language-menu ul li.first a {
	border: 1px solid white;

	background-image: url(../images/menu-arrow.gif);
	background-position: center right ;
	background-repeat: no-repeat;
	
	padding-left: 3px;
}

#language-menu ul li.first a:hover {
	background-color: transparent;
}

#language-menu ul li a img {
	vertical-align: middle;
	border: 0;
}

/* */

#topbar, #bottombar {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;

	background-color: #e8f1f6;
	background-image: url(images/search-bg.gif);
	background-position: top;
	background-repeat: repeat-x;

	padding: 10px;
}

#topbar, #bottombar {
	text-align: center;
	font-size: 15px;

	color: #555;
}

#topbar input {
	font-size: 12px;
}


/* Search results */

#results {
	width: 600px;
	margin: 10px auto;
	
	list-style-type: none;
}

#results li {
	padding: 5px;

	cursor: default;
	
	border-top: 2px solid white;
	border-bottom: 2px solid white;
	
	clear: left;
}

/*

#results li:hover {
	border-top: 2px solid #f2f2f2;
	border-bottom: 2px solid #f2f2f2;
	background-color: #f8f8f8;
}

*/

#results li div {
	font-size: 12px;
}

/* Home page */

#home_stats {
	color: #6bd;
	text-align: center;
	font-size: 14px;
	letter-spacing: -1px;
	padding: 10px;
}

/* Search results */

#searchbar {
	text-align: center;
	padding: 10px;
}

#searchbar * {
	vertical-align: middle;
}

#searchbar input {
	letter-spacing: -1px;
	color: #333;
	padding: 5px;
}

#searchbar input[type="text"] {
	border: 2px solid #ddd;
	font-size: 16px;
}

#searchbar input[type="submit"] {
	font-size: 14px;
	font-weight: bold;
	color: #4a89a4;
}

#searchbar img {
	margin-right: 10px;	
}

#results ul li {
	border: none;
	padding: 0;
}

#results ul li:hover {
	border: none;
	background-color: transparent;
}

#results a.title {
	font-size: 15px;
	font-weight: bold;
	letter-spacing: -1px;
	text-decoration: none;
	color: #666;
}

#results a.sublinks {
	text-decoration: none;
	font-size: 14px;
	color: #69F;
}

#results a:hover {
	text-decoration: underline;	
}

a.page {
	font-size: 15px;
	color: #555;
	font-weight: bold;
	padding: 0 3px;
}

a.page:hover {
	text-decoration: none;
	position: relative;
	top: -1px;
}

a.active {
	font-weight: normal;
	text-decoration: none;
}

/* Book detail */

#container {
	width: 700px;	
	margin: 20px auto;
}

#container h3 {
	font-size: 14px;
	font-weight: bold;
	letter-spacing: -1px;
	color: #333;
	
	padding-top: 20px;
	margin-bottom: 20px;
	clear: left;

	border-bottom: 2px solid #eee;
	padding-bottom: 5px;
	
	margin-left: -10px;
}

#book-info h3 {
	border-bottom: none;
	font-weight: normal;
	padding: inherit;
	margin: inherit;
	font-size: 14px;
	color: #777;
}

#container h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	letter-spacing: -1px;
	font-weight: normal;
	color: #333;
}

#container p {
	font-size: 13px;
	text-align: justify;
}

#container a {
	color: #369;	
}

#container a:hover {
	text-decoration: none;	
}

#book-picture {
	float: left;
	width: 210px;
}

#book-info {
	float: right;
	width: 480px;
}

#book-info h1 {
	font-size: 19px;
	font-weight: normal;
	letter-spacing: -1px;
	color: #333;
	
	margin: 0;
}

#book-info h2 {
	font-size: 17px;
	font-weight: normal;
	letter-spacing: -1px;
	color: #666;
	
	margin: 0;
}

#book-info dl {
	margin-top: 20px;
}

#book-info dt,
#book-info dd {
	color: #333;
}

#book-info dt {
	clear: left;
	float: left;
	width: 120px;
	font-weight: bold;
	font-size: 11px;
}

#book-info dd {
	float: left;
	width: 270px;
	font-size: 13px;	
}

#book-info dd.second {
	margin-left: 160px;
}

#book-description {
	text-align: justify;
	font-size: 13px;
}

#book-biography {
	text-align: justify;	
	font-size: 12px;
}

#book-info h1,
#book-info h2,
#book-info dt,
#book-info dd,
#book-description,
#book-biography {
	font-family: "Arial Unicode MS", Tahoma, Geneva, Arial, sans-serif !important;
	letter-spacing: 0 !important;
}

/* Price comparison table */

table#compare {
	border: none;
	border-spacing: 0px;
	border-collapse: collapse;
	width: 100%;
}

table#compare th, table#compare td {
	padding: 5px;
	text-align: left;
}

table#compare th {
	background-color: #eef;
	border-bottom: 5px solid #dde;

	font-weight: normal;
	font-variant: small-caps;
	font-size: 12px;

	color: #333;
}

table#compare td {
	background-color: white;
	border-bottom: 1px solid #eee;
	
	font-size: 12px;
	letter-spacing: -1px;
	
	cursor: pointer;
}

table#compare tr.even td {
	background-color: #f7f7f7;
}

table#compare tr:hover td {
	background-color: #eef;
	border-bottom: 1px solid #dde;
	
	/*
	background-image: url(/imagess/prices-bg.gif);
	background-position: top;
	background-repeat: repeat-x;
	*/
}

table#compare td.country {
	font-size: 11px;
}

table#compare td.new {
	color: #369;
}

table#compare td.used {
	color: #C06;
}

table#compare th.price,
table#compare td.price,
table#compare td.free,
table#compare td.unknown {
	font-weight: bold;
	text-align: right;
	padding-right: 20px;
}

table#compare td.price {
	letter-spacing: 0;
	color: #333;
}

table#compare td.free {
	font-variant: small-caps;
	color: #3C0;
}

table#compare td.unknown {
	color: #ccc;
}

table#compare td.link {
	font-size: 13px;
	letter-spacing: -1px;
}

/* Who are we ? */

#who {
	width: 700px;
	margin: 0 auto;
}

#who h3 {
	font-size: 18px;
	letter-spacing: -1px;
	color: #369;
}

#who p {
	font-size: 13px;
	text-align: justify;
}

#who a {
	color: #369;	
}

#who address {
	font-style: normal;
	border: 2px dashed #ddd;
	background-color: #f6f6f6;
	font-size: 11px;
	font-family: Verdana, Geneva, sans-serif;
	padding: 10px;
	float: left;
	color: #333;
	margin-bottom: 20px;
}

#who a:hover {
	text-decoration: none;	
}

/* Legal notice */

#legal {
	width: 700px;
	margin: 0 auto;
}

#legal h3 {
	font-size: 18px;
	letter-spacing: -1px;
	color: #369;
}

#legal p {
	font-size: 13px;
	text-align: justify;
}

#legal a:hover {
	text-decoration: none;	
}

/* FAQ */

#faq {
	width: 600px;
	margin: 0 auto;
	
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

#faq dt {
	font-size: 18px;
	letter-spacing: -1px;
}

#faq dd {
	font-size: 13px;
	margin: 5px 0 20px 10px;
	padding: 0;
	text-align: justify;
}

#faq dd a {
	color: #369;	
}

#faq dd a:hover {
	text-decoration: none;	
}

/* Bookstores */

/* TODO : à dédoublonner */

#container2 {
	width: 600px;	
	margin: 20px auto;
}

#container2 h3 {
	font-size: 14px;
	font-weight: bold;
	letter-spacing: -1px;
	color: #333;
	
	padding-top: 20px;
	margin-bottom: 20px;
	clear: left;
}

#container2 h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	letter-spacing: -1px;
	font-weight: normal;
	color: #333;
}

#container2 p {
	font-size: 13px;
	text-align: justify;
}

#container2 a {
	color: #369;	
}

#container2 a:hover {
	text-decoration: none;	
}

#container2 ul {
		list-style-image: url(images/libraries-arrow.gif);
}

#container2 li {

	float: left;
	width: 180px;
	
	font-size: 13px;
	
	margin-left: 15px;
	padding-left: 5px;
}

ul#links2 {
	line-height: 1.5em;
	list-style-type: square;
	margin: .3em 0 0 1.5em;
	padding: 0;
	list-style-image: url(/images/bullet.gif);
}


ul#links2 li {
	list-style-type: square;
	list-style-image: url(/images/bullet.gif);
}

#bookstores li {
	float: left;
	width: 128px;
	margin-left: 15px;
	margin-top: 10px;
}

/* search.php */

.light {
	font-size: 12px;
	color: #666;
}

/* Book page : eBay auctions */

table#eBay {
	border: none;
	border-spacing: 0px;
	border-collapse: collapse;
	width: 100%;
}

table#eBay th, table#eBay td {
	padding: 5px;
	text-align: left;
}

table#eBay th {
	background-color: #eef;
	border-bottom: 5px solid #dde;

	font-weight: normal;
	font-variant: small-caps;
	font-size: 12px;

	color: #333;
}

table#eBay td {
	background-color: white;
	border-bottom: 1px solid #eee;
	
	font-size: 12px;
	letter-spacing: -1px;
	
	cursor: pointer;
}

table#eBay tr.even td {
	background-color: #f7f7f7;
}

table#eBay tr:hover td {
	background-color: #eef;
	border-bottom: 1px solid #dde;
	
	/*
	background-image: url(/imagess/prices-bg.gif);
	background-position: top;
	background-repeat: repeat-x;
	*/
}

table#eBay td.country {
	font-size: 11px;
}

table#eBay td.new {
	color: #369;
}

table#eBay td.used {
	color: #C06;
}

table#eBay th.price,
table#eBay td.price,
table#eBay td.free,
table#eBay td.unknown {
	font-weight: bold;
	text-align: right;
	padding-right: 20px;
}

table#eBay td.price {
	letter-spacing: 0;
	color: #333;
}

table#eBay td.free {
	font-variant: small-caps;
	color: #3C0;
}

table#eBay td.unknown {
	color: #ccc;
}

table#eBay td.link {
	font-size: 13px;
	letter-spacing: -1px;
}

/* Search page buttons */

.btn { display: block; position: relative; background: #aaa; padding: 5px; float: left; color: #fff; text-decoration: none; cursor: pointer; }
.btn * { font-style: normal; background-image: url(http://www.nicebooks.com/images/buttons/btn2.png); background-repeat: no-repeat; display: block; position: relative; }
.btn i { background-position: top left; position: absolute; margin-bottom: -5px;  top: 0; left: 0; width: 5px; height: 5px; }
.btn span { background-position: bottom left; left: -5px; padding: 0 0 5px 10px; margin-bottom: -5px; }
.btn span i { background-position: bottom right; margin-bottom: 0; position: absolute; left: 100%; width: 10px; height: 100%; top: 0; }
.btn span span { background-position: top right; position: absolute; right: -10px; margin-left: 10px; top: -5px; height: 0; }
 
* html .btn span,
* html .btn i { float: left; width: auto; background-image: none; cursor: pointer; }
 
.btn.blue { background: #2ae; }
.btn.green { background: #9d4; }
.btn.pink { background: #e1a; }
.btn:hover { background-color: #fe0; text-decoration: none !important; }
.btn:active { background-color: #444; }
.btn[class] {  background-image: url(http://www.nicebooks.com/images/buttons/shade.png); background-position: bottom; }
 
* html .btn { border: 3px double #aaa; }
* html .btn.blue { border-color: #2ae; }
* html .btn.green { border-color: #9d4; }
* html .btn.pink { border-color: #e1a; }
* html .btn:hover { border-color: #a00; }