#mainarea {
    width: 990px;
    margin: 0 auto;
}

#leftmenu {
    position: absolute;
    top: 68px;
}

#hauptarea {
    position: absolute;
    /* background-color: pink; */
}

@media only screen and (max-width: 1150px) {
    .right-menu {
        display: none;
    }
}

.content-table {
    min-width: 500px;
}




#header_top {
    width: 990px;
    margin: 0 auto;
    position: relative;
}

#top {
    height: 143px;
    background-image: url("//static.xorbit.de/skins/redesign/header.png");
    /* position: absolute; */
    width: 100%;
    /* background-color: cyan; */
}


#menu {
    top: 0px !important;
}


#ipimenucomponent a {
    text-decoration: none;
    color: white;
}

#ipimenucomponent .ipiMenuTrackedAction {
    width: 165px;
    margin: 0 0 3px 0;
}

#ipimenucomponent .ipiMenuTrackedAction:hover {
    filter: brightness(1.2);
}

#ipimenucomponent .ipiMenuHead {
    background: url("//gf2.geo.gfsrv.net/cdn11/41e941f1dba8d329d19555deab2aaf.gif") no-repeat;
    height: 29px;
    width: 100%;
    background-size: cover;
    text-align: center;
    line-height: 29px;
    position: relative;
}

#ipimenucomponent .ipiMenuBody {
    background: url("//gf3.geo.gfsrv.net/cdne6/8b7c1229aa38b7feeef224b5bdd5b6.gif") repeat-y;
    background-size: contain;
    text-align: center;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    word-wrap: break-word;
}

#ipimenucomponent .ipiMenuFooter {
    background: url("//gf3.geo.gfsrv.net/cdn23/94ae7afab3b437156abf147af013e6.gif") no-repeat;
    height: 12px;
    width: 100%;
    background-size: contain;
}


#left {
    max-width: 160px;
    /*
    width: 160px;
    float: left;
    position: relative;
    top: -32px;
    */
}

#links .leftmenu a,
#links .leftmenu a:link,
#links .leftmenu a:visited {
    color:#a2b0bd;
    display:block;
    font: bold 11px/25px verdana, arial, helvetica, sans-serif;
    text-decoration:none;
}

#links .leftmenu li {
    height: 29px;
    list-style:none;
    float:left;
    width: 165px;
    padding:0;
    margin:0;
}

#links .leftmenu li span.menu_icon {
    float:right;
    width:27px;
    height:27px;
    background: url(http://gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png) -525px -316px;
}

#links .leftmenu a.menubutton, #links .leftmenu button.menubutton {
    background: url("//gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png") -374px -258px no-repeat;
    height: 29px;
    text-align:center;
    line-height:25px;
    width: 136px;   
}

#menuTable {
    padding: 0px;
}



/***********************************************/
/*          LINKBAR                            */
/***********************************************/

#bar {
    font-size:11px;
    width:100%;
    margin-top:2px;
    text-align:center;
    width: 990px;
}

#bar a,
#bar a:link,
#bar a:visited,
#bar a:active {
    color:#6f9fc8;
    display: inline-block;
    text-decoration:none;
}

.no-touch #bar a:hover {
    text-decoration:underline;
    color:#9c0;
}

#bar ul {
    margin: 0 auto;
}

#bar ul li {
    display:inline-flex;
    height: 26px;
    list-style-type:none;
    list-style-position:outside;
    margin:0 15px 0 0;
    float: left;
    align-items: center;
}

#bar ul li#playerName {
    /* float: left; */
    /* margin-right: 1px; */
    display: inline-flex;
    gap: 2px;
    align-items: center;
    flex-direction: row;
}
#bar ul li#playerName span.status_abbr_outlaw {
    background: url("//gf1.geo.gfsrv.net/cdn6f/91ad13c8f9a7e9390085d12adde508.png") no-repeat 0 -640px;
    padding-left: 15px;
}

.buddie_highlight {color:#fff;}

#attack_alert {
    color:#fff;
    display:block;
    height: 37px;
    margin-left:2px;
    text-decoration:none;
    width: 55px;
}

#attack_alert.noAttack {
    visibility: hidden;
}

#attack_alert a {
    background-image: url("//gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png");
    background-repeat: no-repeat;
    display:block;
    height: 40px;
    margin: 0 0 0 5px;
    width: 62px;
}
#galaxytable #attack_alert a {
    height: 45px;
    margin: 1px 0 0 6px;
}




#resourcesbarcomponent {
    /* Positioning */
    position: relative;
    top: 20px;
    left: 195px;
    /* Box-Model */
    min-width: 480px;
    max-width: 600px;
    height: 50px;
    float: left;

    /* Typography */
    /* Visual */
    /* Misc */
}

#resourcesbarcomponent .undermark { color:#99CC00 !important;}
#resourcesbarcomponent .overmark { color: #D43635 !important;}
#resourcesbarcomponent .middlemark { color: #D29D00 !important;}
#resourcesbarcomponent .disabled { color: #444444;}

#resourcesbarcomponent .value font {font-size:9px;}

#resourcesbarcomponent div#resources {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#resourcesbarcomponent div#resources div.resource {
    height: 47px;
    width: 120px; /* 64*/
    text-align: center;
    /* cursor: pointer; */
}
#resourcesbarcomponent div#resources div#population_box.resource,
#resourcesbarcomponent div#resources div#food_box.resource {
    cursor: default;
}
#resourcesbarcomponent div#resources div.resource.darkmatter { position: absolute; }
#resourcesbarcomponent div#resources .resourceIcon,
#resourcesbarcomponent div#resources div.resource img {
    margin: 0 8px 2px 8px;
    width: 48px;
    height: 32px;
}

#resourcesbarcomponent div#resources {
    position: relative;
}

#resourcesbarcomponent div#resources div.resource .value {
    color:#a6b8cb;
    /* font: normal 9px/11px Verdana, Arial, Helvetica, sans-serif; */
    text-align:center;
}

#resourcesbarcomponent div#resources div.resource img { margin-bottom: 0; }


#resourcesbarcomponent div#resources div.resource.darkmatter a {
    display: block;
    height: 32px;
    text-decoration: none;
}

#resourcesbarcomponent div#resources div.resource.darkmatter img {
    position: absolute;
    left: 0;
    z-index: 10;
}

#resourcesbarcomponent .resourceIcon {
    width: 48px;
    height: 32px;
    float: left;
}

#resourcesbarcomponent .resourceIconSmall {
    background: transparent url("//gf2.geo.gfsrv.net/cdn4b/22ec13d536fa483c5dc3636fae7dc7.png") 0px 0px no-repeat;
    width: 30px;
    height: 20px;
    float: left;
}

#resourcesbarcomponent .resource_tile {
    padding: 16px 0 0 23px;
    margin: 0 -10px;
    min-width: 82px;
    max-width: 140px;
    height: 50px;
}
#resourcesbarcomponent .resource_tile.metal { background: transparent url("//gf3.geo.gfsrv.net/cdn23/da17bf4092cfc855f98620053b4b77.png") 0px 0px no-repeat; }
#resourcesbarcomponent .resource_tile.crystal { background: transparent url("//gf3.geo.gfsrv.net/cdne5/fa1ba61880a038a5e30460b5aece60.png") 0px 0px no-repeat; }
#resourcesbarcomponent .resource_tile.deuterium { background: transparent url("//gf3.geo.gfsrv.net/cdnba/88d4e53ca1cebbf48614687df95cbd.png") 0px 0px no-repeat; }
#resourcesbarcomponent .resource_tile.energy { background: transparent url("//gf1.geo.gfsrv.net/cdnc2/e2072058157a98d2eeb9327e34a265.png") 0px 0px no-repeat; }
#resourcesbarcomponent .resource_tile.darkmatter { background: transparent url("//gf3.geo.gfsrv.net/cdn82/b024ac264716b09656b05092cdf563.png") 0px 0px no-repeat; }
#resourcesbarcomponent .resource_tile.population { background: transparent url("//gf3.geo.gfsrv.net/cdn23/da17bf4092cfc855f98620053b4b77.png") 0px 0px no-repeat; }
#resourcesbarcomponent .resource_tile.food { background: transparent url("//gf3.geo.gfsrv.net/cdne5/fa1ba61880a038a5e30460b5aece60.png") 0px 0px no-repeat; }

#resourcesbarcomponent .resourceIcon.metal {
    background-image: url(//static.xorbit.space/skins/redesign/images/metall.png);
    background-size: 100%;
}
#resourcesbarcomponent .resourceIcon.crystal {
    background-image: url(//static.xorbit.space/skins/redesign/images/kristall.png);
    background-size: 100%;
}
#resourcesbarcomponent .resourceIcon.deuterium {
    background-image: url(//static.xorbit.space/skins/redesign/images/deuterium.png);
    background-size: 100%;
}
#resourcesbarcomponent .resourceIcon.energy {
    background-image: url(//static.xorbit.space/skins/redesign/images/energie.png);
    background-size: 100%;
}
#resourcesbarcomponent .resourceIcon.darkmatter {
    background-image: url(//static.xorbit.space/skins/redesign/images/dm.png);
    background-size: 100%;
}
#resourcesbarcomponent .resourceIcon.population { background-position: -336px -160px;}
#resourcesbarcomponent .resourceIcon.food { background-position: -288px -160px;}

#resourcesbarcomponent .resourceIconSmall.metal { background-position: 0px 0px;}
#resourcesbarcomponent .resourceIconSmall.crystal { background-position: -30px 0px;}
#resourcesbarcomponent .resourceIconSmall.deuterium { background-position: -60px 0px;}
#resourcesbarcomponent .resourceIconSmall.energy { background-position: -90px 0px;}
#resourcesbarcomponent .resourceIconSmall.darkmatter { background-position: -120px 0px;}

#resourcesbarcomponent span > span.value {
    display: block;
    text-align: center;
}

#resourcesbarcomponent span.value {
    text-align: center;
    /*
    This rule was extracted to /assets/css/resourcesbar.css because yuicompressor was breaking it
    */
    width: calc(100% + 30px);
    display: flex;
    justify-content: center;
    word-break: break-all;
    bottom: 0;
    position: relative;
}

#resourcesbarcomponent span.value > span:first-of-type {
    position: absolute;
    top: 3px;
    width: 100%;
    left: -44px; /* -15 */
}



#headerbarcomponent {
    position: absolute;
    top:0;
    width: 100%;
}

#siteHeader {
    /* Positioning */
    position: absolute;
    /* Box-Model */
    height: 19px;
    width: 100%;
    /* Typography */
    /* Visual */
    background: transparent url("//gf1.geo.gfsrv.net/cdn30/92e5dcfd750b5ecd8734e3d13b7fee.gif") repeat-x 0px 0px;
    /* Misc */
}



#commandercomponent {
    position: relative;
    top: 32px;
    right:0;
    float: right;
}

#officers {
    position: relative;
    left: auto !important;
    top: auto !important;
    display: inline-block;
}


/* ***************** Lifeform link *********************************** */
#commandercomponent #lifeform {
    position: relative;
    width:36px;
    display: block;
    transition: all 0.2s ease-in;
    border-radius: 5px;
    border: 1px solid #767b84;
    height: 36px;
    padding: 1px;
}

#commandercomponent #lifeform:hover {
    transform: scale(1.2);
    z-index: 2;
}

#commandercomponent #lifeform a>div {
    width:32px;
    height:32px;
}
#commandercomponent #lifeform .resourceIcon.population {
    background-position-x: -344px;
}
#commandercomponent #lifeform .lifeform-item-icon {
    background-position-y: -280px;
}
#commandercomponent #lifeform .lifeform-item-icon.lifeform1 {
    background-position-x: -4px;
}
#commandercomponent #lifeform .lifeform-item-icon.lifeform2 {
    background-position-x: -40px;
}
#commandercomponent #lifeform .lifeform-item-icon.lifeform3 {
    background-position-x: -75px;
}
#commandercomponent #lifeform .lifeform-item-icon.lifeform4 {
    background-position-x: -110px;
}

#commandercomponent #lifeform a:link,
#commandercomponent #lifeform a:visited,
.no-touch #commandercomponent #lifeform a:hover,
#commandercomponent #lifeform a:active {
    text-decoration:none;
    display: inline-block;
    height: 36px;
    width: 36px;

    border:1px solid #111111;
    border-radius: 2px;
    background-color: #111f;
    padding-left:1px;
    padding-top: 1px;

    box-sizing: border-box;
}


/* *****************************************************************************
Create Note
***************************************************************************** */
#createNote,
#noteList {
    margin: 0 auto;
    min-height: 200px;
    overflow: hidden;
    position: relative;
    padding: 10px 15px;
}

#createNote table, #noteList table {
    width:100%;
    margin:20px auto 0;
}
#createNote table tr,
#noteList table tr {
    height: 22px;
    vertical-align: middle;
}
#createNote td.value, #noteList td.value { padding: 3px 0 3px 5px; }

#createNote .textInput { padding: 3px 0; }

#createNote a.buttonSave span {
    display:block;
    line-height:27px;
    text-align:center;
}
#noteList th { font-weight: 700; text-align: left;}

#noteList select.choose {
    border:1px solid #515151;
    background-color:#141E26;
    color:#848484;
    padding:0;
    vertical-align:top;
    font-size:11px;
    width: 250px;
}
.showOldDropdowns #noteList select.choose {
    color: black;
    background-color: white;
}

#noteList td.options {
    white-space: nowrap;
}

#notizen a:link, #notizen a:visited { color:#848484; text-decoration:none;}
.no-touch #notizen a:hover { text-decoration: underline; }
/*#alliance #inhalt .markItUpPreviewDiv {
    width: 613px;
    margin-left: 0px;
}
#alliance #inhalt .markItUp {
    width: 620px;
    margin-left: 0px;
}*/

#notificationbarcomponent {
    position: absolute;
    width: 510px;
    height: 45px;
    left: 318px;
    right: 0;
    top: 97px;
}

#notificationbarcomponent #message-wrapper {
    width: 510px;
    height: 40px;
    display: flex;
}

#notificationbarcomponent #messages_collapsed {
    font-size: 11px;
    height: 38px;
    line-height: 17px;
    margin: 2px 0 0 0;
    overflow: visible;
    text-align: left;
    width: 430px;
    padding: 3px 0 0 3px;
    text-align: center;
}

#notificationbarcomponent #messages_collapsed a:link,
#notificationbarcomponent #messages_collapsed a:visited,
.no-touch #notificationbarcomponent #messages_collapsed a:hover,
#notificationbarcomponent #messages_collapsed a:active {
    background: transparent url("//gf2.geo.gfsrv.net/cdn71/fc7a8ede3499a0b19ea17613ff0cb1.gif") no-repeat top left;
    float: right;
    height: 18px;
    margin: -15px 0 0 0;
    width: 20px;
}

#notificationbarcomponent #messages_collapsed a.open {
    background-position: 0 -18px;
    display: none;
}

/* ****************** Eventbox: Communication Menu ************************** */
#notificationbarcomponent .comm_menu {
    background-image: url("//gf2.geo.gfsrv.net/cdn43/9d2a040a90c8eae17d3cd2ee3b54df.png");
    background-repeat: no-repeat;
    display: block;
    height: 40px;
    position: absolute;
    width: 60px;
}
#notificationbarcomponent .comm_menu.messages { left:13px; }
#notificationbarcomponent .comm_menu.chat { left: 73px; }
#notificationbarcomponent .comm_menu.buddies { left:133px; }

#notificationbarcomponent .comm_menu.messages { background-position: 15px 1px; }
#notificationbarcomponent .no-touch .comm_menu.messages:hover { background-position: 15px -78px; }
#notificationbarcomponent .comm_menu.messages.selected { background-position: 15px -39px; }

#notificationbarcomponent .comm_menu.chat { background-position: 8px -117px; }
#notificationbarcomponent .no-touch .comm_menu.chat:hover { background-position: 8px -204px; }
#notificationbarcomponent .comm_menu.chat.selected { background-position: 8px -161px; }

#notificationbarcomponent .comm_menu.buddies { background-position: 2px -251px; }
#notificationbarcomponent .no-touch .comm_menu.buddies:hover { background-position: 2px -343px; }
#notificationbarcomponent .comm_menu.buddies.selected { background-position: 2px -298px; }

/* ***** .new_msg_count is displayed in event header and on newsfeed tabs *** */
#notificationbarcomponent .new_msg_count {
    display: block;
    min-width: 12px;
    height: 16px;
    border-radius: 8px;
    background-color: #242D37;
    border: 1px solid #40C4C1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
    text-align: center;
    text-decoration: none;
    color: #FFF;
    float: right;
    padding: 0 2px;
    z-index: 3;
    position: absolute;
}

#notificationbarcomponent .comm_menu .new_msg_count { top: 3px; }
#notificationbarcomponent .comm_menu.messages .new_msg_count { right: -6px; }
#notificationbarcomponent .comm_menu.chat .new_msg_count { right: 0; }
#notificationbarcomponent .comm_menu.buddies .new_msg_count { right: 10px; }

#notificationbarcomponent .tabs_btn_img .new_msg_count {
    top: -6px;
    right: -5px;
}



#notificationbarcomponent #attack_alert {
    position: absolute;
    right: 11px;
    color: #fff;
    display: block;
    height: 40px;
    margin: 0;
    text-decoration: none;
    width: 62px;
    top: 1px;
}

#notificationbarcomponent #attack_alert.noAttack {
    visibility: hidden;
}

#notificationbarcomponent #attack_alert a {
    background-image: url("//gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png");
    background-repeat: no-repeat;
    display:block;
    height: 40px;
    margin: 0 0 0 3px;
    width: 62px;
}
#galaxy #notificationbarcomponent #attack_alert a {
    height: 45px;
    margin: 1px 0 0 6px;
}

#notificationbarcomponent #attack_alert.longtime a { background-position: -490px 0; }
#galaxy #notificationbarcomponent #attack_alert.longtime a { background-position: -490px -80px; }

#notificationbarcomponent #attack_alert.today a { background-position: -490px -40px; }
#galaxy #notificationbarcomponent #attack_alert.today a { background-position: -490px -125px; }

/* #attack_alert.longtime a { background: transparent url("/cdn/img/layout/anim_alert_longtime.png") 0 0 no-repeat; }
#galaxy #notificationbarcomponent #attack_alert.longtime a { background: transparent url("/cdn/img/layout/anim_alert_galaxy_longtime.png") 0 0 no-repeat; }

#attack_alert.today a { background: transparent url("/cdn/img/layout/anim_alert_today.png") 0 0 no-repeat; }
#galaxy #notificationbarcomponent #attack_alert.today a { background: transparent url("/cdn/img/layout/anim_alert_galaxy_today.png") 0 0 no-repeat; } */

/* GIF Animation if Attack sooner than 6h: */
#notificationbarcomponent #attack_alert.soon a { background: transparent url("//gf2.geo.gfsrv.net/cdn4c/662c178137953a8a7c22381b9c1df5.gif") 0 0 no-repeat; }
#galaxy #notificationbarcomponent #attack_alert.soon a { background: transparent url("//gf1.geo.gfsrv.net/cdn08/f17c4c491c4b9cb7885582eda83e6c.gif") 0 0 no-repeat; }

/* crappy GIF to indicate Wreckfield presence. Just change that to something proper, please */
#notificationbarcomponent #attack_alert.wreckField a { background: transparent url("//gf3.geo.gfsrv.net/cdn25/78fe795054d61d6072aa234fcd51c6.png") -22px 0 no-repeat; }
#galaxy #notificationbarcomponent #attack_alert.wreckField a { background: transparent url("//gf2.geo.gfsrv.net/cdn7b/c194f431df6350be23b2c295c79625.gif") 0 0 no-repeat; }

#notificationbarcomponent #attack_alert .wreckFieldCountDown {
    position: relative;
    top:-13px;
    left:10px;
    font-size: 8px;
    background-color: rgba(0,0,0,.7);
}



/* MESSGAGES FILTERS end */

#allianceCommunicationWrapper {
    margin-top: 4px;
    border-top: 1px solid black;
    padding-top: 4px;
}

#allianceCommunicationWrapper .miuFooter {
    margin-top: 4px;
}

#newmessagesindicatorcomponent {
    position: absolute;
    width: 120px;
    height: 45px;
    left: 190px;
    /* right: 0; */
    top: 97px;
    display: flex;
    justify-content: center;
}

#newmessagesindicatorcomponent .messagesIndicator {
    background-image: url(//static.xorbit.space/skins/redesign/symbole/News.png);
    background-repeat: no-repeat;
    background-size: 80%;
    height: 100%;
    width: 55px;
    cursor: pointer;
    position: relative;
}
#newmessagesindicatorcomponent .chatIndicator {
    background-image: url(//static.xorbit.space/skins/redesign/symbole/DiscordLogo.png);
    background-repeat: no-repeat;
    background-size: 80%;
    height: 100%;
    width: 55px;
    cursor: pointer;
}

#xorbitLogo {
    position: absolute;
    left: 765px;
    top: 98px;
    background-image: url(//static.xorbit.space/img/XORBITLOGOVersion4.png);
    background-repeat: no-repeat;
    background-size: 100%;
    height: 40px;
    width: 40px;
    /* cursor: pointer; */
}

/*
#newmessagesindicatorcomponent .messagesIndicator.selected,
#newmessagesindicatorcomponent .messagesIndicator:hover {
    background-position: 0 -39px !important;
}
#newmessagesindicatorcomponent .chatIndicator.selected,
#newmessagesindicatorcomponent .chatIndicator:hover {
    background-position: 0 -161px !important;
}
#newmessagesindicatorcomponent .messagesIndicator.new {
    background-position: 0 -78px;
}
#newmessagesindicatorcomponent .chatIndicator.new {
    background-position: 0 -204px;
}
*/
#newmessagesindicatorcomponent .chatIndicator .newCount,
#newmessagesindicatorcomponent .messagesIndicator .newCount {
    min-width: 10px;
    height: 14px;
    border-radius: 8px;
    background-color: #242D37;
    border: 1px solid #40C4C1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
    color: #FFF;
    padding: 0 2px;
    z-index: 3;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 6px;
    top: 4px;
    font-size: 10px;
}

/* *****************************************************************************
NEWSFEED
***************************************************************************** */
#messages .tab_inner:before,
    /*.msg_status,*/
.detail_msg .section_title,
.detail_msg .c-left,
.detail_msg .c-right {
    background-image: url("//gf3.geo.gfsrv.net/cdne1/d03835718066a5a592a6426736e019.png");
    background-position: 0 0;
    background-repeat: repeat-x;
}

.msgAttackIconContainer {
    display:flex;
    position: relative;
}
.msgAttackIconContainer .fleetAction {
    margin-left: 0;
    top: 0;
    right: -3px;
}

/* message icons */
.icon_nf {
    background-image: url("//gf2.geo.gfsrv.net/cdn7a/7018d8e33bdcbd1126e3370c573fe3.png");
    background-repeat: no-repeat;
    display: inline-block;
    height: 26px;
    width: 26px;
}
.icon_nf.icon_accept { background-position: 0 -104px; }
.icon_nf.icon_attack { background-position: 0 -470px; }
.icon_nf.icon_copy_paste { background-position: 0 -364px; }
.icon_nf.icon_espionage { background-position: 0 -156px; }
.icon_nf.icon_favorited { background-position: 0 -260px; }
.icon_nf.icon_not_favorited { background-position: 0 -312px; }
.icon_nf.icon_refuse { background-position: 0 -52px; }
.icon_nf.icon_share { background-position: 0 -208px; }
.icon_nf.icon_apikey { background-position: 0 -522px; }
.icon_nf.icon_harvest { background-position: 0 -575px; }
.icon_nf.icon_report { background-position: 0 -628px; }

.icon_nf.icon_fav_info { background-position: 0 -416px; }
/* @TODO: this can be renamed to icon_warning when the other has been renamed to icon_report */
.icon_nf.icon_attension { background-position: 0 -442px; }

.msg_action_link { padding: 16px 0 0 0; }

.outOfChatbar { display: none; }

.newMsgMarker {
    float: right;
}

span .resspan {
    margin-right: 20px;
    display: inline-flex;
}

ul#chatMsgList .newMsgMarker {
    margin-right: 20px;
}

ul.chat_bar_list .newMsgMarker {
    margin-right: 20px;
}

.playerlist_item .newMsgMarker {
    margin-top: -22px;
    margin-right: 14px;
}

.ally_send_button {
    float: right;
    margin-top: -33px;
}

/* ************************** Messages = Newsfeed *************************** */
#messages #buttonz .content {
    color: #848484;
    font-size: 11px;
    padding: 10px 15px 0;
}

#messages .subtabs {
    margin: 2px 0 7px 2px;
    width: 622px;
}
#messages .tab_favorites,
#messages .tab_inner {
    background: #000;
    padding:  5px 5px 0 5px;
    min-height: 100px;
    position: relative;
}
#messages .tab_favorites { min-height: 40px; }
#messages .tab_favorites .no_msg { margin: -8px 0 0 0; }

#messages .no_msg {
    line-height: 16px;
    margin: -16px 0 0 0;
    min-height: 16px;
    padding: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
}

#messages .tab_inner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 10px;
    height: 9px;
    background-position: 0 -660px;
}

.msg_ctn {
    display: inline-block;
    line-height: 20px;
    vertical-align: top;
}

.msg_ctn2 { width: 292px; }
.msg_ctn3 { width: 196px; }
.msg_ctn4 { width: 145px; }


#planetbarcomponent #countColonies {
    background: url("//gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png") -143px -212px no-repeat;
    color: #6F9FC8;
    height: 28px;
    font-size:11px;
    line-height: 28px;
    margin: -3px 0px 19px 0px;
    position: relative;
    width: 147px;
}


/* *********************** Eventbox Missions ******************************** */
#eventboxBlank,
#eventboxLoading {
    font-size: 11px;
    font-weight: 700;
    line-height: 34px;
    text-transform: uppercase;
    cursor: pointer;
}

#eventboxContent {
    position: relative;
    z-index: 100;
    background: transparent;
    width: 667px;
    overflow: hidden;
    margin-bottom: 5px;
    text-align: center;
    display: none;
}

#eventboxFilled .next_event {
    display: inline-block;
    width: 185px;
}


#right {
    width: 150px;
    float: right;
    /* background-color: red; */
    margin-top: -50px;
}

#middle {
    width: 670px;
    margin-left: 10px;
    float: right;
    position: inherit;
    /* background-color: yellow; */
}

#norm {
    text-align: center;
}







a.abortNow, button.abortNow {
    background:transparent url("//gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png") -208px -71px no-repeat;
    height: 15px;
    position:absolute;
    width: 15px;
    right: 1px;
    bottom: 3px;
}

/* ****************** Contentbox small (width = 1/3) ************************ */

.content-box-s {
    margin:0 0 5px 1px;
    /*margin:0px 0px 5px 0px;*/
    width:222px;
    float:left;
    overflow:hidden;
}

.content-box-s .header {
    background:url("//gf1.geo.gfsrv.net/cdnfe/b9de2f5b06c823d628d22c4067ee35.gif") no-repeat;
    height:32px;
    font-size:11px;
}

.content-box-s .content {
    background:url("//gf3.geo.gfsrv.net/cdnea/bd764e9b39a1a48ad708039fda1bde.gif") repeat-y;
    padding:0 15px;
}

.content-box-s  p {  padding:5px 20px;}

.content-box-s .footer {
    background:url("//gf3.geo.gfsrv.net/cdn23/174d5c09f617701fcaf1664a414869.gif") no-repeat;
    height:21px;
    margin-top: -8px;
}

div.content-box-s .header h3 {
    color:#6F9FC8;
    font-size:11px;
    font-weight:700;
    padding-top: 10px;
    width:222px;
    text-align:center;
}


/* In Bau */

/*#inhalt .content-box-s {    margin:5px 1px 1px 0px;}*/
.content-box-s .content {
    min-height:46px;
    height:auto !important;  /* für moderne Browser */
    height: 46px;
    padding-top: 2px;
    position:relative;
}

.content-box-s .content td.idle {
    padding:10px 0;
    text-align:center;
    width:177px;
}

.content-box-s .content td.idle a:link,
.content-box-s .content td.idle a:visited,
.content-box-s .content td.idle a:active {
    display:block;
    color:#fff;
    text-decoration:none;
}

.no-touch .content-box-s .content td.idle a:hover { text-decoration:underline;}

.content-box-s .content table.construction {
    margin: 0;
    padding: 3px;
    font-size:11px;
}
.content-box-s .content table.construction.active {
    background: #171d23; /* Old browsers */
    background: -moz-linear-gradient(top,  #171d23 0%, #101419 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#171d23), color-stop(100%,#101419)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #171d23 0%,#101419 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #171d23 0%,#101419 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #171d23 0%,#101419 100%); /* IE10+ */
    background: linear-gradient(top,  #171d23 0%,#101419 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#171d23', endColorstr='#101419',GradientType=0 ); /* IE6-9 */

    border: 1px solid #171d23;
    -webkit-border-radius: 3px; /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
    -moz-border-radius: 3px; /* FF1-3.6 */
    border-radius: 3px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
;
    width: 100%;
}

.content-box-s .content table.queue {
    margin-top: 5px;
}

.content-box-s .content table.queue td {
    font-size: 10px;
    text-align: center;
}


/* Premium: cut cosntruction time in half */
.content-box-s .transport_ecke {
    background: url("//gf3.geo.gfsrv.net/cdn5d/ae6b67d617f5b4a9ad508219ca02b8.png");
    margin: 0 0  -18px 0;
    padding: 1px 5px 2px 0;
    position: relative;
    text-align: right;
    top: -16px;
    width: 35px;
}
.content-box-s .build-faster {
    color: #fff;
    float: left;
    margin: 12px 0 5px 4px;
    width: 176px;
}

.content-box-s .build-faster-img,
.content-box-s .build-finish-img {
    background: url("//gf1.geo.gfsrv.net/cdncd/f67f646a967bc6e4f54dcfcc2c3f2b.png") -25px 0 no-repeat;
    float: left;
    height: 25px;
    margin: 1px 7px 0 7px;
    width: 25px;
}

.content-box-s .order_dm {
    margin-left: 7px;
}

.content-box-s .build-faster.disabled .build-faster-img { background-position: -25px -50px;}
.content-box-s .build-finish-img { background-position: 0 0;}
.content-box-s .build-faster.disabled .build-finish-img { background-position: 0 -50px;}

.content-box-s .dm_cost,
.content-box-s .buy_dm{
    color:#848484;
    display: inline-block;
}
.content-box-s .dm_cost .oldPrice{
    text-decoration: line-through;
    font-style: italic;
}

img.queuePic {
    border:1px solid #141E26;
    border-radius:3px;
}
a:hover img.queuePic { border-color: #E7AE46;}

.content-box-s .content table.queue td img.queuePic {
    margin: 4px 4px 0 4px;
}



.content-box-s .construction .first {
    padding-left:0;
    padding-top:8px;
    position: relative;
    width: 43px;
}
.content-box-s .construction .first div {
    position: relative;
    text-align: center;
}
.content-box-s .construction .data .desc {
    padding-left:12px;
    width: 130px;
    vertical-align: middle;
}
.content-box-s .construction .data .timer { color:#fff;}
.content-box-s .construction .data .ausbau { padding-top:8px;}
.content-box-s .level {    color:#a26d00;}

.content-box-s .construction .data .timeProdShip {    padding-top:5px; }
.content-box-s .construction .data .timeProdAll {     padding:5px 0 0 12px; }

.content-box-s .construction .data .timeProdAll .shipAllCountdown,
.content-box-s .construction .data .timeProdShip .shipCountdown {
    color:#fff;
    font-weight: 700;
}

.content-box-s .content  table.construction tr.queue td {
    color:#848484;
    padding:4px 0;
    text-align:center;
    width:40px;
}

.content-box-s .queue_link {
    color: #fff;
    display: block;
    font-size: 11px;
    margin: 0 2px;
    text-align: center;
    text-decoration: none;
    width: 32px;
}



/* *************************** Boxes **************************************** */
.border5px,
#activeBuffDetails .anythingWindow {
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px; /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
    -moz-border-radius: 5px; /* FF1-3.6 */
    border-radius: 5px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}
.border3px {
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px; /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
    -moz-border-radius: 3px; /* FF1-3.6 */
    border-radius: 3px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.dark_highlight {
    background: #181e25 url("//gf3.geo.gfsrv.net/cdn89/5fbbb1876fcff20a8a265c06862495.png") 0 -1030px repeat-x;
    background: -moz-linear-gradient(top,  #2D3743 0%,  #181E25 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2D3743), color-stop(100%,#181E25));
    background: -webkit-linear-gradient(top,  #2D3743 0%,#181E25 100%);
    background: -o-linear-gradient(top,  #2D3743 0%,#181E25 100%);
    background: -ms-linear-gradient(top,  #2D3743 0%,#181E25 100%);
    background: linear-gradient(to bottom,  #2D3743 0%,#181E25 100%);
    border: 1px solid black;
    border-color: #28323E #222B34 #232A34 #222B34;
    -webkit-border-radius: 3px; /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
    -moz-border-radius: 3px; /* FF1-3.6 */
    border-radius: 3px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */

    -webkit-box-shadow: 0 1px 3px 0 black, inset 0 1px 1px 0 hsl(213, 22%, 32%); /* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 0 1px 3px 0 black, inset 0 1px 1px 0 hsl(213, 22%, 32%);
    box-shadow: 0 1px 3px 0 black, inset 0 1px 1px 0 hsl(213, 22%, 32%);
    font-size: 11px;
    color: #fff;
    display: inline-block;
    padding: 3px 0;
    text-decoration: none !important;
}

.box_highlight {
    background: #171D24;
    border: 1px solid #000;
    border-radius: 3px;
    box-shadow: inset 0 1px 1px rgba(62,81,100,0.4);
}
#buttonz .box_highlight .header {
    background: none;
    text-align: left;
}

#buddyCopyOverlay {
    width: 400px;
    overflow: auto;
}




/* Production box */
.ProductionBoxesContainer {
    display: flex;
}

#productionboxBottom {
    min-height: 140px;
    display: flex;
}

#productionboxBottom .boxColumn {
    display: flex;
    flex-direction: column;
}
#productionboxBottom .boxColumn.ship {
    flex: 1;
}






#supplies header {
    position: relative;
    width: 654px;
    height: 300px;
    margin: 0 auto 8px;
    background-size: 100% !important;
}

#supplies header::after {
    position: absolute;
    left: -8px;
    bottom: -2px;
    width: 670px;
    height: 39px;
    background: url("//gf3.geo.gfsrv.net/cdn8b/e7a3f8489bd4c9c45d14851020c656.gif") bottom left no-repeat, url("//gf2.geo.gfsrv.net/cdnd8/7c3b7bb7038a638e9c122542398514.gif") bottom right no-repeat ;
    content: "";
}

#supplies header h2, #planetOverview header h2 {
    position: absolute;
    left: 144px;
    top: 7px;
    font: bold 18px/22px Verdana,Arial,Helvetica,sans-serif;
    color: #fff;
}

#supplies .exhausted,
#supplies .exhausted a {
    color: #d43635;
    display: inline;
}

#supplies #technologies {
    position: relative;
    box-sizing: border-box;
    width: 654px;
    border: 2px solid #000;
    margin: 0 auto 7px;
    padding: 0 5px;
    background: #0d1014;
}

#supplies #technologies::before,
#supplies #technologies::after {
    pointer-events: none;
}

#supplies #technologies::before {
    position: absolute;
    left: -9px;
    top: -3px;
    width: 668px;
    height: 28px;
    background: url("//gf3.geo.gfsrv.net/cdn53/f333e15eb738b8ec692340f507e1ae.png") bottom left no-repeat, url("//gf2.geo.gfsrv.net/cdnd5/66551209db14e23b3001901b996cc6.png") bottom right no-repeat;
    content: "";
}

#supplies #technologies::after {
    position: absolute;
    left: -9px;
    bottom: -4px;
    width: 668px;
    height: 50px;
    background: url("//gf3.geo.gfsrv.net/cdnea/0330abcdca0d125d35a0ebace4b584.png") bottom left no-repeat, url("//gf1.geo.gfsrv.net/cdn9b/8003a40825bc96919c5fec01b018b8.png") bottom right no-repeat;
    content: "";
}

#supplies #technologies h3 {
    position: relative;
    width: 100%;
    margin: -2px 0 5px;
    background: url("//gf1.geo.gfsrv.net/cdnfb/a4e7913209228ebaf2297429aeb87b.png");
    color: #6f9fc8;
    font: bold 12px/27px Verdana,Arial,Helvetica,sans-serif;
    text-align: center;
}

#supplies #technologies h3::before,
#supplies #technologies h3::after {
    position: absolute;
    top: 0;
    width: 26px;
    height: 27px;
    content: "";
}

#supplies #technologies h3::before {
    left: -5px;
    background: url("//gf2.geo.gfsrv.net/cdn4a/127bd495b9325216af08a588ecc540.png");
}

#supplies #technologies h3::after {
    right: -5px;
    background: url("//gf2.geo.gfsrv.net/cdn1d/80db96934a5b82ce002f839cd85a44.png");
}

#supplies #technologies .icons {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}
#supplies #technologies .technology {
    order: 1;
    margin: 0px 3px;
}
#supplies #technologies .metalStorage,
#supplies #technologies .crystalStorage,
#supplies #technologies .deuteriumStorage
{
    order: 2;
}
#supplies #technologies .resbuggy
{
    order: 3;
    margin-left: auto;
    padding-right: 4px;
}

#supplies #technologies li.metalStorage::before,
#supplies #technologies li.metalStorage::after,
#supplies #technologies li.crystalStorage::before,
#supplies #technologies li.crystalStorage::after,
#supplies #technologies li.deuteriumStorage::before,
#supplies #technologies li.deuteriumStorage::after {
    display: inline-block;
    width: 5px;
    height: 100%;
    content: "";
    cursor: default;
}

#supplies #technologies li.metalStorage::before,
#supplies #technologies li.crystalStorage::before,
#supplies #technologies li.deuteriumStorage::before {
    padding-right: 5px;
    background: url("//gf1.geo.gfsrv.net/cdn33/246b1eea134619d4d80941b0a7f421.png") 0 0 no-repeat;
}

#supplies #technologies li.metalStorage::after,
#supplies #technologies li.crystalStorage::after,
#supplies #technologies li.deuteriumStorage::after {
    padding-left: 5px;
    background: url("//gf2.geo.gfsrv.net/cdn4b/ce21cce442bafa8a8d4348a0522db2.png") 100% 0 no-repeat;
}

#supplies #technologies span.metalStorage,
#supplies #technologies span.crystalStorage,
#supplies #technologies span.deuteriumStorage {
    margin-bottom: 20px;
}





#research header {
    position: relative;
    width: 654px;
    height: 250px;
    margin: 0 auto 8px;
    background: url('//static.xorbit.space/skins/redesign/header_background/research.jpg');
    background-size: 100%;
}

#research header::after {
    position: absolute;
    left: -8px;
    bottom: -2px;
    width: 670px;
    height: 39px;
    background: url("//gf3.geo.gfsrv.net/cdn8b/e7a3f8489bd4c9c45d14851020c656.gif") bottom left no-repeat, url("//gf2.geo.gfsrv.net/cdnd8/7c3b7bb7038a638e9c122542398514.gif") bottom right no-repeat ;
    content: "";
}

#research header h2 {
    position: absolute;
    left: 144px;
    top: 7px;
    font: bold 18px/22px Verdana,Arial,Helvetica,sans-serif;
    color: #fff;
}

#research #technologies,
#research #technologies .icons {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

#research #technologies {
    position: relative;
    box-sizing: border-box;
    width: 654px;
    border: 2px solid #000;
    margin: 0 auto 7px;
    padding: 0 5px;
    background: #0d1014;
}

#research #technologies::before,
#research #technologies::after {
    pointer-events: none;
}

#research #technologies::before {
    position: absolute;
    left: -9px;
    top: -3px;
    width: 668px;
    height: 28px;
    background: url("//gf3.geo.gfsrv.net/cdn53/f333e15eb738b8ec692340f507e1ae.png") bottom left no-repeat, url("//gf2.geo.gfsrv.net/cdnd5/66551209db14e23b3001901b996cc6.png") bottom right no-repeat;
    content: "";
}

#research #technologies::after {
    position: absolute;
    left: -9px;
    bottom: -4px;
    width: 668px;
    height: 50px;
    background: url("//gf3.geo.gfsrv.net/cdnea/0330abcdca0d125d35a0ebace4b584.png") bottom left no-repeat, url("//gf1.geo.gfsrv.net/cdn9b/8003a40825bc96919c5fec01b018b8.png") bottom right no-repeat;
    content: "";
}

#research #technologies_basic,
#research #technologies_drive,
#research #technologies_advanced,
#research #technologies_combat {
    margin-bottom: 7px;
}

#research #technologies h3 {
    position: relative;
    margin: -2px 0 5px;
    background: url("//gf1.geo.gfsrv.net/cdnfb/a4e7913209228ebaf2297429aeb87b.png");
    color: #6f9fc8;
    font: bold 12px/27px Verdana,Arial,Helvetica,sans-serif;
    text-align: center;
}

#research #technologies h3::before,
#research #technologies h3::after {
    position: absolute;
    top: 0;
    width: 26px;
    height: 27px;
    content: "";
}

#research #technologies h3::before {
    left: -5px;
    background: url("//gf2.geo.gfsrv.net/cdn4a/127bd495b9325216af08a588ecc540.png");
}

#research #technologies h3::after {
    right: -5px;
    background: url("//gf2.geo.gfsrv.net/cdn1d/80db96934a5b82ce002f839cd85a44.png");
}

#research #technologies_basic h3::after,
#research #technologies_drive h3::before,
#research #technologies_advanced h3::after,
#research #technologies_combat h3::before {
    background: none;
}





.technology .icon,
.technology .upgrade,
.technology .acceleration,
.technology .targetlevel,
.technology .targetamount,
.technology .countdown,
.technology .level,
.technology .amount {
    cursor: pointer;
}

.technology,
.technology .icon {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
}

.technology.interactive {
    margin-bottom: 30px;
}

.technology .icon {
    background-clip: padding-box;
    border: 2px solid #0d1014;
    overflow: hidden;
}

.technology .icon:hover,
.technology.showsDetails .icon {
    border: 2px solid #ff9600;
}

.technology .icon.large {
    width: 200px;
    height: 200px;
    border-radius: 6px;
}

.technology .icon.medium {
    width: 100px;
    height: 100px;
    border-radius: 6px;
}

.technology .icon.small {
    width: 80px;
    height: 80px;
    border-radius: 6px;
}

.technology .icon.tiny {
    width: 28px;
    height: 28px;
    border-radius: 2px;
}

.technology[data-status="active"] .icon::after,
.technology[data-status="disabled"] .icon::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
}
.technology[data-status="active"] .cooldownBackground {
    height: 70%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    bottom: 0;
}
.technology[data-status="disabled"] .icon::after {
    background: repeating-linear-gradient(-45deg, rgba(255, 150, 0, .33), rgba(255, 150, 0, .33) 2px, transparent 3px, transparent 7px);
}

.technology[data-status="off"] .icon {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.technology[data-status="off"] .icon::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    content: "";
}

.technology .icon .upgrade {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    width: 22px;
    height: 14px;
    border-bottom-right-radius: 4px;
    background: linear-gradient(#53a423, #2f6c04);
    color: #2b6303;
    text-align: center;
    z-index: 3;
}

.technology .icon .buildmulti {
    position: absolute;
    left: 0;
    top: 16px !important;
    padding: 0;
    width: 22px;
    height: 14px;
    border-bottom-right-radius: 4px;
    background: linear-gradient(#53a423, #2f6c04);
    color: #102a02;
    text-align: center;
    font-size: 10px;
    z-index: 2;
}

.technology .icon .upgrade::after {
    position: absolute;
    left: 4px;
    top: 3px;
    width: 0;
    height: 0;
    border-style: solid;
    font-weight: bold;
    border-width: 0 7px 7px 7px;
    border-color: transparent transparent #2b6303 transparent;
    content: "";
}

.technology .icon .buildmulti:hover,
.technology .icon .upgrade:hover {
    background: linear-gradient(#93e438, #54ad08);
    color: #4fa008;
}

.technology .icon .buildmulti:hover::after,
.technology .icon .upgrade:hover::after {
    border-color: transparent transparent #4fa008 transparent;
}

.technology .icon .acceleration {
    display: inline-block;
    position: absolute;
    right: -20px;
    top: 10px;
    box-sizing: border-box;
    width: 79px;
    border: 1px solid #2b6303;
    background: linear-gradient(#93e438, #54ad08);
    color: #fff;
    font-size: 11px;
    line-height: 15px;
    text-align: center;
    transform: rotate(45deg);
    z-index: 2;
}

.technology .icon .level,
.technology .icon .targetlevel,
.technology .icon .amount,
.technology .icon .targetamount {
    display: inline-block;
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    padding: 0 5px;
    text-align: right;
    font-size: 11px;
    line-height: 15px;
    z-index: 2;
}

.technology .icon .targetlevel,
.technology .icon .targetamount {
    right: 0;
    top: 0;
    border-bottom-left-radius: 7px;
    background: linear-gradient(#1b222d, #0e1117);
    color: #9c0;
    padding: 0px;
}

.technology .icon .level,
.technology .icon .amount {
    right: 0;
    bottom: 0;
    border-top-left-radius: 15px;
    background: linear-gradient(#0e1117, #1b222d);
    color: #ff9600;
}

.technology .icon .level .bonus,
.technology .icon .amount .bonus {
    color: #9c0;
}

.technology .icon time-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.technology .icon time {
    width: 100%;
    background: rgba(13,16,20,0.8);
    color: #fff;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
    font-weight: bold;
    z-index: 2;
}

.technology .icon.medium time {
    top: 39px;
}

.technology .icon.small time {
    top: 29px;
}

.technology .icon.tiny[data-acceleration]::before,
.technology .icon.tiny .upgrade,
.technology .icon.tiny .targetlevel,
.technology .icon.tiny time,
.technology .icon.tiny .level
{
    display: none;
}

.technology input:disabled {
    cursor: not-allowed;
}

.technology input[type="number"],
.technology input[type="text"] {
    position: absolute;
    bottom: -23px;
    left: 5%;
    box-sizing: border-box;
    width: 90%;
    height: 25px;
    background: #b3c3cb;
    border: 1px solid #668599;
    border-bottom-color: #d3d9de;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px 0 #454f54;
    color: #000;
    text-align: center;
    line-height: 18px;
    z-index: 2;
    -moz-appearance: textfield;
    padding: 2px 5px;
    font-size: 12px;
}

.technology input[type="number"]:focus,
.technology input[type="text"]:focus {
    background: #fff;
}

.technology input[type="number"][disabled],
.technology input[type="text"][disabled] {
    background-color: #424548;
    border: 1px solid #44484B;
    border-bottom-color: #575C60;
    box-shadow: inset 0 1px 3px 0 #27292B;
}

.technology input[type="number"]::-webkit-inner-spin-button,
.technology input[type="number"]::-webkit-outer-spin-button,
.technology input[type="text"]::-webkit-inner-spin-button,
.technology input[type="text"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}





.slot {
    background: url("//gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png") -143px -162px no-repeat;
    height:25px;
    font-size:11px;
    line-height:25px;
    text-align:center;
    text-decoration:none;
    overflow:hidden;
    padding:0;
    position:absolute;
    width:231px;
    z-index:1;
    bottom:0px;
    right:0px;
}

.slot-hover {
    background: url("//gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png") -143px -187px no-repeat;
    color:#ccc;
}

.slot a:link,
.slot a:visited,
.slot a:active{ color:#9c0; display:block; text-decoration:none;}
.no-touch .slot a:hover { color:#bcd; text-decoration:none;}

header div#slot01.slot{bottom: 4px; right: -2px;}
header div#slot02.slot{bottom: 30px; right: -2px;}
#planet div#slot02.slot {top:237px; right: 2px;}
#movementnew #planet div#slot01.slot{ top:217px;}
#traderOverview div#callTrader.slot{top: 221px; right: 7px;}


.sprite_before::before,
.sprite_after::after,
.sprite {
    background-image: url('//gf3.geo.gfsrv.net/cdn53/7a9861be0c38bf7de05a57c56d73cf.jpg');
}

/* Overview */
#planetOverview {
    background-repeat: no-repeat;
    height: 300px;
    margin: 0 auto 3px auto;
    position: relative;
    width: 654px;
    z-index: 1;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    background-image: url('//static.xorbit.space/skins/redesign/header_background/overview.jpg');
    background-size: 100%;
}

#planetOverview.overview_moon {
    background-image: url('//static.xorbit.space/skins/redesign/header_background/overview_moon.jpg');
}

#planetOverview h2 a:link,
#planplanetOverviewet h2 a:visited,
.no-touch #planetOverview h2 a:hover,
#planetOverview h2 a:active {
    color:#fff;
    text-decoration:none;
    float:left;
    width: 490px;
}

#planetOverview h2 a img.hinted {
    filter:alpha(opacity=30);
    -moz-opacity:0.3;
    -khtml-opacity: 0.3;
    opacity: 0.3;
}

#buffBar {
    background-color: rgba(0, 0, 0, .5);
}


#planetdata {
    float: right;
    width:365px;
    font-size:11px;
    height: 123px;
    margin: 106px 2px 0 0;
    position: relative;
    white-space:inherit;
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
}


#planetdata td{ padding:2px 5px;}

#planetdata .date { font-weight:700 ;}

#planetdata .date, td.desc { color: #6F9FC8;}
#planetdata td.desc { font-weight: 700;}

#planetdata .data { text-align:right;}

#planetdata a:link,
#planetdata a:visited,
.no-touch #planetdata a:hover,
#planetdata a:active {
    color:#fff;
    cursor:pointer;
    text-decoration:none;
}

.ui-dialog .ui-dialog-content.overlayDiv, #popupContent.overlayDiv, .bbcodepreview.showAtallianceBroadcast {
    background: #000000 url("//gf2.geo.gfsrv.net/cdn4e/d07c90d96bbc823d6d53953a94aacb.jpg") -100px -100px no-repeat;
}

div#planetDetails table {
    z-index: 2;
    position: absolute;
}
div#planetOptions {
    z-index: 2;
    position: relative;
    height: 20px;
    margin: 2px;
}

div#planetDetails {
    height: 100px;
}

.c-left, .c-right {
    height:39px;
    width:28px;
    position:absolute;
    top:264px;
    z-index: 0;
}
.c-left {
    background:url("//gf3.geo.gfsrv.net/cdn8b/e7a3f8489bd4c9c45d14851020c656.gif") no-repeat;
    left: 0;
}

.c-right {
    background:url("//gf2.geo.gfsrv.net/cdnd8/7c3b7bb7038a638e9c122542398514.gif") no-repeat;
    left: 642px;
}

#spaceObjectHeaderCurrentPlanet {
    height: 700px;
    width: 700px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 130px;
    top: -35px;
}

#newsticker {
    position: absolute;
    top: 30px;
    width: 100%;
    height: 50px;
    background-color: rgba(0, 0, 0, .5);
    text-align: center;
}

.info_box h2, .info_box p {
    margin: 0;
}

.info_box .info_header {
    background-image: url("//gf1.geo.gfsrv.net/cdn63/10e31cd5234445e4084558ea3506ea.gif");
    background-repeat: no-repeat;
}
.info_box .info_content {
    background: transparent url("//gf1.geo.gfsrv.net/cdn9e/4f73643e86a952be4aed7fdd61805a.gif") 5px 0px  repeat-y;
    /* width: 100%; */
    margin: 0;
    padding: 5px 10px 0 10px;
    text-align: center;
    border-spacing: 0;
}
.info_box .info_footer {
    background: transparent url("//gf1.geo.gfsrv.net/cdn30/aa3e8edec0a2681915b3c9c6795e6f.gif") 2px 0px no-repeat;
    height: 17px;
}
.info_content table {
    width: 100%;
}

.info_content td {
    border-radius: 5px;
}

.info_content th {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 5px;
}


/* Overview New BuffBar */
#buffBar {
    background: url("//gf3.geo.gfsrv.net/cdn23/e4f7db0c13494a16bb5641f0787cb7.png");
    background: rgba(20, 30, 38, 0.5);
    -moz-border-radius:3px 0 0 0;
    -webkit-border-radius:3px 0 0 0;
    -khtml-border-radius:3px 0 0 0;
    border-radius:3px 0 0 0;
    height: 38px;
    left: 42px;
    position: absolute;
    bottom: 4px;
    width: 610px;
    cursor: pointer;
}
.no-touch #buffBar:hover {
    background: url("//gf3.geo.gfsrv.net/cdn23/e4f7db0c13494a16bb5641f0787cb7.png") 0 -38px;
    background: rgba(28, 41, 54, 0.7);
}
#buffBar .active_items {
    list-style: none;
    position: absolute;
    z-index: 1;
}

#buffBar .active_items li {
    float: left;
}
#buffBar .active_item,
#buffBar .activate_item, #empire .item_img_box {
    border: 1px solid transparent;
    display: block;
    position: relative;
    opacity: 0.8;
    -khtml-opacity: 0.8;
    filter: alpha(opacity=80); /* IE6-IE8 */
}
#buffBar .active_item,
#buffBar .activate_item,
#buffBar .active_item img {
    height: 32px;
    width: 32px;
}

#buffBar .activate_item {
    background-position: -59px -274px;
    border-color: #212c3a #243341 #1a252f #243341;
}

#buffBar .active_item.r_epic, #empire .r_epic .item_img_box { border-color: #854195; }
#buffBar .active_item.r_buddy, #empire .r_buddy .item_img_box { border-color: #37618e; }
#buffBar .active_item.r_common, #empire .r_common .item_img_box { border-color: #834b2d; }
#buffBar .active_item.r_uncommon, #empire .r_uncommon .item_img_box { border-color: #80868f; }
#buffBar .active_item.r_rare, #empire .r_rare .item_img_box { border-color: #ba7f23; }

.no-touch #buffBar .active_items:hover,
#buffBar .active_item.active,
#buffBar .activate_item.active,
.no-touch #buffBar .active_item:hover,
.no-touch #buffBar .activate_item:hover {
    border-color: #d18433 #e7b15a #f0c36a #db9845;
    opacity: 1;
    -khtml-opacity: 1;
    filter: alpha(opacity=100); /* IE6-IE8 */
}

#detailWrapper { height: 259px; }
#activeBuffDetails,
#overview div.detail_screen {
    background: #0d1014 url("//gf3.geo.gfsrv.net/cdnb2/862bd57e5d13bfc8cd9ce0a1d72c9f.png") 0 0 no-repeat;
    height: 258px;
    width: 654px;
    z-index: 11;
}
#activeBuffDetails h2 {
    font: bold 12px/16px Verdana, Arial, Helvetica, sans-serif;
    color: #D29D00;
    padding: 0;
    margin: 0;
    height: auto;
    width: auto;
    white-space: normal;
}
#activeBuffDetails .detail_screen_h2 { padding: 3px 0 0 40px; }
#activeBuffDetails .shop_link {
    color: #fff;
    float: right;
    margin: -18px 32px 0 0;
    position: relative;
    text-decoration: none;
}
.no-touch #activeBuffDetails .shop_link:hover,
#activeBuffDetails .shop_link:active { text-decoration: underline; }
#activeBuffDetails .active_item_slider {
    float: left;
    font-size: 11px;
    height: 225px;
    left: 10px;
    position: relative;
    text-align: center;
    top: 12px;
    width: 410px;
}
#activeBuffDetails .active_item_details {
    margin: 11px 0 0 425px;
    padding: 5px 7px;
    height: 209px;
    width: 197px;
}
#activeBuffDetails .item_detail_content { height: 156px; }
#activeBuffDetails .active_item_details p {
    font-size: 11px;
    line-height: 13px;
    padding: 0 0 5px;
}

div.values .equipment .item_img a.timeLink span.time {left: 1px;}

.item_img .pusher,
#activeBuffDetails .active_item_slider .activation,
#activeBuffDetails .pusher,
#buffBar .pusher {
    height: 0;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    filter:alpha(opacity=60);
    -moz-opacity:0.6;
    -khtml-opacity: 0.6;
    opacity: 0.6;
    background-color: #000000;
    z-index: 1;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
#buffBar .pusher {
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
}

.overview_items {
    display: flex;
}
.overview_items button {
    border-radius: 5px;
    margin-right: 5px;
    height: 38px;
    width: 38px;
    cursor: pointer;
    background-size: 100%;
}
.overview_items button.buyable {
    border: 2px solid orange;
}
.overview_items button.active {
    border: 2px solid greenyellow;
}
.overview_items button.usable {
    border: 2px solid yellow;
}

/********************************************************
************** *  SIZES AND MODES  * *******************
********************************************************/
.sprite_before.sprite_large::before,
.sprite_after.sprite_large::after,
.sprite.sprite_large {
    width: 200px;
    height: 200px;
    /*background-size: 4000px 6000px;*/
}

.sprite_before.sprite_medium::before,
.sprite_after.sprite_medium::after,
.sprite.sprite_medium {
    width: 100px;
    height: 100px;
    /* background-size: 2000px 3000px; */
    background-size: 100%;
}

.sprite_before.sprite_small::before,
.sprite_after.sprite_small::after,
.sprite.sprite_small {
    width: 80px;
    height: 80px;
    /* background-size: 1600px 2400px; */
    background-size: 100%;
}

.sprite_before.sprite_tiny::before,
.sprite_after.sprite_tiny::after,
.sprite.sprite_tiny {
    width: 28px;
    height: 28px;
    background-size: 550px 840px;
}

/* ~~~~~ BUILDINGS ~~~~~ */
.sprite_before.metalMine::before,
.sprite_after.metalMine::after,
.sprite.metalMine {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/1.gif');
}

.sprite_before.crystalMine::before,
.sprite_after.crystalMine::after,
.sprite.crystalMine {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/2.gif');
}

.sprite_before.deuteriumSynthesizer::before,
.sprite_after.deuteriumSynthesizer::after,
.sprite.deuteriumSynthesizer {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/3.gif');
}

.sprite_before.solarPlant::before,
.sprite_after.solarPlant::after,
.sprite.solarPlant {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/4.gif');
}

.sprite_before.fusionPlant::before,
.sprite_after.fusionPlant::after,
.sprite.fusionPlant {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/12.gif');
}

.sprite_before.roboticsFactory::before,
.sprite_after.roboticsFactory::after,
.sprite.roboticsFactory {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/14.gif');
}

.sprite_before.naniteFactory::before,
.sprite_after.naniteFactory::after,
.sprite.naniteFactory {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/15.gif');
}

.sprite_before.shipyard::before,
.sprite_after.shipyard::after,
.sprite.shipyard {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/21.gif');
}

.sprite_before.metalStorage::before,
.sprite_after.metalStorage::after,
.sprite.metalStorage {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/22.gif');
}

.sprite_before.crystalStorage::before,
.sprite_after.crystalStorage::after,
.sprite.crystalStorage {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/23.gif');
}

.sprite_before.deuteriumStorage::before,
.sprite_after.deuteriumStorage::after,
.sprite.deuteriumStorage {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/24.gif');
}

.sprite_before.researchLaboratory::before,
.sprite_after.researchLaboratory::after,
.sprite.researchLaboratory {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/31.gif');
}

.sprite_before.technodrome::before,
.sprite_after.technodrome::after,
.sprite.technodrome {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/32.gif');
}

.sprite_before.terraformer::before,
.sprite_after.terraformer::after,
.sprite.terraformer {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/33.gif');
}

.sprite_before.allianceDepot::before,
.sprite_after.allianceDepot::after,
.sprite.allianceDepot {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/34.gif');
}

.sprite_before.moonbase::before,
.sprite_after.moonbase::after,
.sprite.moonbase {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/41.gif');
}

.sprite_before.sensorPhalanx::before,
.sprite_after.sensorPhalanx::after,
.sprite.sensorPhalanx {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/42.gif');
}

.sprite_before.jumpGate::before,
.sprite_after.jumpGate::after,
.sprite.jumpGate {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/43.gif');
}

.sprite_before.observatroy::before,
.sprite_after.observatroy::after,
.sprite.observatroy {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/45.gif');
}

.sprite_before.missileSilo::before,
.sprite_after.missileSilo::after,
.sprite.missileSilo {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/36.gif');
}

.sprite_before.repairDock::before,
.sprite_after.repairDock::after,
.sprite.repairDock {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/38.gif');
}


/* ~~~~~ RESEARCHES ~~~~~ */
/* ~~ BASICS ~~ */
.sprite_before.energyTechnology::before,
.sprite_after.energyTechnology::after,
.sprite.energyTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/113.gif');
}

.sprite_before.laserTechnology::before,
.sprite_after.laserTechnology::after,
.sprite.laserTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/120.gif');
}

.sprite_before.ionTechnology::before,
.sprite_after.ionTechnology::after,
.sprite.ionTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/121.gif');
}

.sprite_before.hyperspaceTechnology::before,
.sprite_after.hyperspaceTechnology::after,
.sprite.hyperspaceTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/114.gif');
}

.sprite_before.plasmaTechnology::before,
.sprite_after.plasmaTechnology::after,
.sprite.plasmaTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/122.gif');
}


/* ~~ DRIVES ~~ */
.sprite_before.combustionDriveTechnology::before,
.sprite_after.combustionDriveTechnology::after,
.sprite.combustionDriveTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/115.gif');
}

.sprite_before.impulseDriveTechnology::before,
.sprite_after.impulseDriveTechnology::after,
.sprite.impulseDriveTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/117.gif');
}

.sprite_before.hyperspaceDriveTechnology::before,
.sprite_after.hyperspaceDriveTechnology::after,
.sprite.hyperspaceDriveTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/118.gif');
}


/* ~~ ADVANCED~~ */
.sprite_before.espionageTechnology::before,
.sprite_after.espionageTechnology::after,
.sprite.espionageTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/106.gif');
}

.sprite_before.computerTechnology::before,
.sprite_after.computerTechnology::after,
.sprite.computerTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/108.gif');
}

.sprite_before.astrophysicsTechnology::before,
.sprite_after.astrophysicsTechnology::after,
.sprite.astrophysicsTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/124.gif');
}

.sprite_before.researchNetworkTechnology::before,
.sprite_after.researchNetworkTechnology::after,
.sprite.researchNetworkTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/123.gif');
}

.sprite_before.quantumMechanics::before,
.sprite_after.quantumMechanics::after,
.sprite.quantumMechanics {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/130.gif');
}

.sprite_before.gravitonTechnology::before,
.sprite_after.gravitonTechnology::after,
.sprite.gravitonTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/199.gif');
}

/* ~~ COMBAT ~~ */
.sprite_before.weaponsTechnology::before,
.sprite_after.weaponsTechnology::after,
.sprite.weaponsTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/109.gif');
}

.sprite_before.shieldingTechnology::before,
.sprite_after.shieldingTechnology::after,
.sprite.shieldingTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/110.gif');
}

.sprite_before.armorTechnology::before,
.sprite_after.armorTechnology::after,
.sprite.armorTechnology {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/111.gif');
}

/* ~~~~~ SHIPS ~~~~~ */
/* ~~ CIVIL ~~ */
.sprite_before.transporterSmall::before,
.sprite_after.transporterSmall::after,
.sprite.transporterSmall {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/202.gif');
}

.sprite_before.transporterLarge::before,
.sprite_after.transporterLarge::after,
.sprite.transporterLarge {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/203.gif');
}

.sprite_before.colonyShip::before,
.sprite_after.colonyShip::after,
.sprite.colonyShip {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/208.gif');
}

.sprite_before.recycler::before,
.sprite_after.recycler::after,
.sprite.recycler {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/209.gif');
}

.sprite_before.espionageProbe::before,
.sprite_after.espionageProbe::after,
.sprite.espionageProbe {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/210.gif');
}

.sprite_before.solarSatellite::before,
.sprite_after.solarSatellite::after,
.sprite.solarSatellite {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/212.gif');
}

.sprite_before.luneNoire::before,
.sprite_after.luneNoire::after,
.sprite.luneNoire {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/216.gif');
}

.sprite_before.transporterEvo::before,
.sprite_after.transporterEvo::after,
.sprite.transporterEvo {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/217.gif');
}

.sprite_before.starDestroyer::before,
.sprite_after.starDestroyer::after,
.sprite.starDestroyer {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/218.gif');
}
.sprite_before.aurora::before,
.sprite_after.aurora::after,
.sprite.aurora {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/219.gif');
}

.sprite_before.resbuggy::before,
.sprite_after.resbuggy::after,
.sprite.resbuggy {
    background-position: 84.20% 51.72%;
}

.sprite_before.explorer::before,
.sprite_after.explorer::after,
.sprite.explorer {
    background-position: 78.94% 51.72%;
}

.sprite_before.reaper::before,
.sprite_after.reaper::after,
.sprite.reaper {
    background-position: 73.68% 51.72%;
}

/* ~~ MILITARY ~~ */
.sprite_before.fighterLight::before,
.sprite_after.fighterLight::after,
.sprite.fighterLight {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/204.gif');
}

.sprite_before.fighterHeavy::before,
.sprite_after.fighterHeavy::after,
.sprite.fighterHeavy {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/205.gif');
}

.sprite_before.cruiser::before,
.sprite_after.cruiser::after,
.sprite.cruiser {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/206.gif');
}

.sprite_before.battleship::before,
.sprite_after.battleship::after,
.sprite.battleship {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/207.gif');
}

.sprite_before.interceptor::before,
.sprite_after.interceptor::after,
.sprite.interceptor {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/215.gif');
}

.sprite_before.bomber::before,
.sprite_after.bomber::after,
.sprite.bomber {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/211.gif');
}

.sprite_before.destroyer::before,
.sprite_after.destroyer::after,
.sprite.destroyer {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/213.gif');
}

.sprite_before.deathstar::before,
.sprite_after.deathstar::after,
.sprite.deathstar {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/214.gif');
}

/* ~~~~~ DEFENSES ~~~~~ */
.sprite_before.rocketLauncher::before,
.sprite_after.rocketLauncher::after,
.sprite.rocketLauncher {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/401.gif');
}

.sprite_before.laserCannonLight::before,
.sprite_after.laserCannonLight::after,
.sprite.laserCannonLight {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/402.gif');
}

.sprite_before.laserCannonHeavy::before,
.sprite_after.laserCannonHeavy::after,
.sprite.laserCannonHeavy {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/403.gif');
}

.sprite_before.gaussCannon::before,
.sprite_after.gaussCannon::after,
.sprite.gaussCannon {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/404.gif');
}

.sprite_before.ionCannon::before,
.sprite_after.ionCannon::after,
.sprite.ionCannon {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/405.gif');
}

.sprite_before.plasmaCannon::before,
.sprite_after.plasmaCannon::after,
.sprite.plasmaCannon {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/406.gif');
}

.sprite_before.shieldDomeSmall::before,
.sprite_after.shieldDomeSmall::after,
.sprite.shieldDomeSmall {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/407.gif');
}

.sprite_before.shieldDomeLarge::before,
.sprite_after.shieldDomeLarge::after,
.sprite.shieldDomeLarge {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/408.gif');
}

.sprite_before.shieldDomeGiant::before,
.sprite_after.shieldDomeGiant::after,
.sprite.shieldDomeGiant {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/409.gif');
}

.sprite_before.gravitonGun::before,
.sprite_after.gravitonGun::after,
.sprite.gravitonGun {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/410.gif');
}

.sprite_before.railGun::before,
.sprite_after.railGun::after,
.sprite.railGun {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/411.gif');
}
/* ~~~~~ MISSILES ~~~~~ */
.sprite_before.missileInterceptor::before,
.sprite_after.missileInterceptor::after,
.sprite.missileInterceptor {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/502.gif');
}

.sprite_before.missileInterplanetary::before,
.sprite_after.missileInterplanetary::after,
.sprite.missileInterplanetary {
    background-image: url('//static.xorbit.space/skins/redesign/gebaeude/503.gif');
}
/********************************************************
********************************************************
**************** END SPRITE IMAGES *********************
********************************************************
********************************************************/




#technologydetails_wrapper {
    position: absolute;
    top: 0;
    left:8px;
    width:654px;
    height:300px;
    display:none;
    overflow: hidden;
}

#technologydetails_content {
    position: absolute;
    top:300px;
    width:654px;
    height:300px;
    display: none;
    background-image: url(//gf1.geo.gfsrv.net/cdn95/dab435e02e060b479363268ca63b0e.gif);
}
#technologydetails_wrapper.slide-up {
    display:block;
}

#technologydetails_wrapper.slide-down {
    display:block;
}

#technologydetails_wrapper.slide-up #technologydetails_content{
    display: block;
    animation-name: anim-techdetails-slide-up;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

@keyframes anim-techdetails-slide-up {
    from {
        top:300px;
    }
    to {
        top:0;
    }
}

#technologydetails_wrapper.slide-down #technologydetails_content{
    display: block;
    animation-name: anim-techdetails-slide-down;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}




#technologydetails .resource.icon::before {
    display: block;
    width: 48px;
    height: 32px;
    margin: 0 auto 2px;
    background: url("//gf3.geo.gfsrv.net/cdned/7f14c18b15064d2604c5476f5d10b3.png") no-repeat 0 -160px;
    content: "";
}

#technologydetails .resource.icon.metal::before {
    background-position-x: 0;
}

#technologydetails .resource.icon.crystal::before {
    background-position-x: -48px;
}

#technologydetails .resource.icon.deuterium::before {
    background-position-x: -96px;
}

#technologydetails .resource.icon.energy::before {
    background-position-x: -144px;
}

#technologydetails .resource.icon.food::before {
    background-position-x: -288px;
}

#technologydetails .resource.icon.population::before {
    background-position-x: -336px;
}

#technologydetails .resource.icon {
    display: inline-block;
    min-width: 52px;
    max-width: 90px;
    height: 48px;
    margin: 0 3px;
    background: none;
    color: #fff;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

#technologydetails .resource.icon:first-of-type {
    margin-left: 0;
}

#technologydetails .resource.icon:last-of-type {
    margin-right: 0;
}

#technologydetails .resource.insufficient {
    color: #d43635;
}

#technologydetails .capacity {
    position: relative;
    float: left;
    background-color: #1f2b36;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
    width: 195px;
    height: 52px;
    padding: 2px 4px;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
}

#technologydetails .fill_capacity_info {
    background-color: #293742;
    float: left;
    height: 52px;
    width: 447px;
}
#technologydetails .fill_capacity_info .action {
    position: relative;
    border: 0px;
    width: 392px;
    bottom: 0px;
    float: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#technologydetails .fill_capacity_info .action .description{
    display: block;
    margin: 0 0 0 5px;
    width: 228px;
}
#technologydetails .txt_box{
    float: left;
}

#technologydetails .arrow_description {
    background: url(//gf3.geo.gfsrv.net/cdn86/bd821d798d0f2d4829d382a0c10c5d.png) no-repeat;
    float: left;
    height: 52px;
    margin: 0 25px 0 0;
    width: 25px;
}

#technologydetails .capacity > span,
#technologydetails .capacity > meter {
    display: block;
}

#technologydetails .capacity meter {
    position: relative;
    width: 176px;
    height: 8px;
    margin: 0 auto;
    background: linear-gradient(#000 0%, #273541 30%, #273541 70%, #000 100%);
    box-shadow: 0 0 1px #000;
}

#technologydetails .capacity meter::after {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    background: repeating-linear-gradient(90deg, #000, #000 1px, transparent 2px, transparent 5px);;
}

#technologydetails .capacity meter::-webkit-meter-bar {
    background: linear-gradient(#000 0%, #273541 30%, #273541 70%, #000 100%);
}

#technologydetails .capacity meter::-webkit-meter-optimum-value {
    background: linear-gradient(#000 0%, #04c931 30%, #04c931 70%, #000 100%);
}

#technologydetails .capacity meter::-webkit-meter-suboptimum-value {
    background: linear-gradient(#000 0%, #ff9401 30%, #ff9401 70%, #000 100%);
}

#technologydetails .capacity meter::-webkit-meter-even-less-good-value {
    background: linear-gradient(#000 0%, #e83901 30%, #e83901 70%, #000 100%);
}

#technologydetails .capacity meter:-moz-meter-optimum::-moz-meter-bar {
    background: linear-gradient(#000 0%, #04c931 30%, #04c931 70%, #000 100%);
}

#technologydetails .capacity meter:-moz-meter-sub-optimum::-moz-meter-bar {
    background: linear-gradient(#000 0%, #ff9401 30%, #ff9401 70%, #000 100%);
}

#technologydetails .capacity meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
    background: linear-gradient(#000 0%, #e83901 30%, #e83901 70%, #000 100%);
}

#technologydetails .capacity .good {
    color: #9c0;
}

#technologydetails .capacity .critical {
    color: #d29d00;
}

#technologydetails .capacity .full {
    color: #d43635;
}

#technologydetails .action,
#technologydetails .complex_action {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    border: 2px solid #151f29;
    display: flex;
    background: #293742;
}

#technologydetails .description .action,
#technologydetails .description .complex_action {
    position: relative;
    background: transparent;
}

#technologydetails .description .txt_box {
    position: relative;
    padding: 3px 0 0 3px;
    width: 95%;
}
#technologydetails[data-technology-id="36"] .description .txt_box {
    position: relative;
    padding: 3px 0 0 3px;
    width: 288px;
}

#technologydetails .repair_order a.value {
    font-style: italic;
    font-weight: normal;
    text-decoration: unset;
}


#technologydetails .description #wreckfield-btns {
    float: right;
}

#technologydetails #description a.fright {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

#technologydetails .capacity + .action,
#technologydetails .capacity + .complex_action {
    /*
    This rule was extracted to /assets/css/technologydetails.css because yuicompressor was breaking it
    */
    width: calc(100% - 201px);
    padding-left: 25px;
}

#technologydetails .capacity + .action::before,
#technologydetails .capacity + .action::after,
#technologydetails .capacity + .complex_action::before,
#technologydetails .capacity + .complex_action::after {
    position: absolute;
    border: solid transparent;
    display: block;
    content: "";
    pointer-events: none;
}

#technologydetails .capacity + .action::before,
#technologydetails .capacity + .complex_action::before {
    left: 0;
    top: -2px;
    border-left-color: #151f29;
    border-width: 25px;
}

#technologydetails .capacity + .action::after,
#technologydetails .capacity + .complex_action::after {
    left: -2px;
    top: 0;
    border-left-color: #1e2b39;
    border-width: 23px;
}

#technologydetails .action > span,
#technologydetails .action > button,
#technologydetails .complex_action > span,
#technologydetails .complex_action > button {
    display: block;
    width: 50%;
    margin: 5px;
}

#technologydetails .action > span,
#technologydetails .complex_action > span {
    align-self: center;
}

#technologydetails .action > button,
#technologydetails .complex_action > button {
    height: 36px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
}

#technologydetails .action > button span,
#technologydetails .complex_action > button span {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 36px;
}

#technologydetails > .description {
    position: absolute;
    top: 203px; /* @TODO-merge was bottom 0 height 45px display flex before*/
    box-sizing: border-box;
    width: 100%;
    height: 95px;
    display: block;
    padding: 3px 5px;
}

#technologydetails.large {
    height: 300px;
}

#technologydetails.large > .description {
    height: 95px;
}

#technologydetails.large > .capacity + .description,
#technologydetails.large > .action + .description,
#technologydetails.large > .complex_action + .description {
    height: 45px;
}

#technologydetails > .description .details,
#technologydetails > .description .text {
    align-self: center;
}

#technologydetails > .description .details {
    display: block;
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 3px;
    background: linear-gradient(#445982, #253249);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    float: left;
}

#technologydetails > .description .details:hover {
    background: linear-gradient(#6b86b4, #384c6b);
}

#technologydetails > .description .text {
    display: block;
    padding: 0 0 0 5px;
    overflow: hidden;
}

#technologydetails > .action button.offers {
    background: linear-gradient(#53a423, #2f6c04);
    box-shadow: inset 0 0 25px #2b6303;
    color: #fff;
    text-shadow: 0 0 1px #2b6303;
}

#technologydetails > .action button.offers:hover {
    background: linear-gradient(#93e438, #54ad08);
}

#technologydetails > .action button.rockets {
    background: linear-gradient(#1b222d, #0e1117);
    box-shadow: inset 0 0 25px #151f29;
    color: #fff;
    text-shadow: 0 0 1px #151f29;
}

#technologydetails > .action button.rockets:hover {
    background: linear-gradient(#303a46, #1b222d);
}

#technologydetails .build_amount {
    display: flex;
    position: absolute;
    right: 5px;
    top: 51px;
    padding: 5px;
    border-radius: 4px;
    background: #151f29;
}

#technologydetails .build_amount label {
    position: absolute;
    left: 5px;
    top: -19px;
}

#technologydetails #build_amount,
#technologydetails .build_amount .maximum {
    height: 36px;
}

#technologydetails #build_amount {
    box-sizing: border-box;
    width: 95px;
    height: 35px;
    background: #b3c3cb;
    border: 1px solid #668599;
    border-bottom-color: #d3d9de;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px 0 #454f54;
    color: #000;
    text-align: center;
    font-size: 18px;
}

#technologydetails #build_amount:focus {
    background: #fff;
}

#technologydetails .build_amount .maximum {
    min-width: 85px;
    align-self: center;
    margin: 0 0 0 23px;
    padding: 5px;
    background: #1e2b39;
    color: #fff;
}

#technologydetails .build_amount .maximum:hover {
    text-decoration: underline;
}

#technologydetails .build_amount .maximum:before {
    position: absolute;
    left: 87px;
    top: 50%;
    display: block;
    width: 0;
    height: 0;
    border: 18px solid transparent;
    border-right-color: #1e2b39;
    margin-top: -18px;
    content: "";
    pointer-events: none;
}

#technologydetails a.upgrade{
    height: 51px;
    position: absolute;
}

#technologydetails a.upgrade:hover,
#technologydetails button.upgrade:hover {
    background-position-y: -54px;
}

#technologydetails button:disabled span {
    cursor: not-allowed !important;
}

#technologydetails a.upgrade span,
#technologydetails button.upgrade span {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 45px;
}
#technologydetails a.upgrade span {
    vertical-align: middle;
    text-align: center;
    font-size: 12px;
}

#technologydetails a.build-it_premium span,
#technologydetails button.build-it_premium span {
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    padding-left: 6px;
    padding-top: 2px;
}

#technologydetails button.build-it_premium:disabled span {
    padding-left: 48px;
}

#technologydetails a.upgrade,
#technologydetails button.upgrade {
    width: 143px;
    height: 54px;
    padding-top: 3px;
    background: transparent url(//gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png) 0 0 no-repeat;
    color: #fff;
    text-shadow: 0 0 1px #2b6303;
    font-size: 16px;
    font-weight: bold;
}


#technologydetails button.downgrade {
    position: absolute;
    top: 40px;
    right: 11px;
    height: 32px;
    /* background: linear-gradient(#a32323, #6b0404); */
    box-shadow: inset 0 0 25px #600303;
    color: #848484;
    text-shadow: 0 0 1px #600303;
    font-size: 11px;
    font-weight: bold;

    background: transparent url("//gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png") -143px 0px no-repeat;
    background-position: -310px -220px;
}

#technologydetails button.downgrade:hover {
    /* background: linear-gradient(#e23838, #aa0808); */
    color:#ffffff;
}

#technologydetails button.downgrade span {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 22px;
}

#technologydetails .technology_tree {
    position: absolute;
    left: 0;
    top: 151px;
    box-sizing: border-box;
    width: auto;
    padding: 35px 3px 3px;
    background: rgba(0, 0, 0, .65);
    color: #848484;
}

#technologydetails .technology_tree::before {
    position: absolute;
    /*
    This rule was extracted to /assets/css/technologydetails.css because yuicompressor was breaking it
    */
    left: calc(50% - 16px);
    top: 3px;
    display: block;
    width: 32px;
    height: 32px;
    background: url("//gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png") no-repeat -143px 0;
    content: "";
}

#technologydetails .technology_tree:hover {
    background-color: rgba(0, 0, 0, .75);
    color: #fff;
}

#technologydetails .technology_tree:hover::before {
    background-position-y: -32px;
}

#technologydetails .technology_tree.no_prerequisites::before {
    background-position-y: -64px;
}

#technologydetails button.cancel {
    position: absolute;
    right:11px;
    top: 40px;
    box-sizing: border-box;
    height: 32px;
    padding: 0;
    font-size: 11px;
    line-height: 13px;
    font-weight: bold;
    color: #848484;
}

#technologydetails button.cancel:hover {
    background: linear-gradient(#e23838, #aa0808);
    color:#ffffff;
}

#technologydetails #missingResource {
    position: static !important;
    top: 141px;
    right: 5px;
    width: 143px;
    height: 51px;
    padding-top: 3px;
    background: transparent url(//gf3.geo.gfsrv.net/cdneb/f5f81e8302aaad56c958c033677fb8.png) 0 0 no-repeat;
    color: #fff;
    text-shadow: 0 0 1px #2b6303;
    font-size: 16px;
    font-weight: bold;
    display: block;
    background-position: 0px -316px;
}

#technologydetails #missingResource:hover {
    background-position: 0px -370px;
}

/*
########################################################################################################################
## Complex action styles ###############################################################################################
########################################################################################################################
*/

#technologydetails > .complex_action.wreckfield_repairorder > .description,
#technologydetails > .complex_action.wreckfield_norepairorder > .description,
#technologydetails > .complex_action.nowreckfield_repairorder > .description {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#technologydetails > .complex_action.wreckfield_repairorder > .description,
#technologydetails > .complex_action.nowreckfield_repairorder > .description {
    width: 75%;
}

#technologydetails > .complex_action.wreckfield_norepairorder > .description {
    width: 50%;
}

#technologydetails > .complex_action.wreckfield_norepairorder > button.burn_up {
    width: 25%;
    background: linear-gradient(#a32323, #6b0404);
    box-shadow: inset 0 0 25px #600303;
    color: #fff;
    text-shadow: 0 0 1px #600303;
}

#technologydetails > .complex_action.wreckfield_norepairorder > button.burn_up:hover {
    background: linear-gradient(#e23838, #aa0808);
}

#technologydetails > .complex_action.wreckfield_norepairorder > button.repair,
#technologydetails > .complex_action.nowreckfield_repairorder > button.recomission,
#technologydetails > .complex_action.wreckfield_repairorder > button.recomission {
    width: 25%;
    background: linear-gradient(#53a423, #2f6c04);
    box-shadow: inset 0 0 25px #2b6303;
    color: #fff;
    text-shadow: 0 0 1px #2b6303;
}

#technologydetails > .complex_action.wreckfield_norepairorder > button.repair:hover,
#technologydetails > .complex_action.nowreckfield_repairorder > button.recomission:hover,
#technologydetails > .complex_action.wreckfield_repairorder > button.recomission:hover {
    background: linear-gradient(#93e438, #54ad08);
}

#technologydetails > .complex_action .repair_order .duration,
#technologydetails > .complex_action .repair_order .ships {
    display: block;
}

#technologydetails .character_class_selection {
    position: absolute;
    left:200px;
    right: 0;
    height:270px;

    padding-top:25px;

    overflow: hidden;
}

#technologydetails .character_class_box {
    position:relative;
    width:340px;
    height:82px;

    box-sizing: border-box;

    border-width: 1px;
    border-style: solid;
    border-color: #273746;

    margin: 5px auto;

    background-color: #141c23;
}

#technologydetails .character_class_box:hover,
#technologydetails .character_class_box.active
{
    border-color:#07aa07;
    box-shadow: 0 0 10px #1cff1c;
}
#technologydetails .character_class_box:hover,
#technologydetails .character_class_box:hover .character_class_bonus .tooltip,
#technologydetails .character_class_box.active,
#technologydetails .character_class_box.active .character_class_bonus .tooltip
{
    color: #07cc07;
}

#technologydetails .character_class_box .character_class_info_box {
    position: relative;
    height:60px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#technologydetails .character_class_box .sprite.medium {
    margin:5px;
    width:50px;
    height:50px;
}
#technologydetails .character_class_box .info {
    text-align: center;
}

#technologydetails .character_class_box .character_class_info_box h2 {
    flex-grow: 0;
    flex-shrink: 0;
    width: 110px;

    color: #6F9FC8;
    font-size: 13px;
}

#technologydetails .character_class_box .character_class_info_box .icon-info {
    position: relative;
    width: 16px;
    height: 16px;

    line-height: 16px;

    border-color: #848484;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;

    text-align: center;
    color: #848484;

    font-size: 12px;
    font-weight: bold;
}

#technologydetails .button {
    position: relative;
    height: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-left: 10px;
    margin-right: 10px;
    border-radius: 6px;

    font-weight: bold;
    text-align: center;

    cursor: pointer;

    box-sizing: border-box;
    width:100px;
}

#technologydetails .button.select_class {
    border: 1px solid #6F9FC8;
    background-color: #263b4c;
    color: #6F9FC8;
}

#technologydetails .button.select_class:hover {
    background-color: #4F7Fa8;
    color: #ffffff;
}

#technologydetails .button.deselect_class {
    text-decoration: underline;
}

#technologydetails .character_class_box .character_class_boni {
    position: relative;

    height:20px;

    background-color: #273746;

    display: flex;
    flex-direction: row;
}

#technologydetails .character_class_bonus {
    position: relative;

    min-width: 60px;

    font-size: 10px;
    line-height: 21px;

    display: flex;
    flex-direction: row;
}

#technologydetails .character_class_bonus .tooltip {
    color:#909090;
}

#technologydetails .character_class_bonus > .sprite {
    margin:0 5px;
    flex-grow: 0;
    flex-shrink: 0;
}


/*
wreckfields
*/

#technologydetails #description #wreck_field {
    padding: 5px 3px;
}

#technologydetails #description #wreck_field input,
#technologydetails .repairableShips input {
    background: none;
}

#technologydetails #description #wreck_field a {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

#technologydetails #description #wreck_field .btn {
    margin: 3px 7px;
}

#technologydetails #description .btn_dark:hover {
    background-position: 0 -570px;
}
#technologydetails #description .btn_dark:before {
    background-position: 0 -456px;
}
#technologydetails #description .btn_dark:after {
    background-position: -23px -456px;
}
#technologydetails #description .btn_dark:hover:before {
    background-position: 0 -494px;
}
#technologydetails #description .btn_dark:hover:after {
    background-position: -23px -494px;
}


#technologydetails #burnUpCountDownForStationScreen,
#technologydetails #burnUpCountDownForRepairOverlay,
#technologydetails #repairTime {
    font-size: 12px;
    font-weight: 600;
}

#technologydetails .fakelink {
    text-decoration: underline;
    cursor:pointer;
}

#technologydetails .description .slot {
    bottom: 4px !important;
    right: 2px !important;
}



#technologydetails .content {
    position: absolute;
    left:208px;
    right: 0;
    height:200px;

    overflow: hidden;
}


#technologydetails .close {
    position: absolute;
    right: 5px;
    top: 6px;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 1px solid black;
    background: #395281;
    color: #fff;
    font-size: 14px;
    line-height: 14px;
    z-index: 2;
}

#technologydetails .level,
#technologydetails .amount {
    position: absolute;
    right: 26px;
    top: 0;
    color: #ff9600;
    line-height: 27px;
}

#technologydetails h3 {
    position: absolute;
    right: 0;
    top: 0;
    width: 450px;
    background: url("//gf1.geo.gfsrv.net/cdnfb/a4e7913209228ebaf2297429aeb87b.png");
    color: #ff9600;
    font: bold 12px/27px Verdana,Arial,Helvetica,sans-serif;
    text-indent: 26px;
}

#technologydetails h3::before {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 26px;
    height: 27px;
    background: url("//gf2.geo.gfsrv.net/cdn4a/127bd495b9325216af08a588ecc540.png");
    content: "";
}

#technologydetails .information {
    box-sizing: border-box;
    padding: 5px;
    line-height: 14px;
    margin-top: 26px;
}

#technologydetails .information > ul {
    display: flex;
    flex-flow: column;
}

#technologydetails .information > ul.narrow {
    width: 235px;
}

#technologydetails .information > ul li {
    margin-bottom: 5px;
}

#technologydetails .value {
    color: #fff;
    font-weight: bold;
}

#technologydetails .bonus {
    color: #9c0;
}

#technologydetails .costs {
    position: absolute;
    top: 130px;
}

#technologydetails .costs p {
    margin-bottom: 5px;
}

#technologydetails #demolition_costs_tooltip {
    display: none;
}

/* Event Header */
#eventHeader,
#buttonz .header,
#sendfleet .header,
.header .c-left,
.header .c-right {
    background-image: url("//gf1.geo.gfsrv.net/cdn63/10e31cd5234445e4084558ea3506ea.gif");
    background-repeat: no-repeat;
}
#eventHeader,
#buttonz .header,
#sendfleet .header {
    height: 28px;
    position: relative;
}

#eventHeader h2, .info_box h2 {
    color:#6F9FC8;
    font: 700 12px Verdana, Arial, Helvetica, sans-serif;
    line-height: 28px;
    text-align: center;
    margin-top: 0px;
}

#eventContent {
    background: transparent url("//gf1.geo.gfsrv.net/cdn9e/4f73643e86a952be4aed7fdd61805a.gif") 5px 0px  repeat-y;
    width: 100%;
    margin: 0;
    padding: 5px 10px 0 10px;
    text-align: center;
    border-spacing: 0;
}

#eventFooter {
    background: transparent url("//gf1.geo.gfsrv.net/cdn30/aa3e8edec0a2681915b3c9c6795e6f.gif") 2px 0px no-repeat;
    height: 17px;
}

#eventboxContent.show {
    display:block;
}

#eventHeader button.close {
    right: 10px;
    top: 5px;
    position: absolute;
    color: #6F9FC8;
}
/* Event Header Ende*/

.build-it_wrap {
    float: right;
    bottom: 0px;
    position: absolute;
    right: 0px;
    margin: 8px;
}


/* MyFix */

#research ul {
    padding: 0px;
}

#research h3 {
    width: 100%;
}

#supplies, #research {
    position: relative;
}

#supplies header h2, #research header h2, #planetOverview header h2 {
    margin: 0;
    text-shadow: 0px 0px 5px #000000;
}

#supplies #technologies .icons {
    padding: 0px;
}

#technologydetails .content {
    top: 0px;
}

#technologydetails .content h3 {
    margin: 0px;
}

#technologydetails button.upgrade {
    padding: 0px;
}

#technologydetails .costs {
    top: 112px;
}

#technologydetails .costs ul {
    padding: 0px;
}

#technologydetails > .description .text {
    display: inline;
}

#technologydetails > .description a {
    border: 3px solid rgb(120, 190, 230);
    padding: 3px;
}

button.disabled {
    background-position-y: -370px !important;
}



table.construction > tbody > tr > th {
    background-color: rgba(0, 0, 0, 0);
}

.planet_selection {
    cursor: pointer;
    color: rgb(120, 190, 230);
}

.officer_disabled {
    position: relative;
    display: inline-block;
}
.officer_disabled::before {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    background: rgba(0,0,0,0.6);
}

span.value {
    color: white !important;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.bigButton {
    border: 1px solid #161a1f;
    background: linear-gradient(to bottom, rgb(56, 70, 85) 0%,rgb(43, 54, 64) 50%,rgb(29, 37, 45) 51%,rgb(29, 38, 48) 100%);
}

.resource_tile {
    font-size: 11px;
    font-weight: bold;
}

.leftmenu_highlight {
    color: greenyellow;
    cursor: pointer;
    padding: 0px;
}

.right-menu {
    display: none;
}

.planet-name, .planet-koords {
    text-shadow: 0px -2px 2px #000000, 0px 2px 2px #000000, 2px 0px 2px #000000, -2px 0px 2px #000000;
}

span.selected_planet {
    text-shadow: 0px 0px 8px yellow, 0px -2px 2px #000000, 0px 2px 2px #000000, 2px 0px 2px #000000, -2px 0px 2px #000000;
}

img.planetPic {
    border-radius: 25px;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.5);
}

img.selected_planet {
    box-shadow: 0px 0px 5px 5px rgba(255, 255, 0, 0.5);
}

#headerbarcomponent #bar a {
    font-size: 12px;
}

#planetList {
    width: 150px;
}

@media (min-width: 1200px) {
    #planetList {
        display: flex;
        flex-wrap: wrap;
        width: 250px;
        flex-direction: row;
    }
}

@media (min-width: 1400px) {
    #planetList {
        display: flex;
        flex-wrap: wrap;
        width: 400px;
        flex-direction: row;
    }
}

.smallplanet {
    max-width: 150px;
    min-width: 100px;
}

#servertime {
    margin-right: 0;
    float: right !important;
    color:#848484;
    font-weight: bold;
}

.fleet_none {
    color: white;
}
.fleet_own {
    color: greenyellow;
}
.fleet_neutral {
    color: orange;
}
.fleet_enemy {
    color: red;
}
.moon_selection {
    position: relative;
    top: -80px;
    left: 20px;
}
.eventBoxTopNav {
    margin-top: -2px;
    line-height: normal;
}
.eventBoxTopNav td {
    text-align: left;
    padding-right: 10px;
}
.tooltip {
    z-index: 99;
}
.page_redesign {
    max-width: 650px;;
}
.flex_container_avatar {
    display: flex;
    flex-wrap: wrap;
    max-width: 650px;
    justify-content: center;
}
.flex_box_avatar {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 150px;
    width: 150px;
    background-color:rgba(10,20,30,0.5);
    padding: 10px;
    margin-top: 10px;
    margin-left: 10px;
}
.flex_box_avatar button:hover {
    background-color: transparent;
}
.flex_box_avatar img {
    width: 100px;
    height: 100px;
}
.flex_box_avatar span {
    color: white;
}
.spanVerticalAlign {
    vertical-align: middle;
    display: inline-block; /* Firefox */
}
img.avatar_small {
    width: 32px;
    height: 32px;
    border-radius: 5px;
}

img.avatar_medium {
    width: 48px;
    height: 48px;
    border-radius: 5px;
}

img.avatar_big {
    width: 100px;
    height: 100px;
    border-radius: 8px;
}
.negativeNumber {
    color: red;
}
#resourcesbarcomponent .tooltip {
    padding: 2px;
}
.textAlignRight {
    text-align: right;
}
#eventContent .flyingFleets {
    max-width: 650px;;
}
.flyingFleets {
    width: 100%;
}
.flyingFleets tr th {
    background-color: initial;
    border: 1px solid rgb(20, 30, 40);
}
.clickableImg {
    cursor: pointer;
}

.pictogram {
    width: 32px;
    height: 32px;
    border-radius: 5px;
}
.pictogram img {
    border-radius: 5px;
}
.pictogram_small {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    background: #394756;
    display: inline-block;
    vertical-align: middle;
}
.pictogram_planet {
    background: none;
}
.pictogram_planet img {
    border-radius: 3px; /* Wegen TF */
}

.fleet_back, .fleet_forward, .fleet_stay {
    border-radius: 5px;
    height: 32px;
}

.fleet_mission {
    margin: auto;
}

.fleet_mission.Attack, .fleet_mission.ACSAttack, .fleet_mission.Mondzerstören {
    /* background-color: #ed2c00; */
}
.fleet_mission.ACSDefence {
    /* background-color: #ff7b00; */
}
.fleet_mission.Espionage {
    /* background-color: #ffd800; */
}
.fleet_mission.Transport, .fleet_mission.Stationieren {
    /* background-color: #199812; */
}
.fleet_mission.Colonisation {
    /* background-color: #0fb8da; */
}
.fleet_mission.Expedition {
    /* background-color: #0f6eda; */
}

/*
html {
    background: #0A141E url(//static.xorbit.space/skins/redesign/background/Hintergrund5.png) no-repeat fixed center;
    background-size: 100%;
}
*/

button.close {
    cursor: pointer;
}