/* Layout Rules
----------------------------------------------- */
#wrap {
	margin: 0 20px;
	width:720px;
}

/* Gallery and Playback Controls
----------------------------------------------- */
#gallerySelect { width: 180px; }
#controls {	margin:0 auto 10px auto;}
#galleries {	margin:0 auto 20px auto; }
#galleries label { padding-bottom: 2px; }

#galleryLinks a {
	color: white;
	text-decoration: none;
}

#transport {
	margin: 0 auto;
	padding: 0;
	list-style: none;
	width:92px;
	height:40px;
}
#transport li {
	float: left;
	margin: 0;
	padding: 0;
	text-align: center;
}
#transport .previousBtn, #transport .nextBtn, #transport .playBtn, #transport .pauseBtn {
	height:40px;
	background:url(../images/backgrounds/bg_photo_control.gif) no-repeat;
	display:block;
}
#transport .previousBtn {
	background-position:left top;
	width:28px;
}
#transport .previousBtn:hover {
	background-position:left bottom;
}
#transport .nextBtn {
	background-position:right top;
	width:28px;
}
#transport .nextBtn:hover {
	background-position:right bottom;
}
#transport .playBtn {
	background-position:center bottom;
	width:36px;
}
#transport .pauseBtn {
	background-position:center top;
	width:36px;
}
#transport .label {
	display:none;
}


#transport .playBtn .pauseLabel, #transport .pauseBtn .playLabel {
	display: none;
}

#previews {
	margin-bottom: 5px;
	background:#efffdf;
	width: 100px;
	float: left;
	margin-right:10px;
}
#thumbnails {
	clear: both;
	margin: 10px auto;
}
#thumbnails div {
	position: relative;
	width: 30px;
	height: 30px;
	float: left;
	margin: 8px;
	padding: 0;
	float: left;
	display:inline;
}
#thumbnails img {
	width: 30px;
	height: 30px;
	position: absolute;
	border-top: solid 1px #999;
	border-right: solid 1px #404040;
	border-bottom: solid 1px #333;
	border-left: solid 1px #404040;
}
#picture {
	padding: 0px;
	width: 610px;
	float: left;
}
#mainImageOutline {
	margin: 0 auto;
	padding: 0;
	background: #ececec;
	padding: 10px; 
	overflow: hidden; 
	width: 0px;
	height: 0px;
}
#mainImage {
	width: 100%;
	height: 100%;
}

#picture img {	border: 1px solid #999; }
.selectedThumbnail {  border: solid 2px #fc0 !important; }
.inFocus {  border: solid 1px #fc0 !important; }

#gallery h2 {
	border-bottom:#5bb900 2px solid;
}
