/*
$background: #040E1E url('/images/background.jpg');
$foreground: #fff;
$ui-background: #1b4c6e;
*/

:root {
    --color-accent:          #ffd600;
    --color-accent-hover:    #2cbbf7;
    --color-bg-page:         #040E1E;
    --color-bg-surface:      rgba(13, 16, 20, 0.95);
    --color-bg-surface-dark: #212428;
    --color-text:            #FFF;
    --color-text-bright:     #FFF;
    --color-border:          #000;
    --color-th-bg:           url("img/bkd_title.png");
    --color-menu-bg:         #1d5888cf;
    --color-card-header-bg:  #252831;
    --color-success:         #00FF00;
    --color-danger:          #FF0000;
    --color-warning:         #FF8040;
    --color-notice:          #FFFF00;
    --color-res-name:        #FF0000;
    --color-ally-member:     #99FF66;
    --color-ally-friend:     #99FFFF;
    --color-ally-nap:        #aa99ff;
    --color-ally-trade:      #ffec99;
    --color-ally-enemy:      #FF0000;
}

html {
  background: url("img/bkd_page.jpg") no-repeat fixed center center var(--color-bg-page);
  background-size: cover;
}

body {
	/* background: rgba(13, 16, 20, 0.50); */
	/* color: #E6EBFB; */

	font-size: 12px;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	/* font-family: Whitney,Source Sans Pro,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; */
}

body,input,select,button,textarea,a,td,th,tr,table,a:visited{
	color:#fff;
}

body.mceContentBody,input,button,select,option,textarea, .ui-widget-content{
	background: var(--color-bg-surface);
    padding: 2px;
}

input[type="radio"] {
	background:transparent;
	border:0 none;
}


/* #menu li:first-child, #menu li:last-child{
	background-color:transparent;
} */

.card .title {
	background-image: url("img/bkd_title.png");
	border: 1px solid #000;
	color: #FFF;
	font-weight: bold;
}

.card .content {
	background: rgba(13, 16, 20, 0.95);
	border: 1px solid #000;
}

a:hover {
	color: var(--color-accent-hover);
	text-decoration: none;
	font-weight: bold;
}

table,td,th {
	font-weight:400
}

table table,img {
	border:0
}

input, select, textarea, #userpic, input, button{
	border:1px solid var(--color-accent);
}

button.selected{
	border:1px solid #1C1FD3;
}

td, th input, .tip {
	border:1px solid #000;
}

td, .tip {
	text-align:center;
	background: var(--color-bg-surface);
}

input,button {
	text-align:center
}

th, .ui-widget-header {
	background-image:url("img/bkd_title.png");
	color:#FFF;
	font-weight:700;
	text-align:left;
	border:1px solid #000;
}


.trade-disallowed > td{
	background: #001004;
}

.trade-enemy > .table_username{
	color: var(--color-danger);
}

.trade-ally  > .table_username{
	color:#0F0;
}

.no-background, .no-background > th, .no-background > td {
	background-image: none;
	background: transparent;
}

.center, .center > th, .center > td {
	text-align:center;
}


.no-border, .no-border > th, .no-border > td {
	border:0px;
}

th a:hover, .ui-widget-header a:hover, .article a:hover {
	color:#FFF;
font-weight:bold;
}

th a:hover, .ui-widget-header a:hover {
	text-decoration:underline;
font-weight:bold;
}

textarea {
	background:transparent;
}

select {
	border:1px solid #212121
}

/*Global Messgae */

.admin {
	color: var(--color-danger);
}
.mod {
	color: #FFFF00;
}
.ops {
	color: #87CEEB;
}

.messages_body .admin {
	font-weight:700;
	color: var(--color-danger);
}
.messages_body .mod {
	font-weight:700;
	color: #FFFF00;
}
.messages_body .ops {
	font-weight:700;
	color: #87CEEB;
}

.res_max {
	color: var(--color-success);
}

.res_name {
	color: var(--color-res-name);
	font-weight: 700;
}

.galaxy-alliance-member {
	color: var(--color-ally-member);
}

.galaxy-alliance-friend {
	color: var(--color-ally-friend);
}

.galaxy-alliance-enemy {
	color: var(--color-ally-enemy);
}

.galaxy-short-noob,
.galaxy-username-noob{
	color:#a0ffa0
}

.galaxy-short-strong,
.galaxy-username-strong {
	color:#ffa0a0
}

.galaxy-short-vacation,
.galaxy-username-vacation {
	color:#659ec7
}

.galaxy-short-inactive,
.galaxy-username-inactive {
	color:#ccc
}

.galaxy-short-longinactive,
.galaxy-username-longinactive {
	color:#999
}

.galaxy-short-banned {
	text-decoration:line-through
}

.ownattack {
	color:#6c3
}

.owncolony {
	color:#c1c1c1
}

.owndeploy {
	color:#cf79de
}

.owndestroy {
	color:#ff9
}

.ownfederation {
	color:#c66
}

.ownharvest {
	color:#ceff68
}

.ownhold {
	color:#80a0c0
}

.destroy {
	color:#d4a017
}

.hold {
	color:#39c
}

.warning {
	color: var(--color-warning);
}

.notice {
	color: var(--color-notice);
}

.return {
	color:#6e8eea;
}

.allymember,.colony,.deploy,.harvest,.transport,.success {
	color: var(--color-success);
}

.owntransport {
	color:#5bf1c2
}

.ownespionage,.ownmissile {
	color:#fc6
}

.espionage,.missile {
	color:#f60
}

.build_submit {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    color: var(--color-success);
    font-size: medium;
}
.onlist{
    color: #DDD;
}

/** LOGO **/

.logo .fixed {
	background: var(--color-bg-surface);
	border-bottom: 1px solid var(--color-border);
}

/** HEADER **/

header .fixed {
	background: var(--color-bg-surface);
	/* border: 1px solid var(--color-border); */
	border-bottom: 1px solid var(--color-border);
}

#resourcesdiv{
	text-align:center;
}

/** MENU **/

.menu-separator {
	background-image: url(img/bkd_title.png);
    /* color: #FFF; */
    /* border: 1px solid black; */
}

menu a {
	text-align: center;
	background: var(--color-menu-bg);
}

menu a:hover {
	color: var(--color-accent-hover);
	font-weight: bold;
}

div#disclamer a {
	background: unset;
	border-top: unset;
}

/* PLANETMENU */

#planet_menu_link{
	font-weight:700;
}

#planet_menu_header{
	text-align:right;
}

#planet_menu_content li {
	text-align:center;
}


/* CONTENT */

.tip th{
	text-align:center
}

.transparent,header td, .tip td, .tip th, .raportMessage td {
	background: transparent;
	border:none;
	filter: none !important;
}

.mes_unread td {
	font-weight:700;
	background-color: var(--color-bg-surface-dark);
}

/* Messages Page */
.msg-loading {
	display: none;
}

.msg-cat-cell {
	word-wrap: break-word;
	padding: 5px 8px !important;
}

.msg-cat-link {
	font-weight: 700;
}

.msg-cat-link:hover {
	text-decoration: underline;
	color: #ffd600 !important;
}

.msg-cat-counts {
	font-size: 11px;
	opacity: 0.75;
}

.msg-table {
	table-layout: auto;
}

.msg-action-bar {
	text-align: left !important;
	padding: 5px 8px !important;
}

.msg-action-bar select {
	margin-right: 6px;
}

.msg-col-header td {
	font-weight: 700;
	background: rgba(30, 42, 60, 0.9) !important;
	border-bottom: 1px solid #333;
}

.msg-action-col {
	width: 1px;
	text-align: center !important;
}

.msg-date-col {
	width: 130px;
	white-space: nowrap;
}

.msg-from-col {
	width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.msg-subject-col {
	text-align: left !important;
}

.msg-body-cell {
	text-align: left !important;
	padding: 6px 10px !important;
	word-break: break-word;
}

.msg-pagination-row td {
	background: rgba(20, 25, 35, 0.6) !important;
	padding: 4px 8px !important;
}

.msg-icon-btn {
	margin-left: 8px;
	opacity: 0.5;
	transition: opacity 0.15s, color 0.15s;
	vertical-align: middle;
}

.msg-icon-btn:hover {
	opacity: 1;
	color: #ffd600 !important;
}

.msg-delete-btn:hover {
	color: #ff4a4a !important;
}

a {
	text-decoration:none
}

th a,.res_current{
	color:#FFF
}

.res_current_max,.attack,.federation,.error {
	color: var(--color-danger);
}

#fleetstatustable td{
	background: transparent;
	background-image: none;
	border: 0 none
}

.raportWin {
	color: var(--color-success);
}

.raportLose {
	color: var(--color-danger);
}

.ui-progressbar-value {
	background-image: url(img/processbar.gif);
	background-position:top left;
	border-color:#000;
}

.spyRaportContainerHead {
	background: var(--color-bg-surface-dark);
	color: var(--color-text-bright);
	font-weight: 700;
	text-align: left;
	margin: 3px 0;
	padding: 3px;
}

.spyRaportContainerRow {
	border-top:1px solid #DDD;
}
.spyRaportContainerHead + .spyRaportContainerRow {
	border-top:0 none;
}

.message {
    margin: 0 0 0 744px;
    position: fixed;
    background-color: #208c81c4;
    padding: 8px;
    text-align: center;
    top: 100px;
    border-radius: 15px 0px 15px 15px;
    height: fit-content;
    max-width: 175px;
}

@media screen and (min-width: 700px) and (max-width: 1600px) {
.message {
right: 10.5%;
margin: 0;
}
}
@media screen and (max-width: 699px) {
.message {
	bottom: 0;
	width: 100%;
	max-width: unset;
	border-radius: 15px 15px 0 0;
	top: unset;
	margin: 0;
	}
.gal1 {
    position: fixed;
    font-size: unset !important;
    margin: 5% auto;
    left: 0;
    right: 0;

  }
}

.planeto {
	background: #592eabb3;
	text-align: center;
	border:#6321a9b3;
	border-radius: 15px;
	padding: 5px;
}

.infos {
    text-align: center;
    background: #2d3955d1;
    border-radius: 15px;
    margin-top: 10px;
    overflow: auto;
}

.infoso {
    text-align: center;
    background: #343b6bba;
    border-radius: 15px;
    margin-top: 10px;
    overflow: auto;
}


.infos1 {
    text-align: center;
    background: #356f6dba;
    border-radius: 15px;
    overflow: auto;
margin:0 10px 0 10px;
}

.moon {
	float:left;
	width: 30%;
        padding:10px;
	
}

.planetl {
	float:left;
	padding-left: 8px;
        min-height: 155px;
}

.planeth {
    	line-height: 1.4;
    	padding: 10px;
    font-variant-caps: petite-caps;
}

.galaxy {
    float: left;
    margin: 5px auto;
    width: 50%;
    font-variant-caps: petite-caps;
    
}

.gal1 {
background: #243463f5;
    text-align: center;
    border-radius: 15px;
    padding: 5px;
font-size: medium;
}

.g1 {
    margin: auto;
    text-align: center;
}

.g2 {
    min-width: 10%;
    width: min-content;
    float: left;
    height: 105px;
    text-align: center;
    margin: 0 5px;}

.g3 {
    
    width: 115px;
    float: left;
    height: 105px;
    text-align: center;
}

.planetb {
min-width: 296px;
    float: left;
    background: #01111fab;
    padding: 5px;
    width: 33%;
height: 135px;
}

.planetb1 {
min-width: 296px;
    float: left;
    background: #01111fab;
    padding: 5px;
    width: 33%;
border: 1px solid #336c7b;
height: 133px;
}

.gal2 {
    background: #243463f5;
    text-align: center;
    border-radius: 15px;
    padding: 5px;
    font-size: medium;
    float: left;}

.planeth img {
    	margin: 8px;}

.bulida {
	float: left;
    width: 35%;
    line-height: 1.4;
    padding: 8px;
    height: 69px;
    border-bottom: solid 1px #00d2be;
}
.queue-total {
  clear: both;
  width: 100%;
  padding: 4px 8px;
  line-height: 1.4;
  border-bottom: solid 1px #00d2be;
  box-sizing: border-box;
}

.buildb {
	float: left;
	width: 65%;
	line-height: 1.4;
	padding: 12px;
	height: 69px;
	border-bottom: solid 1px #00d2be;
}

.hidden-div {
	border: 2px solid #c7cc02;
	border-radius: 15px;
	margin: 3px;
	padding: 5px;
	text-align: center
}

.buildl {
	float: left;
	width: 50%;
	line-height: 1.4;
	padding: 10px;
	text-align: center;
	background: #303463c9;
	height:140px
}

.buildn {
	border-radius: 15px;
	padding: 6px;
	overflow: auto;
	background: #19528ead;
}

.buildn a:hover {
	color: var(--color-accent-hover);
	font-weight: bold;
}

.techb {
    background: #1b4c6e;
    border-radius: 15px;
    padding: 5px;
    overflow: hidden;
    text-align: left;
width: 100%;
}

.techi {
	margin: 5px 0 0 5px;
	min-height: 240px;
	min-width: 172px;
    float: left;
    width: 32.5%;
    padding: 3px;
    background: #478f7e8c;
}

.ship {
    margin: 0 auto;
    max-width: 400px;
    background: #1b2e58d1;
    border-radius: 25px;
}

.shipl {
    margin-top: 10px;
    padding: 10px;
    overflow: auto;
    border: none;
    border-radius: 15px;
}
.z {
    margin: 5px auto;
    padding: 10px;
    max-width: 300px;
    background: #1b4c6e;
    border-radius: 25px;
    color: #e9ff79;
    text-transform: uppercase;
}
.b {
    margin: 5px auto;
    padding: 5px;
    background: #1b4c6e;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
}


input:hover {
    color: var(--color-accent-hover);
}

.ui-autocomplete, .ui-state-hover, .ui-state-default, .ui-tabs-nav, .ui-tabs, .ui-progressbar, .ui-progressbar-value {
	-webkit-border-radius:0;
	-khtml-border-radius:0;
	border-radius:5px;
}

.ui-state-default{
	border:1px solid #000 !important;
	background: var(--color-bg-surface) !important;
}
.ui-state-default > a{
	cursor:pointer !important;
}

.ui-state-hover, .ui-progressbar{
	border: 1px #000!important;
	background: #55386b!important;
}

.ui-tabs-nav {
	padding: 0;
}

.ui-tabs {
	border:1px solid #000;
	background:transaprent;
}

@media screen and (max-width: 520px) {
    div .buildb {
        border: none;
    }
    div .bulida {
        border: none;
    }
}

.card {
	background-color: rgba(5, 5, 5, 0.5) !important;
	border: 1px solid #444;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}
.card-header, .card-header .card-actions a, .card-header .card-actions button
.card-footer, .card-footer .card-actions a, .card-footer .card-actions button{
	color: #fff;
	border-left: 0;
}
.card-header, .card-footer, .spyReportCat {
	background-color: var(--color-card-header-bg);
}

.card-header {
	border-bottom: 1px solid #444;
}
.card-footer {
	border-top: 1px solid #444;
}
.card-footer, .card {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}
