/* gallery Plugin ------------------------------------------------------------*/
html,body {
    height: 100%;
}

.gallery {
    background-color: #efefef;
    border: 1px solid #dbdbdb;
    padding: 10px 10px 10px 18px;
    width: 255px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

    .gallery a {
        clear: both;
        display: block;
        padding: 0 0 10px 0;
        position: relative;
        width: 245px;
    }

    .gallery a div {
        background: url(../img/img_next.png) no-repeat right center;
        height: 50px;
        margin:-30px 0 0 0;
        position: absolute;
        top: 50%;
        right: -1px;
        width: 25px;
    }

    .gallery a:hover div {
        background-image: url(../img/img_next_on.png);
    }

    .gallery a img {
        width: 245px;
    }

.galleryDescription {
    float: left;
    padding: 12px 20px 10px 20px;
    text-align: left;
}

* html .galleryDescription { padding-top: 0; }

.galleryNav {
    float: left;
    padding: 10px 0;
    text-align: center;
    vertical-align: middle;
}

    .galleryNav a img{
        padding: 0 7px;
    }

    .galleryNav strong {
        position: relative;
        top: -4px;
    }

.galleryImg {
    border: 1px solid #dbdbdb;
    display: block;
}

.narrowcolumn {
    border: 1px solid #dbdbdb;
    float: left;
    margin-bottom: 20px;
    text-align: center;
}

.gallerySource {
    color: #bdbdbd;
    float: right;
    padding: 0 15px 0 0;
    text-align: right;
    overflow: hidden;
}

.galleryBackTop {
    float: left;
    padding: 10px 0 0 10px;
}
.galleryBackBottom {
    float: left;
    padding: 0 0 10px 10px;
}

#galleryWrap {
    clear: both;
    height: auto;
    margin: 0 auto;
    position: relative;
}

#galleryWrap .imgPrev {
    background: url(../img/img_prev.png) no-repeat center left;
    display: block;
    height: 100%;
    position: absolute;
    left: 1px;
    width: 50%;
    z-index: 999;
}

    #galleryWrap .imgPrev:hover {
        background-image: url(../img/img_prev_on.png);
    }

#galleryWrap .imgNext {
    background: url(../img/img_next.png) no-repeat center right;
    display: block;
    height: 100%;
    position: absolute;
    right: -1px;
    width: 50%;
    z-index: 999;
}

    #galleryWrap .imgNext:hover {
        background-image: url(../img/img_next_on.png);
    }

* html #galleryWrap .imgNext { height: expression(this.parentElement.clientHeight + 'px'); right: 0; }
* html #galleryWrap .imgPrev { height: expression(this.parentElement.clientHeight + 'px'); left: 1px; }

/* google ad for gallery -----------------------------------------------------*/
.google_ad_single {
    padding: 0 0 20px;
}

    .google_ad_single .google_link {
        clear: both;
        color: #666;
        display: block;
        font-weight: bold;
    }

    .google_ad_single .google_ad_headline {
        float: left;
        font-size: 1em;
        font-weight: bold;
    }

        .google_ad_single .google_ad_headline a {
            color: #0EAFD4;
        }

        .google_ad_single .google_ad_headline a:hover {
            color: #666;
        }

    .google_ad_single .google_ad_text {
        display: block;
        font-size: 1em;
    }

    .google_ad_single .google_ad_visible_link {
        display: block;
        float: left;
    }
