/* Individual styles */
div.pfsi_cs_ack, div.pfsi_cs_ack p {
    color: inherit;
    background-color: #f0f0f0;
}

div.pfsi_cs_ack {
    margin: 1em 0;
    padding: 0;
}

td a.pfsi_title_link {
    display: block;
}

/* INLINE MENU */
.pfsi_inline-menu {
    color: black;
    background-color: #ccc;
    padding: 8px 6px;
    font-size: 85%;
}

.pfsi_inline-menu label {
    float: left;
}

.pfsi_inline-menu a {
    text-decoration: none;
}

.pfsi_inline-menu a:hover {
    text-decoration: underline;
}

.pfsi_inline-menu ul {
    margin: 0;
    padding-bottom: 1em;
}

.pfsi_inline-menu li {
    margin: 0;
    padding: 0;
    display: inline;
    list-style: none;

}

.pfsi_inline-menu li * {
    float: left;
    padding: 0 0.5em;
    font-size: 85%;
    border-right: 1px solid #006699;
}

.pfsi_inline-menu li *.last, .pfsi_inline-menu li a.pfsi_help, .pfsi_inline-menu li.pfsi_help a {
    border-right: none;
}

.pfsi_inline-menu li a.pfsi_help, .pfsi_inline-menu li.pfsi_help a {
    float: right;
    margin-right: 0;
    color: #006699;
    background-color: #ccc;
}

.pfsi_inline-menu li a {
    color: #006699;
    font-weight: normal;
}

.pfsi_inline-menu li label {
    color: #006699;
    font-weight: bold;
}

/* END INLINE MENU */

/* FORM */

/* Top border is the same colour as the background to act as padding */
div.pfsi_form, div#pfsi_helpPage, div.tree {
    color: inherit;
    border-top: 6px solid #ebebeb;
    background-color: #ebebeb;
}

div.tree div {
    background-color: #ebebeb;
    margin: 0 6px;
}

.pfsi_form_instructions  {
    color: #666;
    line-height: 1.5em;
    margin: 0 6px;
    background-color: #ebebeb;
    font-size: 85%;
}

div.pfsi_form td.pfsi_error {
    /* Needs width to pad it if there are no errors */
    width: 50px;
}

div.pfsi_form table {
    margin: 1em 6px;
}

div.pfsi_form td input, div.pfsi_form td select, div.pfsi_form td label {
    margin-right: 10px;
    margin-bottom: 1.75em;
}

div.pfsi_form td.pfsi_fieldname {
    text-align: right;
}

div.pfsi_form td select {
    width: 254px;
}

div.pfsi_form td.pfsi_fieldname label {
    font-weight: bold;
}

div.pfsi_form .pfsi_formElement {
    /* Give all form elements a common width */
    width: 250px;
    color: inherit;
    background-color: white;
}

div.pfsi_form .pfsi_formSearchElement {
    /* Give all form elements a common width */
    width: 160px;
    color: inherit;
    background-color: white;
}

.pfsi_formElementReadOnly, .pfsi_formElementReadOnly div, div.pfsi_form label.pfsi_formElement {
    /* Give all form elements a common width */
    width: 250px;
    color: inherit;
    background-color: #ebebeb;
}

.pfsi_readOnlyRow {
    padding-bottom: 20px;
}

.pfsi_formElementWide {
    /* Give all form elements a common width, but a little wider */
    width: 500px;
    color: inherit;
    background-color: white;
}

.pfsi_organisationHeader {
    font-weight: bold;
}

.pfsi_form_label {
    margin-right: 20px;
}

div.pfsi_button_area {
    padding-top: 30px;
    padding-bottom: 1px;
    color: inherit;
    background-color: white;
    text-align: right;
}


/* END FORM */

/* Results Table */

table.pfsi_results th {
    color: inherit;
    background-color: #ccc;
}

table.pfsi_results {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    border-width: 1px 1px 1px 1px;
    border-color: #bfbfbf;
    border-style: solid;
    text-align: left;
}

table.pfsi_results_indent {
   width: 98%;
   border-left: 5px solid #ebebeb;
   border-right: 3px solid #ebebeb;
   border-bottom: 5px solid #ebebeb;
   border-top: 2px solid #ebebeb;
}

table.pfsi_results_indent td select {
    width: 60px;
}

table.pfsi_results_indent td textarea {
    width: 500px;
}

table.pfsi_results_indent td input {
  margin-bottom: 0px;
}

table.pfsi_results_indent td.pfsi_pager_cell {
    text-align: right;
}

table.pfsi_results td label, table.pfsi_results td span, table.pfsi_results th span {
    margin: 0 1px;
}

table.pfsi_results tr {
    margin-bottom: 1.5em;
}

table.pfsi_results td, table.pfsi_results th {
    border-right: 1px solid #bfbfbf;
    border-left: 1px solid #bfbfbf;
    border-top: 1px solid #bfbfbf;
    border-bottom: 1px solid #bfbfbf;
    font-size: 85%;
    padding: 3px; 
}

table.pfsi_results th span {
    color: #006699;
    background-color: inherit;
}

table.pfsi_results tr.pfsi_results-organisation {
    background-color: #77bbff;
    font-weight: bold;
}

table.pfsi_results tr.pfsi_results-even {
    background-color: #cce6f7;
}

table.pfsi_results tr.pfsi_results-odd {
    background-color: #bbd6f7;
}

/* Results Table */

/* PFSI normal table : Shantanu */

table.pfsi_table th {
    color: inherit;
    background-color: #ccc;
}

table.pfsi_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    border-width: 1px 1px 1px 1px;
    border-color: #bfbfbf;
    border-style: solid;
    text-align: left;
}

table.pfsi_table_indent {
   width: 98%;
   border-left: 5px solid #ebebeb;
   border-right: 3px solid #ebebeb;
   border-bottom: 5px solid #ebebeb;
   border-top: 2px solid #ebebeb;
}

table.pfsi_table_indent td select {
    width: 60px;
}

table.pfsi_table_indent td textarea {
    width: 500px;
}

table.pfsi_table_indent td input {
  margin-bottom: 0px;
}

table.pfsi_table_indent td.pfsi_pager_cell {
    text-align: right;
}

table.pfsi_table td label, table.pfsi_table td span, table.pfsi_table th span {
    margin: 0 1px;
}

table.pfsi_table tr {
    margin-bottom: 1.5em;
}

table.pfsi_table td, table.pfsi_table th {
    border-right: 1px solid #bfbfbf;
    border-left: 1px solid #bfbfbf;
    border-top: 1px solid #bfbfbf;
    border-bottom: 1px solid #bfbfbf;
    font-size: 85%;
    padding: 3px; 
}

table.pfsi_table th span {
    color: #006699;
    background-color: inherit;
}

table.pfsi_table tr.pfsi_table-organisation {
    background-color: #77bbff;
    font-weight: bold;
}

table.pfsi_table tr.pfsi_table-even {
    background-color: #cce6f7;
}

table.pfsi_table tr.pfsi_table-odd {
    background-color: #bbd6f7;
}

/* Normal table */