@import url(https://fonts.googleapis.com/css?family=UnifrakturCook:700);

@page {
	size: auto;
	margin: 0;
}

@media print {
	::-webkit-input-placeholder { /* WebKit browsers */
		color: transparent;
	}
	:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
		color: transparent;
	}
	::-moz-placeholder { /* Mozilla Firefox 19+ */
		color: transparent;
	}
	:-ms-input-placeholder { /* Internet Explorer 10+ */
		color: transparent;
	}

	/* Fix dark themes in FF */
	input[type=text] {
		color: black;
		background-color: white;
	}
}

body {
	font-family: Univers Light, "Univers 45 Light";
	width: 21cm;
	margin-left: 5cm;
	margin-top: 1.5cm;
	font-size: 9pt;
}

body > * {
	width: 18cm;
}

sup {
	font-size: 65%;
}

/* TITLE */

.title p {
	margin: 0;
}

.title p.left {
	font-weight: bold;
	float: left;
	font-size: 120%;
}

.title p.right {
	color: #FF0000;
	float: right;
	padding-right: 30px;
	font-size: 11pt;
}

/* SETTINGS */

#settings {
	border: 1px solid #000;
	background: #f3f3f3;
	position: absolute;
	left: 2mm;
	top: 2mm;
	width: 4cm;
	padding: 5px;
}

#settings h2 {
	margin: 0;
}

#settings input[type=button], #footnotesignlabel {
	width:90%;
	margin: 0 5%;
	border: 1px solid #000;
	display: block;
	text-align: center;
}

#settings input[type=button]:hover, #footnotesignlabel:hover {
	background: #fff;
}

#footnotesignlabel {
	margin-top: 0.2rem;
}

#addbookmark {
	text-align: center;
	margin-top: 10px;
}

@media print {
	#settings {
		display: none;
	}

	.github-corner {
		display: none;
	}
}

/* HEAD */

input[type=text], input[type=date] {
	border: none;
	margin-left: 2% !important;
	width: 95%;
	height: 9pt;
	max-width: 95%;
	/*
	font-family: Comic Sans, Comic Sans MS, cursive;
	font-weight: bold;
	*/
	/*-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	box-sizing: border-box;*/
	font-size: 8pt;
}

input[type=file] {
	display: none;
}

input#struktureinheit, input#laufzeit {
	padding-top: 10pt;
}

#head {
	border: 1px solid black;
	border-spacing: 0;
	clear: both;
	/*border-collapse: collapse;*/
	width: 18cm;
	height: 4.6cm;
}
#fuckinggray {
	background-color: #f3f3f3;
	height: 6px;
}

/*#head tr * {
	border: 0 !important;
}*/

#head th {
	background: #f3f3f3;
	border: none;
	font-weight: normal;
	text-align: left;
	/*
	padding: 2px;
	padding-top: 4pt;
	*/
	position: relative;
}

#head td {
	padding: 0;
	border: .75px solid black;
}

#head th label {
	position: absolute;
	bottom: 0;
}

#head0 {
	width: 18%;
}

#head1 {
	width: 30%;
}

#head2 {
	width: 12%;
}

#head3, #head4 {
	width: 17%;
}

.notop {
	border-top: 0 !important;
}

.nobottom {
	border-bottom: 0 !important;
}

.noright {
	border-right: 0 !important;
}

.extratop {
	border-top: .75px solid black !important;
}

.extrabottom {
	border-bottom: .75px solid black !important;
}

.extraleft {
	border-left: .75px solid black !important;
}

#monatlabel {
	padding-left: 55pt;
}

/* KALENDER */

#kalender {
	border: 2px solid black;
	clear: both;
	border-collapse: collapse;
	width: 18cm;
	margin-bottom: 20px;
}

#kalender td, #kalender th {
	border: 1px solid black;
	font-weight: normal;
	text-align: left;
	vertical-align: bottom;
}

#kalender td {
	height: 6mm;
}

#kalender .kopf td, #kalender .kopf th {
	height: 18.2mm;
}

#kalender tr:first-child th {
	vertical-align: middle;
	text-align: center;
	padding-bottom: 8pt;
}

#kalender th {
	background-color: #f3f3f3;
}

#kalendertag {
	width: 8.5%;
}

#kommen, #gehen {
	width: 10.5%;
}

#stunden {
	width: 21.6%;
}

#gesamtzahl th {
	font-weight: bold;
}

/* UNTERSCHRIFT */

#unterschrift {
	margin-top: 20pt;
	border: 0;
	border-collapse: collapse;
}

#unterschrift td {
	width: 51.1%;
	height: 14pt;
}

#unterschrift tr:first-child td {
	border-bottom: 1px solid black;
}

#unterschrift tr:first-child td:first-child {
	border-right: 1px solid black;
}

/* FOOTER */

.footer {
	margin-top: 15px;
	background-color: #eee;
	font-size: 6pt;
	padding-bottom: 3px;
}

.footer p {
	margin: 0;
	margin-top: 4pt;
}

.nosup {
	padding-left: 5px;
}

.hastooltip:hover .tooltip {
    display: block;
}

.tooltip {
    display: none;
    background: #C8C8C8;
    margin-left: 28px;
    padding: 10px;
    position: absolute;
    z-index: 1000;
    width:200px;
}

#unterschriftzelle {
	position: relative;
}

#unterschriftzelle span {
	position: absolute;
	bottom: 0;
}

#unterschriftzelle img {
	position: absolute;
	right: 0.5cm;
	bottom: 0;
	max-width: 5cm;
	max-height: 1cm;
}
