#gallery-categories {
  float: left;
  width: 538px;
  padding: 10px 0;
}

#gallery-categories dl {
  float: left;
  width: 538px;
  margin: 10px 0 20px 0;
  padding: 0;
  display: inline; /* fix for margin doubling in IE/win */  
}

#gallery-categories dt {
  float: right;
  width: 363px;
  margin: 0;
  padding: 0;
  font-size: 1.5em;
  letter-spacing: 1px;
  color: #627081;
}

* html #gallery-categories dt {
  width: 361px;
}

#gallery-categories dd {
  padding: 0;
  line-height: 1.5em;
  color: #666;
  text-align: justify;
}

#gallery-categories dd.img a {
  float: left;
  margin: 0 15px 0 0;
  background: #fff;

  width: 160px;
  text-align: center;
  display: block;
}

#gallery-categories dd.img a:hover img {
  border: 1px solid #F18E00;
}

#gallery-categories dd.img a img {
  padding: 4px;
  
  border: 1px solid #d9e0e6;
  border-bottom-color: #c8cdd2;
  border-right-color: #c8cdd2;

  width: auto;
  display: block;
  margin: 0 auto;
}

#gallery-categories .alt dt {
  float: left;
}

#gallery-categories .alt dd.img a {
  float: right;
  margin: 0 0 0 15px;
}

div#category-description {
  margin-bottom: 2em;
  text-align: justify;
}



/* --------------------------------- */

#gallery-images ul {
  display: block;
  padding: 0;
  margin: 0;
  clear: left;
}
  

#gallery-images li {
  float: left;
  margin-right: 29px;
  width: 158px;
  display: block;
  margin-bottom: 23px;
  position: relative;
  
  text-align: center;
}

#gallery-images li.three {
  margin-right: 0;
}

#gallery-images li span {
  display: block;
  text-align: center;
  font-weight: bold;
}

#gallery-images li a {
  float: left;

  width: 158px;
  display: block;

  text-align: center;
}

#gallery-images li a:hover img {
  border: 1px solid #F18E00;
}

#gallery-images li a img {
  padding: 4px;
  border: 1px solid #d9e0e6;
  border-bottom-color: #c8cdd2;
  border-right-color: #c8cdd2;
  background: #fff;
}

/* --------------------------------- */

#gallery-image {
  overflow: hidden;
  padding-top: 10px;
  text-align: center;
  width: 100%;
}

#gallery-image img {
  padding: 4px;
  border: 1px solid #d9e0e6;
  border-bottom-color: #c8cdd2;
  border-right-color: #c8cdd2;
  background: #fff;
  margin-bottom: 1em;
}


#gallery-image-navigation .next-image {
  position: absolute; 
  right: 1px;
}

* html #gallery-image-navigation .next-image {
  bottom: 0;
}

#gallery-image-navigation .prev-image {
  position: absolute;
  left: 1px;
}

* html #gallery-image-navigation .prev-image {
   bottom: 0;
}


#gallery-image-navigation {
  position: relative;
  display: block;
  text-align: center;
  padding-top: 1em;
  overflow: visible;
  margin-bottom: 2em;
}

* html #gallery-image-navigation {
  height: 1px;
}