/* Main-Stylesheet nok-aachen */

/* Fonts */

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700);
@import url(https://fonts.googleapis.com/css?family=Droid+Sans:400,700);
@import url(https://fonts.googleapis.com/css?family=Arimo:400,700);
@import url(https://fonts.googleapis.com/css?family=Oswald);

html {
	/*font-family: "Source Sans Pro", sans-serif;*/
	font-family: "Droid Sans", sans-serif;
}


/* Icons */

/*@font-face {
	font-family: 'fontello';
	src: 	url('../../inc/fonts/fontello.eot?56643354');
	src: 	url('../../inc/fonts/fontello.eot?56643354#iefix') format('embedded-opentype'),
			url('../../inc/fonts/fontello.woff?56643354') format('woff'),
			url('../../inc/fonts/fontello.ttf?56643354') format('truetype'),
			url('../../inc/fonts/fontello.svg?56643354#fontello') format('svg');
	font-weight: normal;
	font-style: normal;
}

.icon-link:before { content: '\e802'; }
.icon-list-bullet:before { content: '\e803'; }*/

p.twitter:before { 
	content: "";
	width: 45px;
	height: 45px;
	display: inline-block;
	background-image: url('../../img/static/icon_twitter.png');
	background-size: 80%;
	background-repeat: no-repeat;
	background-position: center center;
}
p.facebook:before {
	content: "";
	width: 45px;
	height: 45px;
	display: inline-block;
	background-image: url('../../img/static/icon_facebook.png');
	background-size: 80%;
	background-repeat: no-repeat;
	background-position: center center;
} 

/* Generell / Reset */

html {
	margin: 0px;
	padding: 0px;
	height: 100%;
	overflow-y: scroll;
}

body {
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
	background-color: #050d10;
	background: url(../../img/static/nok-bg.jpg) no-repeat center top fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

img {
	margin: 0px;
	padding: 0px;
	display: block;
}

p {
	margin: 0px;
	padding: 0px;
}

/* Farben */

.white {
	color: #FFF;
}

.yellow {
	color: #fcc300;
}

/* Links */

a, a:active, a:visited {
	outline: none;
	color:#DCD1CF;
	text-decoration:underline;
}

a:hover {
	color:white;
	text-decoration:none;
}

.show-page {
	cursor: pointer;
}

/* Navigation - Hauptmenü */

/*div#main_nav {
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 100;
	background-color: #0E1618;
	width: 100%;
	overflow: hidden;
	border-bottom: 6px solid #353535;
	text-align: right;
	display: none;
}*/

div#main_nav img.logo {display: none;}

body[class^="page-"] div#main_nav {
	position: fixed;
/*	bottom: 0px;*/
	width: 100%;
	z-index: 100;
	height: 55px;
	background-color: #000;
}

body.page-home div#main_nav {
	position: absolute;
/*	bottom: 6%;*/
	width: 100%;
	z-index: 100;
	height: auto;
	background-color: inherit;
}

body[class^="page-"] ul.nav {
	position: relative;
	list-style-type: none;
	padding: 0px;
	margin: 0px 2%;
	display: block;
}

body.page-home ul.nav {
	margin: 0px 7%;
}

body[class^="page-"] ul.nav li {
	display: table;
	width: 20%;
	float: left;
	font-family: "Arimo", sans-serif;
	font-size: 11.5px;
	text-align: center;
	padding: 3px 0px;
}

body[class^="page-"] ul.nav li:last-of-type {
	display: none;
}

body.page-home ul.nav li:last-of-type {
	display: table;
}

body.page-home ul.nav li {
	width: 33%;
	margin-top: 10px;
	box-sizing:border-box;
	padding: 3px 5px;
	font-size: 14px;
	text-transform: lowercase;
}

body[class^="page-"] a.navlink {
	position: relative;
	display: block;
	text-align: center;
	color: #AAAAAA;
	text-decoration: none;
	margin: 0 auto;
/*	-webkit-transition: color 1500ms ease-out;
	-moz-transition: color 1500ms ease-out;
	-ms-transition: color 1500ms ease-out;
	-o-transition: color 1500ms ease-out;
	transition: color 1500ms ease-out;*/
	cursor: pointer;
}

body[class^="page-"] a.navlink.selected, body[class^="page-"] a.navlink.child {
	color: #2EA2CC;
}

body.page-home a.navlink, body.page-home a.navlink.selected {
	color: #FFF;	
}

body.page-home a.navlink:hover {
	color: #FFF;
}

body[class^="page-"] a.navlink:before {
	content: " ";
	display: block;
	width: 40px;
	height: 28px;
	margin: 2px auto;
} 

body.page-home a.navlink:before {
	content: " ";
	display: block;
	width: 70px;
	height: 70px;
	border:1px solid #7F7F7F;
	-webkit-border-radius: 500px;
	border-radius: 500px;
	margin: 5px auto;
} 

div#logo {
	float: left;
	text-transform: lowercase;
	font-weight: bold;
	font-size: 24px;
	margin: 7px 15px;
}

body[class^="page-"] a.navlink.events.selected:before, a.navlink.events.child:before {
	background: url(../../img/static/icon_clock_hov.png) no-repeat center center;
	background-size: 60%;
}

a.navlink.events:before, body.page-home a.navlink.events.selected:before {
	background: url(../../img/static/icon_clock.png) no-repeat center center;
	background-size: 60%;
}

body[class^="page-"] a.navlink.locations.selected:before, a.navlink.locations.child:before {
	background: url(../../img/static/icon_locations_hov.png) no-repeat center center;
	background-size: 55%;
}

a.navlink.locations:before, body.page-home a.navlink.locations.selected:before {
	background: url(../../img/static/icon_locations.png) no-repeat center center;
	background-size: 55%;
}

body[class^="page-"] a.navlink.map.selected:before, a.navlink.map.child:before {
	background: url(../../img/static/icon_poi_hov.png) no-repeat center center;
	background-size: 65%;
}

a.navlink.map:before, body.page-home a.navlink.map.selected:before {
	background: url(../../img/static/icon_poi.png) no-repeat center center;
	background-size: 65%;
}

body[class^="page-"] a.navlink.tags.selected:before, a.navlink.tags.child:before {
	background: url(../../img/static/icon_tag_hov.png) no-repeat center center;
	background-size: 65%;
}

a.navlink.tags:before, body.page-home a.navlink.tags.selected:before {
	background: url(../../img/static/icon_tag.png) no-repeat center center;
	background-size: 65%;
}

body[class^="page-"] a.navlink.search.selected:before {
	background: url(../../img/static/icon_search_hov.png) no-repeat center center;
	background-size: 55%;
}

a.navlink.search:before, body.page-home a.navlink.search.selected:before {
	background: url(../../img/static/icon_search.png) no-repeat center center;
	background-size: 55%;
}

a.navlink.info:before, body.page-home a.navlink.info.selected:before, body.page-home a.navlink.info:hover:before {
	background: url(../../img/static/icon_information.png) no-repeat center center;
	background-size: 55%;
}

/* Header */

body.page-home #header {
	display: none;
}

body[class^="page-"] #header {
	position: fixed;
	top: 0px;
	width: 100%;
	height: 45px;
	z-index: 1000;
	background: url(../../img/static/nok-bg.jpg) no-repeat center top fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-attachment: scroll;
}

#header div.overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(14,22,24,0.8);
	z-index: -1;
}

#header img.logo {
	height: 77%;
	width: auto;
	margin-left: 7px;
	margin-top: 4px;
	cursor: pointer;
}

#header a.show_left-table {
	display: none;
	cursor: pointer;
}

a.back-button {
	position: absolute;
	top: 8px;
	right: 20px;
	color: #FFF;
	text-decoration: none;
	padding: 5px 12px;
	background-color: #0E1618;
	display: none;
}

a.back-button:before {
	position: relative;
	content:"\2039";
	margin-right: 10px;
	font-size: 150%;
	display: block;
	float: left;
	line-height: 14px;
}

body.page-event_details a.back-button, body.page-location_details a.back-button, body.page-tag_details a.back-button {display: block;}

/* statt Slider für Mobile (statische Seite) */

div#slider {
	position: relative;
	width: 100%;
	height: 100%;
}

div.teaser {
	position: absolute;
	top: 15%;
	left: 5%;
	font-family: "Oswald", sans-serif;
	font-size: 28px;
}

div.teaser img {
	width: 65%;
	height: auto;
}

div.teaser p {
	width: 65%;
	margin:50px 5% 0 0; 
	color: white;
}

/* Slider für Desktop */

section, article {display: block;}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slides {
    overflow: hidden;
    height: 100%;
    width: 100%;
}
.slide {
    height: 100%;
    width: 100%;
    float: left;
    clear: none;
}

.slider_event {
	position: absolute;
	top: 120px;
	left: 80px;
	background-color: rgba(252, 195, 0,0.8);
	padding:15px 20px;	z-index: 1000;
	display: none;
}

.slider_event h2 {
	font-size: 18px;
	margin: 4px 0;
	color:#222;
}

.slider_article {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	color: #333;
	position: relative;
	height: 100%;
	width: 100%;
}

.slider_article-start {
	background-image: url(../../img/static/nok-bg.jpg);
	background-position: center top;
}

/*.slider_article-kirche1 {
	background-image: url(../../img/sliderimg/slider_lid_8.jpg);
}

.slider_article-kirche2 {
	background-image: url(../../img/sliderimg/slider_lid_25.jpg);
}

.slider_article-kirche3 {
	background-image: url(../../img/sliderimg/slider_lid_3.jpg);
}

.slider_article-kirche4 {
	background-image: url(../../img/sliderimg/foillan_temp1.jpg);
}

.slider_article-kirche5 {
	background-image: url(../../img/sliderimg/foillan_temp2.jpg);
}
*/
img.fixedlogo {
	position: absolute;
	width: 600px;
	height: auto;
	bottom:120px;
	left: 80px;
	z-index: 1000;
}

.slider:before {
	position: absolute;
	top: 0px;
	left: 0px;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAD0lEQVQImWNgwAL+Y4gAABIVAQDGiCc/AAAAAElFTkSuQmCC);
	background-position: fixed;
	width: 100%;
	height: 100%;
	z-index: 11199;
}

.fixedslidercontent {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 98;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAD0lEQVQImWNgwAL+Y4gAABIVAQDGiCc/AAAAAElFTkSuQmCC);
	background-position: fixed;
	display: none;
}

/* Content-Wrapper */

body[class^="page-"] div.pagecontainer {
	position: relative;
	min-height: 100%;
	/*width: 100%;*/
	background-color: rgba(14, 22, 24, 0.8);
	padding-top: 45px;
	box-sizing: border-box;
	padding-bottom: 55px;
}

div#content {
	position: relative;
	min-height: 100%;
	background-color: #0E1618;
	background: url(../../img/static/nok-bg.jpg) no-repeat center top fixed;
}

div.wrapper {
	position: relative;
	padding: 52px 50px 30px;
	width: 100%;
	box-sizing: border-box;
}

div[id^="page_"] {display: none;}
div#page_home {
	display: block;
	background-color: rgba(14, 22, 24, 0.3);
}

div.yellowbar {
	display:block;
	width:100%;
	height:25px;
	background-color:#fcc300;
	position:fixed;
	z-index: 1000;
}

div.content_wrapper {
	margin-top:25px;
}

/* map.php */

div#map { 
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	border-top: 25px solid #fcc300;
}

.leaflet-top {
	/*top: 55px;*/
}

.leaflet-container {background: none;}

.leaflet-container a {
	color: #000;
}

.leaflet-top, .leaflet-bottom {
	position: absolute;
	z-index: 10;
	pointer-events: none;
}


/* map.php FÜR GOOGLE MAPS! */

div#gmap {
	position: relative;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	border-top: 25px solid #fcc300;
}

div.gm-style div {
	-webkit-box-shadow: 0 0 0 0 #FFF !important;
	box-shadow: 0 0 0 0 #FFF !important;
}

div.marker_popup span.show-page {
	color: #2EA2CC;
	text-decoration: underline;
	cursor: pointer;
}

div.marker_popup a.nav_ext {
	color: #2EA2CC;
	text-decoration: none;
	display: block;
	margin-top: 10px;
}

div.marker_popup a.nav_ext:before {
	content: "";
	width: 19px;
	height: 19px;
	display: block;
	background-image: url('../../img/static/icon_extnav.png');
	background-size: cover;
	float: left;
	margin-right: 5px;	
}

/* search.php */

table#search_events thead th p, table#search_locations thead th p {
	padding: 0 5px;
	color: #000;
}

/* info.php */

div#page_info div.content_wrapper {
	padding: 10px;
	color: #FFF;
}

div#page_info div.content_wrapper h1 {
	margin: 0 0 10px 0;
	font-size: 18px;
}

div#page_info div.content_wrapper h2 {
	margin: 20px 0 10px 0;
	font-size: 16px;
}

div#page_info div.content_wrapper p {
	font-size: 14px;
	line-height: 22px;
}

div#page_info div.content_wrapper p.sponsorentext {
	font-size: 12px;
	line-height: 16px;
	text-align: center;
}

div.sponsoren {
	display: inline-block;
	padding: 0px 2%;
	width: 100%;
	text-align: center;
	margin: 15px 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

img.sponsor {
	height: 50px;
	width: auto;
	display: inline-block;	
}

img.sponsor.klein {
	height: 20px;	
}


/* Tabellen */

div.table_wrapper {
	position: relative;
	overflow-x: hidden;
	width: 100%;
	height: inherit;
}

/*div.table_slider table.left {
	position: absolute;
	left:0px;
	transition:all 1s ease-in-out;
}

div.table_slider table.right {
	position: fixed;
	top:45px;
	left:100%;
	height: inherit;
	background-color: rgba(69,69,69,0.7);
	transition:all 1s ease-in-out;
}*/

table.datatables {
	font-family: "Droid Sans", sans-serif;
	/*font-family: "Source Sans Pro", sans-serif;*/
	width: 100%;
}

table.datatables thead tr, table.datatables tbody tr.time {
	background-color: #fcc300;
	height: 25px;
	text-align: left;
}

table.datatables tr.even, div.tablerow.even {
	background-color: rgba(51,51,51,0.7);
}

table.datatables tr.odd, div.tablerow.odd {
	background-color: rgba(69,69,69,0.7);
}

table#tag_details div.table {
	display: table;
	width: 100%;
}

table#tag_details div.tablerow {
	padding: 0;
	display: table-row;
	width: 100%;
}

table#tag_details div.tablecell {
	display: table-cell;
	vertical-align: top;
	padding: 5px;
}

table#tag_details div.tablecell.icon {
	vertical-align: middle;
	width: 66px;
	text-align: center;
	padding: 20px 8px 5px;
}

table#tag_details div.tablecell.icon img {
	width: 50px;
	height: auto;
	display: inline-block;
}

table.datatables td {padding: 3px 5px 3px 0px; vertical-align: top;}

table.datatables td.icon {
	width: 66px;
	text-align: center;
	padding: 5px 8px;
	/*vertical-align: middle;*/
	vertical-align: top;
	padding-top: 20px;
}

table#locations td.icon {
	vertical-align: middle;
	padding: 5px;
}

table.datatables td.icon img {
	width: 50px;
	height: auto;
	display: inline-block;
}

table#locations td.icon img {
	display: block;
	margin: 0 5px;
}

table.datatables tr.time th {
	padding: 0px 8px;
	font-weight: normal;
	font-size: 20px;
	font-family: "Arimo", sans-serif;
	text-align: left;
}

table.datatables h1 {
	font-size: 17px;
	color: #FFF;
	margin: 5px 0px 5px;
}

table#events h1 {
	margin: 2px 0px 2px;
}

table.datatables h2 {
	font-size: 14px;
	color: #fcc300;
	margin: 0px 0px 5px;
	font-weight: normal;
}

table.datatables p {
 color: white; 
	font-size: 14px;
	line-height: 18px;
}

table.datatables p.yellow {color: #fcc300;}

/*table#event_details thead tr, table#location_details thead tr, table#locations thead tr {
	position: fixed;
	width: 100%;
	display: block;
}*/

table#event_details td, table#location_details td {
	padding: 10px 15px 15px;
}

div.location_details img.icon_wheelchair {
	width: 14px;
	height: auto;
	display: inline;
	position: relative;
	top: 3px;
	left: 17px;
}

div.location_short img.icon_wheelchair {
	width: 14px;
	height: auto;
	display: inline;
	position: relative;
	top: 3px;
	left: 0px;
	margin-left: 5px;
}

div.location_short a.website {
	color: white;
	font-size: 14px;
	line-height: 18px;
	margin-top: 10px;
	display: inline-block;
	text-decoration: none;
}

div.location_short a.website:hover {
	text-decoration: underline;
}

div.location_details div.buttons, div.buttons {
	margin-top: 10px;
	display: inline-block;
}

body.page-tags div.buttons {
	margin: 10px 0;
	width: 100%;
	padding: 0px 20px;
	box-sizing: border-box;
}

div.location_details div.buttons p, div.buttons p {
	display: block;
	padding: 8px 8px;
	color: #000;
	text-align: center;
	background-color: #fcc300;
	float: left;
	margin: 10px 10px 0px 0px;
	cursor: pointer;
}

body.page-tags div.buttons p {
	/*width: 100%;*/
	box-sizing: border-box;
}

div.location_details div.social {
	clear: both;
	display: block;
}

/*div.location_details div.social p.twitter, div.location_details div.social p.facebook {
	content: "";
	width: 45px;
	height: 45px;
	border:2px solid rgba(252,195,0,0.5);
	-webkit-border-radius: 500px;
	border-radius: 500px;
	margin: 20px 10px 0px 0px;
	float: left;
	text-align: center;
	cursor: pointer;
}*/


/*table#locations tbody tr:first-child td {
	padding-top: 28px;
}*/

.fixed {
	position: fixed;
	width: 100%;
	display: table-row;
}

#sticky {
	position: fixed;
	top: 45px;
	left: 0;
	width: 100%;
	height: 25px;
	background: #fcc300;
}

#sticky th, div.yellowbar p {
	padding: 0px 8px;
	font-size: 20px;
	font-family: "Arimo",sans-serif;
	font-weight: normal;
	display: inline;
}

#wheelchair {
	width: 15px;
	height: auto;
}

tr.single_event p {
	color: #FFF;
}
tr.single_event div.location_short {padding: 5px 0px;}
tr.single_event div.location_short p {color:#AAAAAA;}
tr.single_event div.tags {margin: 80px 0px 15px;}

tr.single_event h1 {
	font-size: 24px;
	margin-bottom: 10px;
	clear: both;
	line-height: 28px;
}

tr.single_event p.subtitle {
	font-size: 16px;
	margin-bottom: 10px;
	font-weight: normal;
}

tr.single_event div.longtext {
	line-height: 19px;
	color: #FFF;
	font-size: 14px;
}

tr.single_event div.longtext p {
	margin-bottom: 0.5rem;
}

tr.single_event div.longtext h2, tr.single_location div.location_details h2 {
	font-size: 18px;
	margin: 0px 0 20px;
	font-weight: normal;
	color: #FFF;
	line-height: 22px;
}

tr.single_event img.logo, tr.single_location img.logo {
	float: right;
	margin-right: 15px;
	width: 50px;
	margin-bottom: 10px;
}

div.tags_for_event:after{
	clear: both;
	content: "";
	display: block;
}

div.tags_for_location a, div.tags_for_event a {
	float:left;
	font-size: 14px;
	color: #fcc300;
	margin: 0px 0px 5px;
	font-weight: normal;
	text-decoration: none;
	cursor: pointer;
}

div.tags_for_location a:after, div.tags_for_event a:after {
	content: ",\00A0";
}

div.tags_for_location a:last-of-type:after, div.tags_for_event a:last-of-type:after {content: "";}

div.events_for_location {
	margin-top: 20px;
	margin-left: -15px;
	margin-right: -15px;
}

div.tablerow {
	padding: 10px 15px;
}

div.tablerow h1 {
	margin: 0px;
}

tr.single_location div.location_short p {color: #FFF;}

tr.single_location div.location_short p.yellow {color: #fcc300;}

tr.single_location div.location_details {
	margin-top: 40px;
	color: #FFF;
	line-height: 1.5em;
	font-size: 14.5px;
}

tr.single_location div.location_details a {
	color: #FFF;
	text-decoration: none;
}

tr.single_location div.location_details a:hover {
	color: #FFF;
	text-decoration: underline;
}

tr.single_location div.events_for_location a, tr.single_location div.events_for_location a:hover {color: #FCC300; text-decoration: none;}

tr.single_location div.location_short {
	margin-top: 15px;
}

#tag_details div.tablerow h1 {
	margin: 2px 0px;
}

tr.single_location div.location_details h1 {
	
}

tr.single_location div.location_details p {

}

/* Clearable Input-Feld */

.clearable{
	margin: 20px 5%;
	background:url(../../img/static/input_close.png) no-repeat right -10px center #FFF;	
	border:1px solid #999;
	transition: background 0.4s; /*Remove this line if issues in Chrome (02.2014)*/
	width: 90%;
	box-sizing: border-box;
	padding: 5px 18px 5px 5px;
	font-size: 20px;
}
/* (jQ addClass:) if input has value: */
.clearable.x{
	background-position: right 5px center;
}
/* (jQ addClass:) if mouse is over the 'x' input area*/
.clearable.onX{
	cursor:pointer;
}

/* events.php 

table.eventList {
	font-family: "Droid Sans", sans-serif;
	font-size: 15px;
	color: #333;
	margin-top: 40px;
}

table.eventList th {
	font-weight: bold;
	font-size: 19px;
	text-align: left;
	background-color: #CD4B15;
	padding: 6px 15px;
	color: #FFF;
}

table.eventList tr.eventinfo {
	background-color: rgba(231,233,227,0.9);
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}

table.eventList tr.eventinfo:hover {
	background-color: rgba(231,233,227,1);
	-webkit-box-shadow: 0 0 5px 0 #000000;
	box-shadow: 0 0 5px 0 #000000;
}

table.eventList tr.spacer {
	height: 4px;
}

table.eventList td {
	height: 80px;
	text-align: center;
	position: relative;
}

table.eventList td.informationen {
	vertical-align: top;
	padding: 10px 5px;
	text-align: left;
}

table.eventList td.more {
	padding: 0px 15px;
	text-align: right;
}

table.eventList .time {
	float: right;
}

.etitel {
	font-size: 16px;
	font-weight: bold;
}

.eteaser {
	font-size: 12px;
	margin-bottom: 5px;
}

.bottom {
	position: absolute;
	bottom: 10px;
}

.bottom span {
	margin-right: 20px;
}

/* Responsive */

@media only screen and (max-width: 768px) and (orientation:landscape) {
	body div {display: none !important;}
	div.yellowbar {display: none;}

	body:before {
		content: '';
		position: relative;
		float: left;
		left:50%;
		margin-left: -150px;
		top:50%;
		margin-top: -90px;
		width: 300px;
		height: 180px;
		display: inline-block;
		background: url(../../img/static/rotate_screen.png) no-repeat center center;
		background-size: contain;
		z-index: 10;
	}

	body:after {
		content: '';
		position: absolute;
		bottom: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
		background-color: #000;
	}
}


@media only screen and (max-width: 768px){
	body[class^="page-"] div#main_nav {bottom: 0px;}
	body.page-home div#main_nav {bottom: 6%;}
}


@media only screen and (min-width: 768px) {
	
	body[class^="page-"] div#main_nav img.logo {
		display: block;
		float: left;
		height: 77%;
		margin: 4px;
	}

	body.page-home div#main_nav img.logo {display: none;}

	body[class^="page-"] div#main_nav, body.page-home div#main_nav {
		padding: 0px;
		width: 100%;
		margin: 0px;
		top:0px;
		position: fixed;
		z-index: 100;
		background-color: #000;
		display: block;
		height: 45px;
		border-bottom: 5px solid #FCC300;
		/*-webkit-transform: translateZ(0)*/
	}

	body[class^="page-"] ul.nav, body.page-home ul.nav {
		padding: 0px;
		display: block;
		position: relative;
		margin: 0px 2%;
		float: right;
	}

	body[class^="page-"] ul.nav li, body.page-home ul.nav li {
		display: table;
		font-family: "Arimo",sans-serif;
		font-size: 13.5px;
		text-align: center;
		padding: 3px 10px;
		float: left;
		margin: 10px 0px;
		width: auto;
		text-transform: none;
	}

	body[class^="page-"] a.navlink:before, body.page-home  a.navlink:before, #header {display: none;}
	body[class^="page-"] ul.nav li:last-of-type {display: table;}
	body.page-home a.navlink, body.page-home a.navlink:hover {color: #AAA;}
	body.page-home a.navlink.selected {color: #2EA2CC;}

	body[class^="page-"] div.pagecontainer {
		padding-bottom: 0px;
		margin: 0px auto;
		width: 960px;
		max-width: 100%;
		min-height: 0;
	}

	body.page-map div.pagecontainer {
		width: 100%;
		margin: 0px auto 0px;
		height: 100%;
	}

	body.page-home div.pagecontainer {
		width: 100%;
		margin: 0px;
		height: 100%;
	}

	body[class^="page-"] div.pagecontainer {top: 150px; margin-bottom: 250px; padding-top: 0px;}
	body.page-map div.pagecontainer {padding-top: 50px;}
	body.page-home div.pagecontainer {top: 0px; margin: 0;}
	body.page-map div.pagecontainer {top: 0px; margin: 0;}

	body[class^="page-"] div.pagecontainer {
	background-color: rgba(0, 0, 0, 0.2);
	}

	body.page-home div.pagecontainer, body.page-events div.pagecontainer, body.page-locations div.pagecontainer {
		background: none;
	}

	div.background, div#page_locations:before, div#page_location_details:before, div#page_tags:before, div#page_event_details:before, div#page_tag_details:before, div#page_search:before, div#page_info:before {
		content: "";
		position: absolute;
		width: 960px;
		top: -150px;
		background: url(../../img/static/nok-bg.jpg) no-repeat center top fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		height: 150px;
		top: -150px;
		z-index: 99;
		display: block !important;
	}

	div.background h1 {
		position: absolute;
		color: #FFF;
		font-family: "Oswald",sans-serif;
		font-size: 40px;
		font-weight: normal;
		margin: 0px;
		bottom: 15px;
	}

	/*span.timeline {
		height: 1px;
		top: 115px;
		width: 100%;
		margin: 0px auto;
		position: relative;
		background-color: #574720;
		display: block;
	}

	div.dot {
		position: absolute;
		height: 10px;
		width: 10px;
		background-color: inherit;
		top: -5px;
		border-radius: 500px;
		cursor: pointer;
	}

	p.timebox {
		position: absolute;
		top: -35px;
		left: -36px;
		color: #34332A;
		background-color: #fcc100;
		padding: 6px 10px;;
		white-space: pre;
		display: inline-block;
		font-size: 13px;
		width: 60px;
		text-align: center;
		z-index: 99;
	}

	p.timebox:before{
		content: "";
		position: absolute;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 8.7px 5px 0 5px;
		border-color: #fcc100 transparent transparent transparent;
		display: block;
		top: 27px;
		left: 35.5px;
	}*/
	
	div.yellowbar {/*width: 960px;*/ display: none;}

	div#sticky {/*left: auto; width: 960px; z-index: 100000*/ display: none;}

	div#slider {position: initial;}

	div#page_home {padding-top: 0px}

	div#gmap {border-top: none;}

	table.datatables thead {display: none;}

	table.datatables tr.even, div.tablerow.even {
		background-color: rgba(0,0,0,0.6);
	}

	table.datatables tr.odd, div.tablerow.odd {
		background-color: rgba(0,0,0,0.5);
	}

	tr.single_event h1, tr.single_location h1.locationname {
		font-size: 40px;
		margin-bottom: 10px;
		clear: none;
		font-family: "Oswald", sans-serif;
		font-weight: normal;
		line-height: 46px;
	}

	tr.single_event img.logo, tr.single_location img.logo {margin: 10px 15px; width: 77px;}

	table#tag_details thead, table#search_events thead, table#search_locations thead {display: table-header-group;}
	table#tag_details thead p {color: #000; padding: 0 5px;}
	div.content_wrapper {margin-top: 0;}

	/*div.sponsoren {
		text-align: inherit;
	}*/

	img.sponsor {
		height: 80px;
		width: auto;
		display: inline-block;	
		white-space: pre;
	}
	

	img.sponsor.klein {
		height: 32px;	
	}
	
	img#sponsor_avv {
		height: 50px;
	}

	div#page_info div.content_wrapper p.sponsorentext {
		font-size: 14px;
		line-height: 22px;
		text-align: left;
	}

	/*img#sponsor_avv {
		float: left;
	}
	img#sponsor_aseag:before {
		content: '\A';
	}*/

	table#tag_details {
		min-width: 960px;
	}

}

@media screen {
	div#preloader {
		position: absolute;
		left: -9999px;
		top:  -9999px;
		}
	div#preloader img {
		display: block;
		}
	}

@media print {
	div#preloader, 
	div#preloader img {
		visibility: hidden;
		display: none;
		}
}
