div#container {
	overflow: hidden;
}
div.content {
	display: none;
	clear: both;
}

div.content a, div.navigation a {
	text-decoration: none;
}
 div.navigation a {
	font-size: 6px;
	line-height: 8px;
}
div.content a:hover, div.content a:active {
	text-decoration: underline;
}

/* content */
.gallery_main_wrapper {
	width: 660px;
	padding: 4px 4px 0 4px;
	margin: 0 auto;
}


/* nav */
div.navigation a.pageLink {
	height: 30px;
	line-height: 30px;
}

div.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px 5px 5px 2px;
}
div.ss-controls {
	float: right;
	padding: 0 20px 0 0;
}
div.nav-controls {
	float: right;
	padding: 0 90px 0 0;
	*display: block;
}

div.slideshow-container,
div.loader,
div.slideshow a.advance-link {
	width: 520px;
	/* This should be set to be at least the width of the largest image in the slideshow with padding */
}

div.loader,
div.slideshow a.advance-link,
div.caption-container {
	/*height: 550px;*/
	/* This should be set to be at least the height of the largest image in the slideshow with padding */
}

div.caption-container {	
	height: auto;
}


div.slideshow-container {
	position: relative;
	clear: both;
	float: left;
	/*height: 550px;*/
	/* This should be set to be at least the height of the largest image in the slideshow with padding */
}

div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('../../images/view/galleriffic/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
}

/*----- slideshow -----*/
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 30px;
	left: 0;
}

span.image-wrapper img {
	max-height: 500px;
	max-width: 500px;
	*width: 500px;
	*height: 500px;
}

div.slideshow a.advance-link {
	display: block;
	/*line-height: 550px; */
	/* This should be set to be at least the height of the largest image in the slideshow with padding */
	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 a.advance-link:focus {
	outline: none;
}

div.slideshow img {
	border: none;
	margin:0;
}

/*----- caption -----*/
div.caption-container {
	float: right;
	position: relative;
	margin-top: 30px;
	text-align:left;
}
span.image-caption {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

div.caption-container, span.image-caption {
	width: 280px;
}

div.caption {
	margin-top: 20px;
	padding: 24px 6px;
	overflow-x:hidden;
	overflow-y:auto;
	height:472px;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

div.image-title {
	font-weight: bold;
	font-size: 1.1em;
}
div.image-desc {
	line-height: 18px;
	padding-top: 12px;
	padding-bottom: 10px;
	font-size: 12px;
}
div.ph_wrapper div.caption-container ul {
	padding: 0 0 10px 15px;
	color: #333;
}

div.download {
	margin: 8px 0 0 10px;
	font-size: 11px;
}
div.photo-index {
	padding: 0 6px;
	color: #888;
	font-size: 10px;
}

/* ------ nav containers -----*/
div.navigation-container {
	float: left;
	border-bottom: 1px solid #ccc;
	min-height: 38px;
}
div.navigation {
	float: left;;
}
div.navigation a.pageLink {
	display: block;
	position: relative;
	float: left;
	margin: 2px;
	width: 16px;
	background-position:center center;
	background-repeat:no-repeat;
}
div.navigation a.pageLink:focus {
	outline: none;
}

div.navigation a.prev {
	background-image: url(../../images/view/galleriffic/prevPageArrow.gif);
}

div.navigation a.next {
	background-image: url(../../images/view/galleriffic/nextPageArrow.gif);
}

div.navigation a.prev:hover
div.navigation a.next:hover {
	background-position: left -17px;
}

div.nav-controls {	
}

div.nav-controls a.next {
	background: url(../../images/view/galleriffic/next_arrow_item.png) right top no-repeat;	
	text-indent: -9999px;
	padding: 0 20px 0 10px;
}

div.nav-controls a.prev {
	background: url(../../images/view/galleriffic/prev_arrow_item.png) left top no-repeat;	
	text-indent: -9999px;
	padding: 0 10px 0 20px;
}

div.nav-controls a.next:hover {
	background-position: right -17px;
}

div.nav-controls a.prev:hover {
	background-position: left -17px;
}

div.ss-controls a.play {
	background: url(../../images/view/galleriffic/icon_play.png) right top no-repeat;
	line-height: 14px;
	padding: 0 17px 0 0;
}
div.ss-controls a.pause {
	background: url(../../images/view/galleriffic/icon_pause.png) right top no-repeat;
	line-height: 14px;
	padding: 0 17px 0 0;
}
div.ss-controls a.play:hover,
div.ss-controls a.pause:hover {
	background-position: right -17px;
}






/*----- thumbs -----*/
ul.thumbs {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 3px;
	list-style: none;
}
a.thumb {
	padding: 1px;
	display: block;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
	height: 30px;
	width: 30px;
}

/*----- pagination -----*/
div.pagination {
	clear: both;
	position: relative;
	left: -50%;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	position: relative;
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div.pagination a:hover {
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

div.pagination a:hover {
	background-color: #111;
}
div.pagination span.current {
	background-color: #fff;
	border-color: #fff;
	color: #999;
}

/*----- gutte r-----*/

div.gallery-gutter {
	clear: both;
	padding-bottom: 20px;
}


