/*
	Theme Name: Wir Frauen
	Theme URI: https://www.wirfrauen.at/
	Description: New custom theme for the ladies from Wir Frauen.
	Author: Robert Mayer, Designer (https://robertmayer.design)
	Version: 2026.1
*/

:root {
	--orange: #f26b2b;
	--black: #141414;
	--sand: #f6eee1;
	--white: #fff;
	--grey: #e1e2e4;
	--text: #141414;
	
	--maxwidth-small: 900px;
	--maxwidth: 1524px;
	--halfgap: 15px;
	--gap: 30px;
	--radius: 6px;
}

html, body{
    margin: 0;
	padding: 0;
	background: #fff;
}

/* fonts */
body, input, textarea, select, button{
	font-family: 'Fira Sans Condensed', Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 20px;
    line-height: 1.5;
	color: var(--text);
}

.firasanscond, .tooltip::after{
	font-family: 'Fira Sans Condensed', Arial, Helvetica, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.dela-gothic-one, #header{
	font-family: 'Dela Gothic One', Arial, Helvetica, sans-serif;
	font-weight: 400;
}

.hyphenate{
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	
	-webkit-hyphenate-limit-before: 4; /* For Safari */
	-webkit-hyphenate-limit-after: 4; /* For Safari */
	-ms-hyphenate-limit-chars: 15 4 4;
	hyphenate-limit-chars: 15 4 4;
}

@media screen and (max-width: 460px){
	.hyphenate-mobile{
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
		
		-webkit-hyphenate-limit-before: 4; /* For Safari */
		-webkit-hyphenate-limit-after: 4; /* For Safari */
		-ms-hyphenate-limit-chars: 15 4 4;
		hyphenate-limit-chars: 15 4 4;
	}
}

#superfesch .no-margin{
	margin: 0 !important;	
}
#superfesch .no-padding{
	padding: 0 !important;	
}

a{
	color: var(--default-text);
	text-decoration: underline;
}
a:visited{
	color: inherit;
}

h1, h2, h3, h4, h5{
	margin: 0 0 0.6em 0;
    padding: 0;
}

h1, h2, h3, h4, h5,
h1 a, h2 a, h3 a, h4 a, h5 a{
	text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover{
	text-decoration: none;
	color: inherit;
}

h1 {
	font-size: 2.6em;	
	line-height: 1.1;
}

@media screen and (max-width: 460px){
	h1, .h1{
		font-size: 1.9em;	
	}
}

h2, .h2{
	font-size: 1.7em;	
}

h3, .h3{
	font-size: 1.4em;
}

h4, .h4{ /* ~ 16pt */
	font-size: 1em;	
}

h5, .h5{ /* ~ 14pt */
	font-size: 0.9em;	
}


/* spectre.css */
a.active, a:active, a:focus, a:hover{
	color: inherit;	
}

a:focus {
    box-shadow: 0 0 0 0.1rem rgba(0,0,0,.08);
}

a.btn{
	text-decoration: none !important;
}


.big-icons{
	font-size: 5rem;
	color: var(--wp--preset--color--sfblue);
	line-height: 1;
}

/* wordpress buttons */
.btn,
.btn:hover{
	background: var(--black);
	border-color: var(--black); 	
	color: #fff !important;
	font-size: 1em;
}

.btn-secondary,
.btn-secondary:hover{
	background: rgba(0,0,0,.15);
	color: var(--black) !important;
	border:none;
}

.btn-outline,
.btn-outline:hover{
	background: #fff;
	color: var(--black) !important;
}

.btn,
a.wp-block-button__link{
	padding: .2em .8em !important;
	text-decoration: none !important;
	transition: transform .2s;
}

.btn:hover,
a.wp-block-button__link:hover{
	transform: translateY(-2px);
}


#superfesch .wp-block-columns {
    margin-bottom: 0;
}

.col-full-background-left{
	position: relative;
}
.col-full-background-left:after{
	content: '';
	position: absolute;
	right: 100%;
	top: 0;
	bottom: 0;
	width: 50vw;
	background: inherit;
}

/* alignfull elements > add_theme_support('align-wide') */
.wp-block-group.alignfull {
    width: auto;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.wp-block-group.alignfull .wp-block-group__inner-container{
	max-width: var(--maxwidth);
	padding: 60px var(--gap) 60px var(--gap);
	margin-left: auto;
	margin-right: auto;	
}
.wp-block-group.alignfull.inner-maxwidth .wp-block-group__inner-container{
	max-width: var(--maxwidth);
}
.wp-block-group.alignfull.inner-fullwidth .wp-block-group__inner-container{
	max-width: unset;
}

#superfesch .wp-block-group.no-padding .wp-block-group__inner-container{
	padding: 0 !important;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{
	padding-left: 0
}


@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        margin-bottom: 2em !important;
    }
}


/* images */
img.aligncenter{
	display: block;
	margin-left: auto;
	margin-right: auto;	
}

img.alignleft{
	float: left;
	margin-right: 0.5em;	
}

img.alignright{
	float: right;
	margin-left: 0.5em;	
}

img.aligncenter, img.alignleft, img.alignright,
.img-responsive{
	max-width: 100%;
	height: auto;
}

.fullimg img{
	width: 100%;
	height: auto;	
}

.wp-block-image{
	margin-top: 0;	
	margin-bottom: 1.5em;	
}

.wp-block-image.aligncenter{
	margin-left: auto;
	margin-right: auto;	
}

.wp-block-image img {
    height: auto !important;
    max-width: 100%;
}

.wp-block-image:not(.is-style-rounded) img {
	border-radius: 6px;
}

.wp-block-image figcaption,
.wp-block-image figcaption a{
	color: inherit;	
}

.wp-element-caption{
    font-size: 76%;
    color: #5b7383;
}

img.img-circle,
.img-circle img{
	border-radius: 100%;
}

.gallery{
	text-align: center;
	white-space: nowrap;
	margin-bottom: 1.2em;
}

.gallery-item{
	display: inline-block;
	margin: 0;
	padding: 8px 4px;	
}

.gallery br,
.gallery-caption{
    display: none;
}

.gallery.slick-slider{
	margin: 2em -40px 3em -40px;
	padding: 0 6px;
	border: 1px solid #d6d1c7;
	background: #fff;
}
@media screen and (max-width: 660px) {
	.gallery.slick-slider{
		margin: 2em -8px 3em -8px;
	}
}

.gallery .hint-swipe{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: url(img/gesture-swipe.svg) no-repeat 47% center;
	background-size: 90px 61px;
	pointer-events: none;
	animation: animation_hint_swipe 1s linear infinite;
}
@keyframes animation_hint_swipe {
    0% { background-position: 47% center; }
    50% { background-position: 53% center; }
    0% { background-position: 47% center; }
}

#onesignal-popover-container, #onesignal-slidedown-container {
    z-index: 99999999991 !important; /* above taboola widget! */
}


/* embeds (youtube, etc...) */
.wp-block-embed__wrapper {
    position: relative;
}
.wp-has-aspect-ratio .wp-block-embed__wrapper:before {
    content: '';
    display: block;
    padding-top: 50%;
}
.wp-embed-aspect-16-9 .wp-block-embed__wrapper:before {
    padding-top: 56.25%;
}

.wp-has-aspect-ratio iframe {
    position: absolute;
    bottom: 0;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
}

.material-icons{
	vertical-align: middle;	
}

.wrap{
	width: 100%;
	max-width: var(--maxwidth);
	margin: 0 auto;
}
.wrap-small{
	width: 100%;
	max-width: var(--maxwidth-small);
	margin: 0 auto;
}

.article-small .wrap{
	max-width: var(--maxwidth-small);
}

.tiny-scrollbar::-webkit-scrollbar-track{
	/*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);*/
	background-color: rgba(0,0,0,0);
	border-radius: 5px;
}
.tiny-scrollbar::-webkit-scrollbar{
	width: 10px;
	background-color: rgba(0,0,0,0);
}
.tiny-scrollbar::-webkit-scrollbar-thumb{
	background-color: rgba(0,0,0,0.1);
	border-radius: 5px;
}
.tiny-scrollbar:hover::-webkit-scrollbar-thumb{
	background-color: rgba(0,0,0,0.2);
}

/* instagram feed */

#superfesch #sb_instagram{
	padding-right: 1em;
}

#superfesch #sb_instagram .sbi_photo img{
	border-radius: 6px;	
}

/* fancybox */

#superfesch .fancybox-slide--html {
	padding: 20px;
}

#superfesch .fancybox-slide--html .fancybox-close-small{
	padding: 0;
}

#superfesch .fancybox-content{
	padding: 40px;
}

#current_info{
	font-size: 76%;
}

.fancybox-slide--current .close-fancybox{
	display: block;
	font-size: 90%;
	text-align: center;
	margin: 0 -40px;
	padding-top: 1em;
	border-top: 1px solid var(--text);
}

.close-fancybox a{
	display: flex;
	width: fit-content;
    align-items: center;
	gap: 3px;
	margin: 0 auto;
	padding: 2px 6px 2px 5px;
	color: var(--white) !important;
	text-decoration: none !important;
	background: var(--red);
}
.popup-link a:hover{
	color: var(--white);
}

.popup-link a .las{
	font-size: 150%;
	height: 21px;
}


/* Real Cookie Banner > Content Blocker */
main .rcb-content-blocker{
	border: 2px dashed var(--red);	
}


/* background element with title as svg */
.bg-title{
	position: absolute;
	top: 0;
	width: 100%;
	height: 200px;
	font-size: 9.1em;
	line-height: .9;
	letter-spacing: -.086em;
	text-transform: uppercase;
	color: inherit;
	filter:url(#stroke-text-svgfilter);
	opacity: .7;
	pointer-events:  none;
}

@media screen and (max-width: 680px){
	.bg-title{
		font-size: 8em;
	}
}

@media screen and (max-width: 480px){
	.bg-title{
		font-size: 6em;
		filter:url(#stroke-text-svgfilter-mobile);
	}
}

[data-aos=custom-fadein] {
	transform: translateY(20px);
	opacity: 0;
	transition: opacity .6s, transform .6s;
}
[data-aos=custom-fadein].aos-animate {
	transform: translateY(0);
	opacity: 1;
}

.bg-title[data-aos=custom-fadein].aos-animate {
	opacity: .7; /* important! bg-title max .7 opacity */
}


[data-aos=sf-animation-up]{
	opacity: .5;
	transform: translateY(20px);	
	transition-property: transform, opacity;
}
[data-aos=sf-animation-up].aos-animate {
	opacity: 1;
	transform: translateY(0);	
}


[data-aos=custom-img-fadein] {
	opacity: .4;
	transition: opacity .6s;
}
[data-aos=custom-img-fadein].aos-animate {
	opacity: 1;
}

/*-----------------------   CONTENT   -----------------------*/
#main{
	position: relative;
	z-index: 1;
	min-height: 70vh;
	padding: 120px 1em 80px 1em;
}

.home #main{
	/*padding-top: 0;*/
}

@media screen and (max-width: 980px){
    #main{
		padding-top: 80px;
    }
}


.has-small-font-size a:link,
.has-small-font-size a:visited,
.has-small-font-size a:hover{
	text-decoration-thickness: 1px;
	-webkit-text-decoration-thickness: 1px;
}

.page-title{
	margin-top: 60px;
color: var(--wp--preset--color--sfblue);
}


/* home */
.hero-title{
	position: absolute;
	z-index: 999;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	margin: 0;
	padding: 0;
	color: #fff;
	opacity: .7;	
}

.hero-skip{
	position: absolute;
	display: block;
	z-index: 999;
	left: 50%;
	bottom: 1em;
	transform: translate(-50%,0);
	width: 32px;
	height: 48px;
	background: url(img/scroll-down.svg) no-repeat center center;
	background-size: contain;	
	transition: transform .3s;
}

.hero-skip:hover,
.hero-skip:focus{
	transform: translate(-50%,10px);
}



.home .wp-block-latest-posts__list{
	margin: 0 0 1em 0;
}

.home .wp-block-latest-posts__post-title{
	font-weight: bold;
	text-decoration: none;
}

#superfesch.home .page-title{
	visibility: hidden;
	pointer-events: none;
	position: absolute;
	outline: 0;
	outline-offset: 0;
}

.home-hero-group{
	psoition: relative;
	z-index:1;
	margin-bottom: -60px;
}

.home-hero-group .wp-block-group__inner-container{
	padding-bottom: 0 !important;
}

.home-buttons-group{
	padding-top: 60px;
}

#superfesch.page-template-tpl-home .wp-block-columns{
	margin-bottom: 0;
}



.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover p{
	margin-bottom: 0 !important;
}

/*----------------- ARTICLE-LIST -----------------*/
/* dynamisches layout: handy > bild ist unterhalb des titels */

.article-list{
	margin-bottom: 1.2em;
}

.article-list-item{
	margin-bottom: 3em;	
}

.article-list-item-link{
	display: grid; 
	grid-template-columns: 240px 1fr; 
	/* grid-template-rows: 1fr 1fr; */
	grid-auto-rows: max-content;
	grid-template-areas: "thumbnail title"
		"thumbnail excerpt"; 
	column-gap: 30px;
}

.article-list-item-link,
.article-list-item-link:hover{
 	text-decoration: none;
}

.article-list-item-link .btn-more,
.article-list-item-link:hover .btn-more{
    text-decoration: underline;
}

.article-thumb{
	grid-area: thumbnail;
	margin: 0;
}

.article-thumb img{
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.article-list-item .article-title{
	grid-area: title;
	margin-bottom: 0;
	color: inherit;
	font-weight: bold;
}

.article-list-item-link:hover  .article-title{
    text-decoration: underline;
}

.article-list-item .article-body{
	grid-area: excerpt;
}

.article-list-item .timestamp{
	display: block;
	margin-bottom: .5em;
	font-size: 80%;
	color: #8d8d8d;
}

#main .article-list-item p{
	margin-bottom: 0;
 	text-decoration: none;
}

/* when in column */
@media screen and (max-width: 1050px) {
   div.wp-block-column 	.article-list-item-link{
  		display: block;
	}
}

@media screen and (max-width: 800px) {
	.article-list-item-link{
  		grid-template-columns: 200px 1fr; 
	}
 }
 

@media screen and (max-width: 500px) {
	.article-list-item-link{
  		display: block;
	}
}

/*----------------- ARTICLE -----------------*/

.article-pubdate{
	display: block;
	font-size: 75%;	
}

.article-lead p{
	font-size: 1.3em;
	line-height: 1.3;	
}

.article-lead h2{
	font-size: 1.7em;
}

.article-body p{
	margin-bottom: 2em;
}

.wp-block-media-text__content p:last-child{
    margin-bottom: 0 !important;
}

.article-image-text.orientation-portrait{
    display: flex;
    gap: var(--gap);
}

.article-image-text.orientation-portrait .article-image{
    flex: 0 0 33%;
    margin-left: calc(var(--gap) * -1);
}
@media screen and (max-width: 1200px){
    .article-image-text.orientation-portrait .article-image{
        margin-left: 0;
    } 
}

figure.article-image{
	position: relative;
	margin: 0 0 var(--gap) 0;
}

@media screen and (max-width: 860px){
	figure.article-image{
		margin-left: calc(var(--halfgap) * -1);
		margin-right: calc(var(--halfgap) * -1);
	}
}

.article-image img{
	width: 100%;
	height: auto;
    border-radius: 6px;
}

.article-image figcaption{
	padding: 0.6em;
	color: inherit;
	font-size: 0.7em;	
}

.article-body .article-image figcaption a{
	color: inherit;
	text-decoration: none;
}

.article-body .article-image figcaption:hover a{
	text-decoration: underline;
}

.article-image figcaption .copyright{
	padding-left: 0.4em;
}
.article-image figcaption .copyright:before {
	content: "\f030";
    font-family: 'Line Awesome Free';
    font-weight: 900;
    vertical-align: -1px;
    padding-right: 0.2em;
    opacity: .7;
    line-height: 1;
    font-size: 16px;
}

.article-beyonthefold{
	max-width: 800px;
	margin: 0 auto 3em auto;	
}


.article-footer{
    max-width: var(--maxwidth);
	margin: 5em auto 2em auto;
}

.prev-next-links{
  display: grid; 
  grid-template-columns: 1fr 40px 1fr; 
  grid-template-rows: 1fr; 
  grid-template-areas: "left mid right";
    align-items: center;
}

.prev-next-links .prev-post {
    grid-area: left;
}

.prev-next-links .next-post {
    grid-area: right;
    text-align: right;
}

.prev-next-divider{
    grid-area: mid;
    text-align: center;
    font-size: 30px;
}

.article-source{
    font-size: .84em;
}

.article-source a{
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid #a0abb2;
}

.article-tags ul{
	display: inline-block;
	margin: 0 0 .4em 0;
	padding: 0;
	list-style: none;
	line-height: 1.9;
}

.article-tags li{
	margin: 0;
	padding: 0;
	display: inline-block;	
}

.article-tags li a{
	padding: 3px 10px;
	color: var(--red);	
	text-decoration: none;
}

.article-tags li a:hover,
.article-tags li a:active{
	background: var(--grey);
}

.share-widget{
	margin-bottom: 2em;
}


.widget-h3{
	font-size: 83%;
}


/* faqs */
.schema-faq-section{
	position: relative;
	margin-bottom: 1.6em;
	padding: .7em;
	border-radius: 20px;
	border: 1px solid rgba(0,0,0,.2);
}
.schema-faq-section:hover{
	border-color: var(--wp--preset--color--sfblue);
}

a.faq-section-link{
	position: absolute;
	display: none;
	top: 4px;
	right: 4px;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	border-radius: 100px;
	background: rgba(0,0,0,.1);
	opacity: 0;
	transition: opacity .3s;
}
.schema-faq-section:hover a.faq-section-link{
	display: flex;
	opacity: 1;
}

.schema-faq-question{
	font-weight: bold;
}

.schema-faq-answer{
	margin: 0;
}


/* fußnoten */
#superfesch sup.fn a{
	text-decoration: none;
    padding: 2px 3px;
    border-radius: 3px;
    line-height: 1;
    display: inline-block;
	background: var(--lightblue);
}

#superfesch sup.fn a:hover,
#superfesch sup.fn a:focus{
	color: #fff;
	background: var(--blue);
}

.wp-block-footnotes{
	font-size: 86%;
}

#superfesch .wp-block-footnotes a{
	text-decoration-thickness: 1px;
	-webkit-text-decoration-thickness: 1px;
}

.wp-block-footnotes:before{
	content: 'Quellen';
	display: block;
	font-weight: bold;
}


/*------------   css only tabs (https://codepen.io/htmlcssfreebies/pen/WNpVeRK)   ------------*/
.tabs-block {
	display: flex;
	align-items: center;
	justify-content: center;
}
 
.tabs {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.tabs .tabs-label {
	display: flex;
	order: 1;
	flex-grow: 1; /* automatic fill row */
	align-items: center;
	justify-content: center;
	padding: var(--halfgap);
	cursor: pointer;
	border-top: 10px solid #fff;
	background-color: #efefef;
	transition: background-color ease 0.3s;
}

.tabs [type=radio]:checked + .tabs-label {
	background-color: #fff;
	border-left: 1px solid #efefef;
	border-right: 1px solid #efefef;
	border-top: 4px solid var(--blue);
}

.tabs [type=radio]:checked + .tabs-label + .tab {
	display: block;
}

.tabs .tab {
	display: none;
	order: 9;
	flex-grow: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 6px;
	border: 1px solid #efefef;
	border-top: none;
}

.tabs .tab > *:not(:last-child) {
	margin-bottom: 0.8rem;
}

.tabs [type=radio] {
	display: none;
}


/*-----------------------   articles & cards   -----------------------*/
@import "blocks/articlelist/articlelist.css";



/*-----------------------   tags & pois   -----------------------*/
.pagination{
	margin: var(--gap) 0;
	justify-content: center;
}

.pagination .nav-links{
	padding: 8px var(--halfgap);
}

.page-numbers{
	display: inline-block;
	min-width: 1.8em;
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--wp--preset--color--sfblue);
}

.page-numbers.current{
	background: var(--wp--preset--color--sfblue);
	color: var(--wp--preset--color--sfwhite);
}


/*-----------------------   ninja forms   -----------------------*/

.nf-form-fields-required{
    display: none;
}

.nf-form-layout .nf-field-container{
    margin-bottom: .6em;
}

#superfesch .nf-form-content .label-above .nf-field-label, 
#superfesch .nf-form-content .label-below .nf-field-label, 
#superfesch .nf-form-content .label-hidden .nf-field-label{
    margin-bottom: 2px;
}


.nf-form-layout .sf-uhrzeit .nf-field-label{
    width: 90px;
}

.nf-form-layout .sf-uhrzeit .nf-field-label span{
    font-weight: normal;
}




/*-----------------------   HEADER   -----------------------*/
#header{
	position: fixed;
	z-index: 900; /* above slideshow */
	/*display: flex;*/
	top: 0;
	left: 0;
	right: 0;
	padding: 0 var(--gap);
	height: 120px;
	font-size: 1em;
	background-color: var(--wp--preset--color--sfblue);
	transition: height .3s ease-out, font-size .3s, background-color 1.3s;
}

#header{
	color: var(--wp--preset--color--sfwhite);	
}
#header a{
	color: inherit;
}

.header-wrap{
	display: grid;
	grid-template-columns: 250px auto;
	width: 100%;
    height: 100%;
	align-items: center;
	transition: .3s;
}

.header-nav{
	display: grid;
	grid-template-columns: auto 160px;
	width: 100%;
}

/*
@media screen and (max-width: 1200px){
    .header-nav{
        grid-template-columns: auto 50px;
    }
}*/


/* scrolled header */
body.nav-compact #header{
	height: 60px;
}

body.nav-compact .header-wrap{
	grid-template-columns: 120px auto;
}

body.nav-compact .header-nav{
	grid-template-columns: auto 160px;
}


.header-logo{
	display: flex;
	align-items: center;
	transition: flex .3s;
}

.header-logo svg{
	width: 100%;
	height: auto;
	transition: height .3s;
}

.header-wrap a{
	position: relative;
	display: inline-block;
	padding: 8px;
	text-decoration: none;
	border-radius: 8px;
}

.header-wrap a:hover{
	text-decoration: underline;
}

.header-wrap li.current-menu-item a,
.header-wrap li.current-menu-parent a,
.header-wrap li.current-page-ancestor a{
	color: var(--wp--preset--color--sfyellow) !important;
}


.header-wrap ul{
	margin: 0;
	padding: 0;
	gap: 0px;
	list-style: none;
}

.header-wrap li{
	position: relative;
	margin: 0;
	padding: 0;
}

.header-wrap .sub-menu{
	position: absolute;
	left: -1em;
	display: none;
	padding: 1em;
	font-size: 90%;
	background: #fff;
	box-shadow: 0px 6px 5px 0px rgba(0,0,0,0.1);
}

.header-wrap li:hover .sub-menu,
.header-wrap li:focus .sub-menu{
	display: block;
}

.header-wrap li.current-menu-item .sub-menu a,
.header-wrap li.current-menu-parent .sub-menu a,
.header-wrap li.current-page-ancestor .sub-menu a{
	text-decoration: none;
}

.header-wrap .sub-menu li.current-menu-item a,
.header-wrap .sub-menu li.current-menu-parent a,
.header-wrap .sub-menu li.current-page-ancestor a{
	text-decoration: underline;
}

.nav-main{
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	gap: 10px;
}

.nav-meta{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	white-space: nowrap;
	font-weight: normal;
}

.nav-meta a i.lab{
	font-size:140%;
}

.nav-toggle{
	display: none;
}

.mobile-nav-btns{
	display: none;	
}

/* compact nav > smaller fonts only in dektop mode  */
@media screen and (min-width: 941px){

	body.nav-compact #header{
		font-size: .86em;
	}

}

.mobile-only{
	display: none;	
}

.header-mobile-btns{
	display: none;
	position: absolute;
	z-index: 999;
	right: 14px;
	top: 0;
	bottom: 0;
	align-items: center;
}


/* mobile header & nav */
@media screen and (max-width: 980px){
	
	#header{
		height: 80px;
	}
	
    .header-wrap{
        grid-template-columns: 180px auto;
    }

	.header-nav{
		position: fixed;
		z-index: 1;
		display: block;
		top: 0;
		right: 0;
		height: 100vh;
		width: 250px;	
		margin: 0;
		padding: 40px 20px 20px 20px;
		overflow: hidden;
		transform: translateX(250px);
		transition: transform .2s, width .2s;
		background: var(--wp--preset--color--sftext);
	}
    
    .nav-meta{
        position: static;
    }
	
	.header-nav ul{

	}
	
	.header-nav ul,
	.header-nav li{
		display: block;	
		float: none;
		padding: 0;
		line-height: normal;
		text-align: left;
	}
	
	.header-nav .sub-menu{
		position: static;
		display: block;
	}
	
	.header-nav li.navitem-mobile{
		display: block;
		font-weight: 400;
	}
	.header-nav li.navitem-mobile:first-child{
		border-top: 1px solid rgba(255,255,255,.2);
	}

	.header-nav li a{
		float: none;
		display: block;
		padding: 10px;
		margin: 3px 0;
		line-height: 1;		
		line-break: normal;
    	white-space: initial;
	}
	
	.header-nav li.menu-item-has-children a{
		padding-bottom: 4px;
		margin-bottom: 0px;
	}
	
	#header .header-nav li.current-menu-item a,
	#header .header-nav li.current-menu-parent a,
	#header .header-nav li.current-page-ancestor a{
		color: #fff;
	}
	
	.header-nav ul.sub-menu{
		margin-bottom: 1em;
		padding: 0 0 0 1em;
		font-weight: 400;
		background: none;
		box-shadow: none;
	}
	
	#header .header-nav li.current-menu-item .sub-menu,
	#header .header-nav li.current-menu-parent .sub-menu,
	#header .header-nav li.current-page-ancestor .sub-menu{
		/*background: var(--blue);*/
	}

	.hide-mobile{
		display: none;
	}
	
	.mobile-only{
		display: block;
	}

	.btn-link-search,
	.nav-toggle{
		display: flex;
		width: 54px;
		height: 54px;
		padding: 0;
		background: none;
		border: none;
		color: var(--white);
		cursor: pointer;
		pointer-events: auto !important;	
	}

	.btn-link-search{
		align-items: center;
		justify-content: center;
		font-size: 36px;
		transition: color .3s;
	}
	.nav-open .btn-link-search{
		color: var(--red);
	}

	.nav-toggle .line {
	  fill: none;
	  stroke: var(--white);
	  stroke-width: 6;
	  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
			stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1),
			stroke .3s;
	}
	.nav-open .nav-toggle .line {
	  stroke: var(--white);
	}
	
	.nav-toggle .line1 {
	  stroke-dasharray: 60 207;
	  stroke-width: 6;
	}
	.nav-toggle .line2 {
	  stroke-dasharray: 60 60;
	  stroke-width: 6;
	}
	.nav-toggle .line3 {
	  stroke-dasharray: 60 207;
	  stroke-width: 6;
	}
	.nav-open .nav-toggle .line1 {
	  stroke-dasharray: 90 207;
	  stroke-dashoffset: -134;
	  stroke-width: 6;
	}
	.nav-open .nav-toggle .line2 {
	  stroke-dasharray: 1 60;
	  stroke-dashoffset: -30;
	  stroke-width: 6;
	}
	.nav-open .nav-toggle .line3 {
	  stroke-dasharray: 90 207;
	  stroke-dashoffset: -134;
	  stroke-width: 6;
	}
	
	.header-mobile-btns{
		display: flex;	
	}
		
}

body.nav-open .header-nav{
	transform: translateX(0);
}


/*----------------- FOOTER -----------------*/
#footer{
    position: relative;
    z-index: 2;
	font-size: 80%;
    padding: 80px 0 0 0;
	background: var(--wp--preset--color--sfblue)
}

.footer-container{
	position: relative;
	max-width: var(--maxwidth);
	padding: 0 1em;
}

#footer, #footer a{
	color: #fff;
	text-decoration: none;
}

.footer-container .to-top{
	position: absolute;
	top: calc(var(--halfgap) * -1);
	right: var(--halfgap);
	font-size: 30px;
	transition: transform .3s;
}

.footer-container .to-top:hover{
	transform: translateY(-4px);
}

.footer-container .column{
	align-content: center;
	margin-bottom: 2em;	
}

.footer-container ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu .menu-item{
	margin: 0 0 .7em 0;
	padding: 0;
}

#footer .menu-item a:hover{
	color: var(--wp--preset--color--sfyellow);
}

.footer-menu .menu-item i{
	margin-right: .2em;
	color: var(--wp--preset--color--sfyellow);
}

.footer-container .menu-item a:hover i{
	transform: translateX(.1em);
}

#footer .wp-block-image{
	margin-top: 0;
	margin-bottom: 0;
}


.footer-brand-logo img{
	display: block;
	width: 100%;
	max-width: 120px;
	height: auto;
	margin: 0 auto 1em auto;
}

.footer-copyright{
	font-size: 80%;
}

.footer-logos{
    display: flex;
    flex-direction: row;
    align-items: center;
	justify-content: end;
	gap: 11%;
}

@media screen and (max-width: 840px){
    .footer-logos{
        justify-content: center;
    }
}

.footer-logo-item{
    max-width: 200px;
}

.footer-logo-item figure{
    margin: .5em 0;
}

.footer-logo-item img{
    width: 100%;
    height: auto;
}

.footer-logo-item a:hover img{

}


.footer-bottom{
	position: relative;
	padding: 2em 0;
	background: #00203e;
	text-align: center;
	font-size: 80%;
}


.nav-footer-3{
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-footer-3 li{
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 1em;
}



/* debug */
.sf_debug{
	font-family: "Courier New", Courier, monospace;
	font-size: 12px;
	color: #000;
	background:#FFC;
}

