@charset "utf-8";

@font-face {
    font-family: 'Kaushan Script';
    src: url('../font/kaushanscript_regular.woff2') format('woff2'),
        url('../font/kaushanscript_regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'Kanit';
	src: url('/template/font/Kanit-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Lato';
	src: url('/template/font/Lato-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Lato';
	src: url('/template/font/Lato-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Lato';
	src: url('/template/font/Lato-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Lato';
	src: url('/template/font/Lato-Black.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: "Material Icons";
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url('/template/font/material-icons.woff2') format("woff2");
}
.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";
}

/* 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: #fff;
	color: #313437;
	font-family: 'Lato', sans-serif; font-size: 16px; line-height: 1.231;
    margin: 0;
}
#main { font-size: 1.3125em; }
#article { 
	line-height: 160%;
	hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; 
}

::selection {
	background: #4f4c4d;
	color: #FFF; text-shadow: none;
}

/* Links */
a { 
	color: #313437;
	text-decoration: underline;
}
a:hover { color: #4f4c4d; }
a:focus { outline: 0; }
a:active, a:hover { outline: 0; }

h2 a, h3 a { 
	color: #4f4c4d;
	text-decoration: none;
}

/* Typography */
h1, h2 { 
	color: #4f4c4d;
	/*font-family: 'Kaushan Script'*/; font-style: normal; font-weight: normal; font-size: 3.33em;
	line-height: 1.2em;
	text-align: center; 
}
h1 { 
	font-size: 3.714em; 
	margin: 0.67em 0; 
}
h2 { margin: 0.83em 0; }
h3 { font-size: 1.5em; margin: 1em 0; }
h4 { font-size: 1em; margin: 1em 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 {
	color: #4f4c4d;
	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;
}
.innerwrapper { margin: 2em auto; }
h2.innerwrapper { 
	margin: 1.5em auto 0;
	text-align: center;
}
ul.innerwrapper { padding-left: 3em; }

/* 12 Col-Grid-Layout */
.grid-container, .wrapper, .innerwrapper, .textwrapper { width: 100%; max-width: 1960px; }
.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; }

.s { font-size: 0.786em; }
.xs { font-size: 0.714em; }
.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; }
.right { float: right; }
.left { float: left; }

/* msg */
.msg { 
	background: rgba(191, 168, 90, 0.08); 
	border: 1px solid #BFA05A;
	color: #BFA05A;
}
.msgerror { 
	background: #FFF; 
	border: 1px solid #C00;
	color: #C00;
}
.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: #4f4c4d; 
	border-radius: 3px; border: 1px solid #4f4c4d;
	color: #FFF;
	display: inline-block;
	font-family: 'Lato', sans-serif; font-size: 0.8em; font-weight: 900;
	hyphens: none; -webkit-hyphens: none; -ms-hyphens: none;
	line-height: 1.2em;
	padding: 0.5em 1.5em;
	text-decoration: none; text-transform: uppercase;
}
a.button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover { 
	background: #FFF;
	color: #4f4c4d;
	transition: all 0.3s ease;
}
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: '‹ '; }

/* Datepicker */
div .ui-widget-header { background: #4f4c4d!important; }

/* START CUSTOM PART */

/* CLASSES */
.liketable {
	display: table;
	width: 100%;
}
.liketable > * {
	display: table-cell;
	vertical-align: middle;
}

/* PRIMARY STYLES [layout] */
#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: 200px; }
#header .liketable > *:last-child { 
	display: none;
	text-align: right; 
}
#logo {
	display: inline-block;
	width: 100%;
}
#logo img {
	display: block;
	height: auto;
	width: 100%;
}

#nav ul { 
	display: table;
	margin: 0 auto;
}
#nav ul li { 
	display: table-cell;
	vertical-align: middle;
}
#nav ul li + li { border-left: 1px solid #c4c3c3; }
#nav ul li a {
	color: #919191;
	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: #4f4c4d; }

#showmobilemenu { 
	color: #919191;
	display: none;
}
#showmobilemenu:hover { color: #4f4c4d; }
#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 - 109px); }
#panorama .owl-nav { 
	position: absolute; z-index: 1; left: 50%; bottom: 1em;
	transform: translateX(-50%);
}
#panorama .owl-nav > *, #panorama .owl-nav > * > a { display: inline-block; }
#panorama .owl-nav i { 
	color: #FFF;
	font-size: 3.4em;
}
#panorama .owl-nav > *:hover i { color: #e9e9e9; }

.parallax { margin: 5em 0; }
.parallax-window {
	height: 27.76vw; min-height: 250px; max-height: calc(100vh - 102.13px);
	background: transparent;
}

#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: #8b8b8b;
	font-size: 2.5em;
}
#toolbar > *:hover i { color: #4f4c4d; }

#panorama-overlay {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#382323+84,382323+84,382323+84,382323+100,382323+100&1+57,0+100 */
	background: -moz-linear-gradient(left, rgba(79, 76, 77, 1) 67%, rgba(79, 76, 77, 0.37) 84%, rgba(79, 76, 77, 0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(79, 76, 77, 1) 67%,rgba(79, 76, 77, 0.37) 84%,rgba(79, 76, 77, 0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(79, 76, 77, 1) 67%,rgba(79, 76, 77, 0.37) 84%,rgba(79, 76, 77, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#382323', endColorstr='#00382323',GradientType=1 ); /* IE6-9 */
	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%; }
#footerlogo {
	display: block;
	height: auto;
	margin: 0 0 2em;
	width: 100%; max-width: 225px;
}
.phonenumbers { display: table; }
.phonenumbers i { 
	display: table-cell; 
	vertical-align: middle;
	padding-right: 0.5em;
}
.phonenumbers div { 
	display: table-cell; 
	vertical-align: middle;
}
#panologo {
	display: block;
	height: auto;
	margin: 0 auto 2em;
	width: 100%; max-width: 440px;
}
.panoslogan { font-family: 'Kanit', sans-serif; font-weight: 500; font-size: 2.18em; }
#japfont {
	font-size: 7.5em;
	margin: 10% 0.4em 10% 0;
	text-transform: none;
}
.panosubslogan { 
	font-size: 1.25em;
	line-height: 1.3em;
	margin-top: 1em;
}
#scrolldown { margin-top: 3.5em; }
#scrolldowntxt { font-weight: 700; font-size: 0.8125em; }
#scrolldownbtn { pointer-events: auto; }
#scrolldownbtn i { font-size: 5em; }
#scrolldownbtn:hover i { color: #e9e9e9; }

#main { padding-top: 1.5em; }
#main.infopage { padding-top: 0.5em; }
#main.infopage, #panorama-container { margin-top: 109px; }

#article #trauerhilfeiframe iframe {
	width: 100%;
    height: 1400px;
    border: none;
}

#contact-container {
	background: #e9e9e9;
	display: grid;
	grid-template-columns: 70% 30%;
	margin-top: 4em;
}
#map-container { background: url('/grafik/template/map.jpg') no-repeat center; }
#contact-container h2 {
	display: none;
    font-size: 2em;
    text-align: left;
    padding: 0;
	margin-top: 0;
}
#form_routenplaner {
	font-size: 0.85em;
	vertical-align: middle;
	line-height: 150%;
	padding: 2em 3em;
}
.formfields { margin-top: 2em; }
.footerphone, .footermail {	display: inline-block; }
.footerphone i, .footermail i {
	font-size: 1em;
    vertical-align: middle;
    margin-right: 5px;
}
.footermail i { margin-right: 1em; }
#form_routenplaner > div:first-of-type { font-weight: bold; }
#gmap_input { min-width: 245px; }
.maps::after {
	content: ' ';
	clear: both;
	display: block;
	float: none;
}
#gmap_directions { 
	display: none;
	max-width: 880px; 
	margin: 0 auto;
	padding: 2em;
}

#footer { 
	background: #2b2b2b;
	text-align: center;
	padding: 1em 0;
	clear: both;
}
#footer * { color: #FFF; }
#footer a { text-decoration: none; }
#footer a:hover { text-decoration: underline; }
#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: -0.15em;
}

#footer .partnerlogos a {
	display: inline-block;
	margin-top: 1em;
	margin-bottom: 2.5em;
}
#footer .partnerlogos a img { vertical-align: middle; }
#footer .partnerlogos a:nth-of-type(1) img { 
	width: 83px;
	margin-right: 0.5em;
}
#footer .partnerlogos a:nth-of-type(2) img { 
	width: 160px;
	margin-left: 0.5em;
}
#footer .innerwrapper { margin-top: 0; margin-bottom: 0; }

#footernav {
	display: inline-block;
}
#footernav > * { font-weight: 700; font-size: 1.06em; }
#footernav > * + * { margin-left: 1em; }

#copyright {
	display: inline-block;
	float: left;
}
#copyright_language { 
	display: inline-block;
	float: right;
}
#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;
}

/* START Trauerhilfeapi */

/* END Trauerhilfeapi */
.deceased {
	box-sizing: border-box;
	float: left;
	line-height: 1.25em;
	padding: 1em;
	text-align: center;
	width: 16.6667%;
}
.deceased:nth-of-type(6n + 1) { clear: both; }
.deceased a {
	text-decoration: none;
}
.deceased .img {
	max-height: 220px;
	margin-bottom: 0.5em;
	overflow: hidden;
}
.deceased .img img {
	width: 100%;
	height: auto;
}
.deceased .name { font-weight: bold; }
.deceased .deseasedate {
	font-weight: bold;
	margin-top: 0.25em; 
}
.deceased .deseasedate, .deceased .place { 
	font-size: 0.75em; 
	line-height: 1.4em;
}
.actions { 
	clear: both;
	padding-top: 1em;
	text-align: center;
}

@media screen and (max-width: 1240px) {
	.deceased { width: 20% }
	.deceased .img { max-height: 300px; }
	.deceased:nth-of-type(6n + 1) { clear: none; }
	.deceased:nth-of-type(5n + 1) { clear: both; }
}

@media screen and (max-width: 1024px) {
	.deceased { width: 25% }
	.deceased:nth-of-type(5n + 1) { clear: none; }
	.deceased:nth-of-type(4n + 1) { clear: both; }
}

@media screen and (max-width: 750px) {
	.deceased { width: 33.333% }
	.deceased:nth-of-type(4n + 1) { clear: none; }
	.deceased:nth-of-type(3n + 1) { clear: both; }
}

@media screen and (max-width: 500px) {
	.deceased { width: 50% }
	.deceased:nth-of-type(3n + 1) { clear: none; }
	.deceased:nth-of-type(2n + 1) { clear: both; }		
}
/* 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 a img {
	height: auto;
	vertical-align: middle;
	width: 100%;
}

/* 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; max-width: 80%;
}
.fancybox-button { min-width: 0; }
.fancybox-button--left, .fancybox-button--right { display: inline-block!important; }

/* Cookie Hint */
#cookiehint {
	display: table;
	width: 100%;
	background: #000; background: rgba(0, 0, 0, 0.8);
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	color: #fff!important;
	line-height: 20px;
	padding: 0.5em;
	position: fixed; z-index: 10000; left: 0; right: 0; bottom: 0;
	text-align: center;
}
#cookiehint p, #cookiehint button {
	display: table-cell!important;
	vertical-align: middle;
}
#cookiehint p {
	margin: 0;
	color: #fff!important;
}
#cookiehint a {
	border: none!important;
	color: #fff!important;
	text-decoration: underline!important;
}
#cookiehint a:hover { text-decoration: none!important; }
#cookiehint button {
	background: #fff!important;
	border: none!important;
	color: #000!important;
	line-height: 1.25em!important;
	margin-left: 1em;
	padding: 0.4em!important;
	text-transform: uppercase!important;
}
#cookiehint button:hover { 
	background: #ddd!important;
	cursor: pointer;
}
#cookiehint.light { background: #fff; background: rgba(255, 255, 255, 0.8); }
#cookiehint.light, #cookiehint.light p, #cookiehint.light a { color: #333!important; }
#cookiehint.light button {
	background: #aaa!important;
	color: #fff!important;
}
#cookiehint.light button:hover { background: #ddd!important; }
#cookiehint.top { top: 0; bottom: initial; }

/* Media Queries */
@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%; }

	#contact-container { grid-template-columns: auto minmax(335px, 40%); }
}
@media screen and (min-width: 1024px) and (max-height: 950px) {
	#panologo { display: none; }
	.panoslogan { margin: 2em 0 0; }
}
@media screen and (min-width: 1024px) and (max-height: 720px) {
	#panosubslogan { display: none; }
}
@media screen and (max-width: 1023px) {
	#header .liketable > *:first-child, #header .liketable > *:last-child { width: 100px; }
	#header .liketable > *:last-child { display: table-cell; }
	#main.infopage, #panorama-container { margin-top: 77px; }
	#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: 77px; 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: 193.5px;
		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 - 77px);
		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; }
}

@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: 2.5em; }
	#main { font-size: 1em; }
	.parallax { margin: 3em 0; }
	#footer { font-size: 0.9em; }
	
	#footercta > * {
		display: block;
		max-width: 250px;
		margin: 0 auto;
	}
	#footercta > * + * { margin-top: 0.2em; }
	.footermail i { margin-right: 1.75em; }
}
@media screen and (max-width: 700px) {
	#footer { padding-bottom: 7em; }
	
	#copyright {
		display: block;
		float: none;
		margin-top: 0.5em;
	}
	#footernav {
		display: block;
	}
	#copyright_language {
		display: block;
		float: none;
		margin-top: 0.5em;
	}
	
	#form_routenplaner { text-align: center; }
	#footerlogo { margin: 2em auto; }


	#contact-container { display: block; }
	#map-container {
		display: block;
		width: 100%; 
		height: 400px;
	}
	#form_routenplaner { 
		display: block;
		width: 100%; 
	}
	.formfields { margin-top: 2em; }
	.phonenumbers { display: inline-block; }
}
@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 { padding-top: 10px; }
	
	.parallax { margin: 2em 0; }
	h2.innerwrapper { margin-top: 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; }
	
	#header { display: none; }
	#panorama-container { display: none; }
	.responsiveimages { display: none; }
	.parallax > div { display: none; }
	#gmap_map { display: none; }
	#form_routenplaner { display: block; width: 100%; }
	#form_routenplaner .formfields { display: none; }
}