/**
 * 
 * Design und Layout 'abenaa'
 * 
 * 
 * This file gives an overview of the required CSS definitions which
 * needs to be defined for all Website Baker templates added to the 
 * Website Baker addons repository from June 2008 onwards. 
 * 
 * See http://www.w3.org/TR/CSS21/sample.html for the HTML4 
 * default styles applied if nothing else is specified in your stylesheet.
 *
 * To facilitate adaption, you may want to consider separate stylesheets.
 * One for the layout (container for header, footer, content, menu ...),
 * another one for the HTML elements which are shown in the content areas.
 * This can easily be achieved via @import rules
 * 
 * @author     Ines Gesell
 * @copyright  Ines Gesell
 * @license    http://www.gnu.org/licenses/gpl.html
 * @version    1.0
 * @platform   Website Baker 2.8
 *
*/

/* Body und Sideholder    ============================================================================= */
* {
margin:0;
padding:0;
}
html, body{
height:100%;
margin:0;
padding:0;
}
body {
margin : 0 0 0 0;
padding : 0;
font-family: PantonLight;
color : #515151;
background-color : #ffffff;
overflow-x: hidden;
font-size: 1.3em;
line-height: 1.5em;
}
@media only screen and (max-width: 600px) {
h1, #containerbottom li {
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
-khtml-hyphens: auto;
hyphens: auto;
word-break: break-word;
}
}
a {
font-family: PantonBold;
color : #006e82;
transition-property: background;
transition-duration: 1.5s;
-moz-animation-timing-function: cubic-bezier(0.25,0.1,0.25,1);
animation-timing-function: cubic-bezier(0.25,0.1,0.25,1);
-webkit-animation-timing-function: cubic-bezier(0.25,0.1,0.25,1);
}
a:hover {
color : #515151;
}
img {
max-width: 100%;
height: auto;
}
strong {
font-family: PantonSemiBold;
}
.section_anchor {
display: none;
}
#map a { 
color: rgba(225,255,255,0.01);
}
#gmap_canvas img{max-width:none!important;background:none!important}
.immosolve { 
margin: 0 auto;
padding: 0;
max-width: 980px; 
}

/*  SECTIONS     ============================================================================= */
.section {
clear: both;
padding: 0px;
margin: 0px;
}

/*  COLUMN SETUP     ============================================================================= */
.col {
display: block;
float:left;
margin: 0% 0 0% 3.6%;
}
.col:first-child { margin-left: 0; }

@media only screen and (max-width: 1024px) {
.col { 
margin: 1% 1% 1% 1%;
}
}

@media only screen and (max-width: 800px) {
.col:first-child { 
margin-left: 1%; 
margin-right: 1%;
}
}

/*  GROUPING     ============================================================================= */
.group:before,
.group:after {
content:"";
display:table;
}
.group:after {
clear:both;
}
.group {
zoom:1; /* For IE 6/7 */
}

/*  2 BOXEN   ============================================================================= */
.span_2_of_2 {
width: 100%;
}
.span_1_of_2 {
/*  width: 47.2%; */
width: 48.2%;
}
.news {
width: 45.2%;
}

@media only screen and (max-width: 1024px) {
#containerbottom .span_1_of_2 {
width: 98%; 
}
}

@media only screen and (max-width: 800px) {
.span_2_of_2 {
width: 98%; 
}
.span_1_of_2, .news {
width: 98%; 
}
}
/*  3 BOXEN    ============================================================================= */
.span_3_of_3 {
width: 100%;
}
.span_2_of_3 {
width: 64.65%;
}
.span_1_of_3 {
width: 30.75%;
}

@media only screen and (max-width: 800px) {
.span_3_of_3 {
width: 96%; 
}
.span_2_of_3 {
width: 96%; 
}
.span_1_of_3 {
width: 96%;
}
}
/* 4 BOXEN*   ============================================================================= */
.span_4_of_4 {
width: 100%; 
}
.span_3_of_4 {
width: 74.0%; 
}
.span_2_of_4 {
width: 48.0%;
}
.span_1_of_4 {
width: 22.3%; 
}

@media only screen and (max-width: 800px) {
.span_4_of_4 {
width: 98%;
}
.span_3_of_4 {
width: 98%;
}
.span_2_of_4 {
width: 98%;
}
.span_1_of_4 {
width: 98%;
}
}

/*5 BOXEN ============================================================================= */
.span_5_of_5 {
width: 100%;
}
.span_4_of_5 {
width: 76.24%; 
}
.span_3_of_5 {
width: 57.36%; 
}
.span_2_of_5 {
width: 39.04%;
}
.span_1_of_5 {
width: 20.0%;
}

@media only screen and (max-width: 600px) {
.span_5_of_5 {
width: 98%; 
}
.span_4_of_5 {
width: 98%;
}
.span_3_of_5 {
width: 98%;
}
.span_2_of_5 {
width: 98%;
}
.span_1_of_5 {
width: 98%;
}
}

/*6 BOXEN KURZPORTRAIT ============================================================================= */
.span_5_of_6 {
width: 73.00%; 
}
.span_1_of_6 {
width: 19.4%;
padding: 2%;
}
.kurzgreen {
background-color: #006e82;
}
#contentwide .kurzgreen p {
padding: 20pxpx 20px 20px 25px;
}

@media only screen and (max-width: 800px) {
.span_1_of_6, .span_5_of_6 {
width: 98%;
}
}

/*  HAUPTCONTAINER ============================================================================= */
.lightcontainer {
clear: both;
width: 100%; 
font-size: 0.8125em; 
margin: 0 auto;
padding: 0;
max-width: 1360px; 
}	
.grey {
background-color: #006e82;
-webkit-box-shadow: inset 0px -14px 0px 0px rgba(255,255,255,1);
-moz-box-shadow: inset 0px -14px 0px 0px rgba(255,255,255,1);
box-shadow: inset 0px -14px 0px 0px rgba(255,255,255,1);
}
.greybg {
background-color: #dbd9d8;
padding-top: 30px;
padding-bottom: 30px;
-webkit-box-shadow: inset 0px -14px 0px 0px rgba(255,255,255,1);
-moz-box-shadow: inset 0px -14px 0px 0px rgba(255,255,255,1);
box-shadow: inset 0px -14px 0px 0px rgba(255,255,255,1);
}

#navilast {
max-width: 1360px;
margin: 0 auto;
}

#navicontainer, #contentcontainer, #containerbottom {
width: 100%;
}
#contentcontainer {
    position: relative;
    z-index: 1;
width: 100%;
}
@media only screen and (max-width: 1400px) {
.less {
margin: 0 4.0% 0 4.0%;
width: 92%;
}
}
@media only screen and (max-width: 480px) {
.less {
margin: 0 4.0% 0 4.0%;
width: 92%;
}
}
/* SHRINK ============================================================================= */
@media only screen and (min-width: 980px) {
#telmailcontainer {
background-color: #fff;
width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 100002;
overflow: hidden;
-webkit-transition: all 1.9s;
-moz-transition: all 1.9s;
transition: all 1.9s;
}
#navicontainer {
width: 100%;
position: fixed;
text-align: center;
top: 145px;
left: 0;
z-index: 100001;
background-color: none;
-webkit-transition: top 1.2s;
-moz-transition: top 1.2s;
transition: top 1.2s;
pointer-events: none;
}
#navibackground {
margin: 0 auto;
padding: 0 5px 0 5px;
max-width: 1350px; 
background-color: #006e82;
border-top: 4px solid #006e82;
border-bottom: 4px solid #006e82;
-webkit-transition: all 1.9s;
-moz-transition: all 1.9s;
transition: all 1.9s;
pointer-events: auto;
-webkit-box-shadow: 0px 10px 20px -5px #004B58; 
box-shadow: 0px 10px 20px -5px #004B58;
}
#headercontainer {
width: 100%;
position: relative;
text-align: center;
padding: 0;
margin: 185px 0 0 0;
padding: 0 0 0 0;
height: auto;
background-color: #fff;
}
#wgsuche {
z-index: 90000;
height:auto;
position: absolute;
width: 25%; 
max-width: 360px;
top: 50%;
transform: translateY(-50%);
padding: 1% 2.5%;
left: 120px;
background: rgba(0,110,130,0.8);
line-height: 1.5em;
color: #ffffff;
font-size: 0.7em; /* 13 / 16 */
text-align: left;
}
#headercontainer .wgslider {
margin-top: 80px;
}
#headercontainer .lightcontainer {
background-color: #006e82;
height: 14px;
}
#cssmenu.shrink {
border-bottom: none;
}
.header #telmailcontainer.shrink {
height: 0px;
padding-top: 0;
}
.header #navicontainer.shrink {
top:0px;
}
.header #navibackground.shrink {
max-width: 100%; 
}
.header .lightcontainer.shrink {
max-width: 100%; 
}
}

/* HEADERCONTAINER  ============================================================================= */
#headercontainer {
line-height: 0em;
margin-bottom: 0;
height: auto;
}
#headercontainer img {
max-width: none !important;
}
#headercontainer img {
width:100%;
border:none 0;
max-width: none;
padding:0;
margin:0;
}
@media only screen and (min-width: 991px) and (max-width: 1400px) {
#headercontainer {
margin: 225px 0 0 0;
}
#wgsuche {
left: 30px;
width:35%; 
margin-top: -50px;
}
}
@media only screen and (min-width: 990px) and (max-width: 1023px) {
#headercontainer {
margin: 215px 0 0 0;
}
#wgsuche{
width: 45%;
max-width: 999px;
}
}
@media only screen and (max-width : 990px) {
#wgsuche{
display: block;
width: 92%;
max-width: 990px;
padding: 4%;
margin-top: 10px;
background: rgba(0,110,130,1.0);
line-height: 1.5em;
color: #ffffff;
font-size: 0.7em; /* 13 / 16 */
text-align: left;
visibility: visible;
}
}	
/* 9 BOXEN NAVIGATION  ============================================================================= */
@media only screen and (min-width: 822px) {
.telefon  {
display: none;
}
}
.telefon i {
font-size: 1.4em;
color: #ee7768;
}
.telefon span  {
margin: 0 15px 0 15px;
}
@media only screen and (max-width: 480px) {
.telefon span  {
display: block;
margin: 0px;
}
}

@media only screen and (min-width: 981px) {
#telmailcontainer .group, #telmailcontainer .section { display: table; width: 100%;}
#telmailcontainer .col { float: none; display: table-cell; vertical-align: middle; height: 100%; }
#telmailcontainer .span_3_of_9 { display: table-cell; vertical-align: middle; height: 100%; line-height: 0; text-align: left; width: 39.5%%; padding:30px 0 30px 0; }
#telmailcontainer .span_6_of_9 { display: table-cell; vertical-align: middle; height: 100%; text-align: right; width: 56.9%; }
}
@media only screen and (max-width: 980px) {
#telmailcontainer .span_3_of_9, #telmailcontainer .span_6_of_9 { width: 100%; }
#telmailcontainer .span_3_of_9 { text-align: center; padding: 40px 0 0px 0; }
#telmailcontainer .span_6_of_9 { text-align: center; }
}
@media only screen and (max-width: 1370px) {
#telmailcontainer .span_3_of_9 img { padding: 0 20px 0 20px; }
}

/* VIDEONEWS GREEN  ============================================================================= */
#videonews {
color: #ffffff;
font-size: 90%;
line-height: 1.4em;
}
#videonews .video {
line-height: 0em;
}
.green {
background-color: #006e82;
}
.news {
background: url(img/bg_news.png) top center no-repeat;
text-align: center;
}
.news a {
color: #ffffff;
padding-right: 23px;
margin-right: 5px;
background: url(img/arrow.png) 100% 0px no-repeat;
}
.news p {
margin-bottom: 5px;
}
.offer {
background: url(img/bg_key.png) top center no-repeat;
text-align: center;
color: #ffffff;
}
@media only screen and (max-width : 1024px) {
#videonews .video, #startbox .offer  {
border-right: 0px solid #fff;
}
}	

/* CONTAINERBOTTM TEXT  ============================================================================= */
#containerbottom .text {
background: rgba(255,255,255,0.8);
color: #006e82;
font-size: 120%;
font-weight: 400;
padding: 2.0em 2.5em 0.5em 2.5em;
margin: 2.0em 0 2.0em 0;
}
#containerbottom .gross {
font-size: 2.2em;
font-family: PantonPanton;
margin-bottom: 20px;
}
@media only screen and (max-width : 414px) {
#containerbottom .gross  {
font-size: 1.5em;
}
}

#containerbottom ul li{
margin:0 0 25px 0;
padding: 0 0 0 40px;
list-style-type: none;
line-height: 1.4em;
background : url(img/li_bottom.png) no-repeat 0px 12px;
}

/* INHALT   ============================================================================= */
#contentwide {
text-align: left;
}
#contentwide, .contenttext {
padding: 20px 10px 20px 10px;
}
#contentwide p {
clear:both;
}
#contentwide .start {
margin-bottom: 70px;
}
h1 {
font-family: PantonBold;
font-size: clamp(30px, calc(30px + (48 - 30) * ((100vw - 280px) / (1050 - 280))), 48px);
margin : 30px 0 10px 0;
padding : 0 0 0 0;
line-height : 1.1em;
font-weight: 500;
color: #006e82;
}

h2 {
font-family: PantonBold;
font-size: clamp(18.4px, calc(18.4px + (36 - 18.4) * ((100vw - 280px) / (1050 - 280))), 36px);
line-height: 1.3em;
margin : 10px 0 20px 0;
padding : 0 0 0 0;
font-weight: 400;
color: #006e82;
}

h3 {
font-family: PantonBold;
font-size: clamp(16.4px, calc(16.4px + (26 - 16.4) * ((100vw - 280px) / (1050 - 280))), 26px);
line-height: 1.3em;
margin : 5px 0 5px 0;
padding : 0 0 0 0px;
font-weight: 400;
color: #006e82;
}
h4 {
font-family: PantonBold;
font-size: clamp(14.4px, calc(14.4px + (24 - 14.4) * ((100vw - 280px) / (1050 - 280))), 24px);
line-height: 1.4em;
margin : 15px 0 5px 0;
padding : 0 0 0 0px;
font-weight: 400;
color: #006e82;
}
#contentwide ul, #containerbottom ul {
margin : 10px 0 25px 0;
padding : 0;
}
ol {
margin : 25px 0 25px 0px;
  text-align: center;          /* Zentriert den Text */
  list-style-position: inside; /* Setzt die Nummer direkt vor den Text */
  padding-left: 0; 
}
#contentwide ul li{
/*display: inline-block;*/
margin:0 0 15px 0;
padding: 0 0 0 30px;
list-style-type: none;
line-height: 1.5em;
background : url(img/li.png) no-repeat 0px 5px;
}
#contentwide ol li{
margin:0 0 15px 0;
padding: 0 0 0 20px;
line-height: 1.5em;
}
#contentwide ol .links {
margin : 25px 0 25px 0;
padding: 0;
text-align: left;  
}
#contentwide ol li .links {
margin:0 0 15px 0;
padding: 0;
line-height: 1.5em;
}
#contentwide .inner{
margin:0 0 15px 40px;
padding: 0 0 0 30px;
list-style-type: none;
line-height: 1.5em;
background : url(img/inner_li.png) no-repeat 0px 5px;
}
p {
margin-top : 20px;
margin-bottom: 20px;
}
hr {
border-top: 1px solid #dfdfdf;
border-bottom: 1px solid #fff;
margin: 30px 0 30px 0;
width: 100%;
clear: both;
}
hr.style1 {
border-top: 1px solid #dfdfdf;
border-bottom: 1px solid #fff;
margin: 20px 5% 10px 5%;
width: 90%;
clear: both;
}
hr.style2 {
border-top: 1px solid #fff;
border-bottom: 4px dashed #dfdfdf;
margin: 10px 0 15px 0;
width: 100%;
clear: both;
}
hr.style14 { 
border: 0; 
height: 1px; 
width: 50%;
margin: 0px 25% 20px 25%;
background-image: -webkit-linear-gradient(left, #f0f0f0, #006e82, #f0f0f0);
background-image: -moz-linear-gradient(left, #f0f0f0, #006e82, #f0f0f0);
background-image: -ms-linear-gradient(left, #f0f0f0, #006e82, #f0f0f0);
background-image: -o-linear-gradient(left, #f0f0f0, #006e82, #f0f0f0); 
}
hr.style7 {
border-top: 1px solid #006e82;
border-bottom: 1px solid #fff;
margin: 20px 25% 20px 25%;
width: 50%;
}
hr.style8 {
border-top: 1px solid #006e82;
border-bottom: 1px solid #fff;
margin: 15px 0 15px 0;
width: 100%;
}
hr.count-hr{
border-top: 1px solid #006e82;
border-bottom: 7px solid #ee7567;
margin: 20px 60% 20px 0;
width: 40%;
}
@media only screen and (max-width: 480px) {
hr.count-hr{
display: none;
}
}
hr.count-full {
border-top: 1px solid #006e82;
border-bottom: 7px solid #ee7567;
margin: 20px 0 20px 0;
width: 100%;
}
/*  HEADER RECHTS: SUCHE + GRAFIK ================================================ */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}
@media only screen and (max-width: 1400px) {
.header-right {
	 padding-right: 30px;
}
}
/*  SUCHE ======================================================================== */
.search-box {
    background: #006e82;
    height: 36px;
    border-radius: 36px;
    padding: 8px;
    display: flex;
    align-items: center;
    margin: 0;
}
/* Suchfeld beim Überfahren / Fokus einblenden */
.search-box:hover .search-text,
.search-box:focus-within .search-text {
    width: 236px;
    padding: 0 6px;
}
/* Button beim Überfahren / Fokus einfärben */
.search-box:hover .search-btn,
.search-box:focus-within .search-btn {
    background: #fff;
    color: #006e82;
}
/* Suchbutton */
.search-btn {
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #006e82;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    cursor: pointer;
    text-decoration: none;
    border: none;
    outline: none;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
}
/* Lupe */
.search-btn > i {
    font-size: 26px;
}
/* Eingabefeld */
.search-text {
    border: none;
    background: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    font-weight: normal;
    line-height: 36px;
    width: 0;
    padding: 0;
    transition: width 0.4s, padding 0.4s;
    overflow: hidden;
}
/* Platzhalter */
.search-text::placeholder {
    color: rgba(255,255,255,.6);
}
/*  GRAFIK ================================================================ */
.header-image {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.header-image img {
    width: 100%;
    height: auto;
    display: block;
}

/*  MOBILE ======================================================================= */
/* Unter 800px: Suche und Grafik mittig */
@media (max-width: 800px) {
    .header-right {
        width: 100%;
        justify-content: center;
        padding-right: 0;
        gap: 20px;
    }
}
@media (max-width: 450px) {
    .search-box {
        display: none;
    }
    .header-right {
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }
    .header-image {
        width: 150px;
    }

}
/* Suchseite - nicht volle Breite */
.search-page-box {
    display: inline-flex;
    width: auto;
	margin-bottom: 40px;
}
/*  ACCESSIBILITY ================================================================ */
.a11y-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
/*  SUCHE SEPARAT ============================================================================= */
.searchbutton {
cursor:pointer;
width: 100%;
border:none;
background: #006e82;
color:#fff;
margin:0 0 0 20px;
padding: 10px;
border-radius:5px;
}
.searchfield {
border: 1px solid #d4d4d4;
color : #color : #515151;;
padding: 7px;
margin-right: 15px;
}
/*  FOOTER 4 BOXEN   ============================================================================= */
#footer {
clear: both;
width: 100%;
padding: 2.0em 0 0 0;
margin: 40px 0 0 0;
color: #fff;
background: #006e82;
}
#footernavi {
width: 100%;
padding: 0 0 0 0;
margin: 0 0 0 0;
background-color : #ee7768;
color: #fff;
}
.footertext {
padding: 12px 0 5px 0;
}
#footer .footertext {
padding: 50px 0 30px 0;
}
#footer h2 {
color: #ffffff;
font-weight: 300;
}
.footertext p {
margin: 10px 0 20px 0;
}
#footer .footertext a {
color: #94d1d1;
font-weight: 600;
}

.footertext .copy {
text-align: left;
}

@media only screen and (max-width: 800px) {
#footer {
line-height: 1.3em;
text-align: center;
}
.footertext .copy {
text-align: center;
}
}

/*  FOOTERNAVI  ============================================================================= */
#footernavi ul {
margin: 0 0 10px 0;
padding: 0 0 0 0;
text-align: right;
}

#footernavi ul li {
list-style : none;
display: inline-block;
padding: 0 0 0 0;
margin: 0 0 0 0;
background: none;
}

#footernavi li a {
display : inline-block;
color: #fff;
padding: 4px 10px 4px 10px;
margin: 5px 0 0 0;
font-weight: 600;
}

#footernavi li a:hover, #footernavi .menu-current a, #footernavi .menu-parent > a {
background-color: #006e82;
color: #fff;
}

@media only screen and (max-width : 800px) {
#footernavi ul, #footernavi {
text-align: center;
}
#footernavi ul li {
float: none;
display:block;
}
#footernavi ul a {
border-right: none;
}
#footernavi ul .menu-first {
border-left: none;
}
}

/*  FORMULAR  ============================================================================= */
#footer .span_2_of_4 {
background-color: #006e82;
width: 40.0%;
padding: 30px 4% 0 4%;
}

@media only screen and (max-width : 800px) {
#footer .span_2_of_4 {
width: 90%;
}
}

/* Links    ============================================================================= */
a {
text-decoration : none;
border : none;
}
a img {
border : 0 none;
}
.div_link  {
margin: 30px 0 20px 0;
}
.div_link a {
background-color: #006e82;
color: #ffffff;
font-size: 0.9em;
font-family: PantonLight;
padding: 12px 35px 8px 35px;
}
.div_link a:hover {
background-color: #ee7768;
}

/* Schriften    ============================================================================= */
.fett {
font-family: PantonBold;
}
.gruen {
color: #006e82;
font-weight: 600;
}
.klein {
font-size: 0.8em;
}
.mittig {
text-align: center;
}
.rechts {
text-align: right;
}
.upper {
text-transform: uppercase;
}
.links {
text-align: left;
}
.gross {
font-size: 1.4em;
font-weight: 400;
line-height : 1.1em;
}
.grossgreen {
font-size: 1.4em;
font-weight: 400;
line-height : 1.1em;
color: #006e82;
}
.rot {
font-weight: 700;
color: #ff0000;
}
.zahl {
font-size: 1.2em;
font-weight: 400;
color: #006e82;
}
#contentwide .zahlcenter {
display: table;
height: 7em;
text-align: center;
}
#contentwide .zahlcenter p, #contentwide .zahlcenter h2 {
display: table-cell;
vertical-align: middle;
margin: 0;
padding: 0;
}
#contentwide .zahlcenter h2 {
color: #ffffff;
font-weight: 600;
line-height: 1.5em;
}

/* ÜBER DIE WGG EG  ============================================================================= */
#mehralsgewohnt{
border-top: 1px dashed #c5c6c6;
margin-top: 30px;
padding-top: 20px;
}

#mehralsgewohnt .gross {
text-align: right;
padding-right: 95px;
font-size: 1.4em;
font-weight: 700;
line-height : 1.1em;
color: #006e82;
min-height: 40px;
background : url(img/arrow_yellow.png) no-repeat 100% 10px;
}

@media only screen and (max-width: 800px) {
#mehralsgewohnt .gross {
text-align: left;
}
}

#mehralsgewohnt .section {
border-bottom: 1px dashed #c5c6c6;
margin-bottom: 20px;
}

#contentwide .tabelle p {
margin: 0;
padding: 10px 20px 10px 20px;
line-height: 1.4em;
}

.tabelle p:nth-child(2n) {
background-color: #edecec;
border-bottom: 1px solid #fff;
}

.tabelle p:nth-child(2n+1) {
background-color: #c5c6c6;
border-bottom: 1px solid #fff;
}

.tabelle p:nth-child(2) {
border-top: 1px solid #fff;
}

/*  3 BOXEN Downloadgalerie */
.span_3_of_down {
width: 69.0%;
text-align: left;
}
.span_2_of_down {
width: 17.0%;
padding-bottom: 20px;
font-size: 0.8em;
text-align: right;
}
.span_1_of_down {
width: 6.6%;
text-align: left;
}
.span_non_of_down {
width: 47.5%;
text-align: left;
}
#contentwide .span_3_of_down a {
font-weight: 700;
color: #515151;
transition-property: color;
transition-duration: 2.0s;
-moz-animation-timing-function: cubic-bezier(0.25,0.1,0.25,1);
animation-timing-function: cubic-bezier(0.25,0.1,0.25,1);
-webkit-animation-timing-function: cubic-bezier(0.25,0.1,0.25,1);
}
#contentwide .span_3_of_down a:hover {
color: #006e82;
}

/*  2 BOXEN Downloadgalerie Mieterzeitung */
.span_mietimg_of_down {
width: 14.0%;
padding-bottom: 20px;
font-size: 0.8em;
}
.span_miettext_of_down {
width: 28.0%;
}

@media only screen and (max-width: 800px) {
.span_mietimg_of_down {
width: 48.0%;
}
.span_miettext_of_down {
width: 48.0%;
}
#contentwide .span_mietimg_of_down img {
min-width: 100%;
text-align: center;
}
#contentwide .span_mietimg_of_down:nth-child(2n+1) {
clear: both;
margin-left: 0;
}
}

@media only screen and (max-width: 420px) {
.span_mietimg_of_down, .span_miettext_of_down {
width: 96.0%;
}
#contentwide .span_mietimg_of_down img {
min-width: 100%;
text-align: center;
}
#contentwide .span_miettext_of_down img {
display: none;
}
}

/* TEAM MITARBEITER ============================================================================= */
#team .col:nth-of-type(4n+5) {
clear: both;
margin-left: 0;
}
#team img {
width: 100%;
height: auto;
margin-top: 20px;
}
#team p {
margin: 0 0 4px 0;
}
#team .name {
color: #006e82;
font-weight:600;
font-size: 1.4em;
}
#team .function {
font-style: italic;
font-size: 1.0em;
font-weight:400;
}
#team .dep {
font-weight:600;
font-size: 1.1em;
padding: 0 0 10px 0;
}
#team .room {
padding: 10px 0 0 22px;
background : url(img/teamroom.png) 0px 16px no-repeat;
border-top: 1px dashed #515151;
}
#team .room:before {
content: "Zimmer: ";
}
#team .tel{
padding-left: 22px;
background : url(img/teamtel.png) 0px 8px no-repeat;
}
#team a {
font-weight:400;
font-size: 0.75em;
padding-left: 22px;
background : url(img/teammail.png) 0px 3px no-repeat;
}
#team .wow {
-webkit-animation-delay: 0.1s; 
animation-delay: 0.1s;
}
#team .wow:nth-child(2n) {
-webkit-animation-delay: 0.3s; 
animation-delay: 0.3s;
}
#team .wow:nth-of-type(3n) {
-webkit-animation-delay: 0.2s; 
animation-delay: 0.2s;
}
#team .wow:nth-of-type(4n) {
-webkit-animation-delay: 0.5s;
animation-delay: 0.5s;
}
#team .wow:nth-of-type(5n) {
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}
@media only screen and (max-width: 800px) {
#team .span_1_of_4 {
width: 48%; 
}
#team .col:nth-of-type(2n+3) {
clear: both;
margin-left: 0;
}
}
@media only screen and (max-width: 414px) {
#team .span_1_of_4 {
width: 98%; 
}
}
#sort_ref ul {
padding: 0 0 0 0;
margin: 2% 0 2% 0;
}
#sort_ref ul li {
float: left;
width: 20.0%; 
margin: 0% 0% 30px 0%;
padding-left: 0;
font-size: 1.0em;
list-style-type: none;
background-image : none;
text-align: left;
}
@media only screen and (max-width: 1024px) {
#sort_ref ul li {
width: 25.0%; 
}
}
@media only screen and (max-width: 999px) {
#sort_ref ul li {
width: 33.33333%; 
}
}
@media only screen and (max-width: 768px) {
#sort_ref ul li {
text-align: center;
width: 100.0%; 
}
}
.selected-group-title {

margin: 0% 0% 30px 0%;
}
/* ============================================================================================================================
== TRIANGLE
** ============================================================================================================================ */
.triangle {
  position:relative;
  padding:20px;
  margin:20px 0 30px;
  background: #ededed;
  -webkit-border-radius:15px;
  -moz-border-radius:15px;
  border-radius:15px;
}
.triangle:after {
  content:"";
  position:absolute;
  top:-28px;
  left:50px;
  border:15px solid transparent;
  border-bottom-color:#ededed;
  display:block;
  width:0;
}

/* BUTTON NACH OBEN ============================================================================= */
.cd-top {
display: inline-block;
height: 40px;
width: 40px;
position: fixed;
bottom: 40px;
right: 10px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
overflow: hidden;
text-indent: 100%;
white-space: nowrap;
background: rgba(0, 110, 130, 1.0) url(img/cd-top-arrow.svg) no-repeat center 50%;
visibility: hidden;
opacity: 0;
-webkit-transition: opacity .3s 0s, visibility 0s .3s;
-moz-transition: opacity .3s 0s, visibility 0s .3s;
transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
-webkit-transition: opacity .3s 0s, visibility 0s 0s;
-moz-transition: opacity .3s 0s, visibility 0s 0s;
transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
visibility: visible;
opacity: 1;
}
.cd-top.cd-fade-out {
opacity: .7;
}
.no-touch .cd-top:hover {
background-color: #006e82;
opacity: 1;
}
@media only screen and (min-width: 768px) {
.cd-top {
right: 20px;
bottom: 20px;
}
}
@media only screen and (min-width: 1024px) {
.cd-top {
height: 60px;
width: 60px;
right: 30px;
bottom: 30px;
}
}

/* FOTOGALERIE ============================================================================= */
#fotogallery{
text-align: center;
}
.container .gallery {
text-align: center;
margin-top: 30px;
}
.container .gallery img {
margin: 0.5%;
width: 19.0%;
height: auto;
}

@media only screen and (max-width: 1024px) {
.container .gallery img {
width: 28%;
height: auto;
}
}

@media only screen and (max-width: 800px) {
.container .gallery img {
width: 45%;
height: auto;
}
}

@media only screen and (max-width: 420px) {
.container .gallery img {
margin: 0.1%;
width: 98.0%;
height: auto;
}
}
.container .gallery a img, .masonry .brick a img {
  -webkit-transition: -webkit-transform .15s ease;
  -moz-transition: -moz-transform .15s ease;
  -o-transition: -o-transform .15s ease;
  -ms-transition: -ms-transform .15s ease;
  transition: transform .15s ease;
  position: relative;
}

#fotogallery .wow {
-webkit-animation-delay: 0.2s; /* Safari 4.0 - 8.0 */
animation-delay: 0.2s;
}

#fotogallery .wow:nth-child(2n) {
-webkit-animation-delay: 1.2s; /* Safari 4.0 - 8.0 */
animation-delay: 1.2s;
}

#fotogallery .wow:nth-of-type(3n) {
-webkit-animation-delay: 0.4s; /* Safari 4.0 - 8.0 */
animation-delay: 0.4s;
}

#fotogallery .wow:nth-of-type(4n) {
-webkit-animation-delay: 1.0s; /* Safari 4.0 - 8.0 */
animation-delay: 1.0s;
}
#fotogallery .wow:nth-of-type(5n) {
-webkit-animation-delay: 1.2s; /* Safari 4.0 - 8.0 */
animation-delay: 1.2s;
}


/*** Effekt Bilder damals / heute ***/
.flip-container {
-webkit-perspective: 1000;
-moz-perspective: 1000;
-ms-perspective: 1000;
perspective: 1000;

-ms-transform: perspective(1000px);
-moz-transform: perspective(1000px);
-moz-transform-style: preserve-3d; 
-ms-transform-style: preserve-3d; 
}

/* START: Accommodating for IE */
.flip-container:hover .back, .flip-container.hover .back {
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
transform: rotateY(0deg);
}

.flip-container:hover .front, .flip-container.hover .front {
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
transform: rotateY(180deg);
}

/* END: Accommodating for IE */
#contentwide .front p, #contentwide .back p {
margin-top : 15px;
margin-bottom: 0px;
font-size: 0.9em;
}
.flip-container  {
width: 100%;
min-height: 405px;
}


@media only screen and (max-width: 1200px) {
.flip-container, .front, .back {
min-height: 350px;
}
}
@media only screen and (max-width: 414px) {
.flip-container, .front, .back {
min-height: 370px;
}
}
@media only screen and (max-width: 375px) {
.flip-container, .front, .back {
min-height: 350px;
}
}

.flipper {
-webkit-transition: 1.2s;
-webkit-transform-style: preserve-3d;
-ms-transition: 1.2s;
-moz-transition: 1.2s;
-moz-transform: perspective(1000px);
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
transition: 1.2s;
transform-style: preserve-3d;
position: relative;
}

.front, .back {
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
backface-visibility: hidden;

-webkit-transition: 1.2s;
-webkit-transform-style: preserve-3d;
-webkit-transform: rotateY(0deg);

-moz-transition: 1.2s;
-moz-transform-style: preserve-3d;
-moz-transform: rotateY(0deg);

-o-transition: 1.2s;
-o-transform-style: preserve-3d;
-o-transform: rotateY(0deg);

-ms-transition: 1.2s;
-ms-transform-style: preserve-3d;
-ms-transform: rotateY(0deg);

transition: 1.2s;
transform-style: preserve-3d;
transform: rotateY(0deg);

position: absolute;
top: 0;
left: 0;
}

.front {
-webkit-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
z-index: 2;
text-align: center;
}

.back {
-webkit-transform: rotateY(-180deg);
-moz-transform: rotateY(-180deg);
-o-transform: rotateY(-180deg);
-ms-transform: rotateY(-180deg);
transform: rotateY(-180deg);
text-align: center;

}

/* vertical */
.vertical.flip-container {
position: relative;
}

.vertical .back {
-webkit-transform: rotateX(180deg);
-moz-transform: rotateX(180deg);
-ms-transform: rotateX(180deg);
transform: rotateX(180deg);
}

.image-captcha {
font-size: 40px;
color: #fff;
}








/* Genos Card */
#genos-card  {
line-height: 1.3em;
}
#genos-card i {
color: #ee7768;
}
.image-left-green, .image-left-red, .image-left-brown {
margin: 1em 0;
}
#genos-card span {
padding: 0.6em 1.25em 1.0em 1.25em;
font-size: 0.75em;
font-weight: 600;
min-width: 215px;
}
#genos-card img {
max-width: 100%;
height: auto;
}

@media (min-width: 20em)
{
/* #genos-card  img {
padding: 0.5em 1.25em 0.5em 1.25em;
float: left;
} */
.image-left-green, .image-left-red, .image-left-brown {
display: flex;
align-items: center;
padding:  0 20px 0 0;
}
.image-left-green {
background-color: #eff7f9;
border-left: 70px solid #50bcbd;
}
.image-left-red {
background-color: #fbdad1;
border-left: 70px solid #ee7768;
}
.image-left-brown {
background-color: #dedadb;
border-left: 70px solid #97918e;
}
/* clearfix for fallback */
.image-left-green::after, .image-left-red::after, .image-left-brown::after {
content: "";
display: block;
clear: both;
}
}

@media (min-width: 30em)
{
#genos-card  img {
flex-shrink: 0;
}
}
@media (max-width: 480px)
{
#genos-card {
text-align: center;
}
#genos-card  img {
float: none;
}
.image-left-green, .image-left-red, .image-left-brown {
display: block;
align-items: center;
padding: 20px;
}
.image-left-green {
border-left: none;
border-top: 40px solid #50bcbd;
}
.image-left-red {
border-left: none;
border-top: 40px solid #ee7768;
}
.image-left-brown {
border-left: none;
border-top: 40px solid #97918e;
}
}

/* SOCIAL BUTTONS ------------------------------------------------- Copyright (c) 2023 by Code Wren (https://codepen.io/codewren/pen/dNEWab) --------*/
.wrapper {
margin: 0 auto 30px auto;
padding: 0;
width: 100%;
max-width: 1360px;
  display: inline-flex;
  align-items: left;
  justify-content: left;
  text-align: left;
}
i {
  padding: 0px 4px 0px 4px;
}
.wrapper i:nth-child(1) {
	background: -webkit-linear-gradient(top, #47bcbc, #ee7567);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
  cursor: pointer;
  transition: all ease-in-out 150ms;
}

.wrapper i:nth-child(1):hover {
  margin-top: -10px;
  text-shadow: 0px 1px 1px rgba(238, 119, 104, 1.0);
  transform: translate(0, -8);
}
.wrapper i:nth-child(2) {
  color: #fff;
  cursor: pointer;
  transition: all ease-in-out 150ms;
}
.wrapper i:nth-child(2):hover {
  margin-top: -10px;
  text-shadow: 0px 1px 1px rgba(238, 119, 104, 1.0);
  transform: translate(0, -8);
}

/*  SIDEMENU ICONS   */
.side-menu {
    width:14em;
    height: auto;
    margin:18.8em auto 0;
    font-size: 0.8em;
    line-height: 2.0em;
    color: #fff;
    font-weight:300;
    position:fixed;
    top:0; 
    bottom:0;
    right: -10em;
	z-index: 1000000;
}
.side-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.side-menu ul li {
  display:block;
    background-color: #006e82;
    height: 2em;
    padding: 1em 4.5em;
	margin-bottom: 1px;
    position: relative;
    -webkit-transition: -webkit-transform 0.5s,     background-color .5s, color .5s;
    transition: transform .5s, background-color .5s, color .5s;
border: 1px solid #fff;
}
.side-menu ul li:nth-child(4), .side-menu ul li:nth-child(5) {
    background-color: #7ed9da;
}
.side-menu ul li a {
  display:block;
    color: #FFF;
    text-decoration: none;
}
.side-menu ul li:nth-child(4) a, .side-menu ul li:nth-child(5) a {
    color: #006e82;
}
.side-menu ul li:hover {
    background-color: #ed796a; 
    -webkit-transform: translateX(-10em);
    transform: translateX(-10em);/*equal to left in the .side-menu*/
}
.side-menu ul li:nth-child(4):hover a, .side-menu ul li:nth-child(5):hover a {
    color: #fff!important; /* überschreibt den Hover */
}
.side-menu ul li span {
    display:block;
    position: absolute;
    font-size:1.6em;
    line-height: 2.5em;
    height:2em;
    top:0; 
    bottom:0;
    margin:0 auto;
    padding:0.0em 0.1em 0.0em 0.4em;
    left: 0.16666666666667em;
}

@media only screen and (max-width: 1450px) {
.side-menu {
line-height: 1.2em;
margin: 14.5em auto 0;
}
.side-menu ul li {
height: 1.2em;
}
.side-menu ul li span {
font-size:1.2em;
line-height: 2.9em;
padding:0.0em 0.1em 0.0em 0.9em;
}
}
@media only screen and (max-width: 820px) {
.side-menu {
display: none;
}
}

