/**
 *
 * Generic CSS for CakePHP
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.app.webroot.css
 * @since         CakePHP(tm)
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

/**
 * @section generic
 */
.clear {clear:both;}

.left {float:left;}

.right {float:right;}


/**
 * @section images
 */
#footer {
    clear:both;
	background-image: url('../img/bg-footer.jpg');
	background-repeat: repeat-x;
	height:70px;
	position: relative;
	margin-top: -70px; /* negative value of footer height */
}

#footer p {
    margin:5px 0 0 80px;
    font-size:11px;
}

#footer p a {
    text-decoration:none;
}

#header{
	background-image: url(../img/bg-header.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
}

#menu{
	background-image: url(../img/bg-menu.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
}

.kalibrierlabel {
	background-image:url('../img/kalibrierlabel.png');
	background-repeat:no-repeat;
}

.kalibrierlabel:hover {
	cursor: pointer;
}

/**
 * @section fonts 
 */
body {
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
	font-size:90%;
}

ul.menu li a {
    text-decoration:none;
    text-transform: uppercase;
    
}

#menu li a:hover {
    text-decoration:none;
}

#topmenu li a {
    font-size:0.8em;
    text-decoration:none;
}

#topmenu li a:hover {
    text-decoration:none;
}

ul.menu li span {
    font-weight:bold;
}

.datasetfooter p {
    font-size:12px;
}

.klabelheader {
	font-size:18px;
	font-weight:bold;
	text-align:center;
    text-transform:uppercase;
    text-shadow: 1px 1px 2px #333;
}


/**
 * @Section General 
 */
html, body {height: 100%;}
 
body {
	margin: 0;
}

#content{
	clear: both;
	padding: 0 60px 70px 70px;
	overflow: auto;
}

#header{
    height: 72px;
}

#menu{
    height:53px;
    margin-top:20px;
}

#menu img {
    float: left;
}

#topmenu{
    height:53px;
    margin:20px 20px 0 0;
    
    float:right;
}

#topmenu li {
    margin-top:18px;
    float:left;
    height:20px;
    display:block;
    margin-right:3px;
}

#topmenu li a {
    padding:4px 5px 0 5px;
    height:16px;
    display:block;
}

ul.menu {
    float:left;
}

ul.menu li {
    float:left;
    height:40px;
    display:block;
    margin-right:10px;
    position:relative;
}

ul.menu li a {
    padding:12px 10px 0 5px;
    height:28px;
    display:block;
}

ul.menu li span.subhover {
    cursor:pointer;
}

ul.menu li span {
    float:right;
    margin-top:-30px;
}

ul.menu li ul.submenu {
	list-style: none;
	position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
	left: 0; top: 35px;
	margin: 0; padding: 0;
	display: none;
	float: left;
	width: 170px;
}

ul.menu li ul.submenu li{
	margin: 0; padding: 0;
	clear: both;
	width: 130px;
}

html ul.menu li ul.submenu li a {
	float: left;
	width: 110px;
	padding-left: 20px;
}


.kalibrierlabel {
	display:block;
	float:left;
	height:171px;
	margin:20px;
	width:384px
}

.klabelheader {
	width:364px;
	margin:10px;
	text-align:center;
}

.letzepruefung {
	display:block;
	border-top:1px solid #ccc;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	float:left;
	height:70px;
	margin-left:20px;
	padding:5px;
	width:165px;
	
 }
 
.naechstepruefung {
	float:left;
	border-top:1px solid #ccc;
	border-bottom:1px solid #ccc;
	height:70px;
	margin-right:10px;
	padding:5px;
	width:165px;
}

.value {
	margin-top:15px;
}

.icons {
	width:354px;
	margin:10px;
	text-align:right;
	padding:5px;
}

.icons img {
	margin:0 10px;
}


.pdf {
    width: 230px;
    height: 15px;
    padding: 30px 25px 5px 15px;
    display:block;
    margin:20px;
    background-image: url('../img/pdffile.png');
    background-repeat: no-repeat;
    color:#000;
    text-decoration:none;
    font-size:11px;
}



/**
 * @Section original styles
 */

h1, h2, h3, h4, legend {
	font-weight: normal;
}
h1 {
	font-family: impact,verdana,tahoma,serif;
	font-size: 30px;
	margin-bottom: 40px;
	text-transform:uppercase;
	letter-spacing:0.05em;
}
h2 {
	font-family: impact,verdana,tahoma,serif;
	font-size: 24px;
	margin-bottom: 30px;
	text-transform:uppercase;
	letter-spacing:0.05em;
}
h3 {
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
	font-size: 18px;
	font-weight:bold;
	margin-bottom: 20px;
	padding-top:7px;
}
h4 {
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
    font-size: 16px;
}

/** Layout **/
#container {
	text-align: left;
	min-height:100%;
}

#header h1 {
	line-height:20px;
	color: #fff;
	padding: 0px 30px;
}
#header h1 a {
	color: #fff;
	font-weight: normal;
	text-decoration: none;
}
#header h1 a:hover {
	color: #fff;
	text-decoration: underline;
}


/** containers **/
div.form,
div.index,
div.related,
div.view {
	border-top:2px solid #00b0f0;
	margin: 30px auto 0;
	padding:20px 10px 20px 30px;
	/* background-color:#fff;	*/
	background-image: url('../img/leftcorner.jpg');
	background-position: bottom left;
	background-repeat:no-repeat;
}

div.disclaimer {
	border-top:2px solid #00b0f0;
	margin: 30px auto 0;
	padding:20px 10px 20px 30px;
	background-color:#fff;	
	line-height:1.5em;
}

div.disclaimer p, div.disclaimer ul {
	margin-bottom:30px;
}

div.disclaimer ul {
	margin-left:15px;
	list-style-type: disc;
}

img.archive {
	margin-top:-20px;
}


.view h2, 
.view h3 {
    float:left;
    margin-right:20px;
}


.datasetfooter {
    font-family: 'Courier new', courier, serif;
    font-size: 8px;
    background-color:#eee;
    height:25px;
    margin-left:20px;
}

.datasetfooter p {
    display:inline;
    float:right;
    margin:0 5px;
    padding:8px 5px 7px 10px;
}


.label {
    font-family: 'Courier new', courier, serif;
    text-transform:uppercase;
    font-weight:normal;
}

.segment {
    float:left;
    margin:0 20px 20px 0;
    padding:10px 15px;
    background-image: url('../img/leftcorner.gif');
    background-repeat:no-repeat;
    background-position:-2px bottom;
    width:160px;
    min-height:40px;
}

.dashboardsegment {
    float:left;
    padding:20px 30px 30px 30px;
    margin:0 30px 30px 0;
    width:350px;
    min-height:300px;

    background-image: url('../img/leftcorner2.png');
    background-repeat:no-repeat;
    background-position:0 bottom;    
}

.dashboardsegment fieldset {
	margin:0;
	padding:0;
}

.dashboardsegment input[type=submit] {
	float:right;
}

.dashboardsegment li {
	margin-left:10px;
	margin-bottom:10px;
}

.dashboardsegment ul {
	margin-bottom:30px;
}

.segmentbig {
    float:left;
    margin:0 20px 20px 0;
    padding:10px 15px;
    background-image: url('../img/leftcorner.gif');
    background-repeat:no-repeat;
    background-position:-2px bottom;
    width:370px;
    min-height:40px;    
}

.segment p,
.segmentbig p {
    margin-top:10px;
    text-align:left;
}

.segmentcontent ul {padding-top:10px;}
.framed {border:1px solid #ccc;padding:3px;}
.mouseover {cursor:pointer;}

.file {margin:20px;float:left;text-align:center;width:120px;height:100px;}
.filename a {color:#999;text-decoration:none;font-size:12px;}
.deleteicon {position:relative;top:-60px;left:-20px;}

/** Tables **/
table {
	background: #fff;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
th {
	border:0;
	border-bottom:2px solid #b85b10;
	text-align: left;
	padding:4px;
}
th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a.asc:after {
	content: ' ⇣';
}
th a.desc:after {
	content: ' ⇡';
}
table tr td {
	background: #fff;
	padding: 6px;
	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;
}

.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 {
	background:#fff;
	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 {
}



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

legend {
  font-size:22px;
  padding:5px;
}
fieldset {
	margin-bottom: 1em;
	padding: 16px 20px;
}

fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	margin-bottom: 20px;
	vertical-align: text-top;
}

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

.checkbox,
.checkbox2 {
    padding-top:20px;
}
.checkbox label,
.checkbox2 label {
    position:relative;
    top:-65px;
}
textarea {
	clear: both;
	font-size: 140%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 1%;
	width:98%;
}
select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	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;
}



/** Notices and Errors **/
div.message {
	clear: both;
	color: #fff;
	font-size: 140%;
	font-weight: bold;
	margin: 0 0 1em 0;
	background: #c73e14;
	padding: 5px;
}
div.error-message {
	clear: both;
	color: #fff;
	font-weight: bold;
	background: #c73e14;
}
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%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/**  Actions  **/
div.actions {
margin-bottom:40px;
}
div.actions ul {
	margin: 0;
	padding: 0;
}
div.actions li {
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
}
div.actions ul li a {
	font-weight: normal;
	display: block;
	clear: both;
}
div.actions ul li a:hover {
	text-decoration: underline;
}

input[type=text],
input[type=password] {
    width:318px;
    font-size:14px;
    height:31px;
    padding:0 0 0 12px;
    border:0;
    background-image: url('../img/inputfield.png');
    background-repeat:no-repeat;
}

textarea {
	width:313px;
	font-size:14px;
	height:200px;
	padding:5px 5px 5px 12px;
	border:1px solid #000;
	background-color:#e0e0e0;
}

input[type=submit] {
    background-image: url('../img/button.png');
    background-repeat:no-repeat;
    height:30px;
    display:block;
    min-width:55px;
    padding:0 12px;
    border:0;
    text-shadow: #fff 1px 1px 2px;
    font-size:12px;
    text-transform:uppercase;
    margin-left:20px;
    background-color: transparent;
}

input[type=submit]:hover {
    background-image: url('../img/button.png');
    background-repeat:no-repeat;
    background-position:0 -33px;
    color: #fff;
    text-shadow: #000 1px 1px 2px;    
}

.input {
    width: 330px;
    margin-right:20px;
    float:left;
}

div.actions ul li a,
td.actions a,
a.actions {
    background-image: url('../img/button.png');
    background-repeat:no-repeat;
    height:23px;
    min-width:35px;
    margin:3px;
    padding: 8px 12px 0 12px;
	color: #000;
	text-shadow: #fff 1px 1px 2px;
	font-weight:normal;
	font-size:12px;
	text-decoration:none;
    display:block;
	text-align:left;
}

div.cancel {
    position:relative;
    float:right;
}

div.sidebar {
float:right;
}

div.actions ul li a:hover,
td.actions a:hover {
    background-image: url('../img/button.png');
    background-repeat:no-repeat;
    background-position:0 -33px;
    text-decoration:none;
    color: #fff;
    text-shadow: #000 1px 1px 2px;
}

/** Related **/
div.related {
	clear: both;
	display: block;
}

/** Debugging **/
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}

/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/
}
