

/* Gallery and Playback Controls
----------------------------------------------- */
#gallerySelect { width: 180px; }
#controls {	margin:0 auto 10px auto; }
#galleries {	margin:0 auto 20px auto; }
#galleries label { padding-bottom: 2px; }

#transport {
	margin: 0;
	padding: 0;
	list-style: none;
}
#transport li {
	float: left;
	margin: 0;
	padding: 0;
	text-align: center;
}
#transport a {
	text-decoration: none;
	text-transform: uppercase;
	font-size: 85%;
	font-weight: bold;
	letter-spacing: 0.1em;
	margin: 0 1px 0 0;
	padding: 4px 8px;
	width: 64px;
	float: left;
	display: block;
	-moz-user-select: none;
	-khtml-user-select: none;
}
#transport a:link {
	/*background: #666 url('../images/bg_grad_gray1.gif') repeat-x;*/
	color: #fff;
	border-top: solid 1px #999;
	border-right: solid 1px #999;
	border-bottom: solid 1px #999;
	border-left: solid 1px #999;
}
#transport a:visited {
	/*background: #666 url('../images/bg_grad_gray1.gif') repeat-x;*/
	color: #fff;
	border-top: solid 1px #999;
	border-right: solid 1px #999;
	border-bottom: solid 1px #999;
	border-left: solid 1px #999;
}
#transport a:hover {
	/*background: #666 url('../images/bg_grad_gray2.gif') repeat-x;*/
	color: #000;
	border-top: solid 1px #999;
	border-right: solid 1px #999;
	border-bottom: solid 1px #999;
	border-left: solid 1px #999;
}
#transport a:focus {
	-moz-user-select: none;
	-khtml-user-select: none;
}

#previews {
	padding: 2px 2px 2px 2px;
position:relative;
	width: 350px;
	float: right;
	text-align:right;
	margin-top:-50px;}
#thumbnails {
	clear: both;
	float:right;
	margin: 0px auto;
	text-align:center;
}
#thumbnails div {
	position: relative;
	width: 24px;
	height: 24px;
	float: left;
	margin: 10px;
	padding: 0;
	float: right;
		text-align:center;
}
#thumbnails img {
	width: 24px;
	height: 24px;
	position: absolute;
	border-top: solid 1px #999;
	border-right: solid 1px #999;
	border-bottom: solid 1px #999;
	border-left: solid 1px #999;
}
#picture {
	padding: 0px;
	width: 400px;

}
#mainImageOutline {
	margin: 0px;
	padding: 0px;;
	/*background-color: #000000;*/
	border-top: solid 1px #999;
	border-right: solid 1px #999;
	border-bottom: solid 1px #999;
	border-left: solid 1px #999;
	padding: 7px; 
	overflow: hidden; 
		width: 0px; 
	height: 0px; 
	text-align:right; 

}

#picture img {	border: 1px solid #999; }
.selectedThumbnail {  border: solid 2px #afbeca !important; }
.inFocus {  border: solid 1px #999 !important; }

#rr{width:380px; 
float:right;
clear:both;
padding:2px; 
text-align:right;}
