/*
Theme Name: Theme Webiste www.museum-vilsbiburg.de
Theme URI: http://www.museum-vilsbiburg.de
Description: museum-vilsbiburg.de-Theme
Author: wedebo - Michal Boger
Author URI: http://www.wedebo.de
*/

/* montserrat-300 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./font/montserrat-v15-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./font/montserrat-v15-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./font/montserrat-v15-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('./font/montserrat-v15-latin-300.woff') format('woff'), /* Modern Browsers */
       url('./font/montserrat-v15-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./font/montserrat-v15-latin-300.svg#Montserrat') format('svg'); /* Legacy iOS */
}

/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./font/montserrat-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./font/montserrat-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./font/montserrat-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./font/montserrat-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./font/montserrat-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./font/montserrat-v15-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
}

/* montserrat-700 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./font/montserrat-v15-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./font/montserrat-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./font/montserrat-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('./font/montserrat-v15-latin-700.woff') format('woff'), /* Modern Browsers */
       url('./font/montserrat-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./font/montserrat-v15-latin-700.svg#Montserrat') format('svg'); /* Legacy iOS */
}

/* quicksand-regular - latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./font/quicksand-v22-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./font/quicksand-v22-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./font/quicksand-v22-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./font/quicksand-v22-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./font/quicksand-v22-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./font/quicksand-v22-latin-regular.svg#Quicksand') format('svg'); /* Legacy iOS */
}

@font-face {
      font-family: 'icons';
      font-display: swap;
      src: url('./font/icons.eot?68258528');
      src: url('./font/icons.eot?68258528#iefix') format('embedded-opentype'),
           url('./font/icons.woff?68258528') format('woff'),
           url('./font/icons.ttf?68258528') format('truetype'),
           url('./font/icons.svg?68258528#icons') format('svg');
      font-weight: normal;
      font-style: normal;
    }

    
html, body {
    margin: 0; padding: 0; background:#fff; text-align: center;
    -webkit-text-size-adjust:none; color: #1a171b; font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    float: left; width: 100%;
    font-size: 1.0em; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

#wrapper {
    float: left; width: 100%; margin: 0; padding: 0; text-align: left;overflow: hidden;
}
header#header {
    float: left; width: 100%; margin:0; padding:0; background:#fff; position: relative; z-index: 10; min-width: 320px;-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
}
#logocontainer {
    float: left; width: 16%; margin:10px 0 -40px 4%; padding:0;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s; position: relative; z-index: 10;
}
#logo {
float: left; width: 100%;
}

#headwidget {
    position: relative; width: auto; margin: 0 3%;
    -webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s; z-index: 20; float: right;
}
#headwidget p {
    margin: 5px 0;
}
#headwidget div.social {
    float: right; margin: 10px;
}

#headwidget div.social span {
    display: inline-block; margin: 10px;
}
#headwidget div.social a {
    display: inline-block; margin: 10px; font-size:30px; line-height:30px; font-family: icons;
}
#headwidget .widget_search {
    position: absolute; top: 70px; right:70px; width:700px; background: #fff;
}
#headwidget div.widget_search label {
    display: none;
}


#menuelink {display: none; position: absolute; top:65px; right: 5%; margin: 0; padding:4px 5px; z-index: 20; height: 32px; width: 25px; }
#menuelink span { display: block; float: left; width: 100%; height: 4px; background: #db0031; position: absolute; top: 5px; left: 0;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
transition: all 0.2s; transform-origin: center;}
#menuelink span#mlm { top: 13px; }
#menuelink span#mlu { top: 21px; }
#menuelink.open span#mlo {transform: rotate(45deg);translate(7px,8px); -moz-transform: rotate(45deg) translate(7px,8px); transform: rotate(45deg) translate(7px,8px);   }
#menuelink.open span#mlm { display: none;  }
#menuelink.open span#mlu {transform: rotate(-45deg);translate(4px,-4px); -moz-transform: rotate(-45deg) translate(4px,-4px); transform: rotate(-45deg) translate(4px,-4px);  }

#main {
    float: left; width: 100%; margin: 0; padding: 0; min-height: 300px; position: relative; z-index: 9;
}

#titel {
     position: absolute; top: -200px; left: -200px; width: 250px; z-index: 10; background: #d01933; color: #fff; box-sizing: border-box; padding: 20px;  display: flex; align-items: flex-end;
     height: 250px; -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
#titel h1, #titel h2 {
    color: #fff; margin: 10px 0;  font-size: 1.3em;
}
#titel p {
    color: #fff; margin: 10px 0;  font-size: 1.2em; font-weight: 400; text-transform: uppercase;
}
#titel p a {
    color: #fff;
}

#startinfo {
     position: absolute; bottom: 0; left: 5%; width: 90%; z-index: 10;  color: #fff;  padding: 20px 0; text-align: center;
     -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;text-shadow: 0px 0px 5px #000000;
}
#startinfo.iv {
    bottom: 20%;
}

#startinfo h1 {
    color: #fff; margin: 10px 0;  font-size: 2.5em; font-weight: 400; cursor: pointer;
}
#startinfo h1 a {
    color: #fff;
}



footer {
    float: left; width: 100%; margin: 0; padding: 20px 0 0; background:#db0031; text-align: left; border-top: 2px solid #1a171b; color: #fff;
}
.zc {
    margin: 0 auto; width: 100%; max-width: 1260px;
}

#content {
    margin: 0; width: 100%; max-width: 1260px; position: relative; float: left;  min-height:550px;
}
.contentseite div#content {
    max-width: 1160px;
}
.content1, .content1_  {
    float: left; width: 100%; min-height: 100px; padding: 5px 0 25px; position: relative;
}
.content2  {
    float: left; width: 100%; min-height: 100px; padding: 20px 0 25px; position: relative;
}
.content3 {
    float: left; width: 100%; background: #666; margin:20px 0 0; padding: 20px 0 30px; position: relative;
}
.content3::after {
    background: #666;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    right: -100%;
    top: 0;
    width: 100%;
    z-index: 1;
}

.content3::before {
    background: #666;
    content: "";
    display: block;
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.inhalt {
    float: left; width: 92%; padding: 20px 4% 0;
}
#breadcrumbs {
    float: left; width: 92%; padding: 0 4%; margin: 10px 0;
}


#fsidebar {
    float: left; width: 100%; background: #000; padding:0; color: #fff;
    min-height:500px;
    background-position: center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;  background-repeat: no-repeat;
background-image:  linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/museum.jpg');

display: flex; flex-wrap: wrap;align-items: center;
  justify-content: center; height: 100%;
  }
#sidebar {
float: left;
margin: 0 5%; width: 90%;
}
#sidebar .fi {
    font-size: 1.3em; color: #6e6e70; font-weight: 400; margin: 20px 0;
}
#sidebar .fi span {
    font-size: 50px; font-weight: bold;
}
#sidebar #einwohner::before {
 display: block; padding: 20px 0;
  font-family: 'icons';
  text-decoration: none; font-size: 40px;
  content: "\e808"; line-height: 30px;
 }
#sidebar #flaeche::before {
 display: block; padding: 20px 0;
  font-family: 'icons';
  text-decoration: none; font-size: 40px;
  content: "\e83f"; line-height: 30px;
 }


#hauptsidebar {
    float: right; width: 92%; padding: 10px 4%; text-align: center;
}
#hauptsidebar .widget {
display: block; width: 100%; float: left;
}


.wlbutton {
    float: left; width: 100%;
}

.theading h3 {
    text-transform: uppercase; text-align: center;
}
.theading h3 span {
    background: #fff; padding: 5px 10px 2px; display: inline-block; color: #6e6e70;
}

.blogcategory  {
    float: left; width: 102%; margin: 0 0 20px -1%; display: flex; flex-wrap: wrap;
}
.buchcategory {
    float: left; width: 102%; margin: 0 0 20px -1%; display: flex; flex-wrap: wrap;
}
.umnav {
    float: left; width: 100%; margin: 20px 0; text-align: center;
}
.umnav a {
    display: inline-block; padding: 5px; margin: 0 10px;
}

.pageteaser  {
    float: left; width: 94%; margin: 0 3% 20px; display: flex; flex-wrap: wrap;
}
.suche h1 {
    width: 100%; float: left;
}

.suche div.pageinhalt  {
    float: left; width: 102%; margin: 0 0 20px -1%; box-sizing: border-box; display: flex; flex-wrap: wrap;
}


.teaserbox {
    float: left; width:31.33%; margin: 15px 1%; background:#ddd;  box-sizing: border-box; padding: 0 0 40px;
    position: relative;
    background-position: center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;  background-repeat: no-repeat; overflow: hidden;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease;
}

.teaserbox:hover {
    transform: scale(1.02,1.02); box-shadow: 0px 0px 5px 0px #333; background: #eee;
-moz-box-shadow: 0px 0px 5px 0px #333;
-webkit-box-shadow: 0px 0px 5px 0px #333;
}

.teaserbox h2 {
    margin: 10px 0; padding: 0;
    overflow: hidden; font-size: 1.2em;
}
.teaserbox h2 a {

}

.teaserbox div.postinhalt {
   float: left; width: 90%; padding: 10px 5%;
}
.weiterlink {
    position: absolute; left: 0; bottom: 0; width: 100%; text-align: center; padding: 10px; box-sizing: border-box; font-family: 'Quicksand', Arial, sans-serif;
}
.weiterlink a {
color: #fff; padding: 10px 20px; display: inline-block; background: #db0031; border: 1px solid #fff;
}
.weiterlink a:hover {
    background: #666; color: #fff;
}

.buttonlink a {
color: #fff; padding: 10px 20px; display: inline-block; background: #db0031; border: 1px solid #fff; margin: 10px 0;
}
.buttonlink a:hover {
    background: #666; color: #fff;
}
.buttonlink a::before {
 display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.2em;
  content: "\e80c";
}


.blogsingle h1.title {
    text-align: left; border-bottom: 2px solid #6e6e70; font-weight:400;
    padding: 0 0 20px;
}

.blogsingle .postimage {
    float: left; width: 100%; margin: 20px 0; text-align: center;
}
.blogsingle div.postinhalt {
    float: left; width: 100%;
}
figure {
    margin: 0;
}
@media only screen and (min-width: 1160px) {
.titelbild {
    position: absolute; top:-80px; left: 0; width: 25%;
}

#fsidebar {background-attachment: fixed;}

.publikation .postimage {
    float: right; width: 35%; margin: 0 0 20px 5%;
}
}

.fw {
    float: left; padding:10px 4%; width: 25.33%
}
#footwidget {

}
#footwidget div.widget {
    float: left; width: 100%; margin: 0;
}


.copy {
    float: left; width: 90%; margin:20px 0 0; padding:20px 5%; background: #fff; background: rgba(255,255,255,0.8); text-align: center; color: #000;
}


#menu {
    float: right; width:100%; margin:0; text-align: center; padding: 0;
    -webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s; background: #db0031; font-family: 'Quicksand', Arial, sans-serif;
}
.menu-hauptmenue-container {
    position: relative; float: left; width: 100%;
}


@media only screen and (min-width: 1160px) {

header#header {
    margin: 0; position: relative; z-index: 10;
}
header#header.fixiert  {
    padding: 0;
}

.vpg #menu {
 display: block !important;
}


.fixiert #menu {
position: fixed; top: 0; left: 0;box-shadow: 0px 0px 5px 0px #333;
-moz-box-shadow: 0px 0px 5px 0px #333;
-webkit-box-shadow: 0px 0px 5px 0px #333;
}

.fixiert #headwidget {
    display: none;
}

#menu > div { width: 100%; }
.menu-hauptmenue-container { float: right; width: 80%;}

#menu ul#menu-hauptmenue {
    display: flex; flex-wrap: nowrap;
}

.blogsingle {
    float: left; width: 100%; margin: 0;
}

}

#menu ul
{
            float: left;
            margin: 0;
            padding: 0; min-width: 100%;
            list-style-type: none;
}

#menu ul li {
                         display: block;
                         float: left;
                         margin: 0; padding: 0;
                         z-index: 2; position: relative;
}


#menu ul li a {
float: left;
display: block;
font-weight: 400;
color: #fff;
padding: 15px 35px;
margin: 0; height: 20px;text-decoration: none;
text-align: left;
}

#menu ul li a.hakt {
    color:#fff;background: #666;
}

#menu ul li a:hover {
    background: #555;
}
#menu ul li.current-menu-item > a, #menu ul li.current_page_parent > a, #menu ul li.current-page-ancestor > a {
  color: #db0031; background: #eee;
}



#menu ul.sub-menu {
position: absolute;
top:50px; z-index: 5;
left: 0; padding: 10px 0 0;
min-width: 280px;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
width: auto;
opacity: 0;
display: block;
visibility: hidden;
}


#menu ul.sub-menu ul { display: block; position: relative; top: auto !important; left: auto; background: transparent;}

.vpg #menu ul.sichtbar { opacity: 1; top: 40px; visibility: visible; }

#menu ul.sub-menu li {float: left; margin: 0; box-sizing: border-box; width: 100%;}


@media only screen and (min-width: 1160px) {

#menu ul.sub-menu li {width: 100%; float: left; margin: 0; box-sizing: border-box; }
#menu ul.sub-menu li:last-child { border-right: none; }
}



#menu ul.sub-menu li a {
padding: 12px 35px;
margin: 0;
font-size: 0.9em;
border: none;
width:100%;
text-align: left;
height: auto;
background: #eee; background: rgba(234,234,234,0.9);
box-sizing: border-box;
font-weight: 400;
border-bottom: 1px solid #fff;
}

#menu ul.sub-menu li a {
color: #666666;
}

#menu ul.sub-menu li a:hover {
background:  #db0031; color: #fff;

}
#menu ul li ul.sub-menu li.current-menu-item a {
background:  #db0031; color: #fff;
}

#menu ul.sub-menu li ul.sub-menu {
    float: left; width: 100%; padding: 5px 0;
}

#menu ul.sub-menu li ul.sub-menu li {
    float: left; width: 100%; min-height: 5px; border-right: none;
}


#menu ul.sub-menu li ul.sub-menu li a{
   font-weight: 300; font-size: 0.9em;text-transform: none; padding: 10px 5%;
}
#menu ul li ul.sub-menu li.current-menu-item ul.sub-menu li a {
background: transparent; font-weight: 300;
}
#menu ul li ul.sub-menu li.current-menu-item ul.sub-menu li a:hover {
 font-weight: 300;
}
#menu ul li ul.sub-menu li ul.sub-menu li.current-menu-item a {
background: transparent; font-weight: bold;
}

span.qn {display: none; font-family: icons; font-size: 23px; background: #e8e8e8;  background: rgba(231,231,231,0.7);
position: absolute; top: 0; right: 0; z-index: 4; width: 20px; height: 25px; cursor: pointer; padding: 13px; color: #666666; }



footer a {
    color: #fff;
}

footer a:hover {
    color: #ddd;
}
footer h3 {
   color: #fff;font-family: 'Quicksand', Arial, sans-serif;
}

#footer ul
{
            float: left;
            margin: 10px 0 20px;
            padding: 0;
            list-style-type: none; width: 100%;  list-style-type: none;
}

#footer ul li {
                         display: block;
                         float: left; width: 100%;
                         margin: 0; padding: 0;
                         }
#footer ul li a {
    display: block; float: left; padding:5px 20px; font-size: 1.0em; box-sizing: border-box; width: 100%; position: relative;
}

footer ul li a::before {
    display: block; position: absolute; top: 5px; left: 3px;
    padding: 0;
    font-family: 'icons';
    text-decoration: none;
    font-size: 1.1em;
    content: "\e80c";
    line-height: 20px;
}


a {
  color: #db0031; text-decoration: none;
}
a:hover {
  color: #000;
}

#bildcont {
    float: left; width: 100%; position: relative;
}

.bild {
    float: left; width: 100%; min-height: 600px;
    background-position: center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;  background-repeat: no-repeat; position: relative;
 overflow: hidden;
}
.bild2 {
    position: relative; width: 100%;
}

.home div.bild {
    height:820px;
}

.bildtitle { }
#bildcont div.bild {
    width: 95%; margin: 0 5% 0 0;
}


.home div.bild::after {
    right: 80px;
}


#bildad {
    float: left; width: 92%; padding: 15px 4% 10px; color: #fff;
}
.bildbalken {
    float: left; width: 100%; min-height:20px; background:#fff;
}
.bildbalken2 {
    float: left; width: 100%; min-height:240px; background:#fff;
}
.bbwrap {
    width: 100%; position: relative; float: left; margin: 50px 0;
}

.bbwrap .bildbalken {
float: left; width: 100vw; background-position: center center;
background-repeat: no-repeat;
margin: 0;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
height: 100%; position: absolute; top: 0; left: 50%; margin: 0 0 0 -50vw;
}


@media only screen and (min-width: 1160px) { .bbwrap .bildbalken { background-attachment: fixed;} }



.balken {background: #eee; margin: 50px 0 !important; padding: 30px 0 20px; position: relative; float: left; width: 100%;}
.balken::after {
    background: #eee;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    right: -100%;
    top: 0;
    width: 100%;
    z-index: 1;
}

.balken::before {
    background: #eee;
    content: "";
    display: block;
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}


a.totop {
    position: fixed; bottom: 0; right: 5%; font-family: icons; font-size: 1.2em; color: #fff;background: #666a6d; background: rgba(102,106,109,0.8);
    padding: 8px 0; text-align: center; width:40px; z-index: 50;
}
a.totop:hover {
 background:#db0031; color: #fff;
}


input {
    border: 1px solid #999; padding: 10px; background: #fff; width: 200px; font-size: 1.05em; box-sizing: border-box;font-family: 'Montserrat', Arial, sans-serif;
}
select {
    border: 1px solid #999; padding: 10px; background: #fff; width: 200px; font-size: 1.05em;font-family: 'Montserrat', Arial, sans-serif;   ;
}
input:focus {
 border: 1px solid #878787; color: #3b4044;outline: 0 none;
}
textarea {
    border: 1px solid #999; padding: 10px; background: #fff; font-size: 1.05em; font-family: 'Montserrat', Arial, sans-serif;
}
textarea:focus {
 border: 1px solid #878787; color: #3b4044;
}
#searchform input {
    width: 60%;
}

input[type=submit] {
    background: #db0031; color: #fff; cursor: pointer; width: 100px; border: 1px solid #000;
    -webkit-appearance:none;-moz-appearance:none; appearance:none;
}
input[type=submit]:hover {
    background:#eee; color: #000;
}
#searchform [type=submit] {
    width: 35%; box-sizing: border-box;
}

img {
    max-width: 100%; height: auto !important;
}
iframe {
    max-width: 100%;
}

h1 {
    font-weight:400; color:#db0031; font-size: 2.6em; margin: 20px 0 30px; line-height: 1.5em;font-family: 'Quicksand', Arial, sans-serif;
}
.content1 h1:first-child, .content2 h1:first-child {
    border-bottom: 1px solid #ddd; padding-bottom: 10px;
}

h2 {
    font-weight: normal; font-size: 1.6em; margin: 30px 0 20px; line-height: 1.4em; font-family: 'Quicksand', Arial, sans-serif;
}
h2:first-child {
    margin-top: 0;
}
.postinhalt > h2 {
    width: 100%; float: left;
}


h3 {
    font-weight: 400; font-size: 1.3em; margin: 20px 0 10px;
}

p {
    margin: 15px 0; line-height: 1.5em;
}
#content ul li  {
   line-height: 1.5em;
}


hr {
    border: none; width: 100%; height: 1px; margin:40px 0; background: #ccc; float: left;
}

@media only screen and (min-width:1160px) {
.linkanker {
    padding-top: 50px;
}
}

strong, b {
    font-weight: 700;
}

@media only screen and (min-width: 680px) {
div.zs {-webkit-columns: 2; -moz-columns: 2; columns: 2; float: left; width: 100%; margin: 0;
-webkit-column-gap: 30px; -moz-column-gap: 30px; column-gap: 30px;
    }
div.zs p {margin: 0 0 20px;}
}




.galerie.imgo8, .galerie.imgo0 {
    float: left; display: flex; flex-wrap: wrap;width: 100%;
}
.imgo8 figure {
float: left; width:24%; margin: 10px 0.5%; text-align: center;
}
.imgo8 figure img{
max-height: 250px;
}
.imgo0 figure {
float: left; width:49%; margin: 10px 0.5%; text-align: center;
}
.imgo2 figure {
float: left; width:100%; margin: 10px 0;
}

.gofotogalerie {
    float: left; width: 100%; margin: 20px 0;
    display: flex; flex-wrap: wrap;
    }

.gofotogalerie dl {
float: left;
text-align: center;
margin: 10px 1%;
font-size: 0.9em;
width: 31.33%;
}
.gofotogalerie dl img {
max-height: 300px;
}
.gofotogalerie dd {
margin: 0;
padding: 0; line-height: 1.5em;
}

@media only screen and (min-width: 960px) {
.textpic.txto17  {
    float: left; width: 48%; margin: 0 2% 0 0;
}
.galerie.imgo17  {
    float: left; width: 48%; margin: 0 2% 0 0; text-align: center;
}
}




/* == WordPress WYSIWYG Editor Styles == */

.wp-block-table table {
border-spacing: 1px;
}
.wp-block-table table tr td {
    /*! padding: 5px 10px 5px 0; */ vertical-align: top;line-height: 1.5em;
}
.is-style-stripes table tr td {
    padding: 5px;
}


.wp-block-columns, .wp-block-group, .wp-block-gallery {
    float: left; width: 100%;
}
.wp-block-gallery {
    min-height: 500px; margin: 20px 0 !important;
}

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
    margin-top: 0;
    text-align: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
    text-align: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
    text-align: center;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 0.9em;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}
.gallery dl {}
.gallery dt {}
.gallery dd {}
.gallery dl a {}
.gallery dl img {}
.gallery-caption {}

.size-full {}
.size-large {}
.size-medium {}
.size-thumbnail {}

.content1 > h2, .content2 > h2 {
    float: left; width: 100%;
}

.content1 > ul {
    margin: 20px 0; padding: 0 0 0 30px;
}
.content1 > ul li {
    padding: 5px 0;
}

.content1 > ul.wp-block-gallery {
    margin: 0; padding: 0;
}
.wp-block-gallery .blocks-gallery-item figcaption { box-sizing: border-box; }
.content1 > ul.wp-block-gallery  li {
    padding: 0;
}
figcaption {
    line-height: 1.5em;
}
 .wp-block-gallery .blocks-gallery-item figure {
  flex-wrap: wrap;
 }
 .wp-block-gallery .blocks-gallery-item figure img { height: 100% !important; }


.content1.am {
    margin-bottom: 0; padding-bottom: 0;
}

#anmeldung {
    float: left; width: 100%; margin: 0; padding: 0;
}
.anmeldelink {
    display: inline-block; padding: 10px 20px; background: #6e6e70; color: #fff; font-weight: bold;
    border: 1px solid #878787; margin: 10px 0 0;
}
.anmeldelink:hover {
   background: #878787; color: #fff;
}

#main div.wpcf7 {
    float: left; width: 100%; background: #fff; padding: 10px 0; margin: 20px 0;
}
#main #anmeldung div.wpcf7 {
    margin: 0 0 20px;
}
.wpcf7 form {
    margin: 0; float: left; width: 100%; display: flex; flex-wrap: wrap;
}

.wpcf7 div.formfeld {
    float: left; width: 100%;
}
.fspalte { float: left; width: 100%; }
.wpcf7 #bestellung {
    float: left; width: 100%; margin: 20px 0; box-sizing: border-box; padding: 10px; background: #e2e3e5;
}
.wpcf7 #bestellung input, .wpcf7 #bestellung select {
    width: 100px;
}

@media only screen and (min-width: 680px) {
.fspalte {width: 50%;box-sizing: border-box; padding: 0 20px 0 0;}
#bestellung div.formfeld {width: auto; box-sizing: border-box; padding: 0 20px 0 0;}

}

.amltop {
    position: absolute; top: -15px; right: 2%;
}

.wpcf7 form > p {
    float: left; width: 100%; margin: 2px 0;
}

.wpcf7 label {
    float: left; width: 100%; padding: 5px 0;
}

.wpcf7 input {
   box-sizing: border-box; width: 100%;
}
.wpcf7 textarea {
   box-sizing: border-box; width: 100%; height:150px;
}
.wpcf7 input[type=submit] {
  width: 200px;
}

div.wpcf7-validation-errors, div.wpcf7-mail-sent-ok, .wpcf7-response-output  {
    float: left;
}

.wpcf7 form.invalid .wpcf7-response-output::before {
  display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.2em;
  content: "\2757"; color: #ffb900;
}
.wpcf7 form.sent .wpcf7-response-output::before {
  display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.2em;
  content: "\2714"; color: #46b450;
}


.c-accordion__item { float: left; width: 100%;} /* The accordion item container */
h3.c-accordion__title { border-bottom: 1px solid #d2d3d5; padding: 10px 10px; margin-bottom: 10px; background:#eee; } /* An accordion item title */
.c-accordion__title:focus { outline: 0 none; } /* To modify the style when an accordion item title currently has broswer focus */
.c-accordion__content { float: left; width: 100%;} /* An accordion item content container */
.c-accordion__title::after {
    right: 5px !important;
}

.datenschutzfeld {
    float: left; width: 100%; margin: 10px 0;  font-size: 0.9em; line-height: 1.4em;
}
.datenschutzfeld span.wpcf7-list-item-label {
    display: none;
}
.datenschutzfeld  span.wpcf7-list-item {
    display: inline-block;
    margin: 0 1em 0 0;
}



a.extern::before {
 display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.2em;
  content: "\e800";
}

.details {
    float: left; width: 100%; margin: 20px 0 50px; border-top: 2px solid #4083Ad; border-bottom: 2px solid #4083Ad; padding: 10px 0 20px;
}
#detaillink {
    display: inline-block; padding: 10px 20px 7px; background: #6e6e70; color: #fff; font-weight: bold;
    border: 1px solid #878787; margin: 10px 0;text-transform: uppercase;
}
#detaillink:hover {
   background: #878787; color: #fff;
}




.pagination {
  display: block !important;  float: left; width: 98%; margin: 20px 1%; text-align: center; padding: 10px 0; border-top: 1px solid #ddd;
}
.pagination h2 { display: none;}
.pagination a {
    display: inline-block; padding: 3px; margin: 5px;
}
.pagination span.current {
    display: inline-block; padding: 3px; margin: 5px; font-weight: bold;
}
.pagination a.prev::before {
 display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.1em;
  content: "\e80b"; line-height: 20px;
 }
.pagination a.next::after {
 display: inline-block; padding: 0 0 0 10px;
  font-family: 'icons';
  text-decoration: none; font-size: 1.1em;
  content: "\e80c"; line-height: 20px;
 }

 #postnavigation, #pagenavigation {
    display: block !important;  float: left; width: 100%; margin: 20px 0; text-align: center; padding: 10px 0; border-top: 1px solid #ddd;
 }
 #postnavigation > div, #pagenavigation > div {
  float: left; width: 33.33%; padding: 10px 0 0; text-align: center;
 }
 #pagenavigation div.nexlink, #postnavigation div.prevlink  {
     float: right;
 }

 #postnavigation div.prevlink a, #pagenavigation div.prevlink a {
     display: inline-block; padding: 20px;
 }
 #postnavigation div.nexlink a::before, #pagenavigation div.prevlink a::before {
 display: inline-block; padding: 0 10px 0 0;
  font-family: 'icons';
  text-decoration: none; font-size: 1.1em;
  content: "\e80b"; line-height: 20px;
 }

 #postnavigation div.nexlink a, #pagenavigation div.nexlink a {
     display: inline-block; padding: 20px;
 }
 #postnavigation div.prevlink a::after, #pagenavigation div.nexlink a::after {
 display: inline-block; padding: 0 0 0 10px;
  font-family: 'icons';
  text-decoration: none; font-size: 1.1em;
  content: "\e80c"; line-height: 20px;
 }

 .shareandprint {
    margin: 10px 0; text-align: center; padding: 10px 0 0; float: left; width: 100%;
}

.shareandprint a {
    display: inline-block; padding: 4px; font-family: icons; background: #d01933; color: #fff; font-size: 1.2em;
    width: 42px; height: 42px; box-sizing: border-box; margin:1px; text-align: center; line-height: 30px;
     border-radius: 50%; border: 2px solid #fff;
}
.shareandprint a:hover {  color: #000; border: 2px solid #000; }

.subcatnav {
    float: left; width: 98%; margin: 20px 1%;
}
.subcatnav ul {
    float: left; width: 100%; margin: 0; padding: 0; border-bottom: 1px solid #eee; list-style-type: none;
}
.subcatnav ul li {
    float: left; margin: 0 10px 0 0;
}
.subcatnav ul li a {
    display: block; float: left; padding: 10px 20px; border-left: 1px solid #eee; border-top: 1px solid #eee; border-right: 1px solid #eee; box-sizing: border-box; border-top-right-radius: 10px;
-moz-border-radius-topright: 10px;
-webkit-border-top-right-radius: 10px;
}
.subcatnav ul li a:hover { background: #ddd; }
.subcatnav ul li.current-cat a {
    background: #db0031; color: #fff;
}


.post-password-form {
  width: 100%;
max-width: 600px;
margin: 0 auto;
text-align: left;
box-sizing: border-box;
padding: 20px;
box-shadow: 0 0 15px #ccc;
}
.post-password-form label {
    float: left; width: 100%; font-weight: bold;
}
.post-password-form label input { width: 100%; font-weight: normal; }

.post-password-form input[type="submit"] {
  width: 200px;
  margin:10px 0;
}

@media only screen and (max-width: 1560px) {
#titel { top: -180px; left:-4%; width: 200px; padding: 10px;height: 200px;}
#titel h1, #titel h2 { font-size: 1.1em;}
}
@media only screen and (max-width: 1360px) {
#menu ul li a {padding: 15px 30px;}
}

@media only screen and (max-width: 1160px) {

#header { border-bottom: 5px solid #db0031; }
.bild { min-height: 500px; }

#menuelink{  display: block; }
.mobilenav {
    display: none;
}
#menu { width: 100%; margin: 0;
-webkit-transition: none;
-moz-transition: none;
transition: none;}

#menu ul li { width:100%; position: relative; }
span.qn {display: block; }

#menu ul li a {
float: left;
width: 100%;
padding: 15px 5%;
box-sizing: border-box;
height: auto;
border-top: 1px solid #fff;
text-align: center;
}

#menu ul.sub-menu {
position: relative;
top: auto !important; padding: 0 !important;
width: 100%;
-webkit-transition: none;
-moz-transition: none;
transition: none;
display: none;
opacity: 1;
visibility: visible;
}
#menu li ul.sub-menu {
    width: 100% !important;
    -webkit-transition: none;
-moz-transition: none;
transition: none;
}
#menu li ul.sub-menu li {
    min-height: 0 !important;
}
#menu ul.sub-menu li a {
padding: 12px 5%;
font-size: 0.95em;
}
#menu .current-menu-item ul.sub-menu, #menu .current-menu-parent ul.sub-menu {
    display: block;
}
.bildbalken {min-height: 30px;}
}
@media only screen and (max-width: 960px) {

#logocontainer { width: 18%;margin:5px 0 -35px 4%;}
.fw { float: left; width: 42% !important; padding: 0 4% 10px !important;}
#footnav {width: 42%; float: left;}

h1 {font-size: 1.8em;}

div.info-men { width: 100px; }
.info-men ul li a {padding: 10px 5px; height: 80px; overflow: hidden; font-size: 12px;-webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;}
.home div.bild { height:520px;}

.bbwrap { max-height: 300px;}

#headwidget {
    width: 100%; position: absolute; top: 0; right: 0; margin: 0;
}

#headwidget .widget_search {
    top: 60px; right: 0; width:100%; background: #fff;
    box-shadow: 0px 0px 10px 0px #666666;
-moz-box-shadow: 0px 0px 10px 0px #666666;
-webkit-box-shadow: 0px 0px 10px 0px #666666;
}
#headwidget .widget_search form {
    width: 100%; float: left; box-sizing: border-box; padding: 10px;
}

.teaserbox {width:48%; margin: 10px 1%; }

 #postnavigation > div, #pagenavigation > div { width: 100%; }
}
@media only screen and (max-width: 680px) {
.fw {width: 92% !important;}
#footnav {width: 92%;}
.teaserbox {width:98%; margin: 10px 1%; }
.amltop {  display: none; }
#logocontainer { width: 26%;}
.bild { min-height: 400px; }

#hauptsidebar .widget { width: 100%;}

#titel { top: -130px; width: 150px;height: 150px;}
#titel h1, #titel h2 { font-size: 1.0em; -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto; }

#startinfo h1 { font-size: 2.0em;}
.imgo8 figure { width: 49%; }

}

@media only screen and (max-width: 460px) {
#logocontainer { width: 32%; }
.bild { min-height: 300px; }

#searchform input {  font-size: 0.9em;  }
#searchform [type=submit] { font-size: 0.9em;  }
.alignleft, img.alignleft {
	margin-right: 0;max-width: 100%; width: 100% !important;
	}
.alignright, img.alignright {
	margin-left: 0;max-width: 100%; width: 100% !important;
	}


.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
    width: 100% !important;
    }
}