/**
 * Mio Basic theme
 * 
 * @package mio-basic
 */


/* Required WordPress CSS */

img[src$=".svg"] {
  width: auto;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	display: block;
	margin: 0 auto;
}

/* WordPress gallery */

.gallery {
	margin: -7px;
	margin-bottom: 22px;
}
.gallery-item {
	position: relative;
	display: inline-block;
	padding: 7px;
	margin: 0;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-icon img {
	margin: 0 auto;
}
.gallery-caption {
	/*margin-top: .5rem;
	text-align: center; */
	display: none; 
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.wp-caption {
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}
.wp-caption-text {
	/*text-align: center;*/
}
.wp-caption .wp-caption-text {
	margin-top: .5rem;
    margin-bottom: 0.5rem;
}

/* General */

body {	
	color: #4c4c4c;
	font-family: 'Roboto', sans-serif;
	font-size: 1.3rem;
    line-height: 1.5;
    font-weight: 300;
	/* hyphens: none; */ 
}

.infopage {font-size: 1.1rem;}

@media(max-width:499px) {
    
    body {font-size: 1.3rem;}
	/* body */ 
    .infopage {
		/* https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ */
	  	overflow-wrap: break-word; /* These are technically the same, but use both */
	  	word-wrap: break-word;
	  	-ms-word-break: break-all;
	  	/* word-break: break-all; */ /* This is the dangerous one in WebKit, as it breaks things wherever. Instead use this non-standard one: */
	  	word-break: break-word;
	  	-ms-hyphens: auto; /* Adds a hyphen where the word breaks, if supported (No Blink) */
	  	-moz-hyphens: auto;
	  	-webkit-hyphens: auto;
	  	hyphens: auto;
	}
    .infopage {font-size: 1.0rem;}
}

@media(max-width:1199px) {
     
    h1, h2, h3 {
		/* https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ */
	  	overflow-wrap: break-word; /* These are technically the same, but use both */
	  	word-wrap: break-word;
	  	-ms-word-break: break-all;
	  	/* word-break: break-all; */ /* This is the dangerous one in WebKit, as it breaks things wherever. Instead use this non-standard one: */
	  	word-break: break-word;
	  	-ms-hyphens: auto; /* Adds a hyphen where the word breaks, if supported (No Blink) */
	  	-moz-hyphens: auto;
	  	-webkit-hyphens: auto;
	  	hyphens: auto;
	}

}





img {
	max-width: 100%;
	height: auto;
}

a {
	color: #e35220;
	transition: all 500ms ease;	
    text-decoration: none;
}

a:hover, a:active, a:focus {
	color: #ea8018;
	text-decoration: none;
}

figure {position: relative; margin: 0; padding: 0;}
figcaption {font-size: 0.9rem;}

h1, .h1 {
    color: #e35220;
	margin-bottom:0;
	font-size: calc(1.8rem + 1.8vw); 
}

@media(min-width:1200px) {
	h1, .h1 {
	font-size: 3.6rem; }
}

h1 {display:flex;flex-direction:row;margin-bottom:0;text-align:center;}
h1:before, h1:after {content:"";flex:1 1;border-bottom: 5px solid #e35220;margin:auto;}
h1:before {margin-right:1rem;}
h1:after{margin-left:1rem;}

.sideline {display:flex;flex-direction:row;margin-bottom:1rem;text-align:left;}
.sideline:after {content:"";flex:1 1;border-bottom: 5px solid #ffe1c5;margin:auto;}
.sideline:after{margin-left:1rem;}
/*
h1 span, .h1 span {color: #ccc;}



h1:after, .h1:after {
    content: "-";
    height: 0px;
    padding-top: 1rem;
    overflow: hidden;
    display: block;
    width: 80px;
    border-bottom: 5px solid #ccc;
}

h1.text-center:after, .h1.text-center:after {
	margin-left: auto;
	margin-right: auto;
}
*/

h2, .h2 {
	font-size: calc(1.5rem + 1.5vw); 
    color: #ea8018;
    margin-bottom: 1rem;
	/*margin-bottom: calc(1.0rem + 1.0vw); */
}

@media(min-width:1200px) {
	h2, .h2 {
	font-size: 3.0rem; 
	/*margin-bottom: 2rem;*/
	}
}

.text-white h2 {color: #fff;}
.text-white h2:after {border-color: rgba(255,255,255,0.5);}

h3, .h3 {
    color: #e35220;
	font-size: calc(1.3rem + 0.5vw);
    margin-bottom: 1rem;
}


@media(min-width:1200px) {
	h3, .h3 {
	font-size: 1.6rem;
	}
}

.text-white h3 {color: #fff;}

h4, .h4 {}

ul {/* padding-left: 1.5rem; */}
main ul {padding-left: 0; list-style: none;}
main ul li {position: relative; padding-left: 1rem;}
main ul li:before {content: "» "; position: absolute; top: 0; left: 0;}

p:last-child { margin-bottom: 0;}

strong {font-weight: 700;}

/* Multiused classes */

.btn {border-radius: 0;}

.btn.active.focus, .btn.active:focus,
.btn.focus, .btn:active.focus, 
.btn:active:focus, .btn:focus {
    outline:none !important;
    box-shadow:none !important;
}

.btn-primary {
	background: #e35220;
	border-color: #e35220;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
	background: #ea8018 !important;
	border-color: #ea8018 !important;
}


.bg-2 .btn-primary:hover, .bg-2 .btn-primary:active, .bg-2 .btn-primary:focus {
	background: #e3522099 !important;
	border-color: #e3522099 !important;
}

.btn-outline-primary {
	color: #ea8018;
	border-color: #ea8018;
}

.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:focus {
	color: #fff !important;
	background: #ea8018 !important;
	border-color: #ea8018 !important;
}

.btn-burger {
    font-size: 2rem;
    padding: 0;
    color: #e35220;
	position: relative;
	z-index: 999999;
}

.btn-burger:after {
	content: "" !important;
	display:none !important;
}

.btn-burger:hover {
    color: #ea8018;
}

.btn:disabled {background: #aaa; border-color: #aaa;}

.form-control {border-radius: 0;}

.bg-1 {background: #e35220}
.bg-2 {background: #ea8018}
.bg-light {background: #eeeeee !important;}

.bg-image {background-position: center; background-size: cover;}
.bg-parallax {background-attachment: fixed;}
.color-bg-image {position: relative}
.color-bg-image:before {z-index: 1; content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.6)}
.color-bg-image > div {position: relative; z-index:2}

.text-1 {color: #e35220}
.text-2 {color: #ea8018}
.text-white a {color: inherit}
main .text-white a {color: #f7b472 /*inherit*/;}

.text-white a:hover {color: rgba(255,255,255,0.5);}

.box {background: #eeeeee;}
.bg-light .box, .bg-dark .box, .bg-1 .box, .bg-1 .box {background: #fff;}
.box > *:last-child {margin-bottom: 0;}



.zoom {overflow:hidden; position: relative; width: 100%; padding-top: 75%;}
.zoom img {position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: all 500ms ease; }
a:hover .zoom img {transform: scale(1.05);}

a.block {position: relative; display: block;}
a.inherit {color: inherit;}
a.inherit:hover {color: #e35220;}

.compact {display: block; max-width:730px; margin-left: auto; margin-right: auto;}

.anker {display: block; width: 100%; height: 0px; overflow: hidden;  transform: translateY(-50px)}

.container .container {padding-left: 0; padding-right: 0;}

.container-nogutter {
    padding-left: 0;
    padding-right: 0;
}

/* TinyMCE Custom Formats */

blockquote.blockquote {
	font-style: italic; border-top: 1px solid #ddd; border-bottom: 5px solid #eee; 
	margin-bottom: 1rem; padding-top: 1rem; padding-bottom: 1rem; text-align: center;}

.author {font-size: 0.9rem; display: block;}

.wichtig {
	color: #ea8018;
}

.multicolumn {text-align: justify;}

@media(min-width: 768px) {
	.multicolumn {column-count: 2; column-gap: 2rem;}
}

.intro {
    font-size: calc(1.3rem + 0.3vw);
}

/* Header area */

.topheader {font-size: 1rem;}

.title {
	font-size: calc(1.5rem + 1.5vw); 
	display: inline-block;
}

@media(min-width:1200px) {
	.title {
	font-size: 3rem; }
}

.custom-logo {/* max-height: 4rem; width: auto;*/} 

/* Main navigation */

.navbar {margin: 0; padding: 0; z-index: 999;}


ul.primary-nav a {display: block; padding: 0.8rem 0; color: #4c4c4c; font-weight: 400;}
ul.primary-nav a:hover,
ul.primary-nav li.current-menu-item > a,
ul.primary-nav li.current_page_parent > a { /* .current-menu-ancestor */
	color: #ea8018;
}

ul.primary-nav ul {list-style: none; margin: 0; padding: 0;}

@media (min-width: 992px) {
    ul.primary-nav ul {display:none; }
    
	ul.primary-nav > li {padding-left: 1.2rem; position: relative;}
	/*ul.primary-nav > li.menu-item-has-children > a:after { content: '\f0d7'; font-family: "Font Awesome 5 Free"; font-weight: 900; padding-left: 0.4rem; }*/
	ul.primary-nav > li:hover {}
	ul.primary-nav > li:hover ul {
		display: flex !important;
		flex-direction:column;
		position: absolute; 
		top: 100%; left: 2rem; 
		background: rgba(244,244,244,0.9);
		width: auto;
	}
	ul.primary-nav li:hover ul li {
		border-top: 1px solid #fff;
		padding: 0 1rem;
	}
	ul.primary-nav li:hover ul li a {
		white-space:nowrap;
	}
}

@media (min-width: 992px) and (max-width:1199px) {
    ul.primary-nav {font-size: 1.2rem;}
}

@media (max-width: 991px) {
	ul.primary-nav {display: block; font-size: 1.1rem;}
	ul.primary-nav li {border-top: 1px solid #ddd; padding: 0; white-space:nowrap; position: relative;}
    ul.primary-nav > li ul li {padding-left: 0.8rem;}
    ul.primary-nav a {padding: 0.4rem 0;}
	/*
    ul.primary-nav > li.current-menu-item > ul,
	ul.primary-nav > li.current-menu-ancestor > ul
		{display: block; }
    
    ul.primary-nav > li > ul {display: block;}
    */
	   
    .mobile-menu {position: absolute; right: 0; top: 0.4rem;  padding: 0.5rem 0 0.5rem 1; background: pinkX; }
}

/* Header image and Slideshow area */

.header-img {width: 100%; max-width:2000px; margin: auto; display:block; border-bottom: 5px solid #ea8018;}
.header-img img.header {
    min-height: 50vh;
    max-height: 60vh;
    object-fit: cover;
}

.header-img img.header-compact {
    min-height: 20vh;
    max-height: 30vh;
    object-fit: cover;
}


.header-img figure {position: relative;}
.header-img a {position: absolute; display: block; top: 0; width: 100%; height: 100%; color: inherit;}
.header-img figcaption {position: absolute; display: block; top: 0; width: 100%; height: 100%;}
.header-img figcaption > div {max-width: 800px;}
.header-img figure.color-text figcaption > div {background: rgba(0,0,0,0.8); color: #fff;}
.header-img figure.color-image figcaption > div {color: #fff;}
.header-img figure.color-image img {filter:brightness(40%);}
.header-img .headimg-title {font-size: calc(2.0rem + 2.0vw); }
@media(min-width:1200px) {
	.header-img .headimg-title {
	font-size: 4rem; }
}
.header-img .headimg-description {font-size: 1.3rem;}



.hr-compact {margin:0; border-top: 5px solid #eee;}

.owl-prev, .owl-next {
    position: absolute;
	left: 0px;
    top: 50%;
	transform: translateY(-50%);
	font-size: 2rem;
	padding: 0 0.5rem;
	text-align: center;
    color: rgba(255,255,255,0.8);
	/*background: rgba(255,255,233,0.5); 
    text-shadow: 0px 0px 10px rgba(0,0,0,0.4);*/
}
.owl-next {
	left: auto;
    right: 0px;
}


.owl-slideshow .owl-dots {
	position:absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom:0.5rem;
	z-index:9999;
}
.owl-slideshow .owl-dot {
	padding:0 0.5rem;
	display:inline-block;
}
.owl-slideshow .owl-dot span {
	display:inline-block;
	background:rgba(255,255,255,0.8);
	/*box-shadow: 0px 0px 10px rgba(0,0,0,0.4);*/
	width:0.8rem;height:0.8rem;
}
.owl-slideshow .owl-dot.active span {background:#e35220;}

@media(max-width:767px) {
    /*.owl-dots {display: none;}*/
}

/* Accordeon */

[data-bs-toggle="collapse"] {
    position: relative;
    display: block;
}

[data-bs-toggle="collapse"]:after {
    font-size: calc(1.0rem + 1.0vw);
    font-weight: 700;
    content: "–";
    position: absolute;
    right: 0.0rem; /*0.55*/
    top: -0.33rem;
}

[data-bs-toggle="collapse"].collapsed:after {
    content: "+" !important;
}

/*Breadcrumbs*/

.breadcrumbs {
	font-size: 0.9rem;
}

/*Pagination*/

.pagination {margin-bottom: 0;}

.page-link, .page-link:hover, .page-link:active, .page-link:focus {
    color: #e35220;
}

.page-item.active .page-link {
    background-color: #e35220;
    border-color: #e35220;
}

/*Kacheln*/

.tiles-image {object-fit: cover;}

/*Sidebar*/

.sidebar .widget h2 {margin-bottom: 1rem;}
.sidebar ul {margin: 0; padding: 0;}
.sidebar ul li:before {content: "";}
.sidebar ul li {margin: 0; padding: 0; display: block; background: #eeeeee; border-bottom: 5px solid #fff; }
li.current-cat {font-weight: 700;}
.sidebar ul li a {display: block; padding: 0.5rem; color: #4c4c4c;}
.sidebar .widget {margin-bottom: 1.5rem;}
.sidebar .widget:last-child {margin-bottom: 0;}

/*Calendar*/

.calendar {position: relative; padding-top: 1.2rem; color: #fff; }
.calendar:before {
	position: absolute;
	top: 0;
	content: '\f133'; font-family: "Font Awesome 5 Free"; font-weight: 900; 
	font-size: 3.5rem; line-height: 3.5rem;
	color: #ccc;
	z-index: 1;
}
.bg-1 .calendar:before {color: #ea8018;}

.calendar * {position: relative; z-index: 2;}
.calendar-day {font-size: 1.4rem; line-height: 2.2rem; font-weight: bold; }
.calendar-month {/*font-size: 0.8rem; line-height: 1rem; text-transform: uppercase*/}

/* Shariff Socia Media Safe Sharing Tool */

.shariff {margin-left: -5px !important; margin-right: -5px !important;}

/* Responsive Video Block */

.video-block{ position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-block iframe, .video-block object, .video-block embed, .video-block video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Contact Form 7 */
.wpcf7 {font-size: 1.0rem;}
.wpcf7 .screen-reader-response {display: none}
.wpcf7 .wpcf7-not-valid-tip {padding-top: 0.5rem; font-size: 0.8rem; line-height: 0.9rem; color: #dc3545;}
.wpcf7 .wpcf7-response-output {margin: 0 !important; }
.wpcf7 .wpcf7-validation-errors {border: 1px solid #dc3545; padding: 1rem; background: #fff; font-size: 0.8rem;}
.wpcf7 .wpcf7-mail-sent-ok {border: 1px solid #28a745; padding: 1rem; background: #fff; font-size: 0.8rem;}
/*.wpcf7 .wpcf7-radio, .wpcf7 .wpcf7-checkbox {margin-left: -1rem;}*/

/*
.codedropz-upload-handler {
    border: 0 !important;
}

.codedropz-upload-container {
	
	min-height: 330px;
	background-color: #ddd;
	background-image: url("img/upload.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100px;
	position: relative;

}

.codedropz-upload-inner > h3,
.codedropz-upload-inner > span {display: none;}

a.cd-upload-btn {position: absolute; left: 0; right: 0; top: 0; bottom: 0; color: #dddddd;} 
*/



/* Colorbox */

#cboxTitle {display: block; position: absolute; bottom: 10px; left: 10px; right: 10px; top: auto;}
#cboxTitle span {display: block; padding: 0.5rem; background: rgba(0,0,0,0.6); color: #fff; text-align: center; font-size: 0.8rem;}

/*Back to Top Button*/

.back-to-top {
	position: fixed;
	bottom: 15px;
	right: 15px;
	font-size: 30px;
	background: rgba(200,200,200,0.5);
	border-radius: 5px;
	padding: 5px 15px;
}

.back-to-top-alt {
	font-size: 30px;
}

/* Google Maps Wrapper */

.awmp_map_wrapper {
	border-width: 0 !important;
}

/**/

.section-termin a, .section-post a {font-weight: 700;}

.symbole i {font-size: 4rem; color: #e35220; margin-bottom: 1rem;}
.hinweis {display: flex; flex-direction: row; align-items: center;}
.hinweis i {font-size: 3rem; color: #b2b2b2; margin-bottom: 0rem; margin-right: 1rem;}

.big-padding > div {padding-top: 8vw !important; padding-bottom: 8vw !important;}

/* Footer */

body > footer h2 {font-size: 1.5rem; /*margin-bottom: 1rem;*/ text-transform: uppercase; /* padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid #fff;*/}
body > footer ul {margin: 0; padding: 0; list-style: none;}
body > footer ul li {margin: 0; padding: 0; display: block;}

@media(max-width: 1199px) {
	body > footer .row {margin-bottom: -1rem;}
	body > footer .row > div {margin-bottom: 1rem;}
}

/* Admin Bar */

@media(max-width: 991px) {
#wpadminbar {overflow: hidden;}
}

/* Google Web Fonts */

	/* https://google-webfonts-helper.herokuapp.com */
	/* Do not forget to add "font-display: fallback;" to each font-face (for page speed)! */

/* roboto-300 - latin */
@font-face {
  font-family: 'Roboto';
    font-display: fallback;
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('../webfonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../webfonts/roboto-v30-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-300italic - latin */
@font-face {
  font-family: 'Roboto';
    font-display: fallback;
  font-style: italic;
  font-weight: 300;
  src: local(''),
       url('../webfonts/roboto-v30-latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../webfonts/roboto-v30-latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
    font-display: fallback;
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../webfonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../webfonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-italic - latin */
@font-face {
  font-family: 'Roboto';
    font-display: fallback;
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('../webfonts/roboto-v30-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../webfonts/roboto-v30-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto';
    font-display: fallback;
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('../webfonts/roboto-v30-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../webfonts/roboto-v30-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500italic - latin */
@font-face {
  font-family: 'Roboto';
    font-display: fallback;
  font-style: italic;
  font-weight: 500;
  src: local(''),
       url('../webfonts/roboto-v30-latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../webfonts/roboto-v30-latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
    font-display: fallback;
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../webfonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../webfonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700italic - latin */
@font-face {
  font-family: 'Roboto';
    font-display: fallback;
  font-style: italic;
  font-weight: 700;
  src: local(''),
       url('../webfonts/roboto-v30-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../webfonts/roboto-v30-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-900 - latin */
@font-face {
  font-family: 'Roboto';
    font-display: fallback;
  font-style: normal;
  font-weight: 900;
  src: local(''),
       url('../webfonts/roboto-v30-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../webfonts/roboto-v30-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-900italic - latin */
@font-face {
  font-family: 'Roboto';
    font-display: fallback;
  font-style: italic;
  font-weight: 900;
  src: local(''),
       url('../webfonts/roboto-v30-latin-900italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../webfonts/roboto-v30-latin-900italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


