/* @override http://www.jcpretre.ch/site/wp-content/themes/template/style.css */

/*  
Theme Name: WPGall template
Theme URI: http://www.nack.ch
Description: Art-portfolio template
Version: 0.1
Author: Niels Ackermann aka Bretzelman
Author URI: http://www.nack.ch/

Don't steal code please! It took me a lot of time.

*/
#wrapper{
	width: 800px;
	margin: 0 auto;
	position: relative;
	padding: 3em 0 2em 0;
	font-size: 1em;
}
#header{
	display: block;
	margin: 0 0 2.3em;
}
.spacer{
	clear: both;
}
body{
	font: 0.95em "Century Gothic", Arial, Helvetica, "Sans serif", Verdana;
}
hr{
	border: none;
	border-bottom: 2px solid #bfbfbf;
	width: 50%;
	margin: 4em auto;
}
span.copyright{
	font-size: 0.75em;
	width: 600px;
	text-align: center;
	display: block;
	margin: 3.5em auto 3em auto ;
	color: #696969;
}
a{
	color: #ff00b9;
	text-decoration: none;
}
a:active, a
{
  outline: none;
}

a img{
	border: none;
}
a[href $='.pdf'] {
	font-size: 120%;
	height: 22px;
	margin: 0 0px 20px 0;
	padding: 1px 0 0 35px;
	background: url(images/file_pdf.gif) no-repeat;
	text-decoration: none;
	text-align: left;
	color: #909090;
}
a .nostyle{
	font-size: 100 !important;
	margin: 0 !important;
	padding: none !important;
	background: none !important;
	text-decoration: none;
	text-align: inherit !important%;
}
p{
	margin: 0 0 1.2em;
	font-size: 85%;
	line-height: 1.5em;
	text-align: justify;
	color: #323232;
}
ul{
	margin: 0.5em 0 1em 0;
}
li{
	font-size: 95%;
	margin: 0 0 1em;
}
p.wp-caption-text{
	font-size: 70%;
	color: #5e5e5e;
}
div.aligncenter{
	margin: auto;
}
div.alignleft{
	float:left;
	margin: 0 15px 10px 0;
}
div.alignright{
	float:right;
	margin: 0 0 10px 15px;
}
blockquote{
	font-family: Georgia, "Times New Roman", Times, serif;
	margin: 0 5em 2em ;
	padding: 0;
}
blockquote p{
	margin: 0 0 1em 0;
	text-align: justify!important;
}
blockquote, blockquote p{
		color: #5e5e5e;

}
blockquote h3{
	text-transform: none;
	margin: 0;
	padding: 0;
}
h1, h2, h3{
	font-weight: normal;
	font-style: normal;
	margin: 0 0 3px;
	padding: 0;
	text-transform: uppercase;
	clear: both;
}
h1{
	line-height: 0.5em;
	font-size: 1.6em;
}
h1 small{
	color: #a9a9a9;
	font-size: 0.7em;
}
h2{
	padding: 1em 0 1em;
	display: block;
	font-size: 1.9em;
}
h1 a, h2 a{
	text-decoration: none;
	color: #000;
}
h3{
	margin: 3em 0 0.5em 0 ;
	font-size: 1.3em;
}
h4{
	margin: 3em 0 0.5em 0 ;
	font-size: 1.1em;
}

p+h3{
	margin-top: 3em;
}

sup{
	font-size: 9px;
}
#header a {
	text-decoration: none;
}
ul#menu{
	list-style: none;
	position: relative;
	left: 0;
	margin:  0 0 7em 0;
	padding: 2em 0 2.5em ;
	text-transform: uppercase;
	font-size: 0.9em !important;
}
ul#menu li{
	display: inline;
	margin: 0 8px 0 0;

}
ul#menu li.current_page_ancestor>ul, li.current_page_item>ul{
	float: left;
	position: absolute;
	left: 0;
	display: block!important;
	padding: 0;
	margin: 10px 0 0 0;
}
ul#menu li.current_page_ancestor>ul li,
ul#menu li.current_page_item ul li{
	margin: 0 1em 0 0;
}
ul#menu li.current_page_ancestor>ul li>ul.current_page_item{	
	padding: 1.1em 0;
}

#menu li.current_page_ancestor ul li.current_page_item ul,
#menu li.current_page_ancestor ul li.current_page_ancestor ul {
	width: 800px;
	margin: 10px 0 0 0;
	line-height: 1.5em;
	font-size: 95%;
}
ul#menu li.page_item ul{
	display: none;
}
ul#menu a {
	color: #a9a9a9;;
}
.current_page_item>a, 
.current_page_ancestor a, 
.current_page_item ul a{
	color: #000!important;
}
ul#menu a:hover, ul#menu ul .current_page_ancestor, 
ul#menu ul .current_page_item>a {
	border-bottom: solid 1px #000!important;
}
.ngg-galleryoverview{
	margin: 0 0 35px 0;
	padding: 0;
	width: 805px!important;
}
.ngg-gallery-thumbnail-box {
    margin-right: 0px!important;
}
.ngg-gallery-thumbnail a img {
	padding: 0;
	margin: 0 5px 5px 0;
	border: none;
}
.ngg-gallery-thumbnail a img:hover{
	background: none;
}
.ngg-gallery-thumbnail {
	padding: 0;
	margin: 0!important;
}
.ngg-gallery-thumbnail img{
	display: block!important;
	clear: none !important;
}
img.bordered{
	border: 1px solid #cecece;
}
div.wp-caption{
	margin-bottom: 1em;
}
div.wp-caption + div.wp-caption{
	margin-top: 3em;
}