body {
  margin: 17px 0px;
  padding: 0px;
}
a, a:hover, a:active, a:visited {
  text-decoration: none;
  color: #595959;
}
a:hover {
  color: black;
}
h1 {
  margin-top: 5px;
}
div#header {
  width: 100%;
  height: 104px;
  margin-left: auto;
  margin-right: auto;
  line-height: 0px;
  background-color: #a7a49b;
  text-align: center;
}
div#header table {
  width: 950px;
  height: 104px;
  margin: 0px auto;
  border-collapse: collapse;
  background-color: white;
}
div#header table td#header_left {
  width: 143px;
  height: 104px;
  border-left: 2px solid white;
}
div#header table td#header_right {
  width: 807px;
  height: 104px;
  border-left: 2px solid white;
  border-right: 2px solid white;
}
div#header table td#header_right table {
  width: 807px;
  height: 104px;
}
div#header table td#header_right table td#header_top {
  width: 807px;
  height: 73px;
  border: 0px;
  background-image: url( ../images/menu_bg.jpg );
  background-position: top;
  background-repeat: no-repeat;
}
div#header table td#header_right table td#header_top table {
  width: 807px;
  height: 73px;
  background: none;
  text-align: right;
}
div#header table td#header_right table td#header_top table td#header_languages {
  width: 807px;
  height: 37px;
  vertical-align: top;
}
div#header table td#header_right table td#header_top table td#header_languages div {
  margin-top: 5px;
  margin-right: 6px;
}
div#header table td#header_right table td#header_top table td#header_languages img {
  padding-left: 10px;
  border: 0px;
}
div#header table td#header_right table td#header_top table td#header_date {
  width: 807px;
  height: 36px;
  vertical-align: bottom;
}
div#header table td#header_right table td#header_top table td#header_date div {
  margin-bottom: 4px;
  margin-right: 6px;
  font: 11px/11px Arial, Helvetica, sans-serif;
  color: #8e8e8e;
}
div#header table td#header_right table td#header_menu {
  width: 807px;
  height: 30px;
  border-top: 2px solid white;
  padding-left: 35px;
  background-color: #7bbace;
  font: 12px/12px Arial, Helvetica, sans-serif;
  color: white;
  text-align: left;
}
div#header table td#header_right table td#header_menu img {
  border-width: 0px;
  vertical-align: middle;
}
div#header table td#header_right table td#header_menu a {
  margin-right: 20px;
  font-weight: bolder;
  color: white;
  text-decoration: none;
}
table#main {
  width: 952px;
  margin: 0px auto;
  padding-top: 50px;
  text-align: center;
  font: 12px/18px Arial, Helvetica, sans-serif;
  color: #595959;
}
#left-sidebar {
  width: 143px;
  vertical-align: top;
}
#left-spacer {
  width: 36px;
}
#content {
  width: 595px;
  vertical-align: top;
  text-align: left;
}
#content a {
  text-decoration: underline;
}
#content h1 {
  margin-bottom: 20px;
}
#right-spacer {
  width: 35px;
}
#right-sidebar {
  width: 143px;
  vertical-align: top;
}
table#main div.box_title {
  width: 133px;
  height: 21px;
  padding-top: 4px;
  padding-left: 10px;
  background-color: #7bbace;
  color: white;
  text-align: left;
  font-size: 12px;
  font-weight: bold;
}
table#main div.box_content {
  width: 130px;
  padding: 8px 5px 5px 8px;
  border-top: 2px solid white;
  background-color: #c8e0e8;
}
table#main div.box_separator {
  height: 12px;
}
div#login_box {
  text-align: left;
}
div#login_box form {
  margin: 0px;
  padding: 0px;
}
div#login_box input {
  width: 120px;
  border-width: 0px;
}
div#login_box div.password {
  margin-top: 8px;
}
div#login_box button {
  margin: 10px 0px 0px;
  padding: 0px;
  border-width: 0px;
  background-color: #c8e0e8;
}
div#login_box div.login_centered {
  text-align: center;
}
div#login_box span.notice {
  font-size: smaller;
}
#account_sidebar {
  text-align: left;
}
div#search {
  width: 143px;
}
div#search form {
  margin-bottom: 0px;
  margin-top: 0px;
}
div#search input {
  width: 90px;
  height: 19px;
  border-width: 0px;
  vertical-align: middle;
}
div#search img {
  border: 0px;
  vertical-align: middle;
}
div#search div.search_notice {
  margin-top: 5px;
  font-size: 9px;
}
div#search div.advanced_search {
  margin-top: 5px;
  font-size: 11px;
  font-weight: bolder;
  text-align: left;
}
div#search div.search_notice_left {
  margin-top: 5px;
  font-size: 9px;
  text-align: left;
}
div#cat_navigation {
  width: 143px;
  text-align: left;
}
div#cat_navigation div.box_content {
  padding-top: 5px;
}
div#cat_navigation img {
  padding: 3px 6px 3px 0px;
  vertical-align: middle;
  border-width: 0px;
}
div#cat_navigation div.expanded {
  font-weight: bold;
}
div#cart {
  width: 143px;
  text-align: left;
}
div#cart img {
  border-width: 0px;
}
div#cart div.box_content {
  padding-left: 5px;
  padding-top: 0px;
  width: 133px;
}
div#cart table {
  width: 100%;
}
div#cart table td {
  vertical-align: top;
}
div#cart table td.col1 {
  width: 22px;
}
div#cart span.title {
  font-weight: bold;
}
div#cart tr.item td {
  padding-top: 4px;
}
div#cart tr.price {
  background-image: url( ../images/cart_hline.gif );
  background-position: bottom center;
  background-repeat: no-repeat;
}
div#cart tr.price td {
  padding-bottom: 4px;
  text-align: right;
}
div#cart tr.total td {
  padding-top: 4px;
  text-align: right;
}
div#cart tr.order td {
  padding-top: 10px;
  line-height: 0px;
  text-align: center;
  vertical-align: bottom;
}
div#cart tr.modify td {
  padding-top: 8px;
}
div#cart td.cart_empty {
  padding: 5px;
}

.add-to-cart {
  float: right;
  padding: 5px;
  background-color: #c8e0e8;
}
.add-to-cart * {
  vertical-align: middle;
  margin: 0;
  padding: 0;
}
.add-to-cart input {
  border-width: 0;
}
.add-to-cart input.quantity {
  width: 25px;
  padding: 2px;
}
.add-to-cart .wishlist {
  margin: 8px 0 0;
  border-top: 1px solid gray;
}

#wishlist {
  text-align: left;
}

/* Articles list and article details */
.article .savings, #article_details .savings {
  font-weight: bold;
}
.article .savings .percentage, #article_details .savings .percentage {
  padding: 1px;
  font-size: 115%;
  background-color: red;
  color: white;
}

.dotted_top {
  background-image: url( ../images/dotted_hline.png );
  background-position: top;
  background-repeat: no-repeat;
}
.dotted_bottom {
  background-image: url( ../images/dotted_hline.png );
  background-position: bottom;
  background-repeat: no-repeat;
}

.fieldWithErrors > * {
  border: 2px solid red ! important;
}

/* Flash messages */

.flash {
  margin-bottom: 10px;
  padding: 10px 10px 10px 50px;
  border: 2px solid;
}
#flash-notice {
  border-color: #afa;
  background-color: #efe;
  background: #efe url(/images/msg_ok.gif) no-repeat 10px;
}
#flash-errors {
  border-color: #f55;
  background-color: #fee;
  background: #fee url(/images/msg_error.gif) no-repeat 10px;
}

/* Maintenance page */

img#maintenance {
  float: right;
  margin: 10px;
}

/* Article image */

div#image_container img {
  border: 0px;
}
div#image_container {
  margin: auto;
  text-align: center;
}
div#error_container {
  width: 300px;
  height: 400px;
  margin: auto;
  text-align: center;
}

.clear:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

/* Pagination */

.pagination {
  padding: 3px;
  margin: 20px 3px;
  text-align: center;
}
.pagination a {
  padding: 2px 5px;
  margin: 2px;
  border: 1px solid #c8e0e8;
  text-decoration: none !important;
}
.pagination a:hover, .pagination a:active {
  border: 1px solid #7bbace;
  color: black;
}
.pagination span.current {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #7bbace;
  font-weight: bold;
  background-color: #7bbace;
  color: white;
}
.pagination span.disabled {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #eee;
  color: #ddd;
}

/* Error messages */

.errorExplanation h2 {
  color: red;
}

/* Forms */

input, select {
  color: #595959;
  border: 1px solid #595959;
}
input.checkbox {
  border-width: 0;
}
form h2 {
  clear: left;
  padding: 10px 0;
  font-size: 14px;
  font-weight: bold;
  color: #7bbace;
  border-bottom: 1px solid #eee;
}
form dl {
  margin: 5px 0 10px;
}
form dl dt {
  clear: left;
  float: left;
  width: 204px;
  padding-right: 13px;
  margin-right: 13px;
  font-weight: bold;
  color: #7bbace;
  text-align: right;
}
form dl input, form dl select {
  width: 156px;
}
form dl input.checkbox {
  width: auto;
}
form dl dt, form dl dd {
  padding: 6px;
}

/* Homepage tabs */
ul.tabs {
  height: 20px;
  margin: 0 0 5px 0;
  padding: 0;
  border-bottom: 1px solid gray;
  list-style: none;
}
ul.tabs li {
  float: left;
  display: list-item;
  margin-right: 4px;
  line-height: 18px;
  text-align: center;
}
ul.tabs li a {
  display: block;
  height: 20px;
  padding: 0 5px;
  font-weight: bolder;
  text-decoration: none !important;
}
ul.tabs li a.active {
  background-color: #ddd;
}
.home-article-box {
  float: left;
  width: 85px;
  height: 145px;
  margin: 10px;
  padding: 5px;
  border: 1px solid #eee;
  font-size: 10px;
  text-align: center;
}
.home-article-box .image-container {
  width: 76px;
  height: 76px;
  margin: 0 auto;
}
.home-article-box strong {
  font-size: 11px;
}