/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

* {
	margin: 0px;
	padding: 0px;
	font-family: 'Cabin', sans-serif;	
	text-decoration: none;
	
	}

/* loader */

.no-js #loader { 
	display: none;  
	}
	
.js #loader { 
	display: block; 
	position: absolute; 
	left: 100px; 
	top: 0; 
	}

.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(../images/gifs/Preloader_71.gif) center no-repeat #fff;
}

body {
	display: block;
	background: #f6ebcd;
	position: relative;
	font-size: 100%;
	}

img {
	max-width: 100%;
	}

	
#greyspace {
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	position: fixed;
	background: black;
	opacity: 0.6;
	filter:alpha(opacity=60);
	display: none;
	}

#closebutton{
	width: 30px;
	height: 30px;
	position: absolute;
	top: 40px;
	right: 5%;
	display: none;
	}

#kontakt{
	width: 45%;
	border: 2px solid #311f1f;
	position: absolute;
	top:3em;
	background-color:#f6ebcd; 
	left:35%;
	margin-left:-5em; 
	display: none;
	}


#kontakt img {
		border: 1px solid #311f1f;
		border-radius: 5px;
		box-shadow: 3px 3px 3px grey;
		display: block;
	
	
	}

#impressum{
	width: 75%;
	border: 2px solid #311f1f;
	position: absolute;
	top:3em;
	background-color:#f6ebcd; 
	left:20%;
	margin-left:-5em;
	display: none; 
	}

#impressum img {
		border: 1px solid #311f1f;
		border-radius: 5px;
		box-shadow: 3px 3px 3px grey;
		display: block;
	}

#guestbook{
	width: 75%;
	border: 2px solid #311f1f;
	position: absolute;
	top:3em;
	background-color:#f6ebcd; 
	left:20%;
	margin-left:-5em;
	display: none; 
	}

#guestbook img {
		border: 1px solid #311f1f;
		border-radius: 5px;
		box-shadow: 3px 3px 3px grey;
		display: block;
	}

#intern{
	width: 75%;
	border: 2px solid #311f1f;
	position: absolute;
	top:3em;
	background-color:#f6ebcd; 
	left:20%;
	margin-left:-5em; 
	display: none;
	}
	
#xmas{
	width: 0px;
	height: 0px;
	border: 2px solid #f6ebcd;
	position: absolute;
	top:5em;
	background-color:#442c1f; 
	//* background-image:url(../images/pics/xmas_1.jpg); *//
	background-repeat: no-repeat;
	left:20%;
	margin-left:-5em;
	display: none; 
	}

#xmas img {
		max-width:75%;
		display: block;
	}

header {
	display: block;
	} 

.mobilemenu {
	display: block;
	background: #fff;
	}

.mobilemenu ul {
	display: block;
	width: 54px;
	height: 32px;
	}

.mobilemenu ul li {
	display: inline;
	}
	
.mobilemenu ul li a.menubutton {
	display: none;
	}
.mobilemenu ul li a.menubutton img {
	height: 32px;
	width: 64px;
	}	
	
.slider { 
	text-align: center;
	position: relative; 
	overflow: auto;
	color: #fff;
	}

	
.slider h1 {
		font-size: 3.0em;
		line-height: 3.0em;

}	
.slider p {
		
		font-size: 1.5em;
		line-height: 2em;

	}

.slider li { 
	list-style: none;  
	}

.slider ul li {
	display: block; 
	float: left; 
	height: 21.875em;
	width: 64.0em;
	}


.slider .dots {
		position: absolute;
	  left: 0;
		right: 0;
		bottom: 20px;
		}
		
.slider .dots li {
			display: inline-block;
			width: 10px;
			height: 10px;
			margin: 0 4px;
			text-indent: -999em;
			border: 2px solid #fff;
			border-radius: 5px;
			cursor: pointer;
			opacity: .3;
			-webkit-transition: background .5s, opacity .5s;
			-moz-transition: background .5s, opacity .5s;
			transition: background .5s, opacity .5s;
		}
			
.slider .dots li.active {				
			background: #fff;
			opacity: .8;
}


.logo {
	background-image: url(../images/gifs/logo.jpg);
	position: absolute;
	left: 3.5em;
	top: 2.0em;
	width: 150px;
	height: 68px;
	}
	
	
.mainnav { 
	display: block; 
	text-align: center;	
	background: #fff;
	}

.mainnav ul { 
	display: block; 
	padding: 0em 0.5em 0em 0.5em
	}

.mainnav ul li {
	display: inline;
		}

.mainnav ul li a {
	color: #311f1f;
	font-size: 1.7em; 
	padding: 0em 1.2em 0em 1.2em;
	-webkit-transition: background 0.3s ease-in;
	-moz-transition: background 0.3s ease-in;
	-ms-transition: background 0.3s ease-in;
	-o-transition: background 0.3s ease-in;
	transition: background 0.3s ease-in;
	
	}
.mainnav ul li a:hover {
	background: #f6ebcd;
	border-bottom: 0.1em #311f1f solid;
	}

.mainnav ul li a.active {
	border-bottom: 0.1em #	 solid;
	}


.wrapper {
	display: block;
	border: 0px solid #ff0000;
	width: 1024.0em;
	max-width: 1084px;
	margin: 0px auto; 
	position: relative;
	}

.maincontent {	
	display: inline-block;
	width: 49.375em;
	border: 0px solid #000;
	margin: 0px;
	max-width: 790px;
	} 

.loading {
	text-align: center;
	
	}

.article {
	display: inline-block;
	float: left;
	background: #311f1f;
	width: 15.625em;
	height: 15.625em;
	text-align: center;
	margin: 3px;
	border: 1px solid #f6ebcd;
	}
	

.big {
	width: 31.875em;
	height: 31.875em;
	text-align: center;
	border: 0px solid #f6ebcd;
	}

#leit1{
	display: none;
	}
#leit2{
	display: none;
	}
#leit3{
	display: none;
	}
#leit4{
	display: none;
	}
#leit5{
	display: none;
	}
#leit6{
	display: none;
	}

#spruch1{
	display: none;
	}
#spruch2{
	display: none;
	}
#spruch3{
	display: none;
	}
#spruch4{
	display: none;
	}
#spruch5{
	display: none;
	}
#spruch6{
	display: none;
	}


#team1{
	display: none;
	}
#team2 {
	display: none;
	}
#team3{
	display: none;
	}
#team4 {
	display: none;
	}
#team5{
	display: none;
	}
#team6 {
	display: none;
	}
#team7{
	display: none;
	}
#team8 {
	display: none;
	}
#team9 {
	display: none;
	}
#team10 {
	display: none;
	}
#team11 {
	display: none;
	}
#team12 {
	display: none;
	}

#camp1{
	display: none;
	}
#camp2 {
	display: none;
	}
#camp3{
	display: none;
	}
#camp4{
	display: none;
	}
#camp5{
	display: none;
	}
	
.article p {
	color: #fff;	
	font-size: 1.7em;
	padding: 1.0em 1.0em 1.0em 1.0em;
	}
		

.page_article {
		margin: 0.5em;	
		}
	
	
.page_article hr {
		border-top: 1px solid #311f1f;
		}
	
.page_article h2 {
		text-align: center;
		margin: 1em 0em;
		border: 0px solid #311f1f;
		padding: 1em 0.5em 1em 0.5em;
		border-radius: 5px;
		box-shadow: 2px 2px 5px grey;
		background-color: #e9dec2;
		}

.page_article h3 {
		margin: 1em 2em 1em 2em;
		}
	
.page_article h4 {
		font-size: 1.2em;
		margin: 1em 0em;
		box-shadow: 2px 2px 5px grey;
		background-color: #e9dec2;
		padding: 1em 0.5em 1em 0.5em;
		}
	
.page_article p {
		font-size: 1.1em;
		text-align: justify;
		margin: 1em 2em 1em 2em;
		}

.page_article ul {
		list-style-type: square;
		margin: 1em 3em 1em 2em;
		}

.page_article ul li {
		font-size: 1.1em;
		margin: 0em 3em 0em 3em;
		}

.page_article img {
		border-radius: 5px;
		box-shadow: 3px 3px 3px grey;
		display: block;
	}	
	
.imgnix {
		border-radius: 5px;
		box-shadow: none;
		display: block;
		border: 1px solid black;
	}

.page_article table.first {
		text-align: center;
		width: 97%;
		margin: 0px auto;
		text-shadow: 2px 2px 2px #aaa;
		
}

.page_article table.second {
		text-align: center;
		width: 75%;
		margin: 0px auto;
		text-shadow: 2px 2px 2px #aaa;
}

.page_article td.default {
		width: 25%;
}

.page_article td.first {
		width: 21%;
		border: 0px solid black;
}

.page_article td.second {
		width: 25%;
		border: 0px solid black;
}

.page_article td.future {
		font-weight: bold;
		
}

.page_article a {
	padding: 0em 0.7em 0em 0.7em;
	color: #fff;
	background: #311f1f;
	-webkit-transition: background 0.2s ease-in;
	-moz-transition: background 0.2s ease-in;
	-ms-transition: background 0.2s ease-in;
	-o-transition: background 0.2s ease-in;
	transition: background 0.2s ease-in;
	
	}

.page_article a:hover {
	background: #f6ebcd;
	color: #000;
	}


a.default{
	color: #000;
	background: #f6ebcd;	
	padding: 0em;
	font-weight: bold;
	}
	
a.default:hover {
	font-weight: bold;
	color: #fa9804;
	}



.p1:hover {
		text-decoration:none; 
		color:#000000; 
		background-color:#DDDDDD;
		}


.large {
		display:block; 
		position:absolute; 
		width:1px; 
		height:1px; 
		border:0px; 
		top:-1px; 
		left:-1px;
		}
		
.text {
		display:block; 
		position:absolute; 
		width:1px; 
		height:1px; 
		border:0px; 
		top:-1300px; 
		left:-1300px;
		}
		
.p1:hover .large {
		display:block; 
		position:absolute; 
		top:130px; 
		left:150px; 
		width:28.125em; 
		height:28.125em; 
		border:2px solid #ffffff;
		box-shadow: 0px 0px 0px grey;}
		
.p1:hover .text {
		display:block; 
		position:absolute; 
		color:#ffffff; 
		top:140px; 
		left:140px; 
		width:190px; 
		height:50px; 
		border:0px;
		}




.links {
	float: left;
	margin: 1em 3em 1em 1em;

}

.rechts {
	float: right;
	margin: 1em 1em 1em 2em;
	
}	

.mitte {
	float: clear;
	margin: 1em 3em 1em 3em;
	
}	

	
.view {
   margin: 0px;
   overflow: hidden;
}




/* TEST new image effect */

#featured .featured-teaser {
    margin-bottom: 9px;
    position: relative;
    overflow: hidden;
    }
#featured .featured-teaser-title {
    font-family: arial;
    font-size: 1.3em;
    color: whiteSmoke;
    opacity: 0;
		position: relative;
    margin-bottom: 0;
    
    top:-1.5em;

    -webkit-transition: 0.4s all;
    -webkit-transform: 0.4s all;
    -moz-transition: 0.4s all;
		-moz-transform: 0.4s all;
    -ms-transition: 0.4s all;
    -ms-transform: 0.4s all;
    -o-transition: 0.4s all;
		-o-transform: 0.4s all;
    transition: 0.4s all;
    transform: 0.4s all;
    }
    

#featured .featured-teaser:hover .featured-teaser-title, #featured .featured-teaser:hover .featured-teaser-body{
    opacity: 1.0;
    background: rgba(0,0,0,0.5);
    }
#featured img {
    width: 100%;
    }
#featured .featured {
    background: #ffffff;
    padding: 15px;
    border: 1px solid #DDD;
    }

    
#featured .featured img {
    margin-bottom: 12px;
    } 


.sidelinks {
	display: inline-block;
	width: 12.0em;
	background: #fff;
	border-bottom: 3px solid #311f1f;
	vertical-align: top;
	margin: 0.310em 4.5em 0.310em 0.0em;
	text-align: center;
	color: #311f1f;
	}
	
.sidelinks h1 {
	text-align: center;
	font-size: 1.3em;
	text-shadow: 2px 2px 2px #aaa;
	}

.spacer {
	width: 100%;
	height: 5.5em;
	background: #f6ebcd;
	}

footer {
	position: relative;
	display: block;
	background: #311f1f;
	text-align: center;
	top: 0.0em;
	}

footer ul {
	display: inline;
	text-align: left;
	}

footer ul li {
	display: inline;
	line-height: 2em;
	margin: 1em 1em 1em 1em;
		}

footer ul li a{
	color: #fff;
	padding: 0em 1.2em 0em 1.2em;
	-webkit-transition: background 0.2s ease-in;
	-moz-transition: background 0.2s ease-in;
	-ms-transition: background 0.2s ease-in;
	-o-transition: background 0.2s ease-in;
	transition: background 0.2s ease-in;
	
	}

footer ul li a:hover {
	background: #f6ebcd;
	color: #000;
	}

@media screen and (max-width: 900px) {
	*	{
			font-size: 95%;
		}
	
}
		
@media screen and (max-width: 800px) {
	*	{
			font-size: 90%;
		}
		.maincontent {
			width: 46.0em;
			}
}

@media screen and (min-width: 600px) {
		.mainnav {
		display: block;
		}

	}	

@media screen and (max-width: 600px) {
	.mobilemenu ul li a.menubutton {
		display: block;
		padding: 0.1em 0.8em 0.1em 0.8em;
	  }	
	.mainnav {
		display: none;
		height: auto;
		}
	.mainnav ul li {
		display: block;
		margin: 0.2em 0em 0.2em 0em;
		}
  .sidelinks {
		display: none;
		}

	}
	
		
	
	/* Elastislide Style */

.elastislide-list {
	list-style-type: none;
	display: none;
}

.no-js .elastislide-list {
	display: block;
}

.elastislide-carousel ul li {
	min-width: 160px; /* minimum width of the image (min width + border) */
}

.elastislide-wrapper {
	position: relative;
	background-color: #311f1f;
	margin: 0 auto;
	min-height: 100px;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.elastislide-wrapper.elastislide-loading {
	background-image: url(../images/gifs/loading.gif);
	background-repeat: no-repeat;
	background-position: center center;
}

.elastislide-horizontal {
	padding: 20px 40px;
}

.elastislide-vertical {
	padding: 20px 20px;
}

.elastislide-carousel {
	overflow: hidden;
	position: relative;
}

.elastislide-carousel ul {
	position: relative;
	display: block;
	list-style-type: none;
	padding: 5px;
	margin: 0px;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-ms-transform: translateX(0px);
	-o-transform: translateX(0px);
	transform: translateX(0px);
}

.elastislide-horizontal ul {
	white-space: nowrap;
}

.elastislide-carousel ul li {
	margin: 0px 1px;
	-webkit-backface-visibility: hidden;
}

.elastislide-horizontal ul li {
	height: 100%;
	display: inline-block;
}

.elastislide-vertical ul li {
	display: block;
}

.elastislide-carousel ul li a {
	display: inline-block;
	width: 100%;
}

.elastislide-carousel ul li a img {
	display: block;
	border: 1px solid white;
	max-width: 100%;
}

/* Navigation Arrows */

.elastislide-wrapper nav span {
	position: absolute;
	background: #ddd url(../images/gifs/nav.png) no-repeat 4px 3px;
	width: 23px;
	height: 23px;
	border-radius: 50%;
	text-indent: -9000px;
	cursor: pointer;
	opacity: 0.6;
}

.elastislide-wrapper nav span:hover {
	opacity: 1.0
}

.elastislide-horizontal nav span {
	top: 50%;
	left: 10px;
	margin-top: -11px;
}

.elastislide-vertical nav span {
	top: 10px;
	left: 50%;
	margin-left: -11px;
	background-position: -17px 5px;
}

.elastislide-horizontal nav span.elastislide-next {
	right: 10px;
	left: auto;
	background-position: 4px -17px;
}

.elastislide-vertical nav span.elastislide-next {
	bottom: 10px;
	top: auto;
	background-position: -170px -18px;
}

.elastislide-horizontal {
	background-color: transparent;
	border-radius: 20px 20px 0 0;
}
.elastislide-horizontal.elastislide-loading {
	background-image: url(../images/gifs/loading.gif);
}

.elastislide-carousel ul li a{
	padding: 2px;
}

.elastislide-carousel ul li a img {
	border-radius: 10px;
	border: 0;
	box-shadow: 0 1px 2px #000;
}

.elastislide-wrapper nav span {
	background-color: #666;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.2);
}

.image-preview img {
	border-radius: 0 0 20px 20px;
	max-width: 100%;
	display: block;
}

.elastislide-carousel ul li.current-img a img {
	box-shadow: 0px 0px 1px 1px rgba(255,255,255,0.8);
	
}

.gallery {
	border: 0px solid black;
	width: 100%;
	float: right;
	max-width: 750px;
	margin: 1.250em 1.250em 2.0em 0em;
	border-radius: 20px;
	background: #311f1f;
	box-shadow:3px 3px 3px grey;
}

/* ==========================================================================
   Helper classesrgba(255,255,255,0.9)
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These 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 print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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