header#masthead{
	position:relative;
	position:fixed;
	width:100%;
	overflow:visible;
	z-index:100;
	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_header+header#masthead{
	top:var(--top-header-height);
}

body.page-template-default header#masthead{
	background:var(--primary);
	background:transparent;
}

header#masthead.whitened{
	background: transparent;
	/* background: #ddddddd4; */
}

header#masthead .booking-wrap {
	display:flex;
	gap: 2rem;
	justify-content: end;
}
header#masthead .booking-wrap a {
	padding: 7px 3rem;
}

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);
		padding-top:8rem;
	}
/* } */

@media(min-width:992px){
	body header#masthead ul.navbar-nav {
		padding-top:6rem;
	}
}
@media(min-width:1440px){
	body header#masthead ul.navbar-nav {
		padding-top:15rem;
	}
}
.logo-wrap{
	position: relative;
	padding: 0;
	left: 0%;
	width:94px;
	transition: width .74s, padding .74s, height .4s;
}
/* @media(min-width:992px){ */
/* @media(min-width:992px){ */


body #masthead .navbar-collapse.centered.fullwidth{
	transition:transform .5s, padding .5s, opacity .5s, height .5s, width 0.5s;
}
body #masthead .navbar-collapse.centered.fullwidth>ul{
	width: 100%;
	display: flex;
	justify-content: space-between;
	/* padding-left:var(--logo-width-threshold); */
	padding-left:0;
	transition:transform .5s, padding .5s, opacity .5s, height .5s, width 0.5s;
}
body.scrolled .mast-should-stick~#masthead .navbar-collapse.centered.fullwidth>ul{
	padding-left:var(--logo-width-threshold);
	padding-right:0;
}
body.scrolled .logo-wrap:not(.centered) {
	width: auto;
	height: 3.5rem;
	position: absolute;
	left: 15px;
	top: 0px;
}
#masthead .underline-dashed:after {
	width: calc(100% + var(--logo-width-threshold));
	left: 0;
}
/* } */


.site-logo {
	width: auto;
	position: relative;
	transition: all 0.5s;
	height: 100%;
}

.site-logo svg{
	height: 100%;
	width: auto;
}
.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%;
}
.site-logo {
	top: 0;
}
@media(min-width:768px){
	.site-logo {
		height: 100%;
	}
	.logo-wrap{
		width:104px;
	}

}
@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;
	}
}
@media(min-width:1440px){
	body.scrolled .logo-wrap:not(.centered) {
		height: 5rem;
	}
}

.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;
    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, transform .2s;
    font-size: inherit;
}

#primary-menu .nav-item.item-active>a.nav-link,
#primary-menu .nav-item 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 a.nav-link:hover {
		color: var(--primary);
	}
} */


#masthead:not(.whitened) #primary-menu .nav-item a.nav-link:hover {
	color: var(--main-menu-hover-color);
    text-shadow: var(--menu-item-hover-shadow);
	transform: skew(-20deg) translateX(1px);
}
#masthead .main-header-links a:after,
#primary-menu .nav-item a.nav-link:after{
	height:2px;
}

body .p-relative{
	position:relative;
}
body.has-display-header header#masthead{
	position: absolute;
	top: 0;
	left: 0;
	background:transparent;
	transition: all 0.75s;
}


.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: var(--header-height);
	}
	.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;
	}

	/* #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;
	align-content:center;
}
#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;
    max-width: calc(100% - 4rem);
    margin-left: auto;
    margin-right: auto;
}

@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 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: 300;
	background:transparent;
    color: var(--secondary);
    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:767.98px){
}

nav .dropdown-menu.show {
	max-height: 1000px;
	padding-top: 1rem;
	padding: 0.74rem 1.4rem;
	max-width:100%;

}

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(100% + 0px);
	background:var(--white);
    width: 100%;
    left: 0;
	padding-top: 2.5rem;
	min-height:100vh;
	transform: translateY(100%);
    transition: all .4s;
} */
/* body #masthead .navbar-collapse {
    position: absolute;
    top: calc(100% + 0px);
    background: var(--white);
    width: auto;
    min-width: var(--mobile-nav-minwidth);
    left: auto;
    padding-top: 0;
    min-height: 20rem;
    right: 0;
    overflow: hidden;
} */
body #masthead .navbar-collapse {
    position: fixed;
    /* top: calc(var(--admin-bar-height) + var(--header-height)); */
    top: calc(var(--admin-bar-height));
    background: var(--white);
    width: auto;
    min-width: var(--mobile-nav-minwidth);
    left: auto;
    padding-top: 0;
    min-height: calc(100vh - var(--admin-bar-height));
    right: 0;
    overflow: hidden;
}

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){
	body #masthead .navbar-collapse {
		position: absolute;
		top: calc(100% + 7px);
		backdrop-filter: none;
		background: transparent;
		width: 100%;
		left: 0;
		padding-top: 0rem;
		min-height:1px;
		transform:translateX(0);
	}
	nav .dropdown-menu {
		background: var(--blur-dark-bg);

		backdrop-filter: blur(14px);
	}
	.whitened nav .dropdown-menu {
		background: var(--bg-transparent-light);

		backdrop-filter: blur(14px);
	}

	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;

	}
	body #masthead .navbar-collapse {
		position: relative;

		top: 0;
		height:var(--menu-height);
	}
	.navbar-expand-lg .navbar-nav {
		-ms-flex-direction: row;
		flex-direction: row;
		height: 100%;
		align-items: center;
	}
	body .navbar-expand-lg .navbar-nav .dropdown-menu {
		position: fixed;
		top: calc(var(--header-height) + var(--admin-bar-height));
		border-radius: 0 0 0 47px;
		margin-top:0;
	}

	body #masthead .navbar-collapse.fullwidth {
		position: relative;
		top: auto;
		bottom: 0;
		transform: translateY(0%);
		width: auto;
		display: flex;
		justify-content: center;
	}
} */



/*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(--text);
	transition:transform .4s;
	transition-delay:.4s;
}
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: -3px;
    left: 0px;
    position: relative;
	transition:left .3s;
	transition-delay: .2s;
}
/* body.scrolled #masthead .navbar-toggler-icon {
    bottom: -7px;
} */

body #masthead .navbar-toggler-icon{
	background-image:none!important;
	position: relative;
}
.navbar-toggler-icon .center-bar,
.navbar-toggler-icon:after,
.navbar-toggler-icon:before{
	display:block;
	content:"";
	width:80%;
	right:0;
	position:absolute;
	height:3px;
	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,
		width .3s;

	height: 1px;
	top:4px;
}
.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: 60%;
    left: -1px;
}
.navbar-toggler-icon:after{
	top:20px;
	/* bottom:5px; */
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon{
	left:5px!important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(90deg) translate(0.45em, 0.384em);
    /* width: 1.9em; */
    /* width: 1.5em; */
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(450deg) translate(0.5em, 0.384em);
    /* width: 1.9em; */
    /* width: 1.5em; */
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .center-bar {
    transform: translateX(-0.2em) rotate(360deg);
	width:100%;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-450deg) translate(0.505em, -0.4em);
    /* width: 1.9em; */
    /* width: 1.58em; */
    bottom: 3px;
}


/*------------------------------------------------------CUSTOM-------------------------*/




/*SOCIAL*/
.navbar-collapse{
	flex-grow:0;
	-ms-flex-positive:0;
}

.contact-bar {
    display: inline-block;
    font-size: 1.65rem;
    vertical-align: bottom;
    margin-right: 0rem;
    position: fixed;
    /* bottom: -7px; */
    margin-bottom: -1px;
    line-height: 1;
	padding: 8px 4px 8px 8px;
    border-radius: var(--btn-border-radius);
    /* border: 1px solid var(--white); */
    right: 0;
    top: calc(var(--headerheight) + 10rem);
    display: flex;
    flex-direction: column;
    background: var(--primary);
    pointer-events: all;
	z-index:100;
	margin-right:0;
	transition:margin 1.2s;
}
body.nav-fx-scroll-up .contact-bar{
	margin-right:-3.5rem;
}
.contact-bar a{
	color: var(--secondary);
}
.contact-bar a.mail {
	font-size: 1.5em;
}
.contact-bar a.mail i {
	font-size: 0.5em;
}
.contact-bar a.tel{
	font-size: 2rem;
    text-align: center;
}
.spacer-x{
	width:.4rem;
	height:.4rem;
}
.contact-bar .contact-link{
	display: block;
    transform: rotate(-90deg);
    font-size: 1rem;
    transform-origin: 64% 100%;
}
.contact-bar {
    padding: 12px 12px 12px 7px;
    border-radius: 6px 0 0 6px;
}
@media(min-width:992px){
	.contact-bar .contact-link{
		font-size: 1.4rem;
	}
}
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:var(--header-height);
}
section.top-section .header-caption {
    padding-top: var(--header-caption-spacing-y);
	padding-bottom: var(--header-caption-spacing-y);
}

.top-section,
.has-bg-img{
    min-height:var(--display-header-min-h);
	background-size: cover;
    background-position: center 80%;
}

.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;
	}
	.top-section,
	.has-bg-img{
		position:absolute;
		top:0;
		height:100%;
		width:100%;
	}

	.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;
}
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 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){ */
	ul.dropdown-menu{
		padding-left:0!important;
		padding-top:0!important;
		padding-right: 0!important;
	}

	body #masthead .navbar-collapse>ul{

		transition:transform .6s;
		background:var(--main-menu-bg);
	}
	body #masthead .navbar-collapse.show>ul{
		transform: translateX(0);
	}
	body #masthead .navbar-collapse,
	body #masthead.whitened .navbar-collapse {
		transform:translateX(100%);
		background: var(--headerbackground);
		/* background: transparent; */
		color: var(--c-main-menu-color);

		display: flex;
		flex-direction: row;
		align-items: flex-start;
		pointer-events:none;
	}
	body #masthead .navbar-collapse.show{
		transform: translateX(0);
	}
	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;
		pointer-events:all;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children {
		padding-right: 0;
	}
/* } */
/* @media(min-width:576px) and (max-width:991.98px){ */
@media(min-width:576px){
	#primary-menu .dropdown-menu{
		display:flex;
		flex-wrap: wrap;
	}
	#primary-menu .dropdown-menu .nav-item{
		max-width:50%;
		flex:0 0 50%;
	}
	#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){ */
@media(min-width:768px){
	.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){ */
@media(min-width:782px){

	.navbar-extra-links {
		top: 0px;
	}
}
/* @media(min-width:840px) and (max-width:991.98px){ */
@media(min-width:840px){
	body #masthead .navbar-collapse {
        right: calc(0px - (var(--container-margin) - 15px));
    }
}

/* @media(min-width:992px){ */
	ul.dropdown-menu{
		display: grid;
		display: grid!important;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(4, 1fr);
		grid-column-gap: 0px;
		grid-row-gap: 0px;
	}

	#masthead .main-header-links {
		top: 0;
		right: auto;
		left: 0;
		width: auto;
		position: relative;
	}
	.logo-wrap {
		width: 172px;
		margin-top: 2.4rem;
		/* height: 50px; */
	}
	.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 .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{
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	margin-bottom: 0.6rem;
}
.mute-vid {
	display: inline-block;
    position: absolute;
    left: 0;
    width: 4rem;
    height: 4rem;
    bottom: auto;
    top: -4rem;
    border: 0.1em solid white;
    border-radius: 1000px;
    opacity: .5;
	transition:opacity .4s;
}
.mute-vid:hover{
	opacity:1;
}
/* @media(min-width:992px){
	.mute-vid{
		top:-4rem;
		bottom: auto;
	}
} */
.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;
}

/*
TOP HEADER
D_ HEADER ON TO OF MASTHEAD
SECOND LOGO
*****************
TOP HEADER
D_ HEADER ON TO OF MASTHEAD
SECOND LOGO
*/

section.top-header{
	background:var(--grey-dark);
	position:relative;
	color:white;
	z-index:2000;
	height:var(--top-header-height);
	display: flex;
	align-items: center;
}
section#s_header~header#masthead{
	position:absolute!important;
	top:auto!important;
}
section#s_header~#content{
	padding-top:var(--header-height);
}
section#s_header.mast-should-stick~header#masthead{
	position:fixed!important;
	top:var(--admin-bar-height)!important;
}
section#s_header.mast-should-stick~.second-logo-container{
	display:none;
}
.second-logo-container{
	position:fixed;
	top:calc(var(--admin-bar-height) + var(--top-header-height));
	margin-left: var(--container-margin);
	z-index:2;
	transition:opacity .7s;
}
.second-logo-container .site-logo{
	width:14rem;
	top: calc(var(--admin-bar-height) + var(--headerheight) + 1.5rem);
}
.nav-showing .second-logo-container .site-logo{
	top:calc(var(--admin-bar-height) - .75rem);
}
/* section#s_header.mast-should-stick~.second-logo-container{ */
body.scrolled .second-logo-container{
	opacity:0;
}
body.scrolled.nav-showing .second-logo-container{
	opacity:1;
}
.second-logo-container .site-logo path{
	fill:white;
}
@media(min-width:768px){
	.second-logo-container .site-logo{
		width:20rem;
	}
}
.toggler-wrap{
	display: flex;
    column-gap: 10px;
    align-items: center;
	z-index:2;
	overflow:hidden;
}
.toggler-text{
	display: none;
    font-size: 1.2rem;
    font-weight: 500;
}
@media(min-width:768px){
	.toggler-text{
		display: none;
	}
	.menu-contact-wrap-outer{
		margin-left: calc(0px - var(--container-margin));
		margin-right: calc(0px - var(--container-margin));
	}
}
.menu-contact-wrap-outer .top-header {
    background: var(--grey-dark);
    color: white;
    min-height: 38px;
    padding: 0px var(--container-margin);
    display: flex;
    align-items: center;
    justify-content: space-around;
}
body:not(.masthead-below-d) .second-logo-container {
	position: absolute;
    top: calc(0rem);
    z-index: 1000;
	pointer-events:none;
}
body:not(.masthead-below-d) .second-logo-container .site-logo{
	pointer-events:all;
}
body:not(.masthead-below-d) #s_d_header{
	padding-top:0!important;
}

#top_header .container{
	display: flex;
    justify-content: space-between;
    align-items: center;
}
#top_header .social{
	font-size:1.6rem;
}
.second-logo-wrap{
	display: flex;
    justify-content: center;
}

 .footer-logo #lightning,
 .footer-logo #primary-txt path,
 .site-logo #lightning,
 .site-logo #primary-txt path{
	fill:var(--primary-anti)!important;
}
 .os-colorscheme-dark .footer-logo #lightning,
 .os-colorscheme-dark .footer-logo #primary-txt path,
 .os-colorscheme-dark .site-logo #lightning,
 .os-colorscheme-dark .site-logo #primary-txt path{
	fill:var(--primary-anti2)!important;
}

nav .toggler-wrap{
	position:absolute;
	right:25px;
}

body.nav-fx-scroll-up #masthead:not(.nav-showing){
	margin-top: calc(0px - var(--header-height));
}

body.nav-showing .site-logo {
	margin: 0 auto;
}