body {
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #ffffff;
    line-height: 170%;
    font-family: Verdana, Geneva, sans-serif;
    background: #272727;
}

#uiNoScript {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -60px 0 0 -150px;
    width: 280px;
    height: 120px;
    background: #ffffff;
    border: 2px solid #ff0000;
    color: #000000;
    font-size: 10px;
    font-weight: bold;
    z-index: 9999;
    padding: 0px 10px;
    text-align: center;
}

hr {
    background-color: #40628a;
    height: 1px;
}

.link, .linkOn, .linkOff, .selected, .disabled, .yellowButton, .redButton {
    float: left;
    min-width: 15px;
    height: 16px;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    background: #40628a;
    border: 1px solid #161616;
    padding: 0px 4px 4px 4px;
    margin: 0 2px 2px 0;
    cursor: default;
    white-space: nowrap;
}

.hasIcon {
    padding: 0px 4px 4px 0px;
}

a:hover, .zoomLink:hover, .linkActive:hover {
    background: #507aac;
}

.linkPending, .linkPending:hover {
    color: #ffffff;
    background: #507aac;
}

a.white, a.white:link, a.white:visited, a.white:active {
    color: #40628a;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #161616;
    padding: 1px 4px 1px 4px;
    margin: 0 2px 0 0;
    cursor: default;
}

a.white:hover {
    color: #ffffff;
    background: #40628a;
}

.hidden {
    display: none;
}

.linkOn, a.linkOn:link, a.linkOn:visited, a.linkOn:active, a.linkOn:hover, .selected, a.selected:link, a.selected:visited, a.selected:active, a.selected:hover {
    color: #ffffff;
    background: #2f943c;
}

.linkOff, a.linkOff:link, a.linkOff:visited, a.linkOff:active, a.linkOff:hover, .disabled, a.disabled:link, a.disabled:visited, a.disabled:active, a.disabled:hover {
    color: #ffffff;
    background: #999999;
    border-color: #666666;
}

a.icon, .linkOn.icon, .linkOff.icon, .selected.icon, .disabled.icon {
    position: relative;
    padding: 1px 4px 2px 20px;
}

a.icon img, .linkOn.icon img, .linkOff.icon img, .selected.icon img, .disabled.icon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
}

.linkDanger, a.linkDanger:link, a.linkDanger:visited, a.linkDanger:active {
    color: #ffffff;
    background-color: #ff0000;
    border-color: #aa0000;
}

.linkDanger:hover {
    background-color: #ff6666;
}

ul {
    padding: 4px 0 0 10px;
    margin: 0;
    list-style-type: none;
}

li {
    padding: 0 0 2px 0;
}

img, a img {
    border-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 12px 0 6px 0;
    color: #FFFFFF;
    clear: both;
}

h1 {
    font-size: 18px;
}

h2 {
    font-size: 16px;
}

h3 {
    font-size: 14px;
}

h4 {
    font-size: 12px;
}

abbr {
    border-bottom: .1em dotted;
}

.white {
    color: white;
    font-weight: bold;
}

.good {
    color: #4f7529;
    font-weight: bold;
}

.average {
    color: #cd6500;
    font-weight: bold;
}

.bad {
    color: #ee0000;
    font-weight: bold;
}

.idle {
    color: #272727;
    font-weight: bold;
}

.redButton {
    background: #ea0000;
}

.yellowButton {
    background: #cacc00;
}

.highlight {
    color: #8BA5C4;
}

.dark {
    color: #272727;
}

.caption {
    font-size: 10px;
    font-weight: bold;
	padding: 5px;
}

.footer {
	font-size: 10px;
}

.noticePlaceholder {
    position: relative;
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
    padding: 3px 4px 3px 4px;
    margin: 4px 0 4px 0;
}

.notice {
    position: relative;
    background: url(uiNoticeBackground.jpg) 50% 50%;
    color: #000000;
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
    padding: 3px 4px 3px 4px;
    margin: 4px 0 4px 0;
}

.notice.icon {
    padding: 2px 4px 0 20px;
}

.notice img {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
}

div.notice {
    clear: both;
}

.itemGroup {
    border: 1px solid #e9c183;
    background: #2c2c2c;
    padding: 4px;
    clear: both;
}

.item {
    width: 100%;
    margin: 4px 0 0 0;
    clear: both;
	overflow: auto;
}

.itemContentNarrow, .itemContent {
    float: left;
}

.itemContentNarrow {
    width: 30%;
}

.itemContent {
    width: 69%;
}

.itemLabelNarrow, .itemLabel, .itemLabelWide, .itemLabelWider, .itemLabelWidest {
    float: left;
    color: #e9c183;
}

.itemLabelNarrow {
    width: 20%;
}

.itemLabel {
    width: 30%;
}

.itemLabelWide {
    width: 45%;
}

.itemLabelWider {
    width: 69%;
}

.itemLabelWidest {
    width: 100%;
}

.itemContentWide {
    float: left;
    width: 79%;
}

.itemContentSmall {
    float: left;
    width: 33%;
}

.itemContentMedium {
    float: left;
    width: 55%;
}

.statusDisplay {
    background: #000000;
    color: #ffffff;
    border: 1px solid #40628a;
    padding: 4px;
    margin: 3px 0;
	overflow: hidden;
}

.statusDisplayRecords {
    background: #000000;
    color: #ffffff;
    border: 1px solid #40628a;
    padding: 4px;
    margin: 3px 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.statusDisplayComm {
	width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
	padding-bottom: 4px;
	border-top: 0 none;
	border-left: 0 none;
	border-right: 0 none;
	border-bottom: 2px inset #40628a;
    margin: 3px 0;
	overflow: hidden;
}

.statusLabel {
    width: 138px;
    float: left;
    overflow: hidden;
    color: #98B0C3;
}

.statusValue {
    float: left;
}

.block {
    padding: 8px;
    margin: 10px 4px 4px 4px;
    border: 1px solid #40628a;
    background-color: #202020;
}

.block h3 {
    padding: 0;
}

.displayBar {
    position: relative;
    width: 236px;
    height: 16px;
    border: 1px solid #666666;
    float: left;
    margin: 0 5px 0 0;
    overflow: hidden;
    background: #000000;
}

.displayBarText, .displayBarVerticalText, .displayBarBeakerText{
    position: absolute;
    top: -2px;
    left: 5px;
    width: 100%;
    height: 100%;
    color: #ffffff;
    font-weight: normal;
}

.displayBarFill {
    width: 0%;
    height: 100%;
    background: #40628a;
    overflow: hidden;
    float: left;
}

.displayBarVertical {
    position: relative;
    width: 16px;
    height: 200px;
    border: 1px solid #666666;
    float: left;
    margin: 0 5px 0 0;
    overflow: hidden;
	background: #40628a;
}

.displayBarVerticalFill {
    width: 100%;
    height: 0%;
    overflow: hidden;
    float: left;
	background: #000000;
}

/*used in xenobio2 computer*/

.displayBarBeaker {
    position: relative;
    width: 100px;
    height: 110px;
    border-right: 2px solid rgb(102, 179, 255);
	border-left: 2px solid rgb(102, 179, 255);
	border-bottom: 2px solid rgb(102, 179, 255);
    float: left;
    margin: 0 5px 0 0;
    overflow: hidden;
	background: #40628a;
}

.displayBarBeakerFill {
    width: 100%;
    height: 0%;
    overflow: hidden;
    float: left;
	background: rgba(153, 204, 255, 0.3);
}

.displayBarFill.alignRight {
    float: right;
}

.displayBarFill.good {
    color: #ffffff;
    background: #4f7529;
}

.displayBarFill.average {
    color: #ffffff;
    background: #cd6500;
}

.displayBarFill.bad {
    color: #ffffff;
    background: #ee0000;
}

.displayBarFill.highlight {
    color: #ffffff;
    background: #8BA5C4;
}

.clearBoth {
    clear: both;
}

.clearLeft {
    clear: left;
}

.clearRight {
    clear: right;
}

.line {
    width: 100%;
    clear: both;
}

.inactive, a.inactive:link, a.inactive:visited, a.inactive:active, a.inactive:hover {
    color: #ffffff;
    background: #999999;
    border-color: #666666;
}

.fixedLeft {
    width: 110px;
    float: left;
}

.fixedLeftWide {
    width: 165px;
    float: left;
}

.fixedLeftWider {
    width: 220px;
    float: left;
}

.fixedLeftWidest {
    width: 250px;
    float: left;
}

.fixedLeftWiderRed {
    width: 220px;
    float: left;
	background: #ee0000;
}

.floatRight {
    float: right;
}

.floatLeft {
	float: left;
}

/* Used in PDA */

.wholeScreen {
    position: absolute;
    color: #517087;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.pdalink {
    float: left;
    white-space: nowrap;
}

/* DNA Modifier UI (dna_modifier.tmpl) */

.dnaBlock {
    float: left;
    width: 90px;
    padding: 0 0 5px 0;
}

.dnaBlockNumber {
    font-family: Fixed, monospace;
    float: left;
    color: #ffffff;
    background: #363636;
    min-width: 20px;
    height: 20px;
    padding: 0;
    text-align: center;
}

.dnaSubBlock {
    font-family: Fixed, monospace;
    float: left;
    padding: 0;
    min-width: 16px;
    height: 20px;
    text-align: center;
}

.mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(uiMaskBackground.png);
}

.maskContent {
    width: 100%;
    height: 200px;
    margin: 200px 0;
    text-align: center;
}

.scanner_red{
    color: #c80000;
}

.scanner_yellow {
    color: #dcb914;
}

.scanner_orange {
    color: #ff9225;
}

table.nword, table.nword th, table.nword td{
    border: 1px solid black;
}

table.fixed {
	table-layout:fixed;
}

table.fixed td {
	overflow: hidden;
}

/* Table stuffs for power monitor */
table.pmon {
    border: 2px solid RoyalBlue;
}

table.pmon td, table.pmon th {
    border-bottom: 1px dotted black;
    padding: 0px 5px 0px 5px;
}

/* Table Stuffs for manifest*/

th.command {
    background: #3333FF;
    font-weight: bold;
    color: #ffffff;
}

th.spt {
    background: #4f4ff2;
    font-weight: bold;
    color: #ffffff;
}

th.sec {
    background: #8e0000;
    font-weight: bold;
    color: #ffffff;
}

th.med {
    background: #006600;
    font-weight: bold;
    color: #ffffff;
}

th.eng {
    background: #b27300;
    font-weight: bold;
    color: #ffffff;
}

th.sci {
    background: #a65ba6;
    font-weight: bold;
    color: #ffffff;
}

th.car {
    background: #bb9040;
    font-weight: bold;
    color: #ffffff;
}

th.sup {
    background: #bb9040;
    font-weight: bold;
    color: #ffffff;
}

th.civ {
    background: #a32800;
    font-weight: bold;
    color: #ffffff;
}

th.srv {
    background: #88b764;
    font-weight: bold;
    color: #ffffff;
}

th.exp {
    background: #68099e;
    font-weight: bold;
    color: #ffffff;
}

th.misc {
    background: #666666;
    font-weight: bold;
    color: #ffffff;
}

th.bot {
    background: #414249;
    font-weight: bold;
    color: #ffffff;
}

/* Damage colors for crew monitoring computer */

.burn {
    color: orange;
}

.brute {
    color: red;
}

.toxin {
    color: green;
}

.oxyloss {
    color: cyan;
}

/* 75px width used in power monitoring console buttons */
.width75btn {
    width: 75px;
}
.wideTable tr:nth-child(odd) {
    background-color: #272727;
}

/* Candystriped rows for tables */
.candystripe {
	background-color: rgba(148, 148, 148, 0.25);
}
.candystripe:nth-child(odd) {
	background-color: rgba(0, 0, 0, 0.16);
}
