header#masthead{
	position:relative;
	position:fixed;
	width:100%;
	overflow:visible;
	z-index:100;
	transition: all 0.4s;
	border-bottom: 1px solid transparent;
	background:var(--white);
	min-height: var(--headerheight);
	height: var(--headerheight);
    display: flex;
    align-items: center;
	max-height:75px;
	background:var(--headerbackground);
}
#top_header+header#masthead{
	top:var(--top-header-height);
}

/*FOCUS RULES*/
/*FOCUS RULES*/
/* body .navbar-toggler:focus{
	outline: 2px dashed var(--primary)!important;
    background: var(--primary-lightest)!important;
}
body a:focus{
	outline: 2px dashed var(--primary-dark);
} */
/*TOOLTIP*/
/*TOOLTIP*/
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.rot-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 999;
    transition: opacity 0.2s ease;
    max-width: 10rem;
    overflow: hidden;
    text-align: center;
}






/*MASTHEAD*/
/* 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;
} */
header#masthead:hover{
	/* --header-after-gradient: var(--header-after-gradient2); */
}
header#masthead:hover:before{
	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);
	}
	/* body.scrolled .logo-wrap:not(.centered) {
		height: auto;
		top: 1px;
	} */
}

.logo-wrap{
	position: relative;
	padding: var(--logo-padding);
	left: 0%;
	width:var(--logo-width);
	height: var(--logo-height);
	transition: width .74s, padding .74s, height .4s;
	z-index:2;
	max-width: 60vw;
}
@media(min-width:992px){
	body.scrolled .logo-wrap:not(.centered) {
		height: 100%;
	}

	body #masthead .navbar-collapse.centered.fullwidth>ul{
        width: auto;
        display: flex;
        /* justify-content: space-between; */
        justify-content: flex-end;
		padding-left:0;
		transition:padding .5s;
		min-width:500px;
    }
	body.scrolled .mast-should-stick~#masthead .navbar-collapse.centered.fullwidth>ul{
		/* padding-left:var(--logo-width-threshold); */
		padding-right:0;
		position:relative;
	}

	#masthead .underline-dashed:after {
		width: calc(100% + var(--logo-width-threshold));
		left: 0;
	}
}
@media(min-width:1200px){
	#masthead .underline-dashed:after {
		width: calc(100% + var(--logo-width-threshold));
		left: 0;
	}

}
@media(min-width:1440px){

}

.site-logo {
	width: auto;
	position: relative;
	transition: all 0.5s;
	height: 100%;
}

.site-logo a{
	position: relative;
    height: 100%;
    display: block;
    width: 100%;
}
.site-logo svg{
	height: 100%;
	width: auto;
	pointer-events:none;
}
.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%;
}

@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;
	}
}


.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, background-color .3s;
	font-size:inherit;
}

#primary-menu .nav-item{
	transition: color .3s, text-shadow .3s, background-color .3s;
}
#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-lightest);
}
}
#primary-menu li a.nav-link {
	position: relative;
}

#primary-menu li a.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0%;
	height: 2px;
	background: var(--primary);
	border-radius: 1px;
	transition: width .4s;
}
@media(hover: hover){
#primary-menu li a.nav-link:hover::after {
	width: 100%;
}
}

#primary-menu li.current_page_item a.nav-link::after {
	width: 100%;
}

#masthead:not(.whitened) #primary-menu .nav-item a.nav-link:hover {
	color: var(--main-menu-hover-color);
    /* text-shadow: var(--menu-item-hover-shadow); */
	/* background:var(--primary); */
}
#masthead:not(.whitened) #primary-menu>ul>.nav-item.hovered,
/* #masthead:not(.whitened) #primary-menu .nav-item:hover:before, */
#masthead:not(.whitened) #primary-menu>ul>.nav-item:hover {
	background:var(--primary);
}
#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: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;
	}
	#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; */
		text-align: left;
    	/* 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;
}

@media(min-width:768px){
	#masthead .container,
	#masthead .container>.row,
	#masthead .container>.row>nav{
		position: relative;
	}
	#masthead .container>.row>nav{
		justify-content: var(--header-justify-content);
		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:not(:last-child):not(:nth-last-child(2)),
body #masthead nav .navbar-collapse>ul>li.menu-item-has-children{
	padding-right:.8rem;
}
nav li.menu-item-has-children>a:before {
    /* content: '\f107'; */
    content: '\f142';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    display: inline;
    position: relative;
    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; */
	transition: padding .4s, height .4s;
    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:991.98px){
	nav .dropdown-menu {
		padding: 0 1.4rem!important;
	}
	nav .dropdown-menu li a {
		width: 100%;
		text-align: center;
		justify-content: center!important;
	}

}
@media(max-width:767.98px){
}

nav .dropdown-menu{
	max-height:0px;
}


nav .dropdown-menu.show {
	max-height: 1000px;
	padding: 0.74rem 2.4rem!important;
	max-width:100%;
}
nav .dropdown-menu.dont-show {
	max-height: 0px;
	padding: 0rem 2.4rem!important;
	max-width:100%;
}

nav .dropdown-menu a{
	max-width: 100%;
    position: relative;
    white-space: normal;
	color: inherit;
	font-weight:inherit;
}

@media(min-width:1200px){
	body #masthead nav .navbar-collapse>ul>li:not(:last-child):not(:nth-last-child(2)),
body #masthead nav .navbar-collapse>ul>li.menu-item-has-children{
	padding-right:1.2rem;
}
}

.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;
    /* transform: translateX(100%); */
    /* transition: all .4s; */
    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%;
		min-width:1px;
		left: 0;
		padding-top: 0rem;
		min-height:1px;
		transform:translateX(0);
		overflow:visible;
	}
	nav .dropdown-menu {
		background: var(--blur-dark-bg);
		/* background: var(--bg-transparent-light); */
		backdrop-filter: blur(14px);
	}
	.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 {
		position: relative;
		z-index:2;
		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: absolute;
		/* top: calc(var(--header-height) + var(--admin-bar-height)); */
		border-radius: 0;
		margin-top: 0;
		width: 340px;
		left: 0;
		padding: 0rem 2.4rem;
	}

	body #masthead .navbar-collapse.fullwidth {
		position: relative;
		top: auto;
		bottom: 0;
		transform: translateY(0%);
		width: auto;
		display: flex;
		justify-content: flex-end;
	}
}



/*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(--nav-toggler-color);
	transition:transform .4s;
	transition-delay:.4s;
	bottom:-4px;
	right: 4px;
}
body #masthead .navbar-toggler[aria-expanded="true"] {
    transform: rotate(45deg) translate(3px, -3px);
}

.toggler-wrap {
    display: flex;
    column-gap: 10px;
    align-items: center;
    z-index: 2;
    overflow: hidden;
    height: 100%;
    padding: var(--nav-link-padding);
}
.toggler-text{
	display: block;
    font-size: 1rem;
    font-weight: 500;
	color: var(--nav-toggler-color);
	position: relative;
	top: 4px;
}

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;
	transform:scale(.9);
	background-color: transparent;
}
/* 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(--nav-toggler-color);
	border:none;
	border-radius:1px;
	background-color: var(--nav-toggler-color);
	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;
}

.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;
    position: fixed;
    margin-bottom: -1px;
    line-height: 1;
    padding: 12px 8px;
    border-radius: var(--btn-border-radius);
    right: 10%;
    top: auto;
    display: flex;
    flex-direction: row;
    pointer-events: all;
    z-index: 100;
    bottom: 0;
    width: 100%;
    justify-content: flex-start;
	color: grey;
	transition: transform .8s;
	gap: 16px;
	left: 0;
	justify-content:center;
	width: 100%;
	background-color: var(--grey);

}
/* body.modal-open .contact-bar,
body.scrolled-down .contact-bar{
	transform: translateX(-200px);
} */

.contact-bar a{
	pointer-events:all;
	background-color: var(--primary);
	text-transform: uppercase;
	font-weight: 700;
	text-align: center;
	padding: 8px 12px;
	border-radius: var(--border-radius-sm);
	color: var(--grey);
	width: calc(50% - 8px);
}
.contact-bar a:hover {
	color: var(--grey);
}
@media(min-width:992px){
	.contact-bar {
		display: inline-block;
		font-size: 1.65rem;
		top: calc(var(--headerheight) + var(--admin-bar-height) + 3rem);
		flex-direction: column;
		width: fit-content;
		transform: translateX(30%);
		justify-content: flex-start;
		left: auto;
		right: 0;
		gap: 150px;
		background-color: transparent;
	}
	.contact-bar a {
		width: 100%;
	}

}
a.tel .add-txt {
    position: absolute;
    right: 0;
    transform: translateX(100%);
    font-size: 0.95rem;
    background: var(--primary);
    height: 100%;
	overflow:hidden;
	max-width:0;
	width:fit-content;
	padding:0;
	transition:max-width .6s, padding .6s, color .6s, background-color .6s;
	color:transparent;
	display:flex;
	align-items: center;

}
a.tel:hover {
	z-index:3;
}
a.tel:hover .add-txt {
    max-width: 150px;
    padding: 2px 10px;
    color: white;
    background: var(--primary-light);
    display: flex;
    align-items: center;
}


.spacer-x{
	width:1rem;
	height:1rem;
}
.contact-bar .contact-link{
	display: block;
    font-size: 1rem;
    transform-origin: 64% 100%;
}
@media(min-width:992px){
	.contact-bar .contact-link{
    transform: rotate(-90deg);
		font-size: 1.4rem;
	}
	.contact-bar {
		padding: 21px 7px 70px 7px;
	}
	.contact-bar a.tel {
		font-size: 1.5rem;
	}
}
body .social a{
	font-size:inherit;
	margin-right: 5px;
    padding: 2px 0 0;
}
body .social a i:before{
	font-size:120%;
}
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); */
	color:var(--grey-light);
}
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-caption-spacing-y);
	padding-bottom: calc(var(--header-caption-spacing-y) * 2);
	max-width:var(--d-header-width);
	/* left:50%;
	transform:translateX(-50%); */
}

body #s_header.top-section,
body .top-section,
.has-bg-img{
    min-height:var(--display-header-min-h);
	background-size: cover;
    background-position: center 80%;
}

body.home #s_header.top-section {
	min-height: calc(var(--display-header-min-h) * 1.5);
}
@media (max-width: 991px) {
	body.home #s_header.top-section .header-row {
		padding-bottom: 6rem;
	}
}
.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: block;
    /* align-items: flex-start; */
}
ul.dropdown-menu .menu-item a.nav-link{
    display: block;
    /* 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;
	display:none;
}
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{
		transform:translateX(100%);
		transition:transform .6s;
		background:var(--main-menu-bg);
	}
	body #masthead .navbar-collapse.show>ul{

		/* min-height: calc(100vh - var(--header-height) - var(--admin-bar-height)); */
		/* min-height: 20rem;*/
		transform: translateX(0);
	}
	body #masthead .navbar-collapse,
	body #masthead.whitened .navbar-collapse {
		background: var(--main-menu-bg);
		background: transparent;
		color: var(--c-main-menu-color);

		display: flex;
		flex-direction: row;
		align-items: stretch;
		pointer-events:none;

		width:100%;
	}
	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;
		padding-top:2rem;
	}
	body #masthead nav .navbar-collapse>ul>li.menu-item-has-children {
		padding-right: 0!important;
	}
}
@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: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){
	.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){

	.navbar-extra-links {
		top: 0px;
	}
}
@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;
		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;
	}

	.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);
}
.section-lead, .section-lead p,
.lead p, p.lead, .lead {
	font-size: var(--h3-size);
	font-family: var(--sans2);
    font-weight: 400;
    line-height: 1.27;
}
.section-content p.lead {
	font-size: 1.37rem;
	font-style:italic;
}
@media(min-width:992px){
	.section-content p.lead {
		font-size: 1.57rem;
	}

}
@media(min-width:1200px){
	.section-content p.lead {
		font-size: 1.07rem;
	}
}
@media(min-width:1600px){
	.section-content p.lead {
		font-size: 1.07rem;
	}

}
.navbar-nav ul.dropdown-menu>li>a.nav-link{
	padding-right: 1.17rem;
}


#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;
}


section .h-bg-img-container{
	position: absolute;
    height: 100%;
    margin-left: var(--container-margin);
}
section.caption-layout-center .h-bg-img-container {
    position: relative;
    height: var(--display-header-min-h);
    margin-left: var(--container-margin);
    width: 100%;
}

/* CATEGORY NAV */
#s_header  .project-category-nav {
	position: absolute;
	bottom: -1px;
	color: var(--white);
	right: calc(var(--container-margin));
	left: auto;
	z-index: 5;
	right: -1px;
}
#s_header  .project-category-nav ul {
	padding-left: 0;
	margin-bottom: 0;
	list-style-type: none;
	text-align: right;
	background: var(--grey);
	padding: 1rem 0 1rem 2rem;
	border-radius: var(--border-radius-sm) 0 0 0;
}
#s_header  .project-category-nav ul li {
	line-height: 1;
	margin-bottom: 0.25rem;
}
#s_header .project-category-nav a {
	font-weight: 300;
	text-transform: uppercase;
	color: var(--white);
	padding-right: 3rem;
	position: relative;
	font-size: var(--small-p-size);
}
@media (min-width: 992px) {
	#s_header  .project-category-nav ul a{
		font-size: var(--regular-p-size);

	}
	#s_header  .project-category-nav ul li {
line-height: var(--regular-p-lineheight);
	}
}
#s_header .project-category-nav a::after {
	content:"";
	position: absolute;
	width: 2rem;
	height: 1px;
	background: var(--white);
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	transition: width .3s;
}
#s_header .project-category-nav a:hover::after {
	width: 0.5rem;
}

/*
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;
	margin-top:0;
}
#content.includes-d-header,
section#s_header~#content{
	padding-top:var(--header-height);
}
section#s_header.mast-should-stick~header#masthead {
    position: fixed!important;
    top: 0!important;
    margin-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: 17rem;
    top: 0rem;
    /* filter: drop-shadow(2px 2px 10px #000000); */
}
/* section#s_header.mast-should-stick~.second-logo-container{ */
body.scrolled .second-logo-container{
	opacity:0;
}
.second-logo-container .site-logo path{
	fill:white;
}
@media(min-width:768px){
	.second-logo-container .site-logo{
		width:20rem;
		top:1.7rem;
	}
}

@media(min-width:768px){
	.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(var(--header-height) + 4rem);
}
body:not(.masthead-below-d) #s_d_header{
	padding-top:0!important;
}
@media(min-width:992px){
	body.page-template-default #s_d_header,
	body.single:not(.masthead-below-d) #s_d_header{
		padding-top:2rem!important;
	}

}

#top_header .container{
	display: flex;
    justify-content: space-between;
    align-items: center;
}
#top_header .social{
	font-size:1.6rem;
}
/*SINGLE*/
/*SINGLE*/
/*SINGLE*/
/*SINGLE*/
/* body.page-template-default .logo-wrap,
body.single header#masthead .logo-wrap {
    height: auto;
    top: 1px;
} */
body.page-template-default .site-logo,
body.single header#masthead .site-logo{
	opacity:1!important;
}
body.page-template-default .second-logo-wrap,
body.single .second-logo-wrap{
	display:none;
}
@media(min-width:992px){
	body.page-template-default .logo-wrap,
	body.single header#masthead .logo-wrap {
		height: 80%;
		top: 10%;
	}
}
/*XTRA BRANDING*/
/*XTRA BRANDING*/
/*XTRA BRANDING*/
/*XTRA BRANDING*/
/*XTRA BRANDING*/
/*XTRA BRANDING*/
body figure.xtra-branding{
	position: absolute;
    /* height: 0; */
    padding-bottom: 0;
    top: 2rem;
    width: 8em;
    min-height: 9em;
    right: var(--container-margin);
    left: auto;
    font-size: 32px;
    transform: rotate(8deg);
}
body #masthead figure.xtra-branding {
    top: -1.8rem;
    left: calc(var(--logo-width-threshold) + 3rem);
    left: 1rem;
    font-size: 14px;
}
body figure.xtra-branding path {
	fill: #2a496b !important;
}
body figure.xtra-branding img {
	top: -11%;
    left: -11%;
    width: 122%;
    height: 122%;
}

#s_header .poster-2{
	position: absolute;
    top: 0;
    left: 0;
    height: calc(100% + 0rem);
    width: 100%;
	overflow: hidden;
	pointer-events:none;
}
#s_header .poster-2.fixed {
	position: fixed;
}
#s_header .poster-2 img{
	object-fit: cover;
	left:10vw;
    /* object-position: 30% 0%!important; */
}
#content{
	z-index:10;
}

/* MASTHEAD BELOW & SECOND BRANDING */
/* MASTHEAD BELOW & SECOND BRANDING */
/* MASTHEAD BELOW & SECOND BRANDING */
/* MASTHEAD BELOW & SECOND BRANDING */
body header#masthead{
    pointer-events:all;
}
.masthead-below-d section#s_header:not(.mast-should-stick)~header#masthead .site-logo{
	opacity:0;
}
section#s_header~header#masthead .xtra-branding{
    opacity:0;
    transition:opacity .4s;
}
section#s_header:not(.mast-should-stick)~header#masthead .xtra-branding{
	opacity:1;
}
@media(min-width:768px){
    section#s_header.mast-should-stick~header#masthead .xtra-branding {
        top: 0.2rem;
        left: 29rem;
        opacity:1;
        font-size: 9px;
    }
}
@media(min-width:992px){
    section#s_header:not(.mast-should-stick)~header#masthead .xtra-branding {
        opacity:0;
    }
    section#s_header.mast-should-stick~header#masthead .xtra-branding {
        top: 0.7rem;
        left: 13.7rem;
        opacity: 1;
        font-size: 9px;
    }
}
@media(min-width:1440px){
    section#s_header.mast-should-stick~header#masthead .xtra-branding {
        top: 0.7rem;
        left: 19.7rem;
        opacity: 1;
        font-size: 12px;
    }
}

.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 #logo{
	filter: drop-shadow(2px 2px 21px #000000);
}


/* section#s_header.mast-should-stick~.second-logo-container{ */
body.scrolled .second-logo-container{
	opacity:0;
}
.second-logo-container .site-logo #logo path{
	fill:white!important;
}
@media(min-width:768px){
	.second-logo-container .site-logo{
		width:36rem;
		top:1.7rem;
	}
}
@media(min-width:1200px){
	.second-logo-container .site-logo{
		width:38rem;
		top:1.7rem;
	}
}


.second-logo-wrap{
	margin-top:1rem;
}

@media(min-width:500px){
	#s_header .poster-2{
		height: calc(100% - 25rem);
	}
	#s_header .poster-2 img{
		filter: brightness(0.65);
	}
}


@media(min-width:768px){
	#s_header .poster-2{
		height: calc(100% - 9rem);
	}
	#s_header .poster-2 img{
		object-fit:contain;
		filter: brightness(0.65);

	}
}
@media(min-width:992px){
	body figure.xtra-branding {
		font-size: 20px;
		z-index: 10;
	}
	body #masthead figure.xtra-branding {
		top: .2rem;
		left: calc(var(--logo-width-threshold) + 3rem);
		font-size: 14px;
	}
	#s_header .poster-2 {
		height: calc(100% + 2rem);
		margin-top: -5rem;
	}
	.second-logo-wrap{
		margin-top:3rem;
	}
}
@media(min-width:1200px){
	body figure.xtra-branding {
		font-size: 18px;
	}
	#s_header .poster-2{
		height: calc(100% + 3rem);
	}
}
@media(min-width:1600px){
	body figure.xtra-branding {
		font-size: 24px;
	}
	#s_header .poster-2 {
		height: calc(100% + 16rem);
		margin-top: -8rem;
	}
}

.second-logo-wrap .site-logo svg {
    filter: drop-shadow(0px 1px 11px black);
}

body.modal-open #masthead,
body.scrolled.scrolled-down #masthead{
	transform: translateY(calc(0px - var(--header-height)));
}

#s_header .has-gradient:after {
    content: '';
    bottom: 0;
    height: 230px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 53%, rgb(255 255 255 / 63%) 100%);
    width: 100%;
    display: block;
    position: absolute;
}