@media print, screen and (min-width:751px){

div#page{
	width:500px;
	display:inline-block;
	vertical-align:top
}
div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	width: 400px;
	display:inline-block;
	vertical-align: top;
}
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.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {

}
div.nav-controls {

}
div.slideshow-container {
	position: relative;
	width: 400px;
    height: 400px;
}
div.slideshow {

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: -10px;
	left: 0;
	/* margin-left: 58px; */
}
div.slideshow a.advance-link {
	display: block;
	/* width: 622px; */
	height: 415px;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	width: 400px;
    height: 400px;
    border: 1px solid #ccc;
    border-radius: 10px;
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	/* height: 120px; */
	/* margin-top: 20px; */
	/* margin-left: 58px; */
}
span.image-caption {
	display: block;
	/* position: absolute; */
	width: 380;
	top: 0;
	left: 0;
}
div.caption {
	/* padding: 12px; */
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	margin-top: 20px;
}
div.navigation {

	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
#thumbs{
	width:80px !important;	
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: left;
	height:80px;
	padding: 0;
	margin: 0px 10px 5px 5px;
	list-style: none;
}
a.thumb {
	padding: 0 0 5px 0;
	display: block;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	width: 80px;
    display: block;
    border: #D3D3D3 1px solid;
    border-radius: 10px;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 3px;
}
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: #000;
	border-color: #000;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
}

@media screen and (max-width:750px) {
	div#page{
	width: 350px;
 margin: 0 auto;
}
container
div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	width: 100%;
	display:inline-block;
	vertical-align: top;
}
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.controls {
}
div.controls a {
    padding: 2px 5px 8px 10px;
    color: #585454;
    font-size: 15px;
    font-weight: bold;
    background: #ffffffba;
    height: 22px;
    width: 20px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    margin-left: 10px;
}
div.controls a.next{
	float: right;
    margin-right: 10px;
    margin-left: 0;
    padding: 2px 5px 8px 15px;
    width: 17px;
}
div.ss-controls {
        display: none;
}
div.nav-controls {
        width: 100%;
        position: relative;
        bottom: 520px;

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

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: -10px;
	left: 0;
	/* margin-left: 58px; */
}
div.slideshow a.advance-link {
	display: block;
	/* width: 622px; */
	height: 415px;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	width:100%;
	height: auto;
	    top: -15px;
    position: relative;
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	/* height: 120px; */
	/* margin-top: 20px; */
	/* margin-left: 58px; */
}
span.image-caption {
	display: block;
    position: absolute;
    width: 350px;
}
div.caption {
	/* padding: 12px; */
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.4;
  padding-top: 10px;
}
div.navigation {

	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
#thumbs{
	width:100% !important;	
}
ul.thumbs {
	margin-top: 15px;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin:1%;
	list-style: none;
	width: 23%;
       height: 62px;
}
a.thumb {
	padding: 0 0 5px 0;
	display: block;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	width: 100%;
    display: block;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	display: none;
}
div.navigation div.bottom {
	margin-top: 12px;
	display: none;
}
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: #000;
	border-color: #000;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
}