/*
 Theme Name:   Feriendorf-19
 Description:  Theme auf Basis twentynineteen zur Darstellung Fotogalerie MGA
 Author:       Webtimiser
 Author URI:   http://new2.webtimiser.de
 Template:     twentynineteen
 Version:      1.0
 Text Domain:  MG-2019
*/
/* Content */
/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

.site-header {
  padding: 1em;
}

.site-header.featured-image {
  /* Hide overflow for overflowing featured image */
  overflow: hidden;
  /* Need relative positioning to properly align layers. */
  position: relative;
  /* Add text shadow to text, to increase readability. */
  /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); */
  /* Set white text color when featured image is set. */
  /* add focus state to social media icons */
  /* Entry header */
  /* Custom Logo Link */
  /* Make sure important elements are above pseudo elements used for effects. */
  /* Set up image filter layer positioning */
  /* Background & Effects */
  /* Shared background settings between pseudo elements. */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* The intensity of each blend mode is controlled via layer opacity. */
  /* Second layer: screen. */
  /* Third layer: multiply. */
  /* When image filters are inactive, a black overlay is added. */
  /* Fourth layer: overlay. */
  /* Fifth layer: readability overlay */
}

.site-header.featured-image {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
/*  min-height: 90vh; */
}

.site-header.featured-image .site-branding-container {
  margin-bottom: auto;
}

@media only screen /*and (min-width: 768px) */{ 
  .site-header {
    margin: 0;
    padding: 3rem 0;
  }
  .site-header.featured-image {
	min-height: 60vh; /* Anpassung chillig  vorher 100vh*/
    margin-bottom: 1rem; 
  }
}
.site-header.featured-image .site-featured-image .post-thumbnail img {
  height: auto;
  left: 50%;
  max-width: 1000%;
  max-height: 50vh;/* Anpassung chillig  vorher min-height: 100%*/
  min-width: 100vw;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: auto;
  z-index: 1;
  /* When image filters are active, make it grayscale to colorize it blue. */
}
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  margin: 1rem;
}

@media only screen and (min-width: 768px) {
  .entry .entry-content,
  .entry .entry-summary {
    max-width: 90%;
    margin: 0 3%;
    padding: 0 20px;
  }
}

@media only screen and (min-width: 1168px) {
  .entry .entry-content .wp-block-image .aligncenter {
	max-width: 90%;
/*    max-width: calc(6 * (100vw / 12) - 28px);*/
  }
}
@media only screen and (min-width: 768px) {
  .entry .entry-content .wp-block-image .aligncenter {
    margin: auto;
	width: 90%;
 /*   width: calc(8 * (100vw / 12) - 28px);*/
  }
  .entry .entry-content .wp-block-image .aligncenter img {
    margin: 0 auto;
  }
}

@media only screen and (min-width: 1168px) {
  .entry .entry-content .wp-block-image .aligncenter {
	width: 90%;
 /*   width: calc(6 * (100vw / 12) - 28px);*/
  }
  .entry .entry-content .wp-block-image .aligncenter img {
    margin: 0 auto;
  }
}
html {
  font-size: 22px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #111;
  font-family:calibri, sans-serif; /* chillig */
/*  font-family: "NonBreakingSpaceOverride", "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;*/

  font-weight: 400;
  font-size: 1em;
  line-height: 1.1;
  margin: 0;
  text-rendering: optimizeLegibility;
}


@font-face {
    font-family: 'harabarahanditalic';
    src: url('fonts/harabarahand-webfont.eot');
    src: url('fonts/harabarahand-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/harabarahand-webfont.woff') format('woff'),
         url('fonts/harabarahand-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.site-title {
  margin: auto;
  display: inline;
  font-family:'harabarahanditalic';
  font-weight: bold;
  color: #111;
  /* When there is no description set, make sure navigation appears below title. */
}
.copytext {
	font-family:calibri, sans-serif;
	font-size:1.0em;
	line-height: 120%;
	color:#000;
	opacity:1;
}

.wp-block-gallery.is-cropped .blocks-gallery-item img {
    height: 100%;
    flex: 1; 
/*    -o-object-fit: cover;*/
    object-fit: fill; 
}

#colophon .site-info {
  margin: calc(1 * 0.3rem) 1rem;
  position: static; /* chillig, before "relative" */
  z-index: 4
}

#content {
	max-width: 1980px; /*1248*/
	width: 90%; /*	funktioniert um auch beim Handy einen Rand zu lassen, löst aber das Skalierungsproblem der Hintergrundbilder nicht*/
	height: auto;
	margin: 0px auto;
	position: static; /*chillig, vorher: absolute */
	/*top: 0px; /* 15 px zumindest für Chrome erforderlich, damit Logo nicht abgeschnitten wird / iphone mit 15px schlecht */
	text-align:center; /*chillig, vorher nicht vorhanden */
	left:0;
	right:0;
	z-index: 2;
}

h1:not(.site-title):before,
h2:before {
  background: #767676;
  content: "\020" ; 
 /* display: block;*/
  height: 0px;
  margin: 0rem 0;
  width: 1em;
}

.image-filters-enabled .site-header.featured-image .site-branding-container:after {
  background: rgba(0, 0, 0, 0.5); /* 0.35 */
  mix-blend-mode: overlay;
  opacity: 0.95;
  z-index: 4;
  /* Browsers supporting mix-blend-mode can have a light overlay */
}

@supports (mix-blend-mode: overlay) {
  .image-filters-enabled .site-header.featured-image .site-branding-container:after {
    background: rgba(255, 255, 255, 0.35);
  }
}

/* Blocks */
/* !Block styles */
.entry .entry-content > *,
.entry .entry-summary > * {
  margin: 32px 0;
  max-width: 100%;
}

@media only screen and (min-width: 768px) {
  .entry .entry-content > *,
  .entry .entry-summary > * {
  /*  max-width: calc(8 * (100vw / 12) - 28px);*/
  max-width: 100%;
  }
}

@media only screen and (min-width: 1168px) {
  .entry .entry-content > *,
  .entry .entry-summary > * {
 /*   max-width: calc(6 * (100vw / 12) - 28px); */
   max-width: 100%;
  }
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align:center;
}

.entry-content p {
	margin: 1em;
}

#region {
 /* width: 95vh; */
/* min-width:850;  */
 height:auto;
/*  min-height: 740px;*/
  display: grid; 
 /* grid-template-rows: 100px 1fr 100px; */
  grid-template-columns: 20% 20% 20% 20% 20%; 
  grid-auto-flow: rows; 
  z-index: 2
}

#zusammenfassung {
	font-family:calibri, sans-serif;
	font-size:16px;
	color:#000;
	opacity:1;
}
	
#erholung{
  grid-column-start:1; 
  grid-column-end:4; 
 /* grid-row-start:1; 
  grid-row-end:2; */
  /*  width: 65%;*/
	padding-top:0.5em;
/*	float:left; */
   line-height:1.0em;
/*	margin-bottom:20px;*/
}
#erholung_bilder{
  grid-column-start:4; 
  grid-column-end:6; 
	padding-top:2em;
	line-height:1em;
}

#erlebnisse_bilder{
  grid-column-start:1; 
  grid-column-end:3; 
/* grid-row-start:2; 
   grid-row-end:4; */
/*	width: 37%; */
	padding-top:10px;
/*	float:left;*/
	line-height:15px;
}
#erlebnisse{
  grid-column-start:3; 
  grid-column-end:6; 
/*  grid-row-start:2; 
  grid-row-end:4; */
/*	width: 37%; */
	padding-top:10px;
/*float:left;*/
	line-height:20px;
}

#aktiv{
	/* width: 66%;*/
	padding-top:15px;
	grid-column-start:1; 
  grid-column-end:4; 
	line-height:20px;
	margin-bottom:0px;
}
#aktiv_bilder{
	grid-column-start:4; 
	grid-column-end:6; 
	padding-top:15px;
	float:right;
	line-height:20px;
	margin-bottom:10px;
}

/*#wilhelm{
	width: 100%;
	padding-top:0px;
	float:right;
	line-height:20px;
}*/
#umgebung{
grid-column-start:1; 
grid-column-end:6; 
	padding-top:0px;
	float:right;
	line-height:20px;
}
#umgebung_bilder {
grid-column-start:1; 
grid-column-end:6; 
	padding-top:10px;
	float:right;
	line-height:20px;
}
#kartentext {
grid-column-start:1; 
grid-column-end:6; 
	padding-top:10px;
	float:right;
	line-height:20px;
}
#karte {
grid-column-start:1; 
grid-column-end:6; 
	padding-top:5px;
	float:right;
	line-height:20px;
	width:100%;
	height:auto;
}

.flex-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

figure{
  margin: 0;
}

.post-icon {
    padding-right: 0;
    padding-left: 0;
    font-weight: bold;
	overflow:hidden;
}
.attachment-thumbnail {
float: left; 
border: 0.2em; 
width: 100%; 
height: auto; 
max-height:15em;
text-align:center}

.youtube-thumbnail {
width: 50%; 
height: auto; 
margin-left: auto;
margin-right: auto;

}
@media only screen and (min-width: 768px)
.entry .entry-content > *.aligncenter, .entry .entry-summary > *.aligncenter, .entry .entry-summary > .wp-block-group > .wp-block-group__inner-container > *.aligncenter, .entry .entry-content > .wp-block-group > .wp-block-group__inner-container > *.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

iframe.youtube-thumbnail {
margin-left: auto;
margin-right: auto;
}

figure.einzel {
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
  vertical-align: top;
  width: 23%; 
  text-align: center; 
  overflow:hidden;
  font-size: smaller;
  text-indent: 0;
  border: thin silver solid;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 0.3em;
  box-sizing: content-box;
  line-height: 0.8;
/*   background-color: #ffebe6;*/
}
@media only screen and (max-width: 567px) {
   figure.einzel { 
		min-width:16em;
        height:34em;  
    }
	.post-icon {
	height:11em;
	overflow:hidden;
}
}
@media only screen and (min-width: 568px) {
   figure.einzel { 
		min-width:22em;
        height:32em;  
    }
	.post-icon {
	height:15em;
	overflow:hidden;
}
}
figure.Grundriss {
  display: inline-block; 
  vertical-align: top;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 0.5em;
  width: auto;
  min-width: 12em;
  height: 100%; /* auto;*/
  text-align: center; 
  overflow:hidden;
  font-size: smaller;
text-indent: 0;}
 /* border: thin silver solid;*/
 
ul.Grundriss {
  display: inline-block;
  vertical-align: top;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 0.5em;
  width: auto; /* 100% */
  min-width: 15em;
  height: 30em; /* auto;*/
  text-align: center; 
  overflow:hidden;
  font-size: smaller;
text-indent: 0;}
 /* border: thin silver solid;*/
 
.aligncenter.Grundriss {
  margin-left: auto;
  margin-right: auto;
} 
 
 .Grundriss img {
	max-width:80%;
	background: white;
}
 
figure.fotoheader {
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
  vertical-align: top;
  width: 70%; 
  min-width: 18em;
  /*max-height: 400px;  28em; */
  text-align: center; 
  overflow:hidden;
  font-size: smaller;
  text-indent: 0;
  border: thin silver solid;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 0.5em;
  box-sizing: border-box;
}
figure.fotocenter {
  margin-left: auto;
  margin-right: auto;
/*  display: inline-block;  verhindert responsiven Umbruch der Gallerien */
  vertical-align: top;
}				   
.Preis td {
		font-size:0.8em;
}
.entry-content td {
	font-family:calibri, sans-serif;
	font-size:0.8em;
	line-height: 1.4em;
	color:#000;
	margin-block-end: 0.5em;
    margin-block-start: 0.5em;
   -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto; 
}
.chrome td {hyphens: manual;
}
table.ausstattung  {
	width: 90%;
	min-width: 10em;
	font-size:0.7em;
	}	
table.Preis  {
    margin-left: auto;
    margin-right: auto;
	width: 100%;
	max-width: 40em;
	font-size:1.0em;
	}	
figure.ausstattung {
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
  vertical-align: top;
  width: 23%; 
  overflow:hidden;
  box-sizing: content-box;
  line-height: 0.8;
}

@media only screen and (max-width: 767px) {
   figure.ausstattung { 
		min-width:16em;
    }
}
@media only screen and (min-width: 768px) {
   figure.ausstattung { 
		min-width:20em;
    }
}

#sidebar .searchform {
	top:50px;
	width: 20em;
	height:150em;
	display: block;  
	position: absolute; 
	background-color: #006897; /* #e7ebed;  #ffebe6*/
    overflow:visible;
	z-index:100;
}
#sidebar .figure {
	box-sizing: border-box;
}


.searchwidget:hover span[rel=tooltip] {
  padding: 0.5em;
  color: #FFF; 
  border: thin silver solid;
  border-radius: 0.2em;
}
/*
.site-header .search-form {
    position: absolute;
    right: 200px;
    top: 200px;
}
 
.site-header .search-field {
    background-color: transparent;
    background-image: url(images/search-icon.png);
    background-position: 5px center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    border: none;
    cursor: pointer;
    height: 37px;
    margin: 3px 0;
    padding: 0 0 0 34px;
    position: relative;
    -webkit-transition: width 400ms ease, background 400ms ease;
    transition:         width 400ms ease, background 400ms ease;
    width: 0;
}
 
.site-header .search-field:focus {
    background-color: #fff;
    border: 2px solid #c3c0ab;
    cursor: text;
    outline: 0;
    width: 230px;
}
.search-form
.search-submit { 
display:none;
} */

.post-description {
	  line-height: 1.2;
	}
.Details {
	font-size: 1em; 
	line-height: 0.9;
	font-family: calibri, sans-serif; 
	margin:0;
	padding:0;
	text-align:left;
	box-sizing: border-box;
}
.tooltip { 
  position: relative;
}

.tooltip span[rel=tooltip] {
  display: none;
}

.tooltip:hover span[rel=tooltip] {
 display: block;  
  position: absolute; 
  bottom: -1em; 
  left: 1em;
  max-width: 22em;
  min-width:15em;
  padding: 0.5em;
  z-index: 100;
  color: #FFF; 
  background-color: #006897; /* #e7ebed;  #ffebe6*/
  border: thin silver solid;
  border-radius: 0.2em;
}

.excerpt {
	margin-top: 0em;
	display:block; 
	line-height:1.2;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 textarea, 
.wpcf7 Anrede,
.wpcf7 select[name="Anrede"] {
background:#f0f0f0;
color:#000000;
font-family:arial;
line-height: 1.0;
}
.cf7-smart-grid.has-grid .info-tip {
	margin-bottom: 1.5em !important;
	margin-top: 0;
	font-style: italic;
	font-size: 70%;
}
.wpcf7-form-control-wrap {
	line-height: 1;
};

summary: hover {
	text-decoration: underline;
}