/*
 * Medium: SCREEN
 * W3C konform / CSS 1.0 Validiert 
 * IE 5+/ FF 1.5 / Opera 7+/ Safari 2
 * Autor: René Fritsch - 
 * Internet: www.fritsch-it-service.de
 * Datum: 29.09.2010
 */


/* LAYOUT - STRUKTUR */

/* Alle Werte auf 0 setzen - Browserreset */

* {
	margin:0;
	padding:0;
	text-decoration:none;
	list-style:none;
}

img{ border:0px;}

html{
	overflow:scroll;
	height:100%;
	margin:0px;
	min-width:1000px;
}

body{
	background-color:#FFFFFF;
	font:0.8em Verdana, Tahoma, Arial;
	color:#444444;
	line-height:1.4em;
	height:100%;
	margin:0px;
}



#header{
	margin:0 auto;
	width:100%;
	height:102px;
	color:#BBBBBB;
	background-image:url(../img/layout/header-bg.jpg);
	background-repeat:repeat-x;
}

div.menu img{vertical-align:middle;}

div.menu{
	float:right;
	top:3px;
	position:absolute;
	right:1%;
	font:0.85em arial, verdana, tahoma;
}

#header div.logo{
	float:left;
	padding:0px 0px 0px 15px;
	font-size:1.2em;
	color:#FFFFFF;
	font-weight:bold;
}
#header div.logo a{
	color:#FFFFFF;
}
#header div.logo img {vertical-align:middle;}

#footer{
	position:fixed;
	height:25px;
	bottom:0px;
	background-color:#444444;
	width:100%;
}

#menu{
	width:100%;
	float:left;
	margin-top:-4px;
}

#container{
	padding:3px;
	background-color:#F5F5F5;
	width:98%;
	margin:0 auto;
	text-align:left;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border:1px solid #BBBBBB;
	margin-top:10px;
}

#flashMessage{
	padding:5px;
	padding-left:30px;
	margin:15px;
	font-weight:bold;
}

/** Notices and Errors **/
div.message {
	clear: both;
	color:#999900;
	font-size: 100%;
	font-weight: bold;
	margin: 0 0 1em 0;
	background: #FFFFD0;
	border:1px solid #999900;
	padding: 5px;
	padding-left:40px;
	background-image:url(../img/icons/error.png);
	background-position:10px center;
	background-repeat:no-repeat;
}

div.error {
	clear: both;
	color:#990000;
	font-size: 100%;
	font-weight: bold;
	margin: 0 0 1em 0;
	background: #FFD0D0;
	border:1px solid #990000;
	padding: 5px;
	padding-left:40px;
	background-image:url(../img/icons/exclamation.png);
	background-position:10px center;
	background-repeat:no-repeat;
}

div.error-message {
	clear: both;	
	color:#990000;
	border:1px solid #BB0000;
	font-weight: bold;
	background: #FFD0D0;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
div.notice {
	background-color:#D0D0FF;
	color:#000099;
	display: block;
	font-size: 100%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
	border:1px solid #000099;
	background-image:url(../img/icons/information.png);
	background-position:10px center ;
	background-repeat:no-repeat;
	padding-left:40px;
}

div.success {
	background-color:#D0FFD0;
	color:#009900;
	display: block;
	font-size: 100%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
	border:1px solid #009900;
	background-image:url(../img/icons/accept.png);
	background-position:10px center ;
	background-repeat:no-repeat;
	padding-left:40px;
}



/** containers **/
div.form,
div.index,
div.view {
	float:left;
	width:98%;
	padding:7px 1%;
}

div.actions li{background-repeat:no-repeat;background-position:center 17px; vertical-align:bottom;line-height:1.0em;margin:0px;}
div.actions li.new{background-image:url(../img/add.png);}
div.actions li.edit{background-image:url(../img/edit.png);}
div.actions li.delete{background-image:url(../img/delete.png);}
div.actions li.overview{background-image:url(../img/overview.png);}
div.actions li.order{background-image:url(../img/order.png);}
div.actions li.invoice{background-image:url(../img/invoice.png);}
div.actions li.inbox{background-image:url(../img/inbox_small.png);}
div.actions li.outbox{background-image:url(../img/outbox_small.png);}
div.actions li.pdf{background-image:url(../img/pdf_small.png);}
div.actions li.folder_new{background-image:url(../img/folder_new_small.png);}
div.actions li.upload{background-image:url(../img/upload_small.png);}
div.actions li.print{background-image:url(../img/print.png);}
div.actions ul li a{font-size:0.85em;display:block;height:43px;vertical-align:bottom;color:#0000FF; padding:0px 10px 5px 10px;border:1px solid #F5F5F5;}
div.actions ul li a:hover{border-left:1px solid #DDDDDD;border-top:1px solid #DDDDDD;border-bottom:1px solid #BBBBBB;border-right:1px solid #BBBBBB; text-decoration:none;}

div.actions {
	float:right;
	width:100%;
	padding:5px 0px 5px 0px;
	border-bottom:1px dotted #999999;
	margin-bottom:15px;	

}


div.fixed {
	width:100%;	
	background:#FFFF99;
	position: fixed;
	top: 0;
	opacity:0.8;
	filter:alpha(opacity=80);
	left:0px;
}

div.actions h3 {
	padding-top:0;
	color:#777;
	float:right;
}


/** Tables **/
table {
	background: #fff;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
th {
	border:0;
	border-bottom:2px solid #555;
	text-align: left;
	padding:1px;
}
th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a.asc:after {
	content: url(../img/icons/arrow_down.png);
}
th a.desc:after {
	content: url(../img/icons/arrow_up.png);
}



table tr td {
	background: #fff;
	padding: 2px;
	text-align: left;
	vertical-align: top;
	border-bottom:1px solid #ddd;
}
table tr:nth-child(2n) td {
	background: #f5f5f5;
}
table .altrow td {
	background: #f5f5f5;
}
td.actions {
	text-align: center;
	white-space: nowrap;
	width:100px;
}
th.actions {
	text-align: center;
	white-space: nowrap;
	width:65px;
}
actions button{
	margin: 15px;
}

table td.actions a, table th.actions button {
	margin: 0px 4px;
	padding:3px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
	color:#fff;
}

/** Paging **/
div.paging {
	color: #ccc;
	margin-top: 1em;
	clear:both;
}
div.paging span.disabled {
	color: #ddd;
	display: inline;
}
div.paging span.current {
	color: #c73e14;
}
div.paging span a {
}

/** Scaffold View **/
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 100%;
	float:left;
	background: #F4F4F4;
}
dl .altrow {
	background: #E8E8E8;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 25em;
	margin-top: -2em;
	vertical-align: top;
}

/** Forms **/
form {
	clear: both;
	margin-right: 10px;
	padding: 0;
	width: 100%;
}

.formular{
	border:1px solid #FDA500;
	background-color:#FFF1d7;
}

form div {
	clear: both;
	vertical-align: text-top;
	margin:3px;
	padding:.5em;
}
form .input {
	color: #444;
	background-color:#FFE8BB;
}

form .required {
	font-weight: normal;
}
form .required label:after {
	color: #e32;
	content: '*';
	display:inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
}



label {
	display: block;
	font-size: 100%;
	margin-top:3px;
	width:30%;
	float:left;
}
input, textarea {
	font-size: 100%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 0.3%;
	width:65%;	
}

input.anzahl{
	width:30px;
	text-align:center;
	display:none;
}

select {
	clear: both;
	font-size: 100%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 100%;
	padding: 0 3px;
}
input[type=checkbox] {
	margin: 0px 6px 7px 2px;
	width: auto;
}
div.checkbox label {
	display: inline;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}

a.submit{
	padding:3px;
	border:1px solid #999999;
	font-family: "Arial", "lucida grande", "verdana", sans-serif;
}
a.submit, input[type=submit] {
	display: inline;
	font-size: 100%;
	width: auto;
}
a.submit, form .submit input[type=submit], form input[type=submit]{
	background:#CCCCCC;
	background: -webkit-gradient(linear, left top, left bottom, from(#EEEEEE), to(#CCCCCC));
	background-image: -moz-linear-gradient(top, #EEEEEE, #CCCCCC);
	border-color: #999999;
	color: #444444;
	text-shadow: #FFFFFF 0px 1px 0px;
}
a.submit:hover, form .submit input[type=submit]:hover, form input[type=submit]:hover {
	background:#AAAAAA;
	background: -webkit-gradient(linear, left top, left bottom, from(#CCCCCC), to(#AAAAAA));
	background-image: -moz-linear-gradient(top, #CCCCCC, #AAAAAA);
}



/*Headings Table*/
.index .headings{background:url(../img/layout/sort_row_bg.gif) 0 50% repeat-x;}
.index .headings th { border-width:1px; border-color:#f9f9f9 #d1cfcf #f9f9f9 #f9f9f9; border-style:solid; padding-top:1px; padding-bottom:0; font-size:.9em; }
.index .headings th a { display:block; padding:2px 4px 1px 0; color:#2d444f; text-decoration:none; }
.index .headings th a:hover { color:#d85909; text-decoration:none; }
.index table { width:100%; border:1px solid #cbd3d4; border-bottom:none; }
.index tr.on-mouse{ background:#fcf5dd; cursor:pointer; } /* Rows mouse-over */
.index table td                  { border-width:0 1px 1px 0; border-color:#dadfe0; border-style:solid; }
	

/**  Actions  **/
div.actions ul {
	margin: 0;
	padding: 0;
	float:right;
}
div.actions li {
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
	float:left;
}



div.actions h2{
	color:#777777;
	font-size:1.3em;
	width:30%;
	float:left;
}
div.actions h2 img{vertical-align:middle;}


button,
input[type=submit]{ border-width:1px; border-style:solid; border-color:#ed6502 #a04300 #a04300 #ed6502; padding:3px; margin:3px; background:#ffac47 url(../img/layout/btn_bg.gif) repeat-x 0 100%; color:#fff; font:bold 12px arial, helvetica, sans-serif; cursor:pointer; text-align:center !important; white-space:nowrap;  text-decoration:none; }

button,
input[type=submit]:hover{ background:#f77c16 url(../img/layout/btn_over_bg.gif) repeat-x 0 0; text-decoration:none; }


input[type=submit]:active{ background:#f77c16 url(../img/layout/btn_on_bg.gif) repeat-x 0 0; text-decoration:none; }

td.actions span { padding-left:20px; background-image:url(../img/layout/icon_btn_add.gif); background-repeat:no-repeat;}

 /* jQuery UI Tabs 1.8.6
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Tabs#theming
 */
.ui-tabs .ui-tabs-hide { display: none !important; }
#tabs .submenu li{float:left; width:100px; height:30px; background-color:#FFF1D7; border:1px solid #FDA500; margin-left:3px;margin-bottom:-1px;}
#tabs .submenu ul{width:500px;clear:both;}
#tabs .submenu ul li a{display:block; text-align:center;margin-top:5px;color:#888888;}
#tabs .submenu li:hover,#tabs .submenu ul li a:hover{background-color:#FFF8FB;color:#555555;}

.overview tr.today td, .overview .today{border:1px dashed #FF0000;}
.overview .past{filter:alpha(opacity=50); /* IE */opacity:0.5; /* allgemein */-moz-opacity:0.5; /* Mozilla */-khtml-opacity:0.5; /* KTHML */-opera-opacity:0.5; /* Opera */}

.overview td, .overview th{background-color:#EEEEEE;}
.overview tr.sunday td, .overview .sunday {background-color:#FFDDDD;}
.overview tr.saturday td, .overview .saturday {background-color:#DDDDFF;}
.overview table tr td th{padding:3px;}

.year{padding:0px;font-size:0.8em;}



.shift_less{color:#D3201C; font-size:11px;font-weight:bold;}
.shift_overfill{color:#000099; font-size:11px;font-weight:bold;}
.shift_ok{color:#188D09; font-size:11px;font-weight:bold;}

div.shift_less, .overview tr.shift_less td  {border:1px solid #D3201C; background-color:#FEDCDB; padding:3px;font-weight:normal;}
div.shift_overfill, .overview tr.shift_overfill td{border:1px solid #000099; background-color:#DCDBFE; padding:3px;font-weight:normal;}
div.shift_ok{border:1px solid #188D09; background-color:#D4F9CF; padding:3px;font-weight:normal;}

#view_choice label{width:100px;}
#view_choice table{width:100%;}

#loading {
	width:100%;
	text-align:center;
}
.service .empty{border:1px dashed #CCCCCC;}
.service .shift_less  {border:1px dashed #D3201C; background-color:#FEDCDB; padding:3px;font-weight:normal;}
.service .shift_overfill{border:1px dashed #000099; background-color:#DCDBFE; padding:3px;font-weight:normal;}
.service .shift_ok{border:1px dashed #188D09; background-color:#D4F9CF; padding:3px;font-weight:normal;}
.service th{font-size:0.8em;}
.service label{width:80%;float:right;}

.search_result a { color: #000000; }
.search_result a:hover { color: #FF0000; }
.search_result p { font-size: 1.3em; }
.search_result div { display: inline; font-size: 1.3em;}
.search_result input { padding: 4px; }
.search_result li { margin: 5px;  font-size: 1.4em; }
.search_result li :hover{ background-color:#D5E2FF; }
.search_result ul { border:1px solid #666666; }
.search_result div.auto_complete { display: block; }

.error {	
	color:#990000;
	border:1px solid #BB0000;
	font-weight: bold;
	background: #FFD0D0;
}

.success{
	background-color:#D0FFD0;
	color:#009900;
	border:1px solid #009900;
	font-weight: bold;
}

.default{
	background-color:#F4F4F4;
	color:#777777;
	border:1px solid #777777;
	font-weight: bold;
}

#lightbox_on {
 background:#000000;
 opacity:0.9;
 filter:alpha(opacity=90);
 position:absolute;
 top:0px;
 left:0px;
 min-width:100%;
 min-height:100%;
 z-index:1000;
}
/* Lightbox panel with some content */
#lightbox-panel_on {
 position:fixed;
 top:100px;
 left:50%;
 margin-left:-300px;
 width:600px;
 background:#FFFFFF;
 padding:10px 15px 10px 15px;
 border:2px solid #CCCCCC;
 z-index:1001;
 }
 
.password_strength {
	padding: 5px;
	display: inline-block;
}
.password_strength_1 {
	background-color: #fcb6b1;
	color:#CF3226;
	border:1px solid #CF3226;
}
.password_strength_2 {
	background-color: #fccab1;
	color:#DF5B1B;
	border:1px solid #DF5B1B;
}
.password_strength_3 {
	background-color: #fcfbb1;	
	color:#CECA1B;
	border:1px solid #CECA1B;
}
.password_strength_4 {
	background-color: #dafcb1;
	color:#7CCF19;
	border:1px solid #7CCF19;
}
.password_strength_5 {
	background-color: #bcfcb1;
	color:#30BF17;
	border:1px solid #30BF17;
}

.login{
	width:250px;
	padding:3px;
	background-color:#E7E7E7;
	text-align:left;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border:1px solid #BBBBBB;
	position:fixed;
	top:170px;
	left:50%;
	margin-left:-125px;
}
.login input[type=text],.login input[type=password]{
	width:100%;
}
div.logged_in {
	background-color:#D0FFD0;
	color:#009900;
	display: block;
	font-size: 100%;
	line-height: 140%;
	padding: 0.8em;
	border:1px solid #009900;
	background-image:url(../img/icons/accept.png);
	background-position:10px center ;
	background-repeat:no-repeat;
	padding-left:40px;
}


.login label{font-weight:bold;}

