/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */


/*
 * Browserabstände zurücksetzen
 */
* {
	margin: 0;
	padding: 0;
}

/* WEB FONTS */
@font-face {
    font-family: 'RobotoRegular';
    src: url('Roboto-Regular-webfont.eot');
    src: url('Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('Roboto-Regular-webfont.woff') format('woff'),
         url('Roboto-Regular-webfont.ttf') format('truetype'),
         url('Roboto-Regular-webfont.svg#RobotoRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'RobotoCondensed';
    src: url('Roboto-Condensed-webfont.eot');
    src: url('Roboto-Condensed-webfont.eot?#iefix') format('embedded-opentype'),
         url('Roboto-Condensed-webfont.woff') format('woff'),
         url('Roboto-Condensed-webfont.ttf') format('truetype'),
         url('Roboto-Condensed-webfont.svg#RobotoCondensed') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'RobotoCondensedItalic';
    src: url('Roboto-CondensedItalic-webfont.eot');
    src: url('Roboto-CondensedItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('Roboto-CondensedItalic-webfont.woff') format('woff'),
         url('Roboto-CondensedItalic-webfont.ttf') format('truetype'),
         url('Roboto-CondensedItalic-webfont.svg#RobotoCondensedItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'RobotoBold';
    src: url('Roboto-Bold-webfont.eot');
    src: url('Roboto-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('Roboto-Bold-webfont.woff') format('woff'),
         url('Roboto-Bold-webfont.ttf') format('truetype'),
         url('Roboto-Bold-webfont.svg#RobotoBold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'RobotoBoldCondensed';
    src: url('Roboto-BoldCondensed-webfont.eot');
    src: url('Roboto-BoldCondensed-webfont.eot?#iefix') format('embedded-opentype'),
         url('Roboto-BoldCondensed-webfont.woff') format('woff'),
         url('Roboto-BoldCondensed-webfont.ttf') format('truetype'),
         url('Roboto-BoldCondensed-webfont.svg#RobotoBoldCondensed') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'RobotoThin';
    src: url('Roboto-Thin-webfont.eot');
    src: url('Roboto-Thin-webfont.eot?#iefix') format('embedded-opentype'),
         url('Roboto-Thin-webfont.woff') format('woff'),
         url('Roboto-Thin-webfont.ttf') format('truetype'),
         url('Roboto-Thin-webfont.svg#RobotoThin') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'RobotoThinItalic';
    src: url('Roboto-ThinItalic-webfont.eot');
    src: url('Roboto-ThinItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('Roboto-ThinItalic-webfont.woff') format('woff'),
         url('Roboto-ThinItalic-webfont.ttf') format('truetype'),
         url('Roboto-ThinItalic-webfont.svg#RobotoThinItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'RobotoLight';
    src: url('Roboto-Light-webfont.eot');
    src: url('Roboto-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('Roboto-Light-webfont.woff') format('woff'),
         url('Roboto-Light-webfont.ttf') format('truetype'),
         url('Roboto-Light-webfont.svg#RobotoLight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'RobotoLightItalic';
    src: url('Roboto-LightItalic-webfont.eot');
    src: url('Roboto-LightItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('Roboto-LightItalic-webfont.woff') format('woff'),
         url('Roboto-LightItalic-webfont.ttf') format('truetype'),
         url('Roboto-LightItalic-webfont.svg#RobotoLightItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*
 * Border-Box-Modell
 */
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
	height: 100%;
	overflow-y: scroll; /*Rechte Scrollbar immer einblenden*/
    color: #494948;
    font-size: 100%;
    font-family: 'RobotoRegular', sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #727D15;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   FARBEN
   ========================================================================== */
/*	#494948	 darkgrey
	#96A711  grasgruen
	#BABEB6  grey
	#767E6E  olivgruen
	#41463E  darkgruen*/

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles: TYPOGRAFIE
   ========================================================================== */
   
h1 {
	font-family: 'RobotoBold';
	font-weight: normal;
	font-size: 3rem;
	line-height: 1.25;
	color: #96A711;
	padding-left: 5%;
	padding-right: 5%;
	margin-bottom: 1em;
}

h2 {
	font-size: 1.15rem;
	font-weight: 300;
	color: #767E6E;
	margin-bottom: 0.5em;
}

p {
	font-size: 1rem;
	line-height: 1.5;
	color: #494948;
	padding-left: 5%;
	padding-right: 5%;	
	margin-bottom: 0.5em;
}

strong {
	font-weight: 700;
	font-style: normal;
}

.small {
	font-size: 0.75rem;
}

p.kapitel {
	font-size: 1.15rem;
	color: #96A711;
	margin-top: 1em;
}

/* VERLINKUNGEN im Text */
p a:link {
	color: #96A711;
}
p a:visited {
	color: #767E6E;
}
p a:hover, p a:focus {
	color: #494948;
}
p a:active {
	color: #96A711;
}

/* ==========================================================================
   Author's custom styles: Adressbox für Kontaktseite
   ========================================================================== */

.adressbox p:last-child {
	padding-bottom: 1em;
	border-bottom: 1px solid #494948;
	margin-bottom: 1em;
}

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

/*Seitenaufbau mit STICKY FOOTER*/
body {
	height: 100%;
	display: table;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

header {
	position: relative; /* Bezugspunkt für Menübutton */
	height: 100px;
	background-color: #fff;
}

main {
	padding-top: 2em;
	max-width: 1200px;
	margin: 0 auto;
	padding-bottom: 2em;
	-ms-flex: 1;
	flex: 1; /*STICKY FOOTER: Hauptinhalt dehnt sich aus*/
}

.adressbox {
	margin-top: 1em;
}

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

.menubutton {
	position: absolute;
	left: 2em;
	top: 1em;
	z-index: 10;
}

.menubutton a {
	display: block;
	color: #767E6E;
}

.menubutton a.hidemenu {
	display: none;
}

/* Wenn #menu in der URL steht, Navigation einblenden */
#menu:target nav > ul { display: block; }
#menu:target a.showmenu { display: none; }
#menu:target a.hidemenu { display: block; }

nav > ul {
	text-align: center;
	list-style: none;
	overflow: hidden; /* AUSKLAPPMENÜ: sorgt für die Unsichtbarkeit der Navigationselemente */
	display: none;
	border-top: 1px solid #494948;
}

nav > ul > li {
	border-bottom: 1px solid #494948;
	font-family: 'RobotoRegular', sans-serif;
	font-weight: normal;
	font-style: normal;
	font-size: 0.9rem;
}

nav > ul > li > a {
	display: inline-block;
	text-decoration: none;
	color: #fff;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	background-color: #767E6E;
	width: 100%;
}

nav > ul > li > a:hover {
	color: #000;
	background-color: #BABEB6;
}

.current {
	color: #fff;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	background-color: #96A711;
}

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

footer {
	width: 1200px;
	margin: 0 auto;
	border-top: 1px solid #494948;
	background-color: #767E6E;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	text-align: center;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 1px;
	color: #96A711;
	line-height: 1.5;
}

footer a {
	text-decoration: none;
	margin-right: 1em;
	color: #fff;
}

footer a:hover {
	color: #494948;
}

footer a:last-of-type {
	margin-right: 0;
}



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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   Media Queries for Responsive Design. (mobile first)
   ========================================================================== */

@media only screen and (min-width: 500px) {

img.eyecatcher {
	margin-left: -45px;
	margin-right: 1em;
}

blockquote {
	font-size: 1.35rem;
}

nav > ul > li {
	font-size: 1rem;
}

/* FOOTER wird Flexbox */
.footerwrapper {
	display: table;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	justify-content: space-between;
	padding-left: 2em;
	padding-right: 2em;
}

.footerbox {
	margin-right: 2em;
}

.footerbox:last-of-type {
	margin-right: 0;
}

}




@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

    img {
        max-width: 100% !important;
    }

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

    h2,
    h3 {
        page-break-after: avoid;
    }
}
