div.gallery {
	width:100%;
	padding-bottom:10px;
	text-align:center;
	position:relative;
}

div.gallery_message {
	display:block;
	position:absolute;
	color:#000000; font-size:11px; text-align:center;
	background:#FFFFFF;
	border:1px solid #999999;
	width:400px;
	left:50%; top:-34px;
	margin-left:-200px;
	cursor:pointer;
	z-index:100;
}

.button, a.button, span.button, div.button, input.button {
	position:relative;
	padding-left:5px; padding-right:5px; padding-bottom:1px;
	border:1px solid #004488; border-bottom:1px solid #002244; border-right:1px solid #002244;
	background:#CCCCCC;
	color:#000000;
	cursor:pointer;
	font-size:11px; font-style:normal; font-weight:normal;
	top:-1px;
	margin-left:1px; margin-right:1px;
	text-decoration:none;
}

.button:hover, .button.iehover	{ background:#EEEEEE; }

.button.f_mousedown	{ border:1px solid #0066AA; border-bottom:1px solid #004466; border-right:1px solid #004466; background:#FFAAAA; }


div.gallery_title {
	text-align:center;
	font-size:14px; font-weight:bold;
	background:#CCEEFF;
	
	border-bottom:1px solid #4488FF;
}

div#gallery_box	{
	width:22em;
	margin-left:auto; margin-right:auto;
	text-align:center;
}

textarea.error, input.error	{
	border:1px solid #990000;
	background:#FFAAAA;
}


div.input {
	text-align:right;
	position:relative;
	width:96%;
	margin:5px; margin-left:auto; margin-right:auto;
	padding-top:2px; padding-bottom:2px;
	border:1px dashed #CCCCCC;
}

.text {
	width:19.5em;
	background:#FFFFFF;
	border:1px solid #CCCCCC;
	margin:2px;
	color:#002255;
}

textarea.text	{
				width:20em;
				height:4em;
				}

div.input span.gallery_inputtitle	{
									/* position:absolute;
									left:5px;
									text-align:left; */
									font-size:10px;
									}

span.gallery_inputtitle_desc	{
								/* font-weight:normal;
								font-size:10px; */
								display:none;
								}

span.gallery_spacer	{ padding-left:1em; visibility:hidden; }



/* gallery display area */

div.gallery_display	{
	position:relative;
	padding:4px; padding-right:0px;
	margin-top:10px; margin-bottom:10px;
	/* width:572px; */
	width:788px;
	margin-left:auto; margin-right:auto;
	height:220px;
	overflow:auto;
	background:#000000;
}

div.gallery_display_row {
	position:relative;
	margin:4px;
	/* width:137px; height:137px; */
	width:246px; height:100px;
	float:left; clear:none;
	border:1px solid #222222;
	background:#333333;
	font-size:10px; color:#777777;
	cursor:default;
	text-align:center;
}

div.gallery_display_row.hover {
	border:1px solid #FFFFFF;
	background:#555555;
	color:#CCCCCC;
	/*
	border:1px solid #004488;
	background:#66AACC;
	color:#000000;
	*/
}

.gallery_display_name {
	text-decoration:none;
	color:#CCCCCC;
	position:absolute;
	display:block; text-align:left;
	top:0px; left:0px;
	padding-left:102px;
	z-index:1;
}

div.gallery_display_row.hover .gallery_display_name {
	color:#FFFFFF;
	/* color:#000000; */
}

.gallery_display_image {
	display:inline;
	border:none;
	position:absolute;
	top:0px; left:0px;
	width:100px; height:100px;
}

.gallery_display_image_noimages	{
	border:none;
	position:absolute;
	display:inline; text-align:center;
	bottom:1em; left:50%;
	margin-bottom:5px; margin-left:-50px;
	width:100px; height:100px;
}

span.gallery_display_created {
	display:inline; position:absolute;
	bottom:2px; left:102px;
	overflow:hidden;
	text-align:center; font-size:10px; font-family:Arial,Helvetica,Sans-Serif;
}

span.gallery_display_description {
	display:none;
}

/*
div.gallery_display_row.hover span.gallery_display_description {
	display:block;
	position:absolute;
	overflow:hidden;
	top:0px; right:10px;
	margin-right:22em;
	color:#990000;
	width:200px;
	height:1.2em;
	z-index:100;
}
*/

div.galleryItemContextMenu	{
							width:12em; /* height:100px; */
							background:#FFFFFF;
							border:1px solid #AAAAAA; border-bottom:1px solid #666666; border-right:1px solid #666666;
							cursor:default;
							font-family:Arial, Helvetica, Sans-Serif; font-size:11px; color:#000000;
							}

div.galleryItemContextMenu .contextMenuItem	{
											text-indent:5px;
											background:#FFFFFF;
											border:1px solid #FFFFFF;
											cursor:pointer;
											}

div.galleryItemContextMenu .contextMenuItem.hover	{
													text-indent:5px;
													background:#CCEEFF;
													border:1px solid #6699FF;
													cursor:pointer;
													}


