body {
    background: url("../Images/bg.png") repeat-y scroll center center #898989;
    font-family: Tahoma, Arial, Helvetica, Verdana, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #424242;
    overflow-y: scroll;
}

h1 {
  font-size: 25px;
  font-weight: bold;
  padding-bottom:25px;
  line-height: 25px;
}

h2 {
  font-size:14px;
  font-weight: bold;
  padding-bottom: 8px;
}

a {
  color: #AC4343;  
}

a:hover {
  text-decoration: none;
}


#inhalt p a {
  background: #ac4343;
  padding: 2px;
  color: #dddddd;
  text-decoration: none;
}

#inhalt a:hover {
  text-decoration: underline;
}


p {
  margin-bottom: 20px;
}

b {
  font-weight: bold;
}

i {
  font-style: italic;
}

.clearer {
  clear: both;
  overflow:hidden;
}

#wrapper {
  margin: 0 auto;
  width: 750px;
}

#head{
    background-image: url(fileadmin/bilder/header/|);
    height: 285px;
    background-repeat: no-repeat;
}


#head #logo {
  background: url("../Images/logo.png");
  background-repeat: no-repeat;
  height: 250px;
  behavior: url(iepngfix.htc);
}

#head #metanavi {
  background: #ac4343;
  line-height: 35px;
  height: 35px;
  width: 710px;
  color: #FFF;
}

#head #metanavi ul {
  text-align: right;  
  padding-right: 10px;
}

#head #metanavi li {
  display: inline;
  padding-left: 10px;
}

#head #metanavi li a {
  font-family: Arial, Helvetica, Tahoma, Sans-serif;
  font-size: 12px;
  color: #FFF;
  text-decoration: none;
  padding-right: 10px;
}

#head #metanavi li a:hover {
  text-decoration: underline;
}

#head #metanavi .act a {
  text-decoration: underline;
}

#bottom #menu {
  font-family: Arial, Helvetica, Tahoma, Sans-serif;
  width: 169px;
  background: #ac4343;
  padding-bottom: 150px;
  float: left;
}

#bottom #menu ul {
  padding: 0 20px 0 20px;
}

#bottom #menu ul li {
  font-size: 15px;
  line-height: 18px;
  border-bottom: 1px solid #b66262;
  padding: 10px 0px 10px 14px;
    transition: padding-left 0.1s ease-in-out;
  
} 

#bottom #menu li a{
  padding-left: 0px;
   color: #ffffff;
  text-decoration: none;
}

#bottom #menu li:hover {
  padding-left: 20px;
    background: url("../Images/icn_menu.gif") no-repeat scroll 7px 15px transparent;
}

#bottom #menu .act a {
  text-decoration: underline;
}

#bottom #content {
  background: #FFF;
  width: 581px;
  float: left;
}

#bottom #content ul {
  margin-left: 16px;
  margin-bottom: 20px;
}

#bottom #content ul li{
    background: url("../Images/icn_list.gif") no-repeat scroll 0 6px transparent;
    line-height: 16px;
    margin: 8px 0;
    padding-left: 11px;
}

#bottom #content #inhalt {
  padding: 50px 40px 50px 40px;
}


#bottom #footer {
  background: #4c4c4c;
  text-align: center;
  padding: 20px;
  color: #a1a1a1;
}
#bottom #footer p {
  margin-bottom: 0px;
}

#bottom #footer a {
  color: #FFF;
  text-decoration: none;
}

#bottom #footer a:hover {
  text-decoration: underline;
}

/*###RAHMEN###*/


/* Hoher Teaser*/
.frame-custom-103 {
  width: 160px;
  margin-right: 10px;
  float: left;
  background: url(../Images/hoher_teaser.png);
  background-repeat: no-repeat;
  margin-bottom: 33px;
}

.frame-custom-103 p {
  margin-bottom: 0;
}


.frame-custom-103 img {
  margin-bottom: 0;
}
.frame-custom-103 .ce-bodytext a, .frame-custom-104 .ce-bodytext a {
  display: block;
  color: #dddddd;
  padding: 8px 0 8px 20px !important;
  text-decoration: none;
}

.frame-custom-103 .ce-bodytext a:hover {
  text-decoration: underline;
}

/* Hoher Teaser: Letzter in der Reihe*/

.frame-custom-104 {
  width: 160px;
  float: left;
  background: url(../Images/hoher_teaser.png);
  background-repeat: no-repeat;
  margin-bottom: 33px;
}

.frame-custom-104 p {
  margin-bottom: 0;
}

.frame-custom-104 img {
  margin-bottom: 0;
}

.frame-custom-104 .ce-textpic a:hover {
  text-decoration: underline;
}

/* Eigener Rahmen 1 */

.frame-custom-20 {
  border-bottom: 1px solid #a1a1a1;
    margin-bottom: 33px;
}

/* Eigener Rahmen 2 */

.frame-custom-21 {
  border: 1px solid #c6c6c6;
  background: #ffffff;
  background-image: url(../Images/frame-2.png);
  background-repeat: no-repeat;
  padding: 15px;
  margin-bottom: 20px;
}

.frame-custom-21 p {
  margin-bottom: 0;
}

/* Breiter Teaser */

.frame-custom-105 {
  border-bottom: 1px solid #a1a1a1;
    margin-bottom: 33px;
}

.frame-custom-105 p a {
  background: #ac4343;
  padding: 2px;
  color: #dddddd;
  text-decoration: none;
}

.frame-custom-105 a:hover {
  text-decoration: underline;
}

.frame-custom-106 {
	float: left;
	width: 218px;
	padding: 10px 10px 0px;
	margin-right: 10px;
	margin-bottom: 10px;
	background: #FFF;
	font-size: 11px;
	border: 1px solid #e3e3e3;
	min-height:160px; 
	height:auto !important; 
	height:160px;
	background: #f3f3f3;
}
.frame-custom-106 p{
	margin-bottom: 10px;
}

.frame-custom-106 .detail{
	color: green;
	font-weight: bold;
}

.frame-custom-106 img {
	margin: 0;
}

.map-click {
    position: relative;
}

.map-click:hover .map-click__hover {
    display: block;
}

.map-click.active .map-click__iframe {
    display: block;
}

.map-click.active .map-click__preview,
.map-click.active .map-click__hover {
    display: none;
}

.map-click__preview {
    background-repeat: no-repeat;
    background-size: cover;
    height: 330px;
    background-position: center;
    background-image: url('../Images/map.png');
}

.map-click__hover {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: #fff;
    cursor: pointer;
}

.map-click__hover {
    display: none;
}

.map-click__content {
    width: 300px;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.map-click__header {
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
}

.map-click__text {
    font-size: 18px;
    line-height: 24px;
}

.map-click__iframe {
    display: none;
    max-width: 100%;
}

.frame-type-form_formframework form {
    margin-bottom: 15px;
}

.frame-type-form_formframework label {
    display: block;
    font-weight: bold;
    font-size: 11px;
    width: auto;
    float: none;
}

.frame-type-form_formframework .form-group {
    margin-bottom: 10px;
}

.frame-type-form_formframework input[type='text'] {
    display: block;
    width: 385px;
    font-size: 12px;
    border: 1px solid #DAD6C7;
    padding: 5px;
}

.frame-type-form_formframework input[type='text']:focus {
    border: 1px solid #AFA8A8;
}

.frame-type-form_formframework textarea {
    display: block;
    width: 385px;
    font-size: 12px;
    border: 1px solid #DAD6C7;
    padding: 5px;
    min-height: 100px;
}

.frame-type-form_formframework textarea:focus {
    border: 1px solid #AFA8A8;
}

.frame-type-form_formframework .form-check-label {
    display: flex;
    align-items: flex-start;

}

.frame-type-form_formframework .form-check-label .add-on {
    margin-right: 15px;
}

.frame-type-form_formframework button[type='submit'] {
    background: none repeat scroll 0 0 #AC4343;
    color: #DDDDDD;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 15px;
    width: auto;
    border: 0;
}

.frame-type-form_formframework button[type='submit']:hover {
    background: #C16464;
    color: #fff;
}

#frontpage-popup-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

#frontpage-popup-content img {
    max-width: 100%;
    height: auto;
}

#frontpage-popup-content .mfp-close {
    position: absolute;
    bottom: 20px;
    width: auto;
    top: auto;
    left: 50%;
    transform: translate(-50%,0);
    background: #ac4343;
    color: #fff;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1;
    opacity: 1;

}

#frontpage-popup-content .mfp-close:hover {
    opacity: .7;
}


@media screen and (min-width: 821px) {
    #bottom #content .mobile-metanav, .mobile-toggler {
        display: none;
    }
}

@media screen and (max-width: 820px){
    * {
        box-sizing: border-box;
    }

    body {
        font-size: 15px;
        line-height: 22px;
    }

    #wrapper {
        width: auto;
    }

    #logo img{
        max-width: 300px;
        height: auto;
        margin-top: -60px;
        padding: 0 20px;
    }

    #head #metanavi {
        display: none;
    }

    #head {
        height: auto;
    }

    #bottom #content {
        width: auto;
        float: none;
    }

    #bottom #content #inhalt {
        padding: 30px 20px;
    }

    #bottom #menu {
        width: auto;
        padding-bottom: 0;
    }

    #bottom #menu ul {
        padding: 0;
    }

    .frame-custom-103 {
        float: none;
        margin: 0 auto 30px;
    }

    .frame-custom-104 {
        float: none;
        margin: 0 auto 30px;
    }

    #bottom #menu {
        float: none;
        max-height: 0;
        overflow: hidden;
        transition: .3s max-height cubic-bezier(0,1,0,1);
    }

    #bottom #menu ul li {
        padding: 0;
    }

    #bottom #menu li a {
        padding: 10px 20px;
        display: block;
        font-size: 18px;
        line-height: 25px;
    }

    #bottom #menu.open {
        max-height: 3000px;
        transition: .3s max-height cubic-bezier(1,0,1,0);
    }

    .frame-custom-103 .ce-bodytext a, .frame-custom-104 .ce-bodytext a {
        padding-left: 10px !important;
    }

    .frame-custom-103 .ce-gallery, .frame-custom-104 .ce-gallery {
        margin-bottom: 0;
    }

    #inhalt .ce-textpic .ce-gallery {
        float: none;
    }

    .mobile-toggler {
        display: flex;
        font-size: 28px;
        color: white;
        justify-content: center;
        background-color: #ac4343;
        padding: 10px 20px;
        align-items: center;
        border-bottom: 1px solid #b66262;
    }

    .mobile-toggler img {
        max-width: 29px;
        height: auto;
        margin-left: 10px;
    }

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

    .mobile-metanav a {
        color: white;
    }

    #bottom #content .mobile-metanav ul li {
        background: none;
        padding-left: 5px;
    }

    #bottom #content .mobile-metanav ul li:first-child {
        display: none;
    }

    #bottom #content .mobile-metanav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 14px;
        margin: 20px 0 0;
    }

    #bottom #content .mobile-metanav {
        display: block;
    }

    .ce-intext.ce-right .ce-gallery {
        margin-left: 0;
    }

    .ce-intext.ce-left .ce-gallery {
        margin-right: 0;
    }

}