/* General styles for the progress bars */
.progress_bar_holder
{
 padding-top: 0.5em;
 width: 90%;
 background: #fff;
 margin-left: 0.8em;
}

.progress_bar
{
 border: 1px solid #949494;
 background: #949494;
}

.progress_bar_interval 
{ 
 background: #fff; 
 border-spacing: 0;
 margin: 0;
 padding: 0;
 font-weight: bold;
}

.progress_bar_interval .new             { background: #333333; }
.progress_bar_interval .assigned        { background: #777777; }
.progress_bar_interval .sized           { background: #ffe1e6; }
.progress_bar_interval .unsized         { background: #333333; }
.progress_bar_interval .partially_sized { background: #777777; }
.progress_bar_interval .accepted        { background: #ffdee3; }
.progress_bar_interval .test            { background: #ffba74; }
.progress_bar_interval .doc             { background: #f5f5b5; }
.progress_bar_interval .closed          { background: #bae0ba; }

.legend_swatch
{
 border: 1px solid #acacac;
 border-spacing: 0;
 margin: 0;
 padding: 0;
 display: inline;
}

.swatch_new             { background-color: #333333; }
.swatch_assigned        { background-color: #777777; }
.swatch_sized           { background-color: #ffe1e6; }
.swatch_partially_sized { background-color: #777777; }
.swatch_unsized         { background-color: #333333; }
.swatch_accepted        { background-color: #ffdee3; }
.swatch_test            { background-color: #ffba74; }
.swatch_doc             { background-color: #f5f5b5; }
.swatch_closed          { background-color: #bae0ba; }

.empty_cell { display: table-cell; width: 1em; }

.completion
{
 border: 1px solid #acacac;
 background-color: #9dff9d;
 border-spacing: 0;
 margin: 0;
 padding: 0;
 display: inline;
}

.completion_done           { background-color: #61e161; }
.completion_not_done       { background-color: #e64957; }
.completion_complete       { background-color: #d5ecd5; }
.completion_not_complete   { background-color: #ffe1e6; }
.completion_not_applicable { background-color: #ffffff; }
.completion_not_defined    { background-color: #333333; }

/* you should remove the fixed resolution but old tickets might use it */
.completion_closed_fixed      { background-color: #61e161; }
.completion_closed_available  { background-color: #61e161; }

/* all 'invalid' resolutions */
.completion_closed_invalid                  { background-color: #9dff9d; }
.completion_closed_duplicate                { background-color: #9dff9d; }
.completion_closed_notrequired              { background-color: #9dff9d; }
.completion_closed_reassignedtootherproject { background-color: #9dff9d; }

/* still might be an issue */
.completion_closed_wontfix         { background-color: #ffa321; }
.completion_closed_worksforme      { background-color: #ffa321; }
.completion_closed_cantreproduce   { background-color: #ffa321; }
.completion_closed_notreproducible { background-color: #ffa321; }

/* completion of other stories reflect this completion state */
.completion_closed_split           { background-color: #fdfe7d; }
.completion_closed_blockednoeffect { background-color: #ffd3cc; }


.completion_stage {}
.completion_details { width: 4em; }

.id { width: 4em; }
.size { width: 4em; }
.done { width: 4em; }

.hint { color: #666; font-size: 85%; font-style: italic; margin: 0;
  padding-right: 0.5em;
}

.story_stats { margin: 0; width: 3em; }
.due_date { color: #444; font-size: 85%; font-style: italic; margin: 0; width: 8em; }
.expected_date { font-size: 85%; margin: 0; width: 10em; }
.done_percent { font-size: 85%; margin: 0; width: 3em; }
.expected_text { color: #444; font-size: 85%; font-style: italic; margin: 0; width: 10em; }

.component { font-weight: bold; background: #f7f7f0; }

table.progress {
 border: 1px solid #d7d7d7;
 border-collapse: collapse;
 border-spacing: 0;
 float: left;
 margin: 0;
 padding: 0;
 empty-cells: show;
}
table.progress a, table.progress :link, table.progress :visited,
table.progress :link:hover, table.progress :visited:hover {
 border: none;
 display: block;
 width: 100%;
 height: 1.2em;
 padding: 0;
 margin: 0;
 text-decoration: none
}
table.progress td { background: #fff; padding: 0 }
table.progress td.new { background: #f5f5b5 }
table.progress td.closed { background: #bae0ba }
table.progress td :hover { background: none }
p.percent { 
 font-size: 10px; 
 line-height: 2.4em; 
 margin: 0.9em 0 .1em 1.2em; 
 float: left; 
}

/* Styles for the roadmap view */
.milestone_priority_0 { background-color: #fcfcff; /*border-left: 3px solid #d7d7d7;*/ }
.milestone_priority_1 { background-color: #f6f6f9; }

ul.milestones { margin: 2em 0 0; padding: 0 }
li.milestone { list-style: none; margin-bottom: 4em }
.milestone .info { white-space: nowrap }
.milestone .info h2 {
 background: #f7f7f7;
 border-bottom: 1px solid #d7d7d7;
 margin: 0;
}
.milestone .info h2 :link, .milestone .info h2 :visited {
 color: #000;
 display: block;
 border-bottom: none;
}
.milestone .info h2 :link:hover, .milestone .info h2 :visited:hover {
 color: #000;
}
.milestone .info h2 em { color: #b00; font-style: normal }
.milestone .info .iteration_date {
 background: #f7f7f7;
}

.milestone .info .date {
 color: #888;
 font-size: 11px;
 font-style: italic;
 margin: 0;
}

.milestone .info .priority {
 color: #888;
 font-size: 9px;
 font-style: italic;
 margin: 0;
}

.milestone .info .progress { margin: 1em 0 0 1em; width: 40em; max-width: 70% }
.milestone .info dl {
 font-size: 10px;
 font-style: italic;
 margin: 0 1em 2em;
 white-space: nowrap;
 clear: left;
}
.milestone .info dt { display: inline; margin-left: .5em }
.milestone .info dd { display: inline; margin: 0 1em 0 .5em }
.milestone .description { margin-left: 1em }

/* Styles for the milestone view */
.milestone .date { color: #888; font-style: italic; margin: 0 }
.milestone .description { margin: 1em 0 2em }

/* Styles for the milestone statistics table */
#stats { float: right; margin: 0 0 2em 2em; width: 400px; max-width: 40% }
#stats legend { white-space: nowrap }
#stats table { border-collapse: collapse; width: 100% }
#stats th, #stats td { font-size: 10px; padding: 0; white-space: nowrap }
#stats th { text-align: right; }
#stats th :link, #stats th :visited { border: none }
#stats td { padding-left: 0.5em; width: 100% }
#stats td table.progress { margin: 3px 4px 3px 0 }
#stats td table.progress td { padding: 0 }
#stats td p.percent { line-height: 1.2em; margin-top: 3px }

/* Styles for the milestone edit form */
#edit fieldset { margin: 1em 0 }
#edit em { color: #888; font-size: smaller }
#edit .disabled em { color: #d7d7d7 }
#edit .field { margin-top: 1.3em }
#edit label { padding-left: .2em }
#edit fieldset.iefix { margin-left: 1px; margin-right: 1px }
#edit textarea#description { margin-left: -1px; margin-right: -1px; padding: 0; width: 100% }
#edit .wikitoolbar { margin-left: -1px }

