﻿html {
	padding: 0 5% 10px;
	margin: 0 0 0 0;
}

body {
	position:relative;
	background: #F0F0F0; /* FALSCH */
	font-family: Arial, Helvetica, sans-serif;
	width: 960px;
	margin:0 auto;
	font-size: 0.8em;
	color: #535353;
}

* {
	-webkit-box-sizing: border-box;		/* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;	/* Firefox, other Gecko */
	box-sizing: border-box;			/* Opera/IE 8+ */
}

/* zum Testen der Ausrichtung von Blöcken */
/* off-testing: border-color: transparent */
.test {
	border: 2px dotted;
	margin: 2px;
	border-color: red;
}

/* brick pattern 
background-image: linear-gradient(335deg, #b00 23px, transparent 23px),
linear-gradient(155deg, #d00 23px, transparent 23px),
linear-gradient(335deg, #b00 23px, transparent 23px),
linear-gradient(155deg, #d00 23px, transparent 23px);
background-size: 58px 58px;
background-position: 0px 2px, 4px 35px, 29px 31px, 34px 6px;
*/


a {
	text-decoration: none;
}

header {
	width: 100%;
	height: 240px;
	margin: 20px auto 0px;
}

#ribbon {
	max-width: 70%;

}

#ribbon h1 {
	display:inline;
	vertical-align: top;
	margin: 0 auto 0 auto;
	line-height: 1.0em; 
	color: black;
	font-size: 6.0em;
	font-weight: bold;
	border: 0;
	padding-left: 0; 
}

#ribbon h2 {
	display:block;
	text-align: center;
	margin: 0 auto 0 auto;
	line-height: 1.0em; 
	font-size: 1.0em;
	font-weight: bold;
	color: black;
	border-left: 0;
	border-bottom: 1px black solid;
	padding-left: 0; 
}

#ribbon h3 {
	display:block;
	text-align: center;
	vertical-align: middle;
	margin: 0.4em auto 0 auto;
	line-height: 1.0em; 
	font-size: 1.0em;
	color: black;
	padding-left: 0; 
}

#ribbon table {
	display:inline;
	font-size: 1.9em;
	font-weight: bold;
	vertical-align: top;
}


#ribbon tr, th, td {
	margin: 0;
	}
	
#ribbon tr {
	padding: 2px 0 0 2px;
	border-top: 0 none;
	}
	
#ribbon th {
	padding: 2px 0 0 2px;
	}
	
#ribbon td {
	padding: 2px 0 0 2px;
	}
	
.bg_blue td {
	width: .8em;
	height: .8em;
	padding: 0;
	margin: 0;
	background: blue
}

.bg_red td {
	width: .8em;
	height: .8em;
	padding: 0;
	margin: 0;
	background: red;
}

.blue{
	color: blue;
}

.red{
	color: red;
}

#logo { display: none; }

#ribbon { /* Textträger FWG 	background: whitesmoke; */
	margin: 30px auto 50px -10px;
	text-align: center;
	position: relative;
	background: whitesmoke;
	border: 1px solid rgba(160,160,160,.3);
	box-shadow: 0px 1px 3px rgba(0,0,0,.2); 
	clear: both;
	padding: 1%;
	width: 32%;
}
 
#ribbon::before{ /* Dreieck links */
	display: block;
	width: 1%;
	height: 0px;
	position: absolute;
	bottom: -10px;
	left: -1%;
	content: "";
	border-bottom: 10px solid transparent;
	border-right: 10px solid rgb(100, 100, 100);
}
 
#ribbon::after{ /* Dreieck rechts */
	display: block;
	width: 1%;
	height: 0px;
	position: absolute;
	bottom: -10px;
	right: -1%;
	content: "";
	border-bottom: 10px solid transparent;
	border-left: 10px solid rgb(100, 100, 100);
}


header a#navlink {
	display:none;/* Schaltflächen-Icon abgeschaltet, wird beim Viewport-Handling zugeschaltet */
	float: right;
	text-decoration: none;
	font-size: 1.8em;
	font-weight: bold;
	margin:20px 20px 0 0;
}

#header-top { display:none; }

ul#header-top { 
	position:absolute; 
	top:10px; 
	right:50px;
	list-style-type: none;  
}

ul#header-top  li { 
	float: right;
	list-style-type: none;
	padding: 0px 10px;
	border-left: 1px #ACACAC solid;
}

ul#header-top  li:last-child {
	border: none;
}


header p{ /* Bannerbild / Logo */
	background: teal url("../img/bild_00.jpg") top right no-repeat;  /* Bild ggf. anpassen */
	width: 100%;
	height:120px;
	margin:-70px 0 0 0; /* Y-Abstand */
}
/* 
header p img{
	object- fit: cover ;
}
 */
 
 
 
/** CONTENT **/

main {
	float:left;
	width: 100%;
	margin: 0 0 10px 0;
	background: #fff;
	-webkit-box-shadow: 0 0 80px rgba(0,0,0,0.1) inset, 0 3px 1px rgba(0,0,0,0.15);
	box-shadow: 0 0 80px rgba(0,0,0,0.1) inset, 0 3px 1px rgba(0,0,0,0.15);
}

article{
	display: inline-block;
	padding: 25px;
	width: 70%;  /*geändert am 10.12.25 von 70%*/
}

article.cand {
	display: inline-block;
	padding: 25px;
	width: 90%;  /*geändert am 10.12.25 von 70%*/
}

h1, h2 {
	font-size: 1.5em; 
	font-weight: normal; 
	line-height: 1.3em;
	padding-left: 15px; 
	color: #4E68AD; 
	border-left:5px solid #4e68AD;
}
	
h2 span {
	font-size: 0.70em; 
	color: #818181; 
	text-transform: none;
}

h3	{ 
	font-size: 1.25em; 
	font-weight: normal; 
	padding: 0px; 
	margin: 0px; 
	color: #4E68AD; 
}

p,div {
	text-align: left; 
	line-height: 1.6em; 
	padding: 2px 0px 10px 0px;
}

a { 
	color: #4E68AD; 
	outline: none; 
	text-decoration: none; 
}

a[href^="tel"] { white-space: nowrap; }

a:hover 	{ 
	color: #818181; 
	text-decoration: none; 
}
a:focus 	{ 
	outline: none; 
}




.more {
	display: block;
	line-height: 1.6em;
	font-weight: bold;
	text-align: right;  	
}


a.more	{ 
	font-weight: bold; 
}
a.more:hover { 
	color: #535353; 
}
a.more:after{
	content:" \2192 ";/* der Content ist ein Pfeil nach rechts */
	font-size:1.2em;
	font-weight:bold;
}

ul.square {
	list-style-type:square;
	color: #999999;
	float: left;
	margin: 0 0 10px 13px;
	font-weight:bold;
}

ul.square li{
	padding:10px;
}

ul.thumb {
	list-style-type: "\1F44D";
	color: #999999;
	float: left;
	margin: 0 0 10px 13px;
	font-weight:bold;
}

ul.thumb li{
	padding:10px;
}


ul.tic {
	list-style-type: "\2611";
	color: #999999;
	float: left;
	margin: 0 0 10px 13px;
	font-weight:bold;
}

ul.tic li{
	padding:10px;
}

li::marker {
  font-size: 2em;
}

/*DL, DT, DD Definitionsliste*/

dl {
	margin-bottom:10px;
}
 
dl dt {
	float:left;
	font-weight:bold;
	margin-right:3px;
	padding:0 2px 2px 2px; 
	width:12em;
}
 
dl dd {
	margin:0 2px 2px 2px;
	padding:0 2px 2px 2px;
}

/* 
figure {
	float: left;
	width: auto;
	padding:5px 2%;
}
 */
 
aside{
	padding:10px 2%;
}

section {
	float: left;
	width: 100%;
	padding:10px 2%;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;

}

section.spalte {
	width: 50%;
	padding:5px 2%;
	float: left;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}



section#intro {
	width: 100%;
	padding:10px 2%;
	float: left;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}


nav#navigation { /* Achtung: zusammenschreiben! */
	float: left;
	margin-right: 30px;
	width: 235px;
}

#navigation ul ul {
	display: none;
}

#navigation ul li:hover {
	display: block;
}


#navigation ul {
	float: left;
	list-style-type: none;
	width: 100%;
	margin-bottom: 30px;
}

#navigation ul li { position:relative; }
#navigation ul li.first-child { 
	border-top: 1px #DBDBDB solid;
	margin-top: 33px;
 }

#navigation ul li:hover a, #navigation ul li:active a {
	float: left; 
	width: 200px; 
	color: #F5F5F5; 
	background: #535353;
}
	
#navigation ul li a {
	
    border-bottom: 1px solid #DBDBDB;
    color: #535353;
    float: left;
    font-size: 1.1em;
    line-height: 1.5em;
    padding: 1em 35px;
    text-decoration: none;
    width: 200px;
}

#navigation ul li a:before {
	content:" ";
	display:inline-block;
	width:10px;
	height:15px;
	border-left:5px solid #CCC;
}	
		
#navigation ul ul.first-child { /* Untermenü für die Objekte - Achtung: fix definiert!!! */
	position: absolute; 
	top:100px;left:162px;
	z-index:99;
}

#navigation ul ul.second-child { /* Untermenü für die Objekte - Achtung: fix definiert!!! */
	position: absolute; 
	top:200px;left:300px;
	z-index:99;
}

#navigation ul li:hover ul {display:block;}

#navigation ul ul li {
	display:block;
	float: none;
	position: relative; 
}

#navigation ul ul li a {
	background: #97b314;
	color: #fff;
}
	
#navigation ul ul li a:hover {
	background:  #d0ff00;
	background:  #7FFFD4;
	color:gray;
}


footer.screen p { float: right; }

footer.print p { text-align: center; }




.hidden { display: none; }

.image_sh {
	display: inline-block;
	float: left;
	padding: 0;
	margin: 5px 15px 15px 0px;  
	background: #fff; 
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: 5px 5px 10px 2px GRAY;  /* horizontal vertikal blur spread #Farbe*/	
	max-width: 100%;
}
	
.image_sh_obj {
	display: block;
	padding: 0;
	margin: 5px 15px 15px 0px;  
	background: #fff; 
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: 5px 5px 10px 2px GRAY;  /* horizontal vertikal blur spread #Farbe*/	
}

.img_adj {
	max-width: 120%;
	padding: 0;
	margin: 5px 15px 15px 0px;  
	background: #fff; 
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: 5px 5px 10px 2px GRAY;  /* horizontal vertikal blur spread #Farbe*/	

}

.image_cand {
	display: inline-block;
	float: right;
	padding: 0;
	margin: 5px 15px 15px 0px;  
	background: #fff; 
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: 5px 5px 10px 2px GRAY;  /* horizontal vertikal blur spread #Farbe*/	
	max-width: 50%;
}

.horizontal2{
	display: inline-block;
	width: 36%;
}

#menu_closing_image {
	width: auto;
	max-width: 200px;
	display:inline-block;
	margin: 50px 35px 35px 35px;  
	background: #fff; 
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: 5px 5px 10px 2px GRAY;  /* horizontal vertikal blur spread #Farbe*/	
}

#navigation_bottom {
	display: none;
}

#navigation_bottom p {
	display: inline;
}

.navigation_right {
	position: absolute;
	right: 1em;
	top: 1em;
}

footer.screen {
	display: block;
}


footer.print {
	display: none;
}





/* Täuschattribute für Kontaktadresse */

#mail {
	white-space: nowrap;
}

.displaycontact_alpha {
	display: none;
}

.displaycontact_omega {
	display: inline;
}




/* ...................... Viewport Management ......................................... */



/* Layout-Wechsel von 3 auf 2 Spalten  */

@media only screen and (max-width: 1060px) {

body{ width:100% }

header { margin-top:0px; }

#ribbon { width:50%; }

#ribbon h1 { 
	font-size:6.0em;
	line-height: 1.0em; 
	}

#ribbon h2 { font-size:1.0em; }

#ribbon table {
	display:inline;
	font-size: 2.0em;
	font-weight: bold;
}


#ribbon tr, th, td {
		margin: 0;
	}
	
#ribbon tr {
	padding: 2px 0 0 2px;
	border-top: 0 none;
	}
	
#ribbon th {
	padding: 2px 0 0 2px;
	}
	
#ribbon td {
	padding: 2px 0 0 2px;
	}

header p { /* Bannerbild / Logo */
	background: teal url("../img/bild_00.jpg") top right no-repeat;  /* Bild ggf. anpassen */
	width: 47.4%;
	height:120px;
	margin: -70px 0 0 0;  /* Y-Abstand */
}

article { width:100% }
article.cand { width:100% }

#navigation { display: none; }	/* die linke Navigationsspalte wird ausgeschaltet */

#menu_closing_image { display:none; }

header a#navlink { display:block; }    /* das Navigations-Icon wird eingeschaltet */

#navigation_bottom { display: block; } /* die Navigationsfussleiste wird eingeschaltet */

#navigation_bottom { 
	/* das Blockelement wird zentriert, indem die seitlichen Außenabstände (die Eigenschaften margin-left und margin-right) den Wert "auto" erhalten */
	text-align: center;
	margin: 1em auto 1em auto;
}


#navigation_bottom p:hover a, #navigation_bottom ul li:active a {

	color: #F5F5F5; 
	background: #535353;
}

#navigation_bottom p a {

	line-height: 3em;
	margin: 5px 0px;
	padding: 0.5em 0.5em 0.5em 0.5em;
	border-bottom: 1px solid #DBDBDB;
	border-top: 1px solid #DBDBDB;
	color: #535353;
	font-size: 1em;
	text-decoration: none;
	display: inline-block;
}

#navigation_bottom p a:before {
	display:inline-block;
	content:" ";
	width:0.5em;
	height:1em;
	border-left:0.5em solid #CCC;
}


}



/* Layout-Wechsel von 2 auf 1 Spalte  */

@media only screen and (max-width: 720px) {

header { margin-top:0px; }

#ribbon {
	width:65%;
 }

#ribbon h1 { 
	font-size:3.0em;
	line-height: 1.0em;  
}

#ribbon h2 { font-size:1.0em; }

#ribbon table {
	display:inline;
	font-size: 1.0em;
	font-weight: bold;
}


#ribbon tr, th, td {
		margin: 0;
	}
	
#ribbon tr {
	padding: 1px 0 0 1px;
	border-top: 0 none;
	}
	
#ribbon th {
	padding: 1px 0 0 1px;
	}
	
#ribbon td {
	padding: 1px 0 0 1px;
	}

header p { /* Bannerbild / Logo */
	background: teal url("../img/bild_033.jpg") top right no-repeat;  /* Bild ggf. anpassen */
	width: 60.7%;
	height: 120px;
	margin: -70px 0 0 0;  /* Y-Abstand */
}

ul#header-top { position:relative; }

article{ padding: 10px; }
article.cand{ padding: 10px; }

article section.spalte { width:100%; }


/*DL, DT, DD Definitionsliste*/

dl {
	margin-bottom:10px;
}
 
dl dt {
	font-weight:bold;
	margin: 5px 3px 0px 0px;
	padding:5px 2px 2px 2px; 
	float: none;
	width:12em;
}


 
dl dd {
	margin: 1px 1px 1px 20px;
	padding: 0px;
}




nav ul li { width:90%; }

#navigation{
	float:left;
	clear:left; 
	width:90%; 
	padding:0; 
	margin:0;
}

#navigation ul {
	position:relative;
	padding:0;
	margin:0;
	top:0;
	left:0%;
	width:100%;
	clear:left;
}
#navigation li {
	display: block; 
	padding: 0;
	margin: 0;
}

#menu_closing_image { display:none; }
}

@media only screen and (max-width: 500px) {
html {
	padding: 0 10px 10px;
	margin: 0 0 0 0;
}

#ribbon {
	width:67%;
 }

.image_sh {
	display: block;
	float: none;
	padding: 0;
	margin: 15px auto 15px auto;   
}

#navigation_bottom {
	margin: .5em auto .5em auto;
	font-size: 1em;
}
}


/* ........................................Druckausgabe .................................................. */

@media print {


/* Schritt 1: Layout-Wechsel von 3 auf 2 Spalten  */

body{ width:100%; }

header { 
	margin-top:0px;
	height: auto; 
}

header h1 { font-size:24px; }


header a#navlink {
	display:none;
}


#logo { display: block; }

#ribbon { display: none; }

header p { display: none; } /* Bannerbild / Logo */

#link_to_en {	display: none; }
	
	

ul#header-top { display:none; }

.ribbon::before { display: none; }
.ribbon::after { display: none; }
.ribbon {
	position: ;
	width: auto; 
	padding: 0;
	margin: 0 0 10px 0;
	background: none;
	border: 0;  /* anpassen */
	box-shadow: 0px 0px 0px rgba(0,0,0,0);
	text-align: left;
}

main {
	float:none;
	width: 100%;
	margin: 0 0 1em 0;
	background: none;
	-webkit-box-shadow: 0 0 0 rgba(0,0,0,0) inset, 0 0px 0px rgba(0,0,0,0);
	box-shadow: 0 0 0 rgba(0,0,0,0) inset, 0 0px 0px rgba(0,0,0,0);
}

article { width:100%; }

#menu_closing_image { display:none; }

footer.screen {	display: none; }

footer.print { display: block;}



/* Schritt 2: Navigation ausblenden  */

#navigation { display: none; }

#navigation_bottom  { display: none; }

header a#navlink { display: none; }


}
