  /* sofia-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Sofia';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/sofia-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* alegreya-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/alegreya-v35-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/alegreya-v35-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/alegreya-v35-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/alegreya-v35-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* m-plus-rounded-1c-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/m-plus-rounded-1c-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* m-plus-rounded-1c-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/m-plus-rounded-1c-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* m-plus-rounded-1c-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/m-plus-rounded-1c-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* m-plus-rounded-1c-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'M PLUS Rounded 1c';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/m-plus-rounded-1c-v15-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* annie-use-your-telescope-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Annie Use Your Telescope';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/annie-use-your-telescope-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* borel-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Borel';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/borel-v3-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}





body {
    font-family: 'M PLUS Rounded 1c';
    background-color: #dbd9d3; /*#ee8;*/
    display: grid;
/*		gap: 0.5em;*/
    margin: 0 auto;
    max-width: 60em;
}

/* ungefähre Anzahl der Pixel bei verschiedenen Bildschirmgrößen:
    320 Pixel: Smartphones im Hochformat
    480 Pixel: Ein kleines Display, ebenfalls Smartphones Querformat
    600 Pixel: kleinere Tablets
    768 Pixel: Tablet, z.B. iPad, im Hochformat
    1024 Pixel: iPad im Querformat und einige Laptops
    1200 Pixel: mittelgroße Monitore*/
@media (min-width: 500px){br.responsive {
    display: none; // Hide BR tag for wider screens
  }}
@media (min-width: 45em) { 
	/* Breite beträgt mindestens 45em */ 
	body {
    grid-template-columns: 1fr 4fr;	
    grid-template-rows: auto 1fr 100px;
	}
}
br.responsive {line-height: 2.1em;}

header,
nav,
main,
footer {
	/*border-radius: 0px 0.5em 0.5em;
	border: thin solid;*/
	padding: 10px;
}

h1, h2, h3, h4 {
  font-family: 'M PLUS Rounded 1c';
  font-weight: 900;
}

table {
  border: none;
  width: 100%;
}

header img {
  padding: .5em;
  margin: 0 1em 0 0;
}


header,footer {
	grid-column: 1 / -1;
}

/*
header 	background: #F1F3F4;
nav 	background: #fffbf0;
main	background: #ffede0;
footer	background: #e4ebf2;
*/
header {
	background: #bff5fc;
	/*border-color: #d5d5d5;*/
	display: grid;
	grid-template-columns: min-content 1fr;
	text-align: center;
}
.h4y_blau {
  background-color: #1497e5;
  color: #fff;
  border-radius: 3em;
  border: solid black 4px;
  padding: 5px 25px;
  font-size: 150%;
}
.h4y_blau_klein {
  background-color: #1497e5;
  color: #fff;
  border-radius: 1em;
  border: solid black 1px;
  padding: 2px 12px;
  text-decoration: none;
  font-weight: 500;
  line-height: 2.5em;
  margin: 1em;
  box-shadow: 5px 2px 2px grey;
}
.h4y_rot {
  background-color: #f75202;
  color: #fff;
  border-radius: 3em;
  border: solid black 4px;
  padding: 5px 25px;
  font-size: 150%;
}
.h4y_rot_klein {
  background-color: #f75202;
  color: #fff;
  border-radius: 1em;
  border: solid black 2px;
  padding: 2px 12px;
  text-decoration: none;
  font-weight: 500;
  line-height: 2.5em;
  margin: 1em;
  box-shadow: 5px 2px 2px grey;
}

.top3 a{
		text-decoration: none;
	}
	
.top3{
		margin: 20px 0 20px 0;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
  }
.top{
		margin: 10px 20px 10px 10px;
		width: 190px;
		height: 300px;
		background: #1497e5;
		border-radius: 10px;
		border: 2px solid #000;
		box-shadow: 1px 1px 5px rgba(1,1,1,1);
		transition: all 200ms ease-in-out;
	}
.topBild{
		width: 90%;
		height: 45%;
		position: relative;
		margin: 10px auto;
	}
	
.topBild img{
		position: absolute;
		object-fit: cover;
		width: 100%;
		border-radius: 10px;
		box-shadow: 2px 2px 5px rgba(1,1,1,1);
		transition: all 250ms ease-in-out;
	}
.topAngebot{
    	text-align: center;
    	margin: 10px 5px 10px 5px;
    	color: #FFF;
    	flex: auto;
    	text-shadow: 3px 3px 5px #111;
    	font-family: 'M PLUS Rounded 1c';
      font-weight: 500;
    	font-size: 1.5rem;
    	white-space:nowrap;
    	overflow: hidden;
	}
.topInfo{
    	margin: 10px 5px 5px 5px;
    	color: #111;
    	flex: auto;
    	white-space:nowrap;
    	overflow: hidden;
	}

nav {
	background: #bff5fc;
	/*border-color: #e7c157;*/
}

main {
	background: #9dd0fb;
	border-color: #df6c20;
}

footer {
	background: #bff5fc;
	/*border-color: #8a9da8;*/
}

footer * {
	float: right;
	clear: right;
	margin: 0 0 1em;
}

.startkarte {
  position: relative;
  width:100%; height:200px; text-align:center;
  border-radius: 1em;
  border: solid black 2px;
  overflow: hidden;
}
.kartenbild{
  position: absolute;
  z-index: 0;
  animation: bewegeStartkarte 180s ease-in-out infinite;
}
  @keyframes bewegeStartkarte {
  0% {
    transform: translate(-10%, -10%);
  }
  25% {
    transform: translate(-45%, -40%);
  }
  50% {
    transform: translate(0%, -75%);
  }
  75% {
    transform: translate(-45%, 0%);
  }

  100% {
    transform: translate(-10%, -10%);
  }
}
.kartenschriftbox {
  position: absolute;
  top: 80%; left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f75202;
  color: #fff;
  border-radius: 3em;
  border: solid black 4px;
  padding: 5px 25px;
  font-weight: 900;
  font-size: 150%;
  z-index: 1;
  box-shadow: 10px 5px 5px grey;
  transition: 0.2s;
  transition-timing-function: ease-out;
}
.kartenschriftbox:hover{
  transform: scale(1.1) translate(-45%, -45%);
  transition: 0.2s;
  transition-timing-function: ease-out;
}
.buttonlink{ 
  position:absolute; 
  width:100%;
  height:100%;
  top:0;
  left: 0;
  z-index: 1;
}

.foto {
  position: relative;
  text-align: center;
  width:100%;
}
.logo {
  position: absolute;
  top: 20%;
  left: 80%;
  transform: translate(-50%, -50%);
}
.rahmen {
  width: 95%;
  border-radius: 1.5em;
  border: solid black 2px;
  box-shadow: 5px 2px 2px grey;
}
.textrahmen {
  width: 95%;
  margin: 1em 0 0 0;
  padding: 0 1em 1em 1em;
  border-radius: 1em;
  border: dashed grey 1px;
  background-color: #fff2;
}
.inputrahmen {
  width:95%;
  min-height:5em;
  padding: 0 .5em 1em .5em;
  border-radius: 1em;
  border: dashed grey 1px;
  background-color: #fff;
}
/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
}
.beschreibung{
  font-family: 'Borel';
  font-size: 18px;
}

.map {
  width: 98%;
  aspect-ratio: 3 / 2;
  border-radius: 1.5em;
  border: solid black 2px;
  box-shadow: 5px 2px 2px grey;
  z-index:1;
}

/* modal-Fenster: Seite abdunkeln und Lightbox darüberlegen */
/* W3.CSS 4.15 December 2020 by Jan Egil and Borge Refsnes */

.login-input{
  margin-bottom: 16px !important;
  border: 1px solid #ccc !important;
  display: inline;
  width: 100%;
  padding: 8px;
  box-sizing: border-box; width: 100%;}

.schliessen-button{
  font-size: 24px !important;
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  display: inline-block;
  padding: 8px 16px;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  }
.schliessen-button:hover{color:#fff!important;background-color:#f44336!important} 
  
.submit-button {
  border: none;
  display:inline;
  width:100%;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  color: #fff;
  background-color: #4CAF50;
}
.submit-button:hover{color:#000!important;background-color:#ccc!important} 
  

.modal-container{padding:0.01em 16px}
.modal{z-index:3;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.7)}
.modal-content{margin:auto;background-color:#fff;position:relative;padding:0;outline:0;width:600px;box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}

.w3-input{padding:8px;display:inline;border:none;border-bottom:1px solid #ccc;max-width:97%;}

.w3-padding{padding:8px 16px!important}
.w3-padding-16{padding-top:16px!important;padding-bottom:16px!important}
.w3-section{margin-top:16px!important;margin-bottom:16px!important}

@media (max-width:600px){.modal-content{margin:0 10px;width:auto!important}.modal{padding-top:30px}	.col-50 {width: 100%;}.h4y_blau {font-size: 100%;}.h4y_rot {font-size: 100%;}.kartenschriftbox {font-size: 100%;}}
@media (max-width:768px){.modal-content{width:500px}.modal{padding-top:50px}}
@media (min-width:993px){.modal-content{width:900px}.col-50 {float: left; width: 50%;}}





.w3-button{border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}


.w3-center .w3-bar-item{display:inline-block;width:auto}
.w3-bar .w3-bar-item{padding:8px 16px;float:left;width:auto;border:none;display:block;outline:0}
.w3-bar .w3-dropdown-hover,.w3-bar .w3-dropdown-click{position:static;float:left}
.w3-bar .w3-button{white-space:normal}

.w3-block{display:inline;width:100%}
.w3-display-topright{position:absolute;right:0;top:0}


.w3-animate-zoom {animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
.w3-small{font-size:12px!important}.w3-medium{font-size:15px!important}.w3-large{font-size:18px!important}
.w3-xlarge{font-size:24px!important}
.w3-left-align{text-align:left!important}.w3-right-align{text-align:right!important}.w3-justify{text-align:justify!important}
.w3-center{text-align:center!important}
.w3-border-0{border:0!important}.w3-border{border:1px solid #ccc!important}
.w3-border-top{border-top:1px solid #ccc!important}.w3-border-bottom{border-bottom:1px solid #ccc!important}
.w3-border-left{border-left:1px solid #ccc!important}.w3-border-right{border-right:1px solid #ccc!important}
.w3-topbar{border-top:6px solid #ccc!important}.w3-bottombar{border-bottom:6px solid #ccc!important}
.w3-leftbar{border-left:6px solid #ccc!important}.w3-rightbar{border-right:6px solid #ccc!important}
.w3-margin{margin:16px!important}.w3-margin-top{margin-top:16px!important}.w3-margin-bottom{margin-bottom:16px!important}
.w3-margin-left{margin-left:16px!important}.w3-margin-right{margin-right:16px!important}
.w3-left{float:left!important}.w3-right{float:right!important}
.w3-button:hover{color:#000!important;background-color:#ccc!important}

/* Colors */
.w3-green{color:#fff!important;background-color:#4CAF50!important}
.w3-red,.w3-hover-red:hover{color:#fff!important;background-color:#f44336!important}
.w3-light-grey,.w3-hover-light-grey:hover,.w3-light-gray,.w3-hover-light-gray:hover{color:#000!important;background-color:#f1f1f1!important}

