/*
	Theme Name: Imperial Tours Rebrand
	Theme URI: https://imperialtours.at/
	Description: New custom theme for Matts und Paul.
	Author: Robert Mayer (https://robertmayer.design)
	Version: 2026.1
*/

/*----------------- ARTICLE-LIST -----------------*/
@import 'blocks/articlelist/articlelist.css';

:root {
	--maxwidth-small: 900px;
	--maxwidth-medium: 1100px;
	--maxwidth: 1400px;
	--halfgap: 15px;
	--gap: 30px;
	--radius: 0;
}

html, body{
    margin: 0;
	padding: 0;
	background: var(--wp--preset--color--rmd-white);
}

/* fonts */
body, input, textarea, select, button{
	font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 18px;
    line-height: 1.4;
	color: var(--wp--preset--color--rmd-darkpetrol);
}

.sourcesans, .tooltip::after{
	font-family: 'Source Sans 3', Arial, Helvetica, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6{
	font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;
	font-weight: 800;
}

.robotoslab{
	font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;
}

.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;
	}
}

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

a{
	color: var(--wp--preset--color--rmd-darkpetrol);
	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.7em;	
	}
}

h2, .h2{ /* ~ 24pt */
	font-size: 1.9em;	
}

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

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;
}


/* 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: .4em .8em !important;
	text-decoration: none !important;
	transition: transform .2s;
}

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


#rmd .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;
}

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

#rmd .wp-block-column.has-background{
	padding-left: 1em;
	padding-right: 1em;
}

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

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

#rmd .wp-block-media-text.has-media-on-the-right.has-background .wp-block-media-text__content{
	padding-left: 8%;
}

@media (max-width: 600px) {
    #rmd .wp-block-media-text.is-stacked-on-mobile.has-background .wp-block-media-text__content{
        padding-top: 1em;
		padding-bottom: 1em;
    }
}


/* 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 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{
	white-space: nowrap;
	margin: 0 0 1.2em 0;
	list-style: none;
}

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



.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;
}

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

.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 */

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

#rmd #sb_instagram #sbi_images{
	padding-top: 0;
}

/* fancybox */

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

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

#rmd .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; // off because of modals */
	min-height: 70vh;
	padding: 120px 1em 80px 1em;
}

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

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


.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;
}


/* home */
#rmd.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;
}

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

.column-has-padding{
	padding: 1em;
}


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


/*----------------- TRAVEL TOPICS -----------------*/
.traveltopics-header{
	margin: 0 -1em 2em -1em;
	padding: 40px 1em 1em 1em;
	background: var(--wp--preset--color--rmd-sand);
}

.traveltopics-header .page-title{
	margin-top: 0;
}

.traveltopic-filter{
	width: 100%;
}

.traveltopics-header .select2-selection--multiple{
	padding: .7em;
	background: rgba(0,0,0,.07);
	border: none;
}

.traveltopics-header .select2-container--default.select2-container--focus .select2-selection--multiple{
	background: rgba(0,0,0,.1);
	border: none;
}

.traveltopics-header .select2-container,
.traveltopics-header .select2-search__field{
	line-height: 1;
}

.traveltopics-header .select2-container:after{
	font-family: 'Material Icons';
    content: '\e8b6';
    font-size: 1.7em;
    position: absolute;
    right: 10px;
    top: 8px;
}
@media screen and (max-width: 720px){
	.traveltopics-header .select2-container:after{
		display: none;
	}
}

.traveltopics-header .select2-search__field::placeholder{
	color: inherit;
}

.select2-container .select2-selection--multiple ul.select2-selection__rendered{
	margin: 0;
}


#rmd .traveltopics-header .select2-selection__choice{
	margin-top: 0;
	padding: 6px 6px 6px 24px;
	border: none;
	background: #fff;
	box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
}

#rmd .traveltopics-header .select2-selection__choice__remove {
	padding: 3px 6px;
}


.traveltopic-list {
	display: grid;
	grid-column-gap: var(--gap);
	grid-row-gap: var(--gap);
	padding-bottom: var(--gap);
}

.grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media screen and (max-width: 900px){
	.grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.grid-3.only-one-row .item:last-of-type {
		grid-column: span 2; 
	}	
	
	grid-column: span 2; 
	
}
@media screen and (max-width: 660px){
	.grid-3 {
		display: block;
	}
	.traveltopic-list.grid-3 li {
		margin-bottom: var(--gap) !important;
	}
}

.traveltopic-list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.traveltopic-list-item a{
	position: relative;
	display: block;
}

.traveltopic-item-figure{
	position: relative;
	width: 100%;
	aspect-ratio: 3/2;
	margin: 0;
	overflow: hidden;
	background: var(--wp--preset--color--rmd-darkpetrol);
}

.traveltopic-item-figure img{
	object-fit: cover;
    object-position: center;
	width: 100%;
  	height: 100%;
	opacity: .5;
	transition: transform .3s ease, opacity .3s ease;
}
a.traveltopic-list-item:hover img{
	opacity: 1;
	transform: scale(1.1);
}

.traveltopic-item-title{
	display: flex;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	justify-content: center;
	align-items: center;
	color: #fff;
	text-shadow: 0px 2px 10px rgba(0,0,0,.4);
}

.traveltopic-item-hover-overlay{
	display: none;
}

.traveltopic-list-item:hover .traveltopic-item-hover-overlay,
.traveltopic-list-item:focus .traveltopic-item-hover-overlay{
	display: flex;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
}

.traveltopic-item-hover-overlay span{
	padding: .8em;
	font-size: 90%;
	background: var(--wp--preset--color--rmd-orange);
	color: var(--wp--preset--color--rmd-white)
}

/*----------------- TRAVEL TOPIC SINGLE -----------------*/

.single-traveltopic-header{
	margin: 0 -1em 80px -1em;
	background: var(--wp--preset--color--rmd-sand);
}

.single-traveltopic-hero{
	position: relative;
	width: 100%;
	max-width: var(--maxwidth);
	aspect-ratio: 16/7;
	margin: 0 auto;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	/*background-attachment: fixed;*/
}

@media screen and (max-width: 980px){
	.single-traveltopic-hero{
		aspect-ratio: 16/10;
	}
}

@media screen and (max-width: 720px){
	.single-traveltopic-hero{
		aspect-ratio: 10/10;
	}
}

.single-traveltopic-herotext{
	position: absolute;
	z-index: 2;
	bottom: 1em;
	left: 0;
	right: 0;
	padding: 0 2em;
}

.with-samepltrips .single-traveltopic-herotext{
	right: 250px;	
}

@media screen and (max-width: 720px){
	.with-samepltrips .single-traveltopic-herotext{
		right: 0;	
	}
}

.single-traveltopic-hero .page-title{
	margin-top: 0;
	color: #fff;
	text-shadow: 0px 2px 10px rgba(0,0,0,.4);
	box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.single-traveltopic-hero .subtitle{
	margin: 0;
	color: rgba(255,255,255,.5);
}

.single-traveltopic-hero:after{
	content: '';
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-size: 100% 100%;
	background-position: 0px 0px;
background-image: linear-gradient(0deg, rgba(0,0,0,.6) 1%, rgba(0,0,0,0) 50%);
}

.sampeltrip-hint-top-container{
	margin: 0 auto;
	position: relative;
	max-width: var(--maxwidth);
}

.sampeltrip-menu-top{
	position: absolute;
	z-index: 9;
	right: 2em;
	top: -190px;
	width: 250px;
	padding: 1em;
	background: var(--wp--preset--color--rmd-lemon);
	/*box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2);*/
}
@media screen and (max-width: 720px){
	.sampeltrip-menu-top{
		position: static;
		margin-top: -60px;
		margin-bottom: 1em;
	}
}

.sampeltrip-menu{
	margin: 0;
	padding: 0;
	list-style: none;
}

.sampeltrip-menu li{
	margin: 0;
	padding: 0 0 .2em 0;
}

a.sampeltrip-menu-link{
    display: inline-block;
    font-weight: bold;
	/*     padding: 6px;
	background: var(--wp--preset--color--rmd-petrol);
    /*border: 1px solid rgba(0, 0, 0, .08);*/
	text-decoration: none;
	/*
    text-decoration-color: var(--wp--preset--color--rmd-orange);
    text-decoration-thickness: 3px;*/
}

a.sampeltrip-menu-link i{
	margin-right: .2em;
	font-size: 1em;
	border-radius: 3px;
	color:  var(--wp--preset--color--rmd-lemon);
	border: 1.5px solid var(--wp--preset--color--rmd-orange);
    background: var(--wp--preset--color--rmd-orange);
}

.sampeltrip-hint-bottom-container{
	margin: 2em 0;
	padding: 1em;
	background: var(--wp--preset--color--rmd-lemon);
}


.modal-sampeltrip{
	z-index: 9999 !important;
}

.modal-sampeltrip .modal-container{
	max-width: 1220px;
	max-height: 100vh;
	padding: 0;
}

.modal-sampeltrip .modal-container .modal-header{
	position: relative;
	padding-bottom: 0;
}

.modal-sampeltrip .modal-header{
	min-height: 30px;
}

.modal-sampeltrip .modal-header .btn-close{
	position: absolute;
	right: 10px;
	top: 6px;;
	width: 30px;
	height: 30px;
}

.modal-sampeltrip .modal-header .btn-close i{
	font-size: 30px;
}

.modal-sampeltrip .modal-body iframe{
	width: 100%;
	height: 84vh;
	border: none;
}

.modal.active.modal-sampeltrip .modal-overlay,
.modal.modal-sampeltrip:target .modal-overlay{
	background: none;
}

/*----------------- 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;
}

.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-small);
	margin: 3em 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 */
#rmd sup.fn a{
	text-decoration: none;
    padding: 2px 3px;
    border-radius: 3px;
    line-height: 1;
    display: inline-block;
	background: var(--lightblue);
}

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

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

#rmd .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;
}


/*-----------------------   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--danpanna);
	background: var(--wp--preset--color--danpanna);
	color: var(--wp--preset--color--danblack);
}

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

.pagination a:hover{
	background: var(--wp--preset--color--danblack);
	color: var(--wp--preset--color--danwhite);
}


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

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

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

#rmd .nf-form-content .label-above .nf-field-label, 
#rmd .nf-form-content .label-below .nf-field-label, 
#rmd .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;
	font-weight: bold;
	background-color: var(--wp--preset--color--rmd-petrol);
	transition: height .3s ease, font-size .3s, background-color 1.3s;
}

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

.header-wrap{
	display: grid;
	grid-template-columns: 70px auto;
	gap: 1em;
	width: 100%;
	max-width: var(--maxwidth);
    height: 100%;
	margin: 0 auto;
	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: 40px auto;
}

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


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

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

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

.header-wrap li.current-menu-item a,
.header-wrap li.current-menu-parent a,
.header-wrap li.current-page-ancestor a{
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--rmd-orange);	
	text-decoration-thickness: 3px;
}


.header-wrap a:hover{
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--rmd-orange);	
	text-decoration-thickness: 2px;
}

.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;
	white-space: nowrap;
	gap: 10px;
	line-height: 1;
}

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

.nav-meta a i.insta{
	font-size:1.8em;
}

.nav-meta .nav-phonecall a{
	color: var(--wp--preset--color--danwhite) !important;
	background: #276827;
	text-decoration: none;
	border-radius: 3px;
}

.nav-meta .nav-phonecall  a i{
	margin-right: 3px;
}

.header-mobile-title{
	display: none;
}

.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,
	body.nav-compact #header{
		height: 60px;
	}
	
    .header-wrap,
	body.nav-compact .header-wrap{
        grid-template-columns: 53px auto;
    }
	
	.header-logo img {
		margin-top: 3px;	
	}

	.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;
		/*color: var(--wp--preset--color--rmd-white);*/
		background: var(--wp--preset--color--rmd-darkpetrol);
	}
    
    .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: var(--wp--preset--color--danwhite);
	}
	
	.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(--wp--preset--color--rmd-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(--wp--preset--color--rmd-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(--wp--preset--color--rmd-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;	
	}
	
	.header-mobile-title{
		display: flex;
		position: absolute;
		top: 0;
		left: 90px;
		height: 100%;
		align-items: center;
		color: #ffF;
		font-size: 1em;
	}
		
}

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



/*----------------- QUICKY -----------------*/
.nav-quicky{
	position: fixed;
	z-index: 99;
    bottom: var(--halfgap);
    right: var(--halfgap);
}

.quicky-toggle{
	position: relative;
	margin: 0;
	padding: 0;
	cursor: pointer;
	border: none;
	background: none;
	opacity: 1;
	transition: .3s transform, .3s opacity;
}

body.quicky-open .quicky-toggle{
	pointer-events: none;
	opacity: 0;
	transform: translate(-10px,-10px);
}

.quicky-toggle:before{
	content: '';
	position: absolute;
	z-index: 1;
	top: 4px;
	right: 0;
	width: 9px;
    height: 9px;
	border-radius: 100%;
	background: red;
	transition: .4s top, .4s right;
}
.quicky-toggle:hover:before{
    top: -1px;
    right: 0;
}

.quicky-toggle figure{
	margin: 0;
	padding: 0;
}

.quicky-toggle img{
	width: 48px;
    height: 48px;
	border-radius: 100%;
	border: 3px solid var(--black);
	background: var(--black);
	transition: .3s transform;
}
.quicky-toggle:hover img{
	transform: scale(1.2);
}

.menu-quick{
	position: absolute;
	z-index: -1;
	bottom: 4px;
	right: 4px;
	width: 200px;
	padding: var(--halfgap);
	background: var(--black);
	color: #fff;
	border-radius: 8px;
	/* box-shadow: 0px 0px 91px 7px rgba(0,0,0,1); */
	pointer-events: none;
	opacity: 0;
	transform: translate(10px,10px);
	transition: .3s transform, .3s opacity;
}

body.quicky-open .menu-quick{
	pointer-events: all;
	opacity: 1;
	transform: translate(0,0);
}

.menu-quick-close{
	position: absolute;
	top:6px;
	right: 6px;
	font-size: 24px;
	cursor: pointer;
}

.menu-quick-message{
	margin-bottom: .3em;
}

.menu-quick ul,
.menu-quick li{
	margin: 0;
	padding: 0;
	list-style: none;
}


a.quick-call-btn{
	display: block;
	margin-top: 4px;
	padding:  4px 8px;
	border-radius: 4px;
	color: #fff;
	text-decoration: none;
}

a.quick-call-btn i{
	margin-right: .5em;
	font-size: 25px;
    vertical-align: middle;
}

a.quick-call-btn:hover,
a.quick-call-btn:active{
	filter: contrast(1.5);
}

.quick-call-whatsapp{
	background: #2ba75c;	
}
.quick-call-phone{
	background: #658dbe;	
}

.nav-quicky-overlay{
	display: none;
}

body.quicky-open .nav-quicky-overlay{
	display: block;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}


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

.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: -60px;
	right: 10px;
	font-size: 40px;
	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 .menu-item i{
	margin-right: .2em;
	color: var(--wp--preset--color--rmd-orange);
}

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

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


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

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

.footer-copyright p{
	margin-bottom: .7em;
}

.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: var(--wp--preset--color--rmd-black);
	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;
}



/* when in modal mode */
body.is-modal #header,
body.is-modal #footer{
	display: none;
}

body.is-modal #main{
	padding-top: 0
}

body.is-modal .page-title{
	margin-top: 0;
}


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