@charset "utf-8";

@import url('/template/css/font.css?a');

:root {
    --fw-body-background: #FFF; /* Hintergrundfarbe Body */
    --fw-text-primary: #000; /* primäre Textfarbe */
    --fw-font-family-primary: 'Archivo', sans-serif; /* primäre Font */
    --fw-font-size-primary: 1.25em; /* Primäre Schriftgröße für Article-Bereich */

    --fw-primary: #003036; /* Primäre Farbe für Layout, Selection, Datepicker */
    --fw-secondary: #ffcc00; /* Zweite Farbe für Layout */
    --fw-ternary: #268191; /* Dritte Farbe für Layout */

    --fw-link-color: #003036; /* Textfarbe Link */
    --fw-link-color-hover: #268191; /* Textfarbe Link-Hover */

    --fw-btn-background: #FFF; /* Hintergrundfarbe Buttons */
    --fw-btn-background-hover: #003036; /* Hintergrundfarbe Buttons Hover */
    --fw-btn-text: #003036; /* Textfarbe Buttons */
    --fw-btn-text-hover: #FFF; /* Textfarbe Buttons Hover */
    --fw-btn-bordercolor: #003036; /* Border Buttons */
    --fw-btn-bordercolor-hover: #003036; /* Border Buttons Hover */

    --fw-wrapper: 1400px; /* Wrapper-Breite */


    /* Hilfsfarben */
    --fw-blue: #3b7ddd;
    --fw-indigo: #6610f2;
    --fw-purple: #6f42c1;
    --fw-pink: #e83e8c;
    --fw-red: #dc3545;
    --fw-orange: #fd7e14;
    --fw-yellow: #ffc107;
    --fw-green: #28a745;
    --fw-teal: #20c997;
    --fw-cyan: #17a2b8;
    --fw-white: #fff;
    --fw-gray: #6c757d;
    --fw-gray-dark: #343a40;

    --scrollbar-width: 0px;
}

/* HTML5 display definitions */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; height: 0; }
[hidden] { display: none; }

/* Base */
body {
    background: var(--fw-body-background);
    color: var(--fw-primary);
    font-family: var(--fw-font-family-primary); font-size: 18px; line-height: 1.231;
    margin: 0;
}
#main, #footer { font-size: var(--fw-font-size-primary); }
#article { hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; }

::selection {
    background: var(--fw-primary);
    color: white;
    text-shadow: none;
}

/* Links */
a {
    color: var(--fw-link-color);
    font-weight: 500;
    text-decoration: underline;
    font-weight: bold;
}
a:hover {
    color: var(--fw-link-color-hover);
    text-decoration: underline;
}
a:focus { outline: none; }
a:active, a:hover { outline: 0; }

h2 a, h3 a {
    color: var(--fw-link-color);
    text-decoration: none;
}

/* Typography */
h1, h2, h3 {
    color: var(--fw-primary);
    font-weight: normal;
    line-height: 1.4;
    text-align: left;
}
h1 {
    font-family: 'Quiche Sans';
    font-weight: bold;
    font-size: 2em;
    text-transform: uppercase;
    margin: 0.9em 0;
}
h2 {
    font-family: 'Quiche Sans';
    font-weight: bold;
    font-size: 2em;
    text-transform: uppercase;
    margin: 0.7em 0;
}
h3 {
    font-weight: bold;
    font-size: 1.17em;
    text-transform: uppercase;
    margin: 1.5em 0;
}
h4 {
    font-family: 'Quiche Sans';
    font-weight: bold;
    font-size: 1.17em;
    text-transform: uppercase;
    margin: 0.7em 0 0;
}
h5 {
    font-weight: normal;
    font-size: 1em;
    margin: 0;
}
h6 {
    font-weight: bold;
    font-size: 0.67em;
    text-transform: uppercase;
    margin: 2.33em 0;
}

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr {
    border: none; border-top: 1px dashed #ccc;
    -moz-box-sizing: content-box; box-sizing: content-box; display: block;
    height: 1px;
    margin: 1em 0; padding: 0;
}
mark { background: #ff0; color: #000; }
p, pre { margin: 1em 0; }
code, kbd, pre, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ''; content: none; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Lists */
dl, ol, ul {
    margin: 1em 0;
    text-align: left!important;
}
dd { margin: 0 0 0 40px; }
ol, ul { padding: 0 0 0 20px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

/* Embedded content */
img { border: 0; -ms-interpolation-mode: bicubic; }
svg:not(:root) { overflow: hidden; }

/* Figures */
figure { margin: 0; }

/* Forms */
form { margin: 0; }
fieldset { border: 0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
legend { border: 0; padding: 0; white-space: normal; *margin-left: -7px; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, select { text-transform: none; }
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; *overflow: visible; }
button[disabled], html input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *height: 13px; *width: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }

/* Tables */
table { border-collapse: collapse; border-spacing: 0; }

/* CLASSES */
.boxsizing { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.right { float: right; }
.left { float: left; }

/* Wrapper */
.wrapper {
    box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
    margin: 0 auto;
    padding: 0 20px;
}

/* 12 Col-Grid-Layout */
.grid-container, .wrapper { width: 100%; max-width: var(--fw-wrapper); }
.grid-container * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.row:before, .row:after {
    content: '';
    clear: both;
    display: table;
}
[class*='col-'] {
    display: inline-block;
    float: left;
    margin-left: 2.127659574468085%;
    min-height: 1px;
    padding: 0;
}
[class*='col-']:first-child, .grid-container.nogutter [class*='col-'] { margin-left: 0; }

.row.table {
    display: table;
    table-layout: fixed;
    width: 100%;
}
.row.table > [class*="col-"] {
    display: table-cell;
    float: none;
    margin-left: 0;
    padding: 0.7em 1em;
    vertical-align: middle;
}
.grid-container.nogutter .row.table > [class*="col-"] { padding: 0; }

[class*='col-'].space { padding: 0.7em 1em!important; }
[class*='col-'].space-left { padding-left: 1em!important; }
[class*='col-'].space-right { padding-right: 1em!important; }

.col-1  { width: 6.382978723404255%; }
.grid-container.nogutter .col-1, .grid-container .row.table > .col-1 { width: 8.333%; }
.col-2  { width: 14.893617021276595%; }
.grid-container.nogutter .col-2, .grid-container .row.table > .col-2 { width: 16.66%; }
.col-3  { width: 23.404255319148934%; }
.grid-container.nogutter .col-3, .grid-container .row.table > .col-3 { width: 25%; }
.col-4  { width: 31.914893617021278%; }
.grid-container.nogutter .col-4, .grid-container .row.table > .col-4 { width: 33.33%; }
.col-5  { width: 40.42553191489362%; }
.grid-container.nogutter .col-5, .grid-container .row.table > .col-5 { width: 41.66%; }
.col-6  { width: 48.93617021276595%; }
.grid-container.nogutter .col-6, .grid-container .row.table > .col-6 { width: 50%; }
.col-7  { width: 57.44680851063829%; }
.grid-container.nogutter .col-7, .grid-container .row.table > .col-7 { width: 58.33%; }
.col-8  { width: 65.95744680851064%; }
.grid-container.nogutter .col-8, .grid-container .row.table > .col-8 { width: 66.66%; }
.col-9  { width: 74.46808510638297%; }
.grid-container.nogutter .col-9, .grid-container .row.table > .col-9 { width: 75%; }
.col-10 { width: 82.97872340425532%; }
.grid-container.nogutter .col-10, .grid-container .row.table > .col-10 { width: 83.33%; }
.col-11 { width: 91.48936170212765%; }
.grid-container.nogutter .col-11, .grid-container .row.table > .col-11 { width: 91.66%; }
.col-12 { width: 100%; }
.grid-container.nogutter .col-12, .grid-container .row.table > .col-12 { width: 100%; }

.offset12 { margin-left: 104.25531914893617%; }
.offset12:first-child { margin-left: 102.12765957446808%; }
.offset11 { margin-left: 95.74468085106382%; }
.offset11:first-child { margin-left: 93.61702127659574%; }
.offset10 { margin-left: 87.23404255319149%; }
.offset10:first-child { margin-left: 85.1063829787234%; }
.offset9 { margin-left: 78.72340425531914%; }
.offset9:first-child { margin-left: 76.59574468085106%; }
.offset8 { margin-left: 70.2127659574468%; }
.offset8:first-child { margin-left: 68.08510638297872%; }
.offset7 { margin-left: 61.70212765957446%; }
.offset7:first-child { margin-left: 59.574468085106375%; }
.offset6 { margin-left: 53.191489361702125%; }
.offset6:first-child { margin-left: 51.063829787234035%; }
.offset5 { margin-left: 44.68085106382979%; }
.offset5:first-child { margin-left: 42.5531914893617%; }
.offset4 { margin-left: 36.170212765957444%; }
.offset4:first-child { margin-left: 34.04255319148936%; }
.offset3 { margin-left: 27.659574468085104%; }
.offset3:first-child { margin-left: 25.53191489361702%; }
.offset2 { margin-left: 19.148936170212764%; }
.offset2:first-child { margin-left: 17.02127659574468%; }
.offset1 { margin-left: 10.638297872340425%; }
.offset1:first-child { margin-left: 8.51063829787234%; }
/* END 12 Col-Grid-Layout */

/* clearfix */
.cf:before, .cf:after {
    content: "";
    display: table;
}
.cf:after { clear: both; }
/* For IE 6/7 (triggers hasLayout) */
.cf { *zoom: 1; }

.alignright { text-align: right; }
.alignleft { text-align: left; }
.aligncenter { text-align: center; }
.alignjustify { text-align: justify; }
.margintop { margin-top: 1em; }
.marginright { margin-right: 1em; }
.marginbottom { margin-bottom: 1em; }
.marginleft { margin-left: 1em; }

/* msg */
.msg {
    background: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
}
.msgerror {
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
}
.msgwarning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}
.msg, .msgerror, .msgwarning { padding: 1em; }
.msg h2, .msgerror h2, .msgwarning h2 { margin: 0 0 0.5em!important; }
.msg ul, .msgerror ul, .msgwarning ul { margin-top: 0; }

/* pagenav */
.pagenav { text-align: center; }
.pagenav span a {
    font-size: 1.214em; vertical-align: bottom;
    padding: 0 2px;
}
.pagenav a, .pagenav strong { margin: 2px; padding: 2px; }
.pagenav a:hover, .pagenav strong {
    border: 1px solid;
    margin: 1px;
}
.pagenav a, .pagenav a:hover { text-decoration: none; }
.pagenav a:hover { border-style: dotted; }

/* button */
a.button, button, input[type="submit"], input[type="button"] {
    background: var(--fw-btn-background);
    box-sizing: border-box;
    border: 1px solid var(--fw-btn-bordercolor); border-radius: 0px;
    color: var(--fw-btn-text);
    display: inline-block;
    font-family: var(--fw-font-family-primary); font-size: 1em; font-weight: 400;
    hyphens: none; -webkit-hyphens: none; -ms-hyphens: none;
    line-height: 1.2em;
    text-decoration: none; text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.3em 1.5em;
}
a.button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background: var(--fw-btn-background-hover);
    color: var(--fw-btn-text-hover);
    border: 1px solid var(--fw-btn-bordercolor-hover);
}
a.button:focus, button:focus, input[type="submit"]:focus, input[type="button"]:focus { outline: none; }
a.button.next:after, button.next:after { content: ' ›'; }
a.button.prev:before, button.prev:before { content: '‹ '; }

/* Fancybox Buttons */
.fancybox-button:hover {
    background: transparent!important;
    border: none!important;
}

/* Datepicker */
div .ui-widget-header { background: var(--fw-primary)!important; }

/* Popup */
/* Layout:
<div class="fw-popup">
    <div class="fw-popup-inner">
        <div class="fw-popup-card">
            <div class="fw-popup-title" title="`+title+`"><div>`+title+`</div></div> [Optional]
            <div class="fw-popup-content">`+content+`</div>
            <a href="javascript:;" class="fw-popup-close">&times;</a>
        </div>
    </div>
</div>
 */
.fw-popup {
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity .25s linear;
    position: fixed; z-index: 10000000; left: 0; top: 0;
    width: 100%; height: 100%;
}
.fw-popup.show { opacity: 1; }
.fw-popup-inner {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 20px;
}
.fw-popup-card {
    background: #FFF;
    box-sizing: border-box;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    color: rgb(33, 37, 41);
    display: flex; flex-direction: column;
    font-size: 1.1rem; font-family: var(--fw-font-family-primary);
    line-height: 1.5em;
    max-width: 550px; max-height: calc(100vh - 60px);
    transition: transform .3s ease-out;
    padding: 25px; padding-top: 40px;
    position: relative; z-index: 1;
    width: 100%;
}
.fw-popup.show .fw-popup-card { transform: none; }
.fw-popup-title {
    color: #000;
    font-weight: 600; font-size: 1.2em;
    padding-bottom: 1.2rem;
    position: relative; z-index: 1;
    margin-bottom: 1.2rem;
}
.fw-popup-title:after {
    background: var(--fw-primary);
    content: '';
    display: block;
    height: 2px;
    margin: 0 auto;
    max-width: 100px;
    position: absolute; z-index: 1; left: 0; bottom: 0; right: 0;
}
.fw-popup-title > div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fw-popup-title, .fw-popup-content { box-sizing: border-box; }
.fw-popup-content {
    font-size: 0.9em;
    max-height: calc(100% - 90px);
    overflow-x: hidden; overflow-y: auto;
}
.fw-popup-title + .fw-popup-content { max-height: calc(100% - 140px); }
.fw-popup-content > p:first-child { margin-top: 0; }
.fw-popup-content > *:last-child { margin-bottom: 0; }
.fw-popup-close {
    color: inherit;
    font-size: 2em;
    position: absolute; z-index: 1; right: 6px; top: 6px;
    text-decoration: none;
}
.fw-popup-close:hover { color: var(--fw-link-color-hover); }

/* START CUSTOM PART */
body.extraspacing #article { margin-top: 6em; }
body.extraspacing .tns-nav { bottom: -60px; }
.goldencolor, .goldencolor a { color: #b7a06e; }

/* Select2 START */
.select2-container--default .select2-selection--single {
    border-radius: 0!important;
    border-color: var(--fw-primary)!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--fw-primary) transparent transparent transparent!important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--fw-primary)!important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--fw-primary) !important; }
/* Select2 END */

/* Hamburgers START */
.hamburger { padding: 0; }
.hamburger-box { width: 35px; }
.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
    background: #fff;
    width: 35px;
    height: 3px;
}
.hamburger-inner:before { top: -9px; }
.hamburger-inner:after { bottom: -9px; }
.hamburger.is-active:hover, .hamburger:hover { opacity: 1; }
.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner:after, .hamburger.is-active .hamburger-inner:before { background-color: #fff; }
/* Hamburgers END */

/* TinySlider START */
.tns-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -35px;
}
.tns-nav > * {
    padding: 0;
}
/* TinySlider END */

/* CLASSES */

/* PRIMARY STYLES [layout] */
main.wrapper { max-width: 1150px; }
#article {
    margin: 3em auto 0;
    line-height: 1.6;
    text-align: center;
}
#article h1, #article h2, #article h3 { text-align: center; }
#article h3 {
    margin: 1.5em 0;
}

#header {
    background: var(--fw-primary);
    padding: 40px 0 0;
    position: fixed; top:0; left: 0; right: 0; z-index: 10;
    min-height: 50px;
    line-height: 1.4;
    text-transform: uppercase;
    transition: top 500ms ease 0s;
}
#header.hidden {
    top: -102px;
}
#header > .wrapper { max-width: 1150px; }
#header.primarycolor { opacity: 1; }
#header > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: #fff;
    align-items: flex-start;
}
#header a {
    color: #fff;
    font-family: 'Quiche Sans';
    font-weight: bold;
    text-decoration: none;
}
#header a:hover, #header li.active > a {
    color: var(--fw-secondary);
    font-weight: 600;
}
#header a::before {
    display: block;
    content: attr(data-text);
    font-weight: bold;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}
#header .mobile-menu-action { display: none; }
#header .mobile-menu-nav { display: none; }
#header #logo-block a {
    position: relative;
    top: -13px;
}
#header #nav-left, #header #nav-right {
    width: 35%;
}
#header ul > li >ul > li { margin-bottom: 0.35em; }
#header ul > li >ul > li:last-child { margin-bottom: 0; }
#header #nav-right li { text-align: right; }
#header #nav-right li > ul > li { width: 100%!important; }
#header #nav-left > ul, #header #nav-right > ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}
#header #nav-left > ul > li > ul, #header #nav-right > ul > li > ul {
    display: none;
    padding: 1.25em 0;
}
#header .mobile-menu-nav > ul > li > ul {
    display: none;
    font-size: 0.8em;
    padding-left: 1.5em;
    padding-top: 0.5em;
}
#header .mobile-menu-nav li { position: relative; }
#header .mobile-menu-nav li .icon {
    cursor: pointer;
    position: absolute;
    right: 0;
    font-size: 1.5em;
    top: 18px;
}
#header .mobile-menu-nav > ul > li > ul li {
    border-bottom: none;
    padding: 0.25em 0;
}
#header #logo-block { width: 30%; }
#header #logo-block img {
    width: 100%;
    height: auto;
}
#header .mobile-menu-nav {
    position: fixed;
    top: 64px;
    height: calc(100dvh - 64px);
    height: calc(100vh - 64px);
    overflow: auto;
    background: var(--fw-primary);
    left: 0;
    right: 0;
    padding: 0.75em 1em 1em;
    font-size: 1.35em;
}
#header .mobile-menu-nav li {
    padding: 0.75em 0;
    border-bottom: 1px solid #fff;
}

#subheader {
    position: relative;
    min-height: 180px;
}
#subheader .panorama-slogan {
    position: absolute;
    top: 250px;
    left: 150px;
    z-index: 2;
    color: #fff;
    font-size: 2.5em;
    text-transform: uppercase;
    font-family: 'Quiche Sans';
    width: 600px;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}
#subheader .panorama-images img {
    margin-top: 90px;
    height: calc(100vh - 90px);
    height: calc(100svh - 90px);
    object-fit: cover;
    object-position: top;
}
.panorama_mini #subheader .panorama-images img {
    height: 55vh;
    height: 55svh;
}
#subheader .immo-search {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: var(--fw-primary);
    color: #fff;
}
#subheader .immo-search .wrapper { max-width: 1150px; }
.panorama_mini #subheader .immo-search { position: static; }
#subheader .immo-search .select2-container--default .select2-selection--single {
    background-color: #0e3036!important;
    border: 1px solid #fff!important;
}
#subheader .immo-search .select2-container--default .select2-selection--single .select2-selection__rendered { color: #fff!important; }
#subheader .immo-search .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #fff!important; }
#subheader .immo-search .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #fff transparent transparent transparent!important;
}
#subheader .immo-search .select2-container .select2-selection--single { height: 34px!important; }
#subheader .immo-search .select2-container--default .select2-selection--single .select2-selection__arrow { top: 4px!important; }
#subheader .immo-search .search-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    padding: 1em 0;
}
#subheader .immo-search .search-form > * { width: calc(25% - 12px); }
#subheader .immo-search .search-form .search-submit-block input {
    text-transform: none;
    border: 1px solid #fff;
    width: 100%;
}

#contact-button {
    -webkit-box-shadow: -1px 1px 2px 1px #000000;
    box-shadow: -1px 1px 2px 1px #000000;
    cursor: pointer;
    position: fixed;
    right: 0;
    bottom: 70px;
    z-index: 3;
    background: #0e3036;
    color: #f8c931;
    padding: 0.6em 0.4em;
}
#contact-button > div:first-of-type { margin-bottom: 0.5em; }
#contact-button i { vertical-align: middle; }
#contact-overlay {
    cursor: pointer;
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgb(0, 0, 0, 0.4);
    z-index: 100000;
}
#contact-form-block {
    position: fixed;
    right: 0;
    transform: translateX(100%);
    top: 0;
    bottom: 0;
    z-index: 100001;
    background: rgba(14, 48, 54, 0.9);
    text-align: center;
    padding: 2em;
    color: #fff;
    height: calc(100vh - 4em);
    height: calc(100dvh - 4em);
    overflow: auto;
    max-width: 340px;
    transition: transform 500ms;
}
#contact-form-block a { color: #fff; }
#contact-form-block h2 {
    color: #fff;
    text-align: center;
}
#contact-form-block .contact-error, #contact-form-block .contact-success { font-size: 0.85em; }
#contact-form-block .contact-success { display: none; }
#contact-form-block .contact-success .msg {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
#contact-form-block #contact-close {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
}
#contact-form-block #contact-close i {
    vertical-align: middle;
    font-size: 2em;
}
#contact-form-block #contact-image { margin: 1em 0; }
#contact-form-block #contact-phonemail { margin: 1em 0 2em; }
#contact-form-block #contact-phonemail a {
    color: var(--fw-secondary);
    font-weight: 400;
}
#contact-form-block #contact-form { text-align: left; }
#contact-form-block #contact-form > div { margin-bottom: 1em; }
#contact-form-block #contact-form label {
    font-size: 0.9em;
    display: inline-block;
    width: auto;
    margin-bottom: 0.25em;
}
#contact-form-block #contact-form input, #contact-form-block #contact-form textarea {
    background: #cdd6d7;
    border: none;
    width: 100%;
}
#contact-form-block #contact-form textarea { height: 100px; }
#contact-form-block #contact-form .contact-checkbox-block {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
}
#contact-form-block #contact-form .contact-checkbox-block input { width: auto; }
#contact-form-block #contact-form .contact-checkbox-block label {
    color: #ced6d7;
    font-size: 0.5em;
}
#contact-form-block #contact-form input[type="submit"] {
    width: auto;
    background: var(--fw-primary);
    color: #fff;
    border: 1px solid #fff;
    font-size: 0.9em;
}
#contact-form-block #contact-form input[type="submit"]:disabled { cursor: not-allowed; }
#contact-form-block #contact-form input[type="submit"]:hover {
    background: #fff;
    color: var(--fw-primary);
    border: 1px solid var(--fw-primary);
}

#footer {
    background: var(--fw-primary);
    color: #fff;
    font-size: 0.9em;
    font-weight: 300;
    padding: 1.15em 0;
    line-height: 1.4;
}
#footer a {
    color: #fff;
    font-weight: 300;
    text-decoration: none;
}
#footer a:hover { text-decoration: underline; }
#footer #footer-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 60px;
    justify-content: space-between;
    align-items: center;
    margin: 3em auto 2em;
    max-width: 1150px;
}
#footer #copyright-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1150px;
    text-transform: uppercase;
    gap: 10px;
}
#footer #footer-logo {
    margin-bottom: 0.75em;
}
#footer #footer-logo img {
    width: 300px;
    max-width: 100%;
}
#footer #footer-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}
#footer #footer-logos .footer-logo:first-of-type img {
    width: 120px;
    max-width: 100%;
}
#footer #footer-logos .footer-logo:last-of-type img {
    width: 70px;
    max-width: 100%;
}
#footer #footer-address { margin-bottom: 0.75em; }
#footer .footer-addresses {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
}
#footer #footer-menu-block a {
    font-weight: 200;
    text-transform: uppercase;
}
#footer #footer-language .active { font-weight: 500; }

/* CONTENT */

.loader { text-align: center; }
.badge {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0.2em 0.5em;
    background: var(--fw-primary);
    color: var(--fw-secondary);
    font-size: 1em;
    font-family: 'Quiche Sans';
    font-weight: bold;
    text-transform: uppercase;
}
.badge.reserved {
    color: var(--fw-primary);
    background: var(--fw-secondary);
}
.realestates .msgerror, .realestates .msgwarning { width: 100%; }
.realestates {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    margin: 2em 0;
    text-align: left;
}
.realestates .realestate {
    box-shadow: 2px 6px 10px 0px rgba(0,0,0,0.5);
    width: calc(33.33% - 27px);
    position: relative;
    cursor: pointer;
}
.realestates .realestate .realestate-content { margin-bottom: 30px; }
.realestates .realestate .image img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.realestates .realestate .content {
    padding: 0.75em;
}
.realestates .realestate .content .title {
    font-size: 0.95em;
    margin: 0.75em 0;
}
.realestates .realestate .content .footer-actions {
    font-size: 0.95em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    position: absolute;
    left: 0.75em;
    right: 0.75em;
    bottom: 15px;
}
.realestates .realestate .content .footer-actions .location {
    text-transform: uppercase;
    text-overflow: ellipsis;
    width: calc(100% - 120px);
    overflow: hidden;
    white-space: nowrap;
}
.realestates .realestate .content .footer-actions .more { width: 110px; }
.realestates .realestate .content .footer-actions .more a {
    text-decoration: underline;
    font-weight: 400;
}
@media screen and (max-width: 850px) {
    .realestates .realestate { width: calc(50% - 20px); }
}

@media screen and (max-width: 585px) {
    .realestates .realestate { width: 100%; }
}

.short-infos {
    display: flex;
    margin-bottom: 0.5em;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.short-infos > * {
    padding-right: 0.5em;
    border-right: 1px solid #000;
    text-align: center;
}
.short-infos > *:last-child {
    padding-right: 0;
    margin-right: 0;
    border: none;
}
.short-infos .icon img {
    width: auto;
    height: 20px;
}
.short-infos .price .icon img { height: 17px; }
.short-infos .value {
    font-size: 0.8em;
    font-weight: 600;
}

/* Tiny Slider Animation */
.immobilien-element-item {
    transform: scale(0.85);
    transition: transform 0.75s ease;
}
.immobilien-element-item.zoomed { transform: scale(1); }

/* Element Immobilien START */
.immobilien-element {
    background: #ecf0f0;
    padding: 3em 0;
    font-size: 0.9em;
    text-align: left;
}
.immobilien-element .tns-controls > *:first-child { left: -40px; }
.immobilien-element .tns-controls > *:last-child { right: -40px; }
.immobilien-element .immobilien-element-items {
    display: flex;
    flex-flow: wrap;
    align-items: stretch;
}
.immobilien-element .immobilien-element-item { cursor: pointer; }
.immobilien-element .immobilien-element-item .image { position: relative; }
.immobilien-element .immobilien-element-item .image img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.immobilien-element .immobilien-element-item .content {
    background: #fff;
    padding: 0.25em 0.5em;
    padding-bottom: 60px;
    min-height: 145px;
    position: relative;
}
.immobilien-element .immobilien-element-item .location { text-transform: uppercase; }
.immobilien-element .immobilien-element-item .title { font-weight: bold; }
.immobilien-element .shortinfos-action {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 0.5em;
    align-items: flex-end;
    position: absolute; left: 10px; right: 10px; bottom: 10px;
}
.immobilien-element .shortinfos-action .short-infos { margin: 0; }
.immobilien-element .shortinfos-action .action a { text-decoration: underline; }

.immobilien-element > .action {
    margin-top: 2em;
    text-align: center;
}
.immobilien-element > .action a { background: transparent; }

@media screen and (max-width: 1250px) {
    .immobilien-element .tns-controls {
        display: flex;
        gap: 20px;
        margin-top: 2em;
        justify-content: center;
        align-items: center;
    }
    .immobilien-element .tns-controls > * {
        display: flex;
        transform: none;
        position: static;
    }
    .immobilien-element .tns-controls img {
        width: 15px;
        height: auto;
    }
}
/* Element Immobilien END */

/* Element Dreiboxen START */
.dreiboxen.boxes {
    display: flex;
    gap: 30px;
    text-align: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 4em 0;
}
.dreiboxen.boxes .box {
    width: calc(33.33% - 20px);
    background: #003036;
    color: #fff;
    cursor: pointer;
    padding: 2em 1.5em 3.5em;
    box-sizing: border-box;
    position: relative;
}
.dreiboxen.boxes .box .icon img {
    width: auto;
    height: 100px;
}
.dreiboxen.boxes .box .title {
    font-weight: bold;
    font-family: 'Quiche Sans';
    font-size: 1.75em;
    margin: 0.25em 0 0;
    color: #fff;
}
.dreiboxen.boxes .box .subtitle {
    font-weight: bold;
    font-size: 1.15em;
    margin: 0.25em 0 1.5em 0;
}
.dreiboxen.boxes .box .content {
    margin: 0.25em 0 0;
}
.dreiboxen.boxes .box .action {
    margin: 1.25em 0 0;
    font-size: 0.9em;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
}
.dreiboxen.boxes .box .action a {
    color: #b7a06e;
    text-transform: uppercase;
}

@media screen and (max-width: 650px) {
    .dreiboxen.boxes .box {
        width: 100%;
    }
}
/* Element Dreiboxen ENDE */

/* Element Bildbox START */
.bildboxes {
    display: flex;
    gap: 30px 50px;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 2em 0;
}
.bildbox {
    cursor: pointer;
    text-align: center;
    width: calc(33.33% - 34px);
    position: relative;
    padding-bottom: 3.5em;
}
.bildbox .title {
    margin-bottom: 0.3em;
    font-weight: bold;
    font-size: 1.5em;
}
.bildbox .image img {
    width: 100%;
    height: auto;
}
.bildbox .content { margin-top: 0.25em; }
.bildbox .action {
    margin-top: 1em;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
}

@media screen and (max-width: 800px) {
    .bildbox { width: calc(50% - 25px); }
}
@media screen and (max-width: 585px) {
    .bildbox { width: 100%; }
}
/* Element Bildbox END */

/* Loader START */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--fw-primary);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}
/* Loader END */

/* END CUSTOM PART */

/* Responsive Videos */
#article .video-container {
    position: relative; z-index: 1;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
#article .video-container iframe,
#article .video-container object,
#article .video-container embed {
    border: none;
    position: absolute; top: 0; left: 0; z-index: 11;
    width: 100%; height: 100%;
}

/* Responsive Images */
.responsiveimages {
    clear: both;
    overflow: auto;
}
.responsiveimages a {
    border-bottom: none!important;
    display: inline-block;
    float: left;
    margin-left: 0.5%; margin-top: 0.25%; margin-bottom: 0.25%;
    text-decoration: none;
    width: 100%;
}
.responsiveimages a:first-child { margin-left: 0!important; }
.responsiveimages.fullwidth a { margin-left: 0; }
.responsiveimages.portrait a { width: 100%; max-width: 400px; }
.responsiveimages.fiftyfifty a { width: 49.75%; }
.responsiveimages.thirtyfsixtyf a:first-child, .responsiveimages.sixtyfthirtyf a:nth-child(2),
.responsiveimages.sixtyfthirtyfx2 a:nth-child(2), .responsiveimages.sixtyfthirtyfx2 a:nth-child(3), .responsiveimages.sixtyfx2thirtyf .leftside { width: 34.65%; }

.responsiveimages.thirtyfsixtyf a:nth-child(2), .responsiveimages.sixtyfthirtyf a:first-child,
.responsiveimages.sixtyfthirtyfx2 a:first-child, .responsiveimages.sixtyfx2thirtyf .rightside { width: 64.85%; }

.responsiveimages.sixtyfthirtyfx2 a:nth-child(3) { margin-top: 0.5%; }

.responsiveimages.sixtyfx2thirtyf a { margin-left: 0!important; }
.responsiveimages.sixtyfx2thirtyf a:nth-child(2) { margin-top: 1.5%; }
.responsiveimages.sixtyfx2thirtyf > div {
    display: inline-block;
    float: left;
    height: 100%;
}
.responsiveimages.sixtyfx2thirtyf .rightside { margin-left: 0.5%; }

.responsiveimages a img {
    height: auto;
    vertical-align: middle;
    width: 100%;
}
@media screen and (max-width: 560px) {
    .responsiveimages.sixtyfthirtyfx2 > *, .responsiveimages.sixtyfx2thirtyf .leftside > * { width: 49.75%!important; }
    .responsiveimages.sixtyfthirtyfx2 > *:first-child {
        margin-bottom: 0.5%;
        width: 100%!important;
    }
    .responsiveimages.sixtyfthirtyfx2 > *:nth-child(2) { margin-left: 0!important; }
    .responsiveimages.sixtyfthirtyfx2 > *:nth-child(3) { margin-top: 0!important; }

    .responsiveimages.sixtyfx2thirtyf .leftside { width: 100%; }
    .responsiveimages.sixtyfx2thirtyf .rightside {
        margin-top: 0.5%; margin-left: 0;
        width: 100%;
    }
    .responsiveimages.sixtyfx2thirtyf .leftside > *:nth-child(2) { margin-left: 0.5%!important; margin-top: 0; }
}
@media screen and (max-width: 400px) {
    .responsiveimages.fiftyfifty a {
        margin-left: 0;
        width: 100%;
    }
    .responsiveimages.fiftyfifty a:nth-child(2) { margin-top: 0.5%; }
    .responsiveimages.fiftyfifty a:nth-child(2) { margin-top: 0.5%; }
}

.outbrakewrapper {
    box-sizing: border-box;
    position: relative;
    width: calc(100vw - var(--scrollbar-width));
    left: 50%;
    transform: translateX(-50%);
    padding: 1em calc(((100dvw - 1127px) / 2));
}
.fulloutbrakewrapper {
    position: relative;
    width: calc(100vw - var(--scrollbar-width));
    left: 50%;
    transform: translateX(-50%);
}
h2.outbrakewrapper { padding-top: 1.5em; }

@media screen and (max-width: 1170px) {
    .outbrakewrapper {
        left: -20px;
        width: calc(100% + 40px);
        padding: 20px;
        transform: none;
    }
}
@media screen and (max-width: 1166px) {
    .fulloutbrakewrapper {
        left: -20px;
        width: calc(100% + 40px);
        transform: none;
    }
}
@media screen and (max-width: 1017px) {
    .outbrakewrapper {
        left: -25px;
        padding: 1em 20px;
        width: calc(100% + 45px);
    }
}

/* Showcase Anfrage Box START */
.request-showcase {
    background: #84979b;
    color: #fff;
    text-align: center;
    padding: 3em 0;
}
.request-showcase .text {
    font-size: 1.75em;
    font-family: 'Quiche Sans';
    font-weight: bold;
    max-width: 850px;
    margin: 0 auto;
    text-transform: uppercase;
    line-height: 1.4;
}
.request-showcase .action a {
    display: block;
    margin-top: 1em;
    background: #87979b;
    color: #fff;
    border-color: #fff;
    text-transform: uppercase;
}
/* Showcase Anfrage Box END */

/* Vorlage Text und Text 50 START */
.textandtext {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.textandtext h2 { margin: 0.5em 0 0 }
.textandtext h2 + p { margin-top: 0; }
.textandtext > * {
    width: calc(50% - 10px);
    text-align: center;
}
.textandtext .responsiveimages a {
    margin: 0 auto;
    float: none;
}
@media screen and (max-width: 700px) {
    .textandtext > * { width: 100%; }
}
/* Vorlage Text und Text 50 ENDE */

/* Vorlage hellgrauer Hintergrund START */
.bglightgray { background: #ecf0f0; }
h2.bglightgray, h3.bglightgray, h4.bglightgray { margin: 0; }
/* Vorlage hellgrauer Hintergrund END */

/* Vorlage dunkelgrauer Hintergrund START */
.bgdarkgray {
    background: #003036;
    color: #fff;
}
h2.bgdarkgray, h3.bgdarkgray, h4.bgdarkgray { margin: 0; }
/* Vorlage dunkelgrauer Hintergrund END */

/* Bilder mit Fließtext */
#article .imgandtext {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 1em 0;
}
.homepage #article .imgandtext:last-of-type {
    position: relative;
    left: -20px;
    width: calc(100% + 40px);
    padding-bottom: 0;
    padding-top: 4em;
}
#article .imgandtext > img, #article .imgandtext .responsiveimages {
    width: calc(40% - 10px);
}
#article .imgandtext .imgandtextcontent {
    box-sizing: border-box;
    padding: 0 1em;
    width: calc(60% - 10px);
}
#article .imgandtext .responsiveimages a { margin: 0; }
#article .imgandtext p { margin-top: 0; }
@media screen and (max-width: 700px) {
    #article .imgandtext > img, #article .imgandtext .responsiveimages {
        width: 100%;
    }
    #article .imgandtext .imgandtextcontent {
        width: 100%;
    }
    #article .imgandtext .imgandtextcontent h2 { margin-top: 0; }
    #article .imgandtext .responsiveimages a {
        display: block!important;
        margin: 0 auto!important;
        float: none!important;
    }
}

#article .imgandtext50 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 1em 0;
}
#article .imgandtext50.img_right > *:first-child { order: 2; }
#article .imgandtext50.img_right > *:last-child { order: 1; }
#article .imgandtext50 > img, #article .imgandtext50 .responsiveimages {
    width: calc(50% - 10px);
}
.responsiveimages img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
#article .imgandtext50 .imgandtextcontent {
    box-sizing: border-box;
    padding: 0 1em;
    width: calc(50% - 10px);
}
#article .imgandtext50 .responsiveimages a { max-width: none!important; }
#article .imgandtext50 p { margin-top: 0; }
@media screen and (max-width: 700px) {
    #article .imgandtext50 > img, #article .imgandtext50 .responsiveimages {
        width: 100%;
    }
    #article .imgandtext50 .imgandtextcontent {
        padding: 0;
        width: 100%;
    }
    #article .imgandtext50 .responsiveimages a {
        display: block!important;
        margin: 0 auto!important;
        float: none!important;
    }
}

/* START Vorlage imgandtext30 */
.imgandtext30 {
    margin-top: 4em;
    display: flex;
    gap: 10px;
    align-items: center;
}
.imgandtext30 > div:first-of-type { width: calc(40% - 10px); }
.imgandtext30 > div:first-of-type img {
    width: 100%;
    height: 750px;
    object-fit: cover;
}
.imgandtext30 > div:last-of-type {
    width: 60%;
    padding: 0 4em;
    max-width: 1120px;
    margin: 0 auto;
}
@media screen and (max-width: 800px) {
    .imgandtext30 { flex-wrap: wrap; }
    .imgandtext30 > div:first-of-type { width: 100%; }
    .imgandtext30 > div:first-of-type img {
        height: auto;
        max-height: 650px;
    }
    .imgandtext30 > div:last-of-type {
        width: 100%;
        padding: 0 1em;
    }
}
/* END Vorlage imgandtext30 */

/* Table-Container */
.tablecontainer { overflow: auto; }

/* Fancybox */
.fancybox-slide--iframe .fancybox-content {
    height: 1133px; max-height: 80%;
    margin: 0;
    width: 800px!important; max-width: 80%!important;
}
.fancybox-button { min-width: 0; }
.fancybox-button--left, .fancybox-button--right { display: inline-block!important; }
.fancybox-button[disabled], .fancybox-button[disabled]:hover { background: none!important; }

/* Tiny-Slider */
.tns-outer { position: relative; z-index: 1; }
.tns-nav { text-align: center; }
.tns-nav > * {
    background: var(--fw-primary);
    border: 1px solid var(--fw-primary);
    display: inline-block;
    outline: none;
    width: 30px; height: 5px;
}
.tns-nav > *.tns-nav-active {
    background: var(--fw-secondary);
    border: 1px solid var(--fw-secondary);
}
.tns-nav > * + * { margin-left: 8px; }
.tns-controls > * {
    background: none!important;
    border: none;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    outline: none;
    padding: 0!important;
    position: absolute; z-index: 1000; top: 50%;
    transform: translateY(-50%);
    width: auto;
}
.tns-controls > *:first-child { left: 10px; }
.tns-controls > *:last-child { right: 10px; }
.tns-controls > *:hover { border: none!important; }


/* Cookie Hint */
#cookiehint {
    background: #000; background: rgba(0, 0, 0, 0.8);
    box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
    width: calc(100% - 20px); max-width: 400px;
    color: #fff!important;
    line-height: 20px;
    padding: 0.5em;
    position: fixed; z-index: 10000; left: 10px; bottom: 10px;
}
#cookiehint.bottom-higher { bottom: 40px; }
#cookiehint p {
    margin: 0; margin-right: 38px;
    color: #fff!important;
}
#cookiehint a {
    border: none!important;
    color: #fff!important;
    text-decoration: underline!important;
}
#cookiehint a[href="javascript:;"] { position: absolute; z-index: 1; right: 5px; top: 5px; }
#cookiehint a:hover { text-decoration: none!important; }
#cookiehint.light { background: #fff; background: rgba(255, 255, 255, 0.8); }
#cookiehint.light, #cookiehint.light p, #cookiehint.light a { color: var(--fw-text-primary)!important; }
#cookiehint.top { top: 10px; bottom: initial; }

/* Advanced Cookie Hint */
#advanced-cookiehint-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 10000;
}
#advanced-cookiehint {
    background: #fff;
    box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
    color: #000!important;
    font-size: 1em;
    line-height: 120%;
    max-height: calc(100vh - 20px);
    overflow: auto;
    padding: 1.5em;
    position: fixed; z-index: 10000; left: 50%; top: 50%; z-index: 101;
    transform: translate(-50%, -50%);
    width: calc(100% - 20px); max-width: 700px;
}
#advanced-cookiehint h2 {
    font-size: 1em; font-weight: bold;
    margin: 0 0 0.75em;
}
#advanced-cookiehint p {
    color: #000!important;
    font-size: 0.9em;
    line-height: 130%;
    margin: 0;
}
#advanced-cookiehint-actions {
    display: flex;
    font-size: 1em;
    gap: 20px;
    margin: 1.5em 0 0;
}
#advanced-cookiehint-actions a {
    text-decoration: none!important; text-align: center;
    background: var(--fw-primary);
    color: #fff;
}
#advanced-cookiehint-actions a:hover {
    background: var(--fw-link-color-hover);
    border: 1px solid var(--fw-link-color-hover);
}
#advanced-cookiehint-privacy { margin: 0.5em 0 0.75em!important; }
#advanced-cookiehint-privacy a {
    display: block;
    font-size: 0.9em;
    margin-top: 1em;
}
.advanced-cookiehint-switch {
    display: inline-block;
    margin-top: 0.75em;
    white-space: nowrap;
}
.advanced-cookiehint-switch .label {
    cursor: pointer;
    font-size: 0.9em;
    margin: 0;
}
#tracking-switch, #essential-switch { margin-left: 1em; }
#advanced-cookiehint-actions #advanced-cookiehint-save {
    background: #fff;
    border: 1px solid var(--fw-primary);
    color: var(--fw-primary);
    border-radius: 0px;
    display: inline-block;
    font-family: var(--fw-font-family-primary);
    hyphens: none;
    text-transform: uppercase; text-align: center;
}
#advanced-cookiehint-actions #advanced-cookiehint-save:hover {
    background: var(--fw-primary);
    border: 1px solid var(--fw-primary);
    color: #fff;
}
#advanced-cookiehint p a { text-decoration: underline!important; }
#advanced-cookiehint.light { background: #fff; background: rgba(255, 255, 255, 0.8); }
#advanced-cookiehint.light, #advanced-cookiehint.light p, #advanced-cookiehint.light a:not(.button) { color: #333!important; }
@media screen and (max-width: 510px) {
    #advanced-cookiehint-actions, #advanced-cookiehint-actions a { display: block; }
    #advanced-cookiehint-actions a + a  { margin-top: 0.75em; }
}

/* START Switch */
.cl-switch input[type="checkbox"] {
    display: none;
    visibility: hidden;
}
.cl-switch .switcher {
    display: inline-block;
    border-radius: 100px;
    width: 35px;
    height: 15px;
    background-color: #ccc;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: middle;
    cursor: pointer;
}
.cl-switch .switcher:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    margin-top: -2.5px;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
    margin-right: 0;
    transition: all 0.2s; -webkit-transition: all 0.2s; -moz-transition: all 0.2s; -ms-transition: all 0.2s; -o-transition: all 0.2s;
}
.cl-switch .switcher:active:before {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(63, 81, 181, 0.3);
    transition: all, 0.1s;
}
.cl-switch .label {
    font-family: "Roboto", sans-serif;
    cursor: pointer;
    vertical-align: middle;
    margin: 0 5px;
}
.cl-switch input[type="checkbox"]:checked + .switcher { background-color: #8591d5; }
.cl-switch input[type="checkbox"]:checked + .switcher:before {
    left: 100%;
    margin-left: -20px;
    background-color: #3f51b5;
}
.cl-switch [disabled]:not([disabled="false"]) + .switcher { background: #ccc !important; }
.cl-switch [disabled]:not([disabled="false"]) + .switcher:active:before { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2) !important; }
.cl-switch [disabled]:not([disabled="false"]) + .switcher:before {
    background-color: #e2e2e2 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2) !important;
}
.cl-switch.cl-switch-large .switcher {
    width: 52px;
    height: 22px;
}
.cl-switch.cl-switch-large .switcher:before {
    width: 30px;
    height: 30px;
    margin-top: -4px;
}
.cl-switch.cl-switch-large .label { font-size: 18px; }
.cl-switch.cl-switch-large input[type="checkbox"]:checked + .switcher:before { margin-left: -30px; }
.cl-switch.cl-switch-xlarge .switcher {
    width: 87px;
    height: 37px;
}
.cl-switch.cl-switch-xlarge .switcher:before {
    width: 50px;
    height: 50px;
    margin-top: -6px;
}
.cl-switch.cl-switch-xlarge .label { font-size: 24px; }
.cl-switch.cl-switch-xlarge input[type="checkbox"]:checked + .switcher:before { margin-left: -50px; }
.cl-switch.cl-switch-black input[type="checkbox"]:checked + .switcher { background-color: #738d91; }
.cl-switch.cl-switch-black input[type="checkbox"]:checked + .switcher:before { background-color: var(--fw-primary); }
.cl-switch.cl-switch-black .switcher:active:before { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(52, 52, 52, 0.3); }
.cl-switch.cl-switch-red input[type="checkbox"]:checked + .switcher { background-color: #ffcece; }
.cl-switch.cl-switch-red input[type="checkbox"]:checked + .switcher:before { background-color: #ff6868; }
.cl-switch.cl-switch-red .switcher:active:before { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(255, 104, 104, 0.3); }
.cl-switch.cl-switch-green input[type="checkbox"]:checked + .switcher { background-color: #77e4c0; }
.cl-switch.cl-switch-green input[type="checkbox"]:checked + .switcher:before { background-color: #29cc97; }
.cl-switch.cl-switch-green .switcher:active:before { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(41, 204, 151, 0.3); }
.cl-switch.cl-switch-orange input[type="checkbox"]:checked + .switcher { background-color: #ffc166; }
.cl-switch.cl-switch-orange input[type="checkbox"]:checked + .switcher:before { background-color: #ff9800; }
.cl-switch.cl-switch-orange .switcher:active:before { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(255, 152, 0, 0.3); }
/* END Switch */

/* Media Queries */
/* Mobil bzw. Touchscreen */
@media screen and (max-width: 1000px), (any-hover: none) {
    #header .mobile-menu-action { display: block; }
    #header #nav-left, #header #nav-right { display: none; }
    #header > div {
        justify-content: space-between;
        align-items: center;
    }
    #header #logo-block {
        width: calc(100% - 60px);
        justify-content: flex-start;
    }
    #header .mobile-menu-action {
        width: 60px;
        text-align: right;
    }
    #header { padding: 15px 0 0; }
    #header #logo-block img { max-width: 255px; }
    #header #logo-block a {
        position: static!important;
        top: auto!important;
    }

    #subheader .panorama-images img {
        margin-top: 65px!important;
    }

    body.extraspacing .tns-nav { bottom: -180px; }
}
@media screen and (max-width: 1200px) {
    #subheader .panorama-slogan {
        font-size: 2em;
        top: 200px;
        left: 100px;
    }
    #header #logo-block a { position: relative; }
}
@media screen and (max-width: 1120px) {
    #footer #footer-block > div { width: calc(33.33% - 40px); }
    #footer .footer-addresses {
        flex-direction: column;
        text-align: center;
    }
    #footer #footer-logos { flex-direction: column; }
}
@media screen and (max-width: 1000px) {
    #subheader { min-height: 184px; }
    #subheader .immo-search .search-form > * { width: calc(50% - 8px); }
    #subheader .panorama-slogan {
        font-size: 2em;
        top: 150px;
        left: 60px;
    }
    #subheader .panorama-images img {
        height: 40vh;
        height: 40svh;
    }
    #subheader .immo-search { position: static; }
}
@media screen and (max-height: 500px) {
    #subheader .panorama-images img {
        height: 80vh;
        height: 80svh;
    }
}
@media screen and (max-width: 800px) {
    /* medium grid */
    .col-m-1  { width: 6.382978723404255%; }
    .grid-container.nogutter .col-m-1, .grid-container .row.table > .col-m-1 { width: 8.333%; }
    .col-m-2  { width: 14.893617021276595%; }
    .grid-container.nogutter .col-m-2, .grid-container .row.table > .col-m-2 { width: 16.66%; }
    .col-m-3  { width: 23.404255319148934%; }
    .grid-container.nogutter .col-m-3, .grid-container .row.table > .col-m-3 { width: 25%; }
    .col-m-4  { width: 31.914893617021278%; }
    .grid-container.nogutter .col-m-4, .grid-container .row.table > .col-m-4 { width: 33.33%; }
    .col-m-5  { width: 40.42553191489362%; }
    .grid-container.nogutter .col-m-5, .grid-container .row.table > .col-m-5 { width: 41.66%; }
    .col-m-6  { width: 48.93617021276595%; }
    .grid-container.nogutter .col-m-6, .grid-container .row.table > .col-m-6 { width: 50%; }
    .col-m-7  { width: 57.44680851063829%; }
    .grid-container.nogutter .col-m-7, .grid-container .row.table > .col-m-7 { width: 58.33%; }
    .col-m-8  { width: 65.95744680851064%; }
    .grid-container.nogutter .col-m-8, .grid-container .row.table > .col-m-8 { width: 66.66%; }
    .col-m-9  { width: 74.46808510638297%; }
    .grid-container.nogutter .col-m-9, .grid-container .row.table > .col-m-9 { width: 75%; }
    .col-m-10 { width: 82.97872340425532%; }
    .grid-container.nogutter .col-m-10, .grid-container .row.table > .col-m-10 { width: 83.33%; }
    .col-m-11 { width: 91.48936170212765%; }
    .grid-container.nogutter .col-m-11, .grid-container .row.table > .col-m-11 { width: 91.66%; }
    .col-m-12 { width: 100%; }
    .grid-container.nogutter .col-m-12, .grid-container .row.table > .col-m-12 { width: 100%; }

    .m-space { margin-left: 2.127659574468085%!important; margin-right: 2.127659574468085%!important; }
    .row.table .m-space { padding: 0.7em 1em!important; }
    .m-space-left { margin-left: 2.127659574468085%!important; }
    .row.table .m-space-left { padding-left: 1em!important; }
    .m-space-right { margin-right: 2.127659574468085%!important; }
    .row.table .m-space-right { padding-right: 1em!important; }

    .m-clearspace { margin: 0!important;}
    .row.table .m-clearspace { padding: 0; }
    .m-clearspace-left { margin-left: 0!important; }
    .row.table .m-clearspace-left { padding-left: 0!important; }
    .m-clearspace-right { margin-right: 0!important; }
    .row.table .m-clearspace-right { padding-right: 0!important; }

    #subheader .panorama-slogan {
        font-size: 1.5em;
        width: 380px;
        top: 120px;
        left: 40px;
    }

    #footer #footer-block { gap: 30px; }
    #footer #footer-block > * {
        width: 100%;
        text-align: center;
    }
}
@media screen and (max-width: 700px) {
    #footer #footer-block > div { width: 100%; }
}
@media screen and (max-width: 585px) {
    /* small grid */
    .col-s-1  { width: 6.382978723404255%; }
    .grid-container.nogutter .col-s-1, .grid-container .row.table > .col-s-1 { width: 8.333%; }
    .col-s-2  { width: 14.893617021276595%; }
    .grid-container.nogutter .col-s-2, .grid-container .row.table > .col-s-2 { width: 16.66%; }
    .col-s-3  { width: 23.404255319148934%; }
    .grid-container.nogutter .col-s-3, .grid-container .row.table > .col-s-3 { width: 25%; }
    .col-s-4  { width: 31.914893617021278%; }
    .grid-container.nogutter .col-s-4, .grid-container .row.table > .col-s-4 { width: 33.33%; }
    .col-s-5  { width: 40.42553191489362%; }
    .grid-container.nogutter .col-s-5, .grid-container .row.table > .col-s-5 { width: 41.66%; }
    .col-s-6  { width: 48.93617021276595%; }
    .grid-container.nogutter .col-s-6, .grid-container .row.table > .col-s-6 { width: 50%; }
    .col-s-7  { width: 57.44680851063829%; }
    .grid-container.nogutter .col-s-7, .grid-container .row.table > .col-s-7 { width: 58.33%; }
    .col-s-8  { width: 65.95744680851064%; }
    .grid-container.nogutter .col-s-8, .grid-container .row.table > .col-s-8 { width: 66.66%; }
    .col-s-9  { width: 74.46808510638297%; }
    .grid-container.nogutter .col-s-9, .grid-container .row.table > .col-s-9 { width: 75%; }
    .col-s-10 { width: 82.97872340425532%; }
    .grid-container.nogutter .col-s-10, .grid-container .row.table > .col-s-10 { width: 83.33%; }
    .col-s-11 { width: 91.48936170212765%; }
    .grid-container.nogutter .col-s-11, .grid-container .row.table > .col-s-11 { width: 91.66%; }
    .col-s-12 { width: 100%; }
    .grid-container.nogutter .col-s-12, .grid-container .row.table > .col-s-12 { width: 100%; }

    .s-space { margin-left: 2.127659574468085%!important; margin-right: 2.127659574468085%!important;  }
    .row.table .s-space { padding: 0.7em 1em!important; }
    .s-space-left { margin-left: 2.127659574468085%!important; }
    .row.table .s-space-left { padding-left: 1em!important; }
    .s-space-right { margin-right: 2.127659574468085%!important; }
    .row.table .s-space-right { padding-right: 1em!important; }

    .s-clearspace { margin: 0!important;}
    .row.table .s-clearspace { padding: 0; }
    .s-clearspace-left { margin-left: 0!important; }
    .row.table .s-clearspace-left { padding-left: 0!important; }
    .s-clearspace-right { margin-right: 0!important; }
    .row.table .s-clearspace-right { padding-right: 0!important; }

    #subheader { min-height: 267px; }
    #subheader .immo-search .search-form {
        gap: 6px;
        padding: 0.6em 0;
    }
    #subheader .immo-search .search-form > * { width: 100%; }
    #subheader .immo-search .wrapper { padding: 0 10px; }

    #subheader .panorama-slogan {
        font-size: 1.25em;
        width: 380px;
        top: 90px;
        left: 20px;
    }
    .panorama_mini #subheader .panorama-images img {
        height: 50vh;
        height: 50svh;
    }
    .realestates .realestate .image img { height: auto; }

    #footer #copyright-block {
        flex-direction: column;
        text-align: center;
    }

    body.extraspacing .tns-nav {
        bottom: -260px;
    }

    #subheader .immo-search .select2-container--default .select2-selection--single .select2-selection__arrow {
        top: 0!important;
    }
    #subheader .immo-search .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 26px!important;
    }
    #subheader .immo-search .select2-container .select2-selection--single {
        height: 28px!important;
        font-size: 0.85em!important;
    }
    #subheader .immo-search .select2-container--default .select2-selection--single .select2-selection__clear {
        position: relative;
        top: -2px;
    }
    #subheader .immo-search .search-form .search-submit-block input { font-size: 0.85em; }
}
@media screen and (max-width: 400px) {
    #subheader .panorama-slogan {
        width: auto;
        left: 10px;
        right: 10px;
    }
}

/* PRINT STYLES */
@media print {
    * { background: transparent!important; color: black!important; text-shadow: none!important; filter:none!important; -ms-filter: none!important; }
    a, a:visited { text-decoration: underline; }
    /*a[href]:after { content: " [" attr(href) "]"; }
    abbr[title]:after { content: " [" attr(title) "]"; }*/
    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
    pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
    thead { display: table-header-group; }
    tr, img { page-break-inside: avoid; }
    img { max-width: 100%!important; }
    @page { margin: 1.5cm; }
    p, h2, h3 { orphans: 3; widows: 3; }
    h2, h3 { page-break-after: avoid; }
    /* custom print styles */
    #header, #aside, #footer, #copyright { display: none; }
    main { background: none; box-shadow: none; margin: 0; }
    main article  { float: none; font-size: 16pt; padding: 0; width: 100%; }
    .slidebox dd { display: block!important; }
    #subheader { display: none; }
    #contact-button { display: none; }
    .request-showcase { display: none; }
    .realestates .realestate { width: 100%; }
}