/* reset */ * { margin: 0; padding: 0; box-sizing: border-box; } /* render html5 elements as block */ header, footer, section, aside, nav, article { display: block; } body { background-color: #FFFAEF; font-size: 1em; font-family: 'Open Sans', sans-serif; color:#564b47; } pre, code { font-size: 1.3em; } a {color: #477714;} a:visited {color:#999;} a:hover {color: #477714;} a:active { color:#000000;} a:hover, a:active, a:focus {outline:0;} h1 { font-family: 'Comfortaa', sans-serif; font-size:1.8em; font-weight: normal; margin: 0 0 0 -2px; padding:0 0 15px 0px; color:#0E2B8B; } h2 { font-family: 'Comfortaa', sans-serif; font-size:1.5em; font-weight: normal; margin: 0 0 0 -2px; padding:0 0 15px 0; color:#0E2B8B; } h3 { font-family: 'Comfortaa', sans-serif; font-size:1.25em; font-weight: normal; margin: 0 0 10px; color:#0E2B8B; } img{ border:none; } /* ----------container zentriert das layout-------------- */ #container { max-width: 100%; min-width:320px; margin:0 auto; background-color: #FFFFFF; } /* ----------header for logo-------------- */ #top:after{ height: 0; content: "."; display: block; clear: both; visibility:hidden; } #top { background-color: #477714; } #top header{ margin:0px; padding:0px; border:0px dotted #cccccc; background-image:url("header_1920x300_v3.jpg"); background-repeat: no-repeat, repeat; background-size:cover; } header img{ border:0; margin:0; padding: 0 0 0 0px; width:100%; } .logo{ padding:50px 0; position:relative; text-align: center; } .logo .schnecke{ background-image:url("koru_30_64x70.png"); background-repeat:no-repeat; background-position: 40% 25%; border:0px dotted red; } .logo h1 { margin:15px 0 0 0px; padding:0 0 0 10px; font-size:4em; color:#0E2B8B; font-family: 'Baumans', cursive; } .logo p { font-family: 'Open Sans', sans-serif; font-size:1.25em; color:#0E2B8B; margin:-5px 0px 0px -30px; padding:0 0 10px 0; } .toggleMobile { display: none; } /* --- navigation, default --- */ nav{ padding:0 250px; margin:0 0 0px; float:right; width:100%; background-color:#477714; } nav ul:after { height: 0; content: "."; display: block; clear: both; visibility:hidden; } nav ul { list-style-type: none; float:right; } nav ul.rex-navi1 {display:block;} nav li { float: left; margin: 0 3px 0 0;display:block; } nav a, nav a:visited { color: #FFFFFF; display: block; padding: 5px 20px; text-decoration: none; white-space: nowrap; } nav a:hover { color:#477714; background-color: #FFFFFF; } nav a:active { color:#000000;} nav a.rex-active, nav a.rex-current { color:#477714; background-color: #FFFFFF; } nav li ul.rex-navi2 { position:absolute; visibility: hidden; margin:0; width: 13em; z-index:99; } nav li ul.rex-navi2 li { display: block; width: 13em; top:0; background-color:#477714; } nav li:hover ul.rex-navi2 { position: absolute; visibility: inherit; } nav li:active ul.rex-navi2, nav li:focus ul.rex-navi2, nav li:focus-within ul.rex-navi2 { position: absolute; visibility: inherit; height: auto; } nav li ul.rex-navi2 li a:hover{ color:#FFFFFF; background-color:#699C33; } nav li ul.rex-navi2 li a.rex-current { color:#477714; background-color: #FFFFFF; } /* ----------------- content --------------------- */ section:before { height: 0; content: "."; display: block; clear: both; visibility:hidden; } section#content { float: left; width: 100%; padding: 50px 250px; background-color: #FFFFFF; min-height:600px; } p, pre{ padding: 0 0 20px; line-height:1.5em; } section#content header{ padding: 0px 67px 0px 67px; } section#content article{ padding: 0px 67px 0px 67px; } section#content ul{ list-style-position: inside; line-height:1.5em; } article{ padding:0 0 20px 0; } article header{ padding:0; } article footer{ border-bottom: 1px solid #564B47; color:#564B47; padding:0 0 20px; margin:0 0 20px; } figure.image{ margin:40px 0 15px 0; } /* -------------- back to top ------------- */ .back_to_top{ float:right; display:block; margin:0 20px 10px 0; z-index:110; } /* -------------- side infos ------------- */ aside { padding:20px; float:right; width: 25%; } /* ----------- footer --------------------------- */ footer.footer { margin:50px 0 0 0; padding: 20px 270px; width:100%; clear:both; background-color: #2B2B2F; color:#fff; } footer h3 { margin:20px 0 0 0; padding:0 0 5px 0; color:#FFFFFF; } footer ul{ list-style-type:none; } footer a { color: #999; text-decoration:none; } footer a:hover, a.rex-active, a.rex-current { color: #fff; text-decoration:none; } footer .logo{ text-align: left; position:relative; } footer .logo .schnecke{ background-image:url("koru_30_41x45.png"); background-repeat:no-repeat; background-position: 0% 0%; } footer .logo h1{ color:#FFFFFF; font-size:2em; } footer .logo p{ color:#FFFFFF; font-size:.75em; padding:0 0 0 80px; } /* -------------------- Media Queries -------------------- */ @media only screen and (max-width: 2015px){ #top header { float:none; width:100%; height:auto; } .logo{ padding:20px 0; width:auto; } section#content header{ margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } section#content article{ margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } } @media only screen and (max-width: 1520px){ section#content { float: none; width: 100%; padding: 40px 20px 20px 20px; } section#content header{ margin-right: auto; margin-left: auto; padding-left: 55px; padding-right: 15px; } section#content article{ margin-right: auto; margin-left: auto; padding-left: 55px; padding-right: 15px; } footer.footer { float: none; width: 100%; padding: 40px 20px 20px 35px; } } /* */ @media only screen and (max-width: 1024px) { #top header, nav { float:none; width:100%; } .logo{ padding:10px 0; width:auto; } section#content { float: none; width: 100%; padding: 40px 20px 20px 45px; } section#content header{ margin-right: auto; margin-left: auto; padding-left: 55px; padding-right: 15px; } section#content article{ margin-right: auto; margin-left: auto; padding-left: 55px; padding-right: 15px; } footer.footer { float: none; width: 100%; padding: 40px 20px 20px 35px; } } /* */ @media only screen and (max-width: 960px) { #top header, nav { float:none; width:100%; } nav { padding:0 0 0 90px; font-size:.85em; } section#content { float: none; width: 100%; padding: 40px 20px 20px 20px; } section#content header{ margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } section#content article{ margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } footer.footer { float: none; width: 100%; padding: 40px 20px 20px 35px; } } /* */ @media only screen and (max-width: 860px) { #top header, nav { float:none; width:100%; } .logo{ padding:10px 0; } .logo h1{ font-size:3em; } .logo p{ font-size:.85em; } nav { padding:0 0 0 40px; font-size:.85em; } nav ul { float:none; } nav li { float: left; margin: 0; width:20%; } nav a{ padding:5px 10px; } section#content header{ margin-right: auto; margin-left: auto; padding-left: 55px; padding-right: 15px; } section#content article{ margin-right: auto; margin-left: auto; padding-left: 55px; padding-right: 15px; } } @media only screen and (max-width: 768px) { #top header{ margin:0px; padding:0px; border:0px dotted #cccccc; background-image:url("header_768x120_v3.jpg"); background-repeat: no-repeat, repeat; background-size:cover; } #top nav { float:none; width:100%; } .logo{ padding:10px 0; background:none; } .logo .schnecke{ background-image:url("koru_30_41x45.png"); background-repeat:no-repeat; background-position: 40% 25%; } .logo h1{ font-size:2.5em; } .logo p{ font-size:.75em; } section#content { float: none; width: 100%; padding: 40px 20px 20px 20px; } section#content header{ margin-right: auto; margin-left: auto; padding-left: 30px; padding-right: 15px; } section#content article{ margin-right: auto; margin-left: auto; padding-left: 30px; padding-right: 15px; } footer.footer { float: none; width: 100%; padding: 40px 20px 20px 35px; } } @media only screen and (max-width: 690px) { section#content header{ margin-right: auto; margin-left: auto; padding-left: 30px; padding-right: 15px; } section#content article{ margin-right: auto; margin-left: auto; padding-left: 30px; padding-right: 15px; } } @media only screen and (max-width: 480px) { #top{ border-bottom:5px solid #477714; } #top header{ margin:0px; padding:0px; border:0px dotted #cccccc; background-image:url("header_768x120_v3.jpg"); background-repeat: no-repeat, repeat; background-size:cover; } .logo .schnecke{ background-image:url("koru_30_41x45.png"); background-repeat:no-repeat; background-position: 40% 25%; } .logo h1{ font-size:2em; } .logo p{ font-size:.75em; } /* --- mobile navigation --- */ #mainnav{display:none;} #mobileMenu{ padding-top:0px; background-color:#48781B; } #mobileMenu li { float: none; margin: 0; padding:0px 0; width:100%; } #mobileMenu ul li a{ display:block; padding:8px 30px; color:#FFFFFF; font-size:.85em; text-decoration:none; } #mobileMenu ul li a.rex-current, #mobileMenu ul li a.rex-active, #mobileMenu ul li a:hover{ display:block; margin:0; background-color:#ffffff; color:#477714; } #mobileMenu ul li ul li a.rex-current, #mobileMenu ul li ul li a:hover{ background-color:#E1DFD0; color:#48781B; } #mobileMenu ul li ul li a { font-size:1.0em; position:relative; background-color:#699C33; padding:10px 40px; } .toggleMobile { position: absolute /* fixed; */ top: 10px; left: 10px; display: block; width: 40px; height: 36px; cursor: pointer; z-index: 999; } .toggleMobile span.menu1, .toggleMobile span.menu2, .toggleMobile span.menu3 { display: block; position: absolute; width: 40px; height: 4px; left: 0; background: #48781B; /* color of toggle-menu*/ -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95); transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95); } .toggleMobile span.menu1 { top: 0; } .toggleMobile span.menu2 { top: 12px; } .toggleMobile span.menu3 { top: 24px; } .toggleMobile.active span.menu1 { top: 14px; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95); transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95); } .toggleMobile.active span.menu2 { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); -ms-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95); transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95); } .toggleMobile.active span.menu3 { opacity: 0; -webkit-transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95); transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95); } header nav { display:none; } section#content header{ margin-right: auto; margin-left: auto; padding-left: 30px; padding-right: 15px; } section#content article{ margin-right: auto; margin-left: auto; padding-left: 30px; padding-right: 15px; } footer.footer { float: none; width: 100%; padding: 40px 20px 20px 20px; } } }