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

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

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

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

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

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

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




.slick {
    width: calc(100% + 1rem);
    margin-left: -0.5rem;
    position: relative;
}

.slick-slide img {
    width: 100%;
    height: auto;
}

.slick-slide a {
    padding: 0.5rem;
    display: block;
}

.slick-prev:before, .slick-next:before { color: black !important;}

.fancybox-bg { background: #000 !important; }

.fancybox-thumbs {
  top: auto !important;
  width: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 95px !important;
  padding: 10px 10px 5px 10px !important;
  box-sizing: border-box !important;
  background: rgba(0, 0, 0, 0.3) !important;
}

.fancybox-show-thumbs .fancybox-inner {
  right: 0 !important;
  bottom: 95px !important;
}

ul.galerie {
    display: flex;
    list-style: none;
}

ul.galerie li {
    display: block;
    width: 20%;
    margin-right: 5%;
}

ul.galerie a img {
    display: block;
    width: 100%;
}

ul.objekte {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

ul.objekte li {
    width: 29%;
    margin-right: 6.5%;
    margin-bottom: 6.5%;
    position: relative;
    background: #eee;
    display: block;
}

ul.objekte li:nth-child(3n) {
    margin-right: 0;
}

ul.objekte li > a {
    display: block;
}

ul.objekte li > a:hover {
    color: #000;
}

ul.objekte li > a div.image {
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    position: relative;
    overflow: hidden;
}

ul.objekte li > a div.image .status {
    position: absolute;
    width: 40%;
    background: rgba(245,245,245,0.8);
    transform: rotate(-45deg) translateX(-50%) translateY(-50%);
    transform-origin: left top;
}

ul.objekte li > a div.image .status > span {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    display: block;
}

ul.objekte li > a div.image .status > span > span {
    display: flex;
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    top: 0.25rem;
    bottom: 0.25rem;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 130%;
    font-size: 0.65rem;
    letter-spacing: 0.05rem;
    color: #CB2307;
}

ul.objekte li > a div.image > span {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    overflow: hidden;
}

ul.objekte li > a div.image > span img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.2s ease-out;
}

ul.objekte li > a:hover div.image > span img {
    transform: scale(1.1);
}

ul.objekte li > a div.text {
    padding: 0.5rem 1rem 4rem;
}

ul.objekte li > a div.text .info {
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
}

ul.objekte li > a div.text .infos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 0.75rem;
}

ul.objekte li > a div.text h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

ul.objekte li > a div.text .infos > div {
    width: 45%;
    line-height: 130%;
    margin-bottom: 0.5rem;
}

ul.objekte li > a div.text .button {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: #00243b;
    text-align: center;
    color: #fff;
    padding: 0.4rem 0;
    line-height: 100%;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.8rem;
    transition: background 0.2s ease-out;
}

ul.objekte li > a:hover div.text .button {
    background: #003f66;
}



ul.objekte li > a .clickarea {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
}




.beschreibung {
    position: relative;
}

.beschreibung > div {
    display: flex;
    position: relative;
    justify-content: space-between;
}
/*
.beschreibung:before {
    content: '';
    display: block;
    width: 1px;
    top: 0;
    bottom: 0;
    right: 17.5%;
    background: #000;
    position: absolute;
}
*/
.beschreibung > div > div:nth-child(1) {
    width: 80%;
}

.beschreibung > div > div:nth-child(2) {
    width: 16.5%;
    background: #f0ede2;
    padding: 0.75rem;
    box-sizing: border-box;
}

.beschreibung > div > div:nth-child(2) > div {
    margin-bottom: 1rem;
}

.subhead.objekt {
    font-size: 1rem;
    position: relative;
}
/*
.subhead.zzz:before {
    content: '';
    display: block;
    position: absolute;
    left: 30rem;
    right: 30rem;
    bottom: -1rem;
    height: 1px;
    background: #000;
}
*/

.fakten {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.fakten > div {
    margin: 0 1rem;
    text-align: center;
   /* font-size: 1rem; */
}

.content.objekt .beschreibung {
    width: 70%;
    margin: 0 auto;
    text-align: justify;
}

.content.objekt h2 {
    letter-spacing: 0.05rem;
    font-size: 1.45rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.content.objekt table {
    display: table;
    margin: 0 auto;
}

.content.objekt table td:first-child {
    padding-right: 1rem;
}


.spacer {
    height: 1px;
    background: #eee;
    margin: 7.5rem auto;
}

.ccbutton {
    display: inline-block;
    position: relative;
    padding: 0.35rem 0.75rem;
    font-size: 0.9rem;
    color: #fff;
    text-align: center;
    cursor: pointer;
    background: #707e85;
    
  left: 50%; 
  transform: translateX(-50%);
}

.ccbutton:hover {
    background: #00243b;
    color: #fff;
}

* {
    padding: 0px;
    margin: 0px;
    border-spacing: 0px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@-ms-viewport {
    width: device-width;
}


.hidden {
    display: none;
}

html {
    height: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 20px;
}

body {
    font-family: 'overpass', sans-serif;
    font-weight: 400;
    line-height: 130%;
    margin: 0px 0px 0px 0px;
    color: #000;
    position: relative;
    height: 100%;
    overflow-y: scroll;
    background: #fff;
    

}

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

a:hover {
    color: #00243b;
}

img {
    font-size: 0;
    display: block;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 500;
}

.uppercase {
    text-transform: uppercase;
}

.small, small {
    font-size: 0.7rem;
}

.fullwidth {
    display: block;
    width: 100%;
    height: auto;
}

sup {
    vertical-align: top;
    position: relative;
    top: -0.5em;
}


#wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: auto;
    min-height: 100%;
    overflow: hidden;
    max-width: 2560px;
    padding-bottom: 30rem;
}

#header {
    left: 0;
    right: 0;
    width: 100%;
    height: 5.5rem;
    position: fixed;
    z-index: 99990;
    background: #fff;
    border-bottom: 1px solid #c5a685;
}

#inner_header {
    width: calc(100% - 5rem);
    height: 5.5rem;
    margin: 0 auto;
    position: relative;
}

#header #logo {
    position: absolute;
    left: 0;
    height: 3.7rem;
    top: 0.9rem;
    width: auto;
}


#topmenu {
    width: auto;
    position: absolute;
    right: 0;
    height: 5.5rem;
    padding-top: 2.5rem;
    box-sizing: border-box;
}

#topmenu img {
    display: block;
    width: 1.3rem;
    height: auto;
    position: relative;
    top: 0.25rem;
}


#topmenu #infobar {
    position: absolute;
    top: 0;
    right: -2.5rem;
    left: -1.5rem;
    height: 1.5rem;
    background: #eee;
    padding-left: 3rem;
    padding-right: 2.5rem;
    font-size: 0.75rem;
    line-height: 1.5rem;
    color: #000;
}

#topmenu #infobar .claim {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    display:  none;
}

#topmenu #infobar a, #topmenu #infobar a:hover {
    color: #000;
}

#topmenu #infobar > div > div {
    display: flex;
    justify-content: flex-end;
}

#topmenu #infobar:after {
    content: '';
    display: block;
    position: absolute;
    border-style: solid;
    border-width: 1.6rem 0 0 1.6rem;
    border-color: transparent transparent transparent #fff;
    left: 0;
    top: 0;
}

#topmenu #infobar > div > div > div img {
    display: inline-block;
    height: 0.9rem;
    width: auto;
    vertical-align: middle;
    position: relative;
    top: -0.1rem;
    margin-right: 0.15rem;
}


#topmenu ul {
    list-style: none;
    display: flex;
    height: 2rem;
}

#topmenu ul li {
    margin-left: 2rem;
    height: 2rem;
}

#topmenu ul li a {
    display: block;
    color: #000;
    height: 2rem;
    line-height: 2rem;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#topmenu ul li a span {
    display: none;
}

#topmenu ul li a:hover, #topmenu ul li.active a {
    color: #cb2307;
}

#topmenu ul li a:hover img, #topmenu ul li.active a img {
    filter: invert(16%) sepia(48%) saturate(5944%) hue-rotate(2deg) brightness(104%) contrast(95%);
}


.slider {
    width: 100%;
    height: 0;
    padding-bottom: 31%;
    overflow: hidden;
    background: #cecece;
    margin-bottom: 4rem;
    margin-top: 5.5rem;
    position: relative;
}

.slider .fullwidth {
    width: 100%;
    height: auto;
}

section {
    padding-bottom: 6rem;
    scroll-margin-top: 12em;
}

section#kontakt {
    padding-bottom: 0;
}

section#footer {
    padding-bottom: 0;
}


.content {
    position: relative;
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
    text-align:  left;
    font-size: 0.9rem;
}






h1, h2.likeh1 {
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 500;
    line-height: 130%;
    margin-bottom: 0.5rem;
    color: #000;
    position: relative;
    text-align: center;
    letter-spacing: 0.15rem;
}

.img_text h2.likeh1 {
    text-align: left;
}



    h2 {
   
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 130%;
        margin-bottom: 0.75rem;
        color: #000;
    }

    h3 {
        font-size: 1.3rem;
        font-weight: 400;
        line-height: 130%;
        margin-bottom: 0.5rem;
        color: #000;
    }

    h4 {
        font-size: 1rem;
        font-weight: 400;
    }




.subhead {
    text-align: center;
    font-size: 1.5rem;
    line-height: 150%;
}

.img_text .subhead {
    text-align: left;
}

.lilhead {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.rowhighlight {
    background: #f0ede2;
    padding: 3rem 0;
    margin: 6rem 0;
}

.rowhighlight.grey {
    background: #eee;
}

.rowhighlight.no_margin {
    margin: 0;
}

.text_centered {
    width: 70%;
    margin: 0 auto;
    text-align: center;        
}

ul.list {
    list-style: none;
}

ul.list.clms {
    column-count: 3;
}

ul.list li {
    position: relative;
    padding-left: 0.75rem;
    box-sizing: border-box;
    text-align: left;
    line-height: 160%;
    margin-bottom: 0.5rem;
}

ul.list.clms li {
    
   padding-right: 2rem;
   display: inline-block;
   width: 100%;
}

ul.list li:before {
    content: '';
    position: absolute;
    background: #00243b;
    width: 0.25rem;
    height: 0.25rem;
    left: 0;
    top: 0.5rem;
}


ul.grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

ul.grid.mieten_kaufen {
    margin-bottom: -3.5%;
}

ul.grid li {
    width: 29%;
    margin-right: 6.5%;
    margin-bottom: 1.25%;
    margin-bottom: 1.25%;
    position: relative;
    display: block;

}

ul.grid.mieten_kaufen li {
    margin-bottom: 3.5%;
}


ul.grid.clm2 li {
    width: 46.75%;
}

ul.grid.clm2 li:nth-child(2n) {
    margin-right: 0;
}

ul.grid li:nth-child(3n) {
    margin-right: 0;
}

ul.grid li > a, ul.grid li > div.nolink {
    display: block;
    outline: none;
}

ul.grid li > a div.image, ul.grid li > div.nolink div.image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
}

ul.grid.clm2 li > a div.image, ul.grid.clm2 li > div.nolink div.image, ul.grid.neubauprojekte li > a div.image, ul.grid.neubauprojekte li > div.nolink div.image {
    padding-bottom: 60%;
}

ul.grid li > a div.image > span, ul.grid li > div.nolink div.image > span {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    overflow: hidden;
}

ul.grid li > a div.image > span img, ul.grid li > div.nolink div.image > span img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.2s ease-out;
}

ul.grid li > a:hover div.image > span img, ul.grid li > a.active div.image > span img {
    transform: scale(1.1);
}


ul.grid li > a div.text, ul.grid li > div.nolink div.text {
    position: relative;
    padding: 1.5rem 0.25rem 0.75rem;
    line-height: 160%;
    text-align: center;
    color: #000;
    font-size: 0.85rem;
}

ul.grid li > a div.text:after {
    content: 'Mehr erfahren';
    text-transform: uppercase;
    display: block;
    letter-spacing: 1px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1rem;
    color: #00243b;
    pointer-events: none;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: 0.2s ease-in;
    font-size: 0.75rem;
}

ul.grid.neubauprojekte li > a div.text:after, ul.grid.neubauprojekte.mieten_kaufen li.projekt > a div.text:after {
    content: 'Zum Projekt';
}

ul.grid.neubauprojekte.mieten_kaufen li > a div.text:after {
    content: 'Exposé ansehen';
}

ul.grid.neubauprojekte.mieten_kaufen.text_anzeige li > a div.text:after {
    content: 'Zur Anzeige';
}

ul.grid li > a:hover div.text:after, ul.grid li > a.active div.text:after {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

ul.grid li > a:hover div.text, ul.grid li > a.active div.text {
    color: #000;
}

ul.grid li > a div.text strong, ul.grid li > div.nolink div.text strong {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

ul.grid.mieten_kaufen li .image.vermietet:after, ul.grid.mieten_kaufen li .image.verkauft:after, ul.grid.mieten_kaufen li .image.reserviert:after, ul.grid.mieten_kaufen li .image.alle_haeuser_verkauft:after {
    content: '';
    display: block;
    position: absolute;
    left: -1px;
    right: -1px;
    top: -1px;
    bottom: -1px;
    background-size: cover;
}

ul.grid.mieten_kaufen li .image.vermietet:after {
    background-image: url(../images/vermietet.svg);
}

ul.grid.mieten_kaufen li .image.verkauft:after {
    background-image: url(../images/verkauft.svg);
}

ul.grid.mieten_kaufen li .image.reserviert:after {
    background-image: url(../images/reserviert.svg);
}

ul.grid.mieten_kaufen li .image.alle_haeuser_verkauft:after {
    background-image: url(../images/alle_haeuser_verkauft.svg);
}

ul.img_text {
    list-style: none;
}

ul.img_text li > a, ul.img_text li > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ul.img_text li a:hover {
    color: #000;
}

ul.img_text li div.image {
    width: 48.5%;
}

ul.img_text li div.image > span {
    display: block;
    width: 100%;
    padding-bottom: 60%;
    height: 0;
    overflow: hidden;
}

ul.img_text li div.image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.2s ease-out;
}

ul.img_text li a:hover div.image img {
    transform: scale(1.1);
}

ul.img_text li div.text {
    width: 45%;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    align-items: center;
    position: relative;
}

ul.img_text li div.text:after {
    content: 'Mehr erfahren';
    text-transform: uppercase;
    display: block;
    letter-spacing: 1px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2rem;
    color: #00243b;
    pointer-events: none;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: 0.2s ease-in;
    font-size: 0.75rem;
}


ul.img_text li > a:hover div.text:after {
    opacity: 1;
    transform: translateY(0);
}





.kontakt {
    display: flex;
}

.kontakt > div:first-child {
    width: 40%;
}

.kontakt > div:last-child {
    width: 60%;
}



.bfQuickMode .bfbs5-nonform-control, .bfQuickMode .nonform-control {
	display: block !important;
}

.bfQuickMode .form-inline .form-group, .bfQuickMode .form-inline label, .bfQuickMode .bfbs5-form-inline .bfbs5-form-group, .bfQuickMode .bfbs5-form-inline label {
	display: block !important;
	margin-right: 0 !important;
}




input, textarea {
    border: none;
    font-family: 'overpass', sans-serif;
    font-size: 0.9rem;
    color: #000;
    padding: 0.25rem 0;
    width: 100% !important;
    box-sizing: border-box;
    max-width: 100% !important;
    outline: none;
    background: #fff;
    font-weight: 400;
}

textarea#ff_elem20 {
    height: 9rem;
}

.bfElemWrap {
    position: relative;
    margin-bottom: 2rem !important;
}

#bfElemWrap20 {
    margin-bottom: 0.5rem;
}

.bfElemWrap label {
    position: absolute;
    top: 0px;
    pointer-events: none;
    transition: transform 0.3s ease-out;
    transform-origin: left top;
    width: 100% !important;
    max-width: 100% !important;
}



#bfElemWrap5 label.focus, #bfElemWrap18 label.focus, #bfElemWrap19 label.focus, #bfElemWrap20 label.focus {
    transform: scale(0.75) translateY(-2rem);
}

.bfElemWrap > div {
    position: relative;
    width: 100%;
}



#bfElemWrap5 > div:before, #bfElemWrap18 > div:before, #bfElemWrap19 > div:before, #bfElemWrap20 > div:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 1px;
    background: #000;
    transition: transform 0.5s linear;   
    transform-origin: left;
}

#bfElemWrap5 > div.focus:before, #bfElemWrap18 > div.focus:before, #bfElemWrap19 > div.focus:before, #bfElemWrap20 > div.focus:before {
    transform: scaleX(1);
    transform-origin: right;
}



#bfElemWrap5 > div:after, #bfElemWrap18 > div:after, #bfElemWrap19 > div:after, #bfElemWrap20 > div:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 1px;
    background: #00284d;
    transition: transform 0.5s linear;   
    transform-origin: right;
    transform: scaleX(0);
}

#bfElemWrap5 > div.focus:after, #bfElemWrap18 > div.focus:after, #bfElemWrap19 > div.focus:after, #bfElemWrap20 > div.focus:after {
    transform: scaleX(1);
    transform-origin: left;
}

#bfElemWrap20 > div:before, #bfElemWrap20 > div:after {
    bottom: -3px;
}

#bfLabel25 {
    line-height: 120%;
    padding-left: 1.15rem;
    box-sizing: border-box;
    text-align: left;
    pointer-events: auto;
    position: relative;
}

#bfLabel25 a {
    color: #000;
}


.bfPage .form-inline {
    position: relative;
}

#bfElemWrap25 input {
    width: auto !important;
    position: absolute;
    top: 0.25rem;
    left: 0;
}



button#bfSubmitButton {
    float: left;
    margin-top: 0;
    display: block;
    position: relative;
    padding: 0.35rem 0.75rem 0.2rem;
    font-size: 0.9rem;
    color: #fff;
    text-align: center;
    overflow: hidden;
    font-family: 'overpass', sans-serif;
    cursor: pointer;
    border: none;
    background: #707e85;
}

button#bfSubmitButton:hover {
    background: #00243b;
}





#footer {
    height: 26rem;
    background: #707e85;
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
}

#footer a {
    color: #fff;
}

#footer > div.custom {
    width: 1400px;
    height: 20rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 3rem 0;
    font-size: 0.8rem;
    line-height: 160%;
}

#footer > div.custom strong {
    font-size: 0.9rem;
    text-transform: uppercase;
}

#footer > div.custom .logo {
    display: block;
    width: 15rem;
    margin-bottom: 1.5rem;
}

#footer > div.custom .logo_adi {
    display: block;
    width: 10rem;
    margin: 0.4rem 0 0.5rem;
}

#footer > div.custom .logo_oeoo {
    display: block;
    width: 6rem;
    margin-top: 0.4rem;
}

#footer > div.custom .siegel {
    display: block;
    width: 8rem;
}

#footer > div.custom > div:nth-child(1) {
    width: 15rem;
    font-size: 0.8rem;
}

#footer > div.custom .small {
    line-height: 150%;
}





@media(max-width: 2000px) {

    html {
        /* font-size: 18.57px; */
    }

    .content {
        max-width: 1300px;
    }
    
#footer > div.custom {
    width: 1300px;
}
    
}

@media(max-width: 1700px) {

    html {
        /* font-size: 17.14px; */
    }

    .content {
        max-width: 1200px;
    }
    
#footer > div.custom {
    width: 1200px;
}
    
}

@media(max-width: 1680px) {

    #topmenu ul li {
        margin-left: 1.5rem;
    }
    
    #topmenu ul li a {
        font-size: 0.79rem;
    }
    
    #inner_header {
        width: calc(100% - 3.5rem);
    }
    
}

@media(max-width: 1540px) {

    #header #logo {
        height: 3.5rem;
        top: 1rem;
    }

    #topmenu img {
        width: 1.1rem;
        top: 0.35rem;
    }

    #topmenu ul li {
        margin-left: 1.3rem;
    }
    
    #topmenu ul li a {
        font-size: 0.77rem;
    }
    
    #inner_header {
        width: calc(100% - 3rem);
    }
    
}


@media(max-width: 1440px) {

    html {
        font-size: 17.8px;
    }

    .content {
        max-width: 1080px;
    }
    
    #footer > div.custom {
        width: 1080px;
    }

}

@media(max-width: 1300px) {
    
    #topmenu ul li {
        margin-left: 1.2rem;
    }
    
    #topmenu ul li a {
        font-size: 0.75rem;
    }

}


@media(max-width: 1260px) {

    html {
        font-size: 15.1px;
    }

    .content {
        max-width: 918px;
    }
    
    #topmenu ul li {
        margin-left: 1rem;
    }
    
    #topmenu ul li a {
        font-size: 0.7rem;
    }
    
    #footer > div.custom {
        width: 918px;
    }

}






@media(max-width: 1000px) {

    ul.objekte li {
        width: 46.75%;
    }

    ul.objekte li:nth-child(3n) {
        margin-right: 6.5%;
    }
    
    ul.objekte li:nth-child(2n) {
        margin-right: 0;
    }
    
    
    
    .content.objekt .beschreibung {
        width: 80%;
    }
    
    
    .content.objekt h2 {
        font-size: 1.35rem;
    }
    
    .spacer {
        height: 1px;
        background: #eee;
        margin: 5rem auto;
    }



    .hd_tbpt {
        display: none;
    }
    
    .sh_tbpt {
        display: block !important;
    }


    #wrapper {
        padding-bottom: 120px;
        overflow: hidden;
    }
    
    
   #webpage  {
        transform: translateX(0);
        transition: transform 0.3s ease-in;
        position: relative;
    }

    #webpage.menu_active {
        transform: translateX(300px); 
    }
    
    #inner_header {
        transform: translateX(0);
        transition: transform 0.3s ease-in; 
    }
    
    #inner_header.menu_active {
        transform: translateX(300px); 
    }
    
    #footer  {
        transform: translateX(0);
        transition: transform 0.3s ease-in;
    }
    
    #footer.menu_active {
        transform: translateX(300px); 
    }

    #webpage_overlay, #footer_overlay, #header_overlay {
        position: absolute;
        z-index: 60;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: rgba(255,255,255,0.5);
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACAQMAAABIeJ9nAAAABlBMVEUAAAD///+l2Z/dAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjaGBwAAABxADBSUUqSQAAAABJRU5ErkJggg==');
        transition: opacity 0.3s ease-in, visibility 0s 0.3s; 
        visibility: hidden;
        opacity: 0;
    }

    #webpage_overlay.menu_active, #footer_overlay.menu_active, #header_overlay.menu_active  {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.3s ease-in, visibility 0s 0s; 
    }
    
    #menu {
        background: #707e85;
        position: fixed;
        width: 300px;
        padding: 30px;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 9999999;
        transform: translateX(-300px);
        transition: transform 0.3s ease-in;
        box-sizing: border-box;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        display: block !important;
    }

    #menu.menu_active {
        transform: translateX(0); 
    }
    
    #rmenu {
        position: absolute;
        left: 40px;
        top: 22px;
        z-index: 9999999999999999;
        height: 40px;
        cursor: pointer;
        line-height: 38px;
        display: block !important;
        font-size: 17px;
    }

    #rmenu #rmenu_icon {
        display: block;
        width: 40px;
        height: 2px;
        background: rgba(0,36,59,1);
        position: relative;
        top: 19px;
        left: -60px;
        transition: background 0s 0.15s;
    }

    #rmenu.menu_active #rmenu_icon {
        background: rgba(0,36,59,0);
    }

    #rmenu #rmenu_icon:before {
        content: '';
        display: block;
        position: absolute;
        width: 40px;
        height: 2px;
        background: rgba(0,36,59,1);
        position: absolute;
        top: -12px;
        transition: top 0.15s ease-in 0.15s, transform 0.15s ease-in 0s;
    }

    #rmenu_trigger {
        cursor: pointer;
        display: inline-block;
        padding-left: 60px;
    }
    
    #rmenu #rmenu_icon:after {
        content: '';
        display: block;
        position: absolute;
        width: 40px;
        height: 2px;
        background: rgba(0,36,59,1);
        position: absolute;
        top: 12px;
        transition: top 0.15s ease-in 0.15s, transform 0.15s ease-in 0s;
    }
    
    #rmenu.menu_active #rmenu_icon:before {
        top: 0px;
        transition: top 0.15s ease-in 0s, transform 0.15s ease-in 0.15s;
        transform: rotate(135deg);
    }

    #rmenu.menu_active #rmenu_icon:after {
        top: 0px;
        transition: top 0.15s ease-in 0s, transform 0.15s ease-in 0.15s;
        transform: rotate(-135deg);
    }

    #menu ul {
        list-style: none;
        width: 100%;
        margin: 0;
    }

    #menu ul li {
        width: 100%;
        border-bottom: 1px dotted rgba(255,255,255,0.3);
        margin: 0;
        position: relative;
    }
    
    #menu ul li img {
        display: none;
    }

    #menu ul li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    #menu ul li a {
        color: #fff;
        line-height: 130%;
        display: block;
        padding-top: 10px;
        padding-bottom: 9px;
        font-size: 20px;
    }

    #menu ul li a:before {
        content: '';
        display: block;
        position: absolute;
        left: -35px;
        top: 17px;
        width: 5px;
        height: 5px;
        background: #fff;
    }

    #menu ul li.current a:before, #menu ul li a:hover:before {
        left: 0;
    }

    #menu ul li.current a, #menu ul li a:hover {
        padding-left: 15px;
    }
    

    #header {
        height: 85px;
        overflow: hidden;
    }

    #inner_header {
        width: 100%;
        height: 85px;
    }

    #header #logo {
        height: 61px;
        top: 11px;
        right: 40px;
        left: auto;
    }



    #topmenu {
        display: none;
    }


    .slider {
        margin-top: 85px;
        padding-bottom: 50%;
        margin-bottom: 60px;
    }

    .slider .ls-bottom-nav-wrapper {
        display: none !important;
    }






    .content {
        max-width: calc(100% - 80px);
    }




    ul.grid li {
        width: 30%;
        margin-right: 5%;
    }

    ul.grid.clm2 li {
        width: 47.5%;
    }






    
    ul.img_text li > a, ul.img_text li > div {
        display: block;
    }

    ul.img_text li div.image {
        width: 100%;
        margin-bottom: 30px;
    }

    ul.img_text li div.text {
        width: 100%;
    }

    #footer {
        height: 50px;
    }

    #footer > div.custom {
        width: 100%;
        height: 50px;
        padding: 0;
        justify-content: center;
        align-items: center;
    }





    #footer > div.custom > div:nth-child(1), #footer > div.custom > div:nth-child(2), #footer > div.custom > div:nth-child(3), #footer > div.custom > div:nth-child(4) {
        display: none;
    }
    
    #footer > div.custom > div:nth-child(5) {
        display: block !important;
    }


}



@media(max-width: 780px) {

    .hd_smpt, .hd_smls {
        display: none;
    }

    .sp_nomb {
        margin-bottom: 0;
    }

    #rmenu {
        left: 30px;
        top: 17px;
    }

    #rmenu #rmenu_icon {
        left: 0;
    }

    #rmenu_trigger {
        display: block;
        padding-left: 0;
    }
  
    #header {
        height: 75px;
        overflow: hidden;
    }

    #inner_header {
        width: 100%;
        height: 75px;
    }

    #header #logo {
        height: 50px;
        top: 13px;
        right: 30px;
    }


    .slider {
        margin-top: 75px;
        margin-bottom: 40px;
    }

    section {
        padding-bottom: 70px;
    }




    .content {
        max-width: calc(100% - 60px);
    }


    ul.list.clms {
        column-count: 1;
    }



    .kontakt {
        display: block;
    }

    .kontakt > div:first-child {
        width: 100%;
    }

    .kontakt > div:last-child {
        margin-top: 50px;
        width: 100%;
    }

}

@media(max-width: 680px) {


    ul.objekte li {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 10%;
    }
    
    .content.objekt h1 {
        font-size: 1.5rem;
    }

    .content.objekt .beschreibung {
        width: 90%;
        text-align: center;
    }
    
    .subhead.objekt {
        font-size: 0.8rem;
    }
    

    .fakten {
        flex-wrap: wrap;
    }
    
    .fakten > div {
        width: 50%;
        padding: 0 3%;
        margin: 0;
        margin-top: 0.5rem;
        box-sizing: border-box;
    }
    
    .fakten > div:nth-child(1), .fakten > div:nth-child(2) {
        margin-top: 0;
    }
    
    .content.objekt table td {
        display: block;
        text-align: center;
    }
    
    
    .content.objekt table td:first-child {
        padding-right: 0;
    }
    
    .content.objekt table td:last-child {
        margin-bottom: 0.5rem;
    }

    

    #menu ul li a {
        color: #fff;
        line-height: 130%;
        display: block;
        padding-top: 10px;
        padding-bottom: 9px;
        font-size: 17px;
    }

    .text_centered {
        width: 100%;    
    }

    ul.grid li {
        width: 100%;
        margin-right: 0%;
        margin-bottom: 15%;
    }
    
    ul.grid.clm2 li {
        width: 100%;
    }

    ul.grid li:nth-child(3n) {
        margin-right: 0;
    }

    ul.grid li:nth-child(2n) {
        margin-right: 0;
    }

    ul.grid li:last-child {
        margin-bottom: 0;
    }



}


@media(max-width: 480px) {


    #webpage.menu_active {
        transform: translateX(270px); 
    }

    #inner_header.menu_active {
        transform: translateX(270px); 
    }
    
    #footer.menu_active {
        transform: translateX(270px); 
    }
    
    #rmenu {
        left: 25px;
    }
    
    #header #logo {
        right: 25px;
    }
    
    #menu {
        width: 270px;
        transform: translateX(-270px);
        padding: 20px;
    }

    .content {
        max-width: calc(100% - 50px);
    }

}
