#content #gallery a {
	background-color:transparent;
}

/* mode galleries */
#gallery.modeGalleries .item {
    background:transparent url(../images/gallery-album-bg.png) no-repeat 50% 0;
    color: black;
    float: left;
    height: 278px;
    margin: 11px;
    position: relative;
    width: 278px;
}

#gallery.modeGalleries .item p {
    margin: 0;
}

#gallery.modeGalleries .thumbnails5 a {
    display: block;
    left: 48px;
    height: 200px;
    position: absolute;
    top: 62px;
    width: 200px;
}
#gallery.modeGalleries .thumbnails5  span {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
    left: 0;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

#gallery.modeGalleries .thumbnails5  img {
    display: none;
}

#gallery.modeGalleries h2 {
	font-size:120%;
	left:65px;
    line-height: 100%;
    padding: 0 10px;
    position: absolute;
    text-align: center;
	top:17px;
    width: 150px;
}

#gallery.modeGalleries h2 a {
    color: white;
    text-decoration: none;
}

#gallery.modeGalleries .item.active h2 a, 
#gallery.modeGalleries h2 a:hover {
    color:#372e17;
}

/* mode gallery */
#gallery.modeGallery h1 {
	padding-left:11px;
}
#gallery.modeGallery .line {
	clear:both;
}
#gallery.modeGallery .image {
    background:transparent url(../images/gallery-image-bg.png) no-repeat 50% 50%;
    border:0;
    color: black;
    float: left;
    height: 230px;
    position: relative;
    width: 230px;
}
#gallery.modeGallery .image .subWrapper {
    background-position:50% 50%;
    background-repeat:no-repeat;
	height:200px;
	margin:15px;
	width:200px;
}

#gallery.modeGallery .image img {
    display: none;
}

#gallery.modeGallery .image a {
    display: block;
    height: 100%;
    width: 100%;
}
#gallery.modeGallery .image .more {
	display:none;
}

#gallery.modeGallery .image.video {
    background-image:url(../images/gallery-video-bg.png);
}
#gallery.modeGallery .image.video a {
    background:transparent url(../images/gallery-video-deco.png) no-repeat 50% 50%;
}
/*#gallery.modeGallery .image.video .more {
	background-color:white;
	bottom:15px;
	display:block;
	position:absolute;
	text-align:center;
	width:200px;
}
*/

/* mode item (done very quickly) */
#gallery.modeItem .image {
    background-color: white;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    color: black;
    height: 630px;
    margin:auto;
    position: relative;
    width: 800px;
}

.jsOn #gallery.modeItem .image img {
    display: none;
}
#gallery.modeItem .image .title {
	bottom:0.6em;
    font-family: Purisa, "Comic Sans MS", Georgia, serif;
	font-size:150%;
    line-height: 100%;
    padding: 0 10px;
    position: absolute;
    text-align: center;
	width:780px;
}