#gallery {
padding: 10px 5px 0;
background: #edeff2;
border-radius: 5px;
font-family: Arial, Helvetica, sans-serif;
color: #464646;
line-height: 100%;
margin: 0 auto;
}

#gallery p {font: 11px Arial, Helvetica, sans-serif;}

.cust-gallery {
  width: 735px;
}
.cust-gallery, .cust-gallery * {
  margin: 0;
  padding: 0;
}
  .cust-gallery .cust-image-wrapper {
    width: 100%;
    height: 470px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
  }
    .cust-gallery .cust-image-wrapper .cust-loader {
      position: absolute;
      z-index: 10;
      top: 48%;
      left: 48%;
      border: 0;
    }
    .cust-gallery .cust-image-wrapper .cust-next {
      position: absolute;
      right: 0;
      top: 0;
      width: 10%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .cust-gallery .cust-image-wrapper .cust-prev {
      position: absolute;
      left: 0;
      top: 0;
      width: 10%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .cust-gallery .cust-image-wrapper .cust-prev, .cust-gallery .cust-image-wrapper .cust-next {
      /* Or else IE will hide it */
      background: url(non-existing.jpg)\9
    }
      .cust-gallery .cust-image-wrapper .cust-prev .cust-prev-image, .cust-gallery .cust-image-wrapper .cust-next .cust-next-image {
        background: url(prev.png);
        width: 30px;
        height: 30px;
        display: block;
        position: absolute;
        top: 47%;
        left: 0;
        z-index: 101;
      }
      .cust-gallery .cust-image-wrapper .cust-next .cust-next-image {
        background: url(next.png);
        width: 30px;
        height: 30px;
        right: 0;
        left: auto;
      }
    .cust-gallery .cust-image-wrapper .cust-image {
      position: absolute;
      overflow: hidden;
      top: 0;
      left: 0;
      z-index: 9;
    }
      .cust-gallery .cust-image-wrapper .cust-image a img {
        border: 0;
      }
      .cust-gallery .cust-image-wrapper .cust-image .cust-image-description {
		margin: 0 !important;
        position: absolute;
        bottom: -10px;
        left: 0px;
        padding: 3px 5px 5px 7px;
        text-align: left;
        width: 100%;
        z-index: 2;
        background: url(opa75.png);
        color: #000;
      }
      * html .cust-gallery .cust-image-wrapper .cust-image .cust-image-description {
        background: none;
        filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='opa75.png');
      }
        .cust-gallery .cust-image-wrapper .cust-image .cust-image-description .cust-description-title {
          display: block;
		  font: bold 20px Arial, Helvetica, sans-serif;
        }
  .cust-gallery .cust-controls {
    height: 20px;
  }
    .cust-gallery .cust-info {
	  margin: 0 0 0 20px !important;
	  font: bold 12px Arial, Helvetica, sans-serif !important;
    }
    .cust-gallery .cust-slideshow-controls {
      float: right;
    }
      .cust-gallery .cust-slideshow-controls .cust-slideshow-start, .cust-gallery .cust-slideshow-controls .cust-slideshow-stop {
        padding-left: 5px;
        cursor: pointer;
      }
      .cust-gallery .cust-slideshow-controls .cust-slideshow-countdown {
        padding-left: 5px;
        font-size: 0.9em;
      }
    .cust-gallery .cust-slideshow-running .cust-slideshow-start {
      cursor: default;
      font-style: italic;
    }
  .cust-gallery .cust-nav {
    width: 95%;
	height: 80px;
	margin: 0 auto !important;
    position: relative;
  }
    .cust-gallery .cust-forward, .cust-gallery .cust-back {
      position: absolute;
      top: 0;
      height: 100%;
      z-index: 10;
    }
    /* IE 6 doesn't like height: 100% */
    * html .cust-gallery .cust-forward, .cust-gallery .cust-back {
      height: 100px;
    }
    .cust-gallery .cust-back {
      cursor: pointer;
      left: -20px;
      width: 13px;
      display: block;
      background: url(scroll_back.png) 0px 22px no-repeat;
    }
    .cust-gallery .cust-forward {
      cursor: pointer;
      display: block;
      right: -20px;
      width: 13px;
      background: url(scroll_forward.png) 0px 22px no-repeat;
    }
    .cust-gallery .cust-nav .cust-thumbs {
	  margin: 0 auto;
      overflow: hidden;
      width: 700px;
    }
      .cust-gallery .cust-thumbs .cust-thumb-list {
        float: left;
		margin: 0 !important;
		padding: 0 !important;
        width: 9000px;
        list-style: none;
      }
        .cust-gallery .cust-thumbs li {
          float: left;
          padding-right: 1px;
        }
          .cust-gallery .cust-thumbs li a {
            display: block;
          }
            .cust-gallery .cust-thumbs li a img {
              border: 2px solid #CCC;
              display: block;
            }
            .cust-gallery .cust-thumbs li a.cust-active img {
              border: 2px solid #616161;
            }
/* Can't do display none, since Opera won't load the images then */
.cust-preloads {
  position: absolute;
  left: -9000px;
  top: -9000px;
}