/* 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; }

/* reset */
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; }
/*! evtl.: normalize.css | git.io/normalize? keine Ahnung woher ich das hab, evtl. aktualisieren. */
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body, body * { background-color: transparent; border: 0; font-size: 100%; margin: 0; outline: 0; padding: 0; position: relative; vertical-align: baseline; }
a:focus { outline: thin dotted; }
h1, h2, h3, h4, h5, h6, pre, code { font-size: 1em; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
dfn { font-style: italic; }
img { box-sizing: content-box; }
mark { background: #ff0; color: #111; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ''; content: none; }
small { font-size: 75%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
nav ul, nav ol { list-style: none; list-style-image: none; }
svg:not(:root) { overflow: hidden; }
fieldset { border: 0; }
legend { *margin-left: -7px; }
button, input, select, textarea { font: inherit; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: inherit; }
button, input[type="button"],  input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
textarea { overflow: auto; vertical-align: top; }
table { border-collapse: collapse; border-spacing: 0; }

/* Tooltips for mobiles and keyboards (doesn't work for img-tags, elements without focus-ability need the attribute tabindex="0") */
@media (pointer: coarse), (hover: none) {

	[title] {
		position: relative;
		display: inline-flex;
		justify-content: center;
	}

	[title]:focus::after {
		content: attr(title);
		position: absolute;
		top: 90%;
		color: #000;
		background-color: #fff;
		border: 1px solid;
		width: fit-content;
		padding: 3px;
		font-size: 10px;
	}

}

/* 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: #BEDFE4;
	color: #111;
	font-family: Verdana, Tahoma, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5em;
	white-space: nowrap;
}

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

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

.addbutton, .button, .deletebutton, .editbutton, .savebutton {
	background: url('http://images.codii.de/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: #666 0 1px 0;
	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('http://cd-inc.codii.de/images/addbutton.png');
}

.deletebutton {
	background-image: url('http://cd-inc.codii.de/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('http://cd-inc.codii.de/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('http://images.codii.de/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;
}

nav ul {
	font-size: 0;
	margin: 0 auto;
}

nav li {
	font-size: 16px;
	display: inline-block; /* IE7: */ *display: inline; *zoom: 1;
}

nav li a {
	background-color: #111;
	border-radius: 10px;
	color: #FFF;
	display: inline-block; *display: inline; /* IE7 */ *zoom: 1; /* IE7 */
	font-weight: bold;
	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;
}*/