/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

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

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

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

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

hr {
    display: block;
    border-width: 5px !important;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 0;
    padding: 0;
}

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

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

textarea {
    resize: vertical;
    width: 96% !important;
}

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

p {
	font-size:14px;
	margin-top: 0;
}

ol {
	padding:0 20px 0 50px !important;
}

ol li {
	font-size: 14px;
}

body {
	font-family: 'Roboto';
}

section a:link, section a:visited {
	/*color: #0ba1dc;*/
	color: #0095D8;
	}

a:link, a:visited {
	text-decoration: none;
	/*color: #000;*/
	color: #0095D8;
}

a:hover, a:active, section a:hover, section a:active  {
	/*color: #85ca73;*/
	color: #009242;

}

.active {
	/*color: #0ba1dc !important;*/
	color: #009242 !important;
	
}

#filter {
	padding: 5px 10px 5px 0px;
	margin: 14px;
	margin-top: 0;
	width: 80%;
}

#filter p {
	background: rgba(255,255,255,0.8); /* war vorher 40% Transparent --> schlecht zu lesen */
	padding: 10px;
	margin: 0;
	display: inline-block;
}

.underline {
	text-decoration: underline;
}

h1 {
	font-size: 1.5em;
}


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

.container {
	width:980px;
	/*margin:0 auto 0;*/
    margin: 0 auto;
	position:relative;
	height:auto;
}

header {
	height:auto;
	width:100%;
	position: fixed;
	top: 0;
	background: #fff;
	z-index: 2;
}

#family {  /* ist jetzt Klasse für neues Logo */
	position:absolute;
	top:9px; /* war vorher 0 */
	left:30px;
	z-index:2;
}

#kids {
	position:absolute;
	left:115px;
	z-index:2;
}

#info-box {
	/* diesen Block hinzugefügt für Infozeile über dem Menü */ 
	height: auto;
	position: absolute;
	left: 300px;
	top: 5px;
	color: #0095D8;
	font-size: 6px;
}

nav {
	width: 960px;
	min-height:110px;
	max-height:110px
	padding:0 0 0px 0px;
	position:relative;
}

nav ul {
	padding: 50px 0px 0px 0px; /*vorher 50px 0px 0px 0px */
	margin: 0px;
}



nav ul li {
	list-style: none;
	float:left;
	padding-right:20px;
	font-weight:bold;	 /* vorher nicht vorhanden gewesen*/ 
}

nav ul li a {
	text-decoration: none;
	display: block;
	color: #333;
	padding:0;
}

nav ul li a:hover {
	/*color: #0ba1dc !important; */
	color: #009242 !important; 
}

nav ul li:hover > ul {
	display:block;
	position: absolute;
	left: 300px; /* vorher 300px */
	border-top: solid 3px #0095D8; /* Zeile gab es vorher nicht */
	background: #fff; /* war vorher fff */
	z-index: 3000;
}

nav ul li ul{
	display:none;
	padding:0;
	margin:0;
	width: 595px; /* war vorher 590*/
}

nav ul li ul li{
	float: left;
	margin-top:1px;	
}

nav ul li ul li a:hover{
	color: #333;
}

.active ul {
	border-top: solid 3px #0095D8; /* war vorher 2 px mit color #0BA1DC*/
	position: absolute;
	display: block;
	left: 300px; /* vorher 300px */
}

.family, .kids {
	max-width: 130px;
	padding:0;
	float:left;
	padding-top:90px;
	z-index:1;
	display: none !important;
}

.family {
	position:relative;
	left:25px;
}

.kids {
	position:relative;
	left:20px;
}

.family li, .kids li {
	float:left !important;
	display:block !important;
}

#haupt {
	float:left;
	padding-left: 300px;
}

article {
	height:auto;
	position:relative;
	padding-top:20px;
	padding-bottom:20px;
	overflow:auto;
	float:none;
	background: url('../../assets/img/background.jpg') ;
	background-attachment: fixed !important;
	background-repeat: no-repeat !important;
	margin-bottom: 120px;
	padding-top: 150px;
	background-position: center top;
	min-height: 500px;
	background-size: cover !important;
	/*background-size: auto auto !important;*/
}

section {
	float:left;
}

section a:link {
	text-decoration: underline;
}

.newsvorschau a:link {
	text-decoration: none !important;
}

.left, .right{
	width:48%;
	margin:0 1% 0 1%;
	height:auto;
	overflow:auto;
	padding:0;
	background:rgba(255,255,255,0.8);
	position:relative;
	float:left;
}

.left ul li , .right ul li, .newsbox ul li {
	font-size: 14px;
}

.left ul , .right ul {
	padding-right: 20px;
	list-style-type: square;
}

.big, .small, .left p, .left h1, .left h2, .left h3, .left h4, .left h5, .left h6, .right img, .right p, .right h1, .right h2, .right h3, .right h4, .right h5, .right h6    {
	width:90%;
	margin:10px 5% 10px 5%;
}

.big {
	height:auto;
	overflow:hidden !important;
}

.big img {
	margin:10px 0px 10px 0px;
	width: 100%;
}
.small {
	height:auto;
	overflow:hidden;
}

.small img {
	width: 49%;
	overflow:hidden;
	margin: 3% 0.5% 0 0;
}

footer {
	position: fixed;
	bottom: 0;
	background: #fff;
	width: 100%;
	z-index: 3;
}

footer img {
	float:left;
	padding: 10px 45px 0px 0px; 
	max-height:100px;
}

footer ul {
	list-style:none;
	max-width:330px;
	float:left;
	padding-right: 115px;
}

.img {
	height:auto;
	overflow:auto;
}

.img img {
	width:100%;
	min-height: 150px;
	position:relative;
}

.overlay {
	opacity:0.2;
	min-height: 196px;
}

.img .hintergrund {
	position:relative;
	float:left;
	width:20%;
	height: 150px;
	overflow:hidden;
	border:15px solid #fff;
	margin-top:20px;
	margin-right:1%;
	background: #fff;
	text-align:center;
}

.img .hintergrund h5 {
	position:absolute;
	top: 30%;
	width:100%;
	overflow:hidden;
}

.first {
	border: solid 5px #ccc;
	border-collapse: inherit;
	width: 92% !important;
}

.startteaser {
	position: relative;
	float: left;
	width: 68%;
}

.startteaser p{
	width: 100% !important;
}

.inline {
	min-height: 130px !important;
}

.newsbox {
	width:96%;
	margin:10px 1% 0 1%;
	height:auto;
	overflow:auto;
	padding:2%;
	background:rgba(255,255,255,0.8);
	position:relative;
	float:left;
	min-height: 70px;
}

.newsbox h2 {
	margin: 0;
}

.newsvorschau {
	width:94%;
	margin:0 1% 10px 1%;
	height:auto;
	overflow:auto;
	padding:2%;
	background:rgba(255,255,255,0.8);
	position:relative;
	float:left;
	padding: 0;
}

.newsvorschau h2 {
	margin:10px 5% 10px 5%;
}

.startdate p{
	float: left;
	width: 20%;
	margin-right: 0;
}

.oldleft {
	width: 48%;
	float: left;
	margin: 0;
	padding: 0;
	padding-right: 2%;
}

.oldright {
	width: 48%;
	float: left;
}

.anmeldung {
	width: 58% !important;
}

.heading {
	position: relative;
	float: left;
	width: 80%;
}

.heading h2, .heading p{
	width: auto !important;
	overflow: auto;
	display: inline-block;
}

.datkl {
	padding-bottom: 2px;
	margin: 0;
}

.termin {
	width:80%;
	float:left;
}

.termin a, .termin  {
	font-size: 14px;
}

.date {
	float:left;
	position: relative;
	width:80%;
}

.date p {
	font-size:15px;
}

.newsvorschau h2 {
	font-size:  18px;
}

.date h2, .newsbox h2 {
	margin: 0;
	font-size: 18px;
}

.imgnews {
	position:relative;
	float:right;
	width: 150px;
	overflow: hidden;
	right: 10px;
	overflow: hidden;
}

.imgnews img {
	position: relative;
	padding-bottom: 10px;
	width: 150px;
	float: right;
}

.imgnewsvor {
	position:absolute;
	right: 10px;
	top: 10px;
	width:90px;
	height:90px;
	overflow: hidden;
}

.imgnewsvor img {
	height: 90px;
	float: right;
}

:invalid { 
}

:required {
  border-color: #73c8ed;
  -webkit-box-shadow: 0 0 5px rgba(115, 200, 237, .5);
  -moz-box-shadow: 0 0 5px rgba(115, 200, 237, .5);
  -o-box-shadow: 0 0 5px rgba(115, 200, 237, .5);
  -ms-box-shadow: 0 0 5px rgba(115, 200, 237, .5);
  box-shadow: 0 0 5px rgba(115, 200, 237, .5);
}

form {
  width: 90%;
  margin: 20px auto;
}

label, input {
	width: 48%;
	position: relative;
	float: left;
}

textarea {
	width: 90%;
}

#anmeldung h2 {
	padding-left: 0;
	margin-left: 0;
}

#anmeldung p {
	float: left;
}

input {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  border:1px solid #ccc;
  background:  #fff;
  font-size:20px;
  min-height:30px;
  display:block;
  margin-bottom:5px;
  margin-top:5px;
  outline: none;

  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  -o-border-radius:5px;
  -ms-border-radius:5px;
  border-radius:5px;
}

input[type=submit] {
  background: #73c8ed;
  color: #fff;
  padding:5px;
  width: 100px;
  text-align: center;
}

input[type=submit]:hover {
		color: #000;
	}

#sponsoren {
	width: 46%;
	height: 120px;
	overflow: hidden;
}

#sponsoren img {
	padding: 0;
}

 @-moz-document url-prefix() {
        #sponsoren img{
        padding-top: 18px;
    }
}



table {
	font-family:Arial, Helvetica, sans-serif;
	color:#666;
	font-size:12px;
	text-shadow: 1px 1px 0px #fff;
	background:#eaebec;
	border:#ccc 1px solid;
	width: 100%;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	-moz-box-shadow: 0 1px 2px #d1d1d1;
	-webkit-box-shadow: 0 1px 2px #d1d1d1;
	box-shadow: 0 1px 2px #d1d1d1;
}
table th {
	padding:21px 25px 22px 25px;
	border-top:1px solid #fafafa;
	border-bottom:1px solid #e0e0e0;

	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
	background: -moz-linear-gradient(top,  #ededed,  #ebebeb);
}
table th:first-child {
	text-align: left;
	padding-left:20px;
}
table tr:first-child th:first-child {
	-moz-border-radius-topleft:3px;
	-webkit-border-top-left-radius:3px;
	border-top-left-radius:3px;
}
table tr:first-child th:last-child {
	-moz-border-radius-topright:3px;
	-webkit-border-top-right-radius:3px;
	border-top-right-radius:3px;
}
table tr {
	text-align: center;
	padding-left:20px;
}
table td:first-child {
	text-align: left;
	padding-left:20px;
	border-left: 0;
}
table td {
	padding:18px;
	border-top: 1px solid #ffffff;
	border-bottom:1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;

	background: #fafafa;
	background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
	background: -moz-linear-gradient(top,  #fbfbfb,  #fafafa);
}
table tr.even td {
	background: #f6f6f6;
	background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
	background: -moz-linear-gradient(top,  #f8f8f8,  #f6f6f6);
}
table tr:last-child td {
	border-bottom:0;
}
table tr:last-child td:first-child {
	-moz-border-radius-bottomleft:3px;
	-webkit-border-bottom-left-radius:3px;
	border-bottom-left-radius:3px;
}
table tr:last-child td:last-child {
	-moz-border-radius-bottomright:3px;
	-webkit-border-bottom-right-radius:3px;
	border-bottom-right-radius:3px;
}
table tr:hover td {
	background: #f2f2f2;
	background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
	background: -moz-linear-gradient(top,  #f2f2f2,  #f0f0f0);	
}
#email_addr, #email_addr_repeat {
	font-size: 15px;
}

.nosee {
	display: none;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 980px) {
	
	nav {
		padding-top: 100px;
	}
	
	#haupt {
		padding: 0;
		position: relative;
	}
	
	.img {
		padding-left:2%;
	}
	
	.img img {
		height:auto;
	}
	
	.left, .right {
		width:100%;
		float:left;
		margin:0;
		margin-bottom:50px;
	}

	.container {
		width:100%;
	}
	
	#menu:target {
		article {
			display: none;
		}
	}
	
	#menu:not( :target ) nav > a.flyout:first-of-type, #menu:target nav > a.flyout:last-of-type {  <---------- /* Menü Button */
		display: block;
		position: absolute;
		top: 10px;
		left: 18px;
		width: 50px;
		height: 50px;
		background: url(../img/button.png) no-repeat;
		z-index: 10;
	}
	
	#menu:target nav ul li {
		color:#85ca73;
		font-size:22px;
	}
	
	#menu:target nav > a.flyout:last-of-type {
		right:20px;
	}
	
	nav ul, #kids, #family {
		display: none;
	}
	
	header img  {
		padding-bottom:20px;
	}
	
	nav.flyout {
		width:100%;
	}
	
	#menu:not( :target ) nav {
		width:100%;
		height:70px;
		padding-top: 0px;
	}
	
	#menu:target #kids, #menu:target #family {
		position: absolute;
		left:120px;
		display:block;
		z-index:2;
	}
	
	#menu:target #kids {
		left: 220px;
		top: 0;
	}
	
	#menu:target nav {
		height:auto;
		width:100%;
		position:relative;
		z-index:20;
		background: #fff;
		padding-top:100px;
		-webkit-transition: all 0.3s ease;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-ms-transition: all 0.3s ease;
		transition: all 0.3s ease;
		z-index:1;
	}
	
	#menu:target nav ul {
		position:relative;
		left:25px;
	}
	#menu:target nav ul {
		display: block;
		font-size:16px;
		float:left;
		width:100px;
	}
	
	#menu:target nav ul li ul {
		position:relative;
	}
	
	#menu:target nav ul li a {
		color:#009fdb;
	}
	
	article {
		/*background-size: auto 100% !important;*/
		background-size: cover !important;
		padding-top: 20px;
		margin-bottom: 0;
	}
	
	footer, header {
		position: relative;
	}
	
	#sponsoren {
		max-width: 200px;
	}

	

}

@media only screen and (max-width: 768px) {
	.small img {
		margin-right:2%;
		width: 47%;
	}
	
	.img .hintergrund {
		border: 5px solid #fff;
	}
	
	.img .hintergrund h5 {
		top: 3%;
	}
}

@media only screen and (max-width: 620px) {	
	#myslider img {
		padding: 0;
	}
	.newsbox {
		width:94%;
	}
	
	article {
		margin-bottom: 0;
		padding-top: 0;
		background-size: cover !important;
		/*background-size: auto 100% !important;*/
	}
	
	.newsbox h2, .date, .termin, .imgnews {
		float:left;
		width:100%;
		position:relative;
		top:0;
	}
}


@media only screen and (max-width: 400px) {
	
	footer img {
		padding-right: 10px;
	}
	
	.right {
		margin-bottom:0;
	}
	
	article {
		padding-top:0;
	}

	#menu:target #kids, #menu:target #family {
		width:30%;
		height:auto;
	
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

    thead {
        display: table-header-group;
    }

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

    img {
        max-width: 100% !important;
    }
    
    #haupt {
	    display: none;
    }

    @page {
        margin: 0.5cm;
    }

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

    h2,
    h3 {
        page-break-after: avoid;
    }
	
	#buttons, footer {
		display:none !important;
	}
}