/*
 * Defines style for the Trio Explorer.
 *
 * $Id: style.css 321 2006-09-07 00:30:14Z benjello $
 */

/*
 *  Global
 */
html, body {
    font-family: 'Lucida Grande', Geneva, 'Bitstream Vera Sans', Verdana, sans-serif;
    text-align: center; /* IE Fix */
    margin: 0;
    height: 100%;
}

a {
    color: #369;
}

textarea {
    font-family: 'Bitstream Vera Sans', Monaco, Courier;
    font-size: 1em;
    height: 120px;
    width: 95%;
    white-space:pre;
}

textarea.schema {
    font-family: 'Bitstream Vera Sans', Monaco, Courier;
    font-size: 1em;
    height: 70px;
    width: 95%;
    white-space:pre;
}

/*
 * Draggable image.
 */
#canvas {
    clear:both;
    position:relative;
    width:230px;
    height:300px;
    overflow:hidden;
}

#big-canvas {
    clear:both;
    position:relative;
    width: 99%;
    overflow:hidden;
    border:4px solid #ccc;
    /*cursor: move;*/
}

#image {
    position:relative;
    border: none;
}

#image:hover {
    /*cursor: move;*/
}

/*
 * Query list
 */
ul.query-list {
    font-size: 0.8em;
    line-height: 2em;
}

/*
 * client side map.
 */
#relations {
}

span.conf-box2 {
    font-family: 'Bitstream Vera Sans', Monaco, Courier;
    border: 1px solid #ff9429;
    font-size: 0.8em;
    padding-left: 5px;
    padding-right: 5px;
}

div.conf-box2 {
    font-family: 'Bitstream Vera Sans', Monaco, Courier;
    background-color: #ff9429;
    font-size: 0.8em;
    padding-left: 5px;
    padding-right: 5px;
}

div.conf-box2 a {
    color: #000;
}

span.question-box {
    font-family: 'Bitstream Vera Sans', Monaco, Courier;
    border: 1px solid #00dd00;
    font-size: 0.8em;
    padding-left: 5px;
    padding-right: 5px;
}

span.certain-box {
    font-family: 'Bitstream Vera Sans', Monaco, Courier;
    border: 1px solid #0000ff;
    font-size: 0.8em;
    padding-left: 5px;
    padding-right: 5px;
}

div.question-box {
    font-family: 'Bitstream Vera Sans', Monaco, Courier;
    background-color: #00dd00;
    font-size: 0.8em;
    padding-left: 5px;
    padding-right: 5px;
}

div.spacer {
    clear: both;
}

span.success {
    font-weight: bold;
    color: #00cc00;
}

span.warning {
    font-weight: bold;
    color: #ffbb00;
}

span.error {
    font-weight: bold;
    color: #ff0000;
}

span.comment{
    font-family: Monaco, monospace, sans-serif, Courier;
    color: #800000;
}

pre {
    font-family: Monaco, monospace, sans-serif, Courier;
    font-size:1.1em;
    text-decoration: none;
}

span.separator0 {
    font-weight: bold;
    color: #00ff00;
}

span.separator2 {
    font-weight: bold;
    color: #ff9429;
}

span.bold {
    font-weight: bold;
}

/*
 * Relation graph.
 */
img.graph {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 0px;
}

img.hidden {
    visibility: hidden;
}

img.fade {
    float: right;
    z-index: 2;
    position: absolute;
    right: 0;
    bottom: 0;
}

img {
    border: 0px;
    vertical-align: bottom;
}

/*
 * Legend table
 */
table.legend {
    font-size: 0.8em;
}

div.legend {
    font-size: 0.8em;
    border-top: 1px solid #ccc;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
}

span.and {
    background-color: #666;
    font-size: 0.7em;
}

span.negative {
    background-color: #ff3366;
    font-size: 0.7em;
}
/*
 * Results table.
 */
table.results {
    font-size: 0.9em;
    border-collapse: collapse;
    empty-cells: hide;
}

table.results th.tuple0 {
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #666;
    background-color: #006600;
    color: #fff;
}

table.results th.tuple1 {
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #666;
    background-color: #000066;
    color: #fff;
}

table.results th.tuple2 {
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #ff6600;
    background-color: #ff9429;
    color: #fff;
}

table.results th.tuple3 {
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #660099;
    background-color: #9966CC;
    color: #fff;
}

table.results th.nontuple {
    background-color: #ffffff;
}

table.results td.tuple {
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #666;
}

table.results td.negtuple {
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #666;
    background-color: #ff3366;
}

table.results td.separator, table.legend td.separator {
    background-color: #ffaa00;
    empty-cells: show;
    border: 1px solid #666;
}

table.results td.nontuple {
    text-align: center;
    padding-left: 3px;
    padding-right: 3px;
    background-color: #ffffff;
}

table.results tr.lineage {
    margin: 0px;
    padding: 0px;
    empty-cells: hide;
}
table.results td.lineage {
    border: 1px solid #666;
    padding: 0px;
    margin: 0px;
}

table.results td.lineage-noborder {
    border: 0px;
    padding: 0px;
    margin: 0px;
}

table.results td.blank {
    height: 8px;
}

table.results tr {
    border: none;
    padding: 0px;
    margin: 0px;
}

table.results tr.xtuple {
}

table.results td.xtuple0 {
    padding-left: 5px;
    padding-right: 5px;
    border-left: 1px solid #666;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    border-bottom: 3px solid #006600;
    background-color: #DFDFDF;
    cursor: pointer;
    empty-cells: show;
}

table.results td.xtupleleft0 {
    padding-left: 5px;
    padding-right: 5px;
    border-left: 3px solid #006600;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    border-bottom: 3px solid #006600;
    background-color: #DFDFDF;
    cursor: pointer;
    empty-cells: show;
}

table.results td.pad0 {
    padding-left: 5px;
    padding-right: 5px;
    border-left: 1px solid #666;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    border-bottom: 3px solid #006600;
    background-color: #006600;
    cursor: pointer;
}

table.results td.xtuple1 {
    padding-left: 5px;
    padding-right: 5px;
    border-left: 1px solid #666;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    border-bottom: 3px solid #000066;
    background-color: #DFDFDF;
    cursor: pointer;
    empty-cells: show;
}

table.results td.xtupleleft1 {
    padding-left: 5px;
    padding-right: 5px;
    border-left: 3px solid #000066;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    border-bottom: 3px solid #000066;
    background-color: #DFDFDF;
    cursor: pointer;
    empty-cells: show;
}

table.results td.pad1 {
    padding-left: 5px;
    padding-right: 5px;
    border-left: 1px solid #666;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    border-bottom: 3px solid #000066;
    background-color: #000066;
    cursor: pointer;
}

table.results td.xtuple2 {
    padding-left: 5px;
    padding-right: 5px;
    border-left: 1px solid #666;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    border-bottom: 3px solid #cc6600;
    background-color: #DFDFDF;
    cursor: pointer;
    empty-cells: show;
}

table.results td.xtupleleft2 {
    padding-left: 5px;
    padding-right: 5px;
    border-left: 2px solid #cc6600;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    border-bottom: 3px solid #cc6600;
    background-color: #DFDFDF;
    cursor: pointer;
    empty-cells: show;
}

table.results td.pad2 {
    padding-left: 0px;
    padding-right: 0px;
    border-left: 1px solid #666;
    border-top: 1px solid #666;
    border-right: 0px solid #666;
    border-bottom: 1px solid #666;
    background-color: #FF9429;
    cursor: pointer;
}

table.results td.xtuple3 {
    padding-left: 5px;
    padding-right: 5px;
    border-left: 1px solid #666;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    border-bottom: 3px solid #660099;
    background-color: #DFDFDF;
    cursor: pointer;
}

table.results td.xtupleleft3 {
    padding-left: 5px;
    padding-right: 5px;
    border-left: 2px solid #cc6600;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    border-bottom: 3px solid #660099;
    background-color: #DFDFDF;
    cursor: pointer;
}

table.results td.pad3 {
    padding-left: 0px;
    padding-right: 0px;
    border-left: 1px solid #666;
    border-top: 1px solid #666;
    border-right: 0px solid #666;
    border-bottom: 1px solid #666;
    background-color: #9966CC;
    cursor: pointer;
}

table.results td.alternative {
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #666;
    background-color: #DFDFDF;
    cursor: pointer;
    empty-cells: show;
}

table.results td.nonclickable-alternative {
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #666;
    background-color: #DFDFDF;
    empty-cells: show;
}

/*
 * Table to display lineage.
 */
table.lineage {
    border-collapse: collapse;
    margin: 5px;
}

table.lineage a.link0:link, a.link0:visited {
    color: #006600;
}

table.lineage a.link1:link, a.link1:visited {
    color: #000066;
}

table.lineage a.link2:link, a.link2:visited {
    color: #cc6600;
}

table.lineage a.link3:link, a.link3:visited {
    color: #660099;
}

table.lineage th.tuple {
    border: 1px solid #666;
    background-color: #ccc;
}

table.lineage th.nontuple {
    padding: 0px;
    padding-bottom: 5px;
    border: 0;
    text-align: left;
}

table.lineage tr {
    padding-top: 0px;
    padding-bottom: 0px;
}

table.lineage td.tuple {
    border: 1px solid #999;
    cursor: help;
    background-color: #DFDFDF;
    empty-cells: show;
}

table.lineage td.hidden {
    padding-top: 0px;
    padding-bottom: 0px;
    border: 1px solid #999;
}

table.lineage td.nontuple {
    padding-top: 0px;
    padding-bottom: 0px;
    border: none;
}

/*
 * The list that explains meanings of icons.
 */
dl.description {

}

dl.description > dt { float: left }

/*
 *  Container
 */
#container {
    height: 100%;
    margin: 0 auto;
    width: 860px;
    border: 1px;
    background: #fff repeat-y 25%;
    padding: 0 5px;
    text-align: left; /* Cancel IE Fix */
}

/*
 *  Header
 */
#header {
    padding: 15px 0px;
    position:relative;
}

#header h1 {
    margin: 0;
    color: #000000;
    font-size: 1.8em;
    font-weight: normal;
    cursor: default;
}

#header h1 a {
    color: #000;
    text-decoration: none;
    border: none;
}

#header h2 {
    margin: 0;
    color: #8D8E90;
    font-size: 0.9em;
    font-weight: normal;
    padding-left: 1px;
    cursor: default;
}

#logo {
    position: absolute;
    right: 0px;
    top: 10px;
}

/*
 * Navigation tab.
 */
#nav {
    margin: 0;
    padding: 0;
    clear: both;
}

#nav li {
    list-style-type: none;
    display: inline;
    line-height: 20px;
}

#nav li a {
    text-decoration: none;
    color: #ddd;
    background-color: #888;
    border-right: 4px solid #fff;
    border-bottom: 0;
    padding: 3px 8px;
    font-size: 0.75em;
    float: left;
    font-weight: bold;
}

#nav li a:hover {
    background-color: #999;
}

#nav li a.on {
    background-color: #9ed0f0;
    color: #000;
}

#nav-bar {
    background: #9ed0f0;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    clear: both;
    height: 0.4em;
}

/*
 * One big column style.
 */
#big-column {
    font-size: 0.9em;
    width: 860px;
    position: relative;
    line-height: 20px;
    word-spacing: 2px;
}

/*
 * Two column style.
 */
/*
 * Side Bar
 */
#sidebar {
    font-size: 0.9em;
    float: left;
    width: 255px;
    position: relative;
    line-height: 20px;
    word-spacing: 2px;
}

/*
 *  Content
 */
#content {
    font-size: 0.9em;
    float: right;
    width: 580px;
    z-index: 1;
    position: relative;
    margin-left: 15px;
    line-height: 20px;
    text-align: justify;
    word-spacing: 2px;
}

/*
 * Side Bar & Content
 */
#sidebar p, #content p {
    clear: both;
}

#big-column div.box, #content div.box, #sidebar div.box {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    clear: both;
}

#big-column div.box_header, #content div.box_header, #sidebar div.box_header {
    font-weight: bold;
    font-size: 1.0em;
    margin: 0 10px -10px 0;
    cursor: default;
}

#header div.box_header_left, #big-column div.box_header_left, #content div.box_header_left, #sidebar div.box_header_left {
    float: left;
}

#header div.box_header_right, #big-column div.box_header_right, #content div.box_header_right, #sidebar div.box_header_right {
    float: right;
    font-size: 0.9em;
}

div.left_box {
    width: 55%;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    float: left;
}

div.right_box {
    width: 35%;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    float: right;
}
/*
 *  Footer
 */
#footer {
    color: #666;
    border-top: 2px solid #ccc;
    text-align: center;
    font-size: 0.9em;
    padding: 10px;
    clear: both;
}

.hidden-rows {
    display: none;
}
.shown-rows {
}

#popup {
    position: absolute;
    min-height: 100%;
    width: 100%;
    z-index: 100;
    background: url(/img/transparent.png);
    visibility: hidden;
    text-align: center;
}

span.uncertain {
    font-style: italic;
}
