body {
    background-image: url('/images/background.gif');
    margin: 0;
    padding: 0;
}

img {
    border: 0;
}

input, select {
    font-family: verdana, sans-serif;
    font-size: 10px;
    color: #333333;
}

label {
    font-family: verdana, sans-serif;
    font-size: 10px;
}

a, ul, li, p, h1, h2, h3, table {
    font-family: verdana, sans-serif;
}

a {
    color: white;
}

a:hover {
    color: #dddddd;
}

p {
   font-size: 0.7em;
   color: #333333;
   padding: 0.8em 0 0.8em 0;
   margin: 0;
}

h1 {
    color: #333333;
    padding: 0.8em 0 0.8em 0;
    margin: 0;
}

h2 {
    color: #333333;
    padding: 0.8em 0 0.8em 0;
    margin: 0;
    line-height: 140%;
}

h3 {
    color: #333333;
    padding: 0.8em 0 0.8em 0;
    margin: 0;
    line-height: 140%;
    font-size: 0.7em;
    text-decoration: underline;
}

.clear {
    clear: both;
    display: block;
    height: 1px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.clear_right {
    clear: right;
    display: block;
    height: 1px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.red {
    color: #d83300;
}

.error_text {
    color: #d83300;
    font-weight: bold;
}

/* header ----------------------------------------------------------------------------------------- */

#header {
    min-width: 790px;
}

#corner {
    position: absolute; 
    top: 35px;
}

#bar1 {
    background: #333333; 
    height: 105px;
    padding: 0 35px 0 35px;
}

#bar1 #logo {
    position: absolute; 
    float: left;
    padding: 68px 0 0 0;
}

#bar1 #banner {
    padding: 7px 0 0 0;
    float: right;
}

#bar2 {
    background: #d83300; 
    height: 40px;
    padding: 0 35px 0 35px;
}

#bar2 #search_panel {
    float: left;
}

#bar2 #cards_panel {
    margin: 7px 0 0 5px;
    float: right;
}

#bar2 input, select {
    margin: 10px 0 0 5px;
    width: 150px;
}

#bar2 label {
    color: white;
    font-weight: bold;
}

#bar2 .button {
    padding: 0;
    margin: 10px 0 0 5px;
    background-color : #d83300;
    color: white;
    width: 70px;
    border: 1px solid white;
    font-weight: bold;
}

#bar3 {
    background: #b7330a; 
    height: 32px;
    padding: 0 35px 0 35px;
}

#bar3 ul#navigation {
    margin: 0;
    padding: 4px 0 0 0;
    float: left;
}

#bar3 #navigation li {
    display: inline;
    padding: 0 5px 0 0;
}

#bar3 #navigation li.first {
    font-size: 10px;
    font-weight: bold;
    color: white;
}

#bar3 #navigation li a {
    font-size: 10px;
    color: white;
}

#bar3 #navigation li a:hover {
    font-size: 10px;
    color: white;
    text-decoration: underline;
}

#bar3 #basket_panel {
    float: right;
    width: 195px;
    height: 22px;
    text-align: right;
    background: url('/images/basket.gif') no-repeat 0 6px;
    font-size: 10px;
    font-weight: bold;
    color: white;
    font-family: verdana, sans-serif;
    padding: 9px 0 0 25px;
    margin: 0;
}

#bar3 .button {
    margin: 0 0 0 10px;
    background-color : #b7330a;
    color: white;
    width: 70px;
    border: 1px solid white;
    font-weight: bold;
}

/* menu ------------------------------------------------------------------------------------------- */

#frame {
    min-width: 500px; 
    margin: 0 100px 0 35px;
    background: url('/images/frame_background.gif') repeat-y 0 0;
}

#menu {
    float: left;
    width: 150px;
}

#menu ul {
    padding: 20px 0 30px 0;
    margin: 0;
    list-style-type: none;
}

#menu ul#banners {
    padding: 20px 0 100px 0;
    margin: 0;
}

#menu li {
    padding: 0 5px 5px 10px;
    margin: 0;
    line-height: 1em;
}

#menu #banners li {
    padding: 0 0 20px 0;
    text-align: center;
}

#menu #banners li.first {
    text-align: left;
    padding: 5px 0 5px 10px;
    margin: 0 0 20px 0;
}

#menu li.first {
    padding: 5px 0 5px 10px;
    margin: 0 0 5px 0;
    border-top: 1px solid #888888;
    border-bottom: 3px solid #888888;
    font-size: 0.7em;
    font-weight: bold;
    color: #333333;
    background: #999999;
}

#menu li.selected {
    background: #999999;
    border-right: 5px solid #b7330a;
}

#menu li a {
    font-size: 0.6em;
    font-weight: bold;
    line-height: 1em;
}

/* main and footer -------------------------------------------------------------------------------- */

#main {
    margin-left: 150px;
    padding: 20px 20px 50px 20px;
}

#footer {
}

#footer #bottom_bar {
    background: #b7330a; 
    text-align: center;
    height: 20px;
}

#footer #top_bar {
    background: #aaaaaa;
    height: 40px;
}

#footer #bottom_bar p {
    font-size: 10px;
    margin: 0;
    color: white;
    padding: 3px 0 0 0;
}

/* book overview ---------------------------------------------------------------------------------- */

.book_overview {
    padding: 0 0 10px 0;
    margin: 0 0 20px 0;
    height: 100%; /* ie fix */
    border-bottom: 1px dashed #bbbbbb;
    max-width: 800px;
}

.book_overview h1 {
    font-size: 0.8em;
}

.book_overview h1 a {
    color: #333333;
    text-decoration: none;
}

.book_overview h1 a:hover {
    color: #333333;
}

.book_overview .summary {
    line-height: 140%;
}

.book_overview .price {
    font-weight: bold;
}

.book_overview .image {
    float: right;
    margin: 0;
    padding: 0 0 0 10px;
    text-align: center;
}

.book_overview .image .image_text {
    text-align: center;
    font-weight: bold;
    width: 100px;
    padding: 5px 0 4px 0;
    margin: 0;
}

.book_overview ul.buttons {
    margin: 10px 0 10px 0;
    padding: 0;
    list-style-type: none;
}

.book_overview ul.buttons li {
    display: inline;
}

.book_overview .buttons input {
    background-color : #cccccc;
    color: #333333;
    font-weight: bold;
    border: 1px solid gray;
}

/* book detail ---------------------------------------------------------------------------------- */

.book_detail {
    padding: 0 0 10px 0;
    margin: 0 0 20px 0;
    height: 100%; /* ie fix */
    max-width: 800px;
}

.book_detail h1 {
    font-size: 0.8em;
}

.book_detail .summary {
    line-height: 140%;
}

.book_detail .price {
    font-weight: bold;
}

.book_detail .image {
    float: right;
    margin: 0;
    padding: 0 0 4px 10px;
    text-align: center;
}

.book_detail .image .image_text {
    text-align: center;
    font-weight: bold;
    width: 200px;
    padding: 5px 0 0 0;
    margin: 0;
}

.book_detail ul.buttons {
    margin: 10px 0 10px 0;
    padding: 0;
    list-style-type: none;
}

.book_detail ul.buttons li {
    display: inline;
}

.book_detail .buttons input {
    background-color : #cccccc;
    color: #333333;
    font-weight: bold;
    border: 1px solid gray;
}

.book_detail ul#info {
    border-bottom: 1px solid #bbbbbb;
    border-top: 1px solid #bbbbbb;
    background: #eeeeee;
    margin: 10px 0 10px 0;
    padding: 10px 10px 10px 40px;
    list-style-type: square;
    font-size: 0.7em;
    color: #333333;
}

.book_detail ul#info li {   
    line-height: 140%;      
}

.book_detail ul#info li {   
    line-height: 140%;      
}

.book_detail #book_detail_text {
    font-style: italic;
}

/* checkout ------------------------------------------------------------------------------------- */

.checkout {
    padding: 0 0 10px 0;
    margin: 0 0 20px 0;
    height: 100%; /* ie fix */
    max-width: 800px;
}

.checkout h1 {
    font-size: 0.8em;
}

.checkout h2 {
    font-size: 0.7em;
    font-weight: bold;
}

.checkout #basket_overview {
    font-size: 0.7em;
    width: 450px;
    margin: 8px 0 16px 0;
    background: #eeeeee;
}

.checkout #basket_overview td #quantity {
    width: 55px;
    color: #333333;
}

.checkout #basket_overview td {
    border: 1px solid gray;
    padding: 4px;
    color: #333333;
}

.checkout #basket_overview th {
    border: 1px solid gray;
    padding: 4px;
    color: #333333;
}

.checkout .button {
    background-color : #cccccc;
    color: #333333;
    font-weight: bold;
    border: 1px solid gray;
    margin: 0 0 10px 0;
}

.checkout .basket_address {
    font-size: 0.7em;
    width: 450px;
    margin: 8px 0 16px 0;
    background: #eeeeee;
}

.checkout .basket_address td {
    border: 1px solid gray;
    padding: 4px;
    color: #333333;
    font-weight: bold;
}

.checkout .basket_address th {
    border: 1px solid gray;
    padding: 4px;
    color: #333333;
}

.checkout .basket_address td input {
    width: 300px;
    font-weight: normal;
}

.checkout .basket_address td select {
    width: 300px;
    font-weight: normal;
    padding: 0;
    margin: 0;
}

.checkout .box {
    border: 1px solid gray;
    background: #eeeeee;
    padding: 5px 5px 12px 5px;
    margin: 5px 0 20px 0;
}

.checkout .box p {
    padding: 0.2em 0 0.2em 0;
    margin: 0;
    
}

.checkout .box table {
    font-size: 0.7em; 
    width: 450px;   
}

.checkout .box table th {
    text-align: left; 
    color: #333333;
    padding: 4px 10px 4px 0;
}

.checkout .box table td {
    color: #333333;
    padding: 4px 10px 4px 0;
}

/* error ------------------------------------------------------------------------------------------- */

.error {
    padding: 0 0 10px 0;
    margin: 0 0 20px 0;
    height: 100%; /* ie fix */
    max-width: 800px;
}

.error h1 {
    font-size: 0.8em;
    color: #d83300;
}

.error h2 {
    font-size: 0.7em;
    color: #333333;
}

.error a, a:hover {
    color: #333333; 
}

.error p {
    font-weight: normal;
}

/* pages ------------------------------------------------------------------------------------------- */

.page {
    padding: 0 0 10px 0;
    margin: 0 0 20px 0;
    height: 100%; /* ie fix */
    max-width: 800px;
}

.page h1 {
    font-size: 0.8em;
    color: #333333;
}

.page h2 {
    font-size: 0.7em;
    color: #333333;
}

.page p {
    line-height: 140%;
}

.page a {
    color: #333333;
    text-decoration: underline;
}

.page a:hover {
    color: #333333;
    text-decoration: underline;
}

.page ol {
    padding: 8px 0 8px 30px;
    margin: 0;
}

.page li {
    color: #333333;
    font-size: 0.7em;
    line-height: 140%;
    padding: 2px 0 2px 0;
}

