:root {
	--blau1: 	#004D97;
	--blau2: 	#003E79;
	--blau3: 	#002F5D;
	--blau4: 	#00203F;
	--blau5: 	#000B15;
	--blau6:    #1D7ED8;	
	--hellblau: #99C7F4;

	--farbe1: 	#BF1636;
	--farbe2: 	#720217;

	--schwarz: 	#25282B;
	--grau:    	#A1AFB7;
	--grau2:   	#586066;
	--grau3: 	#C8C8C8;
	--icon:		#021c2d;

	--weiss:    #EEEEEE;

	--lightgreen: #b7e2ad;
	--lightred:  #d4a0a0;
	--green:     #72b672;

	--orange1:   #eea74a;
	--orange2:   #ffc48c;
}

html {
	height: 100%;
	width: 100%;
}

body {
	width: 100%;
	max-width: 100%;
	height: 100%;
	min-height: 100%;
	font-family: source-sans-pro, sans-serif;
	font-size: 16px;
	color: var(--schwarz);
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	display: grid;
	grid-template-rows: auto auto 1fr auto; 
	grid-template-columns: 100%; 
	grid-template-areas:
		"topnavi"  
		"header"
		"main" 
		"footer" 
	; 
}

#topnavi {
	grid-area: topnavi;
}

#header {
	grid-area: header;
}

#main {
	grid-area: main;
}

#footer {
	grid-area: footer;
}

#processing {
	width: 100%;
	height: 100%;
	position: fixed;
	overflow: visible;
	background-color: rgba(0,0,0,0.8);
	z-index: 6001;
}

#processing img {
	position: absolute;
	object-fit: contain;
	object-position: center;
	width: 100%;
	max-width: 100%;
}

#abdunkeln {
	width: 100%;
	height: 100%;
	position: fixed;
	overflow: visible;
	background-color: rgba(0,0,0,0.8);
	z-index: 6001;
}

#abdunkeln_close {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 100;
	width: 30px;
	height: 30px;
	background-image: url("/img/close.png");
	background-size: cover;
	cursor: pointer;
}

#abdunkeln .box_form {
	box-sizing: border-box;
	position: relative;
	width: 100%;
	max-width: 600px;
	height: auto;
	padding: 40px;
	margin: 200px auto 0 auto;
	background-color: #FFF;
}

#abdunkeln span {
	display: inline-block;
	width: 150px;
}

#abdunkeln #infocontent {
	width: 90%;
	max-width: 1000px;
	margin: 10vh auto;
	padding: 20px;
	box-sizing: border-box;
	height: auto;
	min-height: 60vh;
	background-color: white;
}

.buttons {
	z-index: 1000;
}

.spacer100 {
	display: inline-block;
	height: 10px;
	width: 100px;
}

.rot {
	color: #FF0000;
	font-weight: bold;
}

#topnavi img.icon {
	height: 18px;
	aspect-ratio: 1;
}

td.edit,
td.del,
td.sortUp,
td.sortDown {
	width: 30px;
	height: 30px;
	background-size: contain;
	background-position: center top;
	background-repeat: no-repeat;
	cursor: pointer;
}

td.edit {
	background-image: url("/img/edit.png");
}

td.del {
	background-image: url("/img/del.png");
}

td.sortUp {
	background-image: url("/img/aufwaerts.png");
}

td.sortDown {
	background-image: url("/img/abwaerts.png");
}

#pressetext {
	background-color: #FFF;
	width: 90%;
	max-width: 1200px;
	height: 100%; 
	padding: 10px;
	margin: 0 auto;
	overflow-y: auto;
	box-sizing: border-box;
}

#pressetext span {
	width: 100%;
}

#pressetext .presse_switch {
	position: relative;
	float: left;
	width: 30px;
	height: 30px;
	cursor: pointer;
	margin: 30px 10px 0 0;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

#presse_pdf {
	background-image: url("/img/pdf.png");
}

#presse_twitter {
	background-image: url("/img/twitter.png");
}

#presse_facebook {
	background-image: url("/img/facebook.png");
}

#presse_mail {
	background-image: url("/img/mail.png");
}

.icon_pdf {
	background-image: url('/img/pdf.png');
	background-repeat: no-repeat;
	background-position: left center;
	background-size: auto 90%;
	padding-left: 50px;
}

.icon_xls {
	background-image: url('/img/icon_xls.png');
	background-repeat: no-repeat;
	background-position: left center;
	background-size: auto 90%;
	padding-left: 50px;
}

#totop {
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid var(--farbe1);
	cursor: pointer;
	position: fixed;
	right: 50px;
	bottom: 50px;
	display: block;
	visibility: hidden;
	opacity: 0;
	transition: all 0.3s ease-in-out;
	transition-delay: 0.3s;
	z-index: 300;
}

#totop.show {
	visibility: visible;
	opacity: 1;
}

#totop:hover {
	border-bottom-color: var(--farbe2);
}

#topnavi {
	box-sizing: border-box;
	width: 100%;
	padding-top: 8px;
	padding-left: 20px;
	height: auto;
	min-height: 60px;
	position: relative;
	margin: 0px;
	background-color: #000;
	color: #FFF;
}

#topnavi ul {
	margin: 0;
	padding: 0;
}

#topnavi li {
	float: none;
	list-style: none;
}

#topnavi li.notmobile {
	display: none;
}	

#topnavi li a,
#topnavi li a:visited {
	padding: 0 20px 0 0;
	margin-bottom: 10px;
	max-height: 18px;
	display: block;
	color: #FFF;
	font-size: 18px;
	text-decoration: none;
}

#topnavi a:hover {
	text-decoration: underline;
}

#topnavi img {
	height: 25px;
	width: auto;
}

.icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}

.icon.person {
	background-image: url("/img/person.png");
}

#mobilswitch {
	display: block;
	position: fixed;
	right: 20px;
	top: -2px;
	background-color: var(--farbe1);
	color: #FFF;
	padding: 10px 10px 10px 10px;
	z-index: 6000;
	border-radius: 0;
	border: solid 2px #FFF;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	height: 40px;
	transition: all 0.5s ease-in-out;
}

#mobilswitch.small {
	padding-top: 10px;
	height: 20px;
}

#mobilswitch:hover{
	cursor: pointer;
	background-color: var(--farbe2);
	transition: all 0.3s ease-in-out;
}


header {
	background-color: var(--blau3);
	width: 100%;
	box-sizing: border-box;
	height: auto;
	display: block;
}

#suche{
	display: block;
	position: relative;
	width: 90%;
	margin: 5% auto;
	background-image: url("/img/search.png");
	background-size: auto 90%;
	background-position: 99% center;
	background-repeat: no-repeat;
	background-color: var(--weiss);
}	

#logo { 
	background-color: var(--blau3); 
	box-sizing: border-box;
	height: auto;
	width: 100%;
	padding: 20px 20px 0 20px;
	position: relative;
} 

#logo img {
	width: 100%;
	max-width: 800px;
}

#logotext {
	float: left;
	margin-top: 20px;
}

#logo h1,
#logo h2 {
	color: #FFF;
}

#logo h1 {
	margin: 0 0 0 70px;
	font-size: 40px;
	font-weight: bold;
}

#logo h2 {
	margin: 10px 0 0 20px;
	font-size: 20px;
	font-weight: normal;
	display: none;
}

#navi {
	position: absolute;
	display: none;
	top: 65px;
	width: 100%;
	max-width: 300px;
	background-color: var(--blau4);
	z-index: 2000;
}

#navi p {
	margin-left: 20px;
}

#navi ul {
	display: none;
}

#navi > ul {
	margin: 0;
	padding: 0;
	display: block;
}

#navi ul li {
	position: relative;
	margin: 0;
	padding: 0;
	width: 100%;
	height: auto;
	transition: all 0.3s ease-in-out;
	border-bottom: solid 1px #FFF;
	list-style: none;
}

#navi > ul > li.hassub::before {
	content: " ";
	position: absolute;
	width: 0;
	height: 0;
	margin-top: 22px;
	margin-left: 85%;
	border-left: 20px solid transparent;
	border-top: 17px solid #FFF;
	border-right: 20px solid transparent;
	z-index: 100;	/
}

#navi > ul > li ul {
	z-index: 1000;
}


#navi > ul > li:first-child {
	border-top: solid 1px #FFF;	
}

#navi > ul > li:hover {
	background-color: var(--blau4);
}

#navi > ul > li > a {
	box-sizing: border-box;
	display: block;
	height: 60px;
	padding-top: 20px;
	padding-left: 20px;
	color: #FFF;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

#navi > ul > li > a:visited {
	color: #FFF;
}

#navi > ul > li ul {
	border-left:10px solid var(--blau3);
	padding-left: 0;
} 


#navi > ul > li ul li {
	border-bottom: 1px solid #ccc;
	padding:0;
	background: var(--grau); 	
}

#navi > ul > li ul li:hover {
	background: var(--grau2); 	
	background: #8A959B;
}

#navi > ul > li ul li.hassub::before {
	content: " ";
	position: absolute;
	width: 0;
	height: 0;
	margin-top: 25px;
	margin-left: 85%; 
	border-left: 10px solid transparent;
	border-top: 7px solid var(--schwarz);
	border-right: 10px solid transparent;
	z-index: 100;	
}

#navi > ul > li ul li a,
#navi > ul > li ul li a:visited {
	display: block;
	box-sizing: border-box;
	padding: 10px 0 10px 10px;
	text-transform: none;
	letter-spacing: 0;
	font-weight: bold;
	color: #000;
	text-decoration: none;
}

#navi p {
	color: whitesmoke;
}

.clearfix{
	clear: both;
	float: none;
	display: block;
	position: relative;
}

input[type=checkbox] {
	zoom: 1.5;
}

#HyphenatorToggleBox {
	display: none;
}

#breadcrumb{
	font-size: 70%;
	color:var(--blau1);
	margin: 0 0 10px 0;
	padding: 0;
	clear: both;
}

#breadcrumb li::before{
	content:"";
	position: absolute;
	width: 0;
	height: 0;
	margin-left: -15px;
	border-left: solid var(--blau3) 12px;
	border-top: solid transparent 6px;
	border-bottom: solid transparent 6px;
}

#breadcrumb li:first-child::before {
	display: none;
}

#main {
	position: relative;
	box-sizing: border-box;
}

#content { 
	background-color: whitesmoke;	
	box-sizing: border-box;
	padding: 10px;
	position: relative;
} 

#content ul#breadcrumb li{
	float: left;
	background-image: none;
	margin-right: 20px;
	padding: 0;
}

#content a,
#content a:visited {
	color: #0B2E7F;
	text-decoration: none;
}

#content a:hover {
	color: #225FEC;
}

a:hover {
	text-decoration: underline;
}

.highlight {
    background-color: #FF0;
}

hr {
	display: block;
	margin:50px auto;
	border:none;
	background:var(--grau2);
	height: 3px;
	max-width: 800px;
	width: 50%;
}

.close,
#infoclose {
	position: absolute;
	right: 10px;
	top: 10px;
	width: 30px;
	height: 30px;
	background-image: url("/img/close.png");
	background-size: cover;
	z-index: 10;
	cursor: pointer;
}


#cookiezustimmung {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
}

#cookiezustimmung div {
	width: 100%;
	max-width: 600px;
	margin: 20vh auto 0 auto;
	box-sizing: border-box;
	padding: 10px;
	background-color: #FFF;
	border-radius: 10px;
	text-align: center !important;
}

.cookie_show {
	display: none;
}

body.cookie_set .cookie_show {
	display: block;
}

#content article {
	clear: both;
}

#content article figure {
	min-width: 100%;
}

#content h1 {
	font-family: ff-cocon-pro, sans-serif;
	font-size: 180%;
	color: var(--blau3);
	font-weight: normal;
	margin-top: 0;
	margin-bottom: 0;
	text-align: left;
	padding: 10px 0;
}

#content li h1 {
	padding-top: 0;
}

#content h2 {
	font-size: 130%;
	color: var(--grau2);
	font-weight: bold;
	margin-top: 0;
	text-align: left;
	text-transform: uppercase;
}

#content h3 {
	font-size: 150%;
	color: var(--blau5);
	font-weight: 300;
	margin-top: 0;
	text-align: left;
}

#content p {
	line-height: 140%;
	margin: 0 0 6px 0;
}

#content th {
	text-align: left;
}

#content ul {
    margin-left: 0;
	padding-left: 0;
}
	
#content ul li {
	padding-left: 40px;
	padding-top: 0px;
	padding-bottom: 8px;
	list-style: none;
}

#content article ul li::before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	margin-left: -30px;
	border-left: solid var(--blau3) 16px;
	border-top: solid transparent 8px;
	border-bottom: solid transparent 8px;
}

small {
	font-size: 60%;
}

article {
	width: 100%;
	min-height: 30px;
	position: relative;
	box-sizing: border-box;
	padding: 0;
	margin: 20px 0 0 0;
}

article.box33{
	min-height: 250px;
}

#content article.box66 h1,
#content article.box50 h1,
#contant article.box33 h1 {
	padding-top: 0;
	width: 100%;
	float: none;
	position: relative;
}

article.back_rahmen {
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;	
	border: solid 1px rgba(15,59,159,1);
}

article.back_grau {
	background-color: var(--grau3);
	padding: 10px;
	margin: 0;
}

table {
	width: max-content;
  	border-collapse: collapse;
}

table td {
	vertical-align: top;
}

article table {
	margin-left: 0;
	margin-bottom: 20px;
	background: none;
	width: auto;
}

article table tr:first-child {
	background: none;
}

article td {
	background: none;
	border: none;
	padding: 5px;
}

.flexbox {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding-top: 0;
	margin-top: 0;
}

article.boxgrau {
	background: var(--grau);
	padding: 20px 10px !important;
}

#content .boxgrau h1{
	color:var(--blau4);
	padding: 10px 4%;
}

#content article.boxgrau ul {
	margin-left: 4%;
}

#content .boxgrau h2, #content .boxgrau h3, #content .boxgrau h4, #content .boxgrau p,
#content .boxocker h2, #content .boxocker h3, #content .boxocker h4, #content .boxocker p
{
	padding: 5px 4%;
}

article.boxocker {
	background: #E9B200;
	padding: 20px 10px !important;
}

#content .boxocker h1{
	color:var(--blau4);
	padding: 10px 4%;
}

article.boxrahmen {
	border: solid var(--blau4) 2px !important;
	padding: 20px 10px !important;
}

article video {
	max-width: 100%;
	height: auto;
	background-size: cover;
}

.box_ticker {
	min-height: 210px;
	overflow: hidden;
	padding: 0;
	padding-top: 40px;
}

.box_ticker .h2 {
	padding: 15px;
	width: calc(100% - 30px);
	height: 40px;
	top: 0;
	padding-bottom: 0;
	margin: 0;
	color: #FFF;
	background-color: rgba(156,194,228,1);	
	z-index: 100;
	position: absolute;
	font-size: 140%;
}

.box_ticker p {
	width: calc(100% - 30px);
	padding: 10px;
	margin: 5px;
	color: #000;
	position: relative;
	border: solid 1px rgba(0,0,0,0);
}

.box_ticker p:hover {
	background-color: #FFF;
	border: solid 1px rgba(15,59,159,100);
}

.box_ticker a {
	display: block;
}

.box_ticker a,
.box_ticker a:visited,
.box_ticker a .th1,
.box_ticker a:visited .th1,
.box_ticker a .th2,
.box_ticker a:visited .th2 {
	color: rgb(15,59,159);	
	text-decoration: none !important;
}

.box_ticker .th1 {
	font-size: 120%;
	font-weight: bold;	
	text-decoration: none !important;
}

.box_ticker .th2 {
	font-size: 100%;
	color: #000 !important;
	text-decoration: none !important;
}

/* TERMINBOX */

article.box33.terminbox {
	height: auto;
	min-height: 100px;
	float: none;
	padding: 10px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.terminbox_top {
	width: 96%;
	font-size: 105%;
	color: #fff;
	float: none;
	padding: 3px 2%;
	margin-top: 10px;
	background: var(--blau4);
}
.terminbox_top::before {
	content: url("../img/date_white.png");
	position: relative;
	margin-right: 10px;
}

.terminbox_titel {
	font-weight: 400;
	font-size: 110%;
	width: 96%;
	height: auto;
	position: relative;
	padding: 10px 2%;
	background: var(--grau2);
	color: #fff;
	text-transform: uppercase;
}

.terminbox_pic {
	float: none;
	width: 100%;
	height: auto;
	margin-bottom: 10px;
}

.terminbox_pic img {
	max-width: 100%;
	max-height: 100%;
	margin: auto;
}

.terminbox_ort {
	float: none;
	position: relative;
	width: 96%;
	padding: 10px 2%;
	background:#D9DFE2;
}

.terminbox_va {
	float: none;
	position: relative;
	width: 96%;
	padding: 0 2%;
}

.terminbox .terminbox_text {
	display:block;
	width: 96%;
	padding: 10px 2%;
	float: none;
	clear: both;
	border-top: 1px dashed var(--grau);
	background:#D9DFE2;
	min-height: 50px;
	max-height: 50px;
	overflow: hidden;
	position: relative;
	transition: all 0.5s ease-in-out;
}

.terminbox.show {
	min-width: 100%;
	max-width: 100%;
	position: absolute;
	z-index: 1000;
}

.terminbox.show .terminbox_text {
	max-height: none;
}

.terminbox .terminbox_text_more {
	position: relative;
	width: 100%;
	height: 20px;
	background-image: url("/img/more.png");
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}

.terminbox.show .terminbox_text_more {
	background-image: url("/img/hide.png");
}

.terminbox_text.start * {
	margin: 0;
	padding: 0;
	font-style: italic;
	font-size: 0.9em;
	display: none;
}

.terminbox_text.start p:first-child {
	display: block;
}

.terminbox_text.start p:first-child strong {
	display: inline-block;
}

#alletermine{
	background:var(--blau3);
	border-top: 10px solid #fff;
	width: 96%;
	padding: 10px 2%;
	text-align: center;
}

#content #alletermine a{
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

#content #alletermine a:hover{
	text-decoration: underline;
	color: #D9DFE2;
}

/* BOX mit BILD */

.bildbox{
	box-sizing: border-box;
	background:#D9DFE2;
	float:right;
	width: 100%;
	max-width: 100%;
	margin: 50px 0 50px 40%;
	clear: both;
	padding:0 4%;
}
.bildbox .bildlinks{
	left:0;
	/*margin-left: -85%;*/
}

/* BOX mit HINTERGRUNDBILD */

.hintergrundbildbox{
	background-size: cover;
	background-position: center center;
}

#content .hintergrundbildbox h1, 
#content .hintergrundbildbox h2{
	padding: 20px 5%;
	color: #fff;
	text-shadow: 1px 1px 2px #000;
	font-family: ff-cocon-pro, sans-serif;
	font-weight: 300;
	margin: 0;
}

#content .hintergrundbildbox h1 {
	padding: 40px 0;
}

.hintergrundbildbox p{
	background:var(--blau5);
	background: linear-gradient(
			to right,
			rgba(0,11,21,0.4) 0%,
			rgba(0,11,21,0.8) 100%
		);
	color:#fff;
	padding:6px 5%;
	width:60%;
	margin-left: 30%;
	text-shadow: 1px 1px 1px #000;
}

/* NEWSBOX */

.newsbox {
	background: var(--schwarz);
	color:#fff;
	/*padding:2%;*/
	background-size: cover;
	background-position: center center;
	min-height: 250px;
	overflow: hidden;
}

#content .newsbox h1{
	background: var(--blau4);
	width: 90%;
	padding:0 5%;
	color:#fff;
	font-size: 1.4em;
	position:absolute;
	top: calc(100% - 40px);
	margin: 0 auto;
	transition: top 250ms ease;
	max-height: 40px;
	z-index:20;
	text-transform: uppercase;
	line-height: 40px;
}
#content .newsbox:hover >h1{
	top:0;
}
#content .newsbox h1::after{
	content: " ";
	position: absolute;
	width: 0;
	height: 0;
	margin-left: 90%;
	margin-top: 16px;
	border-left: 10px solid	transparent;
	border-top: 7px solid #fff;
	border-right: 10px solid transparent;
	z-index: 100;
	right: 20px;
}
.newsbox p{
	width: 90%;
	padding:5%;
	color:#fff;
	background:var(--blau5);
	background: linear-gradient(
			to bottom,
			rgba(0,11,21,0) 0%,
			rgba(0,11,21,1) 100%
		);
	/*visibility: hidden;*/
	margin:40px 0 0 0;
	transition: bottom 250ms ease;
	opacity: 0;
	bottom:-100%;
	position: absolute;
}
.newsbox:hover >p{
	opacity: 100;
	bottom:0%;
}
#content .newsbox .weiterlesen{
	position: absolute;
	background:#fff;
	padding: 5px 15px 5px 25px;
	border:1px solid var(--grau);
	bottom: 10px;
	right:10px;
	z-index:10;
	color:var(--grau);
	font-size: 80%;
	opacity: 0;
	background-image: url("../img/click.png");
	background-position: 5px center;
	background-repeat: no-repeat;
}

#content .newsbox:hover >.weiterlesen{
	opacity: 100;
	transition: opacity 250ms ease;
	transition-delay: 0.5s;
}

/* FARB-BOX */

#content .farbbox{
	background:var(--blau1);
	color: #fff;
}

#content article.haslink {
	cursor:pointer;
}

#content .farbbox h1{
	color:var(--hellblau);
	padding: 5px 4%;
}
#content .farbbox h2, #content .farbbox h3, #content .farbbox h4, #content .farbbox p{
	color:#fff;
	padding: 5px 4%;
}
#content .farbbox .h2{
	color:#fff;
	padding: 5px 4%;
	font-size: 150%;
	font-weight: bold;
	margin-top: 0;
	text-align: left;
	text-transform: uppercase;
}
#content .farbbox a{
	color:var(--hellblau);
}
#content .farbbox a:hover{
	color:var(--grau);
	text-decoration: underline;
}

.artikeldatum {
	color:var(--grau);
	font-size: 90%;
	font-style: italic;
}

.frontend article.pressebox {
	transition: all 0.3s ease-in-out;
	background-image: url("/img/presse.png");
	background-size: 80px auto;
	background-position: 10px 40px;
	background-repeat: no-repeat;
}

.frontend article.pressebox * {
	margin-left: 150px;
}

.frontend article.pressebox:hover {
	background-color: rgba(0,0,0,0.2);
	cursor: pointer;
}

article.pressebox p,
article.pressebox img,
article.pressebox ul,
article.pressebox ol {
	display: none;
}

article.pressebox p.artikeldatum {
	display: block;
	padding: 0;
}

#content article.pressebox h1 {
	font-size: 150%;
	font-weight: bold;
}

#content article.pressebox h2 {
	font-size: 130%;
	font-weight: normal;
	text-transform: none;
}

/* BILDER */
.magazin img{
	float: right;
	margin: -30px -20px -40px 20px;
	width: 70%;
	max-width: 300px;
}
.bildlinks {
	float: left;
	margin: 0 20px 20px 0;
}

.bildrechts {
	float: right;
	margin: 0 0 20px 20px;
}

.bildtop {
	float: none;
	width: 100%;
	height: auto;
	padding: 0;
	margin: 0;
	margin-bottom: 20px;
}

.zentriert {
	text-align: center;
}

.rechts {
	text-align: right !important;
}

figure {
	box-sizing: border-box;
}

figure img{
	max-width: 100%;
}

#content .farbbox figure, 
#content .boxrahmen figure{
	padding: 0 4%;
	max-width: 92%;
}

figcaption {
	font-size: 0.9em;
	font-style: italic;
	color:var(--grau2);
}

#content article p.attachment {
	margin-top: 25px;
}

article a.pdf,
article a.word {
	/*margin-left: 35px;*/
	font-size: 110%;
}

article a.pdf::before,
article a.word::before {
	content:url("../img/pdficon.png");
	left: 0px;
	width: 32px;
	height: 32px;
	margin-right: 10px;
	margin-top: -4px;
	display: block;
	float: left;
	/*background-image: url(/img/pdficon.png);*/
}

article a.word::before {
	/*background-image: url(/img/wordicon.png);*/
	content:url("../img/wordicon.png");
}

.attachmentbox {
	position: absolute;
	width: 250px;
	height: auto;
	left: 520px;
	margin-top: -0px;
}

span.attachmentname {
	display: inline-block;
	position: absolute;
	margin-top: 10px;
}

.mehrtext {
	display: none;
	position: relative;
}

.mehrlinkein {
	position: relative;
	display: block;	
	z-index: 200;
	margin: 40px auto;
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 20px solid var(--grau);
}

.mehrlinkaus {
	position: relative;
	display: block;	
	z-index: 200;
	margin: 40px auto;
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid var(--grau);
	clear: both;
}

.mehrlinkein:hover{
	border-top: 20px solid var(--blau1);
	cursor: pointer;
}

.mehrlinkaus:hover {
	border-bottom: 20px solid var(--blau1);
	cursor: pointer;
}

label {
	display: inline-block;
	width: 150px;
}

label.labellong {
	width: auto;
}

label.small {
	width: 80px;
	min-width: auto;
}

.hinweis {
	font-size: 70%;
}

.www {
	height: 18px;
	width: auto;
	margin-left: -1px;
	margin-bottom: -2px;
}

.nobr { 
	white-space:nowrap; 
}

.express_cont {
	min-width: 200px;
	max-width: 250px;
	height: auto;
	margin: 0 20px 20px 0;
	float: left;
	position: relative;
	display: block;
	flex: 1;
}


#content .express_cont h2 {
	font-size: 20px;
	font-weight: bold;
	background-color: var(--grau);
	color: #FFF;
	width: calc(100% - 40px);
	margin: 0;
	z-index: 2;
	/*position: absolute;*/
	padding: 2px 20px;
}

.express_cont a {
	z-index: -1;
}

.pdfprev {
	width: calc(100% - 2px);
	transition: all 0.5s ease-in-out;
	z-index: -1;
	border: 1px solid var(--hellblau);
}

.pdfprev:hover {
	transform: scale(1.1);
	z-index: 100;
}

.hidden {
	display: none;
}

.back {
	position: absolute;
	right: 0;
}

.locked {
	background-color: #e8a4a4;
}

input.error {
	box-shadow: 0 0 0 2px red;
}

input[type='checkbox'].error {
	box-shadow: 0 0 0 2px red;
}

input[type="submit"],
input[type="button"],
button {
	background-color: #1D7ED8;	
	color: #FFFFFF;
	padding: 10px 30px;
	min-width: 250px;	
	border: none;
	transition: all 0.3s ease-in-out;
	font-size: 110%;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
	cursor: pointer;
	background-color: #145A9A;
}

input[type='text'],
input[type='email'],
input[type='password']{
	padding: 5px;
	min-width: 200px;
}

input[type='text'].kurz {
	min-width: 0;
	width: 100px;
}

#loginemail {
	background-color: #FFF;
}

input[type='text'].text_long,
input[type='email'].text_long {
	width: 300px;
}

input[type='text'].text_medium {
	width: 200px;
}

input[type='text'].text_short {
	width: 100px;
	min-width: 0;
}

input[type='number'] {
	width: 50px;
}

input[type='file'] {
	margin-left: 135px;
}

input[type='file']::before {
	content: "Datei auswählen";
	position: absolute;
	width: 190px;
	padding: 10px 30px;
	margin-left: -135px;
	background-color: var(--blau6);
	color: var(--weiss);
	text-align: center;
	font-size: 110%;
	transition: all 0.3s ease-in-out;
}

input:invalid,
input[type='email']:invalid {
	background-color: var(--lightred);
}

input[type='text']:valid,
input[type='email']:valid {
	background-color: var(--lightgreen);
}

input[type='file']:hover::before {
	background-color: var(--blau1);
	cursor: pointer;
}

form #land {
	display: block;
}

select {
	padding: 5px;
	min-width: 200px;
	box-sizing:content-box;
}

#bayernkartendiv {
	-webkit-transform: scale(0.16);  /* Saf3.1+, Chrome */
     -moz-transform: scale(0.16);  /* FF3.5+ */
      -ms-transform: scale(0.16);  /* IE9 */
       -o-transform: scale(0.16);  /* Opera 10.5+ */
          transform: scale(0.16);
		  transform-origin: 0 0;
		  -webkit-transform-origin: 0 0;	
	width: 100%;
	height: 380px;
	margin-bottom: 40px;
}

#bayernkarte {
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#mitgliedersuche {
	position: relative;
	display: block;
	font-size: 120%;
	padding: 5px;
	width: 300px;
}

#partnersuchediv {
	width: auto;
	height: auto;
	margin-bottom: 50px;
}

#partnersuche {
	float: left;
	margin-right: 40px;
	padding: 5px;
	font-size: 15px
}

.responsive-video {
	position: relative;
	padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}

.responsive-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
}

#registernavi {
	position: relative;
	display: block;
	height: 28px;
}

.zurliste {
	background-color: var(--blau2);
	padding: 5px;
	border-radius: 3px;
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
}

.zurliste:hover {
	background-color: var(--blau6);
}

.registertab,
.speichertab {
	color: #FFF;
	font-size: 13px;
	background-color: #333333;
	text-align: center;
	float: left;
	height: 25px;
	width: 130px;
	margin-right: 1px;
	padding-top: 5px;
	cursor: pointer;
	border-radius: 8px 8px 0 0;
}

.registertab {
	border-radius: 8px 8px 0 0;
}

.registertab:hover,
.zurueck:hover {
	background-color: #999999;
	color: #FFF;
}

.registertab.active {
	background-color: var(--blau1);
	color: #FFF;
}

.speichertab,
#eintragspeichern {
	color: #FFF;
	background-color: orange;
	text-align: center;
	float: left;
	height: 25px;
	width: 130px;
	margin-right: 1px;
	padding-top: 5px;
	cursor: pointer;
	border-radius: 8px 8px 0 0;
}

.speichertab:hover,
#eintragspeichern:hover {
	background-color: orangered
}

.register {
	opacity: 0;
	z-index: 0;
	position: absolute;
	box-sizing: border-box;
	padding: 10px;
	min-height: 400px;
	width: 1050px!important;
	display: none;
	border: solid 2px var(--grau);
}

.register.active {
	opacity: 1;
	z-index: 1;
	position: relative;
	display: block;
}

.anmeldebutton{
	width: 100%;
	max-width: 300px;
	box-sizing: border-box;
	background-image: url("/img/anmeldung.png");
	background-repeat: no-repeat;
	background-position: 20px bottom;
	background-size: auto 90%;
}

.teilnehmer {
	margin-bottom: 20px;
}

#footer { 
	box-sizing: border-box;
	color: #FFF; 
	font-size: 80%;
	width: 100%;
	height: auto;
	background-color: var(--blau5);
	position: relative;
	display: block;
} 

#footer h2 {
	max-width: 100%;
}

#footer article {
	width: calc(100% - 40px);
	height: auto;
	margin-left: 20px;
	position: relative;
}

#footer a,
#footer a:visited {
	color: #FFF;
	text-decoration: none;
}

#footer h2::after{
	content: url("../img/schwung.png");
	position: relative;
	width: 50px;
	height: 10px;
	margin: 0 auto 20px 0;
	opacity: 0.2;
	display: none;
}

#btn_logout {
	width: 100%;
}

table { 
	border-collapse: collapse; 
	border-spacing: 0;
	background:#EAEAEA;
	text-align:left;
	border:none;
	width: 100%;
}

table.tbl500 {
	max-width: 500px;
}

table.tbl300 {
	max-width: 300px;
}

table.tbl500 td,
table.tbl300 td {
	padding: 3px;
}

td, th { 
	vertical-align: top;
	background: #f2f2f2;
	padding:1%;
}

.table-fill {
  background: white;
  border-collapse: collapse;
  height: 320px;
  margin: auto;
  max-width: 600px;
  padding:5px;
  width: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  animation: float 5s infinite;
}
 
th {
  color: #fff;
	background: #9e9e9e;
	/*border-bottom: 4px solid #9ea7af;
	border-right: 1px solid #39464f;
	border-left: 1px solid #39464f;*/
  font-weight: 100;
  padding:10px 20px;
  text-align:left;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  vertical-align:middle;
}

tr:first-child {
	background:#fff;
}


tr {
  border: 1px solid #ccc;
  color:#000;
  font-size:16px;
  font-weight:normal;
  text-shadow: 0 1px 1px rgba(256, 256, 256, 0.1);
}
 
tr:hover td {
  border-bottom: solid #444 2px;
  border-top: solid #444 2px;
}
 
td {
  padding: 5px;
  text-align:left;
  vertical-align:middle;
  border: 1px solid #ccc;
}

#box_login {
	position: relative;
	width: 300px;
	padding: 10px;
	height: auto;
	margin: 50px auto;
	background-color: #FFF;
}

#box_login input[type='email'],
#box_login input[type='password'] {
	width: 90%;
	padding: 10px;
}

#box_login input[type='button'] {
	box-sizing: content-box;
	width: calc(90% + 4px);
	padding: 10px;
}

#box_login input[type='text'].fehler,
#box_login input[type='password'].fehler {
	border: solid 2px #FF0000;
}

#box_login p.error {
	color: #FF0000;
}
	
#closelogin {
	position: absolute;
	right: 0;
	top: 0;
	width: 30px;
	height: 30px;
	color: #666;
	font-size: 25px;
	cursor: pointer;
}

#teilnehmerliste {
	margin-bottom: 20px;
}

#teilnehmerliste p {
	display: table-row;
	border-collapse:separate;
    border-spacing:0 0 15px 0;
}

#teilnehmerliste input[type='text'] {
	display: table-cell;
}

.rowspace {
	height: 5px;
}

.tn_del {
	display: table-cell;
	margin-left: 20px;
	width: 30px;
	height: 30px;
	background-image: url("/img/loeschen.png");
	background-size: 30px 30px;
	background-position: center top;
	background-repeat: no-repeat;
	cursor: pointer;
}

.abs_right {
	position: absolute;
	right: 20px;
}

.shadow {
	background-color: var(--hellblau);
}

#logo h2 {
	display: block;
}

#suche{
	display: block;
	position: absolute;
	top: 120px;
	right: 20px;
	width: 300px;
	margin: 0;
	z-index: 2000;
}	

.flexbox {
	width: 100%;
	max-width: 100%;
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	row-gap: 30px;
	column-gap: 30px;
	margin: 0;
}

#content {
	min-width: 1100px;
	max-width: 1100px;
}

#content .flexbox {
	min-width: 100%;
	max-width: 100%;
}

#content h1 {
	font-family: ff-cocon-pro, sans-serif;
	font-size: 250%;
}

#content article {
	clear: none;
}

#content article figure {
	min-width: 0;
}

article,
article.box100 {
	width: 100%;
	min-width: 100%;
	margin: 30px 0 0 0;
	position: relative;
	flex: 2;
}

article.box33,
article.box50,
article.box66 {
	transition: all 0.3s ease-in-out;
}

article.box33 {
	flex: 1;
	min-height: 250px;
	min-width: 300px;
	margin: 0;
}

article.box50 {
	float: left;
	min-height: 250px;
	min-width: 100%;
	flex: 1.5;
}

article.box66 {
	padding:0;
	min-width: 400px;
	flex: 2;
}

.bildbox {
	padding:50px;
}

.bildbox .bildlinks{
	left:0;
	margin-left: -85%;
}	

#box_mitgliedersuche input[type='text'] {
	width: 100%;
	box-sizing: border-box;
}

#box_mitgliedersuche button {
	margin-top: 5px;
	padding: 8px 0;
	width: 100%;
	min-width: 100% !important;
	font-size: 120%;
	color: white;
	background-color: var(--blau1);
	transition: all 0.3s ease-in-out;
}

#box_mitgliedersuche button:hover {
	background-color: var(--blau4);
}
	

@media only screen and (min-width: 1200px) {

	body {
		background-color: var(--grau2);
	}

	#topnavi, 
	#header,
	#main,
	#footer {
		box-sizing: border-box;
		max-width: 1400px;
		margin-left: calc(50% - 700px);
		margin-right: calc(50% - 700px);
	}
	
	header {
		display: block;
	}

	#suche{
		top:5px;
	}

	#topnavi {
		z-index: 2000;
	}
		
	#logo {
		position: absolute;
		height: 430px;
		padding-left: 0;
		background: none;
	}
	
	#logo img {
		position: absolute;
		bottom: 20px;
		width: 720px;
		z-index: 2000;
		background-color: rgba(255,255,255,0.7);
	}
	
	#logotext {
		float: none;
		margin-top: 20px;
	}

	#mobilswitch {
		display: none;
		padding-top: 100px;
	}

	#main {
		display: flex;
		flex-direction: row;
	}

	#navi { 
		min-width: 300px;
		max-width: 300px;
		position: relative;
		display: block;
		z-index: 3000;
		top: 0;
	} 
	
	#navi a {
		text-decoration: none;
		color: #FFF;
	}
	
	#navi a:hover {
		text-decoration: none;
	}

	
	#navi > ul {
		display: block;
		position: relative;
		margin: 0;
		padding: 0;
	}
	
	#navi > ul > li {
		margin: 0;
		display: block;
		position: relative;
		float: none;
		width: 100%;
		transition: all 0.3s ease-in-out;
		background-color: var(--blau2);
		border-bottom: solid 2px #FFF;
	}

	#navi ul > li > ul {
		display: block;
	}
	
	#navi ul ul {
		display: block;
		visibility: hidden;
		opacity: 0;
		height: 0;
		transition: all 0.3s ease-in-out;
		transition-delay: 0.3s;
	}

	#navi li.hassub:hover > ul {
		visibility: visible;
		opacity: 1;
		height: auto;
	}

	#navi ul li.hassub::after {
		content: " ";
		position: absolute;
		width: 0;
		height: 0;
		right: 5px;
		top: 13px;
		margin: 0;
		border-top: 10px solid transparent;
		border-left: 7px solid var(--blau4);
		border-bottom: 10px solid transparent;
		z-index: 100;	
	}

	#navi > ul > li.hassub::after {
		border-left-color: white;
	}
	
	#navi ul li.hassub:hover::after {
		border-left: 7px solid var(--farbe1);
	}
	
	#navi ul li.hassub::before {
		display: none;
	}
	
	#navi ul>li:last-child {
		border-bottom: none;
	}
	
	#navi ul > li:hover {
		background-color: var(--blau4);
	}

	#navi ul li a {
		width: 100%;
		display: block;
		box-sizing: border-box;
		height: auto;
		padding: 15px 0 15px 20px;
		color: #FFF;
		transition: all 0.3s ease-in-out;
		text-transform: uppercase;
		letter-spacing: 0.15em;
		font-weight: bold;
		font-size: 90%;
	}

	#navi > ul > li ul a {
		padding: 8px 0 5px 10px;
	}
	
	#navi > ul > li ul {
		position: absolute;
		width: 300px;
		margin-left: 300px;
		margin-top: -37px;
		z-index: 101;
		border-left:5px solid var(--blau4);
	}

	#navi > ul > li > ul.col {
		width: 600px;
		column-count: 2;	
	}

	#navi > ul > li > ul.col > li > ul > li {
		background-color: var(--blau6);
	}

	#navi > ul > li > ul.col > li > ul > li:hover {
		background-color: var(--grau2);
	}

	#navi > ul > li > ul.col > li > ul > li:hover a {
		color: white;
	}
	
	#navi ul li li {
		width: 300px;
		border-bottom: 1px solid #ccc;
		padding:0;
		background: var(--grau); 	
	}

	#navi > ul > li > li:hover {
		background: var(--schwarz); 	
	}

	#navi > ul > li > li a {
		color: #000;
		text-transform: none;
		letter-spacing: 0;
	}

	#navi > ul > li ul li {
		position: relative;
	}

	#navi > ul > li ul li.hassub::after {
		content: " ";
		position: absolute;
		width: 0;
		height: 0;
		right: 5px;
		margin-top: -3px;
		border-top: 10px solid transparent;
		border-left: 7px solid var(--schwarz);
		border-bottom: 10px solid transparent;
		z-index: 100;	
	}
	
	#content {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-content: flex-start;
		column-gap: 20px;
		row-gap: 20px;
	}

	.flexbox {
		position: relative;

		flex-basis: 33%;
		padding-top: 0;
	}
	
	article {
		position: relative;
		box-sizing: border-box;
		padding: 0;
		margin: 50px 0;
	}
	
	.columns2 {
		column-count: 2;
		column-width: 200px;
		column-gap: 40px;
		text-align: justify;
		hyphens: auto; 
		padding-bottom: 30px;
	}	
	
	.columns3 {
		column-count:         3;
		column-width: 200px;
		column-gap: 40px;		
		text-align: justify;
		hyphens: auto; 
		padding-bottom: 30px;
	}	
	
	article,
	article.box100 {
		min-width: 100%;
		margin: 10px 0 0 0;
		position: relative;
		flex: 3;
	}

	article.box33 {
		min-width: calc((100% - 90px) / 3);
		max-width: calc((100% - 90px) / 3);
		min-height: 100px;
		flex: 1;
	}
	
	article.box50 {
		min-width: calc((100% - 30px) / 2);
		max-width: calc((100% - 30px) / 2);
		padding:0;
		flex: 1.5;
	}

	article.box66 {
		min-width: calc((100% - 60px) / 3 * 2);
		max-width: calc((100% - 60px) / 3 * 2);
		padding:0;
		flex: 2;
	}


	
	#footer { 
		padding: 20px;
		color: #FFF; 
		font-size: 80%;
		width: 100%;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	} 
	
	#footer article {
		min-width: 250px;
		margin: 0;
		flex: 1;
	}
	
}