@media screen
{

/*Globale Gestaltung
--------------------------------------------------*/

* {
	margin:0;
	padding:0;
	border:0;
}

body {
    font-family: Helvetica, Arial, Geneva, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 1.2em;
	color: #302318;
	background-color: #C09A5B;
	background-image: linear-gradient(0deg, #9D7641, #EFD29A, #9D7641);
    background-repeat: repeat-y;
    background-size: 100vw 200vh;
	background-position: center top;
}

h1 {
	font-size: 1.3em;
	text-align: left;
	font-weight: bold;
	margin-top: 1em;
	margin-bottom: 1em;
}

h2 {
	margin-bottom: 0.3em;
	margin-top: 1em;
	text-align: left;
	font-size: 1.1em;
}

a {
	color: #800039;
	font-weight: bolder;
	text-decoration: none;
}

p {
	margin-bottom: 0.5em;
	margin-left: 1em;
}

b {
	font-weight: 900;
}

i {
	font-weight: bolder;
}

/*Inhalte
--------------------------------------------------*/

#wrapper {
	width: 75vw;
	max-width: 1000px;
	margin-top: 1em;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
	padding-top: 2em;
	background-image: url(img/bg.jpg);
	background-size: 100%;
	background-repeat: repeat-y;
	background-position: center top;
	border-radius: 1em;
}

header {
	position: relative;
}

header::before {
	content: "";
	background-image: url(img/skyline.svg);
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	background-size: cover;
	opacity: 0.4;

}

.header-img {
	width: 100%;
	max-width: 1000px;
	height: auto;
	border-radius: 0 6vw 0 6vw;
}

#header-trans{
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	display: block;
	width: 100%;
	z-index: 6;
}

.xl {
	display: block;
}

.small {
	display: none;
}

nav {
	display: block;
	margin-top: 1em;
	width: 100%;
	background-color: rgb(61 39 19 /0.4);
}

nav ul {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
}

nav ul li {
	flex: auto;
	display: inline-block;
	margin: 10px;
	text-align: center;
	border: solid 2px #302318;
	border-radius: 0 1em 0 1em;
	background-color: #C09A5B;
}

nav ul li img {
	max-width: 200px;
	height: auto;
	margin-top: 5px;
}

main {
	max-width: 1000px;
}

.textarea {
	width: calc(100% - 100px);
	margin-top: 1em;
	margin-bottom: 0.5em;
	margin-right: auto;
	margin-left: auto;
	padding: 1em 1em 1em 1em;
	font-size: 1em;
	background-color: rgb(239 210 154 /0.6);
	border: solid 2px #302318;
	border-radius: 1em;
	hyphens: auto;
}

.datenschutz ul {
	margin-left: 3em;
	margin-bottom: 1em;
}

.initial {
	display: inline-block;
	width: 4em;
	height: auto;
	float: left;
	margin-right: 0.3em;
}

.img-gallery {
	display: flex;
	flex-direction: row;
	text-align: center;
	flex-wrap: wrap;
}

.boxlink {
	flex: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.flexbox {
	display: flex;
	flex-direction: row;
}

figure {
	flex: auto;
	text-align: center;
	margin-bottom: 1em;
}

.img-angebot {
	margin: 1em;
	max-width: 20vw;
	width: 87%;
	height: auto;
	border-radius: 150px;
	box-shadow: 3px 3px 5px 6px #302318;
}

figcaption {
	padding: 2.5em 0.5em 0.5em 0.5em;
	margin-left: auto;
	margin-right: auto;
	max-width: 20vw;
	width: 87%;
	min-height: 37.5em;
	text-align: center;
	font-size: 1em;
	background-color: rgb(248 233 205);
	border: solid 2px #302318;
	border-radius: 1em;
}

#meister-hans, #moench-eusi, #zeitreise {
	background-repeat: no-repeat;
	background-size: 12em 2.5em;
	background-position: center 0.5em;
}

#meister-hans {
	background-image: url(img/meister_hans.svg);
}

#moench-eusi {
	background-image: url(img/moench_eusebius.svg);
}

#zeitreise {
	background-image: url(img/zeitreise.svg);
}

figcaption ul{
	text-align: left;
}

figcaption ul li{
	margin-left: 1em;
	margin-top: 0.5em;
}

.nowrap {
	white-space: nowrap;
}

.tourinfo {
	display: block;
	margin: 0.5em;
	padding: 0.2em;
	text-align: center;
	border: solid 2px #302318;
	border-radius: 0 1em 0 1em;
	background-color: #C09A5B;
	color: #302318;
}

.tourinfo-small {
	display: none;
}

.tourinfo-xl {
	display: block;
	margin: 0 0.5em 0 0.5em;
	width: 100%;
	padding: 0.2em;
	text-align: center;
	border: solid 2px #302318;
	border-radius: 0 1em 0 1em;
	background-color: #C09A5B;
	color: #302318;
}

.up-down {
	width: 1.1em;
	height: 1.1em;
	vertical-align: sub;
}

footer {
	display: table;
	margin-top: 1em;
	width: 100%;
	background-color: rgb(61 39 19 /0.4);
	border-radius: 0 0 1em 1em;
}

#footer-content {
	display: table-cell;
	height: 3em;
	text-align: center;
	vertical-align: middle;
	padding-top: 0.5em;
}

/*Newsbox implementiert via php
--------------------------------------------------*/
#news{
	position: absolute;
	margin-left: 5vw;
	margin-right: 5vw;
	margin-top: 17em;
	width: 90vw;
	padding-top: 3em;
	padding-bottom: 3em;
	z-index:5;
	background-color: rgb(52 26 0 /0.7);
	border-radius: 2em;
	box-shadow: 0px 0px 5px 7px #341A00;
}

#news-content{
	position: relative;
	display: block;
	height: auto;
	width: 40vw; 
	min-width: 12em;
	margin-left: auto;
	margin-right:auto;
	padding: 2.5em 0.5em 2.5em 0.5em;
	text-align: center;
	background-color: #F8E9CD;
	border-radius: 1em;
	border: 3px solid #302318;
}

#news-content img {
	position: relative;
	top: -2em;
	right: 0;
}

#newsoff {
	display:none;
}
    
#newsoff:checked + div {
  display:none;
    }

#schliessen {
	float: right;
	width: 20px;
	height: auto;
}

#schliessen:hover,
#schliessen:focus {
	cursor: pointer;
	opacity: 0.5;
}

/*Hovers
--------------------------------------------------*/

a:hover, a:focus {
	text-decoration: none;
}

li a:hover, a:focus {
	text-decoration: underline;
	color: #582468;
}

p a:hover, p a:focus {
	text-decoration: underline;
	color: #582468;
}

nav ul li:hover, .nav ul li:focus {
	background-color: rgb(239 210 154 /1);
	color: #F28015;
	text-decoration: none;
}

.tourinfo:hover {
	background-color: rgb(239 210 154 /1);
	text-decoration: none;
	color: #302318;
}

.tourinfo-xl:hover, .tourinfo-small:hover {
	background-color: rgb(239 210 154 /1);
	text-decoration: none;
	color: #302318;
}

/*Spamvorbeugung Mailadresse per css
--------------------------------------------------*/
.mail::before {
	content:'kontakt';
}
.mail::after {
	content:'meister-hans.de';
}

}

/*Anpassung Viewport
--------------------------------------------------*/

@media (max-width: 70em) {

#wrapper {
	width: 100vw;
}

.flexbox {
	flex-direction: column;
}

figure {
	margin-bottom: 1em;
	flex: auto;
	white-space: nowrap;

}

img, figcaption {
	display: inline-block;
	vertical-align: middle;
}

figcaption {
	max-width: 55vw;
	width: 60%;
	min-height: auto;
	white-space: normal;
}

.tourinfo-small {
	display: block;
	padding: 0.2em;
	margin: 0 0 1.5em 28.5vw;
	max-width: 55vw;
	width: 60%;
	text-align: center;
	border: solid 2px #302318;
	border-radius: 0 1em 0 1em;
	background-color: #C09A5B;
	color: #302318;
}

.tourinfo-xl {
	display:none;
}

}

@media (max-width: 40em) {

.header-img {
	height: 8em;
	max-height: 140px;
}

.xl {
	display: none;
}

.small {
	display: block;
}

.img-angebot {
	display: none;
}

figcaption {
	max-width: calc(100% - 1em);
	width: calc(100% - 1em);
}

.tourinfo-small {
	margin: 0 0 1.5em 0;
	max-width: calc(100% - 1em);
	width: calc(100% - 1em);
}

}
