body {
    margin: 0 0 1em 0;
    padding: 0; /* need for Opera */
    background-color: #f9f5ed;
    color: #000000;
}

form {
    margin: 0;
}

img {
    border: 0;
}

a {
    color: #0000bb; 
}

a:active {
    color: #aa00bb; 
}

a:hover {
}

a:visited {
    color: #440088; 
}

.centered {
    text-align: center;
}

h2 {
    clear: left;
    color: #005500;
    text-align: center;
    font-size: 160%;
    font-weight: bold;
}

/* Header */
header {
    position: relative;
    height: 111px;
    background: #f9f5ed url(/ima/orange-round-border-srpites.png) right 39px no-repeat;
    color: inherit;
    text-align: center;
}

header ul {
    list-style: none;
    position: absolute;
    top: 0;
    right: 33%;
    margin: 0;
    padding: 0;
}

header li {
    float: left;
    margin: 0 0.3em 0 0.3em;
    padding: 0 0 0 12px;
    background: url(/ima/header-tab.png) left bottom;
}

header ul a {
    display: block;
    float: left;
    background: url(/ima/header-tab.png) right bottom;
    padding: 2px 12px 6px 0;
    text-align: center;
}

header li:hover, header ul a:hover {
    background-color: #d5dbcb;
}

header a {
    color: #004000;
    font-weight: bold;
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

header #basket {
    position: absolute;
    top: 0;
    right: 5%;
    min-height: 25px;
    padding: 2px 0 0 35px;
    background: url(/ima/cart-small.gif) 0 2px no-repeat;
    font-weight: bold;
}

header h1 {
    margin: 0;
    padding-top: 40px;
}

header #logo {
    position: absolute;
    left: 3px;
    bottom: 3px;
}

/* Top Menu */
nav.main-menu {
    position: relative;
    height: 29px;
    background: #f16422;
    font-size: smaller;
    z-index: 4;
}

nav.main-menu strong {
    position: absolute;
    top: 4px;
    width: 210px;
    color: #ffa060;
    text-align: right;
}

nav.main-menu ul {
    list-style: none;
    position: absolute;
    top: 0;
    left: 219px;
    margin: 0;
    border-left: 1px solid #e84a21;
    border-right: 1px solid #f19722;
    padding: 0;
}

nav.main-menu li {
    float: left;
    margin: 0;
    padding: 0;
}

nav.main-menu ul a {
    display: block;
    float: left;
    height: 19px;
    padding: 5px 10px;
    border-left: 1px solid #f19722;
    border-right: 1px solid #e84a21;
    background: #f16422;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

nav.main-menu ul a:visited {
    color: #fdd;
}

nav.main-menu ul a:hover {
    background-color: #cc3300;
}

nav.main-menu ul a:active {
    color: #faa;
}

nav.main-menu hr {
    padding: 0;
    margin: 0;
    border: 0;
    visibility: hidden; 
}

/** Sidebar **/
#sidebar {
    position: absolute;
    top: 140px;
    width: 220px;
    margin: 0;
    padding: 0;
    background: #faf0dc url(/ima/orange-round-border-srpites.png) 178px -72px no-repeat;
    z-index: 2;
}

#sidebar2 {
    padding: 7px;
}

/* Languages */
#sidebar #langs {
    text-align: center;
    margin: 2em 0 2em 0;
}

#sidebar img {
    padding: 0 0 0.5em 0;
}

#sidebar ul img {
    padding: 0;
}

#sidebar #langs ul {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
}

#sidebar #langs li {
    display: inline;
    padding: 0 0.3em 0 0;
}

/* Search */
#sidebar #search {
    margin: 0 0 1em 10px;
}

/* Left Menu */
nav.side-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.side-menu li.nav_menu_category {
    display: block;
    margin: 2em 0 0.1em 0;
    padding: 0;
    background-color: #ffffff;
    font-weight: bold;
}

nav.side-menu li ul {
    margin: 0;
    padding: 0;
    background-color: #faf0dc;
    font-weight: normal;
}

nav.side-menu a {
    letter-spacing: normal;
}

nav.side-menu li#out_of_stock {
    padding: 0.3em 0 0 0;
}

#sidebar #libertys, #sidebar #pierrebex {
    padding: 0.2em 0 0.1em 0;
}

#sidebar #copyright {
    padding: 3em 0 1em 0;
    font-size: smaller;
}

/** Middle Part **/
#main {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #FAF0DC url(/ima/left-menu-bottom-left.png) left bottom no-repeat;
}

/* Content */
#content {
    position: relative;
    min-height: 46em;
    margin: 0 0 0 220px;
    border-left: 1px solid #f19722;
    padding: 0;
    background: #faf0dc url(/ima/marble.jpg) 10px 10px;
    z-index: 3;
}

#content2 {
    padding: 7px;
}

#content-top-left {
    display: block;
    position: absolute;
    width: 40px;
    height: 42px;
    background: url(/ima/orange-round-border-srpites.png) -43px -72px no-repeat;
}

/* Content min-height emulation */
#out-min-height {
    padding-top: 46em;
    min-height: 1px;        /* pour Opera */
}

#in-min-height {  
    margin-top: -46em;      /* pour compenser le padding-top */
}
  
/* Bottom */
#page_bottom {
    position: relative;
    clear: both;
    margin: 0 0 0.3em 0;
    padding: 0;
    z-index: 1;
}

#page_bottom hr {
    display: block;
    height: 10px;
    margin: 0;
    border: 0;
    padding: 0;
    background-color: #f16422;
    color: #f16422;
}

/* Footer */
footer {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0.4em 0 0 0;
    text-align: center;
}

footer ul {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    display: inline;
}

footer ul li a {
    padding: 0 0.4em 0 0.4em;
    border-right: 1px solid #f16422;
}

footer ul li:last-child a {
    border-right: 0;
}

footer #email {
    padding: 4px 0 4px 20px;
    background: url(/ima/at.gif) no-repeat;
}

/* Books' details */
#book_price td {
    font-size: 110%;
}

#book_pictures img {
    padding: 10px;
}

.out-of-stock {
    padding-left: 1em;
    font-size: 140%;
    font-weight: bold;
    color: #ff0101;
}

/* General */
.price {
    color: #770077;
    font-size: larger;
}

.price_decimals {
    font-size: smaller;
}

.listprice {
    text-decoration: line-through;
}

.shipped24 {
    font-weight: bold;
    font-size: larger;
    color: #ff0101;
}

.alt-lang {
    font-size: smaller;
    font-style: italic;
}

hr.alt-lang {
    width: 65%;
    border: none;
    border-top: 2px solid #777;
}

.libertys {
    color: #004000;
    font-size: 130%;
}

.minithumbnails {
    padding: 0 0 5px 0;
    width: 36px;
    height: 48px;
    vertical-align: bottom;
}

.thumbnails {
    padding: 0 0 5px 0;
}

.debug {
    z-index: 90;
    position: relative;
    margin: 5px;
    padding: 3px 8px 3px 8px;
    color: black;
    background-color: #88ff33;
    border: thin solid #00ff00;
    font-size: 10pt;
    font-weight: bold;
}

.button:hover {
    position: relative;
    top: 1px;
}

.right-align {
    float: right;
}

.nokpage-advices dt {
    padding: 1em 0 0 0;
}

.error {
    color: #dd1111;
}

input.error, textarea.error {
    color: black;
    background-color: #FFEECC;
}

/* Page Specific */
#new-books li {
    margin-bottom: 2pt;
}

#paypal-order-review {
    width: 80%;
}

#paypal-order-review h3 {
    background-color: #f16422;
    color: #fcfcfc;
    padding: 0.3pt 0.3pt 0.3pt 3pt;
}

form.payment input[type="submit"] {
    background-color: #f16422;
    border-color: #F19722 #E84A21 #E84A21 #F19722;
    border-style: solid;
    border-width: 2px;
    color: white;
    display: block;
    font-weight: bold;
    margin: auto;
    padding: 2px 13px 2px 13px;
}
form.payment input[type="submit"]:hover {
    background-color: #fF7432;
}
form.payment input[type="submit"]:active {
    background-color: #e15412;
    border-color: #E84A21 #F19722 #F19722 #E84A21;
}

table.book_categories {
    width: 100%;
}

table.book_categories td {
    padding: 10px;
}

table.category tr.sold-out-row td.category-price {
    width: 6%;
}

#scroll_to_page_top {
    text-align: center;
}

#address-line2 td {
    padding-top: 0;
}

/* Star Rating */
ul.book-rating {
    list-style: none;
    padding: 0;
    font-weight: bold;
    font-size: smaller;
    /* move it next to the book thumbnail */
    position: absolute;
    top: 80px;
    left: 250px;
}
ul.book-rating .rating-description {
    display: inline-block;
    width: 13em;
}
span.unrated {
    color: gray;
}
span.rating {
    display: inline-block;
    margin: 0;
    padding: 0;
    position: relative;
    vertical-align: middle;
    background: url(/ima/star-rating-sprite.png);
    width: 65px;
    height: 12px;
    /* hide text */
    overflow: hidden;
    text-indent: -9999px;
    letter-spacing : -1000em;
}
span.star-4-5 {
    background-position: -13px 0px;
}
span.star-3-5 {
    background-position: -26px 0px;
}
span.star-2-5 {
    background-position: -39px 0px;
}
span.star-1-5 {
    background-position: -52px 0px;
}
span.star-0-5 {
    background-position: -65px 0px;
}

