/* Styles für GutRun (neu) */

@import url('schriften.css');
@import "mousetrail.css";

:root {
	--color-accent1: #3b78a4;
	--background-color-default: #ffffff;
	--background-color-alternate: #f4f4f4;
	--background-color-error: #eba7a7;
	--background-color-ok: #a7eba7;
	--text-color-default: #000000;
	--border-color-body: var(--color-accent1);
	--font-size-default: 14px;
	--font-family-logo: 'Qwigley';
	--image-menuekarte: url(icons8-dining-room-48.png);
	--image-menuekarte: url(icons8-tableware-50.png);
	--image-cooking: url(icons8-cooking-32.png);
	--image-receipt-list: url(icons8-cooking-32.png);
}

* {
	margin: 0;
	padding: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	outline: 0;
	box-sizing: border-box;
	text-decoration: none;
	
	color: var(--text-color-default);
	xbackground-color: var(--background-color-default);
	
	font-family: 'PT Sans', sans-serif;
	xfont-size: inherit;
	font-weight: normal;
}

body {
	background-color: var(--background-color-default);
	border: solid var(--border-color-body);
	border-width: 12px 0;
	font-size: var(--font-size-default);
}

header {
	padding: 0 1rem;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-end;
	height: 6rem;
}

.error, .ok {
	display: block;
	background-color: var(--background-color-error);
	font-size: 1.5rem;
	text-align: center;
	width: 70%;
	margin: 4rem auto;
	padding: 3rem;
}
.ok {
	background-color: var(--background-color-ok);
}
.klicken {
	cursor: pointer;
}

#logo {
	position: relative;
	left: 0;
	top: 4rem;
	background-color: transparent;
	font-family: var(--font-family-logo);
	font-size: 9rem;
	text-shadow: 3px 3px 2px #efefef;
	z-index: 3;
}

nav {
}

nav ul {
	list-style-type: none;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: flex-end;
}
nav li {
	display: inline-block;
	text-transform: uppercase;
	margin: 0 1rem;
}
.current {
	font-weight: bold;
	color: var(--color-accent1);
}

teaser {
	background-image: url(20150601_auchSchlafen-250.jpg);
	background-position: 60%;
	background-size: cover;
	background-repeat: no-repeat;

	height: 12rem;
	width: 100%;
	
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
teaser h1 {
	background-color: transparent;
	color: var(--background-color-default);
	font-size: 1.5rem;
	line-height: 2rem;
	text-shadow: 0 0 5px var(--text-color-default);
}
teaser h1 span {
	background-color: transparent;
	font-family: 'Julius Sans One';
	font-size: 3rem;
	font-weight: bold;
	color: var(--background-color-default);
}

h2 {
	font-family: 'Julius Sans One';
	font-size: 1.5rem;
	margin-bottom: 2rem;
	margin-bottom: 1rem;
	margin: 2rem auto 1rem auto;
	text-align: center;
	font-weight: bold;
}
h3 {
	font-family: 'Julius Sans One';
	font-size: 1.3rem;
	font-weight: bold;
	padding-bottom: 0.5rem;
}
h4 {
	font-weight: bold;
	margin-top: 1rem;
}

form {
	background-color: var(--background-color-alternate);
	padding: 2rem;
	margin: 2rem;
}
input[type=text], textarea, input[type=submit], select {
	padding: 5px 10px;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
}
input[type=submit], select {
	background-color: var(--background-color-alternate);
	cursor: pointer;
	margin-bottom: 1rem;
}
input[name=delete_button] {
	background-color: var(--background-color-error);
}
input[type=submit]:hover {
	background-color: #45a049;
}
::placeholder {
	color: navy;
	opacity: 1;
	transition: opacity 1s;
}
:focus::placeholder { 
	opacity:0  
}

main {
	display: block;
	width: 80%;
	margin: 0 auto;
	padding: 1rem;
}
main.main, main.menues, main.bildergalerie {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}



a.karte {
	border: 1px solid var(--text-color-default);
	display: block;
	width: 210px;
	max-width: 210px;
	text-align: center;
}
a.karte img {
	max-width: 100%;
	object-fit: cover;
	aspect-ratio: 1 / 1;
	max-height: 210px;
	height: 210px;
	padding: 0;
}
figcaption {
	font-family: 'Julius Sans One';
	font-weight: bold;
	xline-height: 1.5rem;
	text-align: center;
	xfont-size: 1.3rem;
	xpadding-top: 1rem;
	margin: 0 auto;
	width: max-content;
	max-width: 100%;
	padding: 0.5rem;
}
figcaption span {
	font-size: 0.5rem;
	xline-height: 0.7rem;
}
a.karte ~ span {
	display: none;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: none;
	background-color: rgba(20,20,20,1);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
a.karte ~ span p {
	min-width: 50%;
	padding: 1rem;
	text-align: center;
}
a.karte ~ span p span {
	font-size: 0.5rem;
	line-height: 0.7rem;
}
a.karte:focus ~ span {
	display: flex;
	z-index: 200;
}

main.menuesssss {
	justify-content: flex-start;
}
.menues h2, .bildergalerie xh2 {
	font-size: 3rem;
	font-weight: bold;
	text-align: center;
	padding-top: 2rem;
}
.menuekarte {
	display: flex;
	flex-direction: row;
	min-height: 300px;
	width: 100%;
	min-width: 100%;
	width: 48%;
	min-width: 48%;


	border: 1px solid var(--text-color-default);
	justify-content: flex-start;
	align-items: stretch;
	position: relative;
	padding: 1rem;
	background-color: var(--background-color-default);
}
.menuekarte::before {
	border: 1px solid var(--text-color-default);
	content: var(--image-menuekarte);
	background-color: inherit;
	border-radius: 30%;
	position: absolute;
	left: calc(50% - 2.5rem);
	top: -1.5rem;
	font-size: 3rem;
	width: 4rem;
	height: 3rem;
	text-indent: 0.7rem;
	line-height: 3rem;
}
.menuekarte img {
	width: 300px;
	height: 300px;
	object-fit: cover;
}
.menueinfo {
	xbackground-color: inherit;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.menueinfo p {
	padding: 1rem 0;
}
.menuekarte .showlink:before {
	xcontent: var(--image-cooking);
}
.menuekarte li {
	list-style-image: var(--image-receipt-list);
	margin-left: 2rem;
}

.menuekarte figure {
	display: none;
}
.menuekarte {
	background-image: url(../menues/erster_weihnachtstag_2017.png);
	background-size: cover;
	background-repeat: no-repeat;
	width: 33rem;
	min-width: 33rem;
	border: 1px solid var(--text-color-default);
}
.menueinfo {
	background-color: var(--background-color-default);
	border-radius: 2rem;
	margin: 1rem 2rem;
	padding: 2rem;
	width: 100%;
}

main.rezept {
	width: 70%;
	margin: 3rem auto;
}
main.rezept h3 {
	margin-top: 2rem;
}
.rezeptkarte {
	margin-bottom: 3rem;
	background-color: var(--background-color-default);
	
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;
	gap: 1rem;
}
.rezeptkarte figure {
	width: 300px;
	height: 300px;
	background-size: cover;
	background-repeat: no-repeat;
}
.rezeptkarte img {
	width: 100%;
}
.rezeptkarte ul {
	list-style-position: inside;
}
.rezeptinfo ul {
	list-style-type: none;
}
td.menge {
	text-align: end;
}
main.rezept .menge {
	padding-right: 1rem;
}
main.rezept ol{
	padding-inline-start: 2rem;
}
main.rezept ol li {
	padding-left: 0.5rem;
}
.rezepttodo {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1rem 5rem;
}


.karusell {
	display: flex;
	flex-basis: row wrap;
	align-items: center;
	width: 300px;
	height: 300px;
	xmargin: auto;
	overflow: hidden;
	position: relative;
	border: 1px solid red;
}
. rezeptkarte figure {
	display: none;
}
.rezeptkarte figure img {
	min-width: 300px;
	min-height: 300px;
	max-width: 300px;
	max-height: 300px;
	object-fit: cover;
}
.rezeptkarte figcaption {
	position: absolute;
	botton: 1rem;
	width: 100%;
	text-align: center;
	xtext-shadow: .15em .15em 0em black;
}
.prev, .next {
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;
}
.prev {
	left: 0px;
	xborder-bottom: 6px solid #66aa77;
	xborder-left: 6px solid #66aa77;
	xtransform: rotate(45deg);
	xtransition: left 0.5s;
}
.next {
	right: 0px;
	xborder-bottom: 6px solid #66aa77;
	xborder-right: 6px solid #66aa77;
	xtransform: rotate(-45deg);
	xtransition: right 0.5s;
}
.dot-container {
	width: 100%;
	position: absolute;
	bottom: 1.5em;
	display: flex;
	flex-basis: row wrap;
	justify-content: center;
}
.dot {
	width: 12px;
	height: 12px;
	background-color: blueviolet;
	border-radius: 50%;
	margin: 0 4px;
	opacity: 0.5;
	cursor: pointer;
}
.active, .dot:hover {
	opacity: 1;
}






main.rezeptliste {
	width: 70%;
	margin: 2rem auto;
}
main.rezeptliste label {
	display: block;
}
.light-table-filter {
	border: 1px solid var(--text-color-default);
	xmargin-bottom: 1rem;
	margin-left: 1rem;
}

main.rezeptliste table {
	xborder-spacing: 1rem;
	xborder-collapse: separate;
	margin-top: 1rem;
}
main.rezeptliste tr:nth-child(even) {
	background-color: var(--background-color-alternate);
}
main.rezeptliste td, main.rezeptliste th {
	xpadding-right: 1rem;
	vertical-align: top;
	padding: 0.5rem;
}
th {
	font-weight: bold;
	text-align: left;
	xpadding: 0.2rem;
	background-color: var(--background-color-alternate);
}
td {
	text-align: left;
	xpadding: 0.2rem;
}
main.rezeptliste img {
	width: 100px;
	height: 100px;
	object-fit: cover;
}
xtd.rezept, xtd.kategorien {
	xpadding: 1rem 1rem 1rem 0;
}
main.rezeptliste h3 {
	font-size: 1rem;
}
main.rezeptliste h4 {
	margin-top: 0.5rem;
}
main.rezeptliste ul {
	list-style-type: none;
}

main.edit .error, main.edit .ok {
	font-size: 1rem;
	text-align: left;
	width: 50%;
	margin: 0 0 1rem 0;
	padding: 0.5rem;
}
main.edit .submit-buttons {
	width: 50%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}


.bildergalerie label {
	font-size: 1rem;
	font-weight: normal;
	color: grey;
}
input.toggle {
	display: none;
}
input.toggle + main {
	display: none;
}
input.toggle:checked + main {
	display: flex;
}
input.toggle:checked + main.text {
	display: block;
}
.pferd-overview {
	width: 80%;
	margin: 2rem auto;
	border: 1px solid #000;
	display: flex;
	flex-direction: row;
	xgap: 1rem;
}
.pferd-overview figcaption {
	font-size: 0.7rem;
	padding-top: 0;
	font-family: 'PT Sans', sans-serif;
	font-weight: normal;
}
.pferd-overview .infotext {
	padding: 1rem;
}
.pedigree {
	background-color: #fff;
	border: 1px solid #000;
	display: grid;
	grid-template-rows: auto;
}
.pedigree img {
	max-width: 100%;
}
.pedigree h4 {
	margin: 0;
}
.pedigree .head {
	width: 100%;
	font-size: 0.7rem;
	text-align: center;
}
.pedigree .details {
	font-size: 0.7rem;
}
.pedigree  .pferd {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	vertical-align: center;
	padding: 0.5rem;
	border: 1px solid #ccc;
}
.pedigree .male {
	font-weight: bold;
}
.pedigree .abst {
	background-color: #efefef;
}
.pedigree .lastgen {
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}
.pedigree .lastgen img {
	padding-right: 0.5rem;
}
.link-to-pedigree::before {
	display: inline-block;
	height: 0.5rem;
	width: 0.5rem;
	margin-right: 5px;
	content: "";
	background: url(pedigree_icon.png) no-repeat 0 0;
	background-size: 0.5rem 0.5rem;
}
.externer-link::before {
	display: inline-block;
	height: 0.5rem;
	width: 0.5rem;
	margin-right: 5px;
	content: "";
	background: url(icons8-externer-link-24.png) no-repeat 0 0;
	background-size: 0.5rem 0.5rem;
}

footer {
	border: solid var(--border-color-body);
	border-width: 1px 0 0 0;
	padding: 1rem;
	text-align: center;
}
footer nav ul {
	justify-content: center;
}
footer nav li {
	margin: 1rem;
}
copyright {
	display: block;
	font-size: 0.7rem;
	xpadding: 0 1rem 1rem 1rem;
}

@import "mousetrail.css";
