div.tpgallerywrp {
    background: #111;
    margin: 0;
    padding: 0;
}
	
div.content {
	display: block;
	float: right;
    padding: 0;
    margin: 0 20px 0 0;
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.slideshow-container {

	position: relative; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
    /* This should be set to be at least the height of the largest image in the slideshow */
}

div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
 /* This should be set to be at least the height of the largest image in the slideshow */
	/*line-height: 300px; */ /* This should be set to be at least the height of the largest image in the slideshow */
	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 {
	border: 1px solid #111;
    margin-top: 20px;
}
ul.thumbs {
	clear: both;
    margin: 0 0 0 20px;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 0;
	list-style: none;
}
ul.thumbs li img {
    width: 46px;
    height: 48px;
}
a.thumb {
	display: block;
	border: 1px solid #111;
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;
}
div.navigation {
    float: left;
    margin-top: 20px;

}
ul.thumbs img {
	border: none;
	display: block;
}
div.navigation div.top {
	margin-bottom: 20px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination {
    clear: left;
    display: block;
    margin-left: 20px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
    margin-top: 10px;
	margin-right: 4px;
	padding: 2px 5px 1px 5px;
    background: #222;
    font-family: Arial, Verdana, Tahoma;
    font-size: 10px;
    border: none;
    color: #fff;
}
div.pagination a:hover {
	background-color: #cc0000;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

