/* gallery styles */

#gallery {
	width:100%;
	border-collapse:collapse;
	line-height:normal;
	}
	
#gallery td.image {
	border:solid 5px #fff;
	padding:10px;
	background-color: #efefef;
	text-align:center;
	width:20%;
	vertical-align:top;
	}
	
#gallery td.gallery-pager {
	text-align:center;
	}
	
#gallery td.image:hover {
	background-color: #dedede;
	}
	
#gallery .image-title {
	font-weight:bold;
	margin-top:5px;
	}
	
#gallery .description {
	margin-top:5px;
	line-height: 1.4;
	}
	
/* gallery pop-up */

body.gallery-pop-up a img {
  border:none;
}

body.gallery-pop-up #controls img{
	vertical-align:middle;
	}

body.gallery-pop-up a.on, a.off {
	padding:5px 10px;
	display:inline-block;
	margin-left:5px;
	text-decoration:none;
	}
	
body.gallery-pop-up a.on {
	border:solid 1px #990000;
	color:#990000;
	}
	
body.gallery-pop-up a.off {
	border:solid 1px #aaa;
	color:#aaa;
	}
body.gallery-pop-up a {
	outline:none;
	}

body.gallery-pop-up {
	margin:0;
	padding:5px;
	background:#999;
	font-family:Trebuchet MS, Arial, Helvetica, sans-serif;
	font-size: 8.5pt;
	}
	
body.gallery-pop-up table {
	width:100%;
	border-collapse:collapse;
	}
	
body.gallery-pop-up h1 {
	font-size:20px;
	font-weight:bold;
	margin:0;
	padding:0;
	line-height:24px;
	padding-right:10px;
	text-align:right;
	margin-left:200px;
	}
	
body.gallery-pop-up h1 img {
	float:left;
	}

body.gallery-pop-up h2 {
	font-size:12pt;
	margin-top:0;
	}
	
body.gallery-pop-up table td {
	vertical-align:top;
	padding:10px;
	}
	
body.gallery-pop-up table div#description {	
	max-height:382px;
	overflow:auto;
	padding-right:10px;
	}
	
* html body.gallery-pop-up table div#description {	
	height:382px;
	}
	
body.gallery-pop-up p {
	margin-top:0;
	}
	
body.gallery-pop-up #slideshow {
	height:402px;
	border-top:solid 1px #ccc;
	border-bottom:solid 1px #ccc;
	background:#f5f4f0;
	width:728px;
	}
	
body.gallery-pop-up #ad {
	height:90px;
	background-color:#ccc;
	text-align:center;
	background:#fff;
	width:728px;
	}
	
body.gallery-pop-up table#controls {
	height:41px;
	background:#fff;
	border-bottom:solid 1px #999;
	width:728px;
	}
	
body.gallery-pop-up table#controls td {
	padding:0 10px;
	vertical-align:middle;
}

body.gallery-pop-up table#controls td.start-stop {
	font-size:12px;
	font-family:Arial, Helvetica, sans-serif;
	text-align:right;
	}
	
body.gallery-pop-up #logo {
	height:48px;
	background-color:#fff;
	background-image:url(/images/logo-popupGallery.gif);
	background-repeat:no-repeat;
	width:728px;
	}
	
body.gallery-pop-up .photo-credit {
	text-transform:uppercase;
	color:#777;
	font-size:7pt;
	font-weight:bold;
	text-align:left;
	font-family:Arial, Helvetica, sans-serif;
	font-style: normal;
	line-height: 1.3;
	letter-spacing: 1px;
	}
	
body.gallery-pop-up a.archive-link {
	float:right;
	font-size:10px;
	font-family:Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	text-decoration:none;
	margin:18px 10px 0 25px;
	}
	
body.gallery-pop-up #gallery a.archive-link {
	float:right;
	font-size:10px;
	font-family:Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	text-decoration:none;
	right:0;
	}
	
body.gallery-pop-up a {
	color: #0099CD;
	text-decoration: none;
}

body.gallery-pop-up p {
	margin-top:0;
	margin-bottom:1em;
	}
	
/* pager styles */

body.gallery-pop-up #pager {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	}
	
body.gallery-pop-up #pager .pageritem {
	border:solid 1px #ccc;
	padding:5px;
	margin-right:3px;
	display:inline-block;
	}
	
body.gallery-pop-up #pager a.pageritem {
	border:solid 1px #ccc;
	padding:5px;
	margin-right:3px;
	text-decoration:none;
	color:#000;
	}
	
body.gallery-pop-up #pager a.pageritem:link {
	border:solid 1px #ccc;
	padding:5px;
	background-color:#eeeeee;
	margin-right:3px;
	}
	
body.gallery-pop-up #pager a.pageritem:visited {
	border:solid 1px #ccc;
	padding:5px;
	background-color:#eeeeee;
	margin-right:3px;
	}
	
body.gallery-pop-up #pager a.pageritem:hover {
	border:solid 1px #ccc;
	padding:5px;
	background-color:#3399FF;
	color:#fff;
	text-decoration:none;
	margin-right:3px;
	}
	
body.gallery-pop-up #pager a.pageritem:active {
	border:solid 1px #ccc;
	padding:5px;
	background-color:#3399FF;
	color:#fff;
	text-decoration:none;
	margin-right:3px;
	}
	
/* end pager styles */


