h2.gallery_title {
	display:block;
	position:relative;
	margin:10px 0 5px;
	padding:2px 0;
	font-size:220%;
	color:#555;
	font-weight:bold;
	text-align:center;
}

ul.gallery_images {
	display:block;
	position:relative;
	width:475px;
	list-style:none;
	margin:0 auto;
	padding:0;
	border:none;
	overflow:hidden;
	cursor:default;
}

li.gallery_image {
	display:block;
	position:relative;
	width:156px;
	height:106px;
	float:left;
	clear:none;
	margin:1px;
	padding:0;
	border:none;
	overflow:hidden;
}

li.gallery_image a {
	display:block;
	position:relative;
	width:150px;
	height:100px;
	padding:2px;
	background:#DDD;
	border:1px solid #BBB;
	cursor:-moz-zoom,pointer;
}
li.gallery_image a:hover {
	background:#BBB;
	border-color:#777;
	cursor:-moz-zoom,pointer;
}

li.gallery_image a .gallery_image_height_shim {
	display:block;
	width:1px;
	padding:0;
	margin:0 auto;
	border:none;
}

li.gallery_image a img {
	display:block;
	margin:0 auto;
	padding:0;
	border:none;
}






.gallery_cover {
	background:#000;
	cursor:pointer;
	cursor:no-drop;
}
body .gallery_cover.gallery_opening {
}
body .gallery_cover.gallery_open {
	background:url('images/gallery-cover.png');
	/* begin IE6 */
	_background:none;
	_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/gallery/images/gallery-cover.png', sizingMethod='scale');
	/* end IE6 */
}

.gallery_display {
	padding:10px;
	background:#FFF;
	border:1px solid #000;
	margin:-11px 0 0 -11px;
	overflow:visible;
}

.gallery_display .gallery_closebutton {
	position:absolute;
	display:block;
	width:24px;
	height:24px;
	left:-12px;
	top:-14px;
	padding:0;
	background:url('images/gallery-close.png') 0 0 no-repeat;
	border:none;
	font-size:1px;
	cursor:pointer;
	z-index:999;
}
.gallery_display .gallery_closebutton .innerText {
	display:none;
}

.gallery_display .gallery_closebutton.hover {
	background-position:-24px 0;
	padding:0;
	margin:0;
	border:none;
	font-size:1px;
	cursor:pointer;
}

.gallery_display .gallery_current_text {
	display:block;
	position:absolute;
	width:100%;
	top:50%;
	margin:8px 0 0 -10px;
	padding:0;
	border:none;
	background:none;
	font-weight:bold;
	color:#AAA;
	text-align:center;
	font-size:18px;
}
.gallery_display .gallery_current_text_separator {
	font-weight:normal;
	color:#BBB;
}
.gallery_display .gallery_current_text_inner {
	background:#F5F5F5;
	border:2px solid #EEE;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}


.gallery_display .gallery_nextbutton, .gallery_display .gallery_prevbutton {
	display:block;
	position:absolute;
	top:0;
	height:100%;
	width:50%;
	padding:0;
	background-color:none;
	background-position:center -999em;
	background-repeat:no-repeat;
	border:none;
	color:#000;
	font-family:"Helvetica Neue",calibri,freesans,arial,hevetica,sans;
	font-weight:bold;
	font-size:70px;
	text-transform:lowercase;
	text-align:center;
	cursor:pointer;
	z-index:998;
}
.gallery_display .gallery_nextbutton .innerText, .gallery_display .gallery_prevbutton .innerText {
	position:absolute;
	display:none;
	width:0;
	height:0;
	padding:0;
	margin:0;
	top:-999em;
	left:0;
}
.gallery_display .gallery_nextbutton.hover, .gallery_display .gallery_prevbutton.hover {
	background-position:center;
	cursor:pointer;
}
.gallery_display .gallery_nextbutton {
	background-image:url('images/gallery-next.png');
	right:0;
}
.gallery_display .gallery_prevbutton {
	background-image:url('images/gallery-prev.png');
	left:0;
}


.gallery_display .gallery_throbber {
	display:block;
	position:absolute;
	left:50%;
	top:50%;
	height:16px;
	width:16px;
	margin:-14px 0 0 -8px;
	padding:0;
	background:url('images/gallery-throbber.gif') center no-repeat;
	border:none;
	z-index:997;
}

















.gallery_admin_delete {
	position:absolute;
	right:0;
	top:0;
	padding:1px 3px;
	background:#FFF;
	border:1px solid #AAA;
	border-width:0 0 1px 1px;
	font-weight:bold;
	color:#F55;
	cursor:pointer;
	z-index:997;
}



li.gallery_admin_upload {
	display:block;
	position:relative;
	float:left;
	clear:none;
	margin:1px;
	padding:0;
	border:none;
	overflow:visible;
}

body a.gallery_upload_photo, body a.gallery_upload_photo:hover, body a.gallery_upload_photo.hover {
	display:block;
	position:relative;
	width:150px;
	height:58px;
	padding:44px 2px 2px;
	background:url('images/gallery-throbber.gif') -999px -999px no-repeat #DDD;
	border:1px solid #BBB;
	color:#555;
	text-align:center;
	text-decoration:none;
	font-weight:bold;
	z-index:1;
	cursor:pointer;
}
body a.gallery_upload_photo:hover, body a.gallery_upload_photo.hover {
	background-color:#BBB;
	border-color:#777;
	color:#222;
}

body .gallery_admin_upload.uploading a.gallery_upload_photo {
	background-position:center 5px;
}

a.gallery_upload_photo span.innerText {
	display:block;
	position:relative;
	padding:40px 0 0;
	margin:-24px 0 -16px;
	background:url('images/gallery-image-add.png') center 2px no-repeat;
	text-align:center;
}

body .gallery_admin_upload.uploading a.gallery_upload_photo span.innerText {
	padding:0;
	margin:0;
	background:none;
}


body iframe.gallery_photo_uploader_frame {
	display:block;
	position:absolute;
	left:-1px;
	top:-1px;
	width:156px;
	height:106px;
	z-index:998;
	cursor:pointer;
	opacity:0.01;
	filter:alpha(opacity=1);
	overflow:hidden;
	visibility:visible;
}


.gallery_upload_message {
	display:block;
	position:absolute;
	left:0;
	top:0;
	width:150px;
	height:42px;
	padding:60px 2px 2px;
	background:url('images/gallery-message.png') center 22px no-repeat #FFF;
	border:1px solid #000;
	color:#000;
	font-weight:normal;
	text-align:center;
	cursor:pointer;
	z-index:999;
}



.gallery_admin_title_changer {
	display:block;
	position:relative;
	margin:10px 0 5px;
	padding:0;
	font-size:100%;
	overflow:hidden;
	z-index:1;
}
.gallery_admin_title_field {
	display:block;
	position:absolute;
	left:-62px;
	top:-1px;
	width:100%;
	height:100%;
	padding:2px 62px 2px 2px;
	margin:0;
	border:none;
	background:#FFF;
	text-indent:120px;
	text-align:center;
	font-size:220%;
	font-family:inherit;
	font-weight:bold;
	color:#555;
	cursor:text;
	z-index:5;
}
body #w3c a.gallery_admin_title_save, body a.gallery_admin_title_save:hover {
	display:block;
	position:absolute;
	right:-2px;
	top:-2px;
	margin:0;
	padding:2px 2px 2px;
	width:55px;
	height:100%;
	background:#CCC;
	border:none;
	border-left:1px solid #AAA;
	color:#333;
	font-size:110%;
	font-weight:bold;
	text-align:center;
	text-decoration:none;
	z-index:10;
	cursor:pointer;
}
body #w3c a.gallery_admin_title_save span.innerText {
	display:block;
	position:relative;
	top:50%;
	left:0;
	margin:-0.6em 0 0;
	text-align:center;
}
body #w3c a.gallery_admin_title_save:hover {
	color:#000;
	background:#AAA;
	border-left:1px solid #888;
}



.gallery_admin_create_gallery {
	display:block;
	position:relative;
	width:400px;
	padding:0;
	margin:5px auto;
	border:1px solid #888;
	background:#EEE;
	overflow:hidden;
}
.gallery_admin_create_name {
	display:block;
	position:relative;
	width:300px;
	padding:1px;
	margin:-1px auto -1px -1px;
	background:#FFF;
	border:none;
	text-align:center;
	color:#555;
	font-family:inherit;
	font-weight:bold;
	font-size:160%;
}
body #w3c .gallery_admin_create_btn,  #w3c .gallery_admin_create_btn:hover {
	display:block;
	position:absolute;
	right:-1px;
	top:-1px;
	height:100%;
	width:100px;
	padding:1px;
	margin:0;
	background:#CCC;
	border:none;
	border-left:1px solid #AAA;
	color:#333;
	font-size:100%;
	font-weight:bold;
	text-align:center;
	letter-spacing:-0.05em;
	text-decoration:none;
	cursor:pointer;
}
body  #w3c .gallery_admin_create_btn span.innerText {
	position:relative;
	display:block;
	top:50%;
	margin:-0.6em 0 0;
	padding:0;
}
body  #w3c .gallery_admin_create_btn:hover {
	color:#000;
	background:#AAA;
	border-left:1px solid #888;
}



.gallery_admin_delete_gallery {
	display:inline;
	position:absolute;
	left:0;
	top:0;
	padding:0 3px;
	background:#C22;
	border:1px solid #BBB;
	color:#FFF;
	font-size:13px;
	font-weight:normal;
	cursor:pointer;
	z-index:999;
}