/* -- Icons ----------------------------------------------------------------- */
.adminicon {
  background: url(../images/admin-sprite.png) no-repeat;
  display: -moz-inline-box;
  display: inline-block;
  height: 16px;
  vertical-align: middle;
  width: 16px;
}

.adminicon.comment-delete { background-position: -180px 0; }
.adminicon.comment-list   { background-position: -196px 0; }
.adminicon.logout         { background-position: -213px 0; }
.adminicon.media-delete   { background-position: -147px 0; }
.adminicon.media-list     { background-position: -164px 0; }
.adminicon.media-new      { background-position: -130px 0; }
.adminicon.page-delete    { background-position: -97px 0;  }
.adminicon.page-edit      { background-position: -81px 0;  }
.adminicon.page-list      { background-position: -113px 0; }
.adminicon.page-new       { background-position: -65px 0;  }
.adminicon.post-delete    { background-position: -32px 0;  }
.adminicon.post-edit      { background-position: -16px 0;  }
.adminicon.post-list      { background-position: -48px 0;  }
.adminicon.post-new       {}

.adminicon.sort {
  height: 5px;
  width: 7px;
}

.adminicon.sort.asc  { background-position: -230px 0; }
.adminicon.sort.desc { background-position: -230px -6px; }

/* -- Toolbar Login Form ---------------------------------------------------- */
#adminToolbar form {
  float: right;
  margin: 0;
}

#adminToolbar form div { display: inline; }

/* -- Toolbar Icons --------------------------------------------------------- */
.toolbar {
  background: #f5f5f5;
  border: 1px solid #dfdfdf;
  padding: 3px 4px 4px 4px;
}

.toolbar ul {
  float: left;
  list-style: none;
  margin: 0;
  padding: 0 6px;
}

.toolbar ul.edit { padding-left: 0; }
.toolbar ul.tools { border-left: 1px solid #dfdfdf; }

.toolbar ul:after {
  clear: left;
  content: '.';
  display: block;
  height: 0;
  visibility: hidden;
}

.toolbar ul li {
  float: left;
  margin-left: 1px;
}

.toolbar ul li:first-child { margin-left: 0; }

.toolbar a {
  border: 1px solid transparent;
  cursor: pointer;
  display: block;
  padding: 3px;
}

.toolbar a:hover {
  background: #dfebff;
  border: 1px solid #0A46AF;
}

.toolbar a img {
  border: 0;
  height: 16px;
  width: 16px;
}

@media print {
  .toolbar { display: none; }
}

/* -- Mini-Toolbar ---------------------------------------------------------- */
.toolbar.mini {
  background: none;
  border: 0;
  padding: 0;
}

/* -- Comment Mini-Toolbar -------------------------------------------------- */
.comment { position: relative; }

.comment .toolbar {
  position: absolute;
  right: -3px;
  top: 3px;
}

/* -- Misc. Forms ----------------------------------------------------------- */

fieldset.default {
  border: 0;
  padding: 0;
}

form div.field { margin-bottom: 1em; }
form div.field label {
  display: block;
  font-weight: bold;
}

form p.buttons { margin: 0.5em 0 1em; }

ol.suggested-tags {
  list-style: none;
  margin:  0.5em 0;
  padding: 0;
}

ol.suggested-tags li {
  float: left;
  margin-right: 0.3em;
}

ol.suggested-tags li:after { content: ', '; }
ol.suggested-tags li:last-child:after { content: ''; }
ol.suggested-tags li a { white-space: nowrap; }

#page-form,
#post-form { margin-bottom: 2em; }

#page-form #body,
#page-form #title,
#post-form #body,
#post-form #title,
#post-form #tags { width: 99%; }

#page-form #name,
#post-form #name { width: 15em; }

.tips {
  background: #eff7ff;
  border: 1px solid #afd4ff;
  margin-left: 0;
  padding: 0.8em;
  padding-left: 1.8em;
}

.tips li { margin-bottom: 0.5em; }

.tips kbd {
  background: #f7f1d8;
  border: 1px solid #efdb7f;
  font-size: 85%;
  padding: 0 3px 1px;
  white-space: nowrap;
}

/* -- Lists ----------------------------------------------------------------- */
table.list {
  width: 100%;
}

table.list th,
table.list td { padding: 1px 2px 1px 2px; }

table.list thead th {
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
}

table.list tbody tr.empty { font-style: italic; }
table.list tbody tr.even { background: #d7e6ff; }
table.list tbody tr.odd { background: #fff; }
table.list tbody tr:hover { background: #d0dbf7; }

table.list tbody td { border: 1px solid transparent; }
table.list tbody tr:hover td { border: 1px solid #9ab3f7; }

table.list td.created,
table.list td.updated { white-space: nowrap; }

table.pages td.name { white-space: nowrap; }

table.media td.size { text-align: right; }

/* -- Media ----------------------------------------------------------------- */
fieldset.replace { padding: 0.3em 1em; }

table.details th {
  font-weight: bold;
  padding-right: 4px;
  text-align: right;
}

table.details.media tr.filename td,
table.details.media tr.path td {
  font-family: Consolas, Monaco, 'Courier New', monospaced;
}

/* -- Welcome Page ---------------------------------------------------------- */
.welcome .version {
  color: #666;
  font-size: 85%;
  float: right;
}

.welcome dl.customizing { margin-left: 2ex; }
.welcome dl.customizing dt { font-weight: bold; }
.welcome dl.customizing dd { margin: 0 0 1em 0; }
