/*
 * 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: #333;
}

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;
}

a{
	color:#000;
	text-decoration: underline;
}
a:hover{
	color:#5E5E5E;
}

/*.content p a {
	background: url("../img/pfeil_head.png") no-repeat scroll left center transparent;
	padding-left:12px;
}*/

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

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

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


/**
 * 	190+60+470 +50+190
 */
body,html {
	background : #fff;
	margin : 0px;
	padding : 0px;
	font-size : 12px;
	line-height: 18px;
}

#all {
	margin 		: 0px;
	padding 	: 0px;
	min-height	: 100%;
}

#all .wrap {
	width 		: 960px;
	margin 		: 0px auto;
	text-align 	: left;
}

/**
 * 	Header
 */
#header {
	display : block;
}

/*Bar*/
#header .topBar {
	height : 40px;
	overflow : hidden;
}

#header .topBar .meta {
	margin-left : 250px;
	padding-top : 10px;
}
#header .topBar .meta ul {
	margin : 0px;
	padding : 0px;
	list-style:none;
}
#header .topBar .meta ul li {
	margin : 0px;
	padding : 0px;
	float : left;
	
}
#header .topBar .meta ul li a {
	color : #5e5e5e;
	padding : 0px 5px;
	border-left : 1px solid #5e5e5e;
	text-decoration: none;
}
#header .topBar .meta ul li:first-child a {
	padding-left : 0px;
	border : 0px;
}

/*Suche*/
#header .topBar .search {
	float 			: right;
	padding-left	: 20px;
}
#header .topBar .search form {
	display 	: block;
	width 		: 155px;
}

#header .topBar .search form .search-field {
	width: 89px;
	border: 1px solid #555;
	background: transparent;
	border-radius: 4px;
}

#header .topBar .search form  .search-btn {
	width:16px; 
	height:16px; 
	
	overflow:hidden; 
	background:url(../img/search-sprite.gif) no-repeat 0 0;
	text-indent:-999px; /* To remove any default text on the button*/ 
	line-height:16px; /* required for safari */ 
	cursor:pointer; /* Hand cursor for the normal state */ 
	border:none; padding:0;
}
#header .topBar .search form  .search-btn:hover {
	background-position: 0 -16px;
}

#header .topBar .search form  .search-btn:active{  
	background-position: 0 -32px; /* And finally, this is the one that shows the loader */ 
	cursor:wait;
}

/*Sprache Menu*/
#header .topBar .lang {
	float 			: right;
	padding-left 	: 10px;
}

#header .topBar .lang ul {
	margin : 0px;
	padding : 0px;
	list-style : none;
}
#header .topBar .lang ul li {
	float : left;
	padding-left:10px;
}
#header .topBar .lang ul li a {
	display : block;
}

#header .topBar .fontSize {
	float : right;
}
#header .topBar .fontSize .size1 {font-size : 12px;}
#header .topBar .fontSize .size2 {font-size : 16px;}
#header .topBar .fontSize .size3 {font-size : 22px;}


#header .logo {
	float 		: left;
	width 		: 140px;
	height 		: 245px;
	margin-top 	: 0px;
}


#header .buehne {
	float 		: right;
	width 		: 710px;
	height 		: 245px;
	background 	: #e2002b;
	position 	: relative;
}

#header .buehne .rotate {
	position 	: absolute;
	top 		: 0px;
	left 		: 0px;
	right 		: -25px;	
}
#header .buehne .rotate h2 {
	position 	: absolute;
	left 		: 0px;
	top 		: 0px;
	display 	: none;
margin 	:0px;padding:0px;
}
#header .buehne img.m {
	display : none;
}

#body {
	display 	: block;
	padding-top : 40px;
}


/**
 * 	Main Navigation
 */
#nav {
	float : left;
	width : 210px;
	
}
#nav ul {
	margin : 0px;
	padding : 0px;
	list-style : none;
}
#nav ul li {
	display : block;
	margin : 0px;
	padding : 0px 0px 20px 0px;
	
}
#nav ul li a {
	display 	: block;
	background 	: #e2002b;
	color 		: #fff;
	text-transform : uppercase;
	font-size : 12px;
	padding-left : 10px;
	line-height: 20px;
	text-decoration: none;
}

#nav ul ul {
	padding-top: 2px;
}
#nav ul ul li {
	padding : 0px;
}

#nav ul ul li a {
	background 		: transparent;
	color 			: #000;
	text-transform 	: none;
	text-decoration: none;
}
#nav ul ul li a:hover,
#nav ul ul li.active a {
	color : #5e5e5e;
	cursor: pointer;
}

/**
 * 	Content 
 */
#main {
	float : right;
	width : 710px;
}


#main .content {
	float : left;
	width : 490px;
	min-height: 1000px;
}

#main .content .post {
	padding: 0px 0px 10px;
	color : #5e5e5e;
	border-top: 1px solid #BBB;
	padding-top: 20px;
}

#main .content .loop0 {	
	border-top: none;
	padding-top: 0px;
}


#main .content .presse{
	
}
#main .content .post  header {
	padding-bottom : 20px;
}
#main .content .post h1, #main .content  h1{
	margin : 0px;
	font-size : 24px;
	text-transform: uppercase;
	font-weight: normal;
	padding : 0px 0px 5px 0px;
	font-family: Georgia, Serif;
	letter-spacing: 1px;
	line-height: 30px;
	
}

#main .content .post h2, #main .content  h2  {
	margin : 0px;
	font-size : 24px;
	text-transform: uppercase;
	font-weight: normal;
	padding : 0px 0px 5px 0px;	
	letter-spacing: 1px;
	line-height: 30px;
	
}
#main .content .post h2 {
	color : #5e5e5e;
	font-size : 16px;
	text-transform: none;	
	padding : 0px;
}
#main .content .post p {
	margin : 0px;
	padding : 0px 0px 20px 0px;
}

#main .content .post footer a {
	text-decoration : underline;
	color 			: #009ee0;
}



#main #sidebar {
	float 			: right ;
	width 			: 190px;
	color 			: #5e5e5e;
	padding-bottom 	: 240px;	
}

#main #sidebar .element {
	padding-bottom  : 20px;
	margin 			: 0px;
}

#main #sidebar .element-headline {
	color 			: #FFF;
	text-transform 	: uppercase;
	background 		: #e8c36c;
	font-size 		: 12px;
	font-weight 	: normal;
	padding-left 	: 10px;
	margin 			: 0px;
}

#main #sidebar .element-headline a{
	color:#FFF;
	text-decoration:none;
}

#main #sidebar .element-body {
	padding: 10px;
	font-size : 10px;
}
#main #sidebar .element-body h2 {
	margin : 0px;
	padding : 0px 0px 5px 0px;
	font-size : 14px;
}
#main #sidebar .element-body h3 {
	margin : 0px;
	padding : 0px;
	font-size : 12px;
}
#main #sidebar .element-body div {
	padding : 5px 0px 0px 0px;
}




#footer {
	width 		: 710px;
	background 	: #e2002b;
	clear 		: both;
	color 		: #fff;	
	position: relative;
	top:70px;
	padding-bottom:10px;
}

#footer .socialOptions {
	position 	: absolute;
	height 		: 50px;
	right 		: 0px;
	width 		: 115px;
	top 		: -540px;
	font-size 	: 10px;
	color 		: #5e5e5e;
}
#footer .socialOptions a.print {float : left;}
#footer .socialOptions a {
	float 		: left;
	font-size 	: 10px;
	color 		: #5e5e5e;
}

.logo_aachen{
	
	left: -240px;
	width: 300px;
	position: absolute;
	display: block;
	color: #5E5E5E;
	font-size:10px;
}

.zoom_widget{
	display:none;
}

#footer .socialOptions a.fb {
	position 	: absolute;
	top 		: 30px;
	left 		: 0px;
	width 		: 40px;
	height 		: 35px;
	background  : url(../img/icon_fb.jpeg)  center top no-repeat;
}
#footer .socialOptions a.tw {
	position 	: absolute;
	top 		: 30px;
	left 		: 40px;
	width 		: 40px;
	height 		: 35px;
	background  : url(../img/icon_twitter.jpeg) center top no-repeat; 
}
#footer .socialOptions a.rss {
	position 	: absolute;
	top 		: 30px;
	left 		: 80px;
	width 		: 40px;
	height 		: 35px;
	background  : url(../img/icon_rss.png) center top no-repeat;
}
#footer ul {
	margin 	: 0px;
	padding : 15px 0px 0px 40px;
	float 	: left;
	
}
#footer ul a {
	text-transform 	: uppercase;
	color 			: #FFF;
	text-decoration : none;
	line-height 	: 16px;
	font-size 		: 11px;
}
#footer ul a:hover {
	text-decoration 	: underline;
	cursor 				: pointer;
}



.tinynav { display: none }

@media only screen and (max-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */
  
  	#all {overflow:hidden;}
	#all .wrap {
	 	width  			: 100%;
	 	margin 			: 0px;
	 	padding-bottom 	: 150px;
	 	position 		: relative;
	}
	#all .wrap .topBar {
		width  		: 100%;
		position 	: absolute;
		bottom 		: 0px;
		padding 	: 20px;
		height 		: auto;
	}
	#header .buehne {
		width 	: 100%;
		height 	: auto;
	}
	#header .buehne .rotate {
		right : 0px;
		bottom: 0px;
	}
	#main .content h1 {
		 word-wrap: break-word;
	}
	#header .buehne .rotate h2 {
		top : auto;
		bottom:0px;
	}
	#header .buehne img {
		display : none;
	}
	#header .buehne img.m {
		display : block;
		width 	: 100%;
		
	}
	
	.logo {
		display : none;
	}
	
	#nav {
		width : auto;
		display: block;
		padding: 0px 20px;
		float : none;
	}
	#nav .tinynav {
		width : 100%;
		margin-bottom : 20px;
	}
	
	#main {
		width : 100%;
		float : none;
	}
	#main .content {
		width : auto;
		display: block;
		float : none;
		padding : 0px 20px 40px;
	}
	#main #sidebar {
		width : auto;
		display: block;
		float : none;
		padding : 0px 20px 40px;
	}
	
	.tinynav { display: block }
    #nav .menu { display: none }
    
    
    #footer {
    	width 		: auto;
    	padding 	: 0px 20px;
    	background 	: #fff;
    	top 		: auto;
    	position 	: static;
    }
    #footer .logo_aachen {
		left 			: auto;
		width 			: 50%;
		position 		: static;
		display 		: block;
		color 			: #5E5E5E;
		font-size 		: 10px;
		float 			: left;
		margin-bottom  	: 20px;
	}
	#footer .socialOptions {
		position 		: static;
		height 			: auto;
		right 			: 0px;
		width 			: 50%;
		top 			: auto;
		font-size		: 10px;
		color 			: #5e5e5e;
		float 			: right;
		margin-bottom  	: 20px;
		text-align 		: right;
	}
	#footer .socialOptions a {
		float:right;
	}
    #footer .sitemap {
    	background 		: #e2002b;
    	clear 	   		: both;
    	padding-bottom 	: 20px;
    }
    #header .topBar .meta {
    	margin 			: 0px;
		padding 		: 0px;
		width 			: 100%;
		padding-bottom 	: 10px;
    }
    #header .topBar .lang {
    	padding : 10px 10px 0px 0px;
    	float : left;
    	clear : both;
    }
    #header .topBar .fontSize {
    	float 		: left;
    	padding-top : 10px;
    }
    #header .topBar .search {    	
    	padding-top 	: 10px;
    	padding-right 	: 20px;
    	display 		: none;
    }
    #header .topBar .search form {
		display 	: block;
		width 		: 170px;
	}
}







.wp-caption-text{
	font-size: 10px;
	line-height: 13px;
	padding: 0px 0px 10px 0px;
}

.veranstaltungen h1{
	color:#5E5E5E;
}


/* ==========================================================================
   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;
    }
}
