:root { /* --yellow: rgb(255, 232, 89); --red: rgb(226, 107, 68); --green: rgb(137, 187, 79); --blue: rgb(94, 146, 189); */ } html { font-family: sans-serif; font-size: 100%; -webkit-font-smoothing: antialiased; } html, body { margin: 0; padding: 0; outline: 0; border: 0; width: 100%; height: 100%; } body { line-height: 1; font-size: 100%; vertical-align: baseline; color: #4B4B4B; display: flex; flex-direction: column; } #top-bar { background: #fff; width: 100%; height: 54px; position: fixed; top: 0; left: 0; box-shadow: 0 0 8px 0 rgba(0,0,0,0.12); z-index: 1; } #top-bar div.logo { display: inline-block; flex: 1 1 0; height: 30px; padding: 12px 0; } #top-bar .logo a { display: inline-block; height: 100%; width: 100%; max-width: 180px; background-image: url(/logo.png); background-size: contain; background-position: left center; background-repeat: no-repeat; } .hamburger { display: none; position: fixed; top: 0; bottom: 0; right: 0; z-index: 1000; width: 400px; overflow: hidden; pointer-events: none; } .hamburger input { z-index: 1200; opacity: 0; cursor: pointer; margin: 0; pointer-events: all; } .hamburger input, .hamburger .patty { position: absolute; right: 16px; top: 8px; width: 32px; height: 32px; } .hamburger .patty { z-index: 1100; padding-top: 4px; box-sizing: border-box; } .hamburger ul { pointer-events: all; background: white; position: absolute; top: 0; bottom: 0; right: 0; z-index: 10; width: 300px; padding: 64px 50px 32px 50px; margin: 0; display: flex; flex-direction: column; background: white; box-shadow: 0 0 8px 0 rgba(0,0,0,0.12); -webkit-font-smoothing: antialiased; /* to stop flickering of text in safari */ box-sizing: border-box; transform-origin: 0% 0%; transform: translate(308px, 0); transition: transform 0.5s ease; list-style-type: none; } .hamburger .fatty { flex: 1 1 0; } .patty i { position: relative; display: block; width: 26px; height: 4px; background: #4B4B4B; transition: 0.3s all ease; transform: translate(0, 0) rotate(0) scale(1.0); transform-origin: 4px 0; border-radius: 4px; margin: 4px 0 0 3px; } .hamburger input:checked ~ ul { transform: translate(0, 0); } .patty i { transform-origin: 0% 50%; } .hamburger input:checked ~ .patty i:nth-child(2) { transform: translate(-3px, 0) rotate(0) scale(0.0); opacity: 0; } .hamburger input:checked ~ .patty i:first-child { transform: translate(0, -2px) rotate(45deg); } .hamburger input:checked ~ .patty i:last-child { transform: translate(0, 0) rotate(-45deg); } .hamburger li { padding: 10px 0; font-size: 1.2rem; text-align: center; margin: 0; } .hamburger .shorthand { text-transform: uppercase; font-size: 14px; margin-right: 5px; } ul.menu { list-style-type: none; margin: 0; padding: 0; flex: 0 0 0; } ul.menu li { display: inline-block; } ul.menu li a { display: inline-block; padding: 15px 5px; } .lang-dropdown { cursor: default; position: relative; flex: 0 0 0; } .lang-dropdown > span { text-transform: uppercase; font-size: 12px; } .lang-dropdown a { cursor: pointer; } .lang-dropdown .globe { display: inline-block; width: 13px; height: 13px; margin: -2px 5px 0 0; vertical-align: middle; background: url(/globe.svg) no-repeat; } .lang-dropdown.up .globe { background: url(/globe.up.svg) no-repeat; } .lang-dropdown ul { position: absolute; right: 0; top: 0; list-style: none; width: 140px; font: bold 12px sans-serif; overflow: hidden; max-height: 0px; text-align: center; -webkit-transition: max-height 0.4s linear; -moz-transition: max-height 0.4s linear; transition: max-height 0.4s linear; } .lang-dropdown:hover ul, .lang-dropdown:focus ul { max-height: 200px; } .lang-dropdown.up ul { top: auto; bottom: 20px; } .lang-dropdown li { background-color: #454545; position: relative; line-height: 24px; vertical-align: middle; } .lang-dropdown li:hover { background-color:#555; } .lang-dropdown li:first-child { border-radius: 3px 3px 0 0; margin-top: 20px; } .lang-dropdown li:first-child:before { content:''; position: absolute; width: 1px; height: 1px; border: 5px solid transparent; border-bottom-color: #454545; left: 75%; top: -11px; margin-left: -5px; } .lang-dropdown li:last-child { border-radius: 0 0 3px 3px; } .lang-dropdown.up li:first-child { margin-top: 0px; } .lang-dropdown.up li:last-child { margin-bottom: 15px; } .lang-dropdown.up li:last-child:after { content:''; position: absolute; width: 1px; height: 1px; border: 5px solid transparent; border-top-color: #454545; left: 75%; bottom: -11px; margin-left: -5px; } .lang-dropdown li > a, .lang-dropdown li > span { padding: 12px; color: #fff !important; text-decoration: none !important; display: block; } .lang-dropdown span.shorthand { background: #282828; width: 24px; height: 24px; display: inline-block; line-height: 24px; text-align: center; margin: 0 6px; } article > *, .container, header h1 { position: relative; margin-left: auto; margin-right: auto; padding: 0 20px; max-width: 800px; } nav .container { display: flex; align-items: center; white-space: nowrap; } .container .lang-dropdown { color: #1b54ac; } .container .lang-dropdown { padding: 15px 5px 15px 25px; } .lang-dropdown::after { content: '▾'; } .up.lang-dropdown::after { content: '▴'; } .container .lang-dropdown ul { top: 10px; } header { position: relative; display: block; max-width: 100%; background-image: url(/header.jpg); background-size: cover; background-position-y: 30%; background-blend-mode: soft-light; } header h1 { margin: 0 auto 15px auto; padding: 50px 0; text-shadow: 0px 0px 1px rgba(0,0,0,0.8); } .yellow { background-color: rgb(255, 232, 89); box-shadow: 0 0 8px 0 rgba(255, 232, 89, 0.12); } .yellow h1 { color: black; text-shadow: none; } .red { background-color: rgb(226, 107, 68); box-shadow: 0 0 8px 0 rgba(226, 107, 68, 0.12); } .red h1 { color: white; } .green { background-color: rgb(137, 187, 79); box-shadow: 0 0 8px 0 rgba(137, 187, 79, 0.12); } .green h1 { color: white; } .blue { background-color: rgb(94, 146, 189); box-shadow: 0 0 8px 0 rgba(94, 146, 189, 0.12); } .blue h1 { color: white; } h1, h2, h3, h4, h5, h6 { margin-top: 1.5rem; margin-bottom: 0; line-height: 1.5rem; color: #363636; } h1 { font-size: 2rem; line-height: 3.5rem; margin-top: 2.5rem; } h2 { font-size: 1.7rem; line-height: 3rem; margin-top: 2rem; } h3 { font-size: 1.3rem; } h4 { font-size: 0.707rem; } h5 { font-size: 0.4713333333333333rem; } h6 { font-size: 0.3535rem; } h2 + h3 { margin-top: 0.3rem; } article { background: #FFF; width: 100%; position: relative; padding: 50px 0; flex: 1 1 0; } p, ul, ol { line-height: 1.5rem; margin-top: 0.5rem; margin-bottom: 0; } ul li, ol li { margin-left: 25px; line-height: 1.5rem; } ul ul, ol ul, ul ol, ol ol { margin-top: 0; margin-bottom: 0; } dl { line-height: 1.2; } dt { font-weight: bold; } hr { border: 0; height: 1px; background: #363636; margin: 15px 0; } blockquote { line-height: 1.5rem; margin-top: 1.5rem; margin-bottom: 1.5rem; } table { margin-top: 1.5rem; border-spacing: 0px; border-collapse: collapse; } table td, table th { padding: 0; line-height: 33px; } code { vertical-align: bottom; } a { color: #1b54ac; cursor: pointer; text-decoration: none; } a:hover, a:active { text-decoration: underline; } footer { background: #363636; display: flex; flex-shrink: 0; white-space: nowrap; } footer .editPage { padding: 15px; flex: 1 1 0; text-overflow: clip; overflow: hidden; } footer .editPage a { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEUAAADv7+/v7+/v7+/v7+/s7Ozs7Ozt7e3t7e3t7e3s7Ozs7Ozs7Ozs7Ozt7e3t7e3t7e3t7e3ECRl9AAAAEXRSTlMAECAwQFBgkJ+gr7C/wNDv8A/g33EAAABLSURBVHjarchBAoAgDAPBUCqISjX//6xyMnh2bztIGw+DtJMNSWB8OfML/XlSxMZPki5+JP8p4R0qsaCZigNeIdJXR0CzGiyYK+0GziYE48hUzCUAAAAASUVORK5CYII=) no-repeat; padding-left: 20px; } footer a { color: #EDEDED; } footer .center { padding: 15px; text-align: center; flex: 1 1 0; } footer .lang-dropdown-container { flex: 1 1 0; padding: 15px; text-align: right; } footer .lang-dropdown { display: inline; color: #EDEDED; } .we-are-not-stuwerk { border: 1px solid #fa7171; border-radius: 2px; margin: 5px 0; padding: 10px 10px 7px 10px; background: #ffdbdb; line-height: 1.25; color: red; } .email { font-style: italic; } .vorstand ul { padding-left: 0; } @media (max-width: 720px) { main { padding: 25px 0; } h1 { font-size: 1.6rem; line-height: 2rem; } h2 { font-size: 1.4rem; line-height: 1.6rem; } h3 { font-size: 1.2rem; } .hamburger { display: block; } .menu, #top-bar .lang-dropdown { display: none; } header h1 { padding: 50px 0 50px; font-size: 2rem; line-height: inherit; } article > *, article .container { padding: 0 25px; } footer .editPage a { color: transparent; } }