#gallery-border {
	border: 5px solid #2A2A2A;
	position: relative;
}

#gallery {
 	font-family: verdana, arial;
	font-size: 11px;
	margin: 10px;

}

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

.ad-image-wrapper {
    width: 100%;
    height: 300px;
    margin-bottom: 0px;
    position: relative;
    overflow: hidden;
}
  
.ad-loader {
  position: absolute;
  z-index: 10;
  top: 48%;
  left: 48%;
}

.ad-next {
  position: absolute;
  right: 0;
}

.ad-prev {
  position: absolute;
  left: 0;
}

.ad-prev, .ad-next {
	width: 25%;
	cursor: pointer;
	display: block;
	z-index: 100;
	height: 120px;
	top: 30%;
}

.ad-prev, .ad-next {
  /* Or else IE will hide it */
  background: url(non-existing.jpg)\9
}

.ad-prev-image {
background: url(/images/diaporama/ad_prev.png);
left: 0;
}

.ad-next-image {
background: url(/images/diaporama/ad_next.png);
right: 0;
}

.ad-prev-image, .ad-next-image {
width: 30px;
height: 30px;
display: none;
position: absolute;
top: 40%;
z-index: 101;
}

.ad-image {
position: absolute;
overflow: hidden;
top: 0;
left: 0;
z-index: 9;
}

.ad-image-description {
position: absolute;
top: 0px;
left: 0px;
text-align: left;
width: 425px;
z-index: 2;
color: #EFEFEF;
background: url(/images/diaporama/opa75.png);
font-size: 9px;
}

* html .ad-image-description {
background: none;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='/images/diaporama/opa75.png');
}

.ad-description-title  {
	padding: 12px 12px 4px 7px;
	font-weight: bold;
}

.ad-description-body {
	padding: 0px 12px 7px 7px;
}

.ad-description-title {
  display: block;
}
.ad-controls {
	height: 30px;
	position: relative;
}
.ad-info {
	position: absolute;
	right: 0;
	top: 2px;
	color: #FFFFFF;
	font-size: 9px;
}
.ad-slideshow-controls {
	padding: 4px;
	text-align: center;
	position: relative;
}

.ad-slideshow-start, .ad-slideshow-stop {
	margin-left: 4px;
	cursor: pointer;
}

.ad-slideshow-countdown {
position: absolute;
left: 0;
top: 4px;
}
  
.ad-nav {
width: 100%;
z-index: 20;
position: relative;
}
 

#ad-nav-cont {
	position: absolute; 
	bottom: 4px;
	width: 415px;
}
 
.ad-thumbs {
  overflow: hidden;
  width: 100%;
}

.ad-forward, .ad-back {
      position: absolute;
      top: 4px;
      height: 70px;
      z-index: 10;
}

.ad-back {
  cursor: pointer;
  left: -22px;
  width: 15px;
  display: block;
  background: url(/images/diaporama/ad_scroll_back.png) 0px 22px no-repeat;
}
.ad-forward {
  cursor: pointer;
  display: block;
  right: -22px;
  width: 15px;
  background: url(/images/diaporama/ad_scroll_forward.png) 0px 22px no-repeat;
}
    

.ad-thumb-list {
float: left;
width: 20000px;
height: 72px;
list-style: none;
}

.ad-thumbs li {
float: left;
padding-right: 5px;
}


.ad-thumbs li a {
	display: block;
}

.ad-thumbs li a img {
border: 3px solid #CCC;
display: block;
}

.ad-thumbs li a.ad-active img {
border: 3px solid #111111;
}

/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
  position: absolute;
  left: -9000px;
  top: -9000px;
}