html {
    height: 100%;
}

body {
    font: 10pt Verdana, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
}

form:focus-within input:invalid,
form:focus-within select:invalid,
form:focus-within textarea:invalid {
    border: 2px solid red;
}

table tr {
    text-align: left;
}

div.master {
    display: inline-flex;
    flex-direction: column;
    min-width: 100%;
    height: 100%;
}

div.navigationBar {
    align-items: center;
    color: black;
    display: flex;
    font-weight: bold;
    height: 22px;
    width: 100%;
}

div.navigationBar.top {
    background-image: linear-gradient(#DCDCDC, #AAAAAA);
    margin-bottom: 3px;
}

div.navigationBar.bottom {
    background-image: linear-gradient(#AAAAAA, #DCDCDC);
    margin-top: auto;
}

div.navigationBar > span {
    padding: 0 5px;
    text-align: center;
    width: 50%;
}

div.navigationBar > span:first-child {
    text-align: left;
    width: 25%;
}

div.navigationBar.bottom > span:first-child {
    font-weight: normal;
}

div.navigationBar > span:last-child {
    text-align: right;
    width: 25%;
}

div.navigationBar.bottom > span:last-child {
    font-style: italic;
    font-weight: normal;
}

div.navigationBar a {
    color: inherit;
}

table.adjust,
table.stepper {
    background-color: #dedede;
    border: 2px solid #666666;
    color: black;
    font-size: 9pt;
    border-radius: 7px;
}

table.adjust.block {
    border-radius: 0;
}

table.adjust tr.header,
table.stepper td.header {
    background-image: linear-gradient(#646464, #323232);
    color: white;
    font-weight: bold;
    text-align: center;
}

table.adjust a {
    color: inherit;
}

table.adjustin tr.bigsubheader {
    background-image: linear-gradient(#888888, #AAAAAA);
    font-size: 11pt;
    font-weight: bold;
    height: 22px;
}

table.adjustin tr.subheader {
    background-image: linear-gradient(#AAAAAA, #DCDCDC);
    font-weight: bold;
    height: 25px;
}

table.adjustin td:not(:last-child) {
    padding-right: 5px;
}

table.adjustin {
    border-collapse: inherit;
    border-spacing: 0 2px;
}

table.genesel {
    font-size: 9pt;
    border: 1px solid #cccccc;
}

table.genesel tr.header {
    background-image: linear-gradient(#DCDCDC, #AAAAAA);
}

table.stepper td.step {
    font: 20pt Verdana, sans-serif;
    font-weight: bold;
    text-align: center;
    border-right: solid 1px #666666;
}

table.pfinder {
    font: 9pt Arial, sans-serif;
    background: #bbbbbb;
    color: #222222;
    padding: 2px;
}

table.pfinder tr {
    background: #ffffff;
}

table.pfinder tr.red {
    background: #ffeeee;
}

table.pfinder tr.green {
    background: #eeffee;
}

table.pfinder tr.header {
    font: 10pt Arial, sans-serif;
    background: #dddddd;
    color: #222222;
    font-weight: bold;
    text-align: center;
}

span.kegg_r {
    border: 1px solid #ff0000;
    padding: 0;
    font-weight: bold;
    font-size: 8pt;
    background: #ffdddd;
    color: #ff0000;
}

span.kegg_r a {
    font-weight: bold;
    color: #ff0000;
    text-decoration: none;
}

span.kegg_r a:hover {
    color: #ffdddd;
    background: #ff0000;
}

span.kegg_k {
    border: 1px solid #00cc00;
    padding: 0;
    font-weight: bold;
    font-size: 8pt;
    background: #ddffdd;
    color: #00cc00;
}

span.kegg_k a {
    font-weight: bold;
    color: #00cc00;
    text-decoration: none;
}

span.kegg_k a:hover {
    color: #ddffdd;
    background: #00cc00;
}

span.kegg_a {
    color: #0000ff;
    border: 1px solid #0000ff;
    padding: 0;
    font-weight: bold;
    font-size: 8pt;
    background: #ddddff;
}

span.kegg_a a {
    color: #0000ff;
    font-weight: bold;
    text-decoration: none;
}

span.kegg_a a:hover {
    color: #ddddff;
    background: #0000ff;
}

table.distri {
    font: 7pt Arial, sans-serif;
    background: #cccccc;
    color: #000000;
}

table.distri tr {
    background: #ffffff;
}

table.distri tr.header {
    font-size: 8pt;
    background: #dddddd;
}

#currana {
    font: 10px Arial, sans-serif;
    width: 225px;
    background: #c3e8c3;
    border: 1px solid #409d40;
}

#currana_head {
    text-align: center;
    background: #409d40;
    font: 12px Arial, sans-serif;
    color: #ffffff;
}

div.analyzemore a {
    height: 28px;
    width: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font: bold 11px Arial, sans-serif;
    text-decoration: none;
    background-image: linear-gradient(#E1E1E1, #AFAFAF);
    border: 1px solid #828282;
    border-radius: 3px;
    box-shadow: 1px 1px black;
}

div.analyzemore a:hover {
    background-image: linear-gradient(#C8C8C8, #969696);
}

optgroup.subset {
    background-color: lightgrey;
}

optgroup.subset option {
    background: #ffffff;
    color: #000000;
}

a.bttn_r2 {
    font-size: 80%;
    font-weight: bolder;
    color: #000000;
    background: #dddddd;
    border-radius: 4px;
    padding: 4px;
    text-decoration: none;
    border: 1px solid #cccccc;
}

a.bttn_r2:hover {
    color: #222222;
    background: #eeeeee;
}

span.r2notes {
    font-size: 13px;
    color: #ff3333;
}

span.small_notice {
    font-size: 9px;
    color: #444444;
}

/* The GenomeBrowser Report css
*/
table.gb_report {
    background: #F2F2B5;
    border: 1px solid #cccccc;
    font-size: 9px;
    padding: 2px 2px;
    color: #555555;
}

table.gb_report tr.header {
    font-size: 10px;
    background: #d3d37a;
}

div.info_wrap {
    padding: 2px 6px 2px 2px;
    font-size: 11px;
    width: 200px;
}

div.info_wrap img {
    outline: 0;
    max-width: 100%;
    height: auto;
}

div.info_right {
    padding: 2px 2px 2px 2px;
    overflow: hidden;
}

div.info_header {
    font-weight: bold;
    text-align: center;
}

div.infobox {
    background: #f2f2b5;
    width: 100%;
    color: #555555;
    overflow: hidden;
    text-align: left;
}

div.infobox_back {
    background: #d3d37a;
    border: 2px solid #d3d37a;
    width: 100%;
    color: #555555;
    text-align: left;
    overflow: hidden;
}

div.newsbox {
    background: #ffffff;
    width: 100%;
    color: #555555;
    overflow: hidden;
    text-align: left;
}

div.newsbox_back {
    background: #bbbbbb;
    border: 2px solid #bbbbbb;
    width: 100%;
    color: #555555;
    text-align: left;
    overflow: hidden;
}

#sshistory {
    background: #fdfcb5;
    border: 1px solid #cccccc;
    width: 200px;
    font-size: 11px;
}

#headrow {
    font-weight: bold;
    background: #e1e0a2;
}

table.general {
    font: 9pt Arial, sans-serif;
    background: #bbbbbb;
    color: #222222;
    border-radius: 2px;
}

table.general tr {
    background: #ffffff;
    text-align: left;
}

table.general tr.header,
table.general tr.bigheader {
    font-weight: bold;
    font-size: 10pt;
    background: #dddddd;
    text-align: center;
}

table.general tr.bigheader {
    font-size: 12pt;
}

table.general .red {
    background: #ffdddd;
}

table.general tr.green {
    background: #ddffdd;
}

table.general td.small {
    font-size: 7pt;
}

table.general td.insig_r {
    font: 9pt Arial, sans-serif;
    background: #eeeeee;
    color: #222222;
}

table.general td.sig_r {
    font: 9pt Arial, sans-serif;
    background: #ffeeee;
    color: #ff2222;
}

table.general td.link {
    font: 9pt Arial, sans-serif;
    background: #444444;
    color: #ffffff;
    font-weight: bold;
    width: 5px;
}

table.general td.link a {
    color: #ffffff;
}

table.general td.link a:hover {
    color: #ffdddd;
}

table.general a:not(:active,:hover,:visited) {
    color: inherit;
}

table.general td.leftb {
    border-left: 1px solid #bbbbbb;
}

table.general td.rightb {
    border-right: 1px solid #bbbbbb;
}

table.zscore td.zsc--3 {
    background-color: #aaaadd
}

table.zscore td.zsc--196 {
    background-color: #ddaaaa
}

table.zscore td.zsc--224 {
    background-color: #aaddaa
}

span.error {
    font: 11pt Arial, sans-serif;
    color: #dd1111;
}

span.mini {
    font: 7pt Arial, sans-serif;
}

span.note {
    font: 8pt Arial, sans-serif;
    color: #000000;
}

span.yyat {
    font-size: 11pt;
    color: #cc0000;
}

table.errorbox {
    font: 9pt Arial, sans-serif;
    background: #dd6666;
    color: #222222
}

table.errorbox tr {
    background: #ffeeee;
}

table.errorbox tr.header {
    font: 10pt Arial, sans-serif;
    background: #dd6666;
    color: #ffffff
}

table.news {
    font-size: 7pt;
    background: #cccccc;
    color: #444444
}

table.news tr {
    background: #ffffff;
}

table.news tr.header {
    font-size: 8pt;
    background: #dddddd;
    color: #bbbbbb
}

.hidden {
    display: none;
}

.info-character {
    cursor: help;
    font-size: small;
    margin-left: 8px;
}

.open-dataset-info {
    cursor: pointer;
    font-size: large;
    margin-left: 8px;
}

.data-info-grid {
    cursor: pointer;
    font-size: large;
    margin-left: 6px;
    padding-top: 3px;
    vertical-align: bottom;
    color: #0066FF;
}

.advanced-gear-character {
    cursor: pointer;
    font-size: large;
    font-weight: bold;
    margin-left: 8px;
}

.remove-x-character {
    cursor: pointer;
    font-size: large;
    font-weight: bold;
    color: #ff0000;
    margin-left: 2px;
}

.extra_bold {
    font-weight: 800;
}

area.clickable {
    cursor: pointer;
}

.clickable {
    cursor: pointer;
}

div.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.d3-has-tooltip {
    cursor: pointer;
}

tr.interactive-input {
    background: #d0dce2;
}

.form-window-modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.form-window {
    font: 11px sans-serif;
    position: relative;
    z-index: 1500;
    width: max-content;
    max-width: 1200px;
    border: 1px solid #959FA9;
    border-radius: 3px;
    background-color: #F9F9F9;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, .15);
}

.form-window__title {
    font-weight: 700;
    overflow: hidden;
    padding: 5px 35px 5px 10px;
    color: #F9F9F9;
    border-radius: 3px 3px 0 0;
    background-image: linear-gradient(#3A79B8, #2E629D);
}

.form-window__content {
    overflow: hidden;
    padding: 5px 9px;
    border-radius: 0 0 3px 3px;
    background-color: #F9F9F9;
}

.form-window__close-button {
    border: none;
    display: inline-block;
    padding: 6px 6px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    position: absolute;
    right: 0;
    top: 0;
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tab-content {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.plot-form-row {
    display: grid;
    grid-template-columns: 165px auto;
    justify-content: flex-start;
    align-items: center;
}

.plot-form-row input,  .plot-form-row select {
    margin-left: 4px;
    padding: 3px;
    border: 1px solid #98B4D4;
    color: #98B4D4;
}

.plot-form-row input:focus, .plot-form-row select:focus {
    color: #98B4D4;
}

.plot-form-row label {
    color: #98B4D4;
    font-weight: bold;
    display: block;
    text-align: left;
}

.update-plot-btn {
    width: 100%;
    margin-top: 5px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid #98B4D4;
    background-color: #98B4D4;
    color: #ffffff
}