.ad-gallery {
    width: 700px;
}

.ad-gallery, .ad-gallery * {
    margin: 0;
    padding: 0;
}

.ad-gallery .ad-image-wrapper-content {
    width:656px;
    height: 450px;
    position: relative;
    overflow: hidden;
    background:#3d3f32;
    margin-top:22px;
    margin-left:22px;
}

.ad-gallery .ad-image-wrapper{
    width:636px;
    height:430px;
    position: relative;
    overflow: hidden;
    margin-left:10px;
    margin-top:10px;
}


.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: 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 {
    background: url(non-existing.jpg)\9
}

.ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
    background: url(../../upload/3/images/interfaccia/freccia_sx_big.jpg) no-repeat left 1px;
    width: 40px;
    height: 50px;
    display: none;
    position: absolute;
    top: 47%;
    left: 0;
    z-index: 101;
}

.ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
    background: url(../../upload/3/images/interfaccia/freccia_dx_big.jpg) no-repeat right 1px;
    width: 40px;
    height: 50px;
    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 .ad-image-description {
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 7px;
    text-align: left;
    width: 100%;
    z-index: 2;
    background: url(../../upload/3/images/interfaccia/opa75.png);
    color: #000;
    font-size:75%;
    color:#3f4241;
}

* 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: 16px;
    font-size:10px;
    width:100%;
    display:none;
    visibility:hidden;
}

.ad-gallery .ad-info {
    float: left;
    color:#fbfbfc !important;
    margin-left:5px;
}

.ad-gallery .ad-slideshow-controls {
    float: right;
    margin-right:10px;
}
/*
.ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
    padding-left: 15px;
    margin-left: 25px;
    cursor: pointer;
    color:#fbfbfc !important;
}

.ad-gallery .ad-slideshow-controls .ad-slideshow-start {
    font-weight:bold;
    background:url(../../upload/2/images/interfaccia/Avanti.jpg) no-repeat left 1px;
}

.ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
    cursor: default;
    font-weight:normal;
    background:url(../../upload/2/images/interfaccia/Pausa.jpg) no-repeat left 1px;
    color:#B8B8BF !important;
}

.ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
    padding-left: 5px;
    font-size: 0.9em;
    color:#fbfbfc
    display:none !important;
}

.ad-gallery .ad-slideshow-running .ad-slideshow-start {
    cursor: default;
    font-weight:normal;
    width:20px !important;
    background:url(../../upload/3/images/interfaccia/Avanti.jpg) no-repeat left 1px;
    color:#B8B8BF !important;
}

.ad-gallery .ad-slideshow-running .ad-slideshow-stop {
    font-style: normal;
    font-weight:bold;
    cursor: pointer;
    background:url(../../upload/3/images/interfaccia/Pausa.jpg) no-repeat left 1px;
    color:#fbfbfc !important;
}
*/
.ad-gallery .ad-nav {
    width:700px;
    position: relative;
    border-bottom:1px solid #3a3f31;
    height:150px;
    overflow:hidden;
}

.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: 60px;
}

.ad-gallery .ad-back {
    cursor: pointer;
    left: 0px;
    width:40px;
    display: block;
    background: url(../../upload/3/images/interfaccia/freccia_sx_big.jpg) 0px 50px no-repeat;
    background-color:#434a38;
    height:150px;
}

.ad-gallery .ad-forward {
    cursor: pointer;
    display: block;
    right: 0px;
    width:40px;
    background: url(../../upload/3/images/interfaccia/freccia_dx_big.jpg) 0px 50px no-repeat;
    background-color:#434a38;
    height:150px;
}

.ad-gallery .ad-nav .ad-thumbs {
    overflow: hidden;
    width:100%;
    height:150px;
}

div.ie8_gallery .ad-gallery .ad-nav .ad-thumbs,
div.ie7_gallery .ad-gallery .ad-nav .ad-thumbs
 {
	width:699px;
}

.ad-gallery .ad-thumbs .ad-thumb-list {
    float: left;
    width: 9000px;
    list-style: none;
}

.ad-gallery .ad-thumbs li {
    float: left;
}

.ad-gallery .ad-thumbs li.last {
    float: left;
    padding-right: 0px;
}

.ad-gallery .ad-thumbs li a {
    display: block;
}

.ad-gallery .ad-thumbs li a img {
    display: block;
    height:150px;
    border-left:1px solid #797962;
    border-right:1px solid #797962;
}

.ad-gallery .ad-thumbs li.first a img 
{
    border-left:0px;
}

.ad-gallery .ad-thumbs li.last a img 
{
    border-right:0px;
}

.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;
}