.clear {
	clear: both;
}
/* sonst werden kommentare abgeschnitten */
main {
	overflow:visible;
}
main img {
	max-width: 100%;
}
#headerslider, #kopfbild {
    min-height: 590px;
}
/*** SCHRIFT ***/
body {
	font-size: 18px;
    line-height: 1.75rem;
}

#logo span,
button, input[type=submit],
nav ul li a,
h1 { 
	font-size: 1.25rem;
	letter-spacing: 0.05rem;
}
pre,
#logo span,
button, input[type=submit],
nav ul li a,
h1,
.kommentar_abgeben input,
.kommentar_abgeben textarea {
	font-family:'Open Sans Condensed', Helvetica, Arial, sans-serif;
}

.button,
button,
input[type=submit], 
.header-center {
	font-weight:bold;
	font-size: 1.25rem;
    text-align: center;
}
h1,h2,h3 {
	font-weight:bold;
    line-height: 1.05em;
    padding: 0.5em 0;
}
h1 {
	font-size: 2rem;
	padding-top: 0; 
	margin-top:0;
}
h2 {
    font-size: 1.75rem;
}
h3 {
    font-size: 1.5rem;
}
#copyright {
    font-size: 1em;
    text-align: center;
}
#logo span {
	font-weight:bold;
}
.artikel > h2 {
	text-transform:uppercase;
}
main .kommentare .icon {
    font-size: 2rem;
    line-height: 1.5em;
}
/*** SPRACHBUTTON **/
/** Formatierung überall **/
#sprachwechsel_kontainer {
	position: absolute;
    left: 0;
    right: 0;
    margin-top: -0.5rem;
    /*z-index: 101;*/
	padding-right: 0.75rem;
}
.sprachwechsel.mobil {
    display: none;
}
.sprachwechsel {
    width: 3rem;
    height: 1.5rem;
    display: inline-block;
    text-indent: -3000px;
	font-size: 0px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    zoom: 75%;
	transition:all 2s;
	-webkit-transition:all 0.2s;
	transform: scale(1);
}
.sprachwechsel:hover {
	transform: scale(1.5);
}
.sprachwechsel.DE {
	background-image: url(../img/sprachen/DE.png);
}
.sprachwechsel.EN {
	background-image: url(../img/sprachen/EN.png);
}
/*** FARBE ***/
body, header {
	background:transparent;
}
body {
	background-image: url("../img/bg_pattern.png");
}

.kommentar_abgeben button ,
input[type=checkbox]:checked,
a {
	color: #df790d;
}
main ul {
	list-style-image: url("../img/bullet-orange.png"); 
	margin: 0 0 0 25px;
	line-height: 1.25em;
    padding-left: 0;
}
main li {   
	padding-left: 0.5em;
    margin-bottom: 0.25em;
}

#logo span {
	color: #000;
}

#navigation {
	background: transparent;
	z-index:101;
}
#navigation nav {
	background-color: transparent;
}
.kommentar_abgeben a,
.kommentar_abgeben,
a.button,
button,
input[type=submit],
footer a,
#copyright,
nav ul li a,
nav > ul > li.aktiv > a, 
nav ul li a:hover {
	color: #fff;
}
nav ul ul li a,
nav ul li:hover a {
	background-color: #e9a155;
}
nav ul ul li a:hover {
	background-color: #f3cda5;
}
.kommentar_abgeben,
a.button,
button,
input[type=submit],
footer,
nav ul li a {
	background-color: #df790d;
}

.kommentar_abgeben button,
input[type=checkbox]:checked,
div#hauptinhalt,
nav a:before {
    background-color: #fff;
}
/**** ABSTAND *******/
#navigation nav,
.content-wrapper {
	max-width: 1150px;
	margin-left: auto;
	margin-right: auto;
	box-sizing:border-box;
}
main .artikel .kommentare .kommentar_inhalte,
header,
#navigation nav {
	padding:0;
}
#kopfbild {
	border-top: 9px solid white;
    max-height: 590px;
}

a.button,
button,
input[type=submit]{
	padding: 0.5em 2em;
}
button.zeigeArchivMonat {
    margin: 0.5em 1em 0.5em 0;
}
iframe[src*="calendar.google.com"],
main .artikel .danke,
main .artikel .danke_fehler,
main .artikel .fehler,
main .artikel .kommentare .kommentar_abgeben,
main .artikel .kommentare .alle_kommentare {
	padding: 0.5rem 1rem;
}
/* keine Ahnung warum, aber sonst geht das layout kaputt!!!
#oben {
    height: 138px;
    padding-top: 2rem;
    box-sizing: initial; 
}
*/
nav a:before {
    margin: 0 0.4rem 0 0;
}
div#hauptinhalt {
    padding: 2rem;
	min-height:50vh;
}
main {
    margin-top: -1rem;
}
nav > ul > li:first-child a {
    padding-left: 1em;
}
nav ul li:last-child a {
    padding-right: 1em;
}
footer {
	margin-bottom:2rem;
	overflow:hidden;
}
#copyright p {
	margin:0;
}
#oben {
	padding-top: 2rem;
}
#logo span {
    padding-bottom: 48px;
}

.artikel > h2,
.artikel > .text :first-child {
	margin-top:0;
	padding-top:0;
}
main .kommentare .icon {
    padding-bottom: 0.75em;
    padding-right: 0.75em;
    box-sizing: border-box;
    width: 3.75em;
}
/*** POSITIONIERUNG ***/
div#slider-overlay {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}
#best-practice-button {
    position: absolute;
    bottom: 4rem;
    left: 0;
    z-index: 16;
}
#transparenz-pattern {
    position: absolute;
    bottom: 3em;
    right: 0;
    z-index: 15;
}
#oben {
	position:relative;
	z-index:6;
}
#kopfbild {
    top: -2rem;
    z-index: 5;
    position: relative;
}
#navigation {
    top: -2rem;
}

.header-right {
	position: absolute;
    bottom: 48px;
    right: 0;
}
main .artikel .kommentare .kommentar_inhalte {
	top: 3rem;
}
/*** BILDER ***/

.header-left {
	width:75%;
}
.header-right {
    width: 25%;
}

#logo {
    position: static;
    min-width: auto;
    max-width: none;
    width: auto;
    text-align: left;
}
#logo img {
	width: 250px;
    vertical-align: middle;
}
#logo span {
    vertical-align: bottom;
    display: inline-block;
}

#transparenz-pattern,
#best-practice-button {
	width: 200px;
    height: 200px;
    background: transparent url('../img/best_practice_anmeldung.png') no-repeat top left;
    background-size: contain;
    text-indent: -9999999px;
    color: #fff;
}
#transparenz-pattern {
	background-image: url('../img/transparentes-pattern.png');
	background-position: bottom right;
	width: 25%;
    height: 90%;
}
#hauptinhalt {
	background-image: url('../img/bg_transparent_orange.png');
	background-position: bottom right;
	background-repeat: no-repeat;
	background-position: right 2rem bottom 2rem;
}
nav > ul > li.aktiv {
	background: transparent url('../img/schnipsel.png') no-repeat bottom right;
}
nav > ul > li > ul > li.aktiv a {
	color: #000;
}

main .kommentare .icon {
	background: transparent url(../img/kommentar_anzahl.png) no-repeat top left;
    box-shadow: none;
    background-size: contain;
}
/*** sonstiges ***/
.gallery.ganz.rechts, .bild.ganz.rechts,
.gallery.ganz.links, .bild.ganz.links {
    width: 30%;
}
.gallery.ganz.rechts, .bild.ganz.rechts {
	padding-left:0;
}
.gallery.ganz.links, .bild.ganz.links {
	padding-right:0;
}

.gallery.ganz.rechts ~ .text, .gallery.ganz.links ~ .text, .bild.ganz.rechts ~ .text, .bild.ganz.links ~ .text {
    width: 70%;
}
.gallery.ganz.rechts ~ .text,.bild.ganz.rechts ~ .text {
    padding-right: 2em;
    box-sizing: border-box;
}
.gallery.ganz.links ~ .text,.bild.ganz.links ~ .text {
    padding-left: 2em;
    box-sizing: border-box;
}
main .artikel .kommentare .kommentar_inhalte {
	border: none;
}
.kommentar_abgeben input,
.kommentar_abgeben textarea {
    border: none;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
nav ul li a {	
	transition: background-color 0.3s ease-in-out;
}
pre,
iframe[src*="calendar.google.com"],
.kommentar_abgeben,
.artikel .kommentare .kommentar_inhalte,
footer,
nav > ul > li:first-child a,
nav > ul > li:last-child a,
nav > ul  > li > ul > li:last-child a,
div#hauptinhalt {
    border-radius: 15px;
}
nav ul li:first-child a {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
nav ul li:last-child a {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
nav > ul  > li > ul > li:last-child a {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
div#hauptinhalt {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.kommentar_abgeben,
footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

nav > ul > li > a:before {
    content: ' ';
    width: 1.05em;
    height: 0.65em;
    display: inline-block;
    border-radius: 0.2em;
}
nav > ul > li ul {
	width: 100%;
}
nav ul ul a{
	text-align:center;
}
nav ul li > ul li a {
	font-weight:normal;
}

a#button-forum {
    display: block;
}
a.button,
button,
input[type=submit]{
    border: 1px solid #fff;
    border-radius: 15px;
	display: inline-block;
}
pre,
iframe[src*="calendar.google.com"],
main .kommentare .kommentar_inhalte,
a.button,
button,
input[type=submit],
.artikel .kommentare .kommentar_inhalte {
    box-shadow: 3px 3px 5px rgba(0,0,0,0.4);
}
.button:hover,
button:hover,
input[type=submit]:hover {
    box-shadow: 1px 1px 5px rgba(0,0,0,0.4);
}
#volltextsuche input {
    border-radius: 10px;
    margin-top: 10px;
}

#volltextsuche input:focus, #volltextsuche input:active {
	outline: none;
	box-shadow: 0 0 2px 1px #DF790D;
}

#volltextsuche input::placeholder {
    color:#d0d1d2;
	font-style: italic;
	padding-left: 5px;
}

::-moz-selection { /* Code for Firefox */
    color: white;
    background: #DF790D;
}

::selection {
    color: white; 
    background: #DF790D;
}

.kommentar_abgeben a,
footer a {
	text-decoration:underline;
}
iframe[src*="calendar.google.com"] {
	width: 98%;
    margin: 1rem auto;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
	background: rgba(232,232,232,0.8);
}


pre {
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.25em;
	background: rgba(232,232,232,0.8);
}