.embedded_gallery .gallery_item {
	float: left;
	display: block;
	width: 50%;
}
.embedded_gallery .gallery_item .image {
	float: left;
	padding-bottom: 20px;
	cursor: pointer;
}
.embedded_gallery .gallery_item .image img {
	border: 1px solid white;
	padding: 0px;
	-webkit-box-shadow: rgba(0,0,0,0.4) 1px 1px 3px;
	-moz-box-shadow: rgba(0,0,0,0.4) 1px 1px 3px;
	box-shadow: rgba(0,0,0,0.5) 1px 1px 3px;
	behavior: url(/core/design/pie/PIE.php);
}
.embedded_gallery .gallery_item .info {
	float: left;
	padding-left: 20px;
}
.embedded_gallery .gallery_item .info h5 {
	font-size: 10pt;
}
.embedded_gallery .gallery_item .info h5, .embedded_gallery .gallery_item .info p {
	margin: 3px 0px;
}
.embedded_gallery .gallery_item .stack {
	position: relative;
}
.embedded_gallery .gallery_item .stack .stacked_2 {
	position: absolute;
	z-index: 30;
	top: 5px;
	left: 5px;
}
.embedded_gallery .gallery_item .stack .stacked_1 {
	position: absolute;
	z-index: 40;
	top: 10px;
	left: 10px;
}
/* inline photo listing */
.photo_listing .main_photo .photo {
	position: relative;
	background-color: black;
	background-position: center center;
	background-repeat: no-repeat;
}
.photo_listing .thumbs .thumb {
	display: inline-block;
}
/* Modal display of an album */
.galleryModal {
	background: black url(../graphics/gallery_background.gif) repeat-x top left;
	-webkit-box-shadow: rgba(0,0,0,0.7) 0px 2px 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	box-shadow: rgba(0,0,0,0.7) 0px 2px 3px;
	border-radius: 5px;
	behavior: url(/core/design/pie/PIE.php);
	position: absolute;
	top: 100px;
	left: 100px;
	z-index: 2000;
	color: white;
	font-size: 9pt;
	font-family: Arial;
	padding: 20px;
	padding-top: 0px;
}
.galleryModal .close {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 40px;
	height: 40px;
	background: url(../graphics/gallery_close.gif) no-repeat center center;
	cursor: pointer;
}
.galleryModal .albumBrowser {
	position: relative;
}
.galleryModal .mainDisplay {
	padding: 20px;
	position: relative;
}
.galleryModal .mainDisplay .arrow {
	position: absolute;
	cursor: pointer;
	width: 40px;
}
.galleryModal .mainDisplay .arrow_back {
	top: 20px;
	left: 20px;
	background: url(../graphics/back.png) no-repeat right center;
}
.galleryModal .mainDisplay .arrow_next {
	top: 20px;
	right: 20px;
	background: url(../graphics/next.png) no-repeat left center;
}
.galleryModal .mainDisplay .photo {
	background-position: center;
	background-repeat: no-repeat;
}
.galleryModal .albumTitle {
	font-size: 12pt;
	padding: 20px 0px;
}
.galleryModalVertical .thumbnailDisplay {
	overflow: hidden;
}
.galleryModalHorizontal .thumbnailDisplay {
	position: absolute;
	border-right: 1px solid #555555;
	top: 0px;
	overflow: hidden;
}
.galleryModal .thumbnailDisplay .thumbnail {
	float: left;
	padding-right: 20px;
	padding-bottom: 20px;
	cursor: pointer;
}
.galleryModal .thumbnailDisplay .thumbnail .img {
	background-repeat: no-repeat;
	background-position: center;
}
.galleryModal .galleryArrow {
	position: absolute;
	height: 28px;
	background-image: url(../graphics/gallery_thumb_arrows_vertical.png);
	background-repeat: no-repeat;
}
.galleryModal .galleryArrowTop {
	background-position: center bottom;
	top: 0px;
	left: 0px;
}
.galleryModal .galleryArrowBottom {
	background-position: center top;
	bottom: 0px;
	left: 0px;
}
.galleryModal .caption {
	text-align: center;
}