#gallery_container
{
/*  border-top: 1px solid #CCC;*/
  border-bottom: 1px solid #CCC;
  padding: 3px 0;	
}

#gallery
{
	margin: 0 auto;
/*  background: black;*/
  height: 600px;
  width: 900px;
  position: relative;
}

.galleria
{
  list-style-type: none;
  margin: 0;
  padding: 0;
  height: 50px;
}

.galleria li
{
  overflow: hidden;
  display: block;
  float: left;
  background: black;
  border: 3px double #111;
  height: 50px;
  width: 68px;
  margin: 2px 5px;
}

.galleria li img
{
	height: 50px;
}

#previous, #next
{
  position: absolute;
  top: 0;
  height: 600px;
  width: 450px;
  display: inline-block;
  
	z-index: 20;
	cursor: pointer;
}

#previous { left: 0px; }
#next { left: 450px; }

#secure { top: 0; left: 0; z-index: 1; position: absolute; display: block; }

.overlay { display: block; }
.overlay { display: none; }

.overlay .shading
{
/*	opacity: 0.5;
	background: black;*/
	height: 600px;
	width: 450px;
	display: block;
}

#previous img, #next img
{
	border: 0;
	margin: 0;
	padding: 0;
	margin-top: 268px;
}

#next img { float: right; }

#image
{
	width: 900px;
	height: 600px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
}

#trueContainer
{
	display: block;
	white-space: nowrap;
}

#thumbnail_container
{
	position: absolute;
	top: 540px;
	left: 0;
	width: 900px;
	height: 60px;
	min-height: 60px;
  background: transparent;
  z-index: 50;
  overflow: hidden;
}

#caption_container
{
  position: absolute;
  top: 540px;
  left: 0;
  width: 900px;
  height: 60px;
  min-height: 60px;
  background: transparent;
  z-index: 50;
  overflow: hidden;
  display: none;
}

#thumbnails
{
	display: none;
	background: transparent;
	width: 900px;
	height: 60px;
	top: 60px;
	position: relative;
}

#thumbnail_overlay
{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #000;
	opacity: 0.5;
  filter: alpha(opacity=50);
}

#caption_overlay
{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #000;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

#thumbnails ul { list-style: none; margin: 0; padding: 0; }
#thumbnails li { display: inline; }

/* Gallery Styles */

#motioncontainer {
margin:0 auto;  /*Uncomment this line if you wish to center the gallery on page */
width: 900px; /* Set to gallery width, in px or percentage */
height: 75px; /* Set to gallery height */
}

#motioncontainer img {
height: 50px;
}

#motioncontainer a img {
border: 1px solid #cccccc; /* Set image border color */
}

#motioncontainer a:hover img {
border: 1px solid navy; /* Set image border hover color */
}

#statusdiv {
background-color: lightyellow;
border: 1px solid gray;
padding: 2px;
position: absolute; /* Stop Editing Gallery Styles */
/*left: -300px;*/
visibility: hidden;
}

#motioncontainer a:hover {
color: red; /* Dummy definition to overcome IE bug */
}
/* End Gallery Styles */ 

li .description { display: none; }
