/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: 			#222;
}

body {
    font-size: 		1em;
    line-height: 	1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: 		#b3d4fc;
    text-shadow: 	none;
}

::selection {
    background: 		#b3d4fc;
    text-shadow: 	none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: 		block;
    height: 			1px;
    border: 			0;
    border-top: 		1px solid #ccc;
    margin: 			1em 0;
    padding: 		0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 			0;
    margin:			0;
    padding: 		0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: 			vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 			0.2em 0;
    background: 		#ccc;
    color: 			#000;
    padding: 		0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: 	transparent;
    border: 				0;
    overflow: 			hidden;
    /* IE 6/7 fallback */
    *text-indent: 		-9999px;
}

.ir:before {
    content: 			"";
    display: 			block;
    width: 				0;
    height: 				100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: 			none !important;
    visibility: 			hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 				0;
    clip: 				rect(0 0 0 0);
    height: 				1px;
    margin: 				-1px;
    overflow: 			hidden;
    padding: 			0;
    position: 			absolute;
    width: 				1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: 			auto;
    height: 			auto;
    margin: 			0;
    overflow: 		visible;
    position: 		static;
    width: 			auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: 		hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: 	" "; /* 1 */
    display: 	table; /* 2 */
}

.clearfix:after {
    clear: 		both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: 		transparent !important;
        color: 			#000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:		none !important;
        text-shadow: 	none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: 		" (" attr(href) ")";
    }

    abbr[title]:after {
        content: 		" (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: 			"";
    }

    pre,
    blockquote {
        border: 				1px solid #999;
        page-break-inside: 	avoid;
    }

    thead {
        display: 			table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: 	avoid;
    }

    img {
        max-width: 			100% !important;
    }

    @page {
        margin: 				0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 			3;
        widows: 				3;
    }

    h2,
    h3 {
        page-break-after: 	avoid;
    }
}

body {
 	margin:					0;
 	font-family: 			'Open Sans Condensed', sans-serif; 
	}
p > img {
	float:				left;
	width:				420px; 
	margin:				20px; 
	margin-left:			0; 
	margin-top:			0; 
	}
img + img {
	margin-top:			20px; 
	} 
	
header img {
	width:				200px; 
	}
ul,li {
	padding:				0; 
	margin:				0; 
	list-style:			none; 
	}
ul.two.album li {
	margin-top:			30px; 
	}
ul.two.album li:first-child,
ul.two.album li:first-child + li {
	margin-top:			0; 
	}
ul.two,
ul.artikel {
	float:				left;
	display:				block; 
	}

ul.artikel li,
ul.two li {
	display:				inline-block;
	float:				left; 
	}
ul.two li {
	margin-top:			30px;
	width:				460px; 
	}
ul.two.kuenstler li {
	height:				260px; 
	}	
ul.artikel li {
	width:				380px; 
	}
ul.two li.odd {
	clear:				left; 
	}
ul.two li.even   {
	margin-left:			20px; 
	}
ul.artikel li.even {
	width:				540px;
	margin-left:			20px;  
	}

h1, h2, h3, h4 {
	font-weight:			normal;
	padding:				0; 
	margin:				0;
	text-transform:		uppercase;
	line-height:			1em; 
	font-family: 		'Open Sans Condensed', sans-serif; 
	font-weight: 		700;
	background:			transparent top left repeat-x; 
	}
h1 {
	margin-top:240px;
	font-size:3.0em;
	padding:0;
	clear:both; 
	}
h2 {
	padding:10px 0 2px 0; 
	background-image:url(../img/h2.png); 
	border-bottom:1px solid #000; 
	}
ul.one li h2,
ul.one li p {
	float:left; 
	display:inline-block;
	width:460px;  
	}
nav + h1 {
	margin-top:50px; 
	}
h2 + h3 {
	margin-top:20px; 
	}
p + h4 {
	font-family: 'Open Sans Condensed', sans-serif; 
	}
h1 + p {
	margin-top:10px; 
	padding:20px 0 15px 0;
	font-style:italic;
	background:url(../img/h1p.png) top left repeat-x;
	border-bottom:1px solid #000; 
	}
h2 + ul {
	margin-top:40px; 
	}
p + h2,
p + ul {
	margin-top:40px; 
	}
h2 + table {
	margin-top:20px; 
	}
p > span {
	font-weight:bold; 
	}		
h3 + p,
h4 + p {
	margin-top:5px; }
ul.artikel li > p:first-child {
	margin-top:0; 
	}
td  {
	width:140px; 
	padding:5px 0 5px 0;
	border-bottom:1px solid #000; 
	}
td +  td {
	padding-left:10px; 
	}
td:last-child {
	width:640px; 
	}
a {
	text-decoration:none; 
	color:#000; 
	}
nav a {
	float:left; 
	}
nav a:hover,
p > a,
q > a,
footer > a {
	text-decoration:underline;
	}
nav a + a {
	margin-left:20px; 
	}
ul.kontakte li:last-child p:first-child {
	margin-top:0; 
	}
article{
	position:relative;
	display:block;
	width:940px; 
	margin:0 auto; 
	}
header,
footer {
	display:block;
	width:940px; 
	margin:0 auto; 
	}
header {
	padding-top:50px;
	height:150px;  
	text-align:center;
	position:fixed;
	z-index:9999;
	background-color:rgba(255,255,255,1.00); 
	}
nav {
	float:left;
	clear:both; width:100%;
	border-bottom:1px solid #000;
	background-color:rgba(255,255,255,1.00); 
	}
header nav {
	/*margin-top:50px;*/
	padding-top:50px;
	margin-bottom:20px; 
	padding-bottom: 6px;
}
q {
	background:url(../img/h1p.png) top left repeat-x;
	padding:20px 0 15px 0;  
	font-family: 'Open Sans Condensed', sans-serif; 
	font-weight: 700;
	border-bottom:1px solid #000;
	margin-left:20px; 
	margin-bottom:20px;
	float:right; 
	width:220px;  
	}
img + q {
	margin:20px 0 0 0; 
	width:380px; 
	font-family: 'Open Sans Condensed', sans-serif; 
	font-weight: 700; 
	}
article > article {
	float:left;
	display:block;  
	}
table {
	padding:0; 
	margin:0;
	width:100%; 
	}
footer {
	background-color: #FFFFFF;
	border-top: 1px solid #000000;
	bottom: 0;
	font-size: 0.9em;
	padding-top: 10px;
	position: fixed;
	width:940px;
	}
footer #impressum {
	float:right; 
	}
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
	}
.clearfix {
	display: inline-block;
	}
html[xmlns] .clearfix {
	display: block;
	}
* html .clearfix {
	height: 1%;
	}
#videos iframe {
	margin-top:15px;
	}

