.ad-gallery {
	width: 1200px;
}

.ad-gallery .ad-image-wrapper {
	width: 1200px;
	height: 800px;
	position: relative;
	overflow: hidden;
}
.ad-image-wrapper img {
  width: 100%;
  height: auto;
}
.ad-gallery .ad-image-wrapper .ad-loader {
	position: absolute;
	z-index: 10;
	top: 48%;
	left: 48%;
	border: 1px solid #CCC;
  display: none;
}
.ad-gallery .ad-image-wrapper .ad-next {
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	display: block;
	z-index: 100;
  display: none;
}
.ad-gallery .ad-image-wrapper .ad-prev {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	display: none;
	z-index: 100;
}

.ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {

	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/ad_next.png);
	width: 30px;
	height: 30px;
	right: 0;
	left: auto;
  display: none;
}
.ad-gallery .ad-image-wrapper .ad-image {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	z-index: 9;
  width: 100%;
}
.ad-gallery .ad-image-wrapper .ad-image a img {
	border: 0;
  width: 100%;
}
.ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
	position: absolute;
	bottom: 0px;
	left: 0px;
	text-align: left;
	width: 100%;
	z-index: 2;
	color: #000;
}

.ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
	display: block;
}
.ad-gallery .ad-controls {
	height: 20px;
  display: none;
}
.ad-gallery .ad-info {
	float: left;
  display: none;
}
.ad-gallery .ad-slideshow-controls {
	float: right;
  display: none;
  
}
.ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
	padding-left: 5px;
	cursor: pointer;
  display: none;
}
.ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
	padding-left: 5px;
	font-size: 0.9em;
  display: none;
  color: #FFF;
}
.ad-gallery .ad-slideshow-running .ad-slideshow-start {
	cursor: default;
	font-style: italic;
  display: none;
}
.ad-gallery .ad-nav {
	width: 100%;
  margin-top: 25px;
  height: 160px;
	position: relative;
 
  
}
.ad-nav {
   display: flex;
  flex-flow: row;
  justify-content: space-around;
}
.ad-gallery .ad-forward, .ad-gallery .ad-back {
	position: relative;
	top: 0;
	height: 100%;
	z-index: 10;
  display: none;
}

.ad-gallery .ad-back {
	cursor: pointer;
	left: 0px;
	width: 38px;
	display: block;
	background: url("../img/arr-left.png") no-repeat;
  background-position: center;
  background-size: 38px auto;
}
.ad-gallery .ad-forward {
	cursor: pointer;
	display: block;
	right: 0px;
	width: 38px;
	background: url("../img/arr-right.png") no-repeat;
  background-position: center;
  background-size: 38px auto;
}
.ad-gallery .ad-nav .ad-thumbs {
	overflow: hidden;
	width: 1080px;
}
.ad-gallery .ad-thumbs .ad-thumb-list {
  display: flex;
  flex-flow: row;
	width: 9000px;
	list-style: none;
}
.ad-gallery .ad-thumbs li {
  margin-right: 20px;

}
.ad-gallery .ad-thumbs li a {
	display: block;
  border-radius: 80px;
  width: 160px;
  height: 160px;
  overflow: hidden;
  text-align: center;
  background-color: #CA7378;
}
.ad-gallery .ad-thumbs li a img {
  width: auto;
  height: 160px;
	display: block;
  margin-left: -40px;
}
.ad-gallery .ad-thumbs li a.ad-active img {
	
}
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
	position: absolute;
	left: -9000px;
	top: -9000px;
}
