#ng-pg-overlay-all { display:none; } /*make display block to display lightbox*/
	#ng-pg-images-table.ng-pg-type-1 a img { width:0px; height:0px; padding: 127px 127px 0 0; } /*padding needs to match image geometry*/
	#ng-pg-images-table.ng-pg-type-1 td { width: 131px; height: 131px; } /*both values to match image geometry + 4px for border*/		
	#ng-pg-images-table.ng-pg-type-2 td { width: 135px; } /*width is image geometry + 8px*/
	#ng-pg-images-table.ng-pg-type-3 img { width: 127px; height: 85px; } /*width is geometry and height calculated as geometry x 0.6666 */		
	#ng-pg-images-table.ng-pg-type-4 img { width: 85px; height: 127px; } /*height is geometry and width calculated as geometry x 0.6666 */	
	#ng-pg-images-table.ng-pg-type-5 a img { width: 127px; height: 127px; } /*padding needs to match image geometry*/
	#ng-pg-images-table.ng-pg-type-5 td { width: 131px; height: 131px; } /*both values to match image geometry + 4px for border*/		
	
#ng-pg-title {
	margin-bottom: 15px;
}
#ng-pg-images {
	display: table;
}
#ng-pg-images-table {
	margin: 20px 0 0 0;
}
#ng-pg-images-table a img{
	padding: 8px;
}
#ng-pg-images-table.ng-pg-type-1, #ng-pg-images-table.ng-pg-type-5 {
	margin-right: -10px;
}
#ng-pg-images-table.ng-pg-type-1 a img, #ng-pg-images-table.ng-pg-type-5 a img {	
	border: 2px solid #ccc;
	margin: 1px 10px 10px 1px;
	box-shadow: 2px 2px 5px #ddd; 
}
#ng-pg-images-table.ng-pg-type-1 a img {
	height: 0;
	width: 0;
	background-position: 50%;
	background-repeat: no-repeat;
	border: 1px solid #ccc;
	margin: 1px 10px 10px 1px;
	box-shadow: 2px 2px 5px #ddd; 
}
#ng-pg-images-table.ng-pg-type-1 a:hover img {
	border: 2px solid #A9CEE4;
	margin: 0 9px 9px 0;
}
#ng-pg-images-table.ng-pg-type-2 td {
padding: 5px;
}
#ng-pg-images-table.ng-pg-type-3 td, #ng-pg-images-table.ng-pg-type-4 td  {
padding:0 10px 10px 0;
}
#ng-pg-images-table.ng-pg-type-2 td a img, #ng-pg-images-table.ng-pg-type-3 td a img, #ng-pg-images-table.ng-pg-type-4 td a img  {
border: 1px solid #ccc;
padding: 2px;
margin: 1px;
background: #fff!important;
box-shadow: 2px 2px 5px #ddd;
}
#ng-pg-images-table.ng-pg-type-2 td a:hover img, 
		#ng-pg-images-table.ng-pg-type-3 td a:hover img, 
		#ng-pg-images-table.ng-pg-type-4 td a:hover img{
	border: 2px solid #A9CEE4;
	margin: 0;
}
#ng-pg-images-table.ng-pg-type-5 td a:hover img {
	margin: 1px 10px 10px 1px;
	box-shadow: 2px 2px 5px #ddd;             
	border: 2px solid #A9CEE4;
	
}
#ng-pg-overlay {
	position: absolute;
	z-index: 998;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background: #000;
	opacity: 0.8;
}
#ng-pg-overlay-content {
	position: absolute;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;	
}
#ng-pg-overlay-thumbs {
text-align: center;
width: 100%;
background: #222;
height: 105px;
white-space: nowrap;
overflow: hidden;
border-bottom: 1px solid #444;
box-shadow: 0px 3px 25px #222;
}
#ng-pg-overlay-thumbs a {
	display: inline;
	opacity: 0.3;
}
#ng-pg-overlay-thumbs a img {
width: 0px;
height: 0px;
border: 1px solid #aaa;
padding: 84px 84px 0 0;
background: #000;
background-position: 50%;
background-repeat: no-repeat;
margin: 10px 5px;
}
#ng-pg-overlay-thumbs a:hover, #ng-pg-overlay-thumbs a.ng-pg-selected {
opacity: 1;
}
.ng-pg-description {
	max-width: 65%;
	min-width: 500px;
color: #fff;
background: #222;
padding: 15px;
margin: 25px auto 25px auto;
border-radius: 10px;
font-size: 12px;
line-height: 1.3;
border:1px solid #444;
max-height: 150px;
}
.ng-pg-photo img {
	border: 0px solid #444;
	padding: 0px;
	box-shadow: 0px 3px 100px #111;
	margin: 25px 0 0px 0;
}
#ng-pg-overlay-controls {
	background: #222;
	padding: 13px 15px;
	border-bottom: 1px solid #444;
	text-align: right;
}
#ng-pg-overlay-controls * {	
color: #fff;
font-size: 13px;
}
a#ng-pg-slideshow {
	text-decoration: none;
	display: inline-block;
	border: 1px solid #666;
	padding: 5px 8px;
	background: #333;
	margin-right: 15px;
	font-size: 11px;
	position: absolute;	
	left: 5px;
	margin-top: -5px;
}
a#ng-pg-slideshow:hover {
background: #555;
}
a#ng-pg-overlay-close-btn {
	display: block;
	position: absolute;
right: 0;
margin: 20px 10px;
padding: 13px 20px;
background: url(ng-pg-close-btn.png) 50% no-repeat;
text-indent: -9000em;
text-align: left;
}
#ng-pg-page-nav {
	text-align: center;
	padding-top: 15px;
}
#ng-pg-page-nav a {
  display: inline-block;
  background: #eee;
  border: 1px solid #ccc;
  line-height: 1;
  font-family: arial;
  font-size: 13px;
  letter-spacing: 0!important;
  padding: 5px;
  min-width: 15px;
  cursor: pointer;
}
#ng-pg-page-nav a:hover {
  text-decoration: none;
  background: #fff;
}
#ng-pg-page-nav div.paginationControl a.cat-current {
  opacity: 0.7;
  cursor: default;
  background: #eee;
}
#ng-pg-page-nav span {
padding: 0 35px;
}
