table.empty-table {
	border-collapse:collapse;
}
table.empty-table td, table.empty-table th {
	border: 0px;
	vertical-align:top;
	padding:0px;
}
table.padded-empty-table {
	border-collapse:separate;
	border:0px;
}
table.padded-empty-table td, table.padded-empty-table th {
	vertical-align:middle;
}


.overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: 2000;
	margin:0 auto;
}
.overlay .covering {
	width: 100%;
	height: 100%;

/*	background: white;

    filter: alpha(opacity:0.7);
    KHTMLOpacity: 0.7;
    MozOpacity: 0.7;
    -khtml-opacity:0.70;
    -ms-filter:"alpha(opacity=70)";
    -moz-opacity:0.70;
    filter:alpha(opacity=70);
    opacity:0.70;		*/
}


.overlay .main {
	margin:10px auto 0 auto;
	background-color: #dddddd;
	width: 980px;
	height: 844px;
/*	overflow: hidden;*/
	overflow: auto;
	border: 2px solid #a9a9a9;
}
.overlay a, .overlay a:hover, .overlay .image-caption {
	color: #000000;
	font-size: 13px;
	outline: none;
	text-decoration: none;
	color:#202020;
}
.overlay .image-caption {
	font-family:arial,sans-serif;
	font-weight:bold;
	background-color:#EAEAEA;
	padding:3px 7px 5px 7px;
	overflow:hidden;
}
.overlay img {
	border:0px;
}
.overlay .close {
	background-image: url("Delete-icon.png");
	width: 24px;
	height: 24px;
	cursor: pointer;
	margin:6px;
	float:left
}
.overlay .prev {
	background-image: url("Previous-icon.png");
	width: 32px;
	height: 32px;
	cursor: pointer;
	margin:6px;
	margin-top:350;
/*	margin-top:40%; //Put this in when we get our DOCTYPE set */
	float:left
}	
.overlay .next {
	background-image: url("Next-icon.png");
	width: 32px;
	height: 32px;
	cursor: pointer;
	margin:6px;
	margin-top:350;
/*	margin-top:40%; //Put this in when we get our DOCTYPE set */
	float:left
}	
.overlay .large-image {
	overflow: auto;
/*	width: 711px;
	height: 800px;*/
	margin:6px 2px;
	float:left
}



ul.overlay-thumbnails {
	list-style-type: none;
	margin:0px;
	padding:0px;
	display:block;
	width:115px;
	height:100%;
	overflow:auto;
	background-color: #dddddd;
	float:left
}
/* Start hasVideo icon */
.large-image iframe {
	background-color: black;
}
ul.overlay-thumbnails li {
	position: relative;
	display: block;
	float: left;
	margin: 3px;

	cursor: pointer;
}
ul.overlay-thumbnails li.has-video:after {
	content: URL('film-icon.png');

	position: absolute;
	left: 5px;
	bottom: 5px;
}
ul.overlay-thumbnails li.has-video img {
	padding: 0;
	width: 85px;
	height: inherit;
	background-color: black;
}
/* End hasVideo icon */
ul.overlay-thumbnails li img {
	background-color:white;
	padding: 1px;
	border: 2px solid #CCCCCC;

/*	width: 125px;
	height: 140px;*/
	width: 83px;
	height: 94px;
	vertical-align: bottom; /* Required so FireFox won't add space at the bottom of the image. See http://akinas.com/pages/en/blog/firefox_image_gap */
}
ul.overlay-thumbnails li.selected img {
	border: 2px solid #646464;
}

