body {
  text-align:center;
  background:url(../images/bg.jpg) repeat-x;
}

.clear {
  clear:both;
}

#container, #footer_container {
  margin:0 auto;
  width:960px;
  text-align:left;
}

/* @group Menu */

#menu {
  height:150px;
  background:url(../images/menu_bg.jpg) no-repeat 100% 0;
}

#languages {
  margin:10px 10px 0 0;
  float:right;
}

#menu img {
  float:left;
  margin:15px 0 0 3px;
}

#menu ul {
  float:right;
  margin:111px 0 0 0;
}

#menu ul li {
  display:inline;
  float:left;
  /*width:1%;*/
  white-space:nowrap;
  margin:0 2px;
}

#menu ul li a {
  text-decoration:none;
  color:white;
  text-transform:uppercase;
  padding:17px 5px 9px 5px;
  display:block;
  background:url(../images/menu_center.jpg) repeat-x;
}

#menu ul li div.left_menu_border {
  padding-left:5px;
  background:url(../images/menu_left.jpg) no-repeat;
}

#menu ul li div.right_menu_border {
  padding-right:5px;
  background:url(../images/menu_right.jpg) no-repeat 100%;
}

#menu ul li span.left_menu_border {
  display:inline;
  padding-left:5px;
  height:45px;
  background:url(../images/menu_left.jpg) no-repeat;
}

#menu ul li span.right_menu_border {
  display:inline;
  padding-right:5px;
  height:45px;
  background:url(../images/menu_right.jpg) no-repeat 100%;
}

#submenu {
  position:absolute;
  background:#e45759;
  padding:5px;
  border:solid gray 1px;
  margin:0 0 0 -10px;
  text-align:center;
  z-index:2;
}

#menu ul li div#submenu a {
  padding:10px 5px;
  display:inline;
  background:none;
}

/* @end */

/* @group Header */

#header {
  margin-top:0px;
  height:199px;
  background:url(/images/header_bg.jpg);
}

#header_picture {
  float:right;
  padding:12px 41px 0 0;
  width:267px;
  height:180px;
}

#header_picture img {
  float:right;
  margin:0;
  padding:0;
}

#header_picture span {
  background:transparent url(/images/header_frame.png) no-repeat scroll 0 0;
  width:267px;
  height:180px;
  display:block;
  position:absolute;
}

#header h2 {
  font-family:Times New Roman;
  font-style:italic;
  font-size:250%;
  color:#fff;
  margin:5px 0 0 5px;
}

#header_body {
  margin:0 0 0 5px;
  color:#fff;
  width:580px;
  height:120px;
  font:italic 14px/17px Times;
}

#header span.search_left {
/*  margin:30px 0 0 10px;*/
  padding-left:7px;
  height:22px;
  display:block;
  background:url(../images/search_left.jpg) no-repeat;
  background-color:#dd5355;
  width:170px;
}

#header span.search_right {
  padding-left:7px;
  height:22px;
  display:block;
  background:#dd5355 url(../images/search_right.jpg) no-repeat 100%;
}

#header input {
  background-color:#dd5355;
  color:#fff;
  border:none;
  text-align:center;
}

/* @end */

#content {
  margin-top:20px;
}

#content a {
  color:#525252;
}

#content h1 {
  font-family:Times New Roman;
  font-style:italic;
  text-decoration:underline;
  color:#525252;
  font-size:30px;
}

#content h1 a { color:#525252; }

#content p.red {
  color:#bb4343;
}

/* @group Small Photo */

.small_photo {
  margin-bottom:21px;
  width:167px;
  height:214px;
  float:left;
  color:#818180;
  padding:5px 5px;
  background-image:url(../images/small_photo_bg.jpg);
  /* TODO: check for additional two px at the bototm in IE6 */
  background-repeat:no-repeat;
}

.small_photo_right_margin {
  margin-right:18px;
}

.small_photo_frame {
  position:relative;
  width:166px;
  height:166px;
  padding-bottom:3px;
}

.small_photo_frame img {
  width:166px;
  height:166px;
}

.small_photo_frame span {
  background:transparent url(/images/small_frame.png) no-repeat scroll 0 0;
  display:block;
  height:166px;
  position:absolute;
  width:166px;
}

.small_photo_name {
  float:left;
}

.small_photo_name img {
  vertical-align:middle;
}

.small_photo_code {
  float:right;
  margin-bottom:6px;
}

.small_photo_price {
  float:left;
}

.small_photo a {
  float:right;
}

/* @end */

#picture_and_thumbs {
  margin-bottom:10px;
  width:400px;
  float:left;
}

#main_picture {
  width:386px;
  height:386px;
  margin-bottom:10px;
}

#main_picture img {
  width:386px;
  height:386px;
}

#main_picture span {
  background:transparent url(/images/medium_frame.png) no-repeat scroll 0 0;
  width:386px;
  height:386px;
  display:block;
  position:absolute;
}

.thumb {
  width:90px;
  height:90px;
  /*padding:2px;*/
  margin-right:8px;
  /*background-image:url(../images/thumb_bg.jpg);*/
  cursor:pointer;
  float:left;
}

.thumb span {
  background:transparent url(/images/thumb_frame.png) no-repeat scroll 0 0;
  display:block;
  height:90px;
  position:absolute;
  width:90px;
}

.thumb img {
  width:90px;
  height:90px;
}


#content p {
  font:italic 16px Times;
  color:#525252;
  text-align:justify;
}

#content #glossary p {
  font-style:normal;
}

#price {
  color:#525252;
  font-size:20px;
  font-family:Times New Roman;
  font-weight:bold;
  font-style:italic;
  float:right;
}

#add_to_cart_big {
  margin-left:18px;
  float:right;
}

#cart {
  border:solid #CCC 1px;
  border-collapse:collapse;
  width:70%;
  color:#525252;
  margin:0 auto;
}

#cart th, #cart td {
  border:solid #CCC 1px;
  padding:5px;
}

.name_td {
  font-family:Times New Roman;
  font-style:italic;
}

.price_td, .remove_td {
  text-align:center;
}

.thumb_td, .price_td {
  width:1%;
}

/* @group Ads */
#ads {
  border-collapse:collapse;
  margin-top:40px;
}

#ads, #ads td {
  border:solid #a8a79e 1px;
}

#ads td {
  width:33%;
  text-align:center;
}

#ads, #ads a {
  color:#fff;
  background:#b7b38f;
}

#ads p {
  margin:0;
}

/* @end */
a.button:hover, a.small_button:hover {
  color:#fff;
}

a.button {
    background:transparent url('/images/bg_button_span.jpg') no-repeat scroll top right;
    color:#fff;
    display:block;
    float:left;
    font:normal 12px arial, sans-serif;
    height:25px;
    margin-right:6px;
    padding-right:5px; /* sliding doors padding */
    text-decoration:none;
}

a.button span {
    background:transparent url('/images/bg_button_a.jpg') no-repeat;
    display:block;
    color:#fff;
    line-height:15px;
    padding:5px 4px 5px 9px;
}

a.small_button {
    background:transparent url('/images/bg_small_button_span.jpg') no-repeat scroll top right;
    color:#fff;
    display:block;
    float:right;
    font:normal 10px arial, sans-serif;
    height:19px;
    margin-right:2px;
    padding-right:4px; /* sliding doors padding */
    text-decoration:none;
}

a.small_button span {
    background:transparent url('/images/bg_small_button_a.jpg') no-repeat;
    display:block;
    color:#fff;
    line-height:15px;
    padding:2px 4px 5px 9px;
}
 
/* @group Footer */

#reserved-explanation {
  margin-top:10px;
  text-align:left;
  color:#666;
  font-family:'Times New Roman';
  font-style:italic;
}

#reserved-explanation img {
  vertical-align:middle;
}

#footer {
  height:33px;
  padding-top:9px;
  background:url(../images/footer_bg.jpg) repeat-x;
  font:italic 14px Times;
  color:#c4bf9f;
}

#copy {
  float:left;
}

#madeby {
  float:right;
  text-align:right;
  width:250px;
}

/* @end */

/* @group Pagination */
.pagination { background: white; }
.pagination a, .pagination span { padding:.2em .5em; display:block; float:left; color:#000; margin-right:4px; }
.pagination span.disabled { color:#999; border:1px solid #DDD; }
.pagination span.current { font-weight:normal; background:#fcf2d4; color:#5c5c5c; border:1px solid #bcbcbc; }
.pagination a { text-decoration:none; color:#8c8c8c; border:1px solid #ebebeb; }
.pagination a:hover, .pagination a:focus { color:#000; border-color:#bcbcbc; }
.pagination .page_info { background:#fcf2d4; color:#bcbcbc; padding:.4em .6em; width:22em; margin-bottom:.3em; text-align:center; }
.pagination .page_info b { color:#bcbcbc; background:#fcf2d4; padding:.1em .25em; }
/* causes layout break */
/*.pagination:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }*/
* html .pagination { height:1%; }
*:first-child+html .pagination { overflow:hidden; }

/* @end */
