@font-face {
    font-family: 'sanuktf';
    src: url("data:font/woff;base64,<?= base64_encode(file_get_contents($_SERVER['DOCUMENT_ROOT'].'/styles/fonts/sanuktf-bold-webfont.woff')) ?>") format("woff"),
    url('/styles/fonts/sanuktf-bold-webfont.ttf') format('truetype'),
    url('/styles/fonts/sanuktf-bold-webfont.svg#sanuktf-boldregular') format('svg');
    font-weight: bold; /* 700 */
    font-style: normal;
}

@font-face {
    font-family: 'sanuktf';
    src: url("data:font/woff;base64,<?= base64_encode(file_get_contents($_SERVER['DOCUMENT_ROOT'].'/styles/fonts/sanuktf-regular-webfont.woff')) ?>") format("woff"),
    url('/styles/fonts/sanuktf-regular-webfont.ttf') format('truetype'),
    url('/styles/fonts/sanuktf-regular-webfont.svg#sanuktf-regularregular') format('svg');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'sanuktf';
    src: url("data:font/woff;base64,<?= base64_encode(file_get_contents($_SERVER['DOCUMENT_ROOT'].'/styles/fonts/sanuktf-light-webfont.woff')) ?>") format("woff"),
    url('/styles/fonts/sanuktf-light-webfont.ttf') format('truetype'),
    url('/styles/fonts/sanuktf-light-webfont.svg#sanuktf-lightregular') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'sanuktf';
    src: url("data:font/woff;base64,<?= base64_encode(file_get_contents($_SERVER['DOCUMENT_ROOT'].'/styles/fonts/sanuktf-thin-webfont.woff')) ?>") format("woff"),
    url('/styles/fonts/sanuktf-thin-webfont.ttf') format('truetype'),
    url('/styles/fonts/sanuktf-thin-webfont.svg#sanuktf-thinregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Start reset html elements */
html {
    -webkit-text-size-adjust: none;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
}

address, article, aside, audio, canvas, command, datalist,
details, embed, figcaption, figure, footer, header,
hgroup, keygen, mark, meter, nav, ouput, progress,
section, source, summary, time, video, wbr {
    display: block;
}

input:focus, textarea:focus, select:focus {
    outline: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    padding: 0;
    border: 0;
}

table td, table th {
    padding: 0;
}

a:active, label:active {
    outline: none;
}

a:focus, label:focus {
    -moz-outline-style: none;
    outline: none;
}

input[type=checkbox] {
    border-width: 0px
}

/* End reset html elements */

/* Start generic elements  */
html {
    overflow-y: scroll;
    height: 100%;
}

body {
    color: #000;
    background-color: #fff;
    height: 100%;
}

td, p, div, span, ol, ul, input, textarea, select {
    font-family: 'sanuktf', Arial, Helvetica, sans-serif;
    font-size: 16px;
}

#editor td, #editor p, #editor div, #editor span, #editor ol, #editor ul, #editor input, #editor textarea, #editor select {
    font-family: 'sanuktf', Arial, Helvetica, sans-serif;
    font-size: 16px;
}

input, textarea, select {
    border: none;
    background-color: #f2f2f2;
    line-height: 120%;
    margin: 0px;
    padding: 1px 2px;
    resize: none;
    -webkit-border-radius: 0px;
}

input[type=submit], input[type=text], input[type=password], input[type=button],
textarea {
    -webkit-appearance: none;
}

input[type=submit] {
    padding: 2px 20px;
    text-transform: uppercase;
    cursor: pointer;
}

/* span is to cope for protected emails */
a:link, a:link span, a:visited, a:visited span, a:active, a:active span {
    color: #000099;
    text-decoration: none;
}

a:hover, a:hover span {
    text-decoration: underline;
}

ul {
    list-style-type: none;
    list-style-position: outside;
}

ul li {
    list-style-type: none;
    background: url('/images/list6.png') no-repeat 3px center;
    padding-left: 14px;
}

ol li {
    padding-left: 5px;
    margin-left: 30px;
}

b, strong {
    /*font-weight:normal;
    font-family:'daxbold' !important; */
}
.bold {
    font-weight: 500;
}
i, em {
    /* font-family: 'dax-italicregular' !important;
    font-style:normal; */
}

h1 {
    color: #FFFFFF;
    font-size: 30px;
    width: 100%;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 500; /* light */
}

sup {
    vertical-align: top;
    position: relative;
    font-size: 0.6em;
}

.clear {
    clear: both;
    height: 1px;
    overflow: hidden;
}

/* For modern browsers */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    *zoom: 1;
}

/* End generic elements  */

/* Start Freshpage elements (these classes are defined in Freshpage and setable) */
.small {
    font-size: 10px
}

.big {
    font-size: 18px;
    line-height: 40px;
    color: #FFFFFF;
}

.tbltype-emphheader {
    border-spacing: 1px;
}

.tbltype-emphheader tr td {
    background-color: #f8f8f8;
    vertical-align: top !important;
}

.tbltype-emphheader tr:first-child td {
    background-color: #e0e0e0;
}

.tbltype-fairplan {
    border-spacing: 1px;
}

.tbltype-fairplan tr td {
    background-color: #f8f8f8;
    vertical-align: top !important;
}

.tbltype-headline {
    border-spacing: 1px;
}

.tbltype-headline tr td {
    padding: 8px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    vertical-align: top;
}

#oContentTable tr td {

}

#editor {
    line-height: 1.7;
}

#editor b, #editor strong {
    font-weight: bold !important;
    /* font-family: 'DaxComp' !important;  */
}

#editor i, #editor em {
    font-style: italic !important;
    /* font-family: 'DaxComp' !important; */
}

/* End Freshpage elements  */

/* *** startseite *** */
#startbilder-ani {
    width: 100%;
    overflow: hidden;
}

#startbilder-ani .startbild {
    width: 20%;
    padding-bottom: 20%;
    position: relative;
}

#startbilder-ani .startbild img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    /*width:100.3%;
    height:100.3%; */
    width: 97%;
    height: 97%;
}

#startbilder-ani .startbild--imageHidden {
    /*background: #fff;*/
}

#startbilder-ani .startbild--imageHidden img {
    display: none;
}

@media screen and (min-width: 1460px) {
    #startbilder-ani .startbild:nth-child(1) img {
        width: 291px;
        height: 291px;
        left: 50%;
        margin-left: -146px;
        top: 50%;
        margin-top: -146px;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none
    }
}

#startbilder-ani .startlink:hover {
    background: rgba(0, 0, 0, 0.85);
}

#startbilder-ani .startlink {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    /*width:100.3%;
    height:100.3%;*/
    width: 97%;
    height: 97%;
    color: #FFFFFF;
    background: rgba(62, 62, 62, 0.9);
    -webkit-transition: background 0.2s;
    -o-transition: background 0.2s;
    transition: background 0.2s;
}

#startbilder-ani .startlink > div {
    position: absolute;
    top: 10%;
    right: 10%;
    bottom: 10%;
    left: 10%;
}

#startbilder-ani .startlink > div > div {
    display: table;
    width: 100%;
    height: 100%;
}

#startbilder-ani .startlink > div > div > div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-weight: 500; /* light */
    text-transform: uppercase;
    font-size: 21px;
}

#startbilder-ani .startlink.aktuell {
    background: none;
}

#startbilder-ani .startlink.aktuell:hover {
    background: rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 1360px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 22px;
    }
}

@media screen and (min-width: 1420px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 23px;
    }
}

@media screen and (min-width: 1480px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 24px;
    }
}

@media screen and (min-width: 1540px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 25px;
    }
}

@media screen and (min-width: 1600px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 26px;
    }
}

@media screen and (min-width: 1660px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 27px;
    }
}

@media screen and (min-width: 1720px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 28px;
    }
}

@media screen and (min-width: 1780px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 29px;
    }
}

@media screen and (min-width: 1840px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 30px;
    }
}

@media screen and (min-width: 1900px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 31px;
    }
}

@media screen and (min-width: 1960px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 32px;
    }
}

/* 4x3 tiles - tablet landscape */
@media only screen and (max-width: 1280px) {
    #startbilder-ani .startbild {
        width: 25%;
        padding-bottom: 25%;
    }
}

@media only screen and (max-width: 1280px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 25px;
    }
}

@media only screen and (max-width: 1220px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 24px;
    }
}

@media only screen and (max-width: 1160px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 23px;
    }
}

@media only screen and (max-width: 1100px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 22px;
    }
}

@media only screen and (max-width: 1040px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 21px;
    }
}

@media only screen and (max-width: 960px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 20px;
    }
}

@media only screen and (max-width: 900px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 19px;
    }
}

@media only screen and (max-width: 840px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 18px;
    }
}

@media only screen and (max-width: 780px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 17px;
    }
}

@media only screen and (max-width: 720px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 16px;
    }
}

/* 3x4 tiles - tablet portrait */
@media only screen and (max-width: 1280px) and (orientation: portrait) {
    #startbilder-ani .startbild {
        width: 33.333%;
        padding-bottom: 33.333%;
    }
}

@media only screen and (max-width: 1280px) and (orientation: portrait) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 29px;
    }
}

@media only screen and (max-width: 1220px) and (orientation: portrait) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 28px;
    }
}

@media only screen and (max-width: 1160px) and (orientation: portrait) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 27px;
    }
}

@media only screen and (max-width: 1100px) and (orientation: portrait) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 26px;
    }
}

@media only screen and (max-width: 1040px) and (orientation: portrait) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 25px;
    }
}

@media only screen and (max-width: 960px) and (orientation: portrait) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 24px;
    }
}

@media only screen and (max-width: 900px) and (orientation: portrait) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 23px;
    }
}

@media only screen and (max-width: 840px) and (orientation: portrait) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 22px;
    }
}

@media only screen and (max-width: 780px) and (orientation: portrait) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 21px;
    }
}

@media only screen and (max-width: 720px) and (orientation: portrait) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1000px) {
    #startbilder-ani .startbild--imageHidden img {
        display: block;
    }
}

/* mobile */
@media only screen and (max-width: 640px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 30px;
    }

    #startbilder-ani .startbild {
        width: 50%;
        padding-bottom: 50%;
    }

}

@media only screen and (max-width: 620px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 29px;
    }
}

@media only screen and (max-width: 600px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 28px;
    }
}

@media only screen and (max-width: 580px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 27px;
    }
}

@media only screen and (max-width: 560px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 26px;
    }
}

@media only screen and (max-width: 540px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 25px;
    }
}

@media only screen and (max-width: 520px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 24px;
    }
}

@media only screen and (max-width: 500px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 23px;
    }
}

@media only screen and (max-width: 480px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 22px;
    }
}

@media only screen and (max-width: 460px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 21px;
    }
}

@media only screen and (max-width: 440px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 20px;
    }
}

@media only screen and (max-width: 420px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 19px;
    }
}

@media only screen and (max-width: 400px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 18px;
    }
}

@media only screen and (max-width: 380px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 17px;
    }
}

@media only screen and (max-width: 360px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 16px;
    }
}

@media only screen and (max-width: 340px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 15px;
    }
}

@media only screen and (max-width: 320px) {
    #startbilder-ani .startlink > div > div > div {
        font-size: 14px;
    }
}


#startbilder {
    min-width: 1040px;
    width: 100%;
    min-height: 780px;
    min-height: 60vw;
    height: 100%;
    overflow: hidden;
}

#startbilder #starbildwrapper {
    position: relative;
    min-width: 1300px;
    width: 100.3%;
}

#startbilder .startbild {
    position: relative;
    min-width: 260px;
    padding-bottom: 20%;
    width: 20%;
    float: left;
}

#startbilder .startbild img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100.3%; /* .3% for ff mac whiteline bug */
    height: 100.3%;
}

#startbilder .startlink:hover {
    background: rgba(0, 0, 0, 0.85);
}

#startbilder .startlink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 260px;
    height: 100%;
    color: #FFFFFF;
    background: rgba(62, 62, 62, 0.9);
    -webkit-transition: background 0.2s;
    -o-transition: background 0.2s;
    transition: background 0.2s;
}

@media screen and (min-width: 1460px) {
    #startbilder .startbild:nth-child(1) img {
        width: 291px;
        height: 291px;
        left: 50%;
        margin-left: -146px;
        top: 50%;
        margin-top: -146px;
    }
}

#startbilder .startlink > div {
    position: absolute;
    top: 10%;
    right: 10%;
    bottom: 10%;
    left: 10%;
}

#startbilder .startlink > div > div {
    display: table;
    width: 100%;
    height: 100%;
}

#startbilder .startlink > div > div > div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-weight: 500; /* light */
    text-transform: uppercase;
    font-size: 21px;
}

#startbilder .startlink.aktuell {
    background: none;
}

#startbilder .startlink.aktuell:hover {
    background: rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 1360px) {
    #startbilder .startlink > div > div > div {
        font-size: 22px;
    }
}

@media screen and (min-width: 1420px) {
    #startbilder .startlink > div > div > div {
        font-size: 23px;
    }
}

@media screen and (min-width: 1480px) {
    #startbilder .startlink > div > div > div {
        font-size: 24px;
    }
}

@media screen and (min-width: 1540px) {
    #startbilder .startlink > div > div > div {
        font-size: 25px;
    }
}

@media screen and (min-width: 1600px) {
    #startbilder .startlink > div > div > div {
        font-size: 26px;
    }
}

@media screen and (min-width: 1660px) {
    #startbilder .startlink > div > div > div {
        font-size: 27px;
    }
}

@media screen and (min-width: 1720px) {
    #startbilder .startlink > div > div > div {
        font-size: 28px;
    }
}

@media screen and (min-width: 1780px) {
    #startbilder .startlink > div > div > div {
        font-size: 29px;
    }
}

@media screen and (min-width: 1840px) {
    #startbilder .startlink > div > div > div {
        font-size: 30px;
    }
}

@media screen and (min-width: 1900px) {
    #startbilder .startlink > div > div > div {
        font-size: 31px;
    }
}

@media screen and (min-width: 1960px) {
    #startbilder .startlink > div > div > div {
        font-size: 32px;
    }
}

/* 4x3 tiles mode */
@media only screen and (max-width: 1300px) {
    #startbilder {
        min-height: 780px;
    }
}

@media only screen and (max-width: 1040px) {
    #startbilder {
        min-height: 75vw;
        min-width: 640px;
    }

    #startbilder .startbild, #startbilder .startlink {
        min-width: 0;
    }

    #startbilder #starbildwrapper {
        min-width: 800px;
        width: 125.45%;
    }
}

@media only screen and (max-width: 960px) {
    #startbilder .startlink > div > div > div {
        font-size: 20px;
    }
}

@media only screen and (max-width: 900px) {
    #startbilder .startlink > div > div > div {
        font-size: 19px;
    }
}

@media only screen and (max-width: 840px) {
    #startbilder .startlink > div > div > div {
        font-size: 18px;
    }
}

@media only screen and (max-width: 780px) {
    #startbilder .startlink > div > div > div {
        font-size: 17px;
    }
}

@media only screen and (max-width: 720px) {
    #startbilder .startlink > div > div > div {
        font-size: 16px;
    }
}

/* tablet portrait */
@media only screen and (max-width: 768px) and (orientation: portrait) {
    #startbilder {
        min-height: 133.33333333333333333333333333333vw;
    }

    #startbilder #starbildwrapper {
        width: 166.66666666666666666666666666667%;
    }

    #startbilder .startlink > div > div > div {
        font-size: 21px;
    }
}

/* mobile */
@media only screen and (max-width: 640px) {
    #startbilder {
        min-height: 1600px;
    }

    #startbilder #starbildwrapper {
        width: 1600px;
    }

    #startbilder .startlink > div > div > div {
        font-size: 30px;
    }
}


/* *** end startseite *** */

/* *** default site *** */
/* header */
#wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*min-width: 500px;*/
    color: #DDDDDD;
}

#wrapper header {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 500px;
    width: 100%;
    height: 140px;
    background: #FFFFFF;
    z-index: 1000;
    /*transition:height 0.4s; */
}

#wrapper header #logo {
    display: inline-block;
    padding-top: 10px;
    padding-left: 30px;
    float: left;
    /*transition:padding 0.4s;*/
}

#wrapper header #logo img {
    vertical-align: top;
    float: left;
}

#wrapper header #logo .logo {
    width: 250px;
    padding: 10px 0;
}

#wrapper header #logo img#logo_house {
    width: 75px;
    /*transition:width 0.4s;*/
}

#wrapper header #logo img#logo_font {
    width: 125px;
    padding-left: 15px;
    padding-top: 33px;
    /*transition:width 0.4s, padding 0.4s;*/
}

#wrapper header #controls {
    display: block;
    /*width: 540px;*/
    width: 40%;
    box-sizing: border-box;
    padding-right: 30px;
    padding-top: 10px;
    text-align: right;
    float: right;
    /*transition:padding 0.4s, width 0.4s;*/
}

#wrapper header #controls #bar {
    margin-bottom: 37px;
    /*transition:margin-bottom 0.4s;*/
}

#wrapper header #controls #bar nav {
    display: inline-block;
    vertical-align: middle;
}

#wrapper header #controls #bar a {
    color: #000000;
    text-decoration: none;
    font-size: 11px;
    line-height: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

/* icons */
#wrapper header #bar #print,
#wrapper header #bar #sitemap,
#wrapper header #bar #share {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    background: url('/images/icons_16.png') no-repeat 0px 0px;
    background-size: 64px 16px;
    vertical-align: middle;
}

#wrapper header #bar #sitemap {
    background-position: -32px 0px;
}

#wrapper header #bar #share {
    background-position: -48px 0px;
}

/* search */
#wrapper header #bar #search {
    width: 16px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 16px;
    font-size: 11px;
    line-height: 11px;
    margin-left: 8px;
    vertical-align: middle;
}

#wrapper header #bar #search #querycontainer {
    position: absolute;
    right: 0;
    display: inline-block;
    width: 140px;
    font-size: 11px;
    line-height: 11px;
    overflow: hidden;
}

#wrapper header #bar #search input#query {
    width: 120px;
    background: none;
    border: none;
    border-bottom: 1px solid #888888;
    color: #000000;
    font-size: 11px;
    line-height: 11px;
    margin: 0;
    padding: 0;
}

#wrapper header #bar #search #searchform_submit {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('/images/icons_16.png') no-repeat -16px 0;
    background-size: 64px 16px;
    padding: 0;
    margin: 0 0 0 0;
    border: 0;
    font-size: 11px;
    line-height: 11px;
    vertical-align: top;
    cursor: pointer;
}

#wrapper header #controls nav.mainnav {
    position: relative;
    text-align: left;
}

#wrapper header #controls nav.mainnav a {
    display: inline-block;
    text-transform: uppercase;
    margin-left: 16px;
    color: #585858;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    /*transition:margin-left 0.4s;*/
}

#wrapper header #controls nav.mainnav nav {
    position: absolute;
    left: 0;
    top: 32px;
}

#wrapper header #controls nav.mainnav nav a {
    font-weight: 400;
    text-transform: none;
    /*margin-left: 15px;*/
}

#wrapper header #controls nav.mainnav a:first-child {
    margin-left: 0 !important;
}

#wrapper header #controls nav a:hover,
#wrapper header #controls nav a.active {
    color: #FF300C !important;
}

/* end header */

#wrapper nav.mobilenav {
    display: none;
    position: fixed;
    /*width: 500px;*/
    width: 100%;
    bottom: 0;
    z-index: 250;
}

#wrapper nav.mobilenav a {
    display: block;
    height: 90px;
    line-height: 90px;
    text-align: center;
    font-size: 35px;
    font-weight: 500; /* light */
    color: #FFFFFF;
    text-decoration: none;
    border-top: 1px solid #AAAAAA;
    background: rgba(54, 54, 54, 0.95);
}

#wrapper nav.mobilenav nav {
    display: none;
}

#wrapper nav.mobilenav a:first-child {
    border: none;
}

#wrapper nav.mobilenav a:hover {
    color: #FFFFFF;
    font-weight: 600;
}

#wrapper nav.mobilenav nav a {
    border-top: 1px solid #555;
    font-size: 20px;
    height: 70px;
    line-height: 70px;
}

#wrapper nav.mobilenav nav a:first-of-type {
    border-top: 1px solid #555;
}

#wrapper .icon_mobile {
    position: absolute;
    display: none;
    width: 60px;
    height: 60px;
    top: 0;
    /*left: 50%;*/
    /*margin-left: -230px;*/
    left: 22px;
    background: rgba(54, 54, 54, 0.9) url('/images/mobilenav.png') no-repeat 0 0;
    background-size: 60px 60px;
    cursor: pointer;
    z-index: 300;
}

#wrapper .icon_hide {
    position: absolute;
    top: 94px;
    right: 60px;
    display: block;
    width: 60px;
    height: 60px;
    border-right: 1px solid #000000;
    background: rgba(54, 54, 54, 0.9) url('/images/icons_60.png') no-repeat 0 -60px;
    background-size: 60px 180px;
    cursor: pointer;
    z-index: 300;
    /*transition:top 0.4s;*/
}

#wrapper .icon_hide.show {
    background-position: 0 0;
    /*background-color:rgba(54,54,54,0.99);*/
}

/* tooltips */
.tooltip {
    position: absolute;
    display: none;
    top: 58px;
    padding: 10px;
    background: rgba(54, 54, 54, 0.9);
    white-space: nowrap;
    font-weight: normal !important;
    color: #FFFFFF !important;
    right: 0;
}

#wrapper .icon_hide .tooltip {
    margin-right: -60%;
}

#wrapper .icon_hide:not(.show):hover .tooltip-out {
    display: block;
}

#wrapper .icon_hide.show:hover .tooltip-in {
    display: block;
}

#wrapper .icon_x:hover .tooltip {
    display: block;
}

#wrapper .main-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 140px;
    min-height: calc(100% - 140px);
}
#wrapper .main-content.main-content--small {
    min-height: calc(75% - 100px);
}
/* article */
#contentarea {
    /*position:absolute;
    top:0px;
    right:60px;*/
    width: 40%;
    min-height: 100%;
    background: rgba(54, 54, 54, 0.9);
    z-index: 110;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
}


#contentarea article {
    position: relative;
    padding: 90px 30px 45px 30px;
    z-index: 200;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    /*transition:padding 0.4s;*/
}

#wrapper .icon_x {
    position: fixed;
    top: 94px;
    right: 0px;
    display: block;
    width: 60px;
    height: 60px;
    border-left: 1px solid #000000;
    background: rgba(54, 54, 54, 0.9) url('/images/icons_60.png') no-repeat 0 -120px;
    background-size: 60px 180px;
    z-index: 301;
    /*transition:top 0.4s;*/
}

#contentarea article h1:first-child {
    width: 90%;
}

#contentarea article .fpmain {
    width: auto !important;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;

}

#contentarea article .fpmain,
#contentarea article .text,
#contentarea article .description,
#contentarea article .contact,
#contentarea article .moreless {
    line-height: 1.7;
}

#contentarea article a,
#contentarea article a span {
    color: #FFFFFF;
    text-decoration: none;
}

#contentarea article a:hover,
#contentarea article a:hover span {
    /*color:#FF300C;*/
    font-weight: 600;
}

#contentarea article .expandable-fake,
#contentarea article .expandable-wrapper {
    border-bottom: 1px solid #AAAAAA;
}

#contentarea article .expandable-fake,
#contentarea article .expandable-wrapper .expandable-title {
    position: relative;
    display: block;
    height: 40px;
    padding-left: 50px;
    font-size: 16px;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 40px;
    border-top: 1px solid #AAAAAA;
    cursor: pointer;
}

#contentarea article .expandable-fake:hover,
#contentarea article .expandable-wrapper .expandable-title:hover {
    color: #FFFFFF;
    font-weight: 600;
}

#contentarea article .expandable-fake + .expandable-wrapper .expandable-title,
#contentarea article .expandable-fake + .expandable-fake,
#contentarea article .expandable-wrapper + .expandable-fake,
#contentarea article .expandable-wrapper + .expandable-wrapper .expandable-title {
    border-top: none;
}

#contentarea article .expandable-fake .icon,
#contentarea article .expandable-title .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: rgba(54, 54, 54, 0.9) url('/images/icons_40.png') no-repeat 0 -40px;
    background-size: 40px 80px;
}

#contentarea article .expandable-wrapper.active .expandable-title .icon {
    background-position: 0 0;
}

/*#contentarea article .expandable { display:block; }
#contentarea article .expandable ~ .expandable { display:none; }*/
#contentarea article .expandable-wrapper .expandable {
    display: none;
    padding-top: 5px;
    padding-bottom: 15px;
}

#contentarea article .expandable-wrapper.active .expandable {
    display: block;
}

#contentarea article .expandable-show {
    display: block !important;
}

#contentarea article .expandable-show .table.proj {
    padding-left: 0 !important;
}

#contentarea article .expandable form#contactform,
#contentarea article .expandable .text,
#contentarea article .expandable .fpmain {
    width: auto !important;
    margin-left: 50px;
}


@media screen and (max-width: 600px) {
    #contentarea article .expandable form#contactform,
    #contentarea article .expandable .text,
    #contentarea article .expandable .fpmain {
        margin-left: 0;
    }
    #contentarea article .expandable form#contactform {
        margin-top: 20px;
    }
}
#contentarea article div.description,
#contentarea article div.text {
    width: 100% !important;
}

#contentarea article .expandable .table {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding-left: 50px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 1.7;
}

#contentarea article .expandable div {
    line-height: 1.7;
}

#contentarea article .expandable .table .tr {
    display: table-row;
    text-decoration: none;
}

#contentarea article .expandable .table .tr .td {
    display: table-cell;
    color: #DDDDDD;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

#contentarea article .expandable .table .tr .td .multiline {
    white-space: normal;
}

#contentarea article .expandable .table.proj {
    padding-left: 50px;
    margin-left: 0px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#contentarea article .expandable .table.proj .tr .td:not(:first-child):not(:last-child) {
    padding-right: 10px;
}
#contentarea article .expandable .table.proj .tr .td.place {
    width: 25%;
}
@media screen and (max-width: 600px) {
    #contentarea article .expandable .table .tr .td.desc {
        width: 35%;
        padding: 0 10%;
    }
    #contentarea article .expandable .table .tr .td {
        white-space: unset;
    }
    #contentarea article .expandable .table.proj .tr .td.place {
        width: 26%;
    }
}
#contentarea article .expandable .table.proj .tr .td.name {
    width: 200px;
}

#contentarea article .expandable .table.proj .tr .td.price {
    width: 26%;
}

#contentarea article .expandable .table .tr .td.padding {
    width: 10px;
    font-weight: 600 !important;
    font-size: 16px;
    /*line-height: 18px;*/
    line-height: 24px;
    vertical-align: top;
}

#contentarea article .expandable .table.proj a.tr .td.padding:before {
    content: ">";
}

#contentarea article .expandable .table.proj a.tr--mobile {
    display: none;
}

.detail-images {
    display: none;
    margin-bottom: 20px;
}

@media screen and (max-width: 650px) {
    #contentarea article .expandable .table.proj a.tr--mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    #contentarea article .expandable .table.proj a.tr--desktop {
        display: none;
    }

    .detail-images {
        margin: 0 -20px 20px -20px;

        display: block;
    }
}


/*#contentarea article .expandable .table.proj a.tr:hover .td.padding:before {
    content:">";
}*/

#contentarea article .expandable .table .tr .td.label {
    width: 35.5%;
}

#contentarea article .expandable .table a.tr:hover .td {
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
}

#contentarea article .expandable a.bold:hover {
    color: #FFFFFF;
    font-weight: 600;
}
#contentarea .reference--desktop {
    display: block;
}

#contentarea .reference--mobile {
    display: none;
}
/* aktuell / news */
#contentarea article .news {
    margin-bottom: 15px;
}

#contentarea article .news.news--hidden {
    display: none;
}

#contentarea article .news {
    border-bottom: 1px solid #AAAAAA;
    padding-bottom: 15px;
}

#contentarea article .news > .news-title {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 8px;
}

#contentarea article .news > .news-title > span {
    display: inline-block;
    padding: 0 5px;
    font-size: 18px;
    line-height: 30px;
    color: #FFFFFF;
}

#contentarea article .news .images > a {
    display: inline-block;
    margin-left: 10px;
    float: left;
}

#contentarea article .news .images > a:first-child {
    margin-left: 0;
}

#contentarea article .news .images > a img {
    margin-bottom: 8px;
}

.news-images {
    display: none;
    margin: 15px 0 8px 0;
}

/*#contentarea article .news-titlebar .news-date,
#contentarea article .news-titlebar .news-title {
    display:block;
    text-transform:uppercase;
    font-size:15px;
    line-height:30px;
    color:#FFFFFF;
    float:left;
}
#contentarea article .news-date {
    width:30%;
}
#contentarea article .news-title {
    width:70%;
}*/
#contentarea article .news .expandabletext {
    display: none;
}

#contentarea article .news .moreless {
    display: inline-block;
    margin-top: 5px;
    line-height: 22px;
}

#contentarea article .news .moreless:hover {
    color: #FFFFFF;
    cursor: pointer;
    font-weight: 600;
}

#contentarea article #showMoreNews {
    font-weight: 600;
}

.aktuellesWrapper {
    width: 100%;
}

.aktuellesMainItem img {
    width: 100%;
}

.aktuellesSubItems {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.aktuellesSubItem {
    width: calc(33.333% - 20px);
    padding-bottom: calc(33.333% - 20px);
    height: 0;
    margin: 10px;
    background-size: cover;
    background-position: center;
}

.aktuellesSubItem img {
    width: 100%;
}

@media screen and (max-width: 1000px) {
    .aktuellesWrapper {
        display: none;
    }
    .aktuellesSubItems {
        margin: 0;
    }

    .news-images {
        display: block;
        margin: 20px -20px 0 -20px;

    }

    .aktuellesSubItem {
        margin: 5px;
        width: calc(50% - 10px);
        padding-bottom: calc(50% - 10px);
    }
}

/* end aktuell / news */

/* START - Overview Projekte, Referenzen */
.overviewWrapper {
    width: 100%;
}

.overviewMainItem img {
    width: 100%;
}

.overviewSubItems {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.overviewSubItem {
    width: calc(33.333% - 20px);
    padding-bottom: calc(33.333% - 20px);
    height: 0;
    margin: 10px;
    background-size: cover;
    background-position: center;
}

.overviewSubItem img {
    width: 100%;
}

.readmore-js-toggle.bold {
    font-weight: 600;
}

@media screen and (max-width: 1000px) {
    .overviewSubItems {
        margin: 0;
    }
    .overviewSubItem {
        margin: 5px;
        width: calc(50% - 10px);
        padding-bottom: calc(50% - 10px);
    }
}

/* END - Overview Projekte, Referenzen */

/* footer */
#contentarea footer {
    /*position:absolute;*/
    bottom: 0px;
    /*height: 15px;*/
    padding: 20px 30px 20px 30px;
    line-height: 15px;
    /*color:#888888;
    font-weight:600;*/
    z-index: 201;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    opacity: .5;
    line-height: 1.2;
}

#contentarea footer a,
#contentarea footer a span {
    /*color:#888888;*/
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
}

#contentarea footer a:hover,
#contentarea footer a:hover span {
    color: #FFFFFF;
    font-weight: 600;
}

/* end footer */
/* end article */

/* bgslider */
#wrapper #bgslider {
    /*position:fixed;
    top:94px;right:0;bottom:0;left:0;
    z-index:100;*/
    /*transition:top 0.4s;*/
    width: 59%;
}

@media only screen and (max-width: 1400px) {
    #wrapper #bgslider {
        width: 50%;
    }
}

@media only screen and (max-width: 1000px) {
    #wrapper #bgslider {
        width: 100%;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        margin-top: 10px
    }
}

.bgslider__image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 300px;
}

#wrapper #bgslider .cycle-slideshow.team {
    opacity: 0;
    z-index: 2;
}

#wrapper #bgslider .cycle-slideshow.team .team-mobile-desc {
    display: none;
}

#wrapper #bgslider .cycle-slideshow {
    /*position:absolute;*/
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#wrapper #bgslider .cycle-prev,
#wrapper #bgslider .cycle-next,
.touch-cycle-prev,
.touch-cycle-next {
    position: absolute;
    width: 100px;
    height: 180px;
    top: 50%;
    margin-top: -90px;
    cursor: pointer;
    z-index: 101;
}

.touch-cycle-prev,
.touch-cycle-next {
    display: none;
    z-index: 10000 !important;
}

#wrapper #bgslider .cycle-prev, .touch-cycle-prev {
    left: 0px;
}

#wrapper #bgslider .cycle-next, .touch-cycle-next {
    right: 0px;
}

#wrapper #bgslider .cycle-prev > span,
#wrapper #bgslider .cycle-next > span,
.touch-cycle-prev > span,
.touch-cycle-next > span {
    position: absolute;
    top: 45px;
    width: 48px;
    height: 90px;
    background: url('/images/arrows_90.png') no-repeat 0 0;
    background-size: 96px 90px;
}

#wrapper #bgslider .cycle-prev > span,
.touch-cycle-prev > span {
    left: 6px;
}

#wrapper #bgslider .cycle-next > span,
.touch-cycle-next > span {
    right: 6px;
    background-position: -48px 0;
}

#wrapper #bgslider .cycle-slideshow > div.cycle-slide,
#wrapper #bgslider .cycle-slideshow > div.cycle-slide .slide-inner {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* end bgslider */

#wrapper #iconbar_double {
    display: none;
}

/* *** end default site *** */

/* Start - layout styles */
/* forms */
#contentarea article input[type=text],
#contentarea article textarea,
select {
    border: none;
    width: 299px;
    line-height: 21px;
    margin-bottom: 10px;
    /*background:rgba(54,54,54,0.9);*/
    background: rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}
#contentarea article .selectBox {
    padding: 10px 0 10px 10px ;
    max-width: 100%;
}
#contentarea article input[type=text] {
    /*height: 30px;*/
    padding: 5px 2px;
}

#contentarea article textarea {
    overflow: auto;
}

#contentarea article input[type=submit] {
    border: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    height: 32px;
    /*padding: 3px 20px 1px 32px !important;*/
    padding: 3px 20px 1px 15px !important;
    margin-top: 8px;
    margin-bottom: 4px;
    width: auto !important;
    background-image: url('/images/icons_40.png');
    background-size: 40px 80px;
    background-repeat: no-repeat;
    /*background-position: 0 -44px;*/
    background-position: -17px -44px;
    /*background-color: rgba(0, 0, 0, 0.3);*/
    background-color: transparent;
    color: #FFFFFF;
}
#contentarea article .selectBox-dropdown .selectBox-arrow {
    width: 40px;
}

.contactformtitle {
    font-size: 16px;
    margin-bottom: 16px;
}

#contentarea article .expandable #contactform.contactform-nomargin {
    margin-left: 0;
}

#contentarea article .expandable-wrapper.expandable-wrapper-noline {
    border-bottom: none;
}


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

    #contentarea article input[type=text], #contentarea article textarea, select,
    #contactform textarea {
        width: 400px;
    }

    .contactformtitle {
        font-size: 22px;
    }

}
@media screen and (max-width: 600px) {
    #contentarea article input[type=text],
    #contentarea article textarea,
    select {
        width: 345px;
        text-align: center;
    }
    #contentarea article input[type=submit] {
        width: 345px!important;
        text-align: left;
    }
    #contentarea article .selectBox {
        width: 98% !important;

    }
    #contentarea article .selectBox-label {
        width: 75% !important;

    }
    #contentarea .checkboxwrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        margin: 10px 0;
    }
    #contentarea .checkboxwrapper .styledInput.si-checkbox, .styledInput.si-radio {
        width: 25px;
        height: 25px;
    }
    #contentarea .checkboxwrapper .styledInput.si-checkbox.checked {
        background-position: -1px 25px;
    }

    #contentarea .checkboxwrapper div{
        -ms-flex-negative: 0;
        flex-shrink: 0;
        margin-right: 10px;
    }
    #contentarea .checkboxwrapper label{
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
}
/* end forms */
/* Start - entrytype contactform */
#contactform label {
    float: left;
    width: 110px;
    line-height: 23px;
    min-height: 20px;
}

#contactform label[for=loftbuch] {
    float: none;
}

#contactform input[type=text],
#contactform textarea {
    border: none;
    width: 290px;
    line-height: 21px;
    margin-bottom: 4px;
    /*background:rgba(54,54,54,0.9);*/
    background: rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

#contactform textarea {
    height: 140px;
}

#contactform input[type=submit] {
    border: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    padding: 3px 20px 1px 32px !important;
    margin-top: 8px;
    margin-bottom: 4px;
    width: auto !important;
    color: #FFF;
    background-color: rgba(0, 0, 0, 0.3);
    background-image: url('/images/icons_40.png');
    background-size: 40px 80px;
    background-repeat: no-repeat;
    background-position: 0 -44px;
}

#contactform #infotext,
#contactform #errortext {
    display: inline-block;
    margin: 5px 0px;
}

/* End - entrytype contactform */
/* search page styles */
#contentarea table.searchBox input {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 24px;
    padding: 4px;
    border: none;
}

#contentarea table.searchBox input[type=text] {
    width: 270px;
    font-size: 16px;
    line-height: 24px;
    height: 24px;
    padding: 4px;
}

#contentarea table.searchBox input[type=submit] {
    display: inline-block;
    line-height: 28px;
    font-weight: 600;
    margin-left: 4px;
}

#contentarea table.searchBox input[type=submit]:hover {
    text-decoration: none;
}

/* end search page styles */

footer.footer--hide {
    display: none;
}


/* End - layout styles */


@media only screen and (max-width: 1400px) {
    #wrapper header #controls,
    #contentarea {
        width: 49%;
    }
}

@media only screen and (max-width: 1000px) {
    #contentarea {
        width: 100%;
    }

    #wrapper header #controls {
        width: 60%;
    }
}

/* logo smaller */
@media only screen and (max-width: 900px) {
    #wrapper header {
        height: 60px;
    }

    #wrapper header #logo {
        padding-top: 5px;
    }

    #wrapper header #logo .logo {
        width: 160px;
    }

    #wrapper header #logo img#logo_house {
        width: 50px;
    }

    #wrapper header #logo img#logo_font {
        width: 100px;
        padding-top: 18px;
        padding-left: 10px;
    }

    #wrapper header #controls {
        padding-top: 5px;
        width: 70%;
    }

    #wrapper header #controls #bar {
        margin-bottom: 5px;
    }

    #wrapper header #controls #bar a {
        font-size: 9px;
        line-height: 9px
    }

    #wrapper header #controls nav.mainnav a {
        margin-left: 15px;
        font-size: 16px;
    }

    #wrapper .main-content {
        padding-top: 100px;
        min-height: calc(100% - 100px);
    }



    #wrapper .icon_hide, #wrapper .icon_x {
        top: 60px;
    }

    #wrapper #bgslider {
        top: 60px;
    }
    #wrapper .main-content #bgslider.bgslider--hidemobile {
        display: none;
    }

}

/* font smaller */

@media only screen and (max-width: 760px) {
    #wrapper header #logo {
        padding-left: 20px;
    }

    #wrapper header #controls {
        padding-right: 20px;
    }
}

@media only screen and (max-width: 720px) {
    #wrapper header #controls {
        width: 67%;
    }

    #wrapper header #controls nav.mainnav nav {
        top: 24px;
    }

    #wrapper header #controls nav.mainnav a {
        margin-left: 12px;
        font-size: 13px;
    }

    #wrapper header #logo .logo {
        padding: 13px 0;
    }
}

/* tablet landscape */
@media only screen and (min-device-width: 641px) and (max-device-width: 768px) and (orientation: landscape) {
    #wrapper header #logo {
        padding-top: 10px;
        padding-left: 30px;
    }

    #wrapper header #logo img#logo_house {
        width: 40px;
        padding-top: 0px
    }

    #wrapper header #logo img#logo_font {
        width: 95px;
        padding-top: 16px;
        padding-left: 10px;
    }
 
    #wrapper header #controls nav.mainnav a {
        font-size: 12px;
    }

    #contentarea {
        /*width: 33%*/
    }

    #contentarea article input,
    #contentarea article textarea {
        width: 235px;
    }

    #contentarea table.searchBox input[type=text] {
        width: 210px;
    }

    footer,
    footer span {
        font-size: 12px;
    }
    footer.footer--hide {
        display: none;
    }
}

/* tablet portrait */
@media only screen and (min-device-width: 641px) and (max-device-width: 768px) and (orientation: portrait) {
    #wrapper header {
        height: 80px;
    }

    #wrapper header #logo {
        padding-top: 5px;
        padding-left: 30px;
    }

    #wrapper header #logo img#logo_house {
        width: 50px;
        padding-top: 10px
    }

    #wrapper header #logo img#logo_font {
        width: 130px;
        padding-top: 28px;
        padding-left: 10px;
    }

    #wrapper #bgslider {
        top: 80px;
    }

    #wrapper header #controls {
        width: 500px
    }

    #wrapper header #controls #bar {
        margin-bottom: 15px;
    }

    #wrapper header #controls nav.mainnav a {
        font-size: 16px;
    }

    #wrapper .icon_hide, #wrapper .icon_x {
        top: 80px;
        width: 74px;
        height: 74px;
        background-size: 74px 222px;
        background-position: 0 -74px;
    }

    #wrapper .icon_x {
        background-position: 0 -148px;
    }

    #contentarea {
        width: 100%;
        right: 74px;
    }

    #wrapper .icon_hide {
        right: 74px;
    }

    td, p, div, span, ol, ul, input, textarea, select {
        font-size: 16px;
    }

    h1 {
        font-size: 30px;
    }

    #contentarea article .expandable .table.proj {
        width: 490px;
    }

    #contentarea article input,
    #contentarea article textarea {
        width: 400px;
    }

    #wrapper header #controls {
        padding-right: 30px;
    }
    footer.footer--hide {
        display: none;
    }
}

/* mobile */
@media only screen and (max-width: 640px) {
    /* menu */
    #wrapper header {
        display: none !important;
    }

    #wrapper .icon_mobile {
        display: block;
    }

    #wrapper .icon_hide, #wrapper .icon_x, #wrapper #bgslider {
        top: 0px;
    }

    #wrapper .icon_hide {
        right: 50%;
        margin-right: -170px;
    }

    #wrapper .icon_hide .tooltip {
        margin-right: -61px;
    }

    #wrapper .icon_x {
        position: absolute;
        right: 50%;
        margin-right: -230px;
    }

    #wrapper .main-content,#wrapper .main-content.main-content--small {
        /*padding-top: 90px;*/
        padding-top: 0;
        min-height: calc(100%);
    }

    #contentarea {
        /* center content */
        width: 100%;
        right: 50%;
        /*margin-right:-250px;*/
    }

    #contentarea footer {
        padding: 20px;
    }

    #contentarea article {
        padding: 90px 20px 45px 20px;
        z-index: 200;
        /*transition:padding 0.4s;*/
    }

    #contentarea article h1:first-child {
        width: auto;
    }

    #contentarea.short { /* show image below content */
        min-height: 0;
        position: relative;
        right: 0;
        margin: 0 auto;
    }

    #contentarea.short footer {
        display: none; /* hide footer */
    }

    #contentarea.short article {
        padding: 90px 20px 20px 20px;
        border-bottom: 1px solid #AAAAAA;
    }

    #wrapper #bgslider.below {
        position: relative;
        height: 100%;
    }

    #wrapper #iconbar_double {
        display: block;
        position: relative;
    }

    #wrapper #bgslider .cycle-slideshow.team .team-mobile-desc {
        display: block;
        position: absolute;
        width: 80%;
        padding: 3% 10%;
        bottom: 0;
        background: rgba(54, 54, 54, 0.9);
        line-height: 1.5;
    }

    #wrapper #bgslider .cycle-slideshow.team .team-mobile-desc > span {
        display: block;
        margin-bottom: 2%;
        font-weight: 600;
        color: #FFFFFF;
        text-transform: uppercase;
    }

    #wrapper #bgslider .cycle-slideshow.team .team-mobile-desc a,
    #wrapper #bgslider .cycle-slideshow.team .team-mobile-desc a span {
        color: #FFFFFF;
        text-decoration: none;
    }

    #wrapper #bgslider .cycle-slideshow.team .team-mobile-desc a:hover,
    #wrapper #bgslider .cycle-slideshow.team .team-mobile-desc a:hover span {
        font-weight: 600;
    }

    .small {
        font-size: 16px
    }

    footer, footer a, footer a span {
        font-size: 14px;
    }

    td, p, div, span, ol, ul, input, textarea, select {
        font-size: 20px;
    }

    #contentarea article input[type=submit] {
        font-size: 22px;
    }

    .big,
    #contentarea article .expandable-fake,
    #contentarea article .expandable-wrapper .expandable-title,
    #contentarea article .expandable .table .tr .td.padding,
    #contentarea article .news-date,
    #contentarea article .news-title {
        font-size: 22px;
    }

    h1 {
        font-size: 30px;
    }

    #contentarea article .expandable .table .tr .td.padding {
        width: 15px;
        line-height: 30px;
    }

    #contentarea article .news-date {
        width: 40%;
    }

    #contentarea article .news {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    #contentarea article .news > .news-title {
        width: 100%;
        font-size: 24px;
        margin-bottom: 15px;
    }

    #contentarea article .news .textwrapper {
        height: 68px;
        min-height: 68px; /* needed for js */
    }
    #contentarea .reference--desktop {
        display: none;
    }

    #contentarea .reference--mobile {
        display: block;
    }
}

/* force non-mobile elements to hide */
@media only screen and (min-width: 641px) {
    #wrapper nav.mobilenav, #wrapper .icon_mobile {
        display: none !important;
    }
}

/* print styles */
@media print {
    #wrapper {
        position: relative;
        width: 880px;
        color: #222;
    }

    #wrapper header {
        position: absolute;
        background: none;
    }

    #contentarea article {
        padding-top: 20px;
    }

    #wrapper header #controls,
    #wrapper #bgslider,
    #wrapper .icon_x,
    #wrapper .icon_hide {
        display: none;
    }

    #wrapper #contentarea {
        background: none;
    }

    #wrapper #contentarea article h1,
    #contentarea article a,
    #contentarea article a span,
    #contentarea article .expandable-fake,
    #contentarea article .expandable-wrapper .expandable-title,
    #contentarea article .news-date,
    #contentarea article .news-title,
    #contentarea article input,
    #contentarea article textarea {
        color: #000;
    }

    #contentarea article .expandable .table .tr .td {
        color: #222;
    }
}

/* wohnungsspiegel */
.fancybox-appartments .fancybox-skin {
    border-radius: 0;
    background-color: #fff;
    padding: 0px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    top: 100px !important;
    margin-bottom: 100px !important;
}

.fancybox-umgebung .fancybox-skin .fancybox-close,
.fancybox-appartments .fancybox-skin .fancybox-close {
    width: 25px;
    height: 25px;
    right: 10px;
    top: 10px;
    background-image: url(/images/fancybox-close.png);
    background-size: 25px 25px;
}

.fancybox-umgebungmap .fancybox-inner {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.fancybox-umgebungmap img {
    width: 869px !important;
    height: 615px !important;
    display: inline;
}

.fancybox-umgebung .fancybox-skin {
    border-radius: 0;
    background-color: #fff;
    padding: 10px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    top: 100px !important;
    margin-bottom: 100px !important;
}

.fancybox-overlay {
    background: none !important;
}

/* swiper */
.images-swiper {
    width: 100%;
}

.images-swiper img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

/* Team */
#contentarea article .team .team__image {
    display: none;
    margin-top: 10px;
    max-width: 100%;
}

.team {
    padding: 12px 0 15px;
}

.teamWrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.team__title {
    text-transform: uppercase;
    font-size: 16px;
    line-height: 40px;
    margin-bottom: 2px;
}

.teamItem {
    position: relative;
    width: 33%;
    margin-bottom: .33%;
    overflow: hidden;
}

.teamItem__image {
    width: 100%;
}
.teamItem__info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 48, 12, .75);
    -webkit-transition: .2s opacity;
    -o-transition: .2s opacity;
    transition: .2s opacity;
    opacity: 0;
    text-align: center;
    color: white !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.teamItem__info a {
    color: white !important;
}

.teamItem__info:hover {
    opacity: 1;
}

.teamItem__name {
    color: #FFFFFF;
    font-size: 25px;
    width: 80%;
    word-break: break-word;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.teamItem .text {
    width: auto !important;
    font-size: 20px;
}

.teamItem .text a, .teamItem .text p {
    color: white;
    font-size: 20px;
}

@media only screen and (max-width: 1300px) {
    .teamItem {
        width: 49%;
        margin-bottom: 2%;
    }

    .team__title,
    .teamItem__name {
        font-size: 22px;
    }

    .teamItem .text a, .teamItem .text p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1000px) {
    #contentarea article .team .team__image {
        display: block;
    }
    .main-content #bgslider.bgslider--team {
        display: none;
    }
    .teamWrapper {
        display: none;
    }

    .team .expandable-title {
        padding-left: 0 !important;
    }

    .team .expandable-title .icon {
        display: none;
    }

    .team .expandable .text {
        margin-left: 0 !important;
    }

    .team .expandable {
        display: block !important;
    }
}

@media only screen and (max-width: 650px) {
    #contentarea article .team .team__title {
        height: auto;
    }
}

/*Detailgallery*/
.detailgallery {
    padding: 10px;
    display: block;
    margin: 0 auto;
    max-width: 1300px;
    overflow: hidden;
    position: relative;
}

.detailgallery__itemWrapper {
    width: 100%;
    margin: 30px 0;
    display: block;
}

.detailgallery__item {
    display: block;
    max-width: 100%;
    /*max-height: 550px;*/
    background-size: cover;
    background-position: center center;
}

.detailgallery__item--0 {
    margin-left: 20%;
    width: 35%;
    height: 0;
    padding-bottom: 50%;
}

.detailgallery__item--1 {
    margin-left: auto;
    height: 0;
    width: 55%;
    padding-bottom: 40%;
}

.detailgallery__item--2 {
    margin-right: auto;
    height: 0;
    width: 35%;
    padding-bottom: 50%;
    margin-top: -15%;
}

.detailgallery__item--3 {
    margin-left: auto;
    height: 0;
    width: 70%;
    padding-bottom: 50%;
}

.detailgallery__item--4 {
    margin-left: auto;
    margin-right: 10%;
    height: 0;
    width: 35%;
    padding-bottom: 50%;
}

.detailgallery__item--5 {
    margin-right: 0;
    width: 50%;
    height: 0;
    padding-bottom: 60%;
    margin-top: -20%;
}
.detailgallery__totop {
    position: absolute;
    bottom: 40px;
    right: 10px;
    background-color: #FF300C;
    padding: 15px;
    -webkit-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
    cursor: pointer;
}
.detailgallery__totop:hover {
    opacity: .80;
}
.detailgallery__totop img{
    width: 30px;
}

.detailstext td:first-of-type {
    width: 170px !important;
}

@media only screen and (max-width: 600px) {
    .detailgallery {
        display: none;
    }

    .detailstext td:first-of-type {
        width: 210px !important;
    }
}

.detailstext td {
    padding-bottom: 10px;
}

