#in-gallery{
float: left;
display: inline;
width: 390px;
}

.c-gallery-2{
margin-top: 18px;
}

.c-gallery-2 #in-gallery{
float: none;
display: block;
width: auto;
padding-top: 5px;
background: url(/skin/img/project/bg_gallery_2_t.png) left top no-repeat;
}


#b-gallery{
float: right;
width: 107px;
}

.c-gallery-2 #b-gallery{
float: right;
width: auto;
margin-top: 7px;
}

div.navigation a {
	text-decoration: none;
	color: #777;
}
div.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.slideshow-container {
	position: relative;
	clear: both;
	height: 270px; /* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 1px;
}

.c-gallery-2 div.slideshow-container{
padding: 0 5px 5px;
line-height: 1px;
background: url(/skin/img/project/bg_gallery_2_b.png) left bottom no-repeat;
}

div.gal-loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('/skin/img/share/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 390px;
	height: 270px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {
/*position: relative; */
height: 270px;
}

div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

.c-gallery-2 div.slideshow span.image-wrapper {
left: 2px;
}


div.slideshow a.advance-link {
	display: block;
	width: auto;
	height: 270px; /* This should be set to be at least the height of the largest image in the slideshow */
	/*line-height: 390px; /* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 1px;
	text-align: center;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
/*display: block; */
vertical-align: top; 
/*	
	border: 1px solid #ccc;*/
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 501px;
	bottom: 5px;
	left: 5px;
}
#in-gallery div.b-caption {
	padding: 14px 17px;
	line-height: 130%;
	color: #fff;
	background: url(/skin/img/project/bg_gal_2.png) left top repeat;
}

	div.b-caption a{
	display: block;
	font-size: 140%;
	margin-bottom: 10px;
	}
	
	div.b-caption a:link,
	div.b-caption a:visited,
	div.b-caption a:hover,
	div.b-caption a:active{
	color: #fff;
	text-decoration: underline;
	}	
	
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	/*line-height: 1.3em;*/
	padding-top: 12px;
}
div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
div.content ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
div.content ul.thumbs li {
	float: left;
	padding: 0;
	margin: 0px 10px 5px 0;
	list-style: none;
}

div.content .c-gallery-2 ul.thumbs li {
width: 20px;
height: 20px;
margin: 0 0 0 5px;
text-align: center;
}

a.thumb {
	padding: 3px;
	display: block;
	background: #ccc;
/*	border: 1px solid #ccc; */
}

.c-gallery-2 a.thumb:link,
.c-gallery-2 a.thumb:visited,
.c-gallery-2 a.thumb:hover,
.c-gallery-2 a.thumb:active {
text-decoration: none;
color: #fff;
background: #999;
}

div.content ul.thumbs li.selected a.thumb {
	background: #00aeef;
}

div.content .c-gallery-2 ul.thumbs li.selected a.thumb {

}

a.thumb:focus {
	outline: none;
}
div.content ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #00aeef;
	border-color: #00aeef;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
