/* PRETTY FORMS
-------------------------------------------------------------- */
.prettyform fieldset { margin: 10px 0 0 0; padding: 0 10px; border: 0; border-top: 1px solid #F99; }
.prettyform fieldset legend { padding: 0 5px; font-weight: bold; color: #cc3333; }
.prettyform fieldset ol, .prettyform fieldset ul { list-style-type: none; padding: 0; margin: 10px 0 20px 0; }
.prettyform fieldset li { padding: 5px 0; line-height: normal; }

.prettyform label {
	display: -moz-inline-box;
	display: inline-block;
	vertical-align: top;
	width: 150px;
	padding: 3px 0;
	cursor: default;
}

.prettyform fieldset li div { margin-left: 154px; }
.prettyform fieldset li div.desc { margin-left: 154px; font-size: smaller; width: 280px; }
.prettyform fieldset li.nopad div { margin-left: auto; }
.prettyform fieldset li div label { width: auto; }
.prettyform .actioncontrols { margin-left: 162px; }
.prettyform .prettytable { margin-left: 165px; }

.noborder fieldset { border: 0; }


/* PRETTY TABLES
-------------------------------------------------------------- */

table.prettytable { border-collapse: collapse; border: 0; border-top: 1px solid #ddd; border-left: 1px solid #ddd; }
.prettytable tr { border: 0; }
.prettytable th { border: 0; border-bottom: 1px solid #eee; border-right: 1px solid #eee; padding: 3px 5px; }
.prettytable td { border: 0; border-bottom: 1px solid #ddd; border-right: 1px solid #ddd; padding: 3px 5px; }
.prettytable th { background: #b7e7fb url(../img/td_bg.gif); text-align: left; color: #000; font-weight: bold; }
.prettytable th.icol { text-align: right; }
.prettytable th.ccol { text-align: center; }

.prettytable .vertical {
	writing-mode: tb-rl;
	filter: flipv fliph;
	white-space: nowrap;
}

.prettytable .right { text-align: right; }
.prettytable th.nowrap, .prettytable td.nowrap { white-space: nowrap; }
.prettytable tr.shead { background-color: #DDD; font-weight: bold; }
.prettytable tr.tfoot, .prettytable .tfoot { background-color: #EEE; }
.prettytable tr.tfootb, .prettytable .tfootb { background-color: #EEE; font-weight: bold; }
.prettytable tr.overdue { background-color: #FCC; }
.prettytable tr.overdue-report { background-color: #FFA; }
.prettytable tr.deleted { background-color: #DDD; }
.prettytable tr.returned { background-color: #CCF; }
.prettytable tr.alt td { background-color: #eef9ff; }
.prettytable tr.alt td.highlight { background-color: #ffd; }
.prettytable td.highlight { background-color: #FFD; }
.prettytable .highlight { background-color: #FFD; }
.prettytable th.highlight { background-color: #99c8d6; }
.prettytable .red { color: Red; }
.prettytable .green { color: Green; }
.prettytable td.green { background-color: #BFC; }
.prettytable td.red { background-color: #FCC; }

.prettytable th.header { cursor: pointer; white-space: nowrap; }

th.sortable, th.sortable-text, th.sortable-date, th.sortable-keep, th.sortable-date-dmy, th.sortable-numeric, th.sortable-currency, th.sortable-sortImage, th.sortable-sortdatetime { cursor: pointer; white-space: nowrap; }
th.forwardSort, th.reverseSort { background: #b7e7fb url(../img/td_bg_sorted.gif); }
th.forwardSort a, th.reverseSort a, th.sortable a, th.sortable-text a, th.sortable-date a, th.sortable-keep a, th.sortable-date-dmy a, th.sortable-numeric a, th.sortable-currency a, th.sortable-sortImage a, th.sortable-sortdatetime a { outline: none; border: 0; text-decoration: none; background-color: Transparent; color: #000; }

body.sort-active #sortingmsg { display: block; position: fixed; background-color: #F00; font-size: 10px; font-weight: bold; color: #FFF; padding: 2px 10px; top: 0px; right: 0px; float: right; }
#sortingmsg { display: none; }

.crosstab-colhead1 { background: #f0f9ff url(../img/td_bg.gif) repeat-x; font-weight: bold; text-align: center; }
.crosstab-colhead2 { background-color: #f2f9ff; font-weight: bold; text-align: center; width: 90px; }
.crosstab-rowhead1 { background: #f9f8f8 url(../img/td_bg_hr.gif) repeat-y; font-weight: bold; }
.crosstab-rowhead2 { background-color: #f9f8f8; font-weight: bold; width: 150px; }
.crosstab-val { text-align: center; }

/* PRETTY DATA
-------------------------------------------------------------- */
.prettydata dt, .prettydata dd { padding: 3px 0; }
.prettydata dt { clear: both; width: 125px; float: left; margin: 0; font-weight: bold; }
.prettydata dd { margin-left: 130px; }
.prettydata-w dt { width: 180px; padding: 3px 0; float: left; margin: 0; font-weight: bold; }
.prettydata-w dd { margin-left: 185px; padding: 3px 0; }


/* PRETTY QUESTIONNAIRE
-------------------------------------------------------------- */
table.questionnaire { border-top: 1px solid #ddd; border-left: 1px solid #ddd; margin: 15px 0 0 0; }
.questionnaire th, .questionnaire td { border-bottom: 1px solid #ddd; border-right: 1px solid #ddd; padding: 3px 5px; }
.questionnaire .category { font-weight: bold; background: #b7e7fb url(../img/td_bg.gif); }
.questionnaire .question { background-color: #EEE; }
.questionnaire .qcount { text-align: right; }
.questionnaire ul, .questionnaire li { margin: 0; padding: 0; list-style-type: none; }
.questionnaire li { padding: 0 20px; }
.questionnaire li.selected { font-weight: bold; background: url(../img/tick.png) no-repeat; }
.questionnaire .txtarea, .questionnaire .txtbox { width: 99%; }
.questionnaire .hint-shopper { background-color: #FFD; }
.questionnaire .hint-proofreader { background-color: #FDD; }
.questionnaire .comments { font-size: smaller; }
.questionnaire .disabled { color: #999; text-decoration: line-through; }


/* PRETTY BUTTONS -t: Top, -b: Bottom
-------------------------------------------------------------- */
.prettybuttons-t { text-align: right; margin: -5px 0 20px 0; }
.prettybuttons-t a { background: url(../img/pager_bg.jpg); border: 1px solid #b7dfeb; padding: 2px 5px; text-decoration: none; font-weight: bold; }
.prettybuttons-t a:hover { background: #EEE; }
