/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

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

html,
button,
input,
select,
textarea {
    color: #222;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: url(kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNXaxMICA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: url(kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNZaxM.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


html {
    font-size: 1.2em;
    line-height: 1.5;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

a:link, a:visited, a:active {
	color:#555;
}
a:hover {
	color:#aaa;
	text-decoration: none;
}

#total {
	max-width:80em;
	margin:auto;
	/*background-color:white;*/
	/*padding:3em;*/
	box-sizing: border-box;
}

body {
	/*background-color:#eee;*/
	padding-top:0;
	/*background-image:url(/img/Hintergrund.svg);
	background-repeat: no-repeat;
	background-position: top center;*/
	/*background-size: 100% 2%;*/
}

header {
	/*padding-top:5%;*/
}

header h1 {
	display:inline-block;
	color:#999;
	padding-left:3%;
	box-sizing: border-box;
	font-size:2.5vw;
}
@media only screen and (min-width: 1300px) {
	header h1 {
		font-size:2em;
	}
}

header div {
	width:50%;
	vertical-align:top;
	padding-left:3%;
	padding-right:3%;
	box-sizing: border-box;
	float:right;
}

@media only screen and (max-width: 700px) {
	header h1 {
		width:100%;
	}
	
	header div {
		padding-top:1em;
		width:100%;
	}
	
	header h1 {
		font-size:1.5em;
	}
}


nav {
	background-color:#f8f8f8;
	padding:.1em;
	padding-left:3em;
	padding-right:3em;
}

nav ul {
	margin-bottom:0;
	margin-top:0;
}

nav ul li {
	padding:.4em;
	display:inline-block;
	margin:0;
	margin-right:.8em;
}

nav .current {
	background-color:#fab10b;
}

article {
	width:50%;
	display:inline-block;
	vertical-align:top;
	padding:3%;
	padding-bottom:3em;
	padding-top:3em;
	box-sizing: border-box;
}

@media only screen and (max-width: 700px) {
	article {
		width:100%;
	}

	article + article {
		padding-top:0em;
	}
}

h1, h2 {
	font-family: 'Libre Baskerville', serif;
}

article h2 {
	/*margin-top:0;*/
    font-size: 1.5em;
    margin-bottom: 0.3em;
	
	margin-top:2em;
}

footer h2 {
	margin-top:0;
	padding-top:1em;
}

article h2:first-child {
	margin-top:0;
}

div.row2 {
	background-color:#f8f8f8;
}

div.row3 article {
	background-color:#eee;
	width:100%;
	border-bottom:1em solid #0e457b;
}

div.row3 img {
	width:30%;
	display:inline-block;
	margin-right:5%;
}

div.row3 figcaption {
	background-color:transparent;
}

div.row3 figure img {
	margin-top:0;
}

div.row3 #image3 {
	margin-right:0%;
}
@media only screen and (max-width: 700px) {
	div.row3 img {
		width:100%;
		margin-right:0%;
	}
	
	div.row3 #image2, div.row3 #image3 {
		display:none;
	}
}

div.fullWidth {
	padding:3%;
	padding-bottom:1%;
	display:flex;
}

@media only screen and (max-width: 700px) {
	div.fullWidth {
		flex-direction: column;
	}
}

figure img {
	width:100%;
	margin-top:1em;
}

figcaption {
	font-style:italic;
	background-color:#f8f8f8;
	padding:.3em;
}

footer {
	background-color:#333;
	color:#eee;
	padding:3%;
	padding-bottom:3em;
	padding-top:0em;
}

footer main {
	display:flex;
	
}

/*footer div {
	vertical-align:top;
	width:33.33%;
	display:inline-block;
	margin-bottom:6%;
	padding-right:3%;
	box-sizing: border-box;
}*/
@media only screen and (max-width: 1000px) {
	footer div {
		width:50%;
	}
}
@media only screen and (max-width: 700px) {
	footer div {
		width:100%;
	}
}

footer table td {
	vertical-align:top;
	padding-right:6%;
	width:50%;
}

footer a:link, footer a:visited, footer a:active {
	color:#aaa;
}
footer a:hover {
	color:#ccc;
	text-decoration: none;
}

ul {
	margin-top:0;
	padding-left:0;
}

ul.check {
	list-style: none;
}

ul li {
	margin-bottom:.5em;
}

ul.check li:before {
  content: '✓ ';
}

form {
	width:100%;
	margin-top:1em;
}

form table {
	width:100%;
}

form table td {
	padding-bottom:1vw;
}

input, textarea, select {
	width:100%;
	box-sizing: border-box;
	border:0;
	border-bottom:1px solid grey;
	padding:.3em;
	background-color:#dfdfdf;
}

input[type=submit] {
	background-color:#fab10b;
	border:0;
	padding:.3em;
}

input[readonly]{
	background-color:transparent;
	color:grey;
}
input[type=submit][readonly]{
	display:none;
}

form label {
	width:100%;
	display:block;
	/*text-align:right;
	padding-top:0.5vw;*/
}

.iconic {
	color: #555;
}

.inlineLogo {
	float:right;
	width:50%;
	margin-top:1em;
	display:none;
}
@media only screen and (max-width: 700px) {
	.inlineLogo {
		display:block;
	}
}

@media only print {
	.noPrint, form {
		display:none;
	}
}

.ie9 img[src*=".svg"] {
  width: 100%; 
}
/* 2 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  img[src*=".svg"] {
    width: 100%; 
  }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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