body {
	background: #CEA699 url('../img/background.jpg') repeat-x top left;
}

#accessibility {
	display: none;
}

/* Main layout */

header, footer {
	max-width: 940px;
	margin: 0 auto;
}

/* Header */

header {
	position: relative;
	z-index: 2;
	overflow: hidden;
}

h1#ident, h2#ident a {
	display: block;
	background: url('../img/logo.gif') no-repeat top center;
	padding-top: 46px;
	text-align: center;
	float: left;
}

h3#payoff {
	position: absolute;
	top: 50px; /* (6 + 46 + 16) - 6 */
	right: 0;
	color: #B8A9A5;
	text-transform: none;
	margin: 0;
}

/* Body section */

#body {
	border: 1px solid #300;
	padding: 4px;
	margin: 6px auto 12px;
	max-width: 930px;
}

/* Footer */

footer {
	color: #300;
	font-size: 10px;
	text-align: center;
}

footer a {
	color: #300;
}


/* Main nav */

#mainnav {
	float: right;
	background: url('../img/menuline.gif') no-repeat bottom left;
	padding: 0 0 12px 30px;
	text-align: center;
}

#mainnav ul {
	margin: 0;
	white-space: nowrap;
}

#mainnav li {
	display: block;
	border-right: dotted 1px #fff;
	float: left;
}

#mainnav li:last-child {
	border-right: 0;
}

#mainnav a, #mainnav strong {
	display: inline-block;
	text-decoration: none;
	color: #fc3;
	text-transform: uppercase;
	padding: 1px 10px;
	font-weight: normal;
}

#mainnav a:hover {
	text-decoration: underline;
}

#mainnav strong, #mainnav strong a {
	color: #fff;
	background-color: #A27A3A;
}

#mainnav strong a {
	padding: 0;
}

/* Front picture */

#frontpic {
	margin: -3.87% -4px 4px; /* 36px */
	padding: 0 4px 4px;
	border-bottom: 1px solid #300;
	position: relative;
	z-index: 1;
}

#frontpic img {
	display: block;
}

#frontpic figcaption {
	position: absolute;
	right: 15px;
	bottom: 11px;
	margin: 0;
}

#frontpic figcaption a {
	text-decoration: none;
}

/* Content */

#content {
	background-color: #300;
	overflow: hidden;
	position: relative;
}

#content h1 {
	margin: 12px 1.6129% 0;
}

#content article {
	padding: 12px 1.6129%;
	width: 52.150538%; /* 485px */
	overflow: hidden;
	float: left;
}

#content aside {
	padding: 12px 1.29%;
	width: 42.043011%; /* 391px */
	float: right;
}


/* Artist intro on front page */

#content .artistIntro {
	min-height: 159px;
	background: url('../img/jppicture.jpg') no-repeat top right;	
}


#content .artistIntro h1 {
	margin: 0 0 4px;
}

#content .artistIntro h2 {
	margin-bottom: 3px;
}

#content .artistIntro p {
	margin-right: 115px;
}

#content .artistIntro figure, #content .artistIntro p:last-child {
	margin-bottom: 0;
}


/* Teaser lists */

.teaserList {
	width: 49%;
	padding-right: 1px;
	float: left;
}

.teaserList:first-child {
	padding-left: 0;
}

.teaserList h2 {
	border-bottom: 1px dotted #fff;
	padding-bottom: 3px;
	margin: 0 0 3px;
}

.teaserList li {
	color: #f90;
}

.teaserList li span {
	color: #fff;
}

/* Gallery page */

#content.gallery {
	background-color: #fff;
	color: #000;
}

#content.gallery article {
	width: auto;
	float: none;
}

#content.gallery nav li {
	list-style: none;
	margin: 0;
}

.gallery nav .prev a {
	float: left;
	background: url('../img/arrow_left.gif') no-repeat top left;
	padding-left: 16px;
}

.gallery nav .next a {
	float: right;
	background: url('../img/arrow_right.gif') no-repeat top right;
	padding-right: 16px;
}

.gallery nav .parent a {
	position: absolute;
	top: 12px;
	right: 15px;
}

.galleryArea {
	width: 775px;
	margin: 12px auto;
}

.galleryArea .right {
	margin-left: 0;
}

/* Responsive */

@media screen and (max-width: 930px) {
	h1#ident, h2#ident a {
		float: none;
		overflow: hidden;
		height: 0;
		margin-bottom: 12px;
	}

	h3#payoff {
		display: none;
	}

	#mainnav {
		float: none;
		background: transparent;
		padding: 0;
	}

	.teaserList {
		width: auto;
		float: none;
	}
}

@media screen and (min-width: 860px) {
	.artistIntro h1 {
		font-size: 26px;
		letter-spacing: 8px;
	}
}

@media screen and (max-width: 700px) {
	#content article, #content aside {
		float: none;
		width: auto;
	}
	
	.artistIntro {
		background-position: right -10px;
		min-height: 110px;
	}
}

