img { vertical-align: bottom; }

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

textarea {
    resize: vertical;
}

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

div, section { position: relative; }

body {
    font: 16px/26px Lucida sans, Helvetica, Helvetica Neue, Arial; color: #222;
    font-size: 10px;
    line-height: 1.4;
	text-align: center;
}

a { text-decoration: none; color: #694897; }
a.pdf { padding-left: 30px; background: url('/images/icon-pdf-24.png') 0 center no-repeat; }

#master { width: 1180px; display: flex; display:-webkit-flex; display:-webkit-box; display:-moz-flex; align-items: stretch; flex-direction: row; margin: auto; min-height: 100vh; background: url('../imges/coloured-shadow-24.png') 120px bottom no-repeat; }
#left-container { width: 340px; border-left: 1px solid #000; border-right: 1px solid #000; text-align: left; margin-right: 60px; border-sizing: border-box; }
#main-container { width: 740px; text-align: left; font-size: 1.6em; box-sizing: border-box; }

#left-container header { padding: 48px 0 36px 24px; position: relative; }
#left-container nav ul { list-style: none; margin: 0; padding: 0; text-transform: uppercase; border-bottom: 1px solid #000; font-size: 1.7em; }
#left-container nav li { border-top: 1px solid #000; }
#left-container nav a { display: block; padding: 20px 0 20px 15px; text-decoration: none; color: #222; }
#left-container nav a:hover { background: #694897; color: #fff; }
#contact { padding: 15px; font-size: 1.6em; }
#contact a { text-decoration: none; color: #222; }
#contact a:hover { color: #694897; }
article { min-height: 800px; padding-bottom: 30px; }
article header { margin-top: 48px; text-transform: uppercase; }
article header h1 { margin: 50px 0 45px 0; font-size: 1.6em; }
section.text { padding-right: 100px; }
section h2 { font-size: 1.4em }
footer { height: 300px; }
footer nav { position: absolute; left: 0; bottom: 20px; }
footer ul { list-style: none; margin: 0; padding: 0; text-transform: uppercase; }
footer li { display: inline-block; margin-right: 18px; }
footer a { text-decoration: none; color: #222; }
footer a:hover { color: #694897; }
#gallery__nav { background: red; margin-top: -55px; margin-bottom: 55px; }
#gallery__nav li button:before { content: ''; }
#gallery__nav ul { margin: 0; padding: 0; list-style: none; }
#gallery__nav li { position: relative; display: inline-block; width: 20px; height: 20px; margin: 0 5px; padding: 0; cursor: pointer; }
#gallery__nav li button { font-size: 0; line-height: 0; display: block; width: 20px; height: 20px; padding: 5px; cursor: pointer;  color: transparent; border: 2px solid #fff; border-radius: 20px; outline: none; background: transparent; }
#gallery__nav li button:hover, section #slickDots li button:focus { outline: none; }
#gallery__nav li.slick-active button { background: #fff; }
#copyright { font-style: italic; font-size: 0.9em; transform: rotate(-90deg); -ms-transform: rotate(-90deg); -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); -o-transform: rotate(-90deg); transform-origin: 0 0; -ms-transform-origin: 0 0; -webkit-transform-origin: 0 0; -moz-transform-origin: 0 0; -o-transform-origin: 0 0; position: absolute; bottom: -20px; left: 744px; white-space: nowrap; }
.schluss__container { border: 10px solid #694897; padding: 10px 20px; display: inline-block; }
.schluss__text { font-weight: bold; font-size: 2.4em; }
.name { white-space: nowrap; }
.allPics { text-align: center; }
.allPics img { margin: 1.6em 0 0.4em 0; }
a.up { display:inline-block; position: fixed; z-index: 1000; left: 50%; margin-left: -460px; bottom: 30px; padding: 12px 10px; color: #fff; background: #694897; text-decoration: none; transform: rotate(-90deg); -ms-transform: rotate(-90deg); -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); -o-transform: rotate(-90deg); }
a.up:after { content: 'HOCH'; font-size: 1.8em; }
h3:before { content: ' '; display: inline-block; width: 0.8em; height: 0.8em; background: #694897; margin-right: 0.5em; margin-top: 2em; }
h3 { margin-left: 1.3em; text-indent: -1.3em; }

nav.subnav ul { list-style: none; margin: 20px 0; padding: 0; }
nav.subnav li { display: inline-block; margin-right: 12px; }
nav.subnav a { display: inline-block; padding: 6px 0; }
nav.subnav a.current { border: 1px solid #000; padding: 4px 10px; color: #000; }

#left-container header #navicon { display: none; }

ul.links { list-style: none; margin: 0; padding: 0; }
ul.links li { padding: 0.5em 0; }

.nowrap { white-space: nowrap; }

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

.privacy li { margin: 1em 0; }

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


@media screen and (max-width:1179px) {
		
	#master { width: 100%; }
	#left-container { width: 25%; margin-right: 0; }
	#main-container { width: 70%; padding-left: 4%; }
	#main-container img { max-width: 100%; height: auto; }
	a.up { left: 30px; margin-left: 0; }
	#copyright { transform: rotate(0); position: relative; bottom: auto; left: auto; padding-top: 12px; }
		
}
@media screen and (max-width:799px) {
		
	#master { display: block; background-position: -50px bottom; }
	#left-container { width: 100%; position: relative; margin-right: 0; border: none; border-bottom: 1px solid #000; }
	#main-container { width: 100%; position: relative; padding-left: 24px; padding-right: 24px;  }
	section.text { padding-right: 0; }
	a.up { left: auto; right: 30px; }
	#left-container header { padding: 24px; }
	#left-container nav { display: none; }
	#left-container nav ul { border-bottom: none; }
	#left-container header #navicon { display: block; position: absolute; bottom: 20px; right: 30px; }
	#contact { position: absolute; top: 0px; left: 160px; display: inline-block; font-size: 1.4em; }
	
}
@media screen and (max-width:540px) {
		
	#master { background-size: 150% auto; }
	#left-container { border-bottom: none; }
	.schluss__text { font-weight: bold; font-size: 1.6em; }
	#contact { display: none; }
	#left-container header #navicon { bottom: auto; top: 20px; right: 20px; }
	article { min-height: auto; }
	article header { margin-top: 24px; }
	article header h1 { font-size: 1.4em; margin: 12px 0; }
	section h2 { font-size: 1.2em }
	#left-container header img { max-width: 75px; height: auto; }
	footer { height: 200px; }
	footer li { display: block; margin-right: 0; padding: 10px 0; }
	#left-container nav ul { border-bottom: 1px solid #000; }
}