/* HTML5 */
article, aside, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, menu, nav, output, section, source, summary { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
mark, meter, progress, rp, rt, ruby, time { display: inline; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* correct box model */
html { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
*, *:before, *:after { -webkit-box-sizing: inherit; -moz-box-sizing: inherit; box-sizing: inherit; }
/* Gehört das zu normailze oder correct box model? Ist das noch nötig (normailze.css setzt das nicht)?
img { box-sizing: content-box;- }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
*/

/* reset */
nav ul, nav ol { list-style: none; list-style-image: none; padding: 0; }
fieldset { border: 0; }
table { border-collapse: collapse; border-spacing: 0; }

/* general */

a {
	color: inherit;
	font-style: italic;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a[target="_blank"] {
	cursor: alias;
}

body, html {
	height: 100%;
}

body {
	background-color: #00C;
	color: #111;
	font-family: Verdana, Tahoma, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5em;
	white-space: nowrap;
}

body, body * {
	position: relative;
}

body#content, body#tinymce {
	background: url('../images/input.png') repeat-x scroll 50% 0 #FFF;
	padding: 10px;
}

body.wait, body.wait * {
	cursor: wait !important;
}

.addbutton, .button, .deletebutton, .editbutton, .savebutton {
	background: url('../images/button.png') repeat-x scroll 50% 0 #9E9E9E;
	border: 1px solid #666;
	color: #FFF !important;
	display: inline-block; /* IE7: */ *display: inline; *zoom: 1;
	font-weight: bold !important;
	padding: 3px 5px 5px 5px;
	text-align: center;
	text-shadow: 0 0 1px #666;
	white-space: nowrap;
}

.addbutton:hover, .button:hover, .deletebutton:hover, .editbutton:hover, .savebutton:hover {
	background: 0;
	background-color: #FFF;
	color: #111 !important;
	text-decoration: none !important;
	text-shadow: none;
}
/*
.addbutton, .deletebutton, .editbutton, .savebutton {
	background-color: transparent;
	border: 0;
	height: 16px;
	overflow: hidden;
	padding: 0;
	text-indent: 16px;
	white-space: nowrap;
	width: 16px;
}

.addbutton {
	background-image: url('/cd-inc/images/addbutton.png');
}

.deletebutton {
	background-image: url('/cd-inc/images/deletebutton.png');
}

.editbutton {
	background-image: url('/cd-inc/images/editbutton.png') !important;
}

.savebutton {
	background-image: url('/cd-inc/images/save.png') !important;
}
*/
#ajax #load {
	height: 12px;
	width: 249px;
}

#ajax #load .ui-progressbar-value {
	background-image: url('/cd-inc/images/pbar-ani3.gif');
	background-position: left;
}

#ajax .error {
	color: #F00;
}

.cf:before, .cf:after {
	content: " ";
	display: table;
}

.cf:after {
	clear: both;
}

.cf {
	*zoom: 1; /* IE6/IE7 */
}

.error {
	color: #F00;
}

div.clear {
	border: 0 !important;
	clear: both !important;
	content: '.' !important;
	display: block !important;
	float: none !important;
	height: 0 !important;
	margin: 0 !important;
	min-height: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
	position: static !important;
	visibility: hidden !important;
	width: 0 !important;
}

header, .content, footer {
	margin: 0 auto;
}

fieldset fieldset {
	border: 1px solid #444;
	padding: 0 1em;
}

h1, h2, h3, h4, h5, h6, h7 {
	white-space: normal;
}

hr {
	background-color: #111;
	color: #111;
	height: 1px;
}

img {
	vertical-align: middle;
}

.button, button, input, select, textarea {
	border-radius: 10px;
}

.button, button, input, select, span.mceEditor > table.mceLayout, textarea {
	color: inherit;
	font: inherit;
	line-height: inherit;
	padding: 3px 10px;
}

input, select, textarea {
	background: url('../images/input.png') repeat-x scroll 50% 0 #FFF;
	border: 1px solid #666;
	color: #666;
	margin: 5px 0;
}

input[type="checkbox"], input[type="radio"] {
	background: 0;
	border: 0;
	margin: 0 10px 0 5px;
	padding: 0;
	vertical-align: middle;
	width: auto !important;
}

label.error {
	color: #F00;
	display: none;
}

legend {
	color: #444;
}

li, p, td, th {
	white-space: normal;
}

.mceEditor table {
	min-width: auto !important;
}

nav ul {
	white-space: normal;
	font-size: 0;
}

nav li {
	font-size: 14px;
}

nav li a {
	font-style: normal;
	padding: 5px 10px;
}

nav li a:hover, nav .selected a {
	text-decoration: underline;
}

.pagenums {
	text-align: center;
}

.pagenums li {
	display: inline-block; /* IE7: */ *display: inline; *zoom: 1;
}

.pagenums a {
	padding: 0 5px;
}

select, span.mceEditor > table.mceLayout {
	padding: 0;
}

span.image, span.image a {
	display: inline-block; /* IE7: */ *display: inline; *zoom: 1;
}

span.image input[type="checkbox"] {
	bottom: 4px;
	left: 0;
	margin-left: 0;
	position: absolute;
}

span.image label {
	background-color: #FFF;
	bottom: 3px;
	color: #111;
	left: 17px;
	position: absolute;
	white-space: nowrap;
}
/*
td, th {
	padding: 5px;
}*/

td {
	vertical-align: top;
}

td > p {
	margin: 0;
}