@charset "utf-8";

@font-face {
    font-family: 'Open Sans'; font-style: normal; font-weight: 300;
    src: url('/template/font/opensans-light.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans'; font-style: normal; font-weight: 400;
    src: url('/template/font/opensans-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans'; font-style: normal; font-weight: 700;
    src: url('/template/font/opensans-bold.ttf') format('truetype');
}

@font-face {
    font-family: "Material Icons";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/template/font/material-icons.woff2") format("woff2"), url("/template/font/material-icons.woff2") format("woff");
}
.material-icons {
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "liga";
}

:root {
    --fw-body-background: #FFF; /* Hintergrundfarbe Body */
    --fw-text-primary: #333; /* primäre Textfarbe */
    --fw-font-family-primary: 'Open Sans', Tahoma, Geneva, sans-serif; /* primäre Font */
    --fw-font-size-primary: 1.1em; /* Primäre Schriftgröße für Article-Bereich */

    --fw-primary: #3b7ddd; /* Primäre Farbe für Layout, Selection, Datepicker */
    --fw-secondary: #6e6e6e; /* Zweite Farbe für Layout */
    --fw-ternary: #669ae5; /* Dritte Farbe für Layout */

    --fw-link-color: #313437; /* Textfarbe Link */
    --fw-link-color-hover: #6e6e6e; /* Textfarbe Link-Hover */

    --fw-btn-background: #3b7ddd; /* Hintergrundfarbe Buttons */
    --fw-btn-background-hover: #6e6e6e; /* Hintergrundfarbe Buttons Hover */
    --fw-btn-text: #FFF; /* Textfarbe Buttons */
    --fw-btn-text-hover: #FFF; /* Textfarbe Buttons Hover */
    --fw-btn-bordercolor: #3b7ddd; /* Border Buttons */
    --fw-btn-bordercolor-hover: #6e6e6e; /* Border Buttons Hover */

    --fw-wrapper: 1960px; /* 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;
}

/* 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-text-primary);
    font-family: var(--fw-font-family-primary); font-size: 16px; line-height: 1.231;
    margin: 0;
}
#main, #footer { font-size: var(--fw-font-size-primary); }
#article { line-height: 160%; 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); }
a:hover { color: var(--fw-link-color-hover); }
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: #333;
    font-style: normal; font-weight: normal; font-size: 3.33em;
    line-height: 1.2em;
}
h1 {
    font-size: 3.714em;
    margin: 0.67em 0;
}
h2 {
    font-size: 3em;
    margin: 0.83em 0;
}
h3 {
    font-size: 2em;
    margin: 1.25em 0 0.25em;
}
h4 { font-size: 1em; margin: 1.33em 0; }
h5 { font-size: 0.83em; margin: 1.67em 0; }
h6 { font-size: 0.67em; 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; }
dd { margin: 0 0 0 40px; }
ol, ul { padding: 0 0 0 40px; }
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, .innerwrapper, .textwrapper {
    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;
}
.msg, .msgerror { padding: 1em; }
.msg h2, .msgerror h2 { margin: 0 0 0.5em!important; }
.msg ul, .msgerror 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;
    padding: 0.5em 1em;
    text-decoration: none; text-align: center;
}
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 */

/* CLASSES */
.liketable {
    display: table;
    width: 100%;
}
.liketable > * {
    display: table-cell;
    vertical-align: middle;
}

/* PRIMARY STYLES [layout] */
#article { text-align: center; }

#header {
    background: #FFF;
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.1); -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.1); -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.1);
    padding-top: 10px; padding-bottom: 10px;
    position: fixed; left: 0; top: 0; right: 0; z-index: 4;
}
#header .liketable > *:first-child, #header .liketable > *:last-child { width: 345px; }
#header .liketable > *:last-child { text-align: right; }
#logo {
    display: inline-block;
    width: 100%;
}
#logo img {
    display: block;
    height: auto;
    width: 100%;
    max-width: 200px;
}

#nav ul {
    display: table;
    margin: 0 auto;
    white-space: nowrap;
}
#nav ul li {
    display: table-cell;
    vertical-align: middle;
}
#nav ul li + li { border-left: 1px solid #c4c3c3; }
#nav ul li a {
    color: #a5a5a5;
    display: block;
    font-size: 1.625em;
    padding: 0 1.6em;
    text-align: center; text-transform: uppercase; text-decoration: none;
}
#nav ul li a.active, #nav ul li a:hover { color: #333; }

#showmobilemenu {
    color: #b9b9b9;
    display: none;
}
#showmobilemenu:hover { color: #333333; }
#showmobilemenu i { font-size: 3.4em; }

#panorama-container { position: relative; z-index: 1; }
#panorama .img {
    background-position: center; background-repeat: no-repeat; background-size: cover;
    width: 100%;
}
#panorama-container, #panorama .img { height: calc(100vh - 115px); }

#toolbar {
    position: absolute; z-index: 1; right: 0; top: 50%;
    transform: translateY(-50%);
}
#toolbar > * {
    background: #f4f3f3;
    box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
    display: block;
    padding: 20px;
    text-align: center;
    width: 78px; height: 78px;
}
#toolbar > * + * { margin-top: 2px; }
#toolbar img {
    display: block;
    height: auto;
    width: 100%;
}
#toolbar i {
    color: #b9b9b9;
    font-size: 2.5em;
}
#toolbar > *:hover i { color: #333333; }

#panorama-overlay {
    position: absolute; z-index: 1; left: 0; top: 0; bottom: 0;
    pointer-events: none;
    width: 55%; max-width: 1100px;
}
#panorama-overlay > div {
    font-weight: 300;
    max-width: 615px; width: 50%;
    padding: 0 4em;
    text-align: center; text-transform: uppercase;
}
#panorama-overlay > div * { color: #FFF; }
#panorama-overlay > div, #panorama-overlay .liketable { height: 100%; }
#panologo, #footerlogo {
    display: block;
    height: auto;
    margin: 0 auto 2em;
    width: 100%; max-width: 250px;
}
.panoslogan { font-weight: 500; font-size: 2.18em; }
#japfont {
    color: #333333!important;
    font-size: 7.5em;
    margin: 10% 0.4em 10% 0;
    text-transform: none;
}
#panosubslogan {
    font-size: 1.06em;
    line-height: 1.3em;
    margin-top: 1em;
}
#scrolldowntxt { font-weight: 700; font-size: 0.8125em; margin-top: 3.5em; }
#scrolldownbtn { pointer-events: auto; }
#scrolldownbtn i { font-size: 5em; }
#scrolldownbtn:hover i { color: #e9e9e9; }

#main { padding-top: 0.5em; padding-bottom: 1.5em; }
#main.infopage { padding-top: 0.5em; padding-bottom: 0.5em; }
#main.infopage, #panorama-container { margin-top: 90px; }

#footer {
    background: #656262;
    text-align: center;
    padding: 3.3em 0;
    clear: both;
}
#footer * { color: #FFF; }
#footer a { text-decoration: none; }
#footer a:hover { text-decoration: underline; }
#footersublogo {
    font-weight: 500; font-size: 2em;
    text-transform: uppercase;
}
#footercta { margin: 4em 0; }
#footercta > * {
    font-weight: 700; font-size: 1.46em;
    text-decoration: none;
}
#footercta > *:hover, #footercta > *:hover > * {
    color: #E9E9E9;
    cursor: pointer;
}
#footercta > * + * { margin-left: 1.8em; }
#footercta > * i {
    margin-right: 0.5em;
    vertical-align: -4px;
}

#footernav > * { font-weight: 700; font-size: 1.06em; }
#footernav > * + * { margin-left: 3em; }

#copyright_language { margin-top: 4.5em; }
#copyright_language > div:first-child a { text-decoration: none; }
#copyright_language > div:first-child a:hover { text-decoration: underline; }
#copyright_language > div:first-child a.active { text-decoration: none; }
#copyright_language > div:first-child a.active:hover { text-decoration: underline; }
#copyright_language > div + div { margin-top: 8px; }

/* CONTENT */
.innerwrapper { max-width: 1240px; }
.textwrapper { max-width: 1020px; }
.pbottom { padding-bottom: 3.5em; }

#article h1 { text-align: center; }
#article figcaption {
    font-size: 0.8em; font-weight: 300;
    line-height: 1.2em;
    margin-top: 0.35em;
    text-align: center;
}

/* 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: 300px; }
.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%; }
}

/* Bilder mit Fließtext */
#article .imgandtext {
    clear: both;
    overflow: auto;
}
#article .imgandtext.img_left > img, #article .imgandtext.img_left .responsiveimages {
    float: left;
    margin-right: 0.5em;
}
#article .imgandtext.img_right > img, #article .imgandtext.img_right .responsiveimages {
    float: right;
    margin-left: 0.5em;
}
#article .imgandtext > img, #article .imgandtext .responsiveimages {
    margin-top: 0.4em;
    width: 40%;
}
#article .imgandtext p { margin-top: 0; }

/* 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: #FFF;
    border: 1px solid #000;
    display: inline-block;
    outline: none;
    width: 16px; height: 16px;
}
.tns-nav > *.tns-nav-active { background: #000; }
.tns-nav > * + * { margin-left: 8px; }
.tns-controls > * {
    background: transparent;
    border: none;
    color: #FFF;
    display: inline-block;
    font-size: 80px;
    outline: none;
    position: absolute; z-index: 1000; bottom: 0;
    transform: translateX(50%);
    width: 40px;
    padding: 0;
}
.tns-controls a { color: #fff; }
.tns-controls button:hover {
    background: transparent;
    border: none;
}
.tns-controls button i { font-size: 0.75em; }
.tns-controls > *:first-child { right: calc(50% + 25px); }
.tns-controls > *:last-child { right: calc(50% - 25px); }

/* 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; }

/* Media Queries */
/* Mobil bzw. Touchscreen */
@media screen and (max-width: 1480px) {
    #japfont { font-size: 5em; }
}
@media screen and (max-width: 1400px) {
    #nav ul li a { font-size: 1.15em; }
}
@media screen and (max-width: 1200px) {
    #panorama-overlay { font-size: 0.9em; }
    #panorama-overlay > div { padding: 0 10%; }
    #footercta { font-size: 0.85em; }
}
@media screen and (min-width: 1024px) and (max-height: 740px) {
    #panologo { display: none; }
}
@media screen and (min-width: 1024px) and (max-height: 720px) {
    #panosubslogan { display: none; }
}
@media screen and (max-width: 1023px), (any-hover: none) {
}
@media screen and (max-width: 1023px) {
    #header .liketable > *:first-child { width: 250px; }
    #header .liketable > *:last-child { width: 100px; }
    #main.infopage, #panorama-container { margin-top: 84px; }
    #nav {
        background: #f4f3f3;
        box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.1); -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.1); -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.1);
        height: 0;
        overflow: hidden;
        padding: 0;
        pointer-events: none;
        position: fixed; left: 0; top: 84px; z-index: 3;
        transition: height 0.5s ease-in-out; -webkit-transition: height 0.5s ease-in-out; -moz-transition: height 0.5s ease-in-out; -o-transition: height 0.5s ease-in-out;
        width: 100%;
    }
    body.mobilemenu #nav {
        height: 161px;
        pointer-events: auto;
    }
    #showmobilemenu { display: inline-block; }

    #nav ul, #nav li { display: block!important; }
    #nav ul { padding: 1em 0; }
    #nav ul li {
        border: none!important;
        text-align: center;
    }
    #nav ul li a {
        color: #777;
        display: inline-block;
        padding-top: 0.5em; padding-bottom: 0.5em;
    }

    #panorama-overlay { display: none; }
    #panorama-container, #panorama .img {
        height: 46.66vw; max-height: calc(100vh - 84px);
        overflow: hidden;
        position: relative; z-index: 2;
    }

    #toolbar {
        clear: both;
        position: fixed; z-index: 2; bottom: 20px; top: auto; right: 30px;
        transform: translateY(0);
    }
    #toolbar > * {
        border-radius: 50%;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
        display: inline-block;
        float: left;
        margin-top: 0;
        padding: 10px;
        width: 60px; height: 60px;
    }
    #toolbar > * + * { margin-left: 12px; }

    #footercta > * {
        display: block;
        max-width: 400px;
        margin: 0 auto;
    }
    #footercta > * i { vertical-align: -8px; }
    #footercta > * + * { margin-top: 0.75em; }

    .tns-controls {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .tns-controls > *:first-child {
        position: relative;
        left: -20px;
    }
    .tns-controls > *:last-of-type {
        position: relative;
        right: 40px;
        float: right;
    }
}
@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; }

    h1, h2, h3 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }
    h4 { font-size: 1em; }
    h5 { font-size: 0.8em; }
    #main { font-size: 1em; }
    #footer { font-size: 0.75em; }

    #logo img { max-width: 170px; }
    #panorama-container, #panorama .img { max-height: calc(100vh - 79px); }
    #main.infopage, #panorama-container { margin-top: 79px; }
    #nav { top: 79px; }
}
@media screen and (max-width: 700px) {
    #footer { padding-bottom: 7em; }
}
@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; }

    #main { font-size: 0.9em; }

    #footer { font-size: 0.75em; }
    #footerlogo { max-width: 280px; }
    #footernav > * {
        display: block;
        max-width: 155px;
        margin: 0 auto;
    }
    #footernav > * + * { margin-top: 0.2em; }
}

/* 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; }

    #panorama-container { display: none; }
    .parallax-container { display: none; }
}