@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("drupal.org") {

/* body: starring at bright white all day makes people blind */
body { background-color: #fefefe !important; }

/* Squeeze the too large page header. */
#header #header-content { position: relative; height: 36px; }
#header #header-left { display: none; }
#header #header-right { display: block; float: none; width: auto; position: absolute; right: 0; bottom: -25px; }
#header #header-right-inner { margin-top: 0; font-size: xx-small; }
#header #header-right-inner input[type="text"] { padding: 0.6em; }
#header #header-right-inner input[name*="search"] { background-image: none; }
#page .page-title-wrapper { position: absolute; top: 0.6em; }
#page .page-title-wrapper, #page .page-title-wrapper h1 { color: #cde; }

/* layout */
#header-inner, #page { width: 98% !important; margin-left: 1% !important; margin-right: 1% !important; }
#page .grid-12 { width: 98% !important; margin-left: 1% !important; margin-right: 1% !important; }
#page .grid-11 { width: 91% !important; }
#page .grid-10 { width: 83% !important; }
#page .grid-9 { width: 75% !important; }
#page .grid-8 { width: 64% !important; }
#page .grid-7 { width: 58% !important; }
#page .grid-6 { width: 50% !important; }
#page .grid-5 { width: 41% !important; }
#page .grid-4 { width: 32% !important; }
#page .grid-2 { width: 16% !important; }
#page .grid-1 { width: 8% !important; }

/* Fix UX of END keyboard navigation. */
#footer { height: 0px; overflow: hidden; padding-bottom: 0; }
#footer:hover { height: auto; }

/* RSS: draws attention, we use modern browsers */
#feeds { display: none; }

/* content and forms: unreadable/unusable due to casual font */
#page, #page th, #page td, .views-exposed-form { font-family: Tahoma, Verdana, sans-serif !important; font-size: 11px !important; }
#page input, #page select, #page option { font-family: Verdana, sans-serif !important; font-size: 12px !important; }
table input[type=checkbox] { margin: 0 0.3em 0 0 !important; vertical-align: middle !important; }
textarea { font: 13px "Courier New", Verdana, sans-serif !important; }

/*.fieldset-legend { background-color: rgba(0,0,0,0.04) !important; }*/
#project-issue-node-form fieldset.collapsible:not(.filter-wrapper) { margin-top: 2em; padding: 0; background-color: transparent !important; }
#project-issue-node-form fieldset.collapsible:not(.filter-wrapper) > .fieldset-wrapper { display: block !important; }
#project-issue-node-form fieldset.collapsible:not(.filter-wrapper) > legend { display: none; }
.tabledrag-toggle-weight-wrapper { display: none; }
#project-issue-node-form select { border: 1px solid #999; }
form .description a { font-weight: normal !important; }

/* links: almost invisible due to too light font color */
#page a { font-weight: bold; }

/* nodes/comments */
.submitted { font-size: 1em !important; }
.submitted .username { font-size: 100% !important; font-weight: bold !important; }

/* node/content */
.node .submitted { margin-bottom: 1em !important; }
table#extended-file-field-table-field-issue-files { border: 0 !important; }
table#extended-file-field-table-field-issue-files td:not([colspan]) { border: 0 solid white !important; border-width: 6px 0 0px !important; }

/* comments */
.comment { padding-top: 0.6em !important; }
.comment.system-message .content { padding-left: 40px; }
.comment .picture { margin-top: 0.2em; opacity: 0.3; transition: opacity 1s; }
.comment:hover .picture { opacity: .9; }
.comment .picture img { border-radius: 5px; }
/*.comment .picture img { border-radius: 50%; border: 6px solid #f0f0f0; -moz-box-sizing: content-box; margin-left: -6px; }*/
.comment .permalink { font-size: 120% !important; }
.comment.system-message .permalink { color: #bbb; }
.comment .new { background: none !important; color: #c33 !important; margin: -0.1em -2.8em 0 0.5em !important; padding: 0 !important; }
table.nodechanges-field-changes { width: 100% !important; border: 0 !important; color: #666; }
table.nodechanges-field-changes tr.odd { background-color: transparent; }
table.nodechanges-field-changes a { font-weight: normal !important; }
table.nodechanges-field-changes td:not([colspan]) a { margin-left: 0.2em; }
table.nodechanges-field-changes .project-issue-issue-link:after { content: ""; display: block; }
table.nodechanges-field-changes th { padding: 0 1em !important; }
table.nodechanges-field-changes th:first-child, table.nodechanges-field-changes td:first-child:not([colspan]) { padding-left: 0 !important; }
table.nodechanges-field-changes td:first-child { width: 14%; }
table.nodechanges-field-changes td:nth-child(1n+2) { width: 43%; }
table.nodechanges-field-changes td[colspan] { width: 86%; }
table.nodechanges-field-changes td[colspan] a:before { padding-left: 51.7%; content: "» " }
table.nodechanges-field-changes td { border-bottom: 1px solid #f6f6f6; padding-top: 0.2em; padding-bottom: 0.2em; vertical-align: top; }
table.nodechanges-field-changes td:nth-child(2) { color: #855; }
table.nodechanges-field-changes td:nth-child(3) { color: #474; }
.field-name-field-issue-files table, .field-name-field-issue-changes table.nodechanges-file-changes { max-width: 100%; }
table.nodechanges-file-changes { border: 0 !important; }
table.nodechanges-file-changes thead { display: none; }
table.nodechanges-file-changes th { padding: 0 1em !important; }
table.nodechanges-file-changes th:first-child, table.nodechanges-file-changes td:first-child:not([colspan]) { padding-left: 0 !important; }
table.nodechanges-file-changes tr:first-child td:first-child { width: 14%; }
table.nodechanges-file-changes td:not([colspan]) { border: 0 solid white !important; border-width: 10px 0 1px !important; }
table.nodechanges-file-changes ~ fieldset { margin-bottom: 1.5em !important; background-color: transparent !important; }
table.nodechanges-file-changes ~ fieldset .fieldset-legend { background-color: #fbfbfb !important; }
table.nodechanges-file-changes ~ fieldset .fieldset-legend a { font-weight: normal !important; color: #777; }

.comment:not(.system-message) .content > .field-name-comment-body { margin-top: 1em; margin-bottom: 1.5em; }
.comment:not(.system-message) .content > .field ~ .field-name-comment-body { margin-top: 1.6em; }

.comment .links { font-size: 100% !important; }

/* Place comment links next to comment #id */
#content .comment { position: relative; }
#content .comment .links.inline { position: absolute; top: 1ex; right: 3.5em; text-transform: uppercase; }
#content .comment .links.inline a { opacity: 0; transition: opacity 0.5s; font-weight: normal !important; }
#content .comment:hover .links.inline a, #content .comment .links.inline a:focus { opacity: 1; color: #0678BE; }


/* tables */
table.comment-upload-attachments, div[id^=pift-results] table { background-color: #f3f3f3 !important; position: relative; left: -0.5em; }
table.comment-upload-attachments td { color: #666 !important; }
table.comment-upload-attachments tr.odd { background-color: #fbfbfb !important; }
div[id^=pift-results] table tr.odd { background-color: #fbfbfb; }
tr.even { background-color: #f6f6f6; }

/* PIFT results: Broken row coloring. */
div[id^=pift-results] tr.pift-pass td, div[id^=pift-results] tr.pift-fail td { background-color: transparent !important; }

/* code */
div.codeblock, pre { background-color: #fafafd !important; border-color: #eee; }
div.codeblock code { background-color: transparent !important; padding: 0 !important; }
code, pre { background-color: #f8f8fa !important; font-size: 12px !important; line-height: 130% !important; font-family: "Courier New","Bitstream Vera Sans Mono",Monaco,"Lucida Console",monospace !important; }
pre { padding: 0.3em !important; }

/* views exposed filters */
.view-project-issue-search-project .views-exposed-widget:nth-child(4) { float: none !important; }
.views-exposed-form .views-exposed-widget .form-submit { margin-top: 1.3em !important; }

/* views */
table.project-issue { width: 100%; }
th { background: transparent none !important; }

.views-table.project-issue tr td { padding: 0.35em 0.5em !important; }
.views-table.project-issue tr td { border-width: 1px !important; border-color: #aaa !important; border-bottom-width: 0 !important; }
.views-table.project-issue tr.views-row-last td { border-bottom-width: 1px !important; }
.views-table.project-issue td.views-field-title { max-width: none !important; }
.views-field-sid, .views-field-priority, .views-field-category, .views-field-version, .views-field-component, .views-field-comment-count, .views-field-last-comment-timestamp, .views-field-name, .views-field-created { white-space: nowrap !important; }

.views-field-comment-count a { display: none; }

.views-table.project-issue tbody tr a { color: #259 !important; }
.views-table.project-issue tbody tr .marker { color: #f33 !important; }

/* Shorten RTBC status column to just "RTBC" */
#page .views-table.project-issue tr.state-14 .views-field-field-issue-status { font-size: 0 !important; }
#page .views-table.project-issue tr.state-14 .views-field-field-issue-status:after { content: "RTBC"; display: inline-block; padding: 0.4em 0 0 0.5em; font-size: 11px !important; }

/* Shorten Postponed (maintainer needs more info) status column to just "Needs info" */
#page .views-table.project-issue tr.state-16 .views-field-field-issue-status { font-size: 0 !important; }
#page .views-table.project-issue tr.state-16 .views-field-field-issue-status:after { content: "Needs info"; display: inline-block; padding: 0.4em 0 0 0.5em; font-size: 11px !important; }

/* Status + Category should not wrap. */
.views-table.project-issue .views-field-field-issue-status, .views-table.project-issue .views-field-field-issue-category { white-space: nowrap; }

/* Project issue queue status colors */
/* active */
.project-issue tr.state-1 td { background-color: #fff !important; }
.project-issue tr.state-1 td.active { background-color: #fff !important; }
/* needs work */
.project-issue tr.state-13 td { background-color: #ffe !important; }
.project-issue tr.state-13 td.active { background-color: #fffff4 !important; }
/* needs review */
.project-issue tr.state-8 td { background-color: #ffe !important; }
.project-issue tr.state-8 td.active { background-color: #fffff4 !important; }
/* to be ported */
.project-issue tr.state-15 td { background-color: #ffe !important; }
.project-issue tr.state-15 td.active { background-color: #fffff4 !important; }
/* RTBC */
.project-issue tr.state-14 td { background-color: #eafff0 !important; }
.project-issue tr.state-14 td.active { background-color: #f6fff6 !important; }
/* fixed */
.project-issue tr.state-2 td { background-color: #f3f3f3 !important; }
.project-issue tr.state-2 td.active { background-color: #f6f6f6 !important; }
/* postponed */
.project-issue tr.state-4 td { background-color: #f3f3f3 !important; }
.project-issue tr.state-4 td.active { background-color: #f6f6f6 !important; }
/* needs more info */
.project-issue tr.state-16 td { background-color: #f3f3f3 !important; }
.project-issue tr.state-16 td.active { background-color: #f6f6f6 !important; }
/* 3 = duplicate, 5 = won't fix, 6 = as designed, 18 = cannot reproduce */
.project-issue tr.state-3 td,
.project-issue tr.state-5 td,
.project-issue tr.state-6 td,
.project-issue tr.state-18 td { background-color: #dce !important; }
.project-issue tr.state-3 td.active,
.project-issue tr.state-5 td.active,
.project-issue tr.state-6 td.active,
.project-issue tr.state-18 td.active { background-color: #e6d6f6 !important; }

/* Fix wrong zebra striping (and border) for pager when in .odd row */
.project-issue tr.odd td[colspan] { background-color: #fff; border-bottom: 0 !important; }

/* Fix insufficient line-height for links in related issues block. */
.project-issue-status-info a { line-height: 150% !important; }


}