/******************************************************************************
 * Login, Apache Errordocs & Maintenance
/******************************************************************************/

html{  height:100%; }

body.login,
body.error-doc{
  background-color:#232825;
  height:100% !important;
  max-width:100% !important;
  overflow:hidden;  
}

div#error-msg {
    margin: auto;
    padding: 114px 0 0;
    width: 320px;
}

body.login h1 a,
body.error-doc h1 a{
	  background-image: url('../../../../../apple-touch-icon-72x72-precomposed.png') !important;
	  background-repeat: no-repeat;
    border-radius: 3px 3px 3px 3px;
	  height:72px;
		width: 72px;
		padding: 0;
		margin: 0 auto 30px;
		text-indent: -9999px;
		overflow: hidden;
    background-size: 72px 72px;
		display: block;
}

body.login form,
body.error-doc #error-box{
  	box-shadow: 0 4px 18px #000;
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 3px 3px 3px 3px;
    font-weight: normal;
    margin-left: 8px;
    padding: 26px 24px 46px;
    position: relative;
    z-index: 50;
}

body.error-doc form#searchform-1 {
    background: none;
    border: none;
    border-radius: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}
body.error-doc label { display:none }
body.error-doc ul{ margin: 0 0 0 1.5em;}
body.error-doc li a{ color: #777777; }

#error-box h2{ margin-bottom:1em;  }
#error-box h3{ margin:1em 0 .25em;  }
#error-box p{ margin-bottom:1em; color: #777777; font-size: 14px; }
 
body.login #nav a,
body.login #backtoblog a{
  background:#fff;
  padding:4px;
  border-radius:4px;
}

/******************************************************************************
 * Artikel- und Seiten-Listen
/******************************************************************************/
.widefat th#author,
.widefat th#thumbnail{
  width:6%;
}

/* decent dimming for posts from other authors */
.edit-php.multi-author #the-list tr.type-post.author-other *{
		opacity:.7;
		filter: alpha(opacity=70);
}

/* show posts from other authors on hover */
.multi-author #the-list tr.type-post.author-other:hover *{
		opacity:1;
		filter: alpha(opacity=100);
}

/************************ Post Statuses */
.post-state span{
		position:relative;
		top:-1px;
		padding:2px 5px;
		font-size:9px;
		font-weight:bold;
		border-radius:4px;
		-moz-border-radius:4px;
		-webkit-border-radius:4px;
}

.post-state .pending {
		color:#000;
		text-shadow:rgba(255,255,255,0.6) 0 1px 0;
		background:#dba811;
		background:-moz-linear-gradient(bottom,  #dba811,  #efcb3b);
		background:-webkit-gradient(linear, left bottom, left top, from(#dba811), to(#efcb3b));
		box-shadow:1px 0 0 #dba811 inset, -1px 0 0 #dba811 inset, 0 1px 0 #dba811 inset, 0 -1px 0 #dba811 inset;
		-webkit-box-shadow:1px 0 0 #dba811 inset, -1px 0 0 #dba811 inset, 0 1px 0 #dba811 inset, 0 -1px 0 #dba811 inset;
		-moz-box-shadow:1px 0 0 #dba811 inset, -1px 0 0 #dba811 inset, 0 1px 0 #dba811 inset, 0 -1px 0 #dba811 inset;
}

.post-state .draft {
		color:#fff;
		text-shadow:rgba(0,0,0,0.7) 0 -1px 0;
		background:#870804;
		background:-moz-linear-gradient(bottom,  #870804,  #c10c05);
		background:-webkit-gradient(linear, left bottom, left top, from(#870804), to(#c10c05));
		box-shadow:1px 0 0 #870804 inset, -1px 0 0 #870804 inset, 0 1px 0 #870804 inset, 0 -1px 0 #870804 inset;
		-webkit-box-shadow:1px 0 0 #870804 inset, -1px 0 0 #870804 inset, 0 1px 0 #870804 inset, 0 -1px 0 #870804 inset;
		-moz-box-shadow:1px 0 0 #870804 inset, -1px 0 0 #870804 inset, 0 1px 0 #870804 inset, 0 -1px 0 #870804 inset;
}

.post-state .sticky {
		color:#fff;
		text-shadow:rgba(0,0,0,0.7) 0 -1px 0;
		background:#277fac;
		background:-moz-linear-gradient(bottom,  #277fac,  #3db0eb);
		background:-webkit-gradient(linear, left bottom, left top, from(#277fac), to(#3db0eb));
		box-shadow:1px 0 0 #277fac inset, -1px 0 0 #277fac inset, 0 1px 0 #277fac inset, 0 -1px 0 #277fac inset;
		-webkit-box-shadow:1px 0 0 #277fac inset, -1px 0 0 #277fac inset, 0 1px 0 #277fac inset, 0 -1px 0 #277fac inset;
		-moz-box-shadow:1px 0 0 #277fac inset, -1px 0 0 #277fac inset, 0 1px 0 #277fac inset, 0 -1px 0 #277fac inset;
}

.post-state .private {
		color:#000;
		text-shadow:rgba(255,255,255,1) 0 1px 0;
		background:#ddd;
		background:-moz-linear-gradient(bottom,  #ddd,  #fff);
		background:-webkit-gradient(linear, left bottom, left top, from(#ddd), to(#fff));
		box-shadow:1px 0 0 #ccc inset, -1px 0 0 #ccc inset, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
		-webkit-box-shadow:1px 0 0 #bbb inset, -1px 0 0 #bbb inset, 0 1px 0 #bbb inset, 0 -1px 0 #bbb inset;
		-moz-box-shadow:1px 0 0 #ccc inset, -1px 0 0 #ccc inset, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
}

.post-state .protected {
		color:#fff;
		text-shadow:rgba(0,0,0,1) 0 -1px 0;
		background:#222;
		background:-moz-linear-gradient(bottom,  #222,  #333);
		background:-webkit-gradient(linear, left bottom, left top, from(#222), to(#555));
		box-shadow:1px 0 0 #222 inset, -1px 0 0 #222 inset, 0 1px 0 #222 inset, 0 -1px 0 #222 inset;
		-webkit-box-shadow:1px 0 0 #222 inset, -1px 0 0 #222 inset, 0 1px 0 #222 inset, 0 -1px 0 #222 inset;
		-moz-box-shadow:1px 0 0 #222 inset, -1px 0 0 #222 inset, 0 1px 0 #222 inset, 0 -1px 0 #222 inset;
}
/* Make the hyphen before all post statuses invisible

funktioniert nicht, wenn nicht genügend Rechte vorliegen um den post zu bearbeiten

#the-list .column-title strong{  	visibility: hidden;	}
#the-list .column-title strong *{  visibility: visible; }
*/
/* Fix ugly alignment bug introduced in WP3.2 */
.widefat td {
		padding-top:6px;
		padding-bottom:6px;
}


/************************ Post Statuses */
/* Image */
.format-image .post-state-format {
	position:relative;
	top:1px;
	left:-2px;
	padding-left:20px;
	background:url('../img/post-formats/postformat-image.png') 0 0 no-repeat;
}

/* Quote */
.format-quote .post-state-format {
	position:relative;
	top:1px;
	left:-2px;
	padding-left:14px;
	background:url('../img/post-formats/postformat-quote.png') 0 0 no-repeat;
}

/* Aside */
.format-aside .post-state-format {
	position:relative;
	top:-1px;
	left:-2px;
	padding-left:15px;
	background:url('../img/post-formats/postformat-aside.png') 0 0 no-repeat;
}

/* Gallery */
.format-gallery .post-state-format {
	position:relative;
	top:1px;
	left:-2px;
	padding-left:20px;
	background:url('../img/post-formats/postformat-gallery.png') 0 0 no-repeat;
}

/* Status */
.format-status .post-state-format {
	position:relative;
	top:0;
	left:-2px;
	padding-left:14px;
	background:url('../img/post-formats/postformat-status.png') 0 0 no-repeat;
}

/* Link */
.format-link .post-state-format {
	position:relative;
	top:1px;
	left:-2px;
	padding-left:18px;
	background:url('../img/post-formats/postformat-link.png') 0 0 no-repeat;
}

/* Add spacing back in for non-admin users
who have to see hyphens */
.author-other.format-image	 .post-state-format,
.author-other.format-quote .post-state-format,
.author-other.format-aside .post-state-format,
.author-other.format-gallery .post-state-format,
.author-other.format-status .post-state-format,
.author-other.format-link .post-state-format {
	left:0;
}


/******************************************************************************
 * Thickbox Upload and Gallery Modal
/******************************************************************************/
.exclude-from-gallery{	display:none;	}
#gallery-form .exclude-from-gallery,
#image-form .exclude-from-gallery{	display: table-row;	}


#gallery-settings tbody tr:nth-child(1),
#gallery-settings tbody tr:nth-child(4){	display:none;	}


/******************************************************************************
 * Post Edit Screen
/******************************************************************************/
table.mceToolbar{	display: block!important;	}
#postexcerpt textarea{	resize:none; width: 100%; height: 6em;}
#slugdiv{display:none!important;}
.posttypediv div.tabs-panel,
.taxonomydiv div.tabs-panel,
.categorydiv div.tabs-panel { 
	height: auto;
}
/******************************************************************************
 * Widgets
/******************************************************************************/
.qtag-toolbar button {
    font-size: 100%;
    margin-bottom: 10px;
}




/******************************************************************************
 * Dashboard
/******************************************************************************/

/***  use favicon as Logo in header-site-link **/
.wp-admin #header-logo {
  	background-image: url('../../../../favicon.ico') !important;
}

/***  prevent dashboard widgets content from overflowing their parents **/
#dashboard-widgets .meta-box-sortables {
  	overflow-x: hidden !important;
}


/***  remove additional white-space on every top of heading **/
#screen-meta-links + br{
		display: none !important;
}

/**
 *	for use with "User Photo" Plugin
 *	make sure, that Avatars are shown correctly
 *	also without correct thumb-size
 */
#the-comment-list .comment-item .avatar{
		width:50px;
		height:50px;
}

