/*
Theme Name: Anse
Theme URI: http://bavotasan.com/downloads/magazine-basic-24-now-available/
Version: 2.4.9
Author: c.bavota modificado por Churba & Portillo
Author URI: http://www.asociacionanse.org/
Tags: right-sidebar,left-sidebar,fixed-width,three-columns,two-columns,white,custom-header,theme-options

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* Basic Tag Elements */

a {
	text-decoration: none;
	outline: none;
	color: #1fa22e;
	}
	
	a:hover {text-decoration: underline;}
	
img { border: 0;}

body {
	color: #444;
 	margin: 0 auto; 
	font-size: 14px;
	line-height:18px;
	padding: 0; 
	font-family:arial,helvetica,sans-serif;
	background: #fff url("images/fondotop.png") repeat-x center top;
	}

h1 a, h2 a, h3 a, h4 a, h5 a {color: #1fa22e;}

h3 {
	color:#1FA22E;
	font-size:18px;
	font-weight:bold;
	}

small {font-size: 12px;}

textarea {width: 97%;}


/* Header Elements */

#header{
	background: transparent url(uploads/logo3.png) no-repeat scroll left 30px;
	float: left;
	width: 100%;
	}

#headerad { width: 468px;}	

#login {
	height: 12px;
	font-size: 12px;
	color: #444;
	text-align: right;
	padding: 0 10px 0;
	background: transparent;
	font-family:arial,helvetica,sans-serif;
	}
	
	#login a {color: #fff;}
	
	#login ul {
		padding: 0;
		margin: 0;
		}
	
	#login ul li {display: inline;}
	
.dot:before {content: url(images/blackdot.png) " ";}
.hola {margin-right:5px;}

#title {
	font-size:48px;
	line-height:34px;
	margin:0;
	padding:0;
	text-indent:-9999px;
	}
	
	#title a {color: #222;}		
	
	#title a:hover {
		color: #cc0000;
		text-decoration: none;
		}
		
#description {
	font-size:14px;
	margin:0;
	text-indent:-9999px;
	}		
	
#navigation {
	clear: left;
	background: #2caed3;
	float: left;
	width: 100%;
 	z-index: 100;
 	position: relative;
	margin-top: 10px;
	}

#navigation ul * {
	margin:0; 
	padding:0
	}

	#navigation ul {
		padding: 0;
		margin: 0;
		}
	
	#navigation ul li {
		position:relative;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		list-style-type: none;
		float: left;
		font-size: 12px;
		line-height: 24px;
		padding: 0;
		margin: 0;
		position: relative;
		}
	
	#navigation ul a {
		display: block;
		font-weight: bold;
		color: #fff;
		border-right: 1px solid #fff;
		padding: 0 15px;
		}
		
		#navigation ul a:hover {
			color: #fff;
			background: #2caed3;
			text-decoration: none;
			}
#navigation ul li:hover ul { display: block; z-index: 1000;}	
#navigation ul li:hover ul ul { display: none; }	
#navigation ul ul { position:absolute; top:24px; left:0; background:#2caed3; display:none; list-style:none;}
#navigation ul ul li {position:relative; border:1px solid #fff; width:159px; margin:0; }
#navigation ul ul li a {display:block; padding:4px 7px 5px 12px; color: #fff; background-color:#2caed3; border-right: 0; font-size: 12px;line-height:16px; }
#navigation ul ul li a:hover {background-color:#1b6faa}
#navigation ul ul li:hover ul { display: block; }
#navigation ul ul ul { left:159px; top:-1px; display: none; }
								
#sub-navigation {
	clear: both;
	/*border-bottom: 1px solid #222;*/
	float: left;
	width: 100%;
	padding-top: 2px;
 	z-index: 50;
 	position: relative;
	}
	
	#sub-navigation ul {
		padding: 0 0 0 5px;
		margin: 0;
		}
	
	#sub-navigation li {
		list-style-type: none;
		float: left;
		font-size: 12px;
		padding: 0 10px 0 0;
		text-transform: uppercase;
		margin: 0;
		line-height: 22px;
		background: url(images/blackdot.png) right 5px no-repeat;
		position: relative;
		}
	
	#sub-navigation a {
		color: #222;
		padding: 0 5px;
		}
		
		#sub-navigation a:hover {text-decoration: none;}
			
#sub-navigation ul li:hover ul { display: block; }	
#sub-navigation ul li:hover ul ul { display: none; }	
#sub-navigation ul ul { position:absolute; top:22px; left:0; background:#fff; display:none; list-style:none; margin:0;padding:0; border-top: 1px solid #000;}
#sub-navigation ul ul li {position:relative; border:1px solid #aaa; border-top: 0;width:300px; margin:0; padding: 0; background: none;}
#sub-navigation ul ul li a {display:block; padding:0 7px 0 12px; color: #555; background-color:#fff; border-right: 0; font-size: 12px; text-decoration:none;}
#sub-navigation ul ul li a:hover {background-color:#eee}
#sub-navigation ul ul li:hover ul { display: block; }
#sub-navigation ul ul ul { left:159px; top:-1px; display: none; }	

#sub-navigation li.nodot {background: none;}
#sub-navigation li.right-d {float: right;}

/* Main Elements */
	
#mainwrapper {
	float: left;
	width: 100%;
	padding: 10px 0 10px 0;
	margin: 0;
	border-top: 2px solid #2caed3;
	border-bottom: 2px solid #2caed3;
	background: #fff;
	}

#sidebar {
	float: left;
	margin: 0 0 0 30px;
	padding: 5px 0 0;
	width:404px; 
	}

#secondsidebar {
	float: left;
	margin: 0 10px;
	padding: 5px 0 0;
	}
	
.side {
	line-height: 18px;
	font-size: 16px;
	margin-bottom: 0;
	}
.side a{
	}	
	
.side-widget {
	float: left;
	margin: 0 0 10px;
	padding: 0 10px 15px;
	/*background: url(images/bg-hatch.gif);*/
	/*border: 1px solid #ddd;*/
	width:360px; /*anadido por angeles*/
	}
	
	.side-widget ul {
		padding: 0;
		margin: 0;
		list-style-type: none;
		}

	.side-widget ul li {
		padding: 0;
		margin: 0;
		font-size: 13px;
		}
		
	.side-widget ul li {
		padding-left: 15px;
		margin: 2px 0;
		}
	
	.side-widget h2 {
		font-size: 14px;
		border-bottom: 1px solid #ddd;
		padding: 10px 0 5px;
		margin-top: 0;
		text-align: left;
		text-transform: uppercase;
		}
		
	.side-widget .storycontent {border-bottom: 1px solid #ddd;font-size:12px; line-height:14px;}	
	.side-widget .noline {border-bottom: 0;}		

.posts {
	border-bottom: 1px solid #ccc;
	margin-bottom: 10px;
	float: left;
	width: 100%;
	}
	
	.posts h2 {
		margin: 10px 0 0;
		font-weight:normal;
		}
	
	.posts img {
		margin: 10px 10px 10px 0;
		float: left;
		}
		
.readmore {color: #cc0000;}
		
#footer {
	clear: both;
	float: left;
	width: 100%;
	padding: 10px 0;
	text-align: center;
	font-size: 11px;
	/*border-top: 1px solid #222;*/
	background: #fff;
	}

/* Left Content Elements */

#leftcontent {
	float: left;
	margin: 0 10px 0 0;
	padding: 0;
	width: 600px;}

	#leftcontent h5 {
		font-family:Verdana, Arial, Helvetica, sans-serif;
		margin: 0;
		padding: 0;
		color: #cc0000;
		margin-bottom: 5px;
		font-size: 14px;
		}

	#leftcontent h1 {
		margin: 0;
		padding: 0;
		font-size: 24px;
		line-height: 26px;
		}

#leftcontent h1.catheader {
	margin-top: 3px;
	color: #aaa;
	font-weight: normal;
	font-size:18px;
	letter-spacing:2px;
	text-transform:uppercase;
	}
	
	#leftcontent .post h1, 
	#leftcontent .ind-post h1, 
	#leftcontent .twopost h1, 
	#leftcontent .threepost h1 {
		margin-top: 5px;
		font-size: 24px;
		font-weight: normal;
		line-height: 26px;
		color: #222;
		}
		
	#leftcontent .twopost h1 {
		font-size: 26px;
		line-height: 28px;
		}
	
	#leftcontent .threepost h1 {
		font-size: 20px;
		line-height: 22px;
		}
	
	#leftcontent .postmetadata {
		clear: both;
		line-height: 14px;
		}
		
	#leftcontent .post .entry {}
		
	#leftcontent .date {
		margin: 5px 0;
		color: #888;
		}
		
	#leftcontent .meta {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 11px;
		color: #444;
		}
	#leftcontent .meta a {color:#888;}	
		
	#leftcontent .catdesc {
		background: #f7f7f7;
		border: 3px double #ddd;
		padding: 0 10px;
		color: #666;
		font-size: 13px;
		line-height: 15px;
		margin-bottom: 10px;
		}
		
/* This is your subtitle style */

#leftcontent p.sub {
	font-size: 24px;
	line-height: 26px;
	font-weight: bold;
	font-style: italic;
	margin: 10px 0 0;
	}

/* This is your blockquote style */
	
#leftcontent blockquote {
	width: 250px;
	font-size: 24px;
	line-height: 26px;
	float: right;
	margin: 0 0 0 30px;
	padding: 0;
	font-style: italic;
	}
	
	#leftcontent blockquote p {
		padding: 0;
		margin: 0;
		}

.more-link {
	font-size: 11px;
	text-align: right;
	color: #cc0000;
	}

.tags a {color: #cc0000;}
	
.ind-post, .post {
	float: left;
	border-bottom: 1px solid #aaa;
	margin-bottom: 10px;
	padding-bottom: 10px;
	width: 100%;
	}

	.ind-post img {/*margin: 0px 10px 5px 0;*/		}

#twocol {
	float: left;
	margin-bottom: 3px;
	padding: 10px 0 0;
	background: url(images/line.png) repeat-y 50% 0;
	}

	#twocol img {margin: 0px 8px 5px 0;}
		
	#twocol hr.two {
		height: 0;
		border: 0;
		clear: both;
		border-bottom: 1px solid #aaa;
		}
	
.mainhr {
	float: left;
	background: #aaa;
	clear: both;
	width: 100%;
	height: 1px;
	border: 0;
}	
	
.twopost {
	width: 46%;
	float: left;
	}	

	.twopost2, .twopost4 {margin-left: 7.5%;}
		
	.twopost3, .twopost4 {
		border-top: 1px solid #aaa;
		padding-top:5px;
		}
		
	.twopost1, .twopost3 {clear: left;}		
		
#threecol {
	float: left;
	background: url(images/line.png) repeat-y 31.5% 0;
	margin-top: 3px;
	}

#threecol2 {
	float: left;
	padding: 0;
	background: url(images/line.png) repeat-y 67% 0;
}

	#threecol img {margin: 0px 5px 5px 0;}

.threepost {
	width: 29%;
	float: left;
	border-top: 1px solid #aaa;
	padding-top: 10px;
	}

	.threepost2, .threepost5 {
		padding: 10px 0 0;
		margin: 0 6%;
		}
		
	.threepost1, .threepost2, .threepost3 {border-top: 0;}	
	.threepost1, .threepost4 {clear: left;}
			
/* Other Elements */

.red {color: #cc0000;}
.entry a {color: #1fa22e;}

	
#tagcloud {
	/*width: 400px;*/
	text-align: center;
	float:left;
	margin: auto;
	padding: 20px;
	}	
	
#tagcloud a {color: #aaa;}

/* Comment Elements */

h3#comments {
	text-transform: none;
	padding-bottom: 5px;
	}

#postcomments {padding-top: 20px;}		
			
	 h4#comments, #respond h3 { color:#aaa; font-weight:normal; margin:0 0 .1em; padding:0 0 .1em; }
	 #respond p { font-size:11px; margin:0 0 1em; }	
	 ol.commentlist { list-style:none; margin:0; padding:0; }
	 ol.commentlist li { margin:0 0 10px; padding:5px 7px 5px 64px; position:relative; }
	 ol.commentlist li.pingback comment-author { padding:0 170px 0 0; }
	 ol.commentlist li div.vcard { font-weight:bold; font-size: 14px; line-height: 16px; font-family: helvetica,arial,sans-serif; }
	 ol.commentlist li div.vcard cite.fn { font-style:normal; font-size: 11px; }
	 ol.commentlist li div.vcard cite.fn a.url, .cancel-comment-reply a { color:#1FA22E; text-decoration:none; }
	 ol.commentlist li div.vcard cite.fn a.url:hover, .cancel-comment-reply a:hover { color:#000; }
	 ol.commentlist li div.vcard img.avatar { background: #fff; border:1px solid #aaa; padding: 5px; left:7px; position:absolute; top:7px; }
	 ol.commentlist li div.comment-meta { font-weight:bold; font-size: 10px; line-height: 16px; font-family: helvetica,arial,sans-serif; position:absolute; right:10px; text-align:right; top:5px; }
	 ol.commentlist li div.comment-meta a { color:#888; text-decoration:none; }
	 ol.commentlist li p { font-weight:normal; font-size: 12px; line-height: 16px; font-family: helvetica,arial,sans-serif; margin:5px 0 12px; }
	 ol.commentlist li ul { font-weight:normal; font-size: 12px; line-height: 16px; font-family: helvetica,arial,sans-serif; list-style:square; margin:0 0 12px; padding:0; }
	 ol.commentlist li div.reply { background:#999; color:#fff; font:bold 9px/1 helvetica,arial,sans-serif; padding:6px 5px 4px;  text-align:center; width:70px; }
	 ol.commentlist li div.reply:hover { background:#2CAED3; }
	 ol.commentlist li div.reply a { color:#fff; text-decoration:none; text-transform:uppercase; }
	 ol.commentlist li ul.children { list-style:none; margin:12px 0 0; text-indent:0; }
	 ol.commentlist li ul.children li.depth-2 { margin:0 0 3px; }
	 ol.commentlist li ul.children li.depth-3 { margin:0 0 3px; }
	 ol.commentlist li ul.children li.depth-4 { margin:0 0 3px; }
	 ol.commentlist li ul.children li.depth-5 { margin:0 0 3px; }
	 ol.commentlist ul.children li.odd { background:#fff; }
	 ol.commentlist ul.children li.even { background:#f6f6f6; }
	 ol.commentlist li.pingback div.vcard { padding:0 170px 0 0; }
			
.commentnumber {
		position: absolute;
		left: 7px;
		bottom: 3px;
		font-size: 14px;
		color: #ccc;
		}

/* WordPress Required Elements */

.aligncenter,
div.aligncenter {
   display: block;
   margin: 5px auto;
}

.alignleft, div.alignleft {
   float: left;
   margin: 5px 15px 5px 0;
}

.alignright, div.alignright {
   float: right;
   margin: 5px 0 5px 15px;
}

.alignnone {margin: 5px 0;}

.wp-caption {
   text-align: left;
   margin: 0;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 14px;
   padding: 2px 5px 5px 0;
   margin: 0;
   text-align:left;
}

#today {color: #cc0000;}



/**********PLUGINS********/

#wp-calendar {margin: auto;}

/*formulario de busquedas sidebar*/
#s.search_input {width: 335px; color:#888}

/*plugin sociable*/
div.sociable {text-align:center;}

/* NextGEN Gallery */

.piclenselink {visibility: hidden;}
.ngg-gallery-thumbnail-box {margin:10px !important;}

/* NextGEN Shutter */

#shDisplay div#shTitle {
	font: normal 12px/17px 'Lucida Grande', Verdana, sans-serif; /* caption font */
	color: #ffffff; /* caption colour */
	text-align: center;
	margin: 0 auto;
}

#shDisplay div#shCount {
	color: #999999;
	font: normal 10px/12px 'Lucida Grande', Verdana, sans-serif;
}

#shDisplay div#shTitle a {
	text-decoration: none;
	font: bold 16pt 'Courier New', Courier, fixed;
	letter-spacing: -2px;
	margin: 0 10px;
	width: 26px;
	color: #999999;
}

#shDisplay div#shTitle a:hover {
	color: #ffffff;
	border: none;
}

#shDisplay div#shNext{float:right;}

#shDisplay div#shPrev {float:left;}

body {height: 100%;}

#shShutter *, #shDisplay * {
	padding: 0;
	margin: 0;
}

div#shShutter, div#shDisplay {
	top: 0;
	left: 0;
	width: 100%;
	position: absolute;
}

div#shShutter {
	height: 100%;
	z-index: 1000;
	background-color: #000000;
	/*opacity: 0.8;
	filter:alpha(opacity=80);*/
}

div#shDisplay {
	display: block;
	background-color: transparent;
	z-index: 1002;
}

div#shDisplay img#shTopImg {
	margin: 0 auto;
	border: 1px solid #555;
	background: transparent;
	display: block;
	max-width: none;
	max-height: none;
	float: none;
	padding:0px;
	cursor: pointer;
}

div#shDisplay div#shWrap {visibility: hidden;}

div#shWaitBar {
	font: bold 32px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	height: 36px;
	width: 100%;
	left: 0;
	cursor: default;
	/*opacity: 0.999;
	filter: alpha(opacity=100);*/
	z-index: 1001;
	margin-top: 160px;
	color: #ae0a0a;
}

/*PageNavi*/

.wp-pagenavi {text-align:center;}

.wp-pagenavi a, .wp-pagenavi a:link {
	padding: 2px 4px 2px 4px;
	margin: 2px;
	text-decoration: none;
	/*border: 1px solid #1FA22E;*/
	color: #1FA22E;
	background-color: #FFFFFF;	
}
.wp-pagenavi a:visited {
	padding: 2px 4px 2px 4px;
	margin: 2px;
	text-decoration: none;
	/*border: 1px solid #1FA22E;*/
	color: #1FA22E;
	background-color: #FFFFFF;	
}
.wp-pagenavi a:hover {	
	border: 1px solid #1FA22E;
	color: #fff;
	background-color: #1FA22E;
}
.wp-pagenavi a:active {
	padding: 2px 4px 2px 4px;
	margin: 2px;
	text-decoration: none;
	border: 1px solid #1FA22E;
	color: #1FA22E;
	background-color: #FFFFFF;	
}
.wp-pagenavi span.pages {
	padding: 2px 4px 2px 4px;
	margin: 2px 2px 2px 2px;
	color: #888;
	/*border: 1px solid #1FA22E;*/
	background-color: #FFFFFF;
}
.wp-pagenavi span.current {
	padding: 2px 4px 2px 4px;
	margin: 2px;
	font-weight: bold;
	border: 1px solid #1FA22E;
	color: #fff;
	background-color: #1FA22E;
}
.wp-pagenavi span.extend {
	padding: 2px 4px 2px 4px;
	margin: 2px;	
	color: #1FA22E;
	background-color: #FFFFFF;
}



/*contact form 7*/

div.wpcf7 {
	margin:40px auto;
	padding:0;
	width:400px;
	}

div.wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	}

div.wpcf7-mail-sent-ok {border: 2px solid #398f14;}
div.wpcf7-mail-sent-ng {border: 2px solid #ff0000;}
div.wpcf7-spam-blocked {border: 2px solid #ffa500;}
div.wpcf7-validation-errors {border: 2px solid #f7e700;}

span.wpcf7-form-control-wrap {position: relative;}

span.wpcf7-not-valid-tip {
	position: absolute;
	top: 20%;
	left: 20%;
	z-index: 100;
	background: #fff;
	border: 1px solid #ff0000;
	font-size: 10pt;
	width: 280px;
	padding: 2px;
}

span.wpcf7-not-valid-tip-no-ajax {
	color: #f00;
	font-size: 10pt;
	display: block;
}

span.wpcf7-list-item {margin-left: 0.5em;}

.wpcf7-display-none {display: none;}

img.ajax-loader {
	border: none;
	vertical-align: middle;
}

/*
CSS Name: Default Styles
Description: NextGEN Default Gallery Stylesheet
Author: Alex Rabe
Version: 1.50

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-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-album {
    height: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #fff;
}

/* IE6 will ignore this , again I hate IE6 */
/* See also http://www.sitepoint.com/article/browser-specific-css-hacks */
html>body .ngg-album {
    overflow:hidden;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #cccccc;
} 

.ngg-album {
	overflow: hidden;
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #cccccc;
}

.ngg-albumtitle {
	text-align: left;
 	font-weight: bold;
	margin:0px;
	padding:0px;
	font-size: 1.4em;
	margin-bottom: 10px;
}

.ngg-thumbnail {
	float: left;
	margin-right: 12px;
}

.ngg-thumbnail img {
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	margin:4px 0px 4px 5px;
	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:180px;
	padding-right:6px !important;
	margin:0px !important; 
	text-align:left;
	width:120px;	
}

.ngg-album-compactbox {
	background:transparent url(albumset.gif) no-repeat scroll 0%;
	height:86px;
	margin:0pt 0pt 6px !important;
	padding:12px 0pt 0pt 7px !important;
	width:120px;
}


.ngg-album-compactbox .Thumb {
	border:1px solid #000000;
	margin:0px !important;
	padding:0px !important;
	width:91px; 
	height:68px;
}

.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 {
	overflow: hidden;
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-galleryoverview .desc {
/* required for description */
   margin:0px 10px 10px 0px;
   padding:5px;
}

.ngg-gallery-thumbnail-box {
	float: left;
}

.ngg-gallery-thumbnail {
	float: left;
	margin-right: 5px;
	text-align: center;
}

.ngg-gallery-thumbnail img {
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	display:block;  
	margin:4px 0px 4px 5px;
	padding:4px;
	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;
}

/* ----------- 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 !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 {
	
}

/* ----------- 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;
	text-align:left;
}

.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;
}