@font-face {
	font-family: brkFont;
	src: url(fonts/OpenSans-Regular-webfont.woff);
}
@font-face {
	font-family: brkFont;
	src: url(fonts/OpenSans-Light-webfont.woff);
	font-weight: lighter;
}
@font-face {
	font-family: brkFont;
	src: url(fonts/OpenSans-LightItalic-webfont.woff);
	font-weight: lighter;
	font-style: italic;
}

*{
	box-sizing: border-box;
}
html {
	font-size: 1.0625em;
	line-height: 1.58;
	height: 100%;
}
body {
	margin:0;
	font-size: .88rem;
	font-family: brkFont,OpenSans,Arial,Helvetica,sans-serif;
	background-color: lightgray; 
	height: 100%; 
}

h1, h2, h3 {
	color: #2e8f34;
	font-weight: bold;
}
h2 {
	margin: 20px 0 5px;
}
h3 {
	margin: 15px 0 5px;
}
p {
	text-align: justify;
    text-justify: inter-word;
	
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}
a {
	color: #0075a9;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
img {
	max-width:100%;
	height:auto;
}
figure{
	margin: 0;
	text-align: center;
}
figure img {
	margin: 0 auto;
}
table {
	border-collapse: collapse; 
}
td {
	padding: 2px; 
}

nav, nav ul, nav li, nav ul ul, nav ul ul li {           /* Normalisierung */
	list-style: none; 
	margin: 0; 
	padding: 0;
	border: 0;
}
nav input[type="radio"] {
	display:none;
}

[class*="col-"] {
	float: left;
	padding: 1px 7px;
	width: 100%;
}

#wrapper {
	min-height: 100%;
	position: relative;
	background-color: white;
	margin: 0 auto;
	max-width: 1200px;
}

@media only screen and (max-width: 1165px) {
	.col-1 {display: none;}
	.hide {display:none;}
	
	nav ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}

	nav {
		cursor: pointer;
	}
	
	nav[class*="col"]{
		position: fixed;
		top: 2px;
		right: 0;
		background: url('../grafik/grafiken/icon-menu.png') no-repeat center;
		width:50px;
		height:50px; 
		z-index:100;   	
	}
	
	nav li {
		display: none; 
		color:black;
		line-height: 1.5em; 
	}
	nav:hover li, #menu:active li {
		display: block; 
		background-color:lightgrey;
		font-size: 1.1rem;
		padding: 2px 0;
	}
	nav:hover, nav:active {
		width: 100%; 
		max-width: 200px;
		background: none;
		z-index: 100;
		padding: 0;
		overflow-y: scroll;
		height: 100%;
	}
	.navRadio + label + ul {
		display:none;
	}
	.navRadio:checked + label + ul {
		display:block;
	}
	nav label {
		margin-left: 5px;
	}
	nav label:after {
		content:" +"
	}
	.navRadio:checked +label:after {
		content: "";
	}
	nav a {
		padding: 0 0 0 25px;
	}
	
	.header {
		width:100%;
		background: white url(../grafik/grafiken/foerderverein_logo.gif) no-repeat left 5px top;
		background-size: contain;
		position: fixed;
		z-index:100;
		top: 0px;
		left: 0px;
		height: 56px;
		border-top: 2px solid white;
		border-bottom: 2px solid white;
		box-shadow: 0 5px 2px rgba(30,30,30,0.3);
	}
	.header h1 {	
		margin: 0 45px 0 0;
		font-size: 10px;
	}
	
	.firstRow {
		margin-top:55px;
	}
	
	.buttonHome {
		display: block;
		width: 220px;
		height: 56px;
		float:left;
		padding-left: 80px;
	}
	
	.form textarea {
		width: 100%;
		height: 70px;  
	}
	.formL textarea {
		height: 150px;
	}

	.tbAED tr td:nth-child(2), .tbAED tr th:nth-child(2) {
		display: none;
	}
	
	.tbHide2 tr td:nth-child(2), .tbHide2 tr th:nth-child(2),	
	.tbHide3 tr td:nth-child(3), .tbHide3 tr th:nth-child(3),	
	.tbHide4 tr td:nth-child(4), .tbHide4 tr th:nth-child(4),	
	.tbHide5 tr td:nth-child(5), .tbHide5 tr th:nth-child(5), 
	.tbHide6 tr td:nth-child(6), .tbHide6 tr th:nth-child(6), 
	.tbHide7 tr td:nth-child(7), .tbHide7 tr th:nth-child(7) {
		display: none;
	}
	
	.taDienstplan {
		width: 100%;
	}
	.breakTable table {
		border:none;
	}
	.breakTable thead {
		display:none;
	}
	.breakTable tr {
		float: left;
		width: 100%;
		margin-bottom: 2em;
	}
	.breakTable td {
		float: left;
		width: 100%;
		padding:1em 1em 0.5em;
	}
	.breakTable td::before {
		content:attr(data-label);
		word-wrap: break-word;
		background: #eee;
		border-right:1px solid grey;
		width: 20%;
		float:left;
		padding:1em;
		font-weight: bold;
		margin:-1em 0.5em 0.5em -1em;
	}
}

/* Tablet Add info col to right */
@media only screen and (min-width: 500px) {
	.info {
		margin-top: 20px;
	}
	
	td, th {
		padding: 0 4px;
	}
	
	.footer {
		margin: 0 auto;
		position: absolute;
		bottom: 0;
		width: 100%;
	}
	
	.form {
		width:400px; 
		margin: 0 0 25px 0;
	}
	.form textarea{
		width:calc(100% - 110px); 
		height:70px;
	}
	.form input[type=email] {
		width:250px;
	}
	.form .fwLabelPC {
		width: 100px;
		display: inline-block;
		vertical-align: top;
	}
	
	.formL textarea {
		height: 200px;
	}
	
	.form2c ul{
		column-count: 2; 
	}
	
	.tbAED tr td:nth-child(2), .tbAED tr th:nth-child(2) {
		display: table-cell;
	}
	
	.tbPlan datum {
		width: 200px
	}
}

@media only screen and (min-width: 1165px) {
	body {
		font-size: 1rem;
	}
	
	[class*="col-"] {
		padding: 1px 15px;
	}
	.col-1 {width: 8.33%;}
	.col-2 {width: 16.66%;}
	.col-3 {width: 25%;}
	.col-4 {width: 33.33%;}
	.col-5 {width: 41.66%;}
	.col-6 {width: 50%;}
	.col-7 {width: 58.33%;}
	.col-8 {width: 66.66%;}
	.col-9 {width: 75%;}
	.col-10 {width: 83.33%;}
	.col-11 {width: 91.66%;}
	.col-12 {width: 100%;}
	
	nav {
		margin-top: 60px;
		text-align: right;
		border-bottom: 1px solid #554f4a;
	}
	nav ul {
		position: relative;
		display: inline-flex;
		text-align:left;
	}
	nav li {
		display: block; 
		color:black;
		line-height: 1.5em; 
		transition-duration: 0.5s;
		padding: 0 10px;
		position: relative; 
	}
	nav li:hover, #menu:active li { 
		background-color:lightgrey;	
		cursor: pointer;
	}
	nav ul li ul {
		background: #2e8f34;
		visibility: hidden;
		opacity: 0;
		position: absolute;
		transition: all 0.5s ease;
		left: 0;
		display: none;
		padding: 5px 0;       
	}
	nav ul li:hover > ul, 
	nav ul li:focus-within > ul,
	nav ul li ul:hover{
		visibility: visible;
		opacity: 1;
		display: block;   
	}
	nav ul ul li {
		margin: 0 5px;
		white-space: nowrap;
	}
	nav ul ul li:hover {
		background: #2e8f34;
	}
	nav a, nav label {
		text-decoration: none;
		color: #554f4a;
		border: 0;
		font-size: 18px;
		letter-spacing: .5px;
	}
	nav ul ul li a{
		text-decoration: none;
		font-weight:normal;
		color: white; 
	}
	nav a:focus, nav a:hover, nav a:active {    
	  color: white; 
      text-decoration: none;
	}
	
	#wrapper {
		margin-bottom: -50px;
		padding: 0 0 50px;
	}
	
	.header {
		background: white url(../grafik/grafiken/foerderverein_logo.gif) no-repeat left 5px top;
		background-size: contain;
		position:relative;
		height: 90px;
		padding: 0px;
	}
	.header h1 {
		margin: 3px 0 0 10px;
		font-size: 16px;
	}

	.footer {
		height: 50px;
	}

	.buttonHome {
		display:block;
		width:290px;
		height: 90px;
		margin-left: -5px;
		float:left;
		padding-left: 145px;
		font-size: larger;
		color: black;
		font-weight: bold;
	}
	.buttonHome:hover {
		text-decoration: none;
	}
	
	.formL {
		width: 100%; 
	}
	
	.tbAED tr th:nth-child(1){
		width: 200px;
	}
	
	.taDienstplan {
		width: 400px;
	}
	
	img {
		padding: 2px;
	}
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

.header h1 {
	padding:0;
	min-width: 100px;
	color: black;
	font-weight: bold;
}

.footer {
	text-align:center;
	width: 100%;
}
.footer p {
	text-align: inherit;
	font-size: .75rem;
}

.slides {
	padding: 0;
	display:block;
	position:relative;
	max-width:100%;
}
.slides ul {
	list-style-type: none;
    margin: 0;
    padding: 0;
}
.slides li {
	display:none;
}
.slides li:first-child{
	display:list-item;
}
.slides button{
	position:absolute;
	top:50%;
	margin: -15px 5px;;
	z-index: 1;
	background-color: rgba(153,153,153,0.1);
	border:1px solid rgba(0,0,0,0.1);
	border-radius: 5px;
	padding: 0;
    font-size: 250%;
    color: rgba(255,255,255,0.5);
    font-weight: bold;
	width: 40px;
}
.slides button:hover{
	background-color: rgba(153,153,153,0.5);
	color:white;
}
.slides button:focus {
  outline: none;
}
.right {
	right:0;
}

.greenArrowList {
  list-style: none;
  padding: 0;
  margin: 0;
}
.greenArrowList li {
  padding-left: 16px;
}
.greenArrowList li::before {
  content: ">";
  padding-right: 8px;
  color: #2e8f34;
}
