@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("https://addons.mozilla.org/"){

div.featured.listing,
html,
body,
#footer {
    background: #000 !important;
    border: 0 !important;
}

#footer {
    border-top: 1px solid #222 !important;
}

.person-info *,
.highlight p,
.percentage,
.slower,
.addon,
.rank,
.primary p,
.prose p,
.prose,
#contribution b,
#contribution p,
#addon-summary,
#addon-description.prose,
.description,
.item p,
div.listing-header,
label.query-label,
.item div,
a:link, 
a:visited,
.more,
.desc,
option,
div.category.more-info {
    color: #aaa !important;
}

.slower b {
    color: red !important;
}
.listing.results,
#perf-results,
#contribution,
.previews.carousel,
#login,
#login-help,
div.primary.login .featured,
div#advanced-search.advanced,
ul#categoriesdropdown,
.features.listing,
.highlight,
#side-nav.c,
.island {
    background: #111 !important;
    border: 1px solid #222 !important;   
    box-shadow: none !important
}

.thumbs > li {
    border: 0 !important;
    background: #111 !important;
}

h1,
h2,
h3,
h4,
h5,
.meta,
.island thead,
span.greeting,
.control:hover:not(.disabled),
#promos .control:hover:after {
    color: steelblue !important;
}

.facet.active,
.facet:hover,
.secondary a:hover,
.extras ul,
#sorter>ul>li.extras:hover:after,
#sorter>ul>li.extras:hover > a,
div.inner:hover,
.item:hover,
.menu-nav > ul a:hover,
#side-nav li a:visited,
.s-featured #side-nav .s-featured a,
.s-users #side-nav .s-users a,
.s-rating #side-nav .s-rating a,
#side-nav a:hover {
    background-color: #222 !important;
}

.rating_bar,
div.item-info,
.review,
.extras ul,
#sorter>ul>li.extras:hover a,
#developer-comments,
#detail-relnotes,
#detail-relnotes .items,
#recommendations-grid,
#collections-grid,
#beta-channel,
#author-addons,
.avatar,
input#query {
    border-color: #000 !important;
}

div#categories.categories h3,
.island tbody tr:nth-child(2n),
div#addon-list-options.listing-header {
    background: #222 !important;
    border-color: #222 !important;
    color: #aaa !important; 
    border-radius: 0 !important;
}

.control,
.island tbody tr:nth-child(2n+1) {
    background: #333 !important;
}

aside.secondary.user-avatar,
#sorter>ul>li.extras:hover ul a:hover,
div.listing-footer,
.item,
.menu-nav em,
.menu-nav > ul > li:hover > *,
.menu-nav > ul > li:hover::after {
    background: #111 !important;
}

.hovercard:hover,
.menu-nav > ul > li:hover > * {
    border: 1px solid #222 !important;
}

a.screenshot.thumbnail,
a.controller {
    background-color: #000 !important;
}

.results-inner,
div.listing-footer,
div.inner a,
.hovercard img {
    border: 0 !important;
}

div.listing-header,
.island thead,
.listing-header a:hover,
div.inner,
.hovercard:hover,
.hovercard:hover *:not(.button):not(span) {
    background: #000 !important;
}

.hovercard:hover .icon {
    border: solid #222 !important;
    border-width: 1px 0 1px 1px !important;
}

a.suggested-amount,
div.contribute,
a.button,
.button span {
    color: #eee !important;
}

span.indicator,
span.items,
div.contribute {
    background: royalblue !important;
}

div#refine-results.highlight ul,
#perf-results-inner *,
.paginator.c,
a.screenshot.thumbnail,
div.listing-header,
.item,
hr,
.info,
.vital,
.action,
div.inner,
div.featured-inner,
div.featured.listing {
    border-color: #222 !important;
}

.item {
    padding-right: 20px !important;
}

#id_bio_0,
input[type="text"],
input#LoginEmail,
input#LoginPassword {
    -moz-appearance: none !important;
    background-color: #000 !important;
    border-color: #222 !important;
    box-shadow: none !important;
    color: #aaa !important;
}

input#query,
.header-search .wrap,
input#search-q {
    -moz-appearance: none !important;
    background-color: #111 !important;
    color: #aaa !important;
}

#categoriesdropdown > li > ul,
.facet,
.more,
.other-categories.highlight > ul,
#reviews .items,
legend,
p.footer-submit {
    border-color: #333 !important;
}

.header-search .wrap {
    background-image: url("https://static-cdn.addons.mozilla.net/media/img/icons/search.png?ea441da")!important;
}

div#starter.feature.promo-collection.promo a {
    background: rgba(0,0,0,.7) !important;
}

select,
select:focus { 
    -moz-appearance:none !important;
    background-color: #111 !important;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAACXBIWXMAAC4jAAAuIwF4pT92AAAA4klEQVR42jXPPaqDQBAH8CWdJ3hd6kD6QO4gYuEBBMEP0EIFP0BEz+CKjZ0nSKGlvPeQgIWVHsQixGiKzYyQ4rf8dxh2Zkkcx4ckSQhyXfcHfe9oP8IwPJVleZum6TGO46MoilsQBKe9QdO0KzT8DsPA5nl+o77vGdTugCM8z1Pf95emaV5d163gVdf10/M8pqrqkYiiSBVFWSilK9jyPN+yLFtkWWa6rh+J4zhXaPqDeaxt2w280zRlgiDcoyji9iUtyzobhvFfVdWKMJumed6XhG9yGGzbvkiSRBFmrMELhw9B4Yc3YgC0lAAAAABJRU5ErkJggg==") !important;
    background-position: 99% 55% !important;
    background-repeat: no-repeat !important;
    border:1px solid #333 !important;
    border-radius: 3px !important;
    padding-right: 12px !important; 
    padding-top: 1px !important;
    color: #aaa !important;
    
}

select:focus > option:checked {
    background: #333 !important;
}

input[type='text']:focus,
input[type='password']:focus {
    outline-color: steelblue !important;
}

#promos .control::after {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.control.disabled {
    color: #222 !important;
}

.bar {
    background-color: steelblue !important;
}

}
