/**
* 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/
*/
.ad-gallery {
	color: #333;
}
.ad-gallery {
	margin: 0;
	padding: 0;
}
.ad-gallery .ad-image-wrapper {
	height: 420px;
	position: relative;
	overflow: hidden;
}
.ad-gallery .ad-image-wrapper .ad-loader {
	position:absolute;
	margin: auto;
	z-index: 10;
	top: 48%;
	left: 48%;
}
.ad-gallery .ad-image-wrapper .ad-next-image, .ad-gallery .ad-image-wrapper .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-comments-image, .ad-gallery .ad-image-wrapper .ad-share-image {
	position: relative;
	width: 30px;
	height: 30px;
	left: 15px;
	cursor: pointer;
	display: block;
}
.ad-gallery .ad-image-wrapper .ad-comments-image {
	top: 10px;
}
.ad-gallery .ad-image-wrapper .ad-share-image {
	top: 20px;
}
.ad-share-text, .ad-comments-text {
	display: none;
	position: absolute;
	margin: 0;
	padding: 0;
	clear: both;
	background-color: rgba(255, 255, 255, 0.4);
	-moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
	overflow: auto;
}
.ad-comment-span p {
	background-color: rgba(255, 255, 255, 0.25);
	padding: 0 30px 0 30px;
	-moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
}
.ad-commentNew-span {
	background-color: rgba(255, 255, 255, 0.25);
	padding: 0 30px 0 30px;
	margin: 15px 30px 15px 30px;
	-moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
}
.ad-comment-title {
	font-size: 1.5em;
	line-height: 2.5em;
	font-weight: bold;
	margin: 15px 30px 0 30px;
}
.ad-comment-title span{
	font-size: 0.8em;
}
.ad-comment-text {
	font-size: 1.25em;
	margin: 0 30px 15px 30px;
}
.ad-commentNew-span .ad-comment-text{
	margin: 0 30px 15px 0;
}
.btnSubmit {
    display: inline-block;
    font-size: 1.3em;
    font-weight: 600;
    color: #FFF;
    margin: 4px 0;
    padding: 4px 30px;
    background-color: #E5BFD9;
    border:none;
    cursor: pointer;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
}
.btnSubmit:hover{
    background-color: #D18CBA;
}
.ad-commentBtn-span {
	margin: 15px 30px 15px 30px;
}
.ad-share {
	width: 50%;
	min-width: 178px;
	height: 40%;
	margin: 10% auto;
	display: block;
	border: 0;
	-moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    background-color: rgba(255, 255, 255, 0.4);
}
.ad-share-div {
	margin: 10%;
}
.ad-share a {
}
.ad-share h2 {
	font-size: 2.4em;
	font-weight: 200;
	letter-spacing: 0.06em;
	text-align: center;
}
.ad-gallery .ad-image-wrapper .ad-next-image {
	top: 30px;
	z-index: 200;
}
.ad-gallery .ad-image-wrapper .ad-prev-image {
	top: 40px;
	z-index: 200;
}
.ad-gallery .ad-image-wrapper .ad-comments-image {
	background: url(../img/interface/comments.png) no-repeat;
	z-index: 101;
}

.ad-gallery .ad-image-wrapper .ad-share-image {
	background: url(../img/interface/share.png) no-repeat;
	z-index: 102;
}
.ad-gallery .ad-image-wrapper .ad-prev-image {
	background: url(../img/interface/arrowLeft.png) no-repeat;
	z-index: 103;
}
.ad-gallery .ad-image-wrapper .ad-next-image {
	background: url(../img/interface/arrowRight.png) no-repeat;
	z-index: 104;
}
.ad-comments-image:hover, .ad-share-image:hover, .ad-prev-image:hover, .ad-next-image:hover {
	opacity: 0.75;
}
.ad-gallery .ad-image-wrapper .ad-image {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	z-index: 9;
	border: 5px solid #EEE;
	-moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
}
.ad-gallery .ad-image-wrapper .ad-image img {
	border: 0;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
    border-radius:5px;
}
.ad-gallery .ad-image-wrapper .ad-image a img {
	border: 0;
}
.ad-gallery .ad-nav .ad-image-description {
	position: absolute;
	width: 100%;
	margin:0px;
	padding: 0px;
	top:-40px;
	text-align: left;
	z-index: 9;
}
.ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
	display: block;
}
.ad-gallery .ad-controls {
	position: absolute;
	height: 170px;
	width: 55px;
	display: block;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
    border-radius:10px;
}
.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 {
	padding-left: 5px;
	cursor: pointer;
}
.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;
	font-style: italic;
}
.ad-gallery .ad-nav {
	width: 765px;
	position: relative;
	margin: auto;
	padding: 0;
}
.ad-gallery .ad-forward, .ad-gallery .ad-back {
	position: absolute;
	top: 0;
	height: 100%;
	z-index: 10;
}
/* IE 6 doesn't like height: 100% */
.ad-gallery .ad-forward, .ad-gallery .ad-back {
	height: 30px;
	margin: 17.5px 0 0 0;
	background-color: #000;
}
.ad-gallery .ad-back {
	cursor: pointer;
	left: -38px;
	width: 30px;
	display: block;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
    border-radius:10px;
	background: url(../img/interface/arrowLeft.png) no-repeat;
}
.ad-gallery .ad-forward {
	cursor: pointer;
	display: block;
	right: -38px;
	width: 30px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
    border-radius:10px;
	background: url(../img/interface/arrowRight.png)  no-repeat;
}
.ad-gallery .ad-nav .ad-thumbs {
	overflow: hidden;
	background: #EEE;
	border: 5px solid #EEE;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
    border-radius:10px;
}
.ad-gallery .ad-thumbs .ad-thumb-list {
	float: left;
	list-style: none;
}
.ad-gallery .ad-thumbs li {
	float: left;
	padding-right: 5px;
}
.ad-gallery .ad-thumbs li a {
	display: block;
}
.ad-gallery .ad-thumbs li a img {
	display: block;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
    border-radius:10px;
}
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
	position: absolute;
	left: -9000px;
	top: -9000px;
}