
:root {
--textColor: #000080;
--squareColor: #0066CC;
--menuBackgroundColor: #e4e4e5;
--boxBackgroundColor: rgb(200, 200, 200);
}

html, body {
	color: var(--textColor);
	margin:0px;
	height:100%;
	width:100%;
}

body {
	font-family: "Arial";
	font-size: 12px;
}

a:focus, a:active, a:link, a:visited {
    color: var(--textColor);
    text-decoration:none;
}

a:focus img, a:active img, a:link img, a:visited img {
    border:0px solid;
}

a:hover {
    color:#0066CC; /* dunkleres Blau */
    text-decoration:underline;
}

/* @group Formulare */

input, textarea, select {
	background: #f1f1f1;
	border: 1px solid #a9a9a9;
	cursor: pointer;
}

input:hover, textarea:hover, select:hover {
	background: #f1f1f1;
	border: 1px solid #424242;
}

input:focus, textarea:focus, select:focus {
	background: #ffffff;
	border: 1px solid #424242;
}

input.submit, input.cancel, input.print, input.delete, input.reset {
	border: 1px outset;
	padding-left: 23px;
}

input.submit:hover, input.cancel:hover, input.print:hover, input.delete:hover, input.reset:hover {
	border: 1px outset;
}

input.submit:active, input.cancel:active, input.print:active, input.delete:active, input.active {
	border: 1px inset;
}

input.submit {
	background: #f1f1f1 url(res/pics/checked.ico) no-repeat 1px;
}

input.cancel {
	background: #f1f1f1 url(res/pics/cancel.ico) no-repeat 1px;
}

input.print {
	background: #f1f1f1 url(res/pics/pdf.png) no-repeat 1px;
}

input.delete {
	background: #f1f1f1 url(res/pics/delete.png) no-repeat 1px;
}

input.reset {
	background: #f1f1f1 url(res/pics/reset.ico) no-repeat 1px;
}

span.timepicker {
    background: url(res/pics/clock.ico) no-repeat 1px;
    cursor: pointer;
    padding-left: 15px;
}

/* @end */

h2 {
	font-size: 1.2em;
	margin-top: 0px;
}

h3 {
    border-bottom:solid 1px;
    font-style: italic;
    font-weight: normal;
    font-size: 1.4em;
}

table.main {
	border-spacing: 0px;
	padding:0px;
	border: none;
	height:100%;
	width:100%;
}

table.main tr {
	vertical-align:top;
}

td.menu {
	position: fixed;
	top: 0px;
	width: 200px;
	height: 100%;
	border-right: solid 2px;
	background: var(--menuBackgroundColor);
	float: left;
    -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    -moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);	
}

td.content {
	height:100%;
	width: 100%;
	padding:5px;
	min-height: 400px;
	overflow:auto;
	padding-left: 210px;
}

.error {
    background-color:white;
    border:solid 1px red;
    color:red;
}

/* @group Menü */

div.menu_titel {
	font-weight: bold;
	padding-top:5px;
	padding-bottom:5px;
	border:solid 2px;
	text-align:center;
	margin:5px;
	background:white;
    -webkit-border-radius: 5px 5px 5px 5px;
    -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    -moz-border-radius: 5px 5px 5px 5px;
    -moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

ul.menu_projekte {
	height: 215px;
	overflow: auto;
	margin-bottom: 0px;
	margin-top: 0px;
	padding-top: 10px;
}

ul.menu_projekte + hr {
	margin-top: 0px;
}

div.menu_liste li {
	margin-bottom:10px;
}

li.menu {
	list-style-type: none;
	position: relative;
	/* It's needed for setting position to absolute in the next rule. */
}

li.menu::before {
	font-family: Arial;
	content: '■';
	position: absolute;
	left: -0.8em;
	top: -0.3em;
	font-size: 1.5em;
	color: var(--squareColor);
}

li.user {
	list-style-image: url(res/pics/user1.ico);
}

li.mailbox {
	list-style-image: url(res/pics/mailbox.ico);	
}

li.logout {
	list-style-image: url(res/pics/logout.ico);	
}

li.copyright {
	list-style-image: url(res/pics/copyright.ico);
}

div.menu_opt_el {
	border-right:solid 1px;
	padding-left:10px;
	padding-right:10px;
}

div.menu_opt_el:HOVER {
	background-color:#ffffff;
}

div#neue_baustelle {
	visibility: hidden;
	position:absolute;
	top:150px;
	left:300px;
	background-color: rgba(100,100,100,0.90);
	border:solid 3px var(--textColor);
	color:#ffffff;
	padding:15px;
	padding-top:0px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    -moz-border-radius: 10px 10px 10px 10px;
    -moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

/* @end */


/* @group Module */
div.modul {
	background-color: var(--boxBackgroundColor);
	text-align:center;
	border:solid 2px var(--textColor);
	color:#000000;
	padding:15px;
	padding-top:0px;
	text-align:left;
	margin-bottom:10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    -moz-border-radius: 10px 10px 10px 10px;
    -moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

div.modul table {
	border-spacing: 0px;
	padding: 0px;
}

div.modul td, div.modul th {
	padding:2px;
}

/* @end */

/* @group MODUL Vorgänge */
table.vorgang {
	border:solid 1px var(--textColor);
	background:#E5E4E5;
}

table.vorgang th {
	padding:5px;
	background-color: rgb(128, 128, 128);
	color:#ffffff;
	border:solid 1px var(--textColor);
}

table.vorgang td {
	padding-top:8px;
	padding-right:5px;
	padding-bottom:8px;
	padding-left:5px;
}

table.vorgang tr:hover {
	background-color: #b2b1b2;
}

table.vorgang .tr_0 {
	background-color: #FFFFFF;
}

table.vorgang td.datum {
	text-align: center;
}
table.vorgang td.zeit {
	text-align: right;
}

table.vorgang_optionen {
	border:solid 1px var(--textColor);
	border-top:0px;
}

table.vorgang_optionen th {
	font-weight:normal;
	padding:5px;
	background-color: rgb(128, 128, 128);
	color:#ffffff;
	border:0px;
}

input.btnFirst, input.btnPrevious, input.btnNext, input.btnLast {
	border: none;
}

input.btnFirst:active, input.btnPrevious:active, input.btnNext:active, input.btnLast:active {
	position: relative;
	top: 1px;
}

input.btnFirst {
	background:url(res/pics/arrow_first.png) no-repeat center center;
}

input.btnPrevious {
	background:url(res/pics/arrow_previous.png) no-repeat center center;
}

input.btnNext {
	background:url(res/pics/arrow_next.png) no-repeat center center;
}

input.btnLast {
	background:url(res/pics/arrow_last.png) no-repeat center center;
}
/* @end */

/* @group MODUL Eingabe Vorgänge */

table.eingabe {
	border: 0px solid;
	border-spacing: 0px;
	padding: 0px;
}

table.eingabe td, table.eingabe th {
	vertical-align: middle;
}

table.eingabe input, table.eingabe select, table.eingabe textarea, select.cmbProjekt {
    font-size: 1.2em;
}

table.eingabe .ui-datepicker-trigger {
    position: relative;
    top: 3px;
    left: 2px;
}

table.eingabe #btnBeginn, table.eingabe #btnEnde {
    position: relative;
    top: -1px;
    left: -1px;
}

table.vorgaenge {
	width: 100%;
}

table.vorgaenge th {
	border-bottom: 1px dotted #000000;
}

table.vorgaenge td {
	vertical-align: top;
}

#div_neuer_vorgang_datum {
	display: none;
}

/* @end */

/* @group MODUL Abrechnung / Vorgangsliste / Stundenzettel */

table.stundenzettel th, table.vorgangsliste th, table.abrechnung th {
	border-top: 1px dotted #000000;
	font-style: italic;
	font-weight: normal;
}

table.stundenzettel td, table.vorgangsliste td, table.abrechnung td {
	text-align: center;
}

/* @end */

/* @group MODUL Baustellenübersicht */

div.boxBaust {
	position: relative;
	width: 200px;
    border:solid 1px;
    float:left;
    margin:20px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    -moz-border-radius: 10px 10px 10px 10px;
    -moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

div.boxBaust h4 {
	margin-top: 15px;
	margin-bottom: 0px;
	padding-bottom: 15px;
	border-bottom:1px solid;
	white-space: nowrap;
	overflow: hidden;
}
div.boxBaust p {	
    text-align: left;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 20px;
}

div.boxBaust:hover {
	background-color: #6c99e6;
}

div.boxBaust table.opt {
	position: absolute;
	bottom: 0px;
	width: 100%;
	border: 0px;
	border-spacing: 0px;
	padding: 0px;
}

div.boxBaust table.opt td {
	border-top:1px solid;
	border-right:1px solid;
	white-space: nowrap;
	padding-top: 2px;
	padding-bottom: 2px;
	text-align: center;
	vertical-align: middle;
}

div.boxBaust table.opt td.puffer {
	border-top:1px solid;
	border-right:0px;
}

/* @end */

/* @group MODUL Baustellen abschließen */

input.baust_activate {
	border: 1px outset;
	padding-left: 20px;
	background: #f1f1f1 url(res/pics/baust_activate.ico) no-repeat 1px;
}

input.baust_finalise {
	border: 1px outset;
	padding-left: 20px;
	background: #f1f1f1 url(res/pics/baust_finalise.ico) no-repeat 1px;
}

input.baust_activate:hover, input.baust_finalise:hover {
	border: 1px outset;
}

input.baust_activate:active, input.baust_finalise:active {
	border: 1px inset;
}

/* @end */

/* @group MODUL Statistik */
table.statistik {
	float: left;
	margin-right: 20px;
}

table.statistik th {
	border-top: 1px dotted #000000;
	font-style: italic;
	font-weight: normal;
	text-align: center;
}

table.statistik td {
	text-align: center;
	font-size: 1.5em;
}

/* @end */

/* @group MODUL Administration */
table.privileges {
	margin-right: 20px;
	border-collapse: collapse;
}

table.privileges th {
	font-style: italic;
	font-weight: normal;
	text-align: center;
}

table.privileges td {
	padding: 5px;
}

table.privileges tr.modul {
	border-top: dashed 1px #e4e4e5;
}

table.privileges td.modul_id {
	font-size: 0.8em;
	background: url(res/pics/modul.ico) no-repeat 2px 2px;
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 25px;
}

table.privileges td.modul_name {
	font-size: 1.2em;
	padding-right: 25px;
}

/* @end */

/* @group MODUL Userinformationen */

table.user {
	width: 350px;
	white-space: nowrap;
	font-size: 14px;
	margin-bottom: 10px;
	border-bottom: 1px dashed #000000;
}

table.user th {
	width: 150px;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
	font-weight: normal;
}

table.user td {
	width: 200px;	
	vertical-align: middle;
}


/* @end */

/*********
 * Login *
 *********/

div.login {
	display: inline-block;
	background-color: var(--menuBackgroundColor);
	padding: 10px;
	border: solid 1px;
	text-align: center;
	margin: 15px;
	-webkit-border-radius: 10px 10px 10px 10px;
	-webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
	-moz-border-radius: 10px 10px 10px 10px;
	-moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

div.login h3 {
	margin-top: 0px;
}

div.login input.text {
	color: grey;
	font-style: italic;
}

div.login input.active {
	color: black;
	font-style: normal;
}

div.login hr {
	border-top: 1px solid;
}
