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;
}

</*span class="yes"><input type="checkbox"/></span*/>
.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;
}
.yes > input[type="checkbox"]:checked {
	background-color: #292;
}

body {
	background-color: #f6f6f4;
	font-family: Arial, Helvetica, sans-serif;
	text-align: justify;
	font-size: 14px;
}
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;
}

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

div.bh {
	background: transparent url(images/lo.png) no-repeat 0px 0px;
	display: block;
	margin: auto;
}
div.bh .c {
	background: transparent url(images/ro.png) no-repeat top right;
	height: 20px;
	padding: 11px 30px 0px 30px;
	font-size: 10px;
	font-weight: bold;
}
div.bc {
	background: transparent url(images/l.png) repeat-y 0px 0px;
	display: block;
	margin: auto;
}
div.bc .c {
	background: transparent url(images/r.png) repeat-y top right;
	padding: 1px 30px 1px 30px;
}
div.bf {
	background: transparent url(images/lu.png) no-repeat bottom left;
	display: block;
	margin: auto;
}
div.bf .c {
	background: transparent url(images/ru.png) no-repeat bottom right;
	height: 20px;
	padding: 0px 30px 11px 30px;
	font-size: 10px;
	font-weight: bold;
}

.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 {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #ccc;
}
.entry.firstOfToday td, .entry.firstAfterToday td {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #f4f;
}
.entry.today td {
	background-color: #ffd9ff;
}
.entry.today.active td {
	background-color: #eae;
}
.entry .name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 200px;
	width: 200px;
}
.entry .maxusers {
	text-align: right;	
}
.entry .joined img {
	vertical-align: middle;
}
.entry .time .weekday {
	display: inline-block;
	width: 26px;
}
.highlight {
	background-color: #ccc !important;
	border-left: 1px solid #f4f;
}
.text {
	border-collapse: collapse;
	font-size: 14px;
}

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;
}
