header#masthead{
	position:relative;
	position:fixed;
	width:100%;
	overflow:visible;
	z-index:250;
	transition: all 0.4s;
	border-bottom: 1px solid #6e6d6a;
	background:var(--white);
	min-height: var(--headerheight);
	height: var(--headerheight);
	display: flex;
	align-items: center;
	max-height:75px;
	background: transparent;
	background: #00000040;
	background:var(--headerbackground);
	top: var(--admin-bar-height);
}
body.page-template-default header#masthead{
	background:transparent;
}

header#masthead.whitened{
	background: var(--white);
	/* background: #ddddddd4; */
}
.nav-item.m-headling>a,
.nav-link.no-link>a{
	/* pointer-events:none; */
}

header#masthead:before{
	content:'';
	position:absolute;
	width:100%;
	left:0;
	top:0px;
	height:100%;
	transition:background-color .3s, opacity .3s;
	background: transparent;
	background:var(--header-after-gradient2);
	opacity:0;
	/* backdrop-filter: blur(14px); */
}
header#masthead:hover{
	/* --header-after-gradient: var(--header-after-gradient2); */
}
header#masthead:hover:before{
	/* backdrop-filter: blur(14px); */
	/* background:rgba(0, 0, 0, 0.278); */
	opacity:0;

}


body #content{
	padding-top:var(--headerheight);
	padding-top:0;
}
#wpadminbar {
	position: fixed;
}
body header#masthead ul.navbar-nav {
	font-size: var(--menu-font-size);
	padding: var(--nav-items-padding);
	font-weight:var(--nav-items-fontweight);
	font-family:var(--menu-font-family);
	color:var(--main-menu-color);
	text-transform:var(--menu-text-transform);
}
@media(max-width:991.98px){
	body header#masthead ul.navbar-nav {
		font-size: var(--c-menu-font-size);
		font-weight:var(--c-nav-items-fontweight);
		font-family:var(--c-menu-font-family);
		color:var(--c-main-menu-color);
	}
}

.logo-wrap{
	position: relative;
	padding: 0;
	left: 0%;
	width:94px;
	transition: width .74s, padding .74s, height .74s, transform .74s;
	/*berger*/
	transform-origin: left top;
	transform:scale(1) translate(0);
}

.site-logo {
	width: auto;
	position: absolute;
	transition: all 0.5s;
	height: 100%;
	/* transform: translateY(-50%); */
}
body.scrolled .site-logo {
	transform: translateY(-50%);
}

.site-logo svg{
	height: auto;
	width: 100%;
}
.site-logo svg rect,
.site-logo svg polygon,
.site-logo svg path{
	/* fill: var(--primary); */
	fill-rule: evenodd;
	clip-rule: evenodd;
	transition:all 0.4s;
}
.whitened .site-logo svg polygon,
.whitened .site-logo svg rect,
.whitened .site-logo svg path{
	/* fill: var(--primary); */
	/* fill:var(--text2)!important; */
}
.footer-logo svg>g#quads>path:first-child,
.site-logo svg>g#quads>path:first-child{
	/* fill: var(--primary); */
	fill:var(--primary)!important;
}

nav.navbar{
	padding:0rem 15px;
}
.has-fixed-header .site-logo{
	width: auto;
	/* top: 0px; */
}
.menu-wrap {
	position: absolute;
	right: auto;
	left: 0;
	width: 100%;
}

body.scrolled .logo-wrap {
    display: block;
    width: var(--logo-width);
    position: absolute;
    transform: translate(-15px, calc(0px - var(--logo-width,90px))) rotate(-90deg);
    transform: translate(29px, 160px) rotate(-90deg);
}

@media(min-width:768px){
	.site-logo {
		height: auto;
		top: 0px;
	}
	.second-logo-wrap .site-logo{
		width:400px;
	}
	.logo-wrap {
		display: block;
		width: var(--logo-width);
		position: absolute;
		transform: translate(-15px, calc(0px - var(--logo-width,90px))) rotate(-90deg);
		transform: translate(10px, 110px) rotate(-90deg);
	}
	body.scrolled .logo-wrap {
		transform: translate(14px, 160px) rotate(-90deg);
	}
}
@media(min-width:840px){
	body .logo-wrap {
		--logo-width: 250px;
		transform: translate(-16px, 300px) rotate(-90deg);
		width: var(--logo-width);
	}
	body.scrolled .logo-wrap {
		transform: translate(-16px, 300px) rotate(-90deg);
    }
	body.scrolled .logo-wrap .site-logo{
		transform:none;
	}
	body.page-id-6 #s_header .h-h-wrap .h2{
		transform: translate(100%, 00%) rotate(-90deg);
		transform-origin: left bottom;
		font-size: 4.2rem;
		text-align: left;
		line-height: .92;
		padding-left: 4rem;
	}
	#s_header .h-h-wrap .h2 span.text-grey{
		margin-left:-4rem;
	}
	
}
@media(min-width:992px){
	body header#masthead.has-item-active {
		border-bottom: 1px solid var(--blur-dark-bg);
	}
	header#masthead ul.navbar-nav>li.menu-contact-wrap-outer,
	header#masthead ul.navbar-nav>li.menu-contact-wrap{
		display:none;
	}
}

@media(min-width:1200px){

	.logo-wrap{
		width:112px;
	}
}

.navbar-toggler{
	color: var(--text);
	border-color: var(--text);
	border-radius: 0;
	border-top: 0;
	border-right: 0;
}



#masthead .main-header-links {
	color: var(--white);
	position: relative;
	top: 0;
	/* left: var(--container-margin); */
	/* right: var(--container-margin); */
	/* width: calc(100% - (2 * var(--container-margin))); */
	text-align: center;
	font-size: .94rem;
	background: var(--primary);
}

.navbar-extra-links {
	position: fixed;
	right: 15px;
	width: 100%;
	bottom: 0;
	padding-top: 0.4rem;
	padding-bottom: 0.4rem;
	transition: top .74s, transform .7s;
}
.navbar-extra-links a {
	width: 100%;
}


@media(min-width:768px){
	.navbar-extra-links{
		position:absolute;
		width:auto;
		bottom:auto;
		backdrop-filter: none	;
		background-color: transparent;
		padding-top:0;
		padding-bottom:0;
	}
	#masthead .main-header-links{
		top: calc(var(--header-height) - 7px);
		right:var(--container-margin);
		width: auto;
		position:absolute;
	}
}


#masthead .main-header-links a{
	font-weight:600;
	text-transform:uppercase;
	color:inherit;
	display:inline-block;
	position:relative;
	padding: var(--btn-padding-regular);
	/* letter-spacing: 0.03em; */
}
@media(min-width:1200px){
	#masthead .main-header-links{
		/* color: inherit; */

		position: relative;
		top: auto;
		left: auto;
		right:0;
		width: auto;
		transform: translateX(0%);
		text-align: right;
		font-size: 1rem;
	}
}


#primary-menu-footer .nav-item a.nav-link,
#primary-menu .nav-item a.nav-link {
	color: inherit;
	word-break: break-word;
	transition: color .3s, text-shadow .3s;
	font-size:inherit;
}

#primary-menu .nav-item.item-active>a.nav-link,
#primary-menu .nav-item:not(.m-heading)>a.nav-link:hover {
	color: var(--grey-lightest);
}
@media(min-width:992px){
	#primary-menu .nav-item.item-active>a.nav-link,
#primary-menu .nav-item:not(.m-heading)>a.nav-link:hover {
	color: var(--primary);
}
}
/* .whitened #primary-menu .nav-item.item-active>a.nav-link .nav-item-title:hover,
.whitened #primary-menu .nav-item.item-active>a.nav-link,
.whitened #primary-menu .nav-item a.nav-link:hover { */


#masthead:not(.whitened) #primary-menu .nav-item:not(.m-heading)>a.nav-link:hover {
	color: var(--main-menu-hover-color);
	text-shadow: var(--menu-item-hover-shadow);
}


body .p-relative{
	position:relative;
}
body.has-display-header header#masthead{
	position: absolute;
	top: 0;
	left: 0;
	background:transparent;
	transition: all 0.75s;
}
/* body:not(.home) header#masthead,
/* body.has-display-header header#masthead.header-sticking{
	background:var(--white);
} */

.rot-caption-inner-wrap{
	margin-bottom:5rem;
	margin-top:5rem;
}

.nav-link.dropdown-toggle,
.nav-link.dropdown-toggle:hover{
	color:var(--text);
}

@media(min-width:576px){

}
@media(min-width:768px){
	#content.site-content{
	padding-top:0;
	}
	.navbar-expand-md .navbar-collapse{
		position: relative;
		top: 0;
	}

	.w-md-100,
	body .container.w-100,
	body .container.w-md-100{width:100%; max-width:100%;}
}

@media(min-width:992px){
	header#masthead {
		max-height: 89.5px;
		top:0;
	}
	#content.site-content {
		padding-top: 0;
	}
	#primary-menu-footer .nav-item a.nav-link,
	#primary-menu .nav-item a.nav-link {
		letter-spacing: 0.0em;
		text-align: center;
		justify-content: center;
		width:100%;
	}
}
/*NAVBAR ---------------------NAVBAR--------------------------------NAVBAR*/

.navbar-nav>li:last-child{
	border-right:none;
}

#masthead .container,
#masthead .container>.row,
#masthead .container>.row>nav{
	position: static;
	height:var(--header-height);
	transition: height .4s;
}
#primary-menu-wrap .nav-link{

	transition:opacity .4s, color .4s;
}
#primary-menu>li>.nav-link {
	/* text-transform: uppercase; */
	/* font-size: 0.94rem; */
	font-weight: inherit;
}
#masthead .container>.row>nav{
	align-items: center;
}
@media(min-width:768px){
	#masthead .container,
	#masthead .container>.row,
	#masthead .container>.row>nav{
	position: relative;
	}
	#masthead .container>.row>nav{
		justify-content: space-between;
		width:100%;
	}

	#primary-menu-wrap .nav-link{
		opacity:1;
	}
}

/*2nd level menu animation*/
nav .dropdown-menu{
	padding:0;
	border:0;
	border-radius:1px;
	/*hier müssen bootstrap standard rules ausgehebelt werden, damit nichts aus dem zugeklappten menü "rausschaut"*/
}
body #masthead nav .navbar-collapse>ul>li.menu-item-has-children{
	padding-right:2.4rem;
}
nav .navbar-nav>li.menu-item-has-children:before {
	/* content: '\f107'; */
	content: '\f142';
	font-family: 'Line Awesome Free';
	font-weight: 900;
	display: inline;
	position: absolute;
	right: -0rem;
	top: 0;
	padding: 0.5rem .5rem;
	transition: transform .3s, color .3s;
	font-size: 1.4rem;
}
/* nav li.menu-item-has-children.item-active .nav-item-title, */
nav li.menu-item-has-children.item-active:before {
   color:var(--primary);
}

nav .dropdown-toggle:after {
	display:none;
}


nav .dropdown-menu {
	top: calc(100% - 0rem);
	overflow: hidden;
	max-height: 0;
	height: auto;
	transition: all .8s cubic-bezier(0.83, -0.05, 0.25, 1) 0s;
	font-weight: 400;
	font-size:1rem;
	background:transparent;
	color: var(--grey-dark);
	/* color: var(--white); */
	display: block;
	width: 50rem;
	max-width: 100%;
	padding: 0 1.4rem;
	padding-right: var(--container-margin)!important;
	width: calc(var(--menu-width) + var(--container-margin));
}
@media(max-width:991.98px){
	/* header#masthead.opened {
		border-bottom: 1px solid var(--secondary-light);
	} */
}
@media(max-width:767.98px){
}

nav .dropdown-menu.show {
	max-height: 1000px;
	padding-top: 1rem;
	padding: 0.74rem 1.4rem;
	max-width:100%;
	width:100%;
	padding-left: var(--logo-width);

}

nav .dropdown-menu a{
	max-width: 100%;
	position: relative;
	white-space: normal;
	color: inherit;
	font-weight:inherit;
}

.dropdown-item.active, .dropdown-item:active {
	color: #fff;
	text-decoration: none;
	background-color: var(--text-light);
	font-weight: inherit;
}
@media(max-width:991.998px){
	nav .dropdown-menu{
		position:relative;
	}
}
/* ------NAVBAR-COLLAPSE---------*/
body #masthead .navbar-collapse {
	position: absolute;
	top: calc(00% + 0px);
	background: var(--white);
	width: 100%;
	left: auto;
	padding-top: 10.5rem;
	min-height: 100vh;
	transform: translateX(100%);
	transition: all .4s;
	right: 0;
}
/* body #masthead.whitened .navbar-collapse {
	background: var(--bg-transparent-light);
} */
body .navbar-nav .nav-link{
	padding: var(--nav-link-padding)!important;
}


@media(min-width:576px){

}
@media(min-width:768px){

}
@media(min-width:840px){
}
@media(min-width:992px){
	nav .dropdown-menu.show {
		padding: 1.74rem 1.4rem;
		padding-left: calc(var(--logo-width) - 9.7rem);
	}
	.dropdown-menu.depth_0>li {
		justify-content: flex-start;
	}

	nav .dropdown-menu.depth_0 {
		background: var(--white-trans);
		/* background: var(--bg-transparent-light); */
		backdrop-filter: blur(14px);
		border-top: 0px solid var(--primary);
	}

	nav .dropdown-menu.depth_0.show {
		border-width: 3px;
		box-shadow: 0 13px 10px #0000000a;
	}
	.whitened nav .dropdown-menu {
		background: var(--bg-transparent-light);
		/* background: var(--bg-transparent-light); */
		backdrop-filter: blur(14px);
	}
	/* FALLS ES EINE SICHTBARE NAVBAR GIBT - HIER WEITERMACHEN */
	/* body #masthead .navbar-collapse,
	body #masthead .navbar-collapse>ul,
	body #masthead .navbar-collapse>ul>li,
	body #masthead .navbar-collapse>ul>li:before,
	body #masthead .navbar-collapse>ul>li>a{
		height:100%;
		display:flex;
		align-items:center;
	} */
	body #masthead .navbar-collapse.right-aligned,
	body #masthead .navbar-collapse.right-aligned>ul,
	body #masthead .navbar-collapse.right-aligned>ul>li:last-of-type{
		padding-right:0!important;
		/* padding-right:0; */
	}

	body #masthead .navbar-collapse {
		right: calc(15px - var(--container-margin));
		left: auto;
		max-width: 41%;
	}

}
@media(min-width:1200px){

}

/*TOGGLER*/
body #masthead .navbar-toggler:before {
	content: '';
	position: absolute;
	top: -12px;
	left: -7px;
	width: calc(42px + 20px);
	height: calc(42px + 20px);
	display: inline-block;
	/* background:var(--grey-light); */
	transition: background-color .3s;
}
/* body #masthead .navbar-toggler.collapsed:before {
	background:transparent;
} */
body #masthead .navbar-toggler {
	border:none;
	background:transparent;
	position:relative;
	color:var(--secondary-light);
	transition:transform .4s;
	transition-delay:.4s;
	z-index:10;
}
body #masthead .navbar-toggler[aria-expanded="true"] {
	/* transform: rotate(45deg) translate(3px, -3px); */
}


body #masthead.whitened .navbar-toggler {
	color:var(--text2);
}
body #masthead .navbar-toggler-icon {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	content: "";
	background: 50%/100% 100% no-repeat;
	bottom: -5px;
	left: -3px;
	position: relative;
}
/* body.scrolled #masthead .navbar-toggler-icon {
	bottom: -7px;
} */

body #masthead .navbar-toggler-icon{
	background-image:none!important;
	position: relative;
}
.navbar-toggler-icon .center-bar:before,
.navbar-toggler-icon .center-bar,
.navbar-toggler-icon:after,
.navbar-toggler-icon:before{
	display:block;
	content:"";
	width:6px;
	right:0;
	position:absolute;
	height:6px;
	border:1px solid var(--text);
	border:none;
	border-radius:1px;
	background-color: var(--text);
	top:7px;
	transition:
		transform 0.5s cubic-bezier(.88,.11,.83,.67) 0.2s,
		border-color .3s, 
		background-color .3s 1.2s,
		width .3s,
		height .3s;

	height: 1px;
	top:4px;
}
.navbar-toggler-icon:after {
	background-color: var(--primary);
}

.whitened .navbar-toggler-icon .center-bar,
.whitened .navbar-toggler-icon:after,
.whitened .navbar-toggler-icon:before{
	border:1px solid var(--text);
	background-color: var(--text);
}
.navbar-toggler-icon .center-bar {
	top: 12px;
	transform: scale(1);
	width: 6px;
	right: 0;
}
.navbar-toggler-icon:after{
	top:20px;
	/* bottom:5px; */
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
	transform: rotate(90deg) translate(0.45em, 0.384em);
	background:var(--primary);
	/* width: 1.9em; */
	/* width: 1.5em; */
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
	transform: rotate(-0deg) translate(0em, 0em);
	background: var(--primary);
	/* width: 1.9em; */
	width: 1.15em;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .center-bar {
	transform: translate(0em, 0.647em) rotate(360deg);
	background: var(--primary);
	/* background: white; */
	width: 1.15em;
}
.navbar-toggler .navbar-toggler-icon .center-bar:before {
	background: var(--primary);
	content: '';
	width: 6px;
	height: 0;
	display: block;
	position: absolute;
	right: -0.16em;
	top: 0.1em;
	transform: translate(-.1em, 0);
	transition-delay: .2s, 0s, .2s, 1s, 1s;
	background: transparent;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .center-bar:before {
	transform: translate(-0.1em, -1.09em);
	height: 1.25em;
	background: var(--primary);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
	transform: rotate(-90deg) translate(0.12em, -0.45em);
	background: var(--primary);
	width: 1.1em;
	bottom: 3px;
}



/*contact-firstlvl*/
li.nav-item.contact-item,
li.nav-item.contact-item .contact-item-content,
li.nav-item.contact-item .rot-thumb,
li.nav-item.contact-item .rot-thumb img{
	max-width:100%;
}
li.nav-item.contact-item .contact-item-content {
	position: relative;
	padding-left: 2rem;
	padding-right: 2rem;
	padding-top: 1.2rem;
}

/*------------------------------------------------------CUSTOM-------------------------*/




/*SOCIAL*/
.navbar-collapse{
	flex-grow:0;
	-ms-flex-positive:0;
}

#site-navigation>.social {
	display: inline-block;
	font-size: 1.65rem;
	vertical-align: bottom;
	margin-right: 0rem;
	position: fixed;
	/* bottom: -7px; */
	margin-bottom: -1px;
	line-height: 1;
	padding: 5px 0 5px 7px;
	border-radius: var(--btn-border-radius);
	/* border: 1px solid var(--white); */
	right: 0;
	top: calc(var(--headerheight) + 10rem);
	display: flex;
	flex-direction: column;
	background: white;
	pointer-events:all;
}
body .social a{
	font-size:inherit;
}
body .social a:not(:last-child){
	margin-right:5px;
}
body .social a:visited,
body .social a:focus,
body .social a{
	color:inherit;
}
body .social a:hover{
	color:var(--primary);
}
body .dark .social a,
body .dark .social{
	color:var(--secondary);
}
body .dark.whitened .social a,
body .dark.whitened .social{
	color:var(--secondary);
}


section.top-section .header-caption{
	padding-top:2rem;
}


.top-section,
.has-bg-img{
	min-height:var(--display-header-min-h);
	height:var(--display-header-min-h);
	background-size: cover;
	background-position: center 80%;
}
.top-section.just-img{
	background-image: none!important;
}


.vid-caption{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	/* background: rgba(0, 0, 0, 0.111); */
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: var(--headerheight);
}



.inner-button{
	font-size:1rem;
	padding-left: 0rem;
	margin-left:.8rem;
	/* display:none; */
}
@media(min-width:768px){

	.has-bg-img:after {
		height: 200px;
	}

	body #masthead .navbar-toggler-icon {
		bottom: -3px;
	}
	body #masthead .navbar-toggler[aria-expanded="true"] {
		/* transform: rotate(45deg) translate(6px, -3px); */
		/* transform: rotate(0deg); */
	}
	.navbar-extra-links {
		top: 0px;
	}
}
@media(min-width:992px){
	.navbar-extra-links {
		top: auto;
	}
}

@media(min-width:1200px){
}

.urlaub{
	min-height:420px;
	position:relative;
	background:var(--text2);
	display:flex;
	margin-top:48px;

	align-items: center;
	justify-content: center;

}
body .urlaub .section-content h2{
	font-family: var(--serif)!important;
	color: var(--secondary);
	font-size: 3.8rem;
	margin-bottom: 1rem;
}

body .urlaub ul,
body .urlaub h2,
body .urlaub p{
	color:var(--secondary);
}
body .urlaub ul strong,
body .urlaub h2 strong,
body .urlaub p strong{
	color:var(--secondary-light);
	display:inline-block;
	padding:0 1rem;
	letter-spacing:0.04em;
	font-weight:initial;
}
@media(min-width:768px){
	.urlaub{
		min-height:540px;
		margin-top:0px;
		padding-top:120px;
	}
}


.dropdown-menu .nav-link-wrap .description {
	color: var(--text-light);
	line-height: 1.4em;
	display: block;
	margin-bottom: auto;
	position: relative;
}
.whitened .dropdown-menu .nav-link-wrap .description {
	color: var(--text-medium);
}
.dropdown-menu .quicklink-inner p {
	font-size:.917rem;
}



ul.dropdown-menu{
	display: block;
	padding-right:0;
}
ul.dropdown-menu .menu-item {
	display: flex;
	align-items: flex-start;
	align-content: flex-start;
}
ul.dropdown-menu .menu-item a.nav-link{
	display: flex;
	align-items: flex-start;
}
ul.dropdown-menu .menu-item a.nav-link i svg{
	width: 1em;
	height:1em;
}
ul.dropdown-menu .menu-item a.nav-link i {
	font-size: 1.3rem;
	padding: 4px;
	background: var(--secondary);
	height: 100%;
	margin-right: 0.8rem;
	border-radius: 3.1px;
	color: var(--text);
	display:inline-flex;
	align-items: center;
	transition: background-color .3s, color .3s;
}
ul.dropdown-menu .menu-item a.nav-link i path{
	transition: fill .3s;
}
/* ul.dropdown-menu .menu-item a.nav-link:hover .nav-item-title{
	color:var(--primary);
} */
ul.dropdown-menu .menu-item a.nav-link:hover i {
	background: var(--primary);
	color: var(--secondary-light);
}
.whitened ul.dropdown-menu .menu-item a.nav-link i path,
ul.dropdown-menu .menu-item a.nav-link:hover i path{
	fill: var(--secondary-light);
}
.whitened ul.dropdown-menu .menu-item a.nav-link i{
	background: var(--text-medium);
	color: var(--secondary-light);

}
ul.dropdown-menu .menu-item a.nav-link:hover i,
.whitened ul.dropdown-menu .menu-item a.nav-link:hover i{
	background: var(--primary);
	color: var(--secondary-light);
}



ul.dropdown-menu .contact-item{
	grid-column: 3 / 5;
	grid-row-start: 1;
	grid-row-end: 6;
}
/* @media(max-width:991.98px){ */
@media(max-width:100vw){
	ul.dropdown-menu{
		padding-left:0!important;
		padding-top:0!important;
		padding-right: 0!important;
	}
	/* body #masthead .navbar-collapse {
		min-height: 0vh;
	} */
	body #masthead .navbar-collapse.show {
		min-height: calc(100vh - var(--admin-bar-height));
		/* box-shadow: -1px 42px 32px #00000017; */
		transform: translateX(0);
		/* border-top: 3px solid var(--primary); */
		max-height: calc(100vh - var(--admin-bar-height));
		overflow-y:auto;
		background: #333333;
	}
	body #masthead .navbar-collapse,
	body #masthead.whitened .navbar-collapse {
		background: var(--main-menu-bg);
		color: var(--c-main-menu-color);

		display: flex;
		flex-direction: row;
		align-items: stretch;
	}
	body #masthead .navbar-collapse a,
	body #masthead.whitened .navbar-collapse a{
		color: inherit;
	}
	body #masthead .navbar-collapse>ul,
	body #masthead.whitened .navbar-collapse>ul{
		line-height:var(--menu-line-height);
		text-align:var(--c-menu-align);
		width: 100%;
	}


	body #masthead .navbar-collapse.show ul#primary-menu {
		position: relative;
		/* max-height: calc(100vh - var(--header-height) - var(--admin-bar-height) - 5rem); */
		/* overflow: auto; */
		/* overflow-x: auto; */
		/* margin-left: var(--container-margin); */
		/* margin-right: var(--container-margin); */
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children {
		padding-right: 0;
	}
	/*ERGÄNZUNGEN GEMEINDESEITE -- 3rdlvl nav*/
	body #masthead nav .navbar-collapse>ul>li,
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children {
		display:flex;
		flex-wrap:wrap;
		text-align:left;
	}
	body .dropdown-menu.depth_0>li {
		position: relative;
		justify-content: flex-start;
	}

}
/*LVL 2 und 3*/
/* .dropdown-menu.depth_0>li.m-heading>.dropdown-menu.depth_1>li:before{
	content:'';
	display:inline-block;
	position:relative;
	width:10px;
	height:10px;
	background:var(--primary);

} */
.dropdown-menu.depth_1>li{
		border-left: 3px solid var(--primary);
		margin-bottom: 3px;
}






@media(min-width:576px) and (max-width:991.98px){
	#primary-menu .dropdown-menu{
		display:flex;
		flex-wrap: wrap;
	}
	#primary-menu .dropdown-menu .nav-item{
		max-width:100%;
		flex:0 0 100%;
	}
	#primary-menu .dropdown-menu .nav-item.contact-item{
		max-width:100%;
		flex:0 0 100%;
		border-bottom: 1px solid var(--primary);

	}

	body #masthead .navbar-collapse #primary-menu{
		padding-left:var(--container-margin);
		padding-right:var(--container-margin);
	}
	#primary-menu .quicklink-wrap{
		display: flex;
		column-gap: 20px;
		flex-wrap: wrap;
	}
	#primary-menu .quicklink-wrap .quicklink-inner{
		flex: 0 0 calc(50% - 10px);
		max-width: calc(50% - 10px);
	}

}
@media(min-width:768px) and (max-width:991.98px){
	.navbar {
		align-items: center;
		justify-content: flex-end;
	}
	.logo-wrap {
		margin-right: auto;
	}
	.navbar-extra-links {
		position: relative;
		right:0;
	}
	#masthead .main-header-links {
		top: auto;
		left: 0;
		right: auto;
		width: auto;
		position: relative;
	}
	body #masthead .navbar-collapse {
		width: calc(100% + (2 * var(--container-margin)) - 30px);
		right: calc(0px - (var(--container-margin) - 23px));
	}
}
@media(min-width:782px) and (max-width:991.98px){
	body #masthead .navbar-toggler-icon {
		bottom: -3px;
	}
	.navbar-extra-links {
		top: 0px;
	}
	body #masthead .navbar-toggler[aria-expanded="true"] {
		transform: rotate(45deg) translate(8px, 2px);
	}

}
@media(min-width:840px) and (max-width:991.98px){
	body #masthead .navbar-collapse {
		right: calc(0px - (var(--container-margin) - 15px));
	}
}

@media(min-width:992px){
	ul.dropdown-menu{
		display: grid!important;
		display: flex!important;
		justify-content: center;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(1, 1fr);
		grid-column-gap: 0px;
		grid-row-gap: 0px;
		/* justify-items: end; */
	}

	#masthead .main-header-links {
		top: 0;
		right: auto;
		left: 0;
		width: auto;
		position: relative;
	}
	.logo-wrap {
		width: 172px;
		margin-top: 2.4rem;
		/* height: 50px; */
	}
	body.scrolled .logo-wrap:not(.centered) {
		/* width: 104px; */
		/* height: 44px; */
	}
	.nav-item-title {
		font-size: 0.81rem;
	}
	.nav-item-title {
		margin-bottom: 0px;
	}
}
@media(min-width:1340px){

	.nav-item-title {
		font-size: 0.94rem;
	}
}

/* #primary-menu .quicklink-inner{
	padding: 12px 18px;
	margin-bottom: 18px;
	border: 2px solid var(--primary);
	border-radius: 20px 0 20px 20px;
} */
#primary-menu .dropdown-menu .contact-item-content{
	margin-top:.4rem;
	margin-bottom:.4rem;
}
#primary-menu .dropdown-menu .contact-item-content .h3{
	color: var(--primary);
	font-size: 1.04rem;
	font-weight: 500;
}
.q-link, #primary-menu .q-link {
	display: inline-block;
	padding-top: .57rem;
	font-weight: 400;
	color: white;
}
.whitened #primary-menu .q-link {
	color: var(--text2);
}
#primary-menu .q-link:hover{
	font-weight:600;
}
.whitened #primary-menu .q-link:hover {
	color: var(--primary);
}
.lead p, p.lead, .lead {
	font-size: 1.47rem;
	font-weight: 400;
}
.navbar-nav ul.dropdown-menu>li>a.nav-link{
	padding-right: 1.27rem;
}


#s_header .rkp-h-logo {
	max-width: 50vw;
	min-width:40px;
	display: inline-block;
	position: relative;
	margin-bottom: 1.4vw;
}

#s_header .h-h-wrap.just-img {
	width: 240px;
	position: relative;
	display: flex;
}
#s_header .h-h-wrap.just-img>img{
	max-width: 60%;
}
#s_header .h-h-wrap.just-img>img.rkp-h-img-2{
	max-width: 40%;
}
@media(max-width:767.98px){
	#s_header .h-h-wrap.just-img {
		width: 148px;
		padding-left: 1.5rem;;
	}
	#s_header .h-h-wrap.just-img>img{
		max-width: 100%;
	}
	#s_header .h-h-wrap.just-img>img.rkp-h-img-2{
		display:none;
	}
}

.header-caption-content{
}
.mute-vid {
	display: inline-block;
	position: absolute;
	left: 2rem;
	width: 4rem;
	height: 4rem;
	bottom: auto;
	top: calc(var(--header-height) + 2rem);
	border: 0.1em solid white;
	border-radius: 1000px;
	opacity: .5;
	transition: opacity .4s;
}
.mute-vid:hover{
	opacity:1;
}

.mute-vid i{
	position: absolute;
	left: 50%;
	top:50%;
	transform: translate(-50%, -50%);
	font-size:3rem;
}
.mute-vid i{
	opacity:0;
	transition:opacity .5s;
}
.mute-vid i.showing{
	opacity:1;
}

#s_header.rot-section .header-links a{
	margin-bottom:.5rem;
}
#s_header.rot-section .header-links .link-icon{
	display: inline-block;
	margin-left: 0.4rem;
	margin-right: 0.9rem;
}

.dropdown-menu.depth_0>li {
	position: relative;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.dropdown-menu.depth_0>li.menu-item-has-children.m-heading>a:after {
	content:'';
	display:block;
	position:relative;
	margin-left:14px;
	border-left:2px solid var(--primary);
	border-bottom:2px solid var(--primary);
	transform:rotate(-45deg);
	width:8px;
	height:8px;
	top:8px;
	transition:transform .6s;
}
.dropdown-menu.depth_0>li.menu-item-has-children.m-heading.children-hidden>a:after {
	transform: rotate(-135deg) translateY(-4px);
}
.dropdown-menu.sub-menu.depth_1 {
	max-height: 1000px;
	display: block!important;
	top: 0!important;
	position: relative!important;
	max-width: calc(100% - 20px);
	padding: 0!important;
	margin: 0 0 0 .7rem!important;
	width: auto!important;
	backdrop-filter: none;
}
.dropdown-menu.sub-menu.depth_1.dont-show {
	max-height: 0px;
}
.nav-item.h-item .h3 {
	font-size: 1.9rem;
	max-width: 15em;
	text-align: left;
	font-weight: 600;
	font-variation-settings: "wght" 650;
	text-transform: uppercase;
}
.nav-item.h-item {
	padding: var(--nav-link-padding)!important;
	color: var(--text)!important;
}
@media(min-width:500px){
	.dropdown-menu.sub-menu.depth_1 {
		max-width: calc(50% - 20px);
	}
}
@media(min-width:992px){
	.mute-vid{
		top:4rem;
		bottom: auto;
	}
	.dropdown-menu.depth_0>li {
		justify-content: flex-start;
		min-width:33%;
	}
	#primary-menu .dropdown-menu>.nav-item a.nav-link {
		text-align: left;
		justify-content: flex-start;
	}
	.nav-item.h-item .h3 {
		font-size: 2.1rem;
		max-width: 11em;
	}	
	#primary-menu .m-heading>a{
		margin-bottom:.4rem;
	}
	.dropdown-menu.sub-menu.depth_1 {
		max-width: calc(100% - 20px);
	}
	body #masthead .navbar-collapse {
		padding-top: 7rem;
	}

}
@media(min-width:1200px){
	.dropdown-menu.depth_0>li {
		flex-direction:column;
	}
	body #masthead .navbar-collapse {
		max-width: 500px;
	}
}
@media(min-width:1440px){
	.dropdown-menu.depth_0>li {
		flex-direction:row;
	}
	.nav-item.h-item .h3 {
		font-size: 2.4rem;
	}
}
.is-maintenance .just-img-wrap.rot-img-absolute{position:absolute;}
.is-maintenance .just-img-wrap.rot-img-absolute {
	position: absolute;
	min-height: calc(100vh - var(--admin-bar-height));
}


/* Quicklinks im s_header */
body.page-id-6 section#s_header .header-caption .header-links {
	position: absolute;
	top: 4rem;
	right: 5%;
	display: flex;
	flex-direction: column;
	z-index: 350;
}

@media (min-width: 1600px) {
	body.page-id-6 section#s_header .header-caption .header-links {
		right: 20%;
	}
}

body.page-id-6 section#s_header.rot-section .header-caption .header-links a.link-type-frei {
	color: var(--text-light) !important;
}