@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Special+Elite&display=swap');
@font-face{
  font-family:adobe-handwriting-frank;
  src:url(https://use.typekit.net/af/db9a43/00000000000000007735b5fe/30/l?subset_id=2&fvd=n4&v=3) format("woff2"),url(https://use.typekit.net/af/db9a43/00000000000000007735b5fe/30/d?subset_id=2&fvd=n4&v=3) format("woff"),url(https://use.typekit.net/af/db9a43/00000000000000007735b5fe/30/a?subset_id=2&fvd=n4&v=3) format("opentype");
  font-weight:400;
  font-style:normal;
  font-stretch:normal;
  font-display:auto;
}

html {
    overscroll-behavior: none;
}
body {
    font-size: calc(0.1* 1.2vw + 1rem);
    font-family: Lato,sans-serif;
    color: #000;
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
}

a, a:hover, a:visited {
    color: #000;
    text-decoration: none;
}
a:hover {
    font-weight: 600;
}

h1 {
    font-family: adobe-handwriting-frank;
    text-align: center;
    font-size: 3rem;
    font-weight: 400;
    color: #564f47;
}

h2 {
    font-family: adobe-handwriting-frank;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
}
header {
	background-color: #7c766c;
	flex: 0 0 auto;
	color: #fff;
	padding: 8px;
}
header a, header a:hover, header a:visited {
    color: #fff;
    text-decoration: none;    
    font-weight: 600;
}

.center {
    text-align: center;
}
div.room-details {
    margin: auto;
    max-width: 1200px;
}
div.room-image {
    float: left;
}
div.grundriss {
    text-align: center;
}
.clearfix {
    clear: both;
}
div.description {
    display: block;
    min-width: 200px;
}
.description p {
    text-align: center;
}
input + span {
  padding-right: 30px;
}

input:invalid + span::after {
  position: absolute;
  content: "✖";
  padding-left: 5px;
}

input:valid + span::after {
  position: absolute;
  content: "✓";
  padding-left: 5px;
}
button, input[type="submit"] {
	border: 0.15em solid #c1bcb6;
	border-radius: 1.5rem;
	background-color: #fff;
	color: #c1bcb6;
	padding: 1rem;
	margin-top: 0.5em;
	font-size: 1rem;
	transition: 0.1s;
	font-weight: 600;
}
button:hover, input[type="submit"]:hover {
  color: #fff;
  background-color: #c1bcb6;
  border-color: #c1bcb6; 
}
input[type="number"], input[type="time"], input[type="date"], input[type="text"], input[type="tel"], input[type="email"], input[type="password"], select, textarea {
    border: 1px solid #9f9a91;
    color: #9f9a91;
    font-size: 1rem;
    border-radius: 1rem;
    padding: 0.5rem;
}
.greeting {
    text-align: right;
}
header div {
    display: block;
    position: relative;
    width: 100%;
}
nav {
    display: flex;
    font-size: 1rem;
    margin-top: 10px;
    flex-direction: row;
    align-content: space-around;
    justify-content: center;
}
nav ul {
    list-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}
nav ul li {
    display: inline-block;
    border-left: 1px solid #fff;
    padding: 5px 1rem;
}
nav ul li.first {
    border-left: none;
}
main {
	flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
footer {
	flex: 0 0 auto;
	text-align: center;
	font-size: 80%;
	padding-top: 10px;
}
div.centered_list {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: center;
}
div.centered_list ul {
	list-style: none;
}
div.menu {
	margin-top: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid #7c766c;
	margin-bottom: 10px;
}
div.menu a, div.menu a:hover, div.menu a:visited {
    color: #7c766c;
    text-decoration: none;
        
}
div.menu ul {
    list-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}
div.menu ul li {
    display: inline-block;
    border-left: 1px solid rgb(143, 164, 159);
    padding: 5px 1em;
}
div.menu ul li.first {
    border-left: none;
}
.cal-buchung {
    position:absolute;
    font-size:0.7rem;
    border-style:none;
    border-radius:4px;
}
.cal-buchung-text {
    margin:3px 3px 0 3px;
}
.cal-user {
    margin:0 3px 3px 3px;
}
.cal-buchung-self .cal-buchung-text {
    margin:1px 1px 0 1px;
}
.cal-buchung-self .cal-user {
    margin:0 1px 1px 1px;
}
.cal-buchung-self {
    border: 2px solid #0f0;
}
table.month, table.week, table.day {
	width:100%;
	table-layout:fixed;
}
table.month td:first-child, table.week td:first-child, table.day td:first-child {
	width: 35px;
}
table.month td:not(:first-child), table.week td:not(:first-child), table.day td:not(:first-child) {
	width: auto;
}
th {
	padding: 5px;
	width: auto;
}
.today a {
	background-color: #9f9a91;
	color: #fff;
	border-radius: 50%;
    padding: 3px;
    text-decoration: none;
}
table.buchungen {
	border-collapse: collapse; 
}
.buchungen tr {
    border-bottom: 1px solid #7c766c;
}
.buchungen td, .buchungen th {
	padding: 5px;
}

td.number {
	text-align: center;
}
table {
	font-size: 1em;
}
fieldset {
  background-color: #c1bcb6;
  margin: auto;
  width: 35em;
  border: none;
  border-radius: 1em;
  padding: 1em;
}
div.set {
  background-color: #c1bcb6;
	padding: 1em;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 1em;
}
div.row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
div.row div {
	flex: 1 0 50%;
	min-width: 250px;
}
label {
  display: inline-block;
  padding: 0.5em 0;
}
div.formtable {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.3rem;
}
div.anfrage-calendar {
	position: relative;
	flex: 0 0 50%;
}
div.anfrage-form {
    flex: 0 0 50%;
}
div.room-image {
	max-width: 50%;
	padding-bottom: 1em;
}
div.room-image img {
	width: 100%;
}
nav input[type=checkbox] {
    display: none;
}
div.bigtable {
	max-width: 100%;
	overflow-x: auto;
}
@media screen and (max-width: 800px) {
    div.room-image {
        width: 100%;
        max-width: 100%;
    }
	nav {
       flex-direction: column;
    }
    nav label {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1.4em;
        margin: 0;
    }
    nav label:after {
        content: "\2261";
        font-size: 1.8em;
    }
    nav ul {
       display: none;
    }
    nav input[type=checkbox]:checked ~ ul {
      display:block;
    }
    nav ul li {
        width: 100%;
        border: none;
        text-align: center;
        padding: 0.4rem 0;
        font-size: 1.8rem;
    }
    div.menu ul li {
        width: 100%;
        border: none;
        text-align: center;
        padding: 0.4rem 0;
    }
}
