#content-wrap ul, #content-wrap ul li{list-style:none; margin:0; padding:0;}

.ad-gallery {
  width: 660px;}
.ad-gallery, .ad-gallery * {
  margin: 0;
  padding: 0;
}

	#content-wrap .ad-gallery .ad-image-wrapper img{width:660px; height:358px;}



  .ad-gallery .ad-image-wrapper {
    width: 100%;
    height: 358px;
    margin-bottom: 12px; margin-top:10px;
    position: relative;
    overflow: hidden; 
  }
 /*   .ad-gallery .ad-image-wrapper .ad-next {
      position: absolute;
      right: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .ad-gallery .ad-image-wrapper .ad-prev {
      position: absolute;
      left: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .ad-gallery .ad-image-wrapper .ad-prev, .ad-gallery .ad-image-wrapper .ad-next {
      background: url(non-existing.jpg)\9
    }
      .ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(../images/gallery/ad_prev.png);
        width: 30px;
        height: 30px;
        display: none;
        position: absolute;
        top: 47%;
        left: 0;
        z-index: 101;
      }
      .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(../images/gallery/ad_next.png);
        width: 30px;
        height: 30px;
        right: 0;
        left: auto;
      }*/
    .ad-gallery .ad-image-wrapper .ad-image {
      position: absolute;
      overflow: hidden;
      top: 0;
      left: 0;
      z-index: 9; width:660px;
    }
	
      .ad-gallery .ad-image-wrapper .ad-image a img {
        border: 0;
      }
      .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        position: absolute;
        bottom: 0px;
        left: 0px;
        padding: 7px;
        text-align: left;
        width: 100%;
        z-index: 2;
		background:#000;
		filter: alpha(opacity=80); /* internet explorer */
		-khtml-opacity: 0.8;      /* khtml, old safari */
		-moz-opacity: 0.8;       /* mozilla, netscape */
		opacity: 0.8;           /* fx, safari, opera */		
        color: #fff;
      }
        .ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
          display: block;
        }

  .ad-gallery .ad-nav {
    width: 660px;
  }


    .ad-gallery .ad-back {
      cursor: pointer;
	  float:left;
      width: 28px;
	  height:37px;
      display: block;
	  margin:12px 0px;
      background:url(../images/gallery/scroll_back.jpg) no-repeat center center;
    }
		 
    .ad-gallery .ad-forward {
      cursor: pointer;
      display: block;
	  float:left;
      width: 28px;
	  height:37px;
	  margin:12px 0px;
      background: url(../images/gallery/scroll_forward.jpg) no-repeat center center;
    }
	
	
   #content-wrap .ad-gallery .ad-nav .ad-thumbs {
      overflow:hidden; float:left; position:relative; z-index:10; width:594px; margin:0 5px;
    }
      .ad-gallery .ad-thumbs .ad-thumb-list {
        float: left;
        width: 100%;
        list-style: none; position:relative; z-index:20;
      }
      #content-wrap .ad-gallery .ad-thumbs li {
          float: left; width:auto; padding:0 4.5px;
        }
		
          .ad-gallery .ad-thumbs li a {
            display: block;
          }
            .ad-gallery .ad-thumbs li a img {
              border: 2px solid #dadadb;
              display: block; height:60px; width:86px; 
            }
            .ad-gallery .ad-thumbs li a.ad-active img{
              border: 2px solid #7e7e7e;
            }
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
  position: absolute;
  left: -9000px;
  top: -9000px;
}