/* from main css */
/* Styles for tabular listings such as those used for displaying directory
   contents and report results. */
table.listing {
 border-bottom: 1px solid #d7d7d7;
 border-collapse: collapse;
 border-spacing: 0;
 margin-top: 1em;
 width: 100%;
 /*
 white-space: nowrap;
 */
}
table.listing th { text-align: left; padding: 0 1em .1em 0; font-size: 12px;}
table.listing thead { background: #f7f7f0 }
table.listing thead th {
 border: 1px solid #d7d7d7;
 border-bottom-color: #999;
 font-size: 10px;
 font-weight: bold;
 padding: 2px .5em;
 vertical-align: bottom;
 min-width: 45px;
}
table.listing thead th :link:hover, table.listing thead th :visited:hover {
 background-color: transparent;
}
table.listing thead th a { border: none; padding-right: 12px }
table.listing th.asc a, table.listing th.desc a { font-weight: bold }
table.listing th.asc a, table.listing th.desc a {
 background-position: 100% 50%;
 background-repeat: no-repeat;
}
table.listing th.asc a { background-image: url(../asc.png) }
table.listing th.desc a { background-image: url(../desc.png) }
table.listing tbody td, table.listing tbody th {
 border: 1px dotted #ddd;
 padding: .3em .5em;
 vertical-align: top;
}
table.listing tbody td a:hover, table.listing tbody th a:hover {
 background-color: transparent;
}

table.listing tbody tr { border-top: 1px solid #ddd; }
table.listing tbody tr.even { background-color: #fcfcfc }
table.listing tbody tr.odd { background-color: #f7f7f7 }
table.listing tbody tr:hover { background: #eed !important }
table.listing tbody tr.focus { background: #ddf !important }
table.listing tbody td.last_update { width: 106px; }
table.listing tbody td.open_date_time { width: 106px; }
table.listing tbody td.summary { min-width: 100px; max-width: 30%; white-space: normal }
table.listing tbody td.milestone { min-width: 100px; max-width: 30%; white-space: normal }
table.listing tbody td.component { min-width: 100px; max-width: 30%; white-space: normal }
table.listing tbody td.priority { min-width: 40px; max-width: 46px }
table.listing tbody td.severity { min-width: 40px; max-width: 46px }
table.listing tbody td.status { min-width: 40px; max-width: 54px }
table.listing tbody td.resolution { min-width: 40px; max-width: 82px }
table.listing tbody td.type { min-width: 100px;}
table.listing tbody td.ticket_id { font-size: 11px; width: 40px; }

table.listing tbody td.milestone_name { min-width: 80px; max-width: 30%; white-space: normal }

table.listing tbody td.component_name { min-width: 50px; max-width: 40%; white-space: normal }
table.listing tbody td.component_owner { min-width: 70px; max-width: 30%; white-space: normal }
table.listing tbody td.component_use { text-align: center; }

table.listing tbody td.types_name { min-width: 50px; max-width: 150px; white-space: normal }
table.listing tbody td.types_edit { max-width: 100px; white-space: nowrap; }
table.listing tbody td.types_status { max-width: 30px; white-space: normal }

table.listing tbody tr.closed-milestone { background: #F9EFEB; }
table.listing tbody tr.will-start-milestone { background: #F9FFEB; }
table.listing tbody tr.running-milestone { background: #EBEFF9; }

table.listing tbody td.component_descriptions-frs-sync { background: #F9F2F1; max-width: 300px; white-space: normal}
table.listing tbody td.component_descriptions-frs { background: #FCFFEB; max-width: 300px; white-space: normal}
table.listing tbody td.component_descriptions-others { background: #F0F3F9; max-width: 300px; white-space: normal}

table.listing tbody tr.component-frs-sync { background: #F9EFEB; }
table.listing tbody tr.component-frs { background: #F9FFEB; }
table.listing tbody tr.component-others { background: #EBEFF9; }

table.listing tbody td.types-desc-not-public { background: #F9F2F1; max-width: 300px; white-space: normal}
table.listing tbody td.types-desc-public { background: #F0F3F9; max-width: 300px; white-space: normal}

table.listing tbody tr.types-not-public { background: #F9EFEB; }
table.listing tbody tr.types-public { background: #EBEFF9; }

/* Forms */
input, select { margin: 2px }
textarea {
    margin: 2px 0;
    width: 94%;
}
input, select { vertical-align: middle }
input[type=text], input.textwidget, textarea { border: 1px solid #d7d7d7 }
input[type=text], input.textwidget { padding: .25em .5em }
input[type=text]:focus, input.textwidget:focus, textarea:focus {
 border: 1px solid #886;
}
option { border-bottom: 1px dotted #d7d7d7 }
fieldset { border: 1px solid #778899; padding: .5em; margin: 1em 0 }
form p.hint, form span.hint { color: #666; font-size: 85%; font-style: italic; margin: .5em 0;
  padding-left: 1em;
}
fieldset.iefix {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  border-top: 0;
}
* html fieldset.iefix { width: 98% }
fieldset.iefix p { margin: 0 }
legend { color: #999; padding: 0 .25em; font-size: 90%; font-weight: bold }
label.disabled { color: #d7d7d7 }
.ticket_buttons { margin: .5em .5em .5em 0 }
.ticket_buttons form, .ticket_buttons form div { display: inline }
.ticket_buttons input { margin: 1em .5em .1em 0 }
.inlinebuttons input {
 font-size: 70%;
 border-width: 1px;
 border-style: dotted;
 margin: 0 .1em;
 padding: 0.1em;
 background: none;
}

/* from report.css */
/*
h1 .numrows, h2 .numrows {
 margin-left: 1em;
 color: #999;
 font-size: 65%;
 font-weight: normal;
}
h2 {
 background: #f7f7f7;
 border-bottom: 1px solid #d7d7d7;
 margin: 2em 0 0;
 padding: 0 .33em;
}
*/

#report-descr { margin: 0 2em; font-size: 90% }
#report-notfound { margin: 2em; font-size: 110% }

#query { clear: right }
#query fieldset, #query fieldset input, #query fieldset select { font-size: 12px }
#query fieldset { margin-top: 1em }
#query .option, #query .option input, #query .option select { font-size: 11px }
#query .option { float: left; line-height: 2em; margin: .9em 2.5em 0 .5em; padding: 0 0 .1em }
#query .ticket_buttons, #user_prefs .ticket_buttons  { float: right; margin-top: .5em }
#query .ticket_buttons input { margin: .5em }
#query hr { clear: both; margin: 0; visibility: hidden }

#filters table { width: 100% }
#filters tr { height: 2em }
#filters th, #filters td { padding: 0 .2em; vertical-align: middle }
#filters th { font-size: 11px; text-align: right; white-space: nowrap; }
#filters td label { font-size: 11px }
#filters td.mode { text-align: right }
#filters td.filter { width: 100% }
#filters td.filter label { padding-right: 1em }
#filters .filter_actions { float: right; margin-top: 5px; }

#massive_changes_query { clear: right }
#massive_changes_query fieldset, #massive_changes_query fieldset input, #massive_changes_query fieldset select { font-size: 11px }
#massive_changes_query fieldset { margin-top: 1em }
#massive_changes_query .option, #massive_changes_query .option input, #massive_changes_query .option select { font-size: 11px }
#massive_changes_query .option { float: left; line-height: 2em; margin: .9em 2.5em 0 .5em; padding: 0 0 .1em }
#massive_changes_query .ticket_buttons { float: right; margin-top: .5em }
#massive_changes_query .ticket_buttons input { margin: .5em }
#massive_changes_query hr { clear: both; margin: 0; visibility: hidden }

#massive_changes_filters table { width: 100% }
#massive_changes_filters tr { height: 2em }
#massive_changes_filters th, #massive_changes_filters td { padding: 0 .2em; vertical-align: middle }
#massive_changes_filters th { font-size: 11px; text-align: right; white-space: nowrap; }
#massive_changes_filters td label { font-size: 11px }
#massive_changes_filters td.mode { text-align: right }
#massive_changes_filters td.filter { width: 100% }
#massive_changes_filters td.filter label { padding-right: 1em }
#massive_changes_filters p { font-size: 14px; }
#massive_changes_filters .filter_actions { float: right; margin-top: 5px; }

/* Styles for the report list and the report results table
   (extends the styles for "table.listing") */
.reports td.title { width: 100% }
.reports tbody td :link, .reports tbody td :visited,
.tickets tbody td :link, .tickets tbody td :visited { display: block }
.tickets { border-bottom: none }
.tickets thead th { text-transform: capitalize; white-space: nowrap; }
.tickets tbody td, .reports tbody td { padding: .1em .5em !important }
.tickets tbody td a, .reports tbody td a { border-bottom: none }
.tickets tbody td.id :link, .tickets tbody td.id :visited {
 font-weight: bold;
}
.tickets tbody tr:hover { background: #eed; color: #000 }
.tickets tr.color1-odd  { background: #fdc; border-color: #e88; color: #a22 }
.tickets tr.color1-even { background: #fed; border-color: #e99; color: #a22 }
.tickets tr.color2-odd  { background: #ffb; border-color: #eea; color: #880 }
.tickets tr.color2-even { background: #ffd; border-color: #dd8; color: #880 }
.tickets tr.color3-odd  { background: #fbfbfb; border-color: #ddd; color: #444 }
.tickets tr.color3-even { background: #f6f6f6; border-color: #ccc; color: #333 }
.tickets tr.color4-odd { background: #e7ffff; border-color: #cee; color: #099 }
.tickets tr.color4-even { background: #dff; border-color: #bee; color: #099 }
.tickets tr.color5-odd { background: #e7eeff; border-color: #cde; color: #469 }
.tickets tr.color5-even { background: #dde7ff; border-color: #cde; color: #469 }
.tickets tr.color6-odd  { background: #f0f0f0; border-color: #ddd; color: #888 }
.tickets tr.color6-even { background: #f7f7f7; border-color: #ddd; color: #888 }
.tickets tr.color6-odd a, .color6-even a { color: #b66 }
.tickets tbody tr.fullrow td, .tickets tbody td.fullrow {
 border: none;
 color: #333;
 background: transparent;
 padding: 0 1em 2em 2em !important;
 font-size: 85%;
}
.tickets tbody tr.fullrow:hover { background: transparent !important }
.tickets .fullrow :link, .tickets .fullrow :visited { display: inline }
.tickets .fullrow .meta { color: #999; margin-bottom: -.5em; margin-left: -1em }
.tickets .fullrow hr { display: none }

/* Query results table */
table.tickets tbody tr.added td { font-weight: bold }
table.tickets tbody tr.changed td { font-style: italic }
table.tickets tbody tr.removed td { color: #999 }
/*
table.tickets tbody tr.prio1 { background: #fdc; border-color: #e88 }
table.tickets tbody tr.even.prio1 { background: #fed; border-color: #e99 }
table.tickets tbody tr.prio2 { background: #ffb; border-color: #eea }
table.tickets tbody tr.even.prio2 { background: #ffd; border-color: #dd8 }
table.tickets tbody tr.prio3  { background: #fbfbfb; border-color: #ddd }
table.tickets tbody tr.even.prio3 { background: #f6f6f6; border-color: #ccc }
table.tickets tbody tr.prio4 { background: #e7ffff; border-color: #cee }
table.tickets tbody tr.even.prio4 { background: #dff; border-color: #bee }
table.tickets tbody tr.prio5 { background: #e7eeff; border-color: #cde }
table.tickets tbody tr.even.prio5 { background: #dde7ff }
table.tickets tbody tr.prio6 { background: #f0f0f0; border-color: #ddd }
table.tickets tbody tr.even.prio6 { background: #f7f7f7 }
*/
table.tickets tbody tr.prio1 { background: #00e300; }
table.tickets tbody tr.even.prio1 { background: #00e310;}
table.tickets tbody tr.prio2 { background: #06ff1f; }
table.tickets tbody tr.even.prio2 { background: #06ff2f; }
table.tickets tbody tr.prio3  { background: #8aff44; }
table.tickets tbody tr.even.prio3 { background: #8aff54; }
table.tickets tbody tr.prio4 { background: #ccff66; }
table.tickets tbody tr.even.prio4 { background: #ccff76; }
table.tickets tbody tr.prio5 { background: #ffff95; }
table.tickets tbody tr.even.prio5 { background: #ffffa5; }
table.tickets tbody tr.prio6 { background: #ffe897; }
table.tickets tbody tr.even.prio6 { background: #ffe8a7; }
table.tickets tbody tr.prio7 { background: #ffca8e; }
table.tickets tbody tr.even.prio7 { background: #ffca9e; }
table.tickets tbody tr.prio8 { background: #ffad95; }
table.tickets tbody tr.even.prio8 { background: #ffada5; }
table.tickets tbody tr.prio9 { background: #ff8888; }
table.tickets tbody tr.even.prio9 { background: #ff8898; }


/* from ticket.css */

#ticket {
 background: #ffd;
 border: 1px outset #996;
 margin-top: 1em;
 padding: .5em 1em;
 position: relative;
 z-index: 0;
}

div#ticket.ticketdraft {
 background: #f4f4f4 url(../draft.png);
}
div#ticketchange.ticketdraft {
 padding: 0 1em;
 margin: 1em 0;
}
div#ticketchange.ticketdraft h3 {
 margin-top: .5em;
}
.preview-notice { font-weight: bold; }

.ticketdraft {
 background: #f4f4f4 url(../draft.png);
 border: 1px outset #996;
 padding: 0 .2em;
}

h1 .status { color: #444; }
#ticket h2.summary { margin: 0 0 .8em 0 }
#ticket .date { color: #996; float: right; font-size: 85%; position: relative }
#ticket .date p { margin: .3em }

#ticket table.properties {
 clear: both;
 border-top: 1px solid #dd9;
 border-collapse: collapse;
 table-layout: fixed;
 width: 100%;
}
#ticket table.properties tr { border-bottom: 1px dotted #eed }
#ticket table.properties td, #ticket table.properties th {
 font-size: 80%;
 padding: .5em 1em;
 vertical-align: top;
}
#ticket table.properties th {
 color: #663;
 font-weight: normal;
 text-align: left;
 width: 20%;
}
#ticket table.properties td { width: 30% }
#ticket table.properties .description { border-top: 1px solid #dd9 }

#ticket .description h3 {
 border-bottom: 1px solid #dd9;
 color: #663;
 font-size: 100%;
 font-weight: normal;
}
#ticket .description h3 .lastmod {
 font-size: 90%;
}
#ticket .inlinebuttons {
 float: right;
 position: relative;
 bottom: 0.3em;
}

#changelog { border: 1px outset #996; padding: 1em }
#preview { border: 1px solid #d7d7d7; padding: 1em }
#preview h3 {
 border-bottom: 1px solid #d7d7d7;
 color: #999;
 font-size: 100%;
 font-weight: normal;
}

#preview h3, #changelog h3 {
 border-bottom: 1px solid #d7d7d7;
 font-size: 100%;
 font-weight: normal;
}

.threading, #changelog .inlinebuttons { float: right; }
.threading { font-size: 90%; }

#preview .changes, #changelog .changes { list-style: square; margin-left: 2em; padding: 0 }
#preview .comment, #changelog .comment { margin-left: 2em }

form .ticket_field { margin-top: .75em; width: 100% }
form #comment { width: 100% }

#properties { white-space: nowrap; line-height: 160%; padding: .5em }
#properties table { border-spacing: 0; width: 100%; }
#properties table th {
 padding: .4em;
 text-align: right;
 width: 20%;
 vertical-align: top;
}
#properties table th.col_r { border-left: 1px dotted #d7d7d7 }
#properties table td { vertical-align: middle; width: 30% }
#properties table td.fullrow { vertical-align: middle; width: 80%; white-space: normal;}

#action { line-height: 2em }

fieldset.radio { border: none; margin: 0; padding: 0 }
fieldset.radio legend {
 color: #000;
 float: left;
 font-size: 100%;
 font-weight: normal;
 padding: 0 1em 0 0;
}
fieldset.radio label { padding-right: 1em }

/* Styles for the form for adding attachments. */
#attachment .ticket_field { margin-top: 1.3em }
#attachment label { padding-left: .2em }
#attachment fieldset { margin-top: 2em }
#attachment fieldset .ticket_field { float: left; margin: 0 1em .5em 0 }
#attachment .options { float: left; padding: 0 0 1em 1em }
#attachment br { clear: left }
.attachment #preview { margin-top: 1em }

/* Styles for the list of attachments. */
#attachments { border: 1px outset #996; padding: 1em }
#attachments .attachments { margin-left: 2em; padding: 0 }
#attachments dt { display: list-item; list-style: square; }
#attachments dd { font-style: italic; margin-left: 0; padding-left: 0; }

/* from roadmap.css */
/* General styles for the progress bars */
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: #666; padding: 0 }
table.progress td.new { background: #f5f5b5 }
table.progress td.closed { background: #bae0ba }
/*table.progress td.open { background: #ffe0ba }*/
table.progress td :hover { background: none }
p.percent { font-size: 10px; line-height: 2.4em; margin: 0.9em 0 0 }

/* Styles for the roadmap view */

ul.milestones { margin: 2em 0 0; padding: 0 }
li.milestone { list-style: none; margin-bottom: 4em }
li.component, li.type { list-style: none; margin-bottom: 0.5em}
.milestone .roadmap_info, .component_info, .type_info { white-space: nowrap }
.milestone .roadmap_info .date {
 color: #888;
 font-size: 11px;
 font-style: italic;
 margin: 0;
}
.milestone .roadmap_info .progress { margin: 1em 1em 0; width: 40em; max-width: 70% }
.milestone dl, .component dl, .type dl {
 font-size: 10px;
 font-style: italic;
 margin: 0 1em 2em;
 white-space: nowrap;
}
.milestone dt, .component dt, .type dt{ display: inline; margin-left: .5em }
.milestone dd, .component dd, .type dd { display: inline; margin: 0 1em 0 .5em }
.milestone .description, .component .description, .type .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: max-width: 50% }
#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.8em; margin-top: 3px }
#stats fieldset { border: 1px solid #d7d7d7; padding: .5em; margin: 1em 0;}

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

/* jquery.pager nav */
.pager_nav {
 background:#EEEEEE none repeat scroll 0 0;
 border-top:1px solid #CCCCCC;
 font-size: 10px;
}

.pager_nav a.highlight {
 color:#ee00ee;
 font-weight:bold;
}
.pager_nav a {
 padding:0 5px;
}

/* for jquery.tablesoter.pager */
/* tables */
table.tablesorter {
/*	font-family:arial;*/
/*	background-color: #CDCDCD;*/
	margin:10px 0pt 15px;
	font-size: 10pt;
	width: 100%;
	text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
/*	background-color: #e6EEEE;*/
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px;
}
table.tablesorter thead tr .header {
	background-image: url("../jquery/tablesorter/bg.gif");
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
/*
table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}

table.tablesorter tbody tr.odd td {
	background-color:#F0F0F6;
}
*/
table.tablesorter thead tr .headerSortUp {
	background-image: url("../jquery/tablesorter/asc.gif");
}
table.tablesorter thead tr .headerSortDown {
	background-image: url("../jquery/tablesorter/desc.gif");
}
/*
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}
*/

/* for jquery.tablesoter.pager */
div.tablesorterPager {
        padding: 10px 0 10px 0;
        background-color: #D6D2C2;
        text-align: center;
}
div.tablesorterPager span {
        padding: 0 5px 0 5px;
}
div.tablesorterPager input.prev {
        width: auto;
        margin-right: 10px;
}
div.tablesorterPager input.next {
        width: auto;
        margin-left: 10px;
}
div.tablesorterPager input {
        font-size: 8px;
        width: 50px;
        border: 1px solid #330000;
        text-align: center;
}

/* settings by tach */
#main-content fieldset {
	padding: 0 0.5em;
}

#main-content legend {
	margin: 0;
	padding: 0 0.5em;
}

/* toggle columns submenu */
#col_toggle {
 overflow: visible;
 overflow-x: visible;
 overflow-y: visible;
 z-index: 90;
 position: absolute;
 background: #f7f7f0;
 border: 3px outset #998;
 padding: 0 5px 0 0;
 min-width: 95px;
}

/* query terms on ticket list */
#result_set_opts {
 color: #998877;
 font-size: 10px;
}

#result_set_opts ul {
    margin-top: 0;
}

div.ticket_rss_link {
    height: 16px;
}

span.sortable_head { margin-right: 12px; }

div.ticket_each_history {
    margin-bottom: 2.5em;
}

#ticket_file_list {
    margin: 1em 0;
}

p.deleted_comment {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: solid 2px pink;
    background-color: #F9EFEB;
    padding: 10px;
    margin: 0.5em;
    text-align: center
}

.sfjp-comment blockquote {
    padding-top: 6px;
    padding-bottom: 6px;
}

.sfjp-comment blockquote p {
    font-style: italic;
}

div.ticket_each_history .sfjp-comment h4 {
    font-size: 85%;
}

div.ticket_field fieldset#form_comment_box {
    margin: 1.5em 0;
}

.not_shown {
    display: none;
}

#extra-desc-switch-all {
    cursor: pointer;
}

hr {
    display: block;
    -webkit-margin-before: 0.5em;
    -webkit-margin-after: 0.5em;
    -webkit-margin-start: auto;
    -webkit-margin-end: auto;
    border-style: inset;
    border-width: 1px;
}

.prefs {
    background: #f7f7f0;
    border: 1px outset #998;
    float: right;
    font-size: 80%;
    padding: .5em;
    position: relative;
    margin: 0 1em;
    z-index: 9;
    max-width: 20em;
    -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 3p 3px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 3 3px 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}

.prefs input, .prefs select { vertical-align: middle }
.prefs fieldset {
 background: transparent;
 border: none;
 margin: .5em;
 padding: 0;
}
.prefs fieldset legend {
 background: transparent;
 color: #000;
 font-weight: normal;
 margin: 0 0 0 -1.5em;
 padding: 0;
}
.prefs .buttons { text-align: right }

form label.inline-label {
    display: inline;
}

div.ticket-fieldset-box {
}

div.ticket-fieldset-box fieldset {
    position: relative;
    padding: 14px;
    background-color: #fff;
    border: 1px solid #000;
    /*
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 0 5px #ccc;
    -moz-box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 5px #ccc;
    */
    
    margin: 0;
    margin-bottom: 5px;
}
div.ticket-fieldset-box fieldset#form_comment_box {
    margin: 0;
    margin-bottom: 5px;
}
div.ticket-fieldset-box fieldset legend {
    color: #000;
    font-weight: normal;
    margin: 0 0 0 0;
    padding: 0;
    border-bottom: 0;
    background-color: #fff;
    width: auto;
    font-size: 16px;
    padding-left: 5px;
    padding-right: 5px;
}

div.components_list .form-horizontal .control-label {
    width: 170px;
}

div.add_filter_block {
    float: right;
    margin-bottom: 10px;
}

#query #filters hr {
    clear: both;
    margin-bottom: 10px;
    visibility: visible;
}

#max_items label.radio, #result_columns label.checkbox {
    margin-left: 20px;
}

/* adhoc fix */
#ticket-stats .tab-content {
    overflow: visible;
}

#ticket-stats table {
    border-collapse: collapse;
    width: 100%
}

#ticket-stats th, #stats td {
    font-size: 10px;
    padding: 0;
    white-space: nowrap
}

#ticket-stats th {
    text-align: right;
}

#ticket-stats th :link,
#ticket-stats th :visited {
    border: none
}

#ticket-stats td {
    padding-left: 0.5em;
    width: 100%
}

#ticket-stats td table.progress {
    margin: 3px 4px 3px 0
}

#ticket-stats td table.progress td {
    padding: 0
}

#ticket-stats td p.percent {
    line-height: 1.8em; margin-top: 3px
}

#result_set {
    overflow-y: scroll;
}
