html,body{background: #000; color: rgb(240,240,240);}
h1,h2,h3,h4,h5,h6,strong,dt,optgroup,abbr,acronym,em,del,blockquote,ol,ul,dl,li,dd,th,td,captionm,sup,sub,p,fieldset,table,pre,buttoninput[type="checkbox"],input[type="radio"],input[type="reset"],input[type="submit"],input[type="reset"]{ color: rgb(240,240,240); }
input[type="reset"],input[type="submit"]{ color: #000 }

/* use these fonts */
body,select,input,button,textarea,button {
	font-family: Georgia, Arial, Helvetica, clean, sans-serif;	
	font-variant: normal;
	line-height: 140%;
}

/* LINKS */

a:link, a:visited, a:hover {
    color: rgb(240,240,240);
    text-decoration: none;
} 

/* TABLES */

table {
    border: 1px solid #222;
    width: 100%
}

tr {
    border: 0;
}

td, th { 	
    padding: 5px 6px;
    text-align: left;
    vertical-align: top;
}

th {
	font-size: 120%;
	font-weight: bold;
    background: #ccc;
    color: #000;
    padding: 2px 6px;
}
th a:link, th a:visited, th a:hover {
    color: #333;
    display: block;
    text-decoration: none;
    width: 100%;
}
th.asc a, th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}
th.asc a {
    background-image: url(../images/skin/sorted_asc.gif);
}
th.desc a {
    background-image: url(../images/skin/sorted_desc.gif);
}

.odd {
    background: #444;
}
.even {
    background: #000;
}

/* LIST */

.list table {
    border-collapse: collapse;
}
.list td {
	font-size: 100%;
}
.list th, .list td {
    border: 1px solid #888;
}
.list th:hover, .list tr:hover {
    background: #222;
}

/* PAGINATION */

.paginateButtons {
    background: #000;
    color: #fff;
    font-size: 10px;
    overflow: hidden;
    padding: 10px 3px;
}
.paginateButtons a {
    background: #fff;
    border: 1px solid #ccc;
    border-color: #ccc #aaa #aaa #ccc;
    color: #222;
    margin: 0 3px;
    padding: 2px 6px;
}
.paginateButtons span {
    padding: 2px 3px;
}

/* NAVIGATION MENU */

.nav {
    background: #000;
    border: 1px solid #ccc;
    border-style: solid none solid none;	
    margin-top: 5px;
    padding: 7px 12px;
}

.menuButton {
    padding: 0 5px;
}
.menuButton a {
	font-size: 90%;
    color: #ddd;
    padding: 4px 6px;
}
.menuButton a.home {
    background: url(../images/skin/house.png) center left no-repeat;
    color: #ddd;
    padding-left: 25px;
}
.menuButton a.list {
    background: url(../images/skin/database_table.png) center left no-repeat;
    color: #ddd;
    padding-left: 25px;
}
.menuButton a.create {
    background: url(../images/skin/database_add.png) center left no-repeat;
    color: #ddd;
    padding-left: 25px;
}

/* DIALOG */

.dialog table {
    padding: 5px 0;
}

.prop {
    padding: 5px;
}
.prop .name {
    text-align: left;
    width: 15%;
    white-space: nowrap;
}
.prop .value {
    text-align: left;
    width: 85%;
}

/* ACTION BUTTONS */

.buttons {
    background: #000;
    color: #fff;
    font-size: 90%;
    margin-top: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    padding: 0;
}

.buttons input {
    border: 0;
    color: #fff;
    cursor: pointer;
    margin-left: 3px;
    overflow: visible;
    padding: 2px 6px;
    border: 1px solid white;
}
.buttons input.delete {
    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.edit {
    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.save {
    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
    padding-left: 28px;
}

/* MESSAGES AND ERRORS */

.message {
    background: #000 url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

div.errors {
    background: #000;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}
div.errors ul {
    list-style: none;
    padding: 0;	
}
div.errors li {
	background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
    line-height: 16px;
    padding-left: 30px;
}

td.errors select {
    border: 1px solid red;
}
td.errors input {
    border: 1px solid red;
}

/* GENERAL */

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;
}

input, select, textarea {
    background-color: #fcfcfc;
    border: 1px solid #ccc;
    margin: 2px 0;
    padding: 2px 4px;
}
select {
   padding: 2px 2px 2px 0;
}
textarea {
	width: 500px;
	height: 150px;
	vertical-align: top;
}

input:focus, select:focus, textarea:focus {
    border: 1px solid #ccc;
}

#hd {
	background: url("../images/cmtheme/header_974x178.jpg");
	height: 178px;	
	border-bottom: 1px solid rgb(222,102,10);
	margin-bottom: 20px;
}

.article {
	margin-bottom: 10px;
	margin-left: 20px;
}

.allarticles {
	margin: -25px 0px 0px 0px;
}

.article h1 {
	color: rgb(200,200,200);
	margin: 25px 0px 4px -20px;
	padding: 4px 4px 8px 20px;
	border: 1px solid rgb(222,102,10);
	background: url("../images/cmtheme/background_artikel_762x65.jpg") no-repeat left top;
}

.article .date {
	margin: 4px 0px 0px 0px;
	font-size: 90%;
	color: rgb(222,102,10);
}

.article .textcontainer {
	margin: 4px 0px 0px 0px;
}

.article .textcontainer .text {
	margin: 0px;
	padding: 0px;
	border: none;	
	width: 540px;
	float: left;
}

.article .textcontainer .pics {
	margin: 0px 0px 0px 10px;
	float: right;
	width: 140px;
}

.article .textcontainer .pics .pic {
	border: 1px solid rgb(222,102,10);
	margin: 0px 0px 10px 0px;
	padding: 0px;	
	float: right;
	width: 140px;
	height: 140px;
}

.article .textcontainer .text p:last-child {
	margin: 4px;
	border: 0px;
	padding: 0px;
}

.article .permalink {
	font-size: 90%;	
	margin: 0px;
	border: 0px;
	padding: 0px;
	color: rgb(222,102,10);
}

.article .textcontainer .pics .morepicslink {
	font-size: 90%;	
	margin: 0px;
	border: 0px;
	padding: 0px;
	color: rgb(222,102,10);
	float: right;
}

.paginatorout > br { 
	display: none; 
}

.paginator .filler {
	height: 2em; /* gives "layout" but width is auto */
}

.paginator {
	display: table;
    margin: 10px auto;
	position: relative;
	text-align: center;
}

.paginator .next, .paginator .prev {
	position: relative;
	display: inline;
	vertical-align: middle;
	display: block;
	width: 22px;
	height: 18px;
	float: left;
	top: 18px;
}

.paginator .prev {
	background: url("../images/cmtheme/pfeil_links_auf_schwarz_22x18.png") no-repeat;
	margin-right: 7px;
}

.paginator .next {
	background: url("../images/cmtheme/pfeil_rechts_auf_schwarz_22x18.png") no-repeat;
}

.paginator .num, .paginator .curnum {
	position: relative;
	display: inline;
	vertical-align: middle;
	display: block;
	padding-top: 11px;
	width: 42px;
	height: 42px;
	float: left;
	margin-left: -7px;
}

.paginator .num.down, .paginator .curnum.down {
	background: url("../images/cmtheme/zahnrad_unten.png") no-repeat;
	top: 20px;
}

.paginator .num.up, .paginator .curnum.up {
	background: url("../images/cmtheme/zahnrad_oben.png") no-repeat;
	padding-top: 13px;
}

.paginator .spacer {
	position: relative;
	display: inline;
	padding: 5px;
	border: 0;
	vertical-align: middle;
	color: rgb(222,102,10);
	font-weight: bold;
	display: block;
	float: left;
	top: 15px;
}

.paginator .spacer.up {
	margin-right: 5px;
	margin-left: -2px;
}

.paginator .spacer.down {
	margin-right: 5px;
	margin-left: -1px;
}

.paginator .curnum {
	color: rgb(222,102,10);
}

table.navcal {
	width: 169px;
	margin-left: 51px;
	margin-right: 20px;
	margin-top: 0px;
	margin-bottom: 1px;
	font-size: 90%;
	border: 1px solid rgb(85,85,85);
}

table.navcal tr, table.navcal tr th, table.navcal tr td {
	font-size: 90%;
	margin: 0px;
	padding: 0px;
	border: 0px;
	text-align: center;
	border: 1px solid rgb(85,85,85);
}

table.navcal tr.daynames th {
	background: rgb(200,200,200);
	color: #000;
	width: 14%;
}

table.navcal tr td.lastmonth, table.navcal tr td.nextmonth {
	color: rgb(200,200,200);
}

table.navcal tr.daynums td.today a {	
	color: rgb(222,102,10);
	font-weight: bold;
}

table.navcal tr.daynums td.today:hover, table.navcal tr.daynums td.currentmonth:hover {
	background: rgb(85,85,85);
}

table.navcal tr.daynums td.selected {
	background: rgb(85,85,85);
}

table.navcal a:link, table.navcal a:visited, table.navcal a:hover {
    color: inherit;
    text-decoration: inherit;
    font-family: inherit;
    font-style: inherit;
    font-variant: inherit;
    display: inline;
}

table.navcal tr.daynums a:link, table.navcal tr.daynums a:visited, table.navcal tr.daynums a:hover {
    color: inherit;
    text-decoration: underline;
    font-family: inherit;
    font-style: inherit;
    font-variant: inherit;
    display: inline;
}

.navilinks {
	border: 1px solid rgb(240,240,240);
	width: 168px;	
	margin-left: 50px;
	margin-right: 20px;
	border: 1px solid rgb(85,85,85);
	background: url("../images/cmtheme/hintergrund_navi_210x800.jpg") repeat-y;
}

.navilinks ul {
	margin: 0px;
	padding: 5px;
	border: 0px;
}

.navilinks ul li {
	list-style: none;
}

.navilinks ul li a {
	padding: 5px;
	display: block;	
}

.navilinks ul li a:hover, .navilinks ul li.selected a {
	background: rgb(85,85,85);
	margin: 0px -5px 0px -5px;
	padding-left: 10px;
}

.article  .textcontainer .text ul li {
	list-style-position: inside;	
}

.article  .textcontainer  .text table.stats {
	border-collapse: true;
	font-size: 90%;
}

.article  .textcontainer .text table.stats tr th {
	border: 1px solid #eee;
	color: #000;
	text-align: left;
	padding: 0px 4px;
	font-size: 90%;
}

.article  .textcontainer .text table.stats tr td {
	border: 1px solid #eee;
	color: #fff;
	padding: 0px 4px;
	font-size: 90%;		
}

.edit_croppreview {
	border: 1px solid rgb(222,102,10);
	float: right;
	width: 140px;
	height: 140px;
	background: rgb(85,85,85);
	margin: 0px;
	padding: 0px;	
}

.show_crop {
	border: 1px solid rgb(222,102,10);
	margin: 0px;
	padding: 0px;	
	float: left;
	width: 140px;
	height: 140px;
}

.picsshowedit {
	overflow: scroll;
	width: 100%;
	height: 160px;
}

.picsshowedit .pic {
	border: 1px solid rgb(222,102,10);
	margin: 0px 10px 10px 0px;
	padding: 0px;
	float: left;
	width: 140px;
	height: 140px;
}
.picsshowedit .pic .deletelink {
	display: block; 
	float:right; 
	margin-top:-15px; 
	margin-right:2px;
}

#new_pictures_container {
	overflow: visible;
}

#new_pictures_container .pagelink {
	display: block; 
	float: left;
	margin-right: 10px; 
}

#new_pictures_container .pic .deletelink {
	display: none;
}