/*
Theme Name: praesent-sein
Theme URI: http://praesent-sein.at
Description: Template für die Seite praesent-sein.at
Author: Markus Hanspeter
Author URI: hanspeter.co.at
Version: 0.0.1
*/

/*@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:wght@200;300;400;700&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:wght@200;300;400;700&display=swap');*/

html {
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}


html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
	margin:0;
	padding:0;
	border:0;
	vertical-align:baseline;
}
img {
	max-width: 100%;
	height: auto;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
	display:block;
}
ol, ul {
	list-style:none
}
blockquote, q {
	quotes:none
}
blockquote:before, blockquote:after, q:before, q:after {
	content:'';
	content:none
}
table {
	border-collapse:collapse;
	border-spacing:0
}
*, *::before, *::after {
	box-sizing: border-box;
}
body {
	font-family: 'Noto Sans Display', sans-serif;
	font-weight: 400;
	color: #444;
	font-size: 16px;
	line-height: 1.75;
	letter-spacing: 0.06em;
}
h1 {
	font-family: 'Noto Sans Display', serif;
	font-size: 2em;
	font-weight: 400;
	line-height: 1;
	padding: 0.33em 0;
}
h2 {
	font-size: 1.75em;
	font-weight: 300;
	line-height: 1;
	padding: 0.33em 0;
	color: orange;
}
h3 {
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1.4em;
	padding: 0.33em 0;
	color: #505050;
}
a {
	text-decoration: none;
}
.content a {
	color: orange;
}

#navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	overflow: visible;
	background-color:white;
	z-index:100;
	padding: 25px 0 0;
	transition: padding 0.25s ease-in-out;
	box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

body.admin-bar #navbar { top: 32px; }

#navbar .navbar-wrapper {
	position: relative;
	margin: 0 auto;
	max-width:1300px;
	padding: 0 25px;

}
#navbar a.navbar-brand {
	float:left;
	margin: 15px;
}
#navbar a.navbar-brand img {
	height: 120px;
	float: left;
	transition: height 0.25s ease-in-out;
}
hr.spacer {
	height: 190px;
	margin: 0;
	visibility: hidden;
	border: 0 none;
	transition: height 0.25s ease-in-out;
}

#header_image {
	height: 66vh;
	min-height: 500px;
	width: 100%;
}
.header_image_content {
	position: relative;
	max-width: 1300px;
	margin: -66vh auto 0;
	height: 66vh;
}
.header_image_content .positioner {
	position: absolute;
	bottom: 5vh;
	margin: 0 0 0 2%;
}
.header_image_content p {
	font-weight: 400;
	font-size: clamp(16px, 7vw, 60px);
	color: white;
	text-shadow: 0px 2px 6px rgba(0,0,0,0.9);
	background-color: rgba(0,0,0,0.2);
	padding: 1vh 1vw;
	margin: auto;
	border-radius: 5px;
	line-height: 1.2em;
}
.small {
	font-size: 0.5em !important;
}
.content {
	margin: 0 auto;
	padding: 50px 25px;
	max-width:1300px;
	background-color:#FFF;

	min-height:80vh;
	height: auto;
	font-size: 16px;
	font-weight: 300;
}
.content > p {
	padding: 0.5em 0;
}
.content ul {
	margin-left: 1.5em;
	list-style-type:disc;
}
.content ul li {
	padding: 0.25em 0;
}
.footer-wrapper {
	padding: 25px 4%;
	max-width: 1300px;
	margin: 0 auto;
	box-shadow: 0 5px 10px rgba(0,0,0,0.5);
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 200px;
	background-color: #444444;
	color:white;
}
.shadow_w5 {
	text-shadow: 0 3px 9px rgba(255,255,255,0.5);
}
.shadow_b5 {
	text-shadow: 0 3px 9px rgba(0,0,0,0.75);
}
@media screen and (max-width: 760px) {
	.ms-maxw-760 { display: none !important;}
}
/* Spezielle Einstellungen für Breakpoint 760px*/
@media screen and (max-width: 760px) {
	hr.spacer {
		height: 90px !important;
	}

	#navbar {
		padding: 0;
	}

	.navbar-brand img { 
		height: 60px !important;
	}
	
	.wp-block-image .alignright {
		float: none;
		margin: 0.5em auto;
	}
}


/* Hauptmenü */
button {
	cursor: pointer;
	border: 0;
	padding: 0;
	font-family:inherit;
}

.tabs {
	position: relative;
	margin-top: 15px;
	margin-left: 260px;
}
.tabs:not(.--jsfied) {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.tabs .--hidden {
	display: none;
}
.tabs a,
.tabs button {
	width: 100%;
	height: 100%;
	display: block;
	font-size: 1em;
	line-height: 1.2;
	text-align: center;
	color: #444444;
	background-color: transparent;
}
.tabs .-primary {
	display: flex;
	justify-content: flex-end;
	padding: 30px 0 0;
}

.tabs .-primary > li {

}
.tabs .-primary > li + li {

}
.tabs .-primary > li > a,
.tabs .-primary > li > button {
	white-space: nowrap;
	padding: 1em 0.6em;
	border-radius: 3px;
}

.tabs .-primary > li > a:hover,
.tabs .-primary > li > button:hover {
	background-color: #fafafa;

}
.tabs .-primary li.current_page_item > a, 
.tabs .-primary li.current-menu-item > a,
.current_page_ancestor button,
button.contains-current-menu-item span.rotate {
	color: orange;
}
.tabs .-primary > li > a:active,
.tabs .-primary > li > button:active {
	background-color: #EEE;
	color: #ffa500;
}
.tabs .-primary .-more {
	background-color: #FFF;
}
.tabs .-primary .-more > button span {
	display: inline-block;
	transition: transform 0.2s;
}
.tabs .-primary .-more > button:hover span.rotate {
	color: orange;
}
.tabs.--show-secondary .-primary .-more > button span.rotate {
	transform: rotate(180deg);
}
.menu-item-has-children button span {
	display: inline-block;
	transition: transform 0.2s;
}
.menu-item-has-children.sm_btn_rotate button span {
	transform: rotate(90deg);
	color: orange;
}
.tabs .-secondary {
	right: 0;
}
.tabs .-secondary {
	max-width: 100%;
	min-width: 10em;
	display: none;
	position: absolute;
	top: 100%;
	
	box-shadow: 0 0.3em 0.5em rgba(0, 0, 0, 0.3);
	-webkit-animation: nav-secondary 0.2s;
	animation: nav-secondary 0.2s;
	
	border-radius: 5px 0 5px 5px;
	overflow: hidden;
}
.tabs .-secondary li {
	border-top: 1px solid #EEE;
	background-color: #FFF;
}
.tabs .-secondary a,
.tabs .-secondary button,
li.menu-item-has-children a {
	padding: 0.6em;
}
.tabs .-secondary a:hover,
.tabs .-secondary button:hover,
.menu-item-has-children > ul > li > a:hover {
	background-color: #ffa50022;
}
.tabs .-secondary a:active,
.tabs .-secondary button:active,
.menu-item-has-children > ul > li > a:active {
	background-color: #ffa50044;
}
.tabs.--show-secondary .-secondary {
	display: block;
}
li.menu-item-has-children {
	display: flex;
}
li.menu-item-has-children:hover > a,
li.menu-item-has-children:hover > button {
	background-color: #fafafa;
}
.-primary > li.menu-item-has-children > a {
	padding-right: 0.15em !important;
}
.-primary > li.menu-item-has-children > button {
	padding-left: 0.15em !important;
}
li.menu-item-has-children > button:hover {
	color:orange;
}
li.menu-item-has-children > ul.--show-secondary {
	display: block;
}

li.-more li.menu-item-has-children {
	flex-flow: row wrap;
	
}
li.menu-item-has-children > ul {
	max-width: 100%;
	display: none;
}
.-primary > li.menu-item-has-children > ul {
	min-width: 10em;
	position: absolute;
	top: 100%;
	
	box-shadow: 0 0.3em 0.5em rgba(0, 0, 0, 0.3);
	-webkit-animation: nav-secondary 0.2s;
	animation: nav-secondary 0.2s;
	
	border-radius: 5px 0 5px 5px;
	overflow: hidden;
}
li.-more li.menu-item-has-children > ul.--show-secondary {
	position: relative;
	display: block;
	width: 100%;
}
li.-more li.menu-item-has-children > ul.--show-secondary > a {
	width: 100%;
}

li.-more li.menu-item-has-children > a {
	flex: content;
	
}
li.-more li.menu-item-has-children > button {
	flex: 0;

}
.-primary li {
	background-color: #FFF;
}
.-primary > li {
	background-color: transparent;
}

@-webkit-keyframes nav-secondary {
	0% {
		opacity: 0;
		transform: translateY(-1em);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes nav-secondary {
	0% {
		opacity: 0;
		transform: translateY(-1em);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
/* Hauptmenü ENDE */

div.angebots_wrapper{
	border: #ebebeb solid 2px;
	border-radius: 5px;
	padding: 20px;
	margin: 30px 0;
	background: #f9f9f9;
	
	overflow:hidden;
}
div.angebot_thumbnail_wrapper {
	position: relative;
	overflow: hidden;
	width: 300px;
	float: left;
	margin: 0 25px 0 0;
}
@media screen and (max-width: 700px) {
	div.angebot_thumbnail_wrapper {
		float: initial;
		margin: 0 0 25px 0;
		width: auto;	
	}
	div.angebot_thumbnail_wrapper a img {
		width:100%;
	}
}
div.angebot_thumbnail_wrapper a {
	display:flex;
}
div.angebot_thumbnail_wrapper a img {
	object-fit: cover;
	min-height: 12em;
}
div.angebot_date {
	position: absolute;
	float: left;
	left: 0;
	top: 0;
	padding: 15px 15px 10px;
	border-radius: 0 0 5px 0;
	background: #ffa500cc;
	color: white;
	font-weight: 700;
	text-align: center;
	box-shadow: 0 0 25px rgba(0,0,0,0.5);
}
div.angebot_date .angebot_date_day {
	font-size: 1.75em;
	line-height: 0.75em;
}
div.angebot_date .angebot_date_month {
	font-size: 1em;
	text-transform: uppercase;
}
div.angebot_content {
		overflow: hidden;
	}
.infos {
	font-weight: 500;
	color: #666;
}
div.angebot_content i {
	color: gray;
}
button.angebot {
	border: none;
	color: white;
	background: orange;
	border-radius: 3px;
	padding: 10px 20px;
	margin: 15px 0 0;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size:1em;

}
button.angebot:hover {
	background: #ff9900;
	
	
}

div.angebot_sp_thumbnail_wrapper {
	float: right;
	position: relative;
	overflow: hidden;
	max-width:40vw;
	width:auto;
	margin: 5px 0 25px 25px;
}

@media screen and (max-width: 500px) {
	div.angebot_sp_thumbnail_wrapper {
		width:100%;
		max-width:initial;
	}
}
