.ad-gallery {
  width: 419;  
  
}
.ad-gallery, .ad-gallery * {
  margin: 0;
  padding-top:0;
  padding: 0;
}
/* ARCO MAIOR */
  .ad-gallery .ad-image-wrapper {
	width: 419 px;
	height: 390px;
	position:relative;
	overflow: hidden;
	border: 2px solid #0D083B; 
	color: #000033;

  }
    .ad-gallery .ad-image-wrapper .ad-loader {
      position: relative;
	  width
	  z-index: 10;
      top: 48%;
      left: 48%;
    }
	
	/* SETAS IMAGEM MAIOR */
    .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 {
      /* Or else IE will hide it */
      background: url(non-existing.jpg);
	  color:#000000;
	  
	  
    }
      /* SETAS IMAGEM MAIOR tamnho poscição*/
	  
	  .ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(esquerda.jpg);
        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(ad_next.png);
        width: 30px;
        height: 30px;
        right: 0;
        left: auto;
      }
	       /* imagem maior*/
	  
    .ad-gallery .ad-image-wrapper .ad-image {
      position: absolute;
	    margin: 0;
	   padding-top: 0px;
	  /*border: 1px solid #0D083B;*/
     /* overflow: hidden;*/
      left: 0;
      z-index: 9px;
    }
	/* LENGENDA */
      .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        position: absolute;
		top:270px;
        left: 0px;
        padding: 7px;
        text-align: center;
        width: 419px;
        z-index:2;
        background: url();
        color: #000;
		font-family:tahoma;
		font-size:12px;
      }
      * html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        background: none;
        filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='opa75.png');
		
      }
        .ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
          display: block;
        }
			/* Espaço entre imagem gde e miniaturas */
  .ad-gallery .ad-controls {
    height: 15px;	
  }
    .ad-gallery .ad-info {
      float: left;
	  font-family:tahoma;
	  font-size:10px;
    }
    .ad-gallery .ad-slideshow-controls {
      float: right;
	  font-family:tahoma;
	  font-size:10px;
    }
	/* controle slide */
      .ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
        
		padding-left: 5px;
        cursor: pointer;
		font-family:tahoma;
        font-size:10px;
      }
      .ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
        padding-left: 5px;
		font-family:tahoma;
        font-size:10px;
      }
    .ad-gallery .ad-slideshow-running .ad-slideshow-start {
    
	  cursor: default;
      font-style: italic;
	  font-family:tahoma;
        font-size:10px;
    }
  .ad-gallery .ad-nav {
  /* tamanho e posiçãoo da rolagem miniaturas */
    width: 419;
    position: relative;
	
  }
    .ad-gallery .ad-forward, .ad-gallery .ad-back {
      position: absolute;
      top: 0;
      height: 100%;
      z-index: 10;
    }
    /* IE 6 doesn't like height: 100% */
    * html .ad-gallery .ad-forward, .ad-gallery .ad-back {
      height: 419px;
    }
	/* controle seta miniaturas */
    .ad-gallery .ad-back {
      cursor: pointer;
      left: -40px;
      width: 30px;
      display: block;
      background: url(esq.gif) 0px 30px no-repeat;
    }
    .ad-gallery .ad-forward {
      cursor: pointer;
      display: block;
      right: -40px;
      width: 30px;
      background: url(dir.gif) 0px 30px no-repeat;
    }
    .ad-gallery .ad-nav .ad-thumbs {
      overflow: hidden;
      width: 100%;
    }
      .ad-gallery .ad-thumbs .ad-thumb-list {
        float: left;
        width: 9000px;
        list-style: none;
      }
	  
	  /* fotos pequenas */
        .ad-gallery .ad-thumbs li {
          float: left;
		   /* espaço entre as miniaturas */
          padding-right: 3px;
        }
          .ad-gallery .ad-thumbs li a {
            display: block;
          }
            .ad-gallery .ad-thumbs li a img {
              width: 77px;
			  height:77px;
			  border: 2px solid #0d083b;
              display: block;
            }
            .ad-gallery .ad-thumbs li a.ad-active img {
              border: 2px solid #000000;
            }
			
			
			
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
  position: absolute;
  left: -9000px;
  top: -9000px;
}
