form {
	margin-bottom: 0;
}
span.yes, input.yes {
	filter: sepia(1) hue-rotate(80deg);
	color: #666;
}
span.no, input.no {
	filter: sepia(1) hue-rotate(310deg);
	color: #666;
}

.yes > input[type="checkbox"] {
	height: 20px;
	width: 20px;
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	appearance: none;
	border: 2px solid #070;
	border-radius: 4px;
	outline: none;
	cursor: pointer;
	background-color: #f6f6f4;
}
.yes > input[type="checkbox"]:checked {
	background-color: #55bb66;
}
.no > input[type="checkbox"] {
	border-color: #b55;
}
.no > input[type="checkbox"]:checked {
	background-color: #dd6666;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border: 1px solid #999;
	border-radius: 3px;
	accent-color: #292;
	background-color: #f6f6f4;
	vertical-align: middle;
}
input[type="radio"] {
	border-radius: 50%;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
	background-color: #e8e8e4;
}
input.yes[type="checkbox"]:checked,
.yes > input[type="checkbox"]:checked {
	background-color: #55bb66;
}
input.no[type="checkbox"]:checked,
.no > input[type="checkbox"]:checked {
	background-color: #dd6666;
}
input[type="checkbox"]:checked {
	background-image:
		linear-gradient(45deg, transparent 45%, #222 45%, #222 58%, transparent 58%),
		linear-gradient(-45deg, transparent 42%, #222 42%, #222 55%, transparent 55%);
	background-position: 35% 58%, 65% 42%;
	background-size: 60% 60%;
	background-repeat: no-repeat;
}
input[type="radio"]:checked {
	background-image: radial-gradient(circle, #222 0 32%, transparent 35%);
}

body {
	background-color: #f6f6f4;
	color: #222;
	font-family: Arial, Helvetica, sans-serif;
	text-align: justify;
	font-size: 14px;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="image"]),
select,
textarea,
button {
	background-color: #fff;
	border: 1px solid #999;
	color: #222;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="image"]):hover,
select:hover,
textarea:hover,
button:hover {
	background-color: #f2f2f2;
}
a {
	text-decoration: none;
	color: inherit;
}
a:focus, a:active, a:hover
{
	color: #f88843;
}
th {
	border-bottom: 1px solid #000;
}
th a {
	color: #6f3512;
}
ul {
	margin-bottom: 0px;
	margin-top: 0px;
	padding-left: 15px;
}
table tr td {
	vertical-align: top;
}

img {
	vertical-align: text-bottom;
}

.night { /* TODO */
	-webkit-filter: invert(1);
	filter: invert(1);
}

.important td {
	background: #fcc;
}

.box {
	display: table;
	width: 100%;
}
.box .error {
	background: transparent url(error.png) no-repeat 5px 3px;
	background-size: 25px;
	border: 1px solid rgba(99,33,33,.3);
	color: #622;
	display: table-caption;
	padding: 7px 8px 7px 33px;
	margin: 15px;
}
.box .info {
	background: transparent url(info.png) no-repeat 5px 3px;
	background-size: 25px;
	border: 1px solid rgba(99,66,33,.3);
	color: #642;
	display: table-caption;
	padding: 7px 8px 7px 33px;
	margin: 15px;
}
.box .nonstretch {
	display: table-caption;
}

.error-text {
	color: #f00;
}

.small {
	font-size: 11px;
}

.smaller {
	font-size: 8px;
}

.nowrap {
	white-space: nowrap;
}

.alternate tr:nth-child(even) {
	background: #f2f2f2;
}
.alternate tr:nth-last-child(1) {
	background:none;
}

@font-face {
    font-family: HandleeRegular;
	src: url(../Handlee-Regular.ttf);
}
.postit {
	background: transparent url('postit.png') no-repeat scroll bottom right;
	padding: 10px 22px 46px 12px; /* T R B L */
	font-family: HandleeRegular;
	font-size: 16px;
	text-align: left;
	z-index: 10;
}
.guest-postit {
	color: initial;
}
.weapon-overlay {
	background-color: rgba(0,0,0,0.5);
}
.register-panel {
	border: 1px solid lightgray;
	border-radius: 5px;
}

div.border {
	border: 1px solid #ccc;
	padding: 3px;
}

div.bh {
	background: transparent url(border-top-left.png) no-repeat 0px 0px;
	display: block;
	margin: auto;
}
div.bh .c {
	background: transparent url(border-top-right.png) no-repeat top right;
	height: 27px;
	padding: 11px 30px 0px 30px;
	font-size: 15px;
	white-space: nowrap;
}
div.bc {
	background: transparent url(border-left.png) repeat-y 0px 0px;
	display: block;
	margin: auto;
}
div.bc .c {
	background: transparent url(border-right.png) repeat-y top right;
	padding: 1px 30px 1px 30px;
}
div.bf {
	background: transparent url(border-bottom-left.png) no-repeat bottom left;
	display: block;
	margin: auto;
}
div.bf .c {
	background: transparent url(border-bottom-right.png) no-repeat bottom right;
	height: 20px;
	padding: 0px 30px 11px 30px;
	font-size: 10px;
	font-weight: bold;
}

.rangetitle {
	font-size: 14px;
}

#menuWrapper {
	font-size: 21px;
	position: relative;
	display: inline-block;
}
#menuDropdown {
	display: none;
	position: absolute;
	top: -6;
	left: -11;
	z-index: 1000;
	background: #fff;
	border: 1px solid #999;
	padding: 5px 10px;
	white-space: nowrap;
	border-radius: 5px;
}

#outerheadline {
	vertical-align: center;
	display: inline-block;
	width: 95%;
	text-align: center;
}

.changelog {
	font-size: 14px;
}
.changelog th, .changelog td {
	padding: 5px;
}

.samedate {
	color: #e70;
}

.calendar td.today {
	border-width: 0 1px 0 1px;
	border-style: solid;
	border-color: #f4f;
	background-color: #fdf;
}
.calendar .now {
	filter: brightness(85%);
}
.stack {
	position: relative;
}
.stack .overlay {
	position: absolute;
	left: 0;
}

.alternate table tr td {
	vertical-align: top;
}

.entry span {
	padding-right: 1px;
	padding-left: 2px;
}
.entry.private {
	color: #3333ee;
}
.entry.invoice {
	color: #ee3333;
}
.entry.official {
	color: #00ab55; /* 120° (00AA00) -> 150° (00AB55) */
}
.entry.firstOfDay td, .entry.firstOfDay div {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #ccc;
}
.entry.firstOfToday td, .entry.firstAfterToday td, .entry.firstOfToday div, .entry.firstAfterToday div {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #f4f;
}
.entry.today td, div.listtable:has(.entry.today) {
	background-color: #ffd9ff;
}
.entry.today.active td, .entry.today.active div {
	background-color: #eae;
}
.entry .name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 200px;
	width: 200px;
}
.entry .maxusers {
	text-align: right;
	display: revert;
}
.entry .joined img {
	vertical-align: middle;
}
.entry .time .weekday {
	display: inline-block;
	text-align: left;
	width: 26px;
}
.highlight, .highlight div {
	background-color: #ccc;
}
.text {
	border-collapse: collapse;
	font-size: 14px;
}

.listtablecontainer {
	display: flex;
	flex-direction: column;
}
.listtable {
	display: grid;
	/* Definiere 3 Spalten, die sich flexibel anpassen */
	grid-template-columns: 10fr 177fr 200fr 140fr 21fr 18fr 25fr;
}
.listcol {
	display: contents; /* Damit die Zeilen die Grid-Struktur nicht stören */
}
.listrow {
	display: flex;
	padding: 1px;
}

div.filter {
	text-align: center;
	margin-bottom: 2px;
}

span.login {
	float: right;
}

.approvalhook {
	float: inline-end;
	position: relative;
	width: 0;
	height: 0;
}
.toprightapproval {
	position: absolute;
	right: 3px;
	top: 3px
}

table.joined {
	border-collapse: collapse;
}
table.joined td.yes {
	border-spacing: 4px;
	background-color: #cec;
}
table.joined td.no {
	border-spacing: 4px;
}
table.joined td.guest {
	font-weight: bold;
}
table .nonmodify {
	color: #d00;
}
div.justify p {
	text-align: justify;
}

div.joined.border {
	padding-bottom: 0;
}
