/**
 * Copyright (c) 2012 Anders Ekdahl (http://coffeescripter.com/)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * Version: 1.2.7
 *
 * Demo and documentation: http://coffeescripter.com/code/ad-gallery/
 */
ul {
	list-style-image:url(list-style.gif);
}

#gallery {
	
}
.ad-gallery {
  width: auto;
}
.ad-gallery, .ad-gallery * {
  margin: 0;
  padding: 0;
}
  .ad-gallery .ad-image-wrapper {
    width: 100%;
    position: relative;
	top: 85px;
    overflow: hidden;
  }
    .ad-gallery .ad-image-wrapper .ad-loader {
      position: absolute;
      z-index: 10;
      top: 48%;
      left: 48%;
      border: 1px solid #CCC;
    }
    .ad-gallery .ad-image-wrapper .ad-next {
      position: fixed;
      left: 116px;
      bottom: 0;
      width: 32px;
      height: 25px;
      cursor: pointer;
      display: block;
      z-index: 200;
    }
	.ad-next:hover {
		background-color:#FFF;
		opacity:0.5;
		filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
	}
    .ad-gallery .ad-image-wrapper .ad-prev {
      position: fixed;
      left: 20px;
      bottom: 0;
      width: 32px;
      height: 25px;
      cursor: pointer;
      display: block;
      z-index: 2000;
    }
	.ad-prev:hover {
		background-color:#FFF;
		opacity:0.5;
		filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
	}

      .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(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;
    }
      .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: url(opa75.png);
        color: #000;
      }
      * 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;
        }
  .ad-gallery .ad-controls {
    height: 25px;
	position:absolute;
	bottom:0;
	left:22px;
	color:white;
	z-index:1000;
  }
    .ad-gallery .ad-info {
      float: left;
    }
    .ad-gallery .ad-slideshow-controls {
      float: right;
    }
      .ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
        cursor: pointer;
		display:block;
		width:32px;
		height:25px;
		float:left;
		position:relative;
		left:30px;
		bottom:0;
      }
	  .ad-gallery .ad-slideshow-controls .ad-slideshow-start{
		  background-image:url("../images/btn_play.gif");
		  }
	  .ad-slideshow-start:hover {
		  background:#FFF;
		  opacity:0.5;
		  filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
	  }
	  .ad-slideshow-stop:hover {
		  background:#FFF;
		  opacity:0.5;
		  filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
	  }
      .ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
        padding-left: 5px;
        font-size: 0.9em;
      }
    .ad-gallery .ad-slideshow-running .ad-slideshow-start {
      cursor: default;
      background-image:url("../images/btn_play.png");
	  background-color:#FFF;
	  
	  
    }
	.ad-gallery .ad-slideshow-stopped .ad-slideshow-stop {
      cursor: default;
      font-style: italic;
	  background-color:#FFF;
	  opacity:0.5;
	  filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
    }
  .ad-gallery .ad-nav {
    position: fixed;
	bottom:-6px;
	left:148px;
	z-index:100;
  }
    .ad-gallery .ad-forward, .ad-gallery .ad-back {
      position: absolute;
     bottom: 0;
      height: 0;
      z-index: 10;
	  
    }
    .ad-gallery .ad-back {
      cursor: pointer;
      left: 0;
      width: 40px;
      display: block;
    }
    .ad-gallery .ad-forward {
      cursor: pointer;
      display: block;
      right: 0;
      width: 40px;
    }
    .ad-gallery .ad-nav .ad-thumbs {
      overflow: hidden;
      width: 100%;
    }
      .ad-gallery .ad-thumbs .ad-thumb-list {
        float: left;
        width: 9000px;
        list-style: none;
		height:30px;
		margin-top:20px;
      }
        .ad-gallery .ad-thumbs li {
          float: left;
          padding-right: 1px;
        }
          .ad-gallery .ad-thumbs li a {
            display: block;
          }
            .ad-gallery .ad-thumbs li a img {
              border: 2px solid #DDD;
              display: block;
			  border-radius:5px;
			  width:40px;
            }
            /*.ad-gallery .ad-thumbs li a.ad-active img {
              border: 2px solid #FFF;
            }*/
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
  position: absolute;
  left: -9000px;
  top: -9000px;
}