/*
CSS Name: MAA NextGen Style
Description: McCullum Ashby Architects Style
Author: Oliver Petrie
Version: 1.0
*/

/* ----------- Album Styles Extend -------------*/

.ngg-albumoverview {
	margin-top: auto;
	width: auto;
	margin-bottom: 10px;
	clear:both; 
	display:block !important;
}

.ngg-album {
	float:left;
	padding: 0px;
	width: 180px;
	height: 180px;
	margin-bottom: 0px;
	overflow:hidden;
	border: none;
}

.ngg-albumtitle{
	position: absolute;
	width: 175px;
	height: 175px;
	text-align: center;
	padding:80px 0px 100px 0px;
	vertical-align: middle;
	font-size: 1.333em;
	font-family:"Helvetica";
	font-weight: normal;
	text-transform: lowercase;
	margin: auto;
	padding: auto;
	margin-bottom: auto;
}


.ngg-thumbnail {
	float: left;
	width: 175px;
	padding: 0px 2.5px 5px 2.5px;
	position:relative;
	margin-right: auto;
}

.ngg-thumbnail img {
	background-color:#FFFFFF;
	border: none;
	margin: auto;
	padding: 0px;
	position:relative;
	display:block;
}

.ngg-thumbnail img:hover {
	background-color:#fff !important;
	-webkit-opacity: 0.30;
	-moz-opacity: 0.30;
	opacity: 0.30;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;	
}


.ngg-description {
	text-align: left;
}

/* ----------- Album Styles Compact -------------*/

.ngg-album-compact {
	float:left;
	padding: 0 0 0 3px !important;
	height:75px;
	padding-right:
	text-align:left;
	width:72px;	
}

.ngg-album-compactbox {
	/* height:86px;*/
	margin:0pt 0pt 0px !important;
	padding:0px 0pt 0pt 0px !important;
	width:100%;
	boarder: none;
	border-radius: 0px;
	position: inherit;
}

.ngg-album-compactbox:before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -7px;
    border-bottom: none;
    border-radius: 0px;
    z-index: -1;
}

.ngg-album-compactbox:after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -4px;
    border-bottom: none;
    border-radius: 0px;
    z-index: -1;
}

.ngg-album-compactbox .Thumb {
	border:0px solid #000000;
	margin:0px !important;
	padding:0px !important;
	width: 75px;
	height: 75px;
	border: none;
	
}

.ngg-album-compact h4 .ngg-album-desc {
    overflow: hidden;
    display: block;
    height: 54px;
}

.ngg-album-compact h4 {
	font-size:15px;
	font-weight:bold;
	margin-bottom:0px;
	margin-top:0px;
	width:110px;
}

.ngg-album-compact p {
	font-size:11px;
	margin-top:2px;
}


/* ----------- Gallery style -------------*/

.ngg-galleryoverview {
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-gallery-thumbnail-box {
	float: left;
}

.ngg-gallery-thumbnail {
	float: left;
	margin: 10px 0 0 10px !important;
}

.ngg-gallery-thumbnail img {
	/*margin: -6px 6px 6px -6px;
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	padding:4px;
	display:block; 
	position:relative;*/
	
}

.ngg-gallery-thumbnail img:hover {
	background-color: #A9A9A9;
} 

.ngg-gallery-thumbnail span {
	display:none;
}

.ngg-clear {
	clear: both;
}

/* ----------- Gallery navigation -------------*/

.ngg-navigation {
	font-size:2em !important;
	clear:both !important;
	display:block !important;
	padding-top:15px;
	text-align:center;
}

.ngg-navigation span {
	font-weight:bold;
	margin:0pt 6px;
}

.ngg-navigation a.page-numbers,
.ngg-navigation a.next,
.ngg-navigation a.prev,
.ngg-navigation span.page-numbers,
.ngg-navigation span.next,
.ngg-navigation span.prev {
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-navigation a.page-numbers:hover,
.ngg-navigation a.next:hover,
.ngg-navigation a.prev:hover, 
.ngg-navigation span.page-numbers:hover,
.ngg-navigation span.next:hover,
.ngg-navigation span.prev:hover {
	background-color: #0066CC;
	color: #FFFFFF !important;
	text-decoration: none !important;
}

/* ----------- Image browser style -------------*/

.ngg-imagebrowser {
	
}

.ngg-imagebrowser h3 {
	text-align:center;
}

.ngg-imagebrowser img {
	border:1px solid #A9A9A9;
	margin-top: 10px; 
	margin-bottom: 10px; 
	width: 100%;
	display:block !important;
	padding:5px;
}

.ngg-imagebrowser-nav {
	padding:5px;
	margin-left:10px;	
}

.ngg-imagebrowser-nav .back {
	float:left;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .next {
	float:right;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .counter {
	text-align:center;
	font-size:0.9em !important;
}

.exif-data {
  	margin-left: auto !important;
    margin-right: auto !important;	
}

/* ----------- Slideshow -------------*/
.slideshow {
	margin-left: auto; 
	margin-right: auto;
	text-align:center;
	outline: none;	
}

.slideshowlink {
	
}


/* ----------- JS Slideshow -------------*/
.ngg-slideshow {
    overflow:hidden;
    position: relative;
}

.ngg-slideshow * {
    vertical-align:middle;
}

/* See also : http://www.brunildo.org/test/img_center.html */
.ngg-slideshow-loader{
    display: table-cell;
    text-align: center;
    vertical-align:middle;
}

.ngg-slideshow-loader img{
    background: none !important; 
    border: 0 none !important;
    margin:auto !important; 
}

/* ----------- Single picture -------------*/
.ngg-singlepic {
	background-color:#FFFFFF;
	display:block;  
	padding:4px;
}

.ngg-left {
	float: left;
	margin-right:10px;
}

.ngg-right {
	float: right;
	margin-left:10px;
}

.ngg-center {
  	margin-left: auto !important;
    margin-right: auto !important;
}

/* ----------- Sidebar widget -------------*/

.ngg-widget,
.ngg-widget-slideshow {
	overflow: hidden;
	margin:0pt;
	padding:5px 0px 0px 0pt;
}

.ngg-widget img {
	border:2px solid #A9A9A9;
	margin:0pt 2px 2px 0px; 
	padding:1px; 
}

/* ----------- Related images -------------*/
.ngg-related-gallery {
	background:#F9F9F9;
	border:1px solid #E0E0E0;
	overflow:hidden;
	margin-bottom:1em;
	margin-top:1em;
	padding:5px;
}
.ngg-related-gallery img {
	border: 1px solid #DDDDDD;
	float: left;
	margin: 0pt 3px;
	padding: 2px;
	height: 50px;
	width:  50px;
}

.ngg-related-gallery img:hover {
	border: 1px solid #000000;
} 

/* ----------- Gallery list -------------*/

.ngg-galleryoverview ul li:before {
	content: '' !important;
}

.ngg-gallery-list {
	list-style-type:none;
	padding: 0px !important;
	text-indent:0px !important;	
}

.ngg-galleryoverview div.pic img{
	width: 100%;	
}

.ngg-gallery-list li {
	float:left;
	margin:0 2px 0px 2px !important;
	overflow:hidden;
}

.ngg-gallery-list li a {
	border:1px solid #CCCCCC;
	display:block;
	padding:2px;
}

.ngg-gallery-list li.selected a{
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	background:#000000 none repeat scroll 0 0;
}

.ngg-gallery-list li img {
	height:40px;
	width:40px;	
}

li.ngg-next, li.ngg-prev {
	height:40px;
	width:40px;	
	font-size:3.5em;
}

li.ngg-next a, li.ngg-prev a  {
	padding-top: 10px;
	border: none;
	text-decoration: none;
}

/* Tablet (portrait) */
@media only screen and (min-width: 768px) and (max-width: 959px) {

.ngg-album {width: 145px; height: 145px;}
.ngg-thumbnail {width: 140px;}
.ngg-albumtitle{width: 140px; padding:50px 0px 90px 0px;}
.ngg-slideshow, .ngg-slideshow img{max-width: 728px; max-height: 349px;}

}

/* Phone (portrait) */
@media only screen and (max-width: 767px) {

.ngg-album {width: 100px; height: 100px;}
.ngg-thumbnail {width: 95px;}
.ngg-albumtitle{width: 95px; padding:42px 0px 53px 0px; font-size: 1em;}
.ngg-slideshow, .ngg-slideshow img{max-width: 100%; max-height: 100%;}

}