/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/**
 * ######################################
 *  webbasiertes Inventarisierungssystem 
 * ######################################
 * @name	webbasierte Inventarisierung
 * @desc	Datenbankgestütztes Inventarisierungssystem mit Weboberfläche, modernisiert durch AJAX
 * @author	Hannes Schurig, Mario Neumann
 * @creation	2011-10-18
 * @date	2011-10-18
 * @lastmodified	2011-10-28
 * @changelog
 *
 * @ref http://mario.hannes-schurig.de/index.php
 * @see http://mario.hannes-schurig.de/index.php
 */
 
@font-face { font-family: Diavlo; src: url('Diavlo_bold.otf'); } 
 
* { font: 13px/14px "Trebuchet MS", Arial; 
	outline: none;
}
 
div.clear { clear: both; }

button {
	width: auto;
	border: 1px solid #ccc;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: white;
}

button:hover {
	border: 1px solid #C29A42;
	box-shadow: 0 0 6px #999;
	-moz-box-shadow: 0 0 6px #999;
	-webkit-box-shadow: 0 0 6px #999;
}

button:active {
	border: 1px solid #119A42;
	box-shadow: 0 0 9px #C29A42;
	-moz-box-shadow: 0 0 9px #C29A42;
	-webkit-box-shadow: 0 0 9px #C29A42;
}

body {
	background: url(img/fat_lines.gif) repeat transparent;
	height: 100%;
}
 
h1 {
	font: bold 40px/50px Diavlo, "Trebuchet MS", Arial;
	text-align: center;
	color: white;
	text-shadow: 1px 2px 3px black;
	margin-bottom: 15px;
}

#return {
	display: none;
	position: fixed;
	top: 0px; left: 10px;
	border: 1px solid black;
	background-color: white;
}

#wrapper {
	height: 87%; width: 90%;
	margin: 10px auto;
	border: 1px solid #ccc;
	background-color: white;
	box-shadow: 0 0 20px #222;
	-moz-box-shadow: 0 0 20px #222;
}

#manage * {
	margin: 15px;
}
#manage button {
	padding: 5px 8px 5px 27px;
}
#manage {
	margin: 15px;
}
 
#manage button.add {
	float: right;
	background: url("img/plus.png") 6% center no-repeat white;
} 

#manage button.delete-data {
	float: right;
	background: url("img/delete.png") 6% center no-repeat white;
} 

#manage button.filter {
	float: right;
	background: url("img/filter.png") 13% center no-repeat white;
} 

#manage button.logout {
	float: left;
	margin-left: 30px;
	background: url("img/logout.png") 6% center no-repeat white;
}

#manage button:active {
	background-color: #7aae5e;
}

#add-bubble {
	display: none;
	width: 115px;
	padding: 10px; 
	position: absolute;
	border: 1px solid #ccc;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: white;
	cursor: default;
}

#add-bubble legend {
	font-size: 120%;
	border-bottom: 1px solid #ccc;
	padding: 8px 16px;
}

#add-bubble span {
	display: block;
	padding: 3px 5px;
	cursor: pointer;
}

#add-bubble span:hover {
	background-color: #E8EAE8;
}

#add-bubble span:active {
	background-color: #7aae5e;
}

#filter-bubble {
	display: none;
	width: 115px;
	padding: 10px; 
	position: absolute;
	border: 1px solid #ccc;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: white;
	cursor: default;
}

#filter-bubble legend {
	font-size: 120%;
	border-bottom: 1px solid #ccc;
	padding: 8px 16px;
}

#filter-bubble input{
	padding: 4px 0;
	cursor: pointer;
}

#filter-bubble div.delete {
	float: right;
	width: 16px; height: 16px;
	background: url("img/delete.png") right center no-repeat white;
	position: relative; top: -23px;
}

#filter-bubble input{
	padding: 4px 0;
}

#search-input {
	float: right;
	width: 150px;
	background: url("img/search.png") 96% center no-repeat white;
	border: 1px solid #ccc;
	padding: 3px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#search-input:hover {
	border: 1px solid #C29A42;
}
#search-input:focus {
	border: 1px solid #C29A42!important;
	box-shadow: 0 0 6px #999!important;
	-moz-box-shadow: 0 0 6px #999!important;
	-webkit-box-shadow: 0 0 6px #999!important;
}

/*
* ################ Read-Only ################
*/

#usernotification {
	display: none;
}

.user #usernotification {
	display: block;
	position: fixed;
	top: 0px; left: 0px;
	border: 1px solid red;
	border-top: 0px; border-left: 0px;
	background-color: yellow;
	padding: 5px 9px;
}

.user #forms button[class^="add-"] {
	color: #666;
	background: url("img/plus-grey.png") 6% center no-repeat white;
}

.user #forms button[class^="add-"]:hover {
	border: 1px solid #ccc;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

/*
* ################ Formulare ################
*/

#forms {
	display: none;
	padding: 10px 3%;
	border-top: 1px solid #ccc;
	float: left;
}

#forms h2 {
	font-size: 120%;
	padding: 8px 16px;
	margin-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

#forms div {
	width: 290px;
}

#forms label {
	width: 100px;
	display: block;
	float: left;
	text-align: right;
	padding: 5px 10px;
}

#forms input[type=text] {
	width: 160px;
	margin-bottom: 4px;
}

#forms select {
	width: 164px; 
	height: 24px;
	margin-bottom: 4px;
	
}

#forms .send {
	margin: 10px 0;
	float: right;
	margin-right: 6px;
}

#forms .send:active {
	background-color: #7aae5e;
}

#forms .send.inactive {
	color: grey;
}

#forms .close {
	position: relative; top: 9px;
	float: right;
	width: 16px; height: 16px;
	background: url("img/delete.png") right center no-repeat white;
}

#add-host, #add-ip, #add-mask, #add-os, #add-room, #delete-data {
	display: none;
}

#userpassword {
	display: none;
}

#forms button.add-data {
	background: url("img/plus.png") 6% center no-repeat white;
	padding: 5px 8px 5px 27px;
}

#forms button.delete-data {
	background: url("img/delete.png") 6% center no-repeat white;
	padding: 5px 8px 5px 27px;
}

#lists {
	display: none;
	width: 200px;
	padding: 10px 3%;
	float: left;
}

#lists #ip {
	position: absolute;
	width: 120px;
	overflow: scroll;
	border: 1px solid #ccc;
	text-align: center;
}

#lists #ip td {
	line-height: 20px;
}

#lists #ip tr:nth-child(odd) {
	background-color: #efefef;
}

#lists #ip tr:nth-child(even) {
	background-color: white;
}

/*
* ################ Datentabelle ################
* Design kopiert von http://hannes-schurig.de/projekte/
*/

#daten-wrapper {
	padding: 3%;
	border-top: 1px solid #ccc;
}

#daten caption {
	background: #656e70;
	background: -webkit-gradient(linear, left top, left bottom, from(#656e70), color-stop(50%, #515b5c), color-stop(50.1%, #465153), to(#323e40));
	background: -moz-linear-gradient(top, #656e70, #515b5c 50%, #465153 50.1%, #323e40);
	background: linear-gradient(top, #656e70, #515b5c 50%, #465153 50.1%, #323e40);
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
	color: #fff;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 1px;
	padding: 10px 30px 10px 30px;
	text-align: left;
	text-shadow: 0 -1px 1px rgba(0,0,0,.7);
}
	
#daten small {
	color: #ccc;
	font-size: 0.8em;
	padding-left: 20px;
	vertical-align: bottom;
}

#daten th {
	background: #7aae5e;
	border-bottom: 1px solid rgba(255,255,255,.7);
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
	-o-box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
	padding: 6px 10px 3px;
}

#daten th.header {
	background: url("img/nosort.png") 92% 6px no-repeat #7aae5e;
	padding: 5px 21px 5px 13px;
}
#daten th.headerSortDown {
	background: url("img/sortup.png") 92% 6px no-repeat #7aae5e;
}
#daten th.headerSortUp {
	background: url("img/sortdown.png") 92% 6px no-repeat #7aae5e;
}

#daten tr {
	background:rgba(105,115,100,.15);
	cursor: default;
}
#daten tr:hover {
	background:rgba(105,115,100,.20);
}
#daten tr.highlight {
	background:rgba(105,205,100,.20);
}

#daten td {
	border-bottom: 1px solid #fafafa;
	border-bottom: 1px solid rgba(255,255,255,.5);
	padding: 6px 10px;
	color: rgba(0,0,0,.7);
}

#daten h3 {
	font: bold 1.1em "Trebuchet MS", sans-serif;
}

#daten tbody {
	text-align: center;
}

/*
#daten tr:first-child td:first-child {
	text-align: center;
}

#daten tr:last-child td {
	border-bottom: none;
}*/

tr.zeile.more td:first-child {
	background: url("images/arrow-down.gif") no-repeat scroll 7% transparent!important;
	padding-left: 25px!important;
}

tr.zeile.more.details-offen  td:first-child {
	background: url("images/arrow-top.gif") no-repeat scroll 7% transparent !important;
	padding-left: 25px!important;
}

#daten tr#impressum-zeile {
	background: #656e70;
	background: -webkit-gradient(linear, left top, left bottom, from(#656e70), color-stop(50%, #515b5c), color-stop(50.1%, #465153), to(#323e40));
	background: -moz-linear-gradient(top, #656e70, #515b5c 50%, #465153 50.1%, #323e40);
	background: linear-gradient(top, #656e70, #515b5c 50%, #465153 50.1%, #323e40);
	text-shadow: 0 -1px 1px rgba(0,0,0,0.7);
	height: 30px;
}

#daten tr#impressum-zeile td{
	-webkit-border-radius: 0 0 10px 10px;
	-moz-border-radius: 0 0 10px 10px;
	border-radius: 0 0 10px 10px;
}

#impressum-zeile small {
	float: right;
	margin-right: 20px;
}

#impressum-zeile td {
	vertical-align: middle;
}

tr.details {
	display: none;
	height: 100px;
}

tr.details-offen {
	display:table-row !important;
}

/*
* ################ LOGIN ################
*/
#login {
	position: absolute;
	left: 50%; top: 50%;
	height: 50px; width: 270px;
	margin: -25px -135px; /* center css trick */
	border: 1px solid #ccc;
	border-radius: 5px;
	-moz-border-radius: 5px;
	box-shadow: 0 0 20px #888;
	-moz-box-shadow: 0 0 20px #888;
	text-align: center;
	background: url("img/lock.png") 5% center no-repeat white;
}

#login form {
	padding: 10px 0 0 28px;
}

#login form input {
	width: 125px;
	margin: 2px 7px 3px 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	border: 1px solid #ccc;
	padding: 3px 5px;
}

#login button {
	width: auto;
	padding: 4px 8px 4px 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
}

#needuser {
	height: 50px; width: 180px;
	margin: 40px 45px;
	border: 1px solid #ccc;
	border-radius: 5px;
	-moz-border-radius: 5px;
	box-shadow: 0 0 20px #888;
	-moz-box-shadow: 0 0 20px #888;
	background: url("img/key2.png") 7% 55% no-repeat white;
}

#needuser h3 {
	font-weight: bold;
	margin: 9px 4px 4px 4px;
	padding-left: 15px;
}

#needuser p {
	padding-left: 15px;
}

/*
* Error/Success Info Popup
* by: Hannes Schurig
*/

#footer-wrapper {
	width: 700px;
	margin: 0 auto;
	position: fixed; bottom: 0px; left: 23%;
}

#footer {
	height: 50px;
	background-color: #eee;
	outline: 1px solid #ddd;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	overflow: hidden;
	display: none;
}

.msgbox {
	min-height: 50px;
}

.msgbox.content {
	padding: 0 0 10px 10px; margin: 25px auto;
	border-radius: 5px; 
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
}

.msgbox.header {
	max-height: 68px;
	margin: 20px;
	overflow: auto;
}

.msgbox  img {
	position: absolute; left: -23px; top: -20px;
	float: left;
}

.msgbox h5 {
	float: left;
	margin-left: 2em; padding-right: 20px;
	border-right: 1px solid white;
	font: bold 20px/50px "Trebuchet MS", sans-serif;
}

.msgbox span {
	margin: 3px 5px;
	font: 12px/14px "Trebuchet MS", sans-serif;
	float: right;
	width: 500px;
}

.error {
	background-color: #ffccaa;
	border: 1px solid #ff3334;
}

.info, .help {
	background: #9fdaee;
	border: 1px solid #2bb0d7;
}

.warning {
	background: #ffffaa;
	border: 1px solid #ffad33;
}

.valid {
	background-color: green;
	border: green;
}