body {
    background: none no-repeat scroll 0 0 #F0F0F0;;
    color: black;
    font-family: Arial,Verdana,Sans-Serif;
    font-size: 12px;
    margin: 0;
    padding-left: 20px;
	padding-top: 20px;
}

div#wrapper{
    background-image: url("http://shop.heavensgategarage.de/out/cfe/img/pdf_logo.jpg");
    background-position: 470px 0;
    background-repeat: no-repeat;
	height: 200px;
}


div.termin tr{
/*		background:#eee;*/
		background:#e6f3f6;
}
div.termin tr.line td{
		border-top:2px solid #3f48cc;
}
div.termin tr.line td td{
		border-top:0;
}
div.termin tr.green,div.termin tr.green tr{
		background:#e5f7ed;
}
div.termin tr.blue, div.termin tr.blue tr{
		background:#e6f3f6;
}
div.termin tr.white, div.termin tr.white tr{
		background:white;
}

div.termin tr.hover:nth-child(2n){
		background:#e5f7ed;
}
div.termin tr.hover:hover{
		background:white;
		cursor:pointer;
}

div.termin tr b{
/*	color:#3f48cc;*/
}
div.termin tr.headline{
	background:#e7e8f8;
}
table.weiss{
	border-width:2px 2px 0px 2px;
	border-style:solid;
	border-color:	#3f48cc;
}

table.weiss tr.b_line td{
	border-bottom:2px solid #3f48cc;
}

table.info td{
	border: 1px solid #ddd;
	padding: 2px 5px;
}
div.termin td,div.termin th{
    font-size: 12px;
		vertical-align: top;
/*		background:#eee;*/
		padding:5px;
}
div.termin tr.op td{
		padding:0px 5px;;
}

div.termin td textarea,input,select{
    font-size: 12px;
		font-family: Arial;
}

input[type=text], input[type=email]{
	width:190px;
}
input.kurz{
	width:50px;
}
input.ort{
	width:131px;
}
input.lang{
	width:100%;
}
input.attribute, textarea.attribute{
	width:100%;
}
.passivTab{
	background:#fff;
	padding:5px 10px;
	color: #184690;
	border:1px solid black;
	
}

.activTab{
	background:#eee;
	padding:5px 10px;
	color: #333;
	border:1px solid black;
	font-weight: bold;
	border: 2px solid #3f48cc;
}

select, textarea, input{
/*    background-color: #FFFFFF;*/
    margin: 0;
}
textarea {width: 98%;font-family: Arial,Verdana,sans-serif;font-size: 12px;}

table.tableTodo td{
	padding:0;
}
.rand {
	border: 2px solid #3f48cc;
	-moz-transform-origin: 0 0;	
}

td#mitte span#termindatum  {
    color: #184690;
    margin-top: 10px;
    text-decoration: none;
}
td#mitte p#termin2 {
    color: #AF1023;
    text-decoration: none;
		font-size: 14px;
		padding-bottom:5px;
}


a {
    background-color: rgba(0, 0, 0, 0);
    color: #212424;
    text-decoration: none;
	font-size: 12px;
}

div.box {
    background: linear-gradient(#FFFFFF 0%, #E4E4E4 100%);
    height: 150px;
    left: 50%;
    margin-left: -190px;
    margin-top: -127px;
    padding: 20px;
    position: absolute;
    top: 50%;
    width: 330px;
	border: 1px solid #780000;
}

form {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
}

img.logo {
    margin: 0 0 0 30px;
    padding: 0 0 20px 0;
	width: 250px;
}


label {
    clear: both;
    float: left;
    margin-top: 2px;
    padding: 2px 0;
    width: 100px;
}


div.box input {
    margin-bottom: 2px;
    width: 220px;
}

input.btn {
    margin-left: 100px;
    width: 220px;
}

table.schmal td{
	padding: 0 5px;
}
table.schmal td.rechts{
	text-align: right;
}
div.artikelList { 
	background-color: white;
	min-height: 20px;
	width:400px; 
	border: 1px solid #ddd;
}
textarea.artikelList { 
	resize: none; 
	width: 290px; 
	height: 18px;
	overflow-y: hidden;
	padding: 0 5px;
	line-height:16px;
} 

.rechnung{
	background-image: url("Briefpapier_Heye_weiss.png");
	background-size: 100% auto;
/*	background-position: 0 -10mm;*/
/*	width: 18.2cm;*/
	width: 516.0193pt;
/*	min-height: 28.7cm;*/
	font-size:9pt;
	border: 1px solid black;
	padding: 60mm 7mm 0 10mm;
/*	height: 22.8cm;*/
/*	height: 646.4433pt;*/
	height: 727px;
}

@media print {
	.rechnung{
/*		height: 28.7cm;*/
		overflow: hidden;
		border: none;
	}
	body {padding: 0;}
}
.rechnung .anschrift{
/*	padding-top: 60mm;*/
}
.rechnung .ortdatum{
	margin-top: 15mm;
	text-align:right;
}
.rechnung table.artikel{
	margin-top:8mm;
}
.rechnung table.artikel th{
	font-size: 6pt;
	font-weight: normal;
	border-bottom: 1px solid black;
}
.rechnung table.artikel td{
	vertical-align:top;
}
.rechnung table.artikel th:nth-child(1){width:7mm;}
.rechnung table.artikel th:nth-child(2){width:7mm;}
.rechnung table.artikel th:nth-child(3){width:7mm;}
.rechnung table.artikel th:nth-child(4){width:30mm;}
.rechnung table.artikel th:nth-child(5){width:65mm;}
.rechnung table.artikel th:nth-child(6){width:20mm;text-align:middle;}
.rechnung table.artikel th:nth-child(7){width:20mm;text-align:middle;}

.rechnung table.artikel td:nth-child(6){text-align:right;}
.rechnung table.artikel td:nth-child(7){text-align:right;}

.rechnung table.artikel tr.summeHeader td{
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    font-size: 7pt;
    line-height: 6pt;
    padding: 2pt 5px;
}
@media print {
    .dontprint {
        display: none;
    }
	body{
		padding:0;
	}
}
