/*	Theme Name: FeWo Maulburg (Widget-ready)
	URI: https://www.mso-webdesign.de
	Description: wordpress theme
	Version: 04.00 (de, en)
	Author: Marco Schwarz
	Author URI: https://mso-webdesign.de/
	The CSS, XHTML and design is released under the GPL:
	http://www.opensource.org/licenses/gpl-license.php
*/
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; min-height: 100.01%; }
body { font-family: Segoe UI, Optima, Tahoma, Helvetica, Arial, sans-serif; font-size: 110%; color: #000; margin: 0; background-color: #fff; }

a, a:link, a:visited { color: #900; text-decoration: none; }
a:hover, a:active, a:focus { color: #c00; text-decoration: underline; }
.btn { display: inline-block; color: #fff; background-color: #b50000; margin: 0; text-align: center; border-radius: 5px; transition: background-color 0.5s ease-out; }
.btn:hover { background-color: #fa3030; }
.btn a, .btn a:link, .btn a:visited { display: block; padding: 12px; color: #fff; }
.btn a:hover, .btn a:active, .btn a:focus { color: #fff; text-decoration: none; }

.flex { display: flex; flex-wrap: wrap; justify-content: space-between; }
.box50 { flex: 0 1 auto; width: 48%; }
.box30 { flex: 0 1 auto; width: 31%; }
.box25 { flex: 0 1 auto; width: 24%; }

header { max-width: 1240px; margin: 0 auto; padding: 20px 0 0 0; line-height: 0.5em; }
section { max-width: 1240px; margin: 0 auto; padding: 40px 0 20px 0; }
article { flex: 0 1 auto; width: 74%; }
aside { flex: 0 1 auto;  width: 22%; }

nav { margin: 0 0 30px 0; }
.container { width: auto; margin: 0; font-size: 1em; }
a.toggleMenu { display: none; margin: 0; float: right; }
.nav { list-style: none; background: #e9e5e0; margin: 0; }
.nav:before, .nav:after { content: " ";  display: table; }
.nav:after { clear: both; }
.nav ul { list-style: none; }
.nav a { display: block; text-decoration: none; padding: 10px 15px 10px 20px; color: #000; transition: background-color 0.5s ease-out;  border-bottom: 1px solid #fff; }
.nav a:hover { color: #900; text-decoration: none; background-image: url(bilder/pfeil.gif); background-position: 2px 6px; background-repeat: no-repeat; }
.nav li { position: relative; }
.current-menu-item a { color: #900; background-image: url(bilder/pfeil.gif); background-position: 2px 6px; background-repeat: no-repeat; }
.current-page-parent a { color: #900; background-image: url(bilder/pfeil.gif); background-position: 2px 6px; background-repeat: no-repeat; }

footer { background-color: #e9e5e0; }
footer .container { max-width: 1240px; margin: 0 auto; padding: 40px 0; }
footer p { line-height: 2em; }
.fussbox { float: left; width: 26%; margin: 0 2% 0 0; }
.fussbox2 { float: left; width: 35%; margin: 0 2% 0 0; }
.fussbox3 { float: right; width: 35%; margin: 0; }

h1 { margin: 0 0 20px 0; line-height: 1.3em; font-size: 1.8em; font-weight: normal; }
h2 { margin: 0 0 10px 0; line-height: 1.2em; font-size: 1.4em; font-weight: normal; }
h3 { margin: 0 0 10px 0; line-height: 1.3em; font-size: 1.2em; font-weight: normal; }
h4 { margin: 0 0 10px 0; line-height: 1.2em; font-size: 1.1em; font-weight: normal; }
p { margin: 0 0 20px 0; line-height: 1.4em; font-size: 1em; }
p.bild { float: right; margin: 0 0 20px 2%; }
p.bild2 { float: left; margin: 0 2% 20px 0; max-width: 31%; }
ul.tx { list-style-image: url(bilder/pfeil.png); margin: 0 0 15px 40px; line-height: 1.4em; font-size: 1em; }
ul.tx li { margin-bottom: 10px; }
ul.pdf { list-style-image: url(bilder/pdf.png); margin: 10px 0 10px 40px; }
ul.pdf li { margin-bottom: 10px; font-size: 1em; line-height: 1.3em; }
ol { margin: 0 0 30px 17px; padding: 0; font-size: 1em; line-height: 1.5em; }
ol.lower-latin { list-style-type: lower-latin; margin: 0 0 30px 40px; padding: 0; font-size: 1em; line-height: 1.5em; }
ol li, ol.lower-latin li { margin-bottom: 5px; }
ol ul, ol.lower-latin ul { list-style-type: disc; margin: 10px 0 10px 20px; }
img { max-width: 100%; border: 0; }
div.hr { border-bottom-style: dotted; border-bottom-width: 1px; /* fix */ border-color: #ccc; height: 1px; width: auto; margin: 0 0 20px 0; } 
.abst { margin: 0 0 30px 0; }
.clear { clear: both; }
.nah { margin: 0 0 10px 0; }
.null { margin: 0; }
.right { float: right; }
.left { float: left; }
blockquote { margin-left: 30px; font-size: 0.94em; line-height: 1.4em; }
.small { font-size: 0.87em; line-height: 1.2em; }

.foto { display: flex; flex-wrap: wrap; flex-direction: row; }
.fotobox { flex: 0 1 auto; width: 31.3%; margin: 0 2% 20px 0; }

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap, .fancybox-skin, .fancybox-outer, .fancybox-inner, .fancybox-image, .fancybox-wrap iframe, .fancybox-wrap object, .fancybox-nav, .fancybox-nav span, .fancybox-tmp { padding: 0; margin: 0; border: 0; outline: none; vertical-align: top; }
.fancybox-wrap { position: absolute; top: 0; left: 0; z-index: 8020; }
.fancybox-skin { position: relative; background: #222; color: #eee; text-shadow: none; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
.fancybox-opened { z-index: 8030; }
.fancybox-opened .fancybox-skin { -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); }
.fancybox-outer, .fancybox-inner { position: relative; }
.fancybox-inner { overflow: hidden; }
.fancybox-type-iframe .fancybox-inner { -webkit-overflow-scrolling: touch; }
.fancybox-error { color: #444; font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; margin: 0; padding: 15px; white-space: nowrap; }
.fancybox-image, .fancybox-iframe { display: block; width: 100%; height: 100%; }
.fancybox-image { max-width: 100%; max-height: 100%; }
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { background-image: url(bilder/fancybox_sprite.png); }
#fancybox-loading { position: fixed; top: 50%; left: 50%; margin-top: -22px; margin-left: -22px; background-position: 0 -108px; opacity: 0.8; cursor: pointer; z-index: 8060; }
#fancybox-loading div { width: 44px; height: 44px; background: url(bilder/fancybox_loading.gif) center center no-repeat; }
.fancybox-close { position: absolute; top: -18px; right: -18px; width: 36px; height: 36px; cursor: pointer; z-index: 8040; }
.fancybox-nav { position: absolute; top: 0; width: 40%; height: 100%; cursor: pointer; text-decoration: none; background: transparent url(bilder/blank.gif); /* helps IE */ -webkit-tap-highlight-color: rgba(0,0,0,0); z-index: 8040; }
.fancybox-prev { left: 0; }
.fancybox-next { right: 0; }
.fancybox-nav span { position: absolute; top: 50%; width: 36px; height: 34px; margin-top: -18px; cursor: pointer; z-index: 8040; visibility: hidden; }
.fancybox-prev span { left: 10px; background-position: 0 -36px; }
.fancybox-next span { right: 10px; background-position: 0 -72px; }
.fancybox-nav:hover span { visibility: visible; }
.fancybox-tmp { position: absolute; top: -99999px; left: -99999px; visibility: hidden; max-width: 99999px; max-height: 99999px; overflow: visible !important; }

/* Overlay helper */
.fancybox-lock { overflow: hidden !important; width: auto; }
.fancybox-lock body { overflow: hidden !important; }
.fancybox-lock-test { overflow-y: hidden !important; }
.fancybox-overlay { position: absolute; top: 0; left: 0; overflow: hidden; display: none; z-index: 8010; background: url(bilder/fancybox_overlay.png); }
.fancybox-overlay-fixed { position: fixed; bottom: 0; right: 0; }
.fancybox-lock .fancybox-overlay { overflow: auto; overflow-y: scroll; }

/* Title helper */
.fancybox-title { visibility: hidden; font: normal 15px/20px Arial,Helvetica,sans-serif; color: #f0f0f0; position: relative; text-shadow: none; z-index: 8050; }
.fancybox-opened .fancybox-title { visibility: visible; }
.fancybox-title-float-wrap { position: absolute; bottom: 0; right: 50%; margin-bottom: -35px; z-index: 8050; text-align: center; }
.fancybox-title-float-wrap .child { display: inline-block; margin-right: -100%; padding: 2px 20px; background: transparent; /* Fallback for web browsers that doesn't support RGBa */ background: rgba(0, 0, 0, 0.8); -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; text-shadow: 0 1px 2px #222; color: #FFF; font-weight: bold; line-height: 24px; white-space: nowrap; }
.fancybox-title-outside-wrap { position: relative; margin-top: 10px; color: #fff; }
.fancybox-title-inside-wrap { padding-top: 10px; }
.fancybox-title-over-wrap { position: absolute; bottom: 0; left: 0; color: #fff; padding: 10px; background: #000; background: rgba(0, 0, 0, .8); }
@media only screen and (max-width: 1260px) {
header, section, footer .container { max-width: 98%; }
}
@media handheld, only screen and (max-width: 890px) {
.flex { flex-direction: column; }
header .flex { flex-direction: row; }
.box50, .box30 { width: 100%; }
.box25 { width: 48%; }
article { width: 100%; }
aside { width: 100%; }
.container { width: 100%; margin: 0; }
.active { display: block; }
.nav li { position: relative; }
.nav > li > .parent { background-image: url(bilder/downArrow.png); background-repeat: no-repeat; background-position: 100% 50%; }
.nav > li > a { display: block; }
.nav li ul.sub-menu li { display: block; }
.nav li ul { position: absolute; left: -9999px; }
.nav > li.hover > ul { left: 0; }
.nav li li.hover ul { left: 100%; top: 0; }
.nav li.current_page_item ul.sub-menu li:first-child, .nav li.current_page_parent ul.sub-menu li:first-child, .nav li.current_page_ancestor ul.sub-menu li:first-child { display: none; }
.nav li li a { display: block; position: relative; z-index: 100; padding: 15px 0 15px 40px; }
.nav { margin: 0 0 30px 0; }
.nav > li { float: none; }
.nav li a { padding: 15px; }
.nav > li.hover > ul , .nav li li.hover ul { position: static; }
.nav > li > .parent { background-position: 95% 50%; }
.nav li li .parent { background-image: url(bilder/downArrow.png); background-repeat: no-repeat; background-position: 95% 50%; }
.nav ul { display: block; width: 100%; border-right: 0; }
.nav > li.hover > ul , .nav li li.hover ul { position: static; }
.nav li ul.sub-menu li ul.sub-menu li { display: block; }
.nav a:hover, .current-menu-item a, .current-page-parent a { background-position: 2px 11px; }
section { padding: 0 0 20px 0; }
ul.navlist { width: 100%; }
p.bild2 { max-width: 48%; }
.fussbox, .fussbox2 { float: none; width: 100%; margin: 0; }
.fussbox3 { float: none; width: 100%; margin: 0; }
}
@media handheld, only screen and (max-width: 800px) {
.fotobox { width: 48%; }
}
@media handheld, only screen and (max-width: 440px) {
body { word-wrap: break-word; }
}