div#container {
	overflow: hidden;
	max-width:1200px;
}
div.slide-content {
	display: none;
	clear: both;
}

div.slide-content a, div.navigation a {
	text-decoration: none;
}
div.slide-content a:hover, div.slide-content a:active {
	text-decoration: underline;
}

div.navigation a.pageLink {
	height: 85px;
	line-height: 77px;
}

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,
div.loader,
div.slideshow a.advance-link {
	width: 600px; /* 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: 350px; /* This should be set to be at least the height of the largest image in the slideshow with padding */	
	overflow:hidden;
}

div.slideshow-container {
	position: relative;
	clear: both;
	float: left;
	height: 350px;
}

div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('http://www.polarisft.com/media/css/images/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
/*	top: 30px;*/
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	 /*line-height: 502px; 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.caption-container {
	float: left;
	position: relative;
	/*margin-top: 30px;*/
}
span.image-caption {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

div.caption-container, span.image-caption {
	width: 572px;
}
.caption img {
    display: block;
    margin: 0 auto 5px !important;
}

div.caption {
	padding: 0 0 0 25px;
}
div.caption img {
	display:inline !important;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.download {
	margin-top: 8px;
}
div.photo-index {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0 12px;
}
div.navigation-container {
	float: left;
	position: relative;
	margin:20px 0 0 0;
	background-color:#F9F9F9;
	
}
div.navigation {
	float: left;
	position: relative;
	
}
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;
}

ul.thumbs {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 1px;
	list-style: none;
}
a.thumb {
	padding: 1px;
	display: block;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
	margin:6px;
}
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.gallery-gutter {
	clear: both;
	padding-bottom: 20px;
}
.blurb {
	float:left;
	width:56%;
	margin-right:10px;
}
.blurb_menu {
	float:right;
	width:40%;
	text-align:right;
}
.blurb_menu1 {
    float: right;
    text-align: right !important;
}

@media screen and (min-width:769px) and (max-width: 1024px) {
div.caption-container, span.image-caption {
	width: 535px !important;
    text-align: justify;
}
div.slideshow-container,
div.loader,
div.slideshow a.advance-link {
	width: 150px !important; /* 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: 275px !important; /* This should be set to be at least the height of the largest image in the slideshow with padding */	
	overflow:hidden;
}

div.slideshow-container {
	position: relative;
	clear: both;
	float: left;
	height: 270px !important;
}
div.caption-container, span.image-caption {
	width: 550px;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 2px;
	list-style: none;
	width:66px;
}
ul.thumbs img {
	border: none;
	display: block;
	margin:3px;
	width:58px;
}
div.navigation a.pageLink {
	height: 100px;
	line-height: 77px;
}
div.caption {
	padding: 0 12px 0 12px;
	width:536px;
	height:auto;
}
}

@media screen and (min-width:641px) and (max-width: 768px) {
div.slideshow-container,
div.loader,
div.slideshow a.advance-link {
	width: 150px !important; /* 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: 275px !important; /* This should be set to be at least the height of the largest image in the slideshow with padding */	
	overflow:hidden;
}

div.slideshow-container {
	position: relative;
	clear: both;
	float: left;
	height: 260px !important;
}
div.caption-container, span.image-caption {
	width: 550px !important;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 2px;
	list-style: none;
	width:69px;
}
ul.thumbs img {
	border: none;
	display: block;
	margin:3px;
	width:60px;
}
div.navigation a.pageLink {
	height: 105px;
	line-height: 77px;
}
div.caption {
	padding: 0 12px 0 12px;
	width:560px !important;
	height:auto;
}
}

@media screen and (min-width:481px) and (max-width: 640px) {
div.slideshow-container,
div.loader,
div.slideshow a.advance-link {
	width: 150px !important; /* 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: 312px !important; /* This should be set to be at least the height of the largest image in the slideshow with padding */	
	overflow:hidden;
}

div.slideshow-container {
	position: relative;
	clear: both;
	float: left;
	height: 300px !important;
}
div.caption-container, span.image-caption {
	width: 445px !important;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 2px;
	list-style: none;
	width: 57px;
}
ul.thumbs img {
	border: none;
	display: block;
	margin: 2px;
	width: 50px;
}
div.navigation a.pageLink {
	height: 90px;
	line-height: 77px;
}
div.caption {
	padding: 0 12px 0 12px;
	width: 445px !important;
	height: auto;
}
.caption p {
	font-size: 12px !important;
}
}

@media screen and (min-width:320px) and (max-width: 480px) {

div.slideshow-container {
    text-align: center;
	height: 295px !important;
}
div.slideshow span.image-wrapper {
    width: 100%;
}
div.slideshow span.image-wrapper img{
    width: 35%;
}
div.caption-container, span.image-caption {
	width: 445px !important;
}
div.caption-container {
    height: 312px !important;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 2px;
	list-style: none;
	width: 40px;
}
ul.thumbs img {
	border: none;
	display: block;
	margin: 2px;
	width: 50px;
}
div.navigation a.pageLink {
	height: 70px;
	line-height: 77px;
}
div.caption {
	padding: 0 12px 0 12px;
	width: 445px !important;
	height: auto;
}
}