/* Avoid layout issues with side fieldsets, see #8866 */
.admin h1, .admin h2 { margin-top: 0; }

#content.admin h1 { float: left; }

#tabs {
 background: #f7f7f0;
 border: 1px solid black;
 border-color: #ccc #666 #666 #ccc;
 clear: left;
 margin: 1em 0 2em;
 padding: .5em 0 0;
 float: left;
 width: 12em;
 /* taken from #prefs */
 border-radius: 1em;
 box-shadow: .2em .2em .7em 0 #777;
}
#tabs ul { list-style: none; margin: 0 0 .5em; padding: 0; }
#tabs li { color: #999; font-size: 90%; font-weight: bold; margin: 0;
  padding: 0.1em 5px;
}
#tabs li li { color: #000; font-size: 110%; font-weight: normal;
  margin: 0 -3px; padding: 1px 0 1px 10px;
}
#tabs li li.active {
 background: #ddc;
 border: 1px solid;
 border-color: #ccc #999 #999 #ccc;
 border-radius: .2em;
 box-shadow: .1em .2em .5em #aa9;
 padding: 0 0 0 9px;
}
#tabs :link, #tabs :visited { border: none; display: block }
#tabs :link:hover, #tabs :visited:hover { background: transparent;
  color: #000;
}

#tabcontent { padding: 0.4em 0 0.4em 2em; margin-left: 12em; min-height: 300px; }
#tabcontent h2 { color: #333; }
#tabcontent form { overflow: auto; padding: 0 1px; }
p.help { color: #666; font-size: 90%; margin: 1em .5em .5em; }

#enumlist tbody td { vertical-align: middle; }

#tabcontent form.addnew { clear: right; float: right; margin: -2em 0 2em 2em; width: 33%; overflow: visible; padding: 0 }
#tabcontent form.mod { margin-top: 1em; overflow: visible; padding: 0 }
form.mod fieldset { margin: 0 }
form.mod .field { margin: .5em 0; }
form .field em { color: #888; font-size: smaller }
form .field .disabled em { color: #d7d7d7 }

table.listing { clear: none; }
table.listing .sel, table.listing .default { text-align: center; width: 1% }
table.listing .num { text-align: right; width: 1% }

/* Plugins panel */
form#addplug { width: 35% }
.plugin {
 background: #f7f7f7;
 border: 1px solid #d7d7d7;
 margin: 0 0 2em;
 padding: 2px .5em;
 text-align: left;
}
.plugin > .foldable { margin: .5em 0; color: #bb0000; }
.plugin .buttons { margin-top: 0; text-align: right; }
.plugin .uninstall { margin-top: -2.6em; padding: 0; }
.plugin .summary, .plugin .info { padding-left: 16px; color: #999; font-size: 80%; }
.plugin .summary { margin: 1.2em 0 .5em; }
.plugin .info { margin: 1em 0 .5em; }
.plugin .info dt { float: left; width: 7em; }
.plugin .info dd { padding: 0; margin: 0; }
.plugin .listing { width: 100%; }
.plugin .listing td { background: #fff; }
.trac-heading { margin: 0; }
.trac-name { font-family: monospace; }
.trac-toggler { color: #000; font-weight: normal; }
.trac-toggler :link, .trac-toggler :visited,
.trac-toggler :link:hover, .trac-toggler :visited:hover { border: none; padding: 0; }
.trac-module .trac-heading { padding-left: 16px; color: #888; }
.trac-module .trac-heading.foldable { text-indent: -16px }
.trac-module > div { margin-left: 1em; }
.trac-component .trac-heading { margin-left: 2em; padding-left: 16px }
.trac-component .trac-heading.foldable { text-indent: -16px }
.trac-component > div { margin-left: 3em; }
.trac-summary { color: #888 }
.trac-heading :link { padding: .1em .5em 0 20px }
table.trac-pluglist td { padding-left: 1em; }

/* Perm Panel */
#permlist { margin-bottom: 2em; }
#permlist label, #grouplist label {
 float: left;
 min-width: 13em;
 max-width: 33%;
 padding: 0 2em 0 0;
 white-space: nowrap;
}
fieldset tr.field th { text-align: right; }
