/* globales Stylesheet */

body, table, input, textarea, select {
	font: 9pt 'trebuchet ms', 'Verdana', sans-serif;
	color: #222222;
}

h1, h2, h3, h4, h5 {
	margin: 0;
	padding: 0;
	font-weight: bold;
	}

h1, .title {	font-size: 1.4em;	line-height: 1.6em;	margin-top: 0.2em;}
h2 {	font-size: 1.2em;	line-height: 1.4em;	}
h3 {	font-size: 1.1em;		line-height: 1.2em;	}
h4 {	font-size: 1em;	line-height: 1.2em;	}
h5 {	font-size: 1em;	line-height: 1.2em;	}

p > p {
	margin-top: 0.5em;
}

p, div.text {
	font-size: 1em;
	line-height: 1.5em;
	margin-left: 0.2em;
	margin-right: 0.2em;
}

ul {
	display: inline-block; /* solves problem with left-floated image */
}

blockquote {
	border: 1px solid #ccc;
	border-left: 3px solid #444;
	background: #ddd;
	padding: 0px 10px;
	font-style: italic;
	margin-left: 15px;
	margin-right: 15px;
}

.imagebox {	padding: 0px;	margin: 4px 4px; /*overflow: auto;*/ background: #DDD;} /*IE 8 scroll bug */
.imagedescr {
	padding: 0px;
	margin: 0px;
	/*padding: 0.4em;*/
	font-size: 0.8em;
	/*overflow: auto;*/
	text-align: left;
}
.popupBox {
	width: 100px;
	height: 100px;
	position: absolute;
	top: 20px;
	left: 20px;
	background: #fff;
	z-index: 200;
	border: 1px solid #000;
	padding: 10px;
	overflow: auto;
}
.popupBox.popupImg {
	margin-bottom: 4px;
}

.itembox {
	margin: 0.5em 0px 1.5em;
	margin-bottom: 2em;
}
.itembox .title, .title {
	border-bottom: 1px solid #ccc;
}
.info {
	margin-left: 1em;
	font-size: 0.8em;
}
.info.bottom {
	margin-top: 0.5em;
	border-top: 1px solid #ccc;
}
.content {
	margin-top: 0.3em;
	margin-left: 1em;

}
.pagenavi_active {
	font-size: 1.1em;
	font-weight: bold;
}

.layouttable, .layouttable td {
	border: 0px solid black;
	padding: 0px;
}
.layouttable td, .layouttable th {
	vertical-align: top;
}
.layouttable .col1 {
	width: 60%;
}
.layouttable .col2 {
	width: 50%;
}
.layouttable textarea, .layouttable input {
	width: 90%;
}

.box {
	display: table-cell;
	width: auto;
	height: auto;
	border: 1px solid black;
	padding: 0.2em;
}
.contentBox {
	border: 3px double #ccc;
	background: #f0f0f0;
	margin: 0.2em;
}

.warningtext {
	font-weight: bold;
	color: red;
}

table.layout, table.layout td {
	border: 0;
	margin: 0;
	padding: 0;	
}

table, table.layout table {
	border: 1px solid #CCC;
	border-collapse: collapse;
}
th {
	background-color: #666666;
	border: 1px solid #DEDEDE;
}
table td, table.layout table td {
	padding: 0.2em;
	border: 1px solid #CCC;
	vertical-align: top;
	text-align: left;
}

.hidden {
	display: none;
}
.inline {
	display: inline;
}
.specialsize {
	width: auto;
}
.both {
	clear: both;
}

.row1 {
	background: #333333;
}
.row2 {

}
.row_highlight {
	background: #333333;
}

/* aligns */
.justify {	text-align: justify; }
.block {	display: block;	}
.clear {	clear: both;	}
.left {		float: left;	}
.right {	float: right;	}
.center {	text-align: center; margin: auto; }


/* Form */
input, textarea, select, option, fieldset {
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
input, textarea {
	width: 95%;
}
input, textarea, select {
	border: 1px solid #999;
	background: #f9f9f9;
	font-size: 1em;
	padding: 0.1em;
	margin-left: 0.2em;
	margin-right: 0.2em;
	margin-top: 0.1em;
	margin-bottom: 0.3em;
}

textarea {
	padding: 0.4em;
}

input:focus, select:focus {
	background: #fff;
}
	
/* padding und margin angaben in px ergeben bei checkbox einen fehler bei den schmetterlingen ?? */
input.checkbox {
	width: auto;
	margin-left: 0;
	
}
div.checkbox {
	margin: 0.2em;
	margin-left: 0em;
	width: auto;
	display: inline;
}
div.checkbox label {
	cursor: pointer;
	}

input.submit, input.reset {
	width: auto;
	cursor: pointer;
}

input.submit:hover, input.reset:hover {
	background: #808080;
	border: 1px solid #999999;
}

input.file, .form_datetime select {
	width: auto;
}
select {
	cursor: pointer;
	min-width: 6em;
	}
option {
	width: auto;	
	}

.description {	
	margin-left: 0.2em;
}
.checkbox .description {
	margin-left: 0.7em;
	margin-bottom: 0.6em;
}
.label, .checkbox {
	margin-top: 0.6em;
	padding: 0.1em;
	padding-bottom: 0px;
	margin-bottom: 0px;
	width: auto;
	}
.form_datetime input {
	width: 12em;
}

/* DEBUG */
/* wegen js nichts an Klassenname aendern!!*/
.debug_msg_short {
	display: inline;
}
.debug_msg_full {
	display: none;
}
.sybo_debug_type_caption {
	color: #0000CC;
}
.sybo_debug_type_error {
	color: #CC0000;
}
.sybo_debug_type_db {
	display: none;
}
.sybo_debug_type_template {
	display: none;
}
.sybo_debug_type_info {
	display: none;
}
.sybo_debug_type_menu {
	display: none;
}

/* PAGE / COMPONENT - Admin */

div.sybo_message {
	border: 1px solid #ccc;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 0.2em;
	display: block;
	position: relative;
}
.sybo_outer_admin_box {
	display: none;
}
.sybo_admin_box {
	border: 1px solid #aaa;
	border-top-color: #ccc;
	background: #ddd url('../global/images/box_bg_grey.png') repeat-x;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	margin-top: 0px;
	margin-bottom: 5px;
	padding: 0.1em;
	display: block;
}
.sybo_admin_box .title {
	font-size: 140%;
	line-height: 180%;
	font-weight: bold;
}
.sybo_admin_box_header {
	padding-left: 32px;
}
.sybo_admin_box_header img {
	vertical-align: bottom;
}
.sybo_admin_box_content {
	display: none;
}
.sybo_admin_comp_details {
	/*display: block;*/ /* Causes huge bugs in firefox and ie (invisible forms,...) */
}
.sybo_admin_comp_content {
}

#sybo_admin_bar {
	position: fixed;
	top: 0px;
	left: 100px;
	width: auto;
	background: white url('../global/images/box_bg_grey.png') repeat-x;
	padding: 0.2em;
	border: 1px solid black;
	filter:alpha(opacity=80); /* IE */
	opacity:0.8; /* Opera 9+ */
	
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	
}

.admin_links {	z-index: 100;	position: relative; top: 3px; left: 2px;	}
.admin_links a {	margin: 0px;	}
.admin_button {
	height: 1em;
}

.admin_icon {
	width: 12px;
	height: 12px;
}

a.novisited:visited {
	
}
a:hover img.admin_icon {
	/*width: 32px;
	height: 32px;*/
	/*margin-top: -10px;
	margin-left: -10px;
	margin-right: -10px;
	margin-bottom: -10px;*/
}

a.opacLow, opacLow {
	filter:alpha(opacity=40); /* IE */
	-moz-opacity:0.4; /* Gecko-Browser */
	opacity:0.4; /* Opera 9+ */
}

.hoverbutton, a.button, img.button, .admin_links a img, .admin_button img {
	vertical-align: top;
	filter:alpha(opacity=70); /* IE */
	-moz-opacity:0.7; /* Gecko-Browser */
	opacity:0.7; /* Opera 9+ */
}
a.hoverbutton:hover, a:hover img.button, a.button:hover img, .admin_links a:hover img, .admin_button:hover img {
	filter:alpha(opacity=100); /* IE */
	-moz-opacity:1; /* Gecko-Browser */
	opacity:1; /* Opera 9+ */
}

/* Highlighting / Status */
.status_invisible {
	filter:alpha(opacity=60); /* IE */
	-moz-opacity:0.6; /* Gecko-Browser */
	opacity:0.6; /* Opera 9+ */
}
td.highlight {
	border: 2px solid #555;
}

