/*
CSS Name: Grabenhalle
Description: NextGEN Style for K2 Theme
Author: Alex Rabe / edited by mario baronchelli / schattenwerk
Version: 1.33
   
This is a template stylesheet that can be used with NextGEN Gallery. I tested the
styles with a default theme Kubrick. Modify it when your theme struggle with it,
it's only a template design

*/

/* ----------- Album Styles Extend -------------*/

.ngg-albumoverview {
	margin: 10px 0px 0px 0px !important;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-album {
	/*height: 130px;*/
	overflow:hidden;
	margin: 0px 0px 5px !important;
	padding: 5px;
	border: none !important;
}

.ngg-albumtitle {
	text-align: left;
 	font-weight: bold;
	padding:0px;
	font-size: 1.4em;
	margin: 0px 0px 10px 0px !important;
}

.ngg-albumcontent {
	margin: 0px !important;
}

.ngg-thumbnail {
	margin:0px 12px 0px 0px !important;
	float: left;
}

.ngg-thumbnail img {
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	margin:4px 0px 4px 5px !important;
	padding:4px;
	position:relative;
}

.ngg-thumbnail img:hover {
	background-color: #A9A9A9;
}

.ngg-description {
	text-align: left;
}

/* ----------- Album Styles Compact -------------*/

.ngg-album-compact {
	float:left;
	height:250px;
	margin:0px 10px 10px 0 !important; 
	padding:0px !important; 
	text-align:left;
	width:270px;
}

/*
.ngg-album-compact:nth-child(3n) {
	margin-right:0 !important;
}
*/

@media only screen and (max-width:940px) {

	.ngg-album-compact:nth-child(2n) {
		margin-right:0 !important;
	}
	.ngg-album-compact:nth-child(3n) {
		margin-right:10px !important;
	}
}

@media only screen and (max-width:940px) {

	.ngg-album-compact:nth-child(2n) {
		margin-right:0 !important;
	}
	.ngg-album-compact:nth-child(3n) {
		margin-right:10px !important;
	}
}

@media only screen and (max-width:640px) {
	.ngg-album-compact, .ngg-album-compact:nth-child(2n), .ngg-album-compact:nth-child(3n) {
		margin:0px !important;
	}
}

.ngg-album-compactbox::after, .ngg-album-compactbox::before {
	border:none !important;
}

.ngg-album-compactbox {
	background:none !important;
	margin:0!important;
	padding:0 !important;
	border:none !important;
	border-radius: 0 !important;
	box-sizing:content-box;
}


.ngg-album-compactbox .Thumb {
	margin:0px !important;
	padding:0px !important;
	border:none !important;
}

.ngg-album-compact h4 {
	font-size:11px;
	font-weight:bold;
	margin-bottom:0px;
	margin-top:0px;
	width:270px;
}

.ngg-album-compact p {
	font-size:11px;
	margin-top:2px;
}

.ngg-album-desc {
	width:270px !important;
	font-size:14px;
	line-height:18px;
	text-transform:uppercase;
	height:auto !important;
}

.ngg-album-gallery-image-counter {
	margin:0 !important;
}

.ngg-album-link .Link {
	border:none !important;
}



/* ----------- Gallery style -------------*/

.ngg-galleryoverview {
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-gallery-thumbnail-box {
	margin:0px !important;
	padding:0 !important
	float: left;
}

.ngg-gallery-thumbnail {
	float: left; 
	background:none !important;
	margin: 0 10px 10px 0 !important;
}

.ngg-gallery-thumbnail img {
	margin: 0 !important;
	background-color:#FFFFFF;
	border:none !important;
	display:block; 
	padding:0px;
	position:relative;
}

.ngg-gallery-thumbnail img:hover {
	/*background-color: #A9A9A9;*/
}

.ngg-gallery-thumbnail span {
	/* Images description */
	font-size:90%;
	padding-left:5px;
	display:block;
} 

.ngg-clear {
	clear: both;
}

.screen-reader-text {
	display:none;
}

#TB_caption, #TB_secondLine {
	font-size:12px !important;
}

#TB_caption {
	margin-bottom:15px !important;
}

/* ----------- Gallery navigation -------------*/

.ngg-navigation {
	font-size:0.9em !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;
	text-decoration: none;
}

/* ----------- 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 {
	
}

/* ----------- 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: none !important;
	float: left;
	margin: 0pt 2px;
	padding: 2px;
	height: 50px;
	width:  50px;
}

.ngg-related-gallery img:hover {
	border: none !important;
} 
