/* Written by Martin Althaus 2017
 * ------------------------------
 *
 * Hinweise
 *
 * - einige Definitionen basieren auf Skeleton 2.0.4: www.getskeleton.com
 *
 * - after und before sind Pseudoklassen/-inhalte, die seit CSS3 mit zwei vorangestellten Doppelpunkten gekennzeichnet (::after, ::before) werden,
 *   um sie von Pseudoselektoren/-elemente zu unterscheiden; IE8 kennt in CSS2 aber nur Einfachdoppelpunkte (:after, :before)
 *   zum Erhalte der zukünftigen Konformität, aber auch zur Unterstützung aussterbender Browser habe ich beides notiert
 */

/* Fonts */

@font-face { font-family: "dejavu_sansbook"; src: url("../_fonts/dejavusans-webfont.eot"); src: local("?"), url("../_fonts/dejavusans-webfont.eot?#") format("embedded-opentype"), url("../_fonts/dejavusans-webfont.woff") format("woff"), url("../_fonts/dejavusans-webfont.ttf") format("truetype"), url("../_fonts/dejavusans-webfont.svg#dejavu_sansbook") format("svg"); }
@font-face { font-family: "DejaVuSansCondensed"; src: url("../_fonts/DejaVuSansCondensed-webfont.eot"); src: local("?"), url("../_fonts/DejaVuSansCondensed-webfont.eot#") format("embedded-opentype"), url("../_fonts/DejaVuSansCondensed-webfont.woff") format("woff"), url("../_fonts/DejaVuSansCondensed-webfont.ttf") format("truetype"), url("../_fonts/DejaVuSansCondensed-webfont.svg#webfontVUkCP6S4") format("svg"); }
@font-face { font-family: "FontAwesome"; src: url("../_fonts/fontawesome-webfont.eot?v=4.3.0"); src: local("?"), url("../_fonts/fontawesome-webfont.eot?#") format("embedded-opentype"), url("../_fonts/fontawesome-webfont.woff2?v=4.3.0") format("woff2"), url("../_fonts/fontawesome-webfont.woff?v=4.3.0") format("woff"), url("../_fonts/fontawesome-webfont.ttf?v=4.3.0") format("truetype"), url("../_fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular") format("svg"); }

/* /Fonts */



/* Base */
	/* html is set to 62.5% so that all the REM measurements */
	/* are based on 10px sizing. So basically 1.5rem = 15px. */
	
html {
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	font-size: 62.5%;
}

body {
	font-family: dejavu_sansbook, sans-serif;
	margin: 0;
	color: #000;
	font-size: 1.6em; /* currently ems cause chrome bug misinterpreting rems on body element */
	line-height: 1.6;
	font-weight: 400;
	background-image: url("../_img/bg_page.gif");
}

/* /Base */



/* Spacing */

button {
	margin-bottom: 1rem;
}

input,
textarea,
select,
fieldset {
	margin-bottom: 1.5rem;
}

pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
	margin-bottom: 2.5rem;
}

/* /Spacing */



/* Headlines */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
	font-weight: normal;
}

h1 {
	position: relative;
	margin: 20px 0 35px 0;
	padding: 5px 0;
	font-size: 3.6rem;
	color: #930;
	border-bottom: 1px solid #333;
}

h1:before,
h1:after,
h1::before,
h1::after {
	position: absolute;
	top: 100%;
	left: 50px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	border-top-color: #fff;
}

h1:before,
h1::before {
	border-top-color: #333;
	border-width: 15px;
	margin-left: -15px;
}

h1:after,
h1::after {
	border-width: 14px;
	margin-left: -14px;
}

h2 {
	font-size: 3.0rem;
	margin: 20px 0;
	color: #c63;
}

h3 {
	font-size: 2.0rem;
	margin: -20px 0 20px 0;
	color: #666;
}

/* /Headlines */



/* Text elements */

b,
strong {
	font-weight: bold;
}

i {
	font-family: FontAwesome;
	font-style: normal;
	line-height: normal;
}

/* /Text elements */



/* Lists */

ul,
li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* /Lists */



/* Links */

a {
	background: transparent;
	text-decoration: none;
	color: #33f;
	transition: color 0.5s;
}

a:focus,
a:active,
a:hover {
	outline: 0;
	color: #09f;
}

a.clean,
a.clean:hover,
a.clean:active {
	color: #000;
	text-decoration: none;
}

/* /Links */



/* Forms */

button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	display: inline-block;
	height: 40px;
	padding: 0 30px;
	color: #555;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	line-height: 40px;
	letter-spacing: .1rem;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	background-color: #f5f5f5;
	border-radius: 4px;
	border: 1px solid #bbb;
	transition: all 0.5s;
	cursor: pointer;
	box-sizing: border-box;
	transition: border 0.5s, color 0.5s;
}

button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
	color: #333;
	border-color: #000;
	outline: 0;
}

button[disabled] {
	pointer-events: none;
	opacity: .3;
}

textarea {
	resize: none;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
	height: 40px;
	padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
	background-color: #fff;
	border: 1px solid #d1d1d1;
	border-radius: 4px;
	box-shadow: none;
	box-sizing: border-box;
	transition: border 0.5s;
}

/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

textarea {
	min-height: 90px;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
	border: solid 1px #000;
	outline: 0;
}

input[type="checkbox"],
input[type="radio"] {
	display: inline;
}

fieldset {
	padding: 0;
	border-width: 0;
}

label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
}

label {
	font-weight: normal;
	vertical-align: middle;
	padding-top: 5px;
	cursor: pointer;
}

@media all and (max-width: 400px) {
	label {
		display: block;
	}
}

@media all and (min-width: 401px) {
	label {
		display: inline-block;
	}
}

/* /Forms */



/* Frames */

iframe {
	border: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	pointer-events: none;
}

/* /Frames */



/* Header */

header {
	overflow: hidden;
	background-image: url("../_img/bg_page.gif");
	border-bottom: 1px dotted #666;
	box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.16);
	width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

#logo {
	float: left;
}

header, header img, header ul, header li {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

header ul {
	font-family: comfortaregular, sans-serif;
	text-transform: uppercase;
	float: right;
	font-size: 20px;
	line-height: 20px;
	/* text-align: center; */
}

header li {
	padding: 50px 20px;
	border-right: 1px solid #ccc;
	border-left: 1px solid #fff;
	float: left;
}

header li.first {
		border-left: 0;
}

header li.last {
		border-right: 0;
}

@media all and (max-width: 400px) {
	header li {
		display: none;
	}
	#mm {
		display: inline;
	}
}

@media all and (min-width: 401px) {
	header li {
		display: inline-block;
	}
	#mm {
		display: none;
	}
}

header a {
	color: #000;
}

header a:active, header a:hover {
	color: #888;
}

header.large {
	opacity: 1;
}

header.large #logo {
	width: 180px;
	height: 100px;
	margin: 10px 20px;
}

header.small {
	opacity: 0.95;
}

header.small #logo {
	width: 90px;
	height: 50px;
	margin: 10px;
}

header.small li {
	padding: 25px 10px;
	border-right: 1px solid #ccc;
	border-left: 1px solid #fff;
	float: left;
}

header.small li.first {
		border-left: 0;
}

header.small li.last {
		border-right: 0;
}

/* / Header */



/* Footer */

footer {
	overflow: hidden;
	background-color: transparent;
	border-top: 1px dotted #666;
	text-align: center;
	box-shadow: 0 -2px 3px 0 rgba(0, 0, 0, 0.16);
	padding-top: 10px;
}

footer li {
	display: inline;
}

footer a:hover {
	text-decoration: underline;
}

footer li:after,
footer li::after {
    color: #999;
    content: "|";
    margin: 0 5px;
}

footer li:last-child:after,
footer li:last-child::after {
    content: "";
    margin: 0;
}

footer {
	padding-bottom: 60px;
}

footer.cookietext-off {
	/* Sicherheitsabstand des Footers nach unten entfernen, wenn Cookie-Hinweistext ausgeblendet ist/wird. */
	padding-bottom: 10px;
}

/* / Footer */



/* Cookie-Hinweis */

@keyframes hoch {
	0% {
		transform: translateY(100px);
	}
	100% {
		transform: translateY(0px);
	}
}

#cookies {
    position: fixed;
    bottom: 0;
    background-color: #333;
    border-top: 1px solid #000;
    box-shadow: 0 -2px 5px #bbb;
    width: 100%;
    z-index: 999;
	display: block;
	color: #fff;
    animation-duration: 1.0s;
    animation-name: hoch;
}

#cookies label {
	color: #0f0;
	float: right;
	margin: 5px 10px 0 10px;
	font-size: 20px;
}

#cookies label:hover {
	color: #9f9;
}

#cookies div {
	/* Inhalt wird als Block neben floatendem Element dargestellt, ohne es zu unterfließen */
	overflow: auto;
	padding: 10px;
}

#cookies a {
	color: #6cf;
}

#cookies a:hover {
	color: #09c;
}

#cookies-off {
	display: none;
}

#cookies-off:checked ~ div#cookies {
	display: none;
}

/* / Cookie-Hinweis */



/* Content */

#content {
	padding: 140px 20px 20px 20px;
	background-color: #fff;
}

#content ul, #content p {
    margin: 20px 0;
    padding: 0;
}

#content li:before,
#content li::before {
    color: #666;
    content: "";
    font-family: FontAwesome;
    padding: 0 10px 0 6px;
}

/* / Content */



/* Construction */

.clearfix:before,
.clearfix:after,
.clearfix::before,
.clearfix::after {
	content: " ";		/* Altbrowser ignorieren leeren Inhalt */
	display: block;
	visibility: hidden;
	display: block;
	height: 0;
	clear: both;
}

.clearfix {
  *zoom: 1; /* Für IE6+7 */
}

/* /Construction */