
@color0: #8e8e8e; // Appears 3 times

.photospace_res {
	margin-bottom:30px;
	margin-top:30px;
	min-height: 200px;
	overflow:visible;
	position:relative;
	.slideshow {
		img {
			line-height: 0;
			max-width: 100%;
			vertical-align: top;
		}
		span {
			line-height: 0;
		}
		a.advance-link {
			display: block;
			line-height: 0;
			text-align: center;
			&:hover {
				text-decoration: none;
			}
			&:active {
				text-decoration: none;
			}
			&:visited {
				text-decoration: none;
			}
		}
		span.image-wrapper {
			display: block;
			font-size:0px;
			left: 0;
			letter-spacing:-1px;
			line-height:0px;
			position: relative;
			top: 0;
			white-space:nowrap;
		}
	}
	.gal_content {
		display: none;
		a {
			&:hover {
				text-decoration: underline;
			}
		}
	}
	.controls {
		a {
			color: @color0;
			text-decoration: none;
		}
	}
	.thumnail_row {
		float: left;
		left: -50%;
		position: relative;
		width:auto;
		a {
			color: @color0;
			text-decoration: none;
		}
		a.pageLink {
			&:focus {
				outline: none;
			}
			&:hover {
				opacity: 1;
			}
		}
		a.prev {
			background-image: url('../images/arrow-left.svg');
		}
		a.next {
			background-image: url('../images/arrow-right.svg');
		}
	}
	.ss-controls {
		display: block;
		margin-bottom: 5px;
		text-align: center;
	}
	.slideshow-container {
		clear: both;
		position: relative;
	}
	.loader {
		background-image: url('../images/loader.gif');
		background-position: center;
		background-repeat: no-repeat;
		height: 100px;
		left: 50%;
		margin-left: -50px;
		position: absolute;
		top: 50%;
		width: 100px;
	}
	.caption-container {
	}
	span.image-caption {
		display: block;
		position: inherit;
	}
	.caption {
		color: @color0;
		padding-right:0;
		padding-top:10px;
		text-align:center;
		a {
		}
	}
	li {
		.caption {
			display:none;
		}
		a {
			&:hover {
				cursor: default;
				opacity: 0.5;
			}
		}
	}
	.image-desc {
		line-height: 1.3em;
		padding-top: 12px;
	}
	.thumbs_wrap2 {
		overflow: hidden;
	}
	.thumbs_wrap {
		float: left;
		left: 50%;
		position: relative;
	}
	ul.thumbs {
		float:left;
		list-style: none !important;
		margin: 0;
		padding: 0;
		text-align: center;
		li {
			display: inline-block;
			list-style: none !important;
			margin: 0;
			padding: 0;
			position: relative;
		}
		img {
			display: block;
		}
	}
	a.thumb {
		-moz-transition: all 0.4s ease;
		-o-transition: all 0.4s ease;
		-webkit-transition: all 0.4s ease-in-out;
		display: block;
		height:auto;
		margin: 0;
		opacity: 1;
		padding: 0;
		transition: all 0.4s ease;
		&:focus {
			outline: none;
		}
	}
	li.selected {
		a {
			cursor: default;
			opacity: 0.5;
		}
	}
	.psr_paging {
		overflow: hidden;
		text-align: center;
	}
	a.pageLink {
		-moz-transition: all 0.2s ease;
		-o-transition: all 0.2s ease;
		-webkit-transition: all 0.2s ease-in-out;
		background-color:#ffffff;
		background-position:center center;
		background-repeat:no-repeat;
		border:solid 1px #cccccc;
		display: inline-block;
		opacity: 0.5;
		position: relative;
		transition: all 0.2s ease;
	}
	.hide_me {
		display:none !important;
	}
}
.photospace_res .gal_content, .photospace_res .slideshow-container, .photospace_res .slideshow span, .photospace_res .slideshow a.advance-link, .photospace_res .slideshow img {
	height: auto;
	width: auto;
}
.photospace_res .slideshow img{
	margin: auto; 
}
.photospace_res_clear {
	clear:both;
}
