/*****************************************************************************
* Debugging Javascript log stylesheet                                        *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-02-16 09:39:22 $ 
*   $Revision: 1.3 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

@media screen {
    ul#MSL-logger {
        border: 2px solid black;
        margin: 0;
        padding: 0;
        list-style-type: none;
        background: #eee;
        width: 100%;
        overflow: hidden;
    }

    ul#MSL-logger li {
        margin: 0.25em 0.5em 0.25em 0.5em;
    }

    ul#MSL-logger li span.time {
        font-family: monospace;
    }

    ul#MSL-logger li.error {
        color: red;
        font-weight: bold;
    }

    ul#MSL-logger li.warn {
        color: red;
    }

    ul#MSL-logger li.info {
        color: blue;
    }

    ul#MSL-logger li.debug {
        color: green;
    }
}

@media print {
    ul#MSL-logger { display: none; }
}

/*****************************************************************************
* Core CSS definitions for master_results_2                                  *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-09-15 11:15:11 $ 
*   $Revision: 1.9 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2010 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

strong.abbr,
span.abbr,
abbr { cursor: help; border-bottom: 1px dotted black; }

.invisible { display: none; visibility: hidden; }

.math {
    font-family: freeserif, "Times New Roman", serif;
    white-space: nowrap;
    word-spacing: -0.2ex;
}

.math .fun {
    margin-left: 0.4ex;
    margin-right: 0;
}


/* "Loading blocker" is the grayed out veil when loading data from
 * the server. The iframe is needed in IE to catch mouse clicks.
 */

.inactive-blocker { display: none; }

.loading-blocker {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
    z-index: 15;
    cursor: wait;
    background-color: black;
}

/* Opera 8.5 and below do not support opacity. This selector selects
 * Opera <= 9, unfortunately.
 *
 * http://perishablepress.com/press/2006/08/27/css-hack-dumpster/
 */
html:first-child .loading-blocker { background-color: transparent; }

div.loading-blocker {
    opacity: 0.25; /* W3C (Firefox, Safari, Opera, ...) */
    -moz-opacity: 0.25; /* Old Mozilla */
    -khtml-opacity: 0.25; /* Old Safari and Konqueror */
}

iframe.loading-blocker {
    opacity: 0; /* W3C (Firefox, Safari, Opera, ...) */
    -moz-opacity: 0; /* Old Mozilla */
    -khtml-opacity: 0; /* Old Safari and Konqueror */
}

.blocking-message {
    z-index: 20;
    position: fixed;
    padding: 0;
    margin: 0;
    width: 30%;
    top: 35%;
    left: 35%;
    text-align: center;
    cursor: auto;

    border: 1px solid black;
    background-color: white;
    color: black;
}

iframe.hidden {
    display: none;
    visibility: hidden;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
}


@media screen {
    .loading { cursor: progress; }
}

@media print {
    .noprint { display: none; }
}

@media screen {
    div#MSL-DPI1, div#MSL-DPI2 {
        width: 10px;
        height: 10px;
        position: absolute;
        top: -10px;
    }

    div#MSL-DPI1 {
        left: -10%;
    }

    div#MSL-DPI2 {
        left: -10px;
    }
}

@media print {
    div#MSL-DPI1, div#MSL-DPI2 { display: none; }
}

span.deferred-image { display: block; }

/*****************************************************************************
* Dendrogram slider stylesheet                                               *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-03-26 09:51:09 $ 
*   $Revision: 1.3 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

@media screen {
    div.dendrogram-slider { 
        float: left;
        position: relative; 
        left: -1em; 
        padding: 0 0 0.5em 0;
        overflow-y: hidden;
        overflow: auto;
    }

    /* IE already has no margin. */
    div.dendrogram>/**/div.dendrogram-slider {
        top: -0.5em;
    }

    div.dendrogram-slider div.scroll-area {
        position: relative;
        height: 1em;
        line-height: 1em;
        width: 1000%;
    }
}

@media print {
    div.dendrogram-slider { float: none; display: none; }
}

/*****************************************************************************
* Float a table cell (styles)                                                *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2009-10-19 11:42:37 $ 
*   $Revision: 1.3 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

@media screen {
    table.floating-table-cells-print {
        display: none;
        visibility: hidden;
    }
}

@media print {
    table.floating-table-cells-screen {
        display: none;
        visibility: hidden;
    }
}

/*****************************************************************************
* "Permanent link to this page" box stylesheet                               *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-06-02 13:06:52 $ 
*   $Revision: 1.4 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

@media screen {
    #PermalinkBox {
        border: 1px solid;
        border-color: #ddd #555 #555 #ddd;
        background: #ffc;

        position: absolute;

        /* Need to set some width in Firefox < 3 and IE < 8 (at least);
         * otherwise the box will be wider than the window.
         */
        width: 80%;

        overflow: hidden;
        z-index: 10;
        padding: 0.5em;
    }

    #PermalinkBox input { width: 100%; }

    #PermalinkBox button.close { float: right; }
    #PermalinkBox button { 
        margin-right: 0.25em;
        margin-left: 0.25em;
        float: left; 
    }
}

@media print {
    #PermalinkBox { display: none; }
}


/*****************************************************************************
* master_results_2 main page stylesheet                                      *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-09-24 14:07:07 $ 
*   $Revision: 1.40 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

body {
    background-color: white;
    color: black;
}

@media screen {
    body {
        font: 100.01%/1.125em sans-serif;
    }

    body {
        font-size: 13px;
    }

    body.loading { cursor: progress !important; }

    body.loading .tc-active-root span.tc-toggle,
    body.loading .tc-active-root a.tc-toggle,
    body.loading a.tooltip-ext,
    body.loading .tooltipped {
        cursor: progress !important;
    }
}

@media print {
    body {
        font: 100.01%/1.125em serif;
    }

    body {
        font-size: 10pt;
    }

    input, select { font-size: 10pt; }
}

body {
    font-family: Verdana, Tahoma, Helvetica, Arial, sans-serif;
}

table.quantitation th.type,
table.quantitation td.type,
table.quantitation td.sd,
table.quantitation td.n,
table.peptides, pre, code, tt {
    font-family: Monaco, "Courier New", Courier, monospace;
}


.unimportant { font-size: 0.8em; }

div.error p { color: red; }

tbody.warnings { color: red; }

p#kickstart { clear: both; }

h1 { line-height: 1.125em; }

h1 { font-size: 2em; }
h2 { font-size: 1.25em; }
h3 { font-size: 1em; }
h4 { font-size: 0.9em; }

h4 { 
    padding-top: 0.25em;
    padding-bottom: 0.5em; 
}


h1#MSL-logo img { 
    margin-right: 0.25em; 
    vertical-align: bottom;
}


a img { border: none; text-decoration: none; }

@media screen {
    a.external { text-decoration: none; }
    a.external:hover { text-decoration: underline; }

    a { color: blue; }
    a:link { color: blue; }
    a:visited { color: purple; }
}

@media print {
    a, a:link, a:visited {
        color: #520;
        font-weight: bold;
        text-decoration: underline;
    }

    a.external img { display: none; }
}


@media screen {
    table tfoot { display: none; }
}

@media print {
    table thead { display: table-header-group; }
    table tfoot { display: none; }
}

span.search-match {
    background-color: #cfc !important; 
    display: inline !important;
    margin: 0 !important;
}


@media screen {
    table.striped tbody tr td,
    table.striped tbody tr th { background-color: white; }
    table.striped tbody tr.odd td,
    table.striped tbody tr.odd th { background-color: #eee; }

    table.striped tbody tr.search-match td,
    table.striped tbody tr.search-match th { background-color: #cfc !important; }

    /* This is needed on browsers other than IE 6. In IE 6, this rule
     * is identical to the one above, as IE 6 doesn't support multiple
     * class names in a CSS selector.
     */
    table.striped tbody tr.odd.search-match td,
    table.striped tbody tr.odd.search-match th { background-color: #cfc !important; }
}

@media print {
    table.striped tbody tr:last-child td {
        border-bottom: 1px solid black;
    }

    table.striped tbody:last-child tr td {
        border-bottom: none;
    }

    /* XXX: what about print stylesheet for search-match? */
}



div.decoy-report {
    clear: left;
}


table.page-legend { clear: both; }

p.legend-caption img.symbol,
table.page-legend img.symbol { 
    width: 1em;
    height: 1em;
    border: none;
    padding: 0;
    margin: 0;
}

table.page-legend th,
table.page-legend td { vertical-align: top; }

table.page-legend caption,
table.search-parameters caption,
table.decoy-summary caption {
    text-align: left;
    white-space: nowrap;
    font-weight: bold;
    padding: 1px;
    margin: 0;
}

table.search-metainfo caption { display: none; }

table.page-legend thead tr th,
table.decoy-summary thead tr th { 
    padding-top: 0.5em;
}

table.page-legend tr .expect,
table.search-parameters tr th,
table.decoy-summary thead tr th.plain,
table.decoy-summary tbody tr th { 
    padding-left: 2em;
}

div.page-footer {
    margin-top: 1em;
    margin-bottom: 1em;
    border: 3px double black;
    text-align: center;
}

div.page-footer p {
    margin-left: -4em;
    display: inline; 
}


table.search-metainfo { margin-bottom: 1em; }

table.search-metainfo th,
table.search-parameters th { white-space: nowrap; }

table.search-metainfo th,
table.search-metainfo td,
table.search-parameters th,
table.search-parameters td {
    text-align: left;
    vertical-align: top;
}

table.search-parameters td span {
    vertical-align: top;
}

table.search-parameters td sup {
    height: 0;
    line-height: 1;
    vertical-align: baseline;
    position: relative;
    bottom: 1ex;
}


table.search-metainfo td div {
    margin: 0;
    padding: 0;
}

table.search-metainfo td div p { 
    margin: 0 0 0.25em 0;
    padding: 0;
}


fieldset.pagination form,
fieldset.pagination div { display: inline; }


div.page-selection {
    width: 100%;
    line-height: 2em;
    background: #eef;
    position: relative;
    padding: 0.25em 0 0.25em 0;
    margin: 0;
}

div.page-selection-bottom { border-bottom: 1px solid black; }
div.page-selection hr { display: none; }

div.page-selection div {
    display: inline;
    margin: 0 1em 0 0;
    padding: 0;
}

div.page-selection form {
    display: inline;
    margin: 0;
}

a.permalink-popup,
div.page-selection div.expansion-control a,
div.page-selection div.page a {
    margin-left: 0.25em;
    border: 1px solid gray;
    padding: 0.25em;
    background: white;
}

div.page-selection div.finder {
    display: block;
    margin-top: 0.5em;
}

div.finder div.not-found {
    display: block;
}

div.finder div.not-found span.error {
    margin-right: 1em;
}

@media print {
    div.page-selection div.finder-noprint { display: none; }
}

div.page-selection div.velcro-attached {
    margin-top: 0;
    padding: 0.5em;
    background: #eef;
}

div.page-selection-top {
    /* IE 7 position:fixed bug: 
     * http://www.last-child.com/conflicting-z-index-in-ie6/
     */
    z-index: 1;
}

#velcro-toolbar-container div.finder form,
div.page-selection div.finder form { 
    display: inline;
    padding: 0 1em 0 0;
    margin: 0;
}

#velcro-toolbar-container div.finder form div,
div.page-selection div.finder form div { 
    display: inline;
    padding: 0;
    margin: 0;
}

div.page-selection div.finder span.error {
    color: red;
    font-weight: bold;
}


div.family { 
    position: relative; 
    margin: 1em 0 1em 1em;
    padding: 0;
}

div.family-single {
    padding-bottom: 1em;
}

div.family { clear: left; }


div.family hr {
    margin: 1em 0.25em;
    padding: 0;
}

div.family table.family-member-list {
    float: left;
    position: relative;
    width: 90%;
}

div.family-single table.family-member-list td.index span {
    display: none;
}

div.results div.no-dendrograms div.family-single table.family-member-list {
    left: 2.5em;
    top: 1px;
}

div.family h3 a.tc-toggle {
    vertical-align: baseline; 
    padding: 2px 0;
    margin: 0;
}

div.results div.no-dendrograms table.family-member-list th.index,
div.results div.no-dendrograms table.family-member-list td.index,
div.results div.no-dendrograms table.family-member-list th.dendrogram,
div.results div.no-dendrograms table.family-member-list td.dendrogram {
    display: none;
}

div.family-single table.family-member-list td.desc span {
    vertical-align: bottom;
}



div.page-selection,
div.family table.proteins,
div.family table.quantitation,
div.family h4,
div.family hr { clear: left; }

div.family h4 { margin-bottom: 0; }


div.family h3 { 
    margin: 0 0 1em -1em;
    padding: 0;

    position: relative; 
    float: left;
    clear: both;

    line-height: 1em;
    font-size: 1em;
}

div.family h3 a.tc-toggle,
div.family h4 a.tc-toggle { 
    margin: 0;
    position: relative;
}

div.family h3 a.tc-toggle {
    width: 4.8em;
    display: block;
}


div.family h3 a {
    padding: 2px 0;
}

div.results div.no-dendrograms div.family h3 a {
    padding: 0;
}


div.family + div.family table.family-member-list,
div.family + div.family h3 {
    margin-top: 0;
    padding-top: 0;
}

@media print {
    /* This helps IE 6 to include the dendrogram. */
    div.family-expanded {
        page-break-before: always;
    }
}


div.family + div.family-expanded table.family-member-list,
div.family + div.family-expanded h3,
div.family-expanded + div.family table.family-member-list,
div.family-expanded + div.family h3 {
    padding-top: 4px;
}

/* Has to be a separate rule to be parseable by IE 6. */
div.family h3 {
    /* Same as above. */
    padding-top: 4px;
}

div.results div.no-dendrograms div.family h3 {
    padding-top: 0px;
}


div.family table.family-member-list td.dendrogram div.image-swapper-dummy,
div.family table.family-member-list td.dendrogram img {
    width: 17em;
}

div.family table.family-member-list td.cut-control form { 
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    clear: left;
}

div.family table.family-member-list td.cut-control form fieldset {
    margin: 0;
    padding: 0;
}

div.family table.family-member-list td.cut-control form input { width: 4em; }
div.family table.family-member-list td.cut-control form input.cut { width: 3em; }

div.family table.family-member-list td.dendrogram img,
div.family table.family-member-list td.dendrogram object {
    margin: 0;
    padding: 0;
}



form fieldset { border: none; }
form fieldset legend { display: none; }

form.show-legend fieldset legend {
    display: inherit; 
    position: relative;
    margin-top: 1.75em;
    padding: 0.25em;
}


form.page-control {
    clear: both;
    margin: 0;
    padding: 0.5em 0;
    position: relative;
}

#velcro-toolbar-container > div,
form.page-control > div {
    float: left;
    background: #eef;
}

#velcro-toolbar-container > div div,
form.page-control > div div {
    float: left;
}

div.rf-tabs div.ie6-float-bug,
form.page-control div.ie6-float-bug { display: none; }

form.page-control fieldset { 
    float: left;
    clear: left;
    position: relative;

    padding: 0.25em;
    margin: 0;

    background: #eef;
}

form.page-control > p {
    margin: 0;
    padding: 0;
}


form.page-control fieldset p,
form.page-control fieldset table {
    padding: 0;
    margin: 0 0.5em 0 0;
    float: left;
    position: relative;
}

form.page-control div p.submit,
form.page-control fieldset p.submit { 
    width: 7em;
    margin: 0 0.5em 0 0;
}

form.page-control div p.submit {
    float: left;
    clear: left;
    padding: 0.25em;
}

form.page-control div p.submit input,
form.page-control fieldset p.submit input { 
    width: 100%;
    padding: 0;
    margin: 0;
}


form.page-control fieldset p label {
    float: left;
    clear: both;

    margin: 0.2em 0.5em 0.2em 0;
    padding: 0;

    white-space: nowrap;
}

form.page-control fieldset p input,
form.page-control fieldset p select,
form.page-control fieldset p span {
    float: right;
    clear: right;

    padding: 0;

    position: relative;
}

form.page-control fieldset p span.tooltipped {
    float: none;
    border-bottom: 1px dotted black;
}

form.page-control fieldset p span { 
    white-space: nowrap; 
}

form.page-control fieldset p span label,
form.page-control fieldset p span input,
form.page-control fieldset p span select {
    float: left;
    clear: none;
    margin: 0.2em;
    width: auto;
}

form.page-control table {
    border-spacing: 0;
    border-collapse: collapse;
}

form.page-control table thead th {
    padding-right: 0.5em;
}

form.page-control table tbody td,
form.page-control table thead th {
    padding-top: 1px;
    padding-bottom: 1px;
}

/* These have to come after the more generic definitions, as their
 * priority is equal to the previous definitions.
 */
form.page-control-repeat-search,
form.page-control-export { 
    clear: none; 
    float: left; 
}

form.page-control-export {
    margin-left: 0.5em;
}



@media print {
    p.help { display: none; visibility: hidden }
}

form.page-control fieldset p.help {
    float: left;
    width: 4em;
    padding: 0.25em 0.25em 0.25em 0;
    margin: 0;
    text-align: right;
}


div.score-distribution { 
    position: relative;
}

div.score-distribution h3 {
    padding: 1px;
    margin: 0.5em 0 0.5em 0;
}


div.captioned-image {
    width: 500px;
    text-align: left;
    margin: 1em 0 2em 0;
    position: relative;
}

@media screen {
    div.captioned-image {
        float: left;
    }
}

div.captioned-image img,
div.captioned-image object {
    margin: 0.5em 0.5em 0.5em 2em;
}

div.captioned-image p {
    margin: 0.25em 2em 0.25em 2em;
    text-align: left;
}


div.rf-tabs { clear: both; }

@media print {
    div.rf-tabs div.permalink-container { display: none; }
}

@media screen {
    div.results { 
        padding: 0;
        margin: 0;
        position: relative;
    }

    div.results h2 {
        background: #eef;
        margin: 0;
        padding: 1em 0 0.25em 0;
    }

    div.rf-tabs {
        margin: 0;
        padding: 1em 0 3px 0;
        position: relative;
        /* In IE 8 (standards mode), div.rf-tabs must have an explicit
         * height set. Otherwise, when applying an opacity filter, the 
         * element's dimensions will change in a very strange fashion. 
         * Similar bug:
         *
         * http://www.eggheadcafe.com/software/aspnet/35526068/bug-ie8-standards-mode-f.aspx
         * http://www.wyavtv.org/iebug/iebugtestcase.html
         */
        height: 2em;
    }

    div.rf-tabs div.permalink-container {
        position: absolute;
        margin: 0;
        padding: 0.5em 0;
        text-align: right;
        z-index: 10;
        right: 0;

        width: 6em;
        height: 2em;
    }

    div.rf-tabs div.permalink-container a {
        padding-top: 1px;
    }

    /* The following inspired by
     *
     * http://clagnut.com/sandbox/csstabs/
     */

    div.rf-tabs ul {
        position: relative;
        float: left;
        width: 100%;

        list-style: none;
        line-height: 1em;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid black;
    }

    div.rf-tabs ul li { 
        float: left;
        margin: 0;
        padding: 0;
    }

    div.rf-tabs ul li a,
    div.rf-tabs ul li span {
        display: block;
        margin: 0 0 0 0.5em;
        padding: 0.5em 1em 0.5em 1em;
        border: 1px solid black;
        background: white;
        position: relative;
        bottom: -1px;
    }

    div.rf-tabs ul li.active span { 
        border-bottom: 1px solid #eef;
        z-index: 2;
        background: #eef; 
    }
}

/*****************************************************************************
* master_results_2 main page decoy summary table stylesheet                  *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2009-10-02 15:38:54 $ 
*   $Revision: 1.1 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

table.decoy-summary {
    border-collapse: collapse;
    border-spacing: 0;
}

table.decoy-summary caption { 
    margin: 0;
    padding: 0.5em 0 0 0;
}

table.decoy-summary thead th.plain,
table.decoy-summary tbody th { font-weight: normal; }

table.decoy-summary td,
table.decoy-summary th {
    padding-left: 0.25em;
    padding-right: 0.25em;
}

table.decoy-summary tbody td { padding-right: 0.5em; }

table.decoy-summary tbody td { text-align: right; }

table.decoy-summary tbody tr.foot td,
table.decoy-summary thead th.plain,
table.decoy-summary tbody th { text-align: left; }

/*****************************************************************************
* master_results_2 main page error tolerant mods stylesheet                  *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2009-10-02 15:38:54 $ 
*   $Revision: 1.1 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

ul.etmods { 
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 1em;
}

ul.etmods li {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}


/*****************************************************************************
* master_results_2 peptide table stylesheet                                  *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-03-17 12:01:44 $ 
*   $Revision: 1.20 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

table.peptides {
    table-layout: fixed;
    width: 100%;
    padding: 0;
    margin: 0;
    border-spacing: 0;
}

table.peptides th,
table.peptides td { 
    padding: 1px 0;
    vertical-align: top; 
}

@media screen {
    table.peptides th,
    table.peptides td {
        /* transparent means red in IE 6. */
        /* border-top: 1px solid transparent; */
        border-top: 1px solid white;
        border-bottom: 1px solid white;
    }

    table.peptides tr.queryheader td,
    table.peptides tr.querypeptide td,
    table.peptides tr.querypeptide-last-pre td,
    table.peptides tr.querypeptide-last-post td {
        border-top: 1px solid white;
        border-bottom: 1px solid white;
    }
}


/* factor: 0.8 * (width in characters) */
table.peptides col.query { width: 5.6em; }

table.peptides col.num-duplicates { width: 5.6em; }

/* These are configured to be widest at massdp = 6 by default.
 * If the browser doesn't support namespaced attribute selectors, then
 * the widest is also the safest choice.
 *
 * Formula: (massdp + 4) * 0.8
 * Formula (delta): (massdp + 3) * 0.8
 *
 * However, the minimum width is determined by the label width:
 *  (label character count - 1) * 0.8
 */
table.peptides col.observed,
table.peptides col.mrexpt,
table.peptides col.mrcalc { width: 8.0em; }
table.peptides col.delta { width: 7.2em; }

    div[massdp="1"] table.peptides col.observed,
    div[massdp="1"] table.peptides col.mrexpt,
    div[massdp="1"] table.peptides col.mrcalc { width: 5.6em; }
    div[massdp="1"] table.peptides col.delta { width: 3.2em; }

    div[massdp="2"] table.peptides col.observed,
    div[massdp="2"] table.peptides col.mrexpt,
    div[massdp="2"] table.peptides col.mrcalc { width: 5.6em; }
    div[massdp="2"] table.peptides col.delta { width: 4.0em; }

    div[massdp="3"] table.peptides col.observed,
    div[massdp="3"] table.peptides col.mrexpt,
    div[massdp="3"] table.peptides col.mrcalc { width: 5.6em; }
    div[massdp="3"] table.peptides col.delta { width: 4.8em; }

    div[massdp="4"] table.peptides col.observed,
    div[massdp="4"] table.peptides col.mrexpt,
    div[massdp="4"] table.peptides col.mrcalc { width: 6.4em; }
    div[massdp="4"] table.peptides col.delta { width: 5.6em; }

    div[massdp="5"] table.peptides col.observed,
    div[massdp="5"] table.peptides col.mrexpt,
    div[massdp="5"] table.peptides col.mrcalc { width: 7.2em; }
    div[massdp="5"] table.peptides col.delta { width: 6.4em; }

table.peptides col.misses { width: 1.6em; }
table.peptides col.score { width: 3.2em; }
table.peptides col.expect { width: 5.6em; }
table.peptides col.rank { width: 3.7em; }
table.peptides col.unique { width: 1.6em; }
table.peptides col.fm { width: 1.3em; }

table.peptides td.score { padding-right: 0.5em; }
table.peptides tr.duplicate td.score { padding-right: 0; }

table.peptides th.rank,
table.peptides td.rank { 
    padding-left: 0.5em;
    padding-right: 0.5em; 
}

table.peptides th.num-duplicates,
table.peptides td.num-duplicates { padding-left: 0.5em; padding-right: 0.5em; }

table.peptides th.peptide,
table.peptides td.peptide { padding-left: 0.5em; }

@media screen {
    table.peptides th.peptide,
    table.peptides td.peptide { white-space: nowrap; }
}

table.peptides th.query,
table.peptides td.query,
table.peptides th.observed,
table.peptides td.observed,
table.peptides th.mrexpt,
table.peptides td.mrexpt,
table.peptides th.mrcalc,
table.peptides td.mrcalc,
table.peptides th.delta,
table.peptides td.delta,
table.peptides th.score,
table.peptides td.score,
table.peptides th.expect,
table.peptides td.expect { text-align: right; }

table.peptides th.rank,
table.peptides th.fm,
table.peptides td.fm,
table.peptides th.misses,
table.peptides td.misses,
table.peptides th.unique,
table.peptides td.unique { text-align: center; }

table.peptides td.rank,
table.peptides th.num-duplicates,
table.peptides td.num-duplicates,
table.peptides th.peptide,
table.peptides td.peptide { text-align: left; }

table.peptides tr.above-identity td { font-weight: bold; }
table.peptides tr.above-homology td { font-weight: bold; }
table.peptides tr.topranking td { color: red; }
table.peptides tr.duplicate { font-style: italic; }

table.peptides tr.above-identity td.query,
table.peptides tr.above-homology td.query { font-weight: normal; }

table.peptides tr td.num-duplicates a,
table.peptides tr td.rank a {
    font-weight: bold;
}


table.peptides td.num-duplicates a.tc-toggle {
    overflow: hidden;
}

table.peptides td.rank a.tc-toggle {
    margin-left: 0.25em;
}

table.peptides td.rank a.tc-toggle {
    overflow: hidden;
}


table.page-legend tr.duplicate,
table.peptides tr.duplicate { background-color: #eee; }

table.peptides tr.duplicate.search-match {
    background-color: #cfc;
}

table.page-legend tr.above-identity td { font-weight: bold; }
table.page-legend tr.topranking td { color: red; }
table.page-legend tr.duplicate td { font-style: italic; }


table.page-legend tr td.explanation { 
    font-weight: normal; 
    color: inherit; 
    font-style: normal; 
}


table.peptides td.fm img.whole,
table.peptides td.fm img.partial,
table.page-legend tbody td.fm img.whole,
table.page-legend tbody td.fm img.partial {
    width: 0.8em;
    height: 0.8em;
    padding-top: 0.2em;
}


table.peptides tr.duplicate td.query a { 
    margin-left: 4.8em; 
    float: left;
    width: 4.8em;
}

table.peptides tr.duplicate td.query { 
    overflow: visible; 
    position: relative;
}


table.peptides tr td.peptide-plural { padding-left: 1.7em; }


table.peptides tr.queryheader td.queryheader { padding-left: 0.2em; }

table.peptides tr.queryheader,
table.peptides tr.querypeptide-last-post {
    margin-top: 1em;
}

table.peptides tr.queryheader p { 
    margin: 0;
    padding: 0; 
    clear: left;
}

table.peptides tr.queryheader h5 { 
    margin-top: 0; 
    margin-bottom: 0.5em; 
}

table.peptides tr.queryheader dl {
    margin: 0;
}

table.peptides tr.queryheader dl dt { 
    float: left;
    clear: left;
}

table.peptides tr.queryheader dl dd {
    margin-left: 1em;
    float: left;
}

table.peptides tr.querypeptide-et { font-style: italic; }

table.peptides tr.queryheader td.queryheader,
table.peptides tr.querypeptide td.delta,
table.peptides tr.querypeptide td.misses,
table.peptides tr.querypeptide td.score,
table.peptides tr.querypeptide td.expect,
table.peptides tr.querypeptide td.rank, 
table.peptides tr.querypeptide td.unique, 
table.peptides tr.querypeptide td.quant-ratio,
table.peptides tr.querypeptide td.fm, 
table.peptides tr.querypeptide td.peptide { 
    background-color: #ffc; 
}

table.peptides tr.querypeptide-last-pre + tr td.delta,
table.peptides tr.querypeptide-last-pre + tr td.misses,
table.peptides tr.querypeptide-last-pre + tr td.score,
table.peptides tr.querypeptide-last-pre + tr td.expect,
table.peptides tr.querypeptide-last-pre + tr td.rank,
table.peptides tr.querypeptide-last-pre + tr td.unique,
table.peptides tr.querypeptide-last-pre + tr td.fm,
table.peptides tr.querypeptide-last-pre + tr td.peptide {
    background-color: #ffc;
}

table.peptides tr.querypeptide-last-pre + tr.duplicate td { 
    background-color: #eee; 
}

table.peptides tr.querypeptide-last-pre + tr td.delta {
    border-left: 1px solid #ddd;
}

table.peptides tr.querypeptide-last-pre + tr td.peptide {
    border-right: 1px solid #555;
}
table.peptides tr.queryheader td.queryheader,
table.peptides tr.querypeptide td.delta {
    border-left: 1px solid #ddd;
}

table.peptides tr.queryheader td.queryheader,
table.peptides tr.querypeptide td.peptide {
    border-right: 1px solid #555;
}

table.peptides tbody tr.queryheader td.queryheader {
    border-top: 1px solid #ddd;
}

table.peptides tr.querypeptide td.delta {
    border-left: 1px solid #ddd;
}

table.peptides tr.querypeptide td.peptide {
    border-right: 1px solid #555;
}

table.peptides tr.querypeptide td.delta,
table.peptides tr.querypeptide td.misses,
table.peptides tr.querypeptide td.score,
table.peptides tr.querypeptide td.expect,
table.peptides tr.querypeptide td.rank,
table.peptides tr.querypeptide td.unique,
table.peptides tr.querypeptide td.quant-ratio,
table.peptides tr.querypeptide td.fm,
table.peptides tr.querypeptide td.peptide {
    border-top: 1px solid #ffc;
    border-bottom: 1px solid #ffc;
}

table.peptides tr.querypeptide-last-post td.delta,
table.peptides tr.querypeptide-last-post td.misses,
table.peptides tr.querypeptide-last-post td.score,
table.peptides tr.querypeptide-last-post td.expect,
table.peptides tr.querypeptide-last-post td.rank,
table.peptides tr.querypeptide-last-post td.unique,
table.peptides tr.querypeptide-last-post td.quant-ratio,
table.peptides tr.querypeptide-last-post td.fm,
table.peptides tr.querypeptide-last-post td.peptide {
    border-bottom: 1px solid #555;
}

@media screen {
    /* Fixed table headers fail in IE 7 if there are *any* :hover
     * rules.
     */
    table.peptides tbody>/**/tr:hover td { 
        border-top: 1px dashed black;
        border-bottom: 1px dashed black;
    }

    table.peptides tbody>/**/tr.queryheader:hover td {
        border-top: 1px solid #ffc;
        border-bottom: 1px solid #ffc;
    }

    table.peptides tbody>/**/tr.queryheader:hover td.queryheader {
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ffc;
    }

    table.peptides tbody>/**/tr.querypeptide:hover td { 
        border-top: 1px solid #ffc;
        border-bottom: 1px solid #ffc;
    }

    table.peptides tbody>/**/tr.querypeptide-last-post:hover td.delta,
    table.peptides tbody>/**/tr.querypeptide-last-post:hover td.misses,
    table.peptides tbody>/**/tr.querypeptide-last-post:hover td.score,
    table.peptides tbody>/**/tr.querypeptide-last-post:hover td.expect,
    table.peptides tbody>/**/tr.querypeptide-last-post:hover td.rank,
    table.peptides tbody>/**/tr.querypeptide-last-post:hover td.unique,
    table.peptides tbody>/**/tr.querypeptide-last-post:hover td.fm,
    table.peptides tbody>/**/tr.querypeptide-last-post:hover td.peptide {
        border-bottom: 1px solid #555;
    }
}

table.peptides tr td.no-querypeptides { 
    font-style: italic; 
    background: #ffc;
    border-bottom: 1px solid #555;
}

table.peptides tr.queryheader td.data { margin: 0.5em; padding: 0; }
table.peptides tr.queryheader td.data div { margin: 0.5em; }


#Tooltip span.varmod,
table.peptides td.peptide span.varmod {
    border-bottom: 1px dotted;
    padding-left: 1px;
    padding-right: 1px;
}

table.peptides td.peptide span.component,
table.peptides td.peptide span.varmods {
    font-size: 0.9em;
}

table.page-legend {
    margin-bottom: 1em;
}

table.page-legend {
    border-collapse: collapse;
}

table.page-legend tbody td.expect,
table.page-legend thead th.expect { text-align: right; }

table.page-legend tbody td.rank,
table.page-legend thead th.rank { text-align: center; }

table.page-legend tbody td.peptide,
table.page-legend thead th.peptide { text-align: left; }

table.page-legend tbody td.fm,
table.page-legend thead td.fm { 
    text-align: center; 
    width: 1em;
}

table.page-legend tbody td.explanation { 
    text-align: left; 
    padding-left: 1em;
}


/*****************************************************************************
* master_results_2 protein list and protein table stylesheet                 *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-09-15 11:15:11 $ 
*   $Revision: 1.19 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2010 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

table.family-member-list {
    margin: 0;
    padding: 0;

    table-layout: fixed;
    border-spacing: 0;
    border-collapse: collapse;

    line-height: 1em;
    font-size: 1em;
}

table.family-member-list th,
table.family-member-list td {
    height: 1em;
    vertical-align: top;
}

table.family-member-list td.dendrogram { height: auto; }

table.family-member-list caption { display: none; }

table.family-member-list td span { 
    padding: 0 0 0.15em 0;
    margin: 0;
}

table.family-member-list td.desc { font-size: 0.8em; }

table.family-member-list thead {
    display: none;
}


table.family-member-list td.index,
table.family-member-list td.accession {
    font-weight: bold;
}


table.proteins.quantitation-overview th,
table.proteins.quantitation-overview td {
    vertical-align: top; 
    padding: 0.2em 0;
    margin: 0;
}


table.proteins {
    width: 100%;
    table-layout: fixed;
    position: relative;
    margin: 0;
    padding: 0;
}

@media screen {
    table.proteins {
        border-collapse: collapse;
        border-spacing: 0;
    }
}

table.proteins th,
table.proteins td { vertical-align: top; }

table.family-member-list th.dendrogram,
table.family-member-list td.dendrogram {
    width: 17em;
    text-align: left;
    vertical-align: top;
}

table.family-member-list td.index,
table.family-member-list th.index { 
    width: 2.4em; 
    text-align: right;
}

table.family-member-list td.index span {
    padding-right: 0.5em;
}

table.proteins th.index { width: 6.0em; }

table.family-member-list td.accession span,
table.proteins td.accession a { 
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}

table.proteins th.accession,
table.proteins td.accession {
    width: 12em; 
}

table.proteins td.accession a {
    margin-right: 1em;
}

table.family-member-list th.accession,
table.family-member-list td.accession {
    width: 14em;
}

table.family-member-list td.accession span { 
    width: 13em; 
    display: block; 
    margin-right: 0.25em;
}

/* Conflicts with non-specific tooltip rule. */
table.family-member-list td.accession span.tooltip {
    display: none;
}

table.family-member-list td.score span {
    margin-right: 1em;
}

table.family-member-list th.score,
table.family-member-list td.score,
table.proteins th.score,
table.proteins td.score { width: 5.6em; }

table.proteins th.mass,
table.proteins td.mass { width: 4.8em; }

table.proteins th.num-matches,
table.proteins td.num-matches {
    width: 6.4em; 
    padding-right: 0.5em;
}

table.proteins th.num-matches-superlarge,
table.proteins td.num-matches-superlarge {
    width: 8.8em; 
}

table.proteins th.num-sequences,
table.proteins td.num-sequences { 
    width: 7.2em;
    padding-right: 0.5em;
}

table.proteins th.num-sequences-superlarge,
table.proteins td.num-sequences-superlarge {
    width: 9.6em;
    padding-right: 0.5em;
}


table.proteins th.frame,
table.proteins td.frame { 
    width: 0.8em; 
    padding-right: 0.5em;
}

table.proteins th.cut-threshold,
table.proteins td.cut-threshold {
    width: 4em;
    text-align: right;
    padding-right: 0.5em;
}

table.proteins th.empai,
table.proteins td.empai { 
    width: 4.8em; 
    padding-right: 0.5em;
}

table.family-member-list td.accession,
table.proteins td.accession { overflow: hidden; }

table.family-member-list td.score,
table.proteins td.score,
table.proteins td.mass,
table.proteins td.num-matches,
table.proteins td.num-sequences,
table.proteins td.empai { text-align: right; }

table.proteins th.score,
table.proteins th.mass,
table.proteins th.num-matches,
table.proteins th.num-sequences,
table.proteins th.empai { text-align: right; }

table.proteins tr td.desc {
    font-weight: normal;
    font-size: 0.8em;
}

table.family-member-list tr td.desc {
    overflow: hidden;
    white-space: nowrap;
    /* One good feature in IE: "text-overflow: ellipsis". It's supported
     * by some versions of WebKit and Opera as well.
     */
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}

table.proteins tr td.desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}

table.proteins th {
    text-align: left;
}

table.proteins tbody.redisplay-control td {
    padding: 0.25em;
    border-top: 2px solid white;
}

table.family-member-list tr.sameset-toggle th,
table.proteins tr.sameset-toggle th { 
    text-align: left; 
    padding-bottom: 0.5em;
}


table.subsets th.subset-of { 
    width: 15em; 
    padding-left: 0.5em;
    text-align: left;
}

table.subsets td.subset-of { 
    overflow: hidden;
    text-align: left;
    padding-left: 0.5em; 
}


/*****************************************************************************
* master_results_2 quantitation specific styles                              *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-09-15 11:15:11 $ 
*   $Revision: 1.8 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2010 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

form.page-control fieldset.quantitation {
    background: #ffb;
}


table.proteins th.quant-ratio-type,
table.proteins td.quant-ratio-type { width: 5.6em; }

table.peptides th.quant-ratio span,
table.proteins th.quant-ratio-type span { 
    display: block;
    width: 5.6em;
    overflow: hidden; 
    text-overflow: ellipsis;
}

table.proteins td.quant-ratio-type,
table.proteins td.quant-n,
table.proteins td.quant-sd { vertical-align: top; }

table.proteins tbody tr th.quant-ratio-type,
table.proteins tbody tr td.quant-ratio-type,
table.proteins tbody tr th.quant-n,
table.proteins tbody tr td.quant-n,
table.proteins tbody tr th.quant-sd,
table.proteins tbody tr td.quant-sd { background: #ffb; }

table.proteins th.quant-n,
table.proteins th.quant-sd { text-align: right; }

table.proteins td.quant-ratio-type,
table.proteins td.quant-sd { text-align: center; }

table.proteins td.quant-n { text-align: center; }

table.proteins td.significant { font-weight: bold; }

table.proteins td.not-normal { font-style: italic; }


table.peptides col.quant-ratio { width: 5.6em; }

table.peptides col.quant-ratio {
    background: #ffb;
    border-color: #ffb;
}

table.peptides th.quant-ratio,
table.peptides td.quant-ratio { text-align: center; }
table.peptides col.quant-ratio { text-align: center; }


dl.significant {
    font-weight: bold;
}

dl.not-normal dd {
    font-style: italic;
}

dl.quant-ratio-details {
    margin: 0;
    padding: 0;
}

dl.quant-ratio-details dt {
    width: 5em;
    margin: 0 0.5em 0 0;
    padding: 0;
    float: left;
    clear: left;
    display: block;
}

dl.quant-ratio-details dd {
    margin: 0;
    padding: 0;
    float: left;
    display: block;
}

/*****************************************************************************
* master_results_2 streaming subresource message stylesheet                  *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-02-23 13:35:04 $ 
*   $Revision: 1.4 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

div#streaming-status {
    position: absolute; /* for very old browsers */
    right: 0;
    bottom: 0;
    width: 25em;
    background: white;
    border: 2px solid black;

    overflow: auto;
    height: auto;
    z-index: 1000;
}

/* For anything newer than Netscape 6 */
body > div#streaming-status {
    position: fixed;
}

/* Each child of div#streaming-status has text-align:center separately.
 * This is because in IE 6, setting text-align:center on the parent div
 * will always center the child div, no matter what the child div's
 * text-align property is or how wide it is.
 */

div#streaming-status p.error { color: red; font-weight: bold; }

div#streaming-status div.streaming-message {
    overflow: hidden;
    width: 24em;
    position: relative;
}

div.streaming-message h1 { 
    font-size: 1em; 
    text-align: center;
}

div.streaming-message p {
    padding: 0;
    margin: 0 0 0.5em 0;
    text-align: center;
}

div.streaming-message div.progressbar {
    height: 1em;
    width: 100%;
    margin: 0 0 0.5em 0;
    padding: 0;
    position: relative;
    text-align: center;
}

div.streaming-message div.progressbar p {
    overflow: hidden;
    position: relative;
    height: 1em;
    padding: 0.1em 0;
    margin: 0;
    background: green;
    color: white;
    border: 1px solid;
    border-color: #ddd #555 #555 #ddd;
    text-align: center;
}

div.streaming-message img { margin: 0.1em; }

div.streaming-message code.progress-message {
    font-size: 0.8em;
}

div.streaming-message p.retry span,
div.streaming-message span.tc-cancel {
    cursor: pointer;
    text-decoration: underline;
    margin-left: 0.5em;
    margin-right: 0.5em;
}



/*****************************************************************************
* master_results_2 parameter validation error styles                         *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2009-10-02 15:38:54 $ 
*   $Revision: 1.1 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

var.param-name { font-variant: small-caps; color: red; }

span.validation-error { }

/*****************************************************************************
* DPI detection for non-IE browsers                                          *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-01-20 14:52:00 $ 
*   $Revision: 1.2 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

/*****************************************************************************
* Scrollable HTML table stylesheet                                           *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-03-26 09:51:09 $ 
*   $Revision: 1.6 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

/* Styles from various sources, including
 *
 * http://www.imaputz.com/cssStuff/bulletVersion.html 
 *  ("Pure CSS Scrollable Table with Fixed Header")
 *
 * http://www.agavegroup.com/?p=31 
 *  ("CSS Scrollable Table")
 *
 * http://geekswithblogs.net/LSheu/archive/2009/01/30/css-table-scrolling-with-fixed-header-for-ie-7.aspx 
 *  ("A simple HTML-CSS scrolling data box with fixed column headers")
 */

@media screen {
    p.scrollable-toggle {
        clear: both;
        margin-top: 0;
    }

    /* Relative positioning combined with overflow is problematic
     * in WebKit: https://bugs.webkit.org/show_bug.cgi?id=26849
     *
     * Solution: put 'position: relative' only in -enabled definitions.
     */
    /* IE 6 problem: IE doesn't support multiple class definitions in
     * the same CSS rule properly, which is why we can't just say
     *   div.scrollable-table-container.enabled { ... }
     * but have to say
     *   div.scrollable-table-container { ... }
     *   div.scrollable-table-container-enabled { ... }
     */

    div.scrollable-table-container {
        width: 100%;

        margin: 0 auto;
        padding: 0 0 1em 0;
    }

    div.scrollable-table-container table {
    }

    div.scrollable-table-container-enabled {
        overflow: auto;
        position: relative;
    }

    div.scrollable-table-container table thead,
    div.scrollable-table-container table tfoot {
        display: none;
    }

    div.scrollable-table-header-enabled {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    div.scrollable-table-header-enabled table {
        position: relative;
        width: 100%;
    }
}


@media print {
    p.scrollable-toggle { 
        display: none;
    }

    /* Clever trick from
     * http://sundareshln.wordpress.com/2008/05/12/override-inline-styles-from-the-stylesheet/
     *
     * This will do nothing in IE 6. See the JS code instead. 
     */
    div.scrollable-table-container[style] {
        height: auto !important;
    }

    div.scrollable-table-container table thead {
        display: table-header-group;
    }

    div.scrollable-table-container table tfoot {
        /* Repeated footers are nice, but broken in some browser. */
        display: none;
    }

    div.scrollable-table-header {
        display: none;
    }
}

/*****************************************************************************
* master_results_2 page fragment toggle styles                               *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-02-26 16:36:23 $ 
*   $Revision: 1.8 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

.tc-active-root a.tc-toggle,
.tc-active-root a.tc-toggle:link,
.tc-active-root a.tc-toggle:visited { color: black; }

@media screen {
    .tc-active-root span.tc-toggle,
    .tc-active-root a.tc-toggle {
        cursor: pointer;
        font-weight: bold;
        text-decoration: none;
    }

    .tc-active-root span.tc-toggle:hover,
    .tc-active-root a.tc-toggle:hover {
        text-decoration: underline;
    }
}

.tc-active-root span.tc-toggle,
.tc-active-root a.tc-toggle {
    vertical-align: top;
}

span.tc-toggle img.symbol,
a.tc-toggle img.symbol {
    padding: 0;
    margin: 0;
    width: 1em;
    height: 1em;
    border: none;
}

@media screen {
    span.tc-toggle.toggled,
    a.tc-toggle.toggled {
        font-style: italic;
    }
}

.tc-invisible { display: none; visibility: hidden; }

/*****************************************************************************
* Make input elements enabled or disabled based on other input elements      *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-02-22 14:01:18 $ 
*   $Revision: 1.2 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

/*****************************************************************************
* Tooltip stylesheet                                                         *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-02-18 14:40:46 $ 
*   $Revision: 1.5 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

#Tooltip { display: none; }

#Tooltip h1 { 
    font-size: 1em;
    margin: 0 0 0.5em 0;
}

a.tooltip-ext { 
    border-bottom: 1px dotted black; 
    color: black;
    text-decoration: none;
    cursor: help;
}

@media screen {
    #Tooltip {
        display: block;
        position: fixed;
        padding: 0.5em;
        z-index: 200;

        max-width: 40em;

        background: #ffc;
        border: 1px solid;
        border-color: #ddd #555 #555 #ddd;
    }

    #Tooltip img { background: #ffc; }
}

.tooltipped { cursor: help; }

.tooltipped .tooltip { display: none; }

/*****************************************************************************
* "Velcro" style toolbar that attaches to the top of the window              *
******************************************************************************
*     $Author: villek $ 
*       $Date: 2010-02-22 13:43:26 $
*   $Revision: 1.2 $ 
******************************************************************************
* COPYRIGHT NOTICE                                                           *
* Copyright 2008-2009 Matrix Science Limited  All Rights Reserved.           *
*                                                                            *
* This program may be used and modified within the licensee's organisation   *
* provided that this copyright notice remains intact. Distribution of this   *
* program or parts thereof outside the licensee's organisation without the   *
* prior written consent of Matrix Science Limited is expressly forbidden.    *
******************************************************************************/

@media screen {
    .velcro-toolbar {
        /* IE 7 problem: the element is given hasLayout when its position
         * is changed to 'fixed'. So, the basic state also needs to
         * have hasLayout; otherwise the toolbar will stick to the top
         * of the page, because its y coordinate (as reported by the browser)
         * will act as if the element still was positioned fixed.
         */
        position: relative;
        min-width: 0;
    }

    .velcro-attached {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        margin-top: 0;
        padding-top: 0;
        z-index: 500;
    }
}

