
.gallery {
  padding:5px;
}
.gallery li {
  position: relative;
  float: left;
  width: 167px;
  padding: 2px;
  margin: 2px;
  overflow: hidden;
  background: url('../img/gallery_grad.gif') bottom left repeat-x #e6e6e6;
}
.gallery li:hover { background: url('../img/galleryhover_grad.gif') bottom left repeat-x #b7d39a; }
.gallery span {
  display: block;
}
.gallery .image {
  width: 167px;
  background-color: white;
  text-align: center;
}
.gallery .image img {
  margin: 0;
  padding: 0;
  display: inline;
}
.gallery .title {
  line-height: 1.5em;
}
.gallery .buttons {
  display: block;
  line-height: 2em
}
.gallery .title {
  height: 1.5em;  /*height is equal to the height of 1 line of text to ensure that increasing text-size or str-length doesn't break the layout*/
  overflow: hidden;
}
.gallery .price {
  font-weight: bold;
}
.gallery .review {
  height: 4.5em; /*height is equal to the height of 3 lines of text*/
  overflow: hidden;
  padding: 1px;
  background-color: white;
}
.gallery .cut a {
  position: absolute;
  top: 2px;
  right: 2px;
  background: transparent url('../img/close.gif') no-repeat center center !IMPORTANT;
  width: 24px;
  height:24px;
  display: block;
  text-decoration: none;
}


.simple {
  border-collapse: collapse;
  border-top: 0.2em solid #333;
  margin-top: 1.5em;
  width:100%;
}

.simple td {
  border: solid #333;
  border-width: 0 0 0.2em 0;
  padding: 10px;
}

.simple th, .simple .headrow {
  background-color: transparent;
  padding: 10px;
  font-weight: bold;
  border-bottom: 0.2em solid #333;
}
.simple img {
  width: 100px;
}
.simple .oddrow {
  background-color: #ececec;
}


.window {
  position: relative;
  background-color: #ececec;
  margin: 0 0 5px 0;
  padding: 0 0 5px 0;
}
.window h4 {
  border-width: 0;
  background-color: #b7d39a;
  line-height: 1.5em;
  padding: 0.5em;
  position:relative;
  margin: 0;
  background: url("../img/galleryhover_grad.gif");
}
.window h5 {
  color: #0066cc;
}
.window .prodlist li {
  border-top: 0;
  border-bottom: 0.1em solid #999;
}
.window p, .window ul, .window div {
  padding: 5px;
}
.window div div {
  padding:0;
}
#page_info {
  padding-left: 0;
}
#infobar {
  float: right;
  width: 250px;
}
#ratings .submit {
  display: inline;
  vertical-align: center;
}
#comments textarea {
  width: 95%;
  margin: 0;
  height: 5em;
}
#comments .info {
  float: left;
  width: 23%;
  padding: 1%;
  margin: 1%;
  border: 1px solid #999;
  background-color: #f6f6f6;
}
#comments .info li {
  line-height: 1.5em;
}
#comments .comm {
  float: left;
  margin: 0;
  padding: 1%;
  width: 70%;
}
#comments .rate {
  margin: 0;
  padding: 0;
}
#comments .rate li {
  float: left;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}
#comments .rate .buttontick, #comments .rate .buttoncross {
  width: 24px;
  height: 24px;
  background: transparent;
  cursor: pointer;
}
#comments .rate .buttontick {
  background-image: url('../img/tick.gif');
}
#comments .rate .buttoncross {
  background-image: url('../img/cross.gif');
}

#prod_cats ul {
  margin-left: 20px;
}
#prod_cats ul ul li {
  display: inline;
}
#infobar img {
  width: 95%;
}
#page_menu ul ul ul {
  width:100%;
}
#page_menu ul ul ul li {
  float: left;
}
.right .window {
  margin-bottom: 0.5em;
}
.notes {
  font-size: 1em;
  line-height: 1em;
  text-align:right;
}
.description ul {
  list-style: square;
  margin: 1em;
  padding: 0 2em;
}
.description li {
  list-style: square;
  margin: 0.5em 0;
}
.description br {
  line-height: 2em;
}
.right {
  width: 250px;
}
.left {
  width: 445px;
}
#similar .gallery {
  margin: 0 auto;
  width: 535px;
}