body {
	font-family: Trebuchet MS, Tahoma;
	color: #AAAAAA;
	font-size: 12px;
	margin-top: 5px;
	background-color: #010101;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body.log,
body.normal {
	background-image: url("../img/bg/background.jpg");
	background-position: right;
}

table {
	color: #AAAAAA;
	font-family: Trebuchet MS, Tahoma;
	font-size: 12px;
	border-style: hidden;
	border-color: #888888;
	empty-cells: show;
}

table.eco {
	border: none;
	font-size: 11px;
	font-weight: bold;
	padding: 5px;
	margin-top: 0px;
	margin-bottom: 10px;
}

.tooltip {
	font-size: 11px;
	color: #003399;
	opacity: .90;
	text-align: center;
	padding: 5px;
	width: 215px;
	background-color: #e6ecff;
	border: 1px solid #003399;
	line-height: 18px;
}

table.tt {
	color: #003399;
}

.stt {
	border-bottom: 1px solid #444;
}

tr.hover:hover,
tr.sethover,
td.hover:hover,
td.hover:hover {
	background-color: #333333;
}

a {
	color: #AAAAAA;
	text-decoration: underline;
	cursor: pointer;
}

a:hover {
	text-decoration: underline;
}

a.noline,
a.noline:hover {
	text-decoration: none;
}

img {
	border-style: none;
}

input {
	background-color: transparent;
	color: #AAAAAA;
	border-color: #888888;
}

textarea {
	border-style: solid;
	border-width: 1px;
	color: #AAAAAA;
	background-color: transparent;
	border-color: #888888;
}

td.br {
	border-right: #AAA solid 1px;
}

td.bl {
	border-left: #AAA solid 1px;
}

td.bt {
	border-top: #AAA solid 1px;
}

tr.bb td,
td.bb {
	border-bottom: #AAA solid 1px;
}

tr.h40 {
	height: 40px;
}

tr.h30 {
	height: 30px;
}

tr.h28 {
	height: 28px;
}

p.text {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 30px;
	font-style: italic;
	font-size: 12px;
}

.noborder {
	border-style: none;
	border-width: 0px;
}

input.text {
	border: 1px solid #888;
	padding-left: 2px;
	font-size: 11px;
}

input.button {
	border: 1px solid #AAA;
	font-size: 11px;
}

.xmini {
	font-size: 10px;
}

.mini {
	font-size: 11px;
}

.medium {
	font-size: 14px;
}

.big {
	font-size: 17px;
}

.b,
.bold {
	font-weight: bold;
}

.center {
	text-align: center;
}

.red {
	color: #F44;
}

.blue {
	color: #69C;
}

.green {
	color: #4C4;
}

.orange {
	color: #FA2;
}

.orange2 {
	color: #F60;
}

.grey {
	color: #555;
}

.white {
	color: #AAA;
}

li {
	line-height: 1.5em;
	list-style-type: square;
	margin: .2em 0 0 0;
	padding: 0;
	list-style-image: url("../img/bg/bullet.gif");
}

ul.nl0,
ul.nl1,
ul.nl2,
ul.nl3,
ul.nl4,
ul.nl5 {
	padding: 0;
	margin: 0;
}

ul.nl1 {
	padding-left: 2em;
}

ul.nl2 {
	padding-left: 4em;
}

ul.nl3 {
	padding-left: 6em;
}

ul.nl4 {
	padding-left: 8em;
}

ul.nl5 {
	padding-left: 10em;
}

tr.sep td,
td.sep {
	border-bottom: 1px solid #555;
}

tr.sept td,
td.sept {
	border-top: 1px solid #555;
}

td.left {
	text-align: left;
}

td.right {
	text-align: right;
}

label.ecored {
	font-size: 12px;
	font-weight: bold;
}

table.eco {
	width: 760px;
	font-size: 11px;
	font-weight: normal;
	background-position: bottom center;
	background-repeat: no-repeat;
	color: #DDDDDD;
	margin-bottom: 20px;
}

table.ecobig {
	background-image: url("../img/bg/ecobback.png");
}

td.ecobheight {
	height: 45px;
}

td.ecosheight {
	height: 25px;
}

td.econormal {
    position: relative;
	background-repeat: no-repeat;
	background-position: center;
	width: 88px;
	text-align: center;
}

td.econormal i {
    position: absolute;
    top: 4px;
    left: 3px;
    margin-left: 0;
}

td.econormal i.res-m {
    left: 4px;
}

td.econormal i.res-h {
    left: 1px;
}

td.econormal.mmyeco i {
	margin-left: 17px;
}

td.ecospecial {
	background-repeat: no-repeat;
	background-position: center;
	width: 105px;
	text-align: center;
}

td.ecobmetal {
    background-image: url("../img/bg/pill-metal.png");
}

td.ecobdiamond {
    background-image: url("../img/bg/pill-diamond.png");
}

td.ecobhydrogen {
    background-image: url("../img/bg/pill-hydrogen.png");
}

td.ecobzion {
    background-image: url("../img/bg/pill-zion.png");
}

td.ecobnanite {
    background-image: url("../img/bg/pill-nanite.png");
}

td.ecobenergy {
	background-image: url("../img/bg/ecobenergy_small.png");
}

td.ecobrobots {
	background-image: url("../img/bg/ecobrobots_small.png");
}

td.ecobrubits {
	background-image: url("../img/bg/ecobrubits_small.png");
}

td.ecosenergy {
	background-image: url("../img/bg/ecosenergy_small.png");
}

td.ecosrobots {
	background-image: url("../img/bg/ecosrobots_small.png");
}

td.ecosrubits {
	background-image: url("../img/bg/ecosrubits_small.png");
}

div.econame {
    font-size: 10px;
	font-weight: bold;
    text-transform: uppercase;
    line-height: 20px;
    padding-left: 2px;
}

td.ecobhydrogen div.econame {
    padding-left: 5px;
}

div.ecovalue {
    margin-bottom: 5px;
}

td.empty {
	width: 10px;
}

table.help {
	width: 760px;
	margin-bottom: 15px;
	line-height: 17px;
	border-collapse: collapse;
}

tr.b760 {
	background: rgba(28, 34, 39, 0.75);
	background-repeat: repeat-y;
}

tr.b760t {
	height: 5px;
	background-image: url("../img/bg/bt760.png");
	background-position: top;
}

tr.b760b {
	height: 5px;
	background-image: url("../img/bg/bt760.png");
	background-position: bottom;
}

tr.b670 {
	background: rgba(28, 34, 39, 0.75);
	background-repeat: repeat-y;
	width: 670px;
}

tr.b670t {
	height: 5px;
	background-image: url("../img/bg/bt670.png");
	background-position: top;
}

tr.b670b {
	height: 5px;
	background-image: url("../img/bg/bt670.png");
	background-position: bottom;
}

tr.bo720 {
	background-image: url("../img/bg/oback.png");
	background-repeat: repeat-y;
	width: 670px;
}

tr.bo720t {
	height: 5px;
	background-image: url("../img/bg/bot720.png");
	background-position: top;
}

tr.bo720b {
	height: 5px;
	background-image: url("../img/bg/bot720.png");
	background-position: bottom;
}

tr.b720 {
	background: rgba(28, 34, 39, 0.75);
	background-repeat: repeat-y;
	width: 670px;
}

tr.b720t {
	height: 5px;
	background-image: url("../img/bg/bt720.png");
	background-position: top;
}

tr.b720b {
	height: 5px;
	background-image: url("../img/bg/bt720.png");
	background-position: bottom;
}

table.b670 {
	width: 670px;
	border-collapse: collapse;
}

table.b760 {
	width: 760px;
	border-collapse: collapse;
}

table.b720 {
	width: 720px;
	border-collapse: collapse;
}

td.pad {
	padding-left: 8px;
	padding-right: 8px;
}

table.justify td,
td.justify {
	text-align: justify;
	padding-right: 5px;
	padding-left: 5px;
}

table.cell {
	border-collapse: collapse;
}


/* --- */

td.helptext {
	padding: 0px 10px 0px 10px;
	text-align: justify;
}

.helptop {
	position: absolute;
	top: 5px;
	right: 10px;
}

div.helpimg,
div.helpimg2 {
	width: 25px;
	height: 25px;
	background-image: url("../img/bg/infomini.png");
	background-position: center;
	cursor: pointer;
}

body,
table,
input,
select,
font {
	font-family: "Trebuchet MS";
	font-size: 12px;
}

ul.subhelp,
ul.help {
	margin: 0px;
	padding: 0px;
	padding-top: 2px;
}

ul.subhelp {
	padding-left: 20px;
}

select {
	background-color: black;
	border: solid 1px;
	font-family: Trebuchet MS;
	font-size: 12px;
	text-align: left;
	color: #DDD;
	border-color: #888;
}

select.unitslist {
	width: 250px;
	border: 1px solid #CCC;
	background-color: black;
}

/* se calhar podemos apagar este select */
div.unitlist {
	width: 250px;
	height: 62px;
	background-color: #121e29;
	overflow-y: scroll;
    border: 1px solid #335271;
    border-radius: 4px;
    padding: 4px;
}

div.unitlist ul {
	list-style: none;
	color: #DDD;
	margin: 0;
	padding: 0;
}

div.unitlist ul li {
	box-sizing: border-box;
	padding: 2px 4px !important;
	cursor: default;
	margin: 0 !important;
	line-height: 12px;
	list-style-type: none;
	list-style-image: none;
	text-align: left;
}

div.unitlist ul li.itemactive {
	background-color: #1e90ff;
}

img.avatar {
	max-width: 100px;
	max-height: 100px;
	margin: 5px 10px;
	border: 1px solid #666;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
}

.user-card img.avatar {
	margin-bottom: 4px;
}

.user-card {
	margin-top: 2px;
	margin-bottom: 3px;
}

.user-card label {
	display: block;
}

/* Players State Colors */

.pstate {
	color: #69C;
	font-family: Trebuchet MS;
	font-weight: bold;
	font-size: 11px;
}

b.pvac,
b.pina,
b.pban,
b.ppro {
	color: #69C;
}

td.mv_attack {
	font-weight: bold;
	color: #F44;
}

td.mv_spy {
	font-weight: bold;
	color: #FA2;
}

input.center {
	border: 1px solid #888;
	font-size: 11px;
	text-align: center;
}

div.hide-bar {
    background-color: rgba(25, 40, 39, .8);
    border-radius: 10px;
    padding: 2px 10px;
    margin-bottom: 20px;
    display: inline-block;
}

div.hide-bar span {
    display: inline-block;
    width: 40px;
    margin: 5px;
}

/* TABS */

td.tabini,
td.tabend,
td.tabnormal,
td.tabactual,
td.tabnormalh,
td.tabactualh {
	background-image: url("../img/bg/tabs.png");
	background-repeat: no-repeat;
}

table.tab {
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 15px;
}

td.tabsep {
	background-image: url("../img/bg/tabsep.png");
	background-repeat: no-repeat;
	background-position: center top;
	width: 7px;
}

td.tabini {
	background-position: left top;
	width: 3px;
}

td.tabend {
	background-position: right top;
	width: 3px;
}

td.tabnormal {
	background-position: center top;
	width: 100px;
}

td.tabactual {
	background-position: center;
	width: 100px;
}

td.tabnormalh,
td.tabactualh {
	background-position: center bottom;
	width: 100px;
}

div.taboptions {
	cursor: pointer;
	background-repeat: no-repeat;
	background-position: center;
	text-align: center;
	height: 27px;
	line-height: 2.2em;
}

input.button:disabled {
	border-color: #666;
	color: #555;
}

.emojiContainer {
	background: rgba(28, 34, 39, 0.75);
	border-radius: 6px;
}

.emojiContainer td {
	text-align: center;
	padding: 2px;
}

.chatEmojiContainer td {
	padding: 1px;
	text-align: center;
}

.chatEmojiContainer img.emoji {
	height: 17px;
}


div.item {
    display: inline-block;
    width: 347px;
    margin: 5px 0 5px 10px;
    background-color: rgba(28, 34, 39, 0.75);
    border-radius: 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 8px 4px;
    position: relative;
}

div.item .header {
    text-align: center;
    margin-bottom: 10px;
}

div.item .header a {
    text-decoration: none;
    color: #69C;
    font-weight: bold;
}

div.item .minimize {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 14px;
}

div.item .minimize a {
    color: #666666;
}

div.item .body {
    content: "";
    display: table;
    clear: both;
}

div.item div.image {
    float: left;
    width: 88px;
}

div.item div.details {
    float: left;
    width: 250px;
}

div.item .price, div.item .time {
    font-size: 11px;
    line-height: 22px;
}

div.item .robots {
    font-size: 11px;
    line-height: 28px;
}

div.item .price div {
    display: inline;
}

div.item .time i {
    display: none;
}

div.item .table {
    margin-bottom: 3px;
}

div.item .image-frame {
    width: 80px;
    height: 80px;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

div.item .cell {
    height: 33px;
    line-height: 16px;
    vertical-align: middle;
    text-align: center;
    padding-right: 86px;
}

div.item.building {
    padding-bottom: 4px;
}

.item.building .robots input {
    width: 32px;
    text-align: center;
}

.item input.text {
    border-color: #335271;
}

div.item .robots {
    display: inline-block;
}

div.item .robots + .time {
    display: inline-block;
}

div.item .robots + .time label {
    display: none;
}

div.item .speedup {
    position: absolute;
    right: 5px;
    top: 38px;
}

div.item .robots + .time i {
    display: inline-block;
    font-size: 15px;
    padding-left: 6px;
    top: 2px;
    position: relative;
    width: 18px;
}

.item .robots > input {
    border-radius: 4px;
    border: 1px solid #335271;
    height: 22px;
    outline: none;
}

.item .robots > input:read-only {
    border: 1px solid #555;
    outline: none;
}

div.item.hangar:not(.smother) .cell,
div.item.armament .cell,
div.item .cell.full {
    text-align: left;
    padding-right: 0;
}

div.item img.joint {
    position: relative;
    top: 3px;
}

.item .cell > input.text {
    border-radius: 4px;
    height: 22px;
    outline: none;
    width: 50px;
    font-size: 11px;
    text-align: center;
}

.input-max {
    display: inline-flex;
}

.input-max > input {
    border-radius: 4px 0 0 4px;
    border: 1px solid #335271;
    border-right: 0;
    outline: none;
    height: 22px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.input-max > div {
    display: inline-block;
    border-radius: 0 4px 4px 0;
    background-color: #243a51;
    border: 1px solid #335271;
    border-left: 0;
    text-align: center;
    font-size: 11px;
    height: 20px;
    line-height: 18px;
    cursor: pointer;
    padding-left: 4px;
    padding-right: 4px;
}

.input-max > div.disabled {
    background-color: #555;
    cursor: default;
}

.input-max > div:not(.disabled):hover {
    background-color: #345f8a;
    color: #ccc;
}

.input-max > div:not(.disabled):hover a {
    color: white;
}

.input-max > div i {
    font-size: 18px;
    vertical-align: middle;
}

.input-max > div span {
    vertical-align: middle;
}

div.table {
    display: table;
    width: 100%
}

div.cell {
    display: table-cell;
}

.res-m, .res-d, .res-h, .res-z, .res-n {
    background-position: center center;
    background-repeat: no-repeat;
    width: 19px;
    height: 19px;
    line-height: 19px;
    text-indent: -9999px;
    display: inline-block;
    margin-left: 5px;
    margin-right: 1px;
}

.res-m {
    background-image: url("../img/resources/metal.png");
    margin-left: 0;
    margin-right: 2px;
}

.res-d {
    background-image: url("../img/resources/diamond.png");
    background-position-y: -1px;
    width: 15px;
}

.res-h {
    background-image: url("../img/resources/hydrogen.png");
}

.res-z {
    background-image: url("../img/resources/zion.png");
}

.res-n {
    background-image: url("../img/resources/nanite.png");
}

div.eco {
    margin: 15px auto;
    text-align: center;
    font-size: 11px;
}

div.eco > div {
    display: inline-block;
    margin-left: 3px;
    vertical-align: middle;
    width: 100px;
    height: 55px;
    line-height: 16px;
}

div.eco.small > div {
    width: 100px;
    height: 25px;
    line-height: 25px;
}

div.eco > div.eco-box {
    margin-left: 0;
    margin-right: 8px;
    border-radius: 3px;
    position: relative;
    width: 84px;
    height: 35px;
    padding-top: 3px;
}

div.eco > div.eco-box > label {
    font-size: 12px;
    font-weight: bold;
    display: block;
    line-height: 15px;
}

div.eco > div.eco-box:nth-child(odd) > label {
    color: #69C;
}

div.eco.small > div.eco-box {
    width: 84px;
    height: 21px;
    line-height: 21px;
}

div.eco > div.eco-box > i {
    margin-left: 0;
    position: absolute;
    left: -8px;
    top: -5px;
}

div.eco > div.eco-box.nanite > i {
    left: -6px;
}

div.eco > .eco-box.metal {
    background-color: #242424;
    border: 1px solid #343535;
}

div.eco > .eco-box.diamond {
    background-color: #1a262d;
    border: 1px solid #23333e;
}

div.eco > .eco-box.hydrogen {
    background-color: #332616;
    border: 1px solid #4c3a22;
}

div.eco > .eco-box.zion {
    background-color: #2a2f1b;
    width: 80px;
    border: 1px solid #424a2b;
}

div.eco > .eco-box.nanite {
    background-color: #2f2d1b;
    width: 75px;
    border: 1px solid #504d2e;
}

div.eco > div.energy {
    background-image: url("../img/bg/ecosenergy_small.png");
}

div.eco > div.robots {
    background-image: url("../img/bg/ecosrobots_small.png");
}

div.eco > div.rubits {
    background-image: url("../img/bg/ecosrubits_small.png");
    width: 80px;
    text-align: left;
}

div.eco > div.rubits > span {
    margin-left: 40px;
}

table.bg.item tbody tr {
    height: 40px;
}

table.bg.item a {
    text-decoration: none;
}

table.bg.item .action a {
    text-decoration: underline;
}

table.item .robots > input {
    width: 52px;
}

table.item td.price,
table.item td.time {
    min-width: 100px;
    white-space: nowrap;
}

table.item td.time span {
    display: block;
    line-height: 14px;
}

table.item .speedup {
    margin-left: 6px;
}

table.item .price {
    padding-right: 10px;
}

table.item .time {
    padding-left: 10px;
}

table.item.hangar .action,
table.item.armament .action {
    text-align: left;
}

.item a.minimize {
    font-size: 14px;
    color: #666666;
}

.item:not(.hangar):not(.armament) .action i {
    padding: 4px 4px 4px 5px;
    border-radius: 5px;
    width: 15px;
    background-color: #304d6c;
    font-size: 14px;
}

.item:not(.hangar):not(.armament) .action i:not(.disabled):hover {
    background-color: #41688f;
    color: white;
}

.item:not(.hangar):not(.armament) .action i.disabled {
    background-color: #565656;
    color: #999999;
}

.item.hangar .input-max input,
.item.armament .input-max input {
    font-size: 11px;
    width: 45px;
    text-align: center;
}

div.input {
    display: inline-block;
}

th.left {
    text-align: left;
}

.tooltip {
    border-radius: 3px;
}