@font-face {
	font-family: 'Press Start 2P';
	src: url('/assets/PressStart2P-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

html {
	height: 100%;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	text-align: left;
	color: #8F98A0;
	font-size: 14px;
	margin:0;
	padding:0;

	background-color: #4f463d;
	background-image: url('/assets/images/background_top_gradient.png');
	background-repeat: repeat-x;
	background-position: 0 0;
}

[hidden],
template {
	display: none;
}

img {
	border: 0;
}

a {
	color: #ebebeb;
	background-color: transparent;
	text-decoration: none;
	cursor: pointer;
}

.breadcrumbs {
	height: 28px;
	position: relative;
	margin: 0px auto;
	padding-top: 10px;
	width: 1280px;
	font-size: 13px;
	color: #BDBDBD;
}
.breadcrumbs a {
	text-shadow: 1px 1px 0px rgba( 0, 0, 0, 0.3 );
}
.breadcrumbs a:hover {
	text-decoration: underline;
	color: #fff;
}

#gamecontainer {
	position: relative;
	box-shadow: 0 0 9px #000;
	height: 720px;
	width: 1280px;
	margin: 0px auto;
	position: relative;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#uicontainer {
	position: absolute;
	top: 0;
	left: 0;
	width: 1280px;
	height: 720px;
	pointer-events: none;
	overflow: hidden;
}
.tv_ui {
	position: absolute;
	top: 0;
	left: 0px;
	width: 1280px;
	height: 720px;
	z-index: 11;

	pointer-events: none !important;

	background: url('/assets/images/game_frame_tv.png');
	background-repeat: no-repeat;
}
.scanlines {
	position: absolute;
	top: 0;
	left: 300px;
	width: 680px;
	height: 580px;
	z-index: 10;

	opacity: 0.06;

	pointer-events: none !important;

	background: url('/assets/images/scanlines.png');
	background-repeat: no-repeat;
}

#uicontainer > * {
	pointer-events: auto;
	font-family: 'Press Start 2P', "Lucida Console", Consolas, Arial;
}


#activeinlanecontainer .title_active {
	font-size: 8px;
	color: #aaa;
	display: block;
	margin-top: 2px;
	margin-bottom: 2px;
	height: 14px;
}

#activitylog {
	font-size: 8px;
	margin-top: 19px;
	margin-left: 6px;
}

#activitylog .player_activity {
	width: 261px;
	text-align: center;
	color: #ddd;
}

#upgrades {
	font-size: 8px;
	margin-top: 16px;
	margin-left: 4px;
}

#upgrades .title_upgrates {
	font-size: 14px;
	color: #28292e;
}
#upgrades .title_upgrates.abilities {
	margin-top: 10px;
	display: inline-block;
}
#upgradescontainer {
	overflow: hidden;
	height: 391px;
	width: 266px;
	display: inline-block;
	position: relative;
	margin-left: 5px;
}
#upgradescontainer > div, #activitycontainer > div {
	position: absolute;
}

#upgradesscroll {
	height: 396px;
	width: 2px;

	background-color: #8c8f96;
	box-shadow: 2px 0px 0px #ccc;

	display: inline-block;
	margin: 0 4px 0 10px;
	position: relative;

}
#activitycontainer {
	overflow: hidden;
	height: 360px;
	width: 261px;
	display: inline-block;
	position: relative;
	margin-top: 10px;
	margin-left: 5px;
	-webkit-user-select: text;
	-khtml-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	user-select: text;
}
#activityscroll {
	height: 360px;
	width: 2px;

	background-color: #8c8f96;
	box-shadow: 2px 0px 0px #ccc;

	display: inline-block;
	margin: 0 4px 0 10px;
	position: relative;

}

#upgradesscroll > div, #activityscroll > div {
	height: 45px;
	width: 15px;
	margin: 0 0 0 -5px;
	background: url('/assets/images/scroll_handle.png');
	background-repeat: no-repeat;
	position: absolute;
	box-shadow: 2px 2px 0px #000;
}
#upgradesscroll > div:hover, #activityscroll > div:hover {
	background-color: #a554b1;
	cursor: pointer;
}

#elements {
	margin-top: 39px;
	margin-left: 7px;
}
#elements .title_elements {
	font-size: 12px;
	color: #ddd;
	display: block;
	margin-left: 9px;
}
#elements .element_cost {
	font-size: 8px;
	color: #d5d5d6;
	line-height: 18px;
	height: 25px;
	margin-bottom: 16px;
	margin-left: 9px;
}

#elements .element_cost .cost {
	color: #e1b21e;
	background-image: url('/assets/emoticons/coinz.png');
	background-repeat: no-repeat;
	background-position: left;
	background-size: 14px 14px;
	padding-left: 16px;
	display: inline-block;
}
#elements .upgrades {
	padding-left: 9px;
	width: 340px;
}
.element_upgrade {
	float: left;
	width: 62px;
	height: 60px;
	padding-left: 4px;
	margin-right: 1px;
}
.element_upgrade img {
	width: 18px;
	display: inline-block;
}
.element_upgrade .level {
	text-align: left;
	display: inline-block;
}
.element_upgrade.primary .level {
	color: #fff;
}
.element_upgrade .element_upgrade_btn {
	background: url('/assets/images/element_upgrade_default.png');
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width: 53px;
	height: 26px;
	display: block;
	margin-top: 7px;
	margin-left: 3px;
}
.element_upgrade.cantafford .element_upgrade_btn,
.element_upgrade.cantafford .element_upgrade_btn:hover {
	background: url('/assets/images/element_upgrade_default.png');
	background-repeat: no-repeat;
	background-position: -106px 0px;
	cursor: default;
}
.element_upgrade .element_upgrade_btn:hover {
	background: url('/assets/images/element_upgrade_default.png');
	background-repeat: no-repeat;
	background-position: -53px 0px;
}

#spend_badge_points_dialog {
	z-index: 13;
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba( 0, 0, 0, 0.6);
}
.spend_badge_ponts_border {
	background-color: #ccc9c0;
	padding: 4px;
	position: absolute;
	top: 100px;
	left: 340px;
	right: 340px;
	z-index: 1000;
	box-shadow: 4px 4px 0px rgba( 0, 0, 0, 0.6);
}
.spend_badge_ponts_ctn {
	background: url('/assets/images/badge_points_bg.png');
	background-repeat: no-repeat;
	font-size: 8px;
	padding: 20px;
	text-align: left;
	border: 1px solid #000;
	}

#spend_badge_points_dialog .welcome_back
{
	font-size: 16px;
	text-align: center;
	padding-bottom: 10px;
	color: #68645c;
}
#spend_badge_points_dialog .desc
{
	padding-bottom: 10px;
	line-height: 12px;
	color: #68645c;
	}

#spend_badge_points_dialog .badge_points
{
	margin-bottom: 10px;
	color: #407898;
	background-image: url('/assets/emoticons/sheriffsbadge.png');
	background-repeat: no-repeat;
	background-position: left;
	background-size: 13px 13px;
	padding-left: 16px;
	display: block;
	line-height: 12px;
}
#spend_badge_points_dialog .purchase_ability_item
{
	position: relative;
	display: inline-block;
	padding: 5px;
	box-shadow: 2px 2px 0px rgba( 0, 0, 0, 0.6 );
	cursor: pointer;
	margin-bottom: 3px;
	margin-right: 6px;
	width: 254px;
	background-color: #4e96af;
	text-align: left;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
#spend_badge_points_dialog .purchase_ability_item:hover {
	background-color: #5bafd3;
}
#spend_badge_points_dialog .purchase_ability_item.disabled {
	background-color: #68645c;
	opacity: 0.5;
	box-shadow: 2px 2px 0px rgba( 0, 0, 0, 0.8 );
}
#spend_badge_points_dialog .purchase_ability_item .nameblock {
	display: inline-block;
	height: 32px;
	vertical-align: top;
}
#spend_badge_points_dialog .purchase_ability_item > img
{
	vertical-align: middle;
	height: 32px;
	width: 32px;
	image-rendering: -moz-crisp-edges;
	image-rendering: pixelated;
	display: inline-block;
	background: #333333;
}
#spend_badge_points_dialog .purchase_ability_item .name
{
	color: #000;
	display: block;
	line-height: 16px;
}
#spend_badge_points_dialog .purchase_ability_item .cost
{
	color: #fff;
	display: block;
	line-height: 12px;
	background-image: url('/assets/emoticons/sheriffsbadge.png');
	background-repeat: no-repeat;
	background-position: left;
	background-size: 13px 13px;
	padding-left: 16px;
}

.purchase_ability_item .purchase_options
{
	position: absolute;
	top: 20px;
	right: 4px;
}

.purchase_ability_item .sub_item
{
	position: relative;
	display: inline-block;
	padding: 5px;
	color: #fff;
	box-shadow: 2px 2px 0px rgba( 0, 0, 0, 0.6 );
	cursor: pointer;
	background-color: #ff7b00;
	text-align: left;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.purchase_ability_item .sub_item:hover {
	background-color: #e1b21e;
}
.purchase_ability_item .sub_item.disabled {
	background-color: #68645c;
	opacity: 0.5;
	box-shadow: 2px 2px 0px rgba( 0, 0, 0, 0.8 );
}

#waiting_for_players_dialog {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background-color: rgba( 0, 0, 0, 0.6);
	color: white;
	text-align: center;
	font-size: 12px;
	padding: 2px;
	z-index: 9;
	padding: 10px;
}
.waiting_for_players_ctn {
	position: absolute;
	top: 150px;
	left: 360px;
	right: 360px;
	border: 1px solid #000;
	background-color: #ccc9c0;
	box-shadow: 2px 2px 0 rgba( 0, 0, 0, 0.6 );
	padding: 16px;
	font-size: 16px;
	line-height: 19px;
}
#waiting_for_players_dialog .title_waiting {
	color: #000;
	margin-top: 10px;
}

#waiting_for_players_dialog .num_players_waiting_info {
	margin-top: 30px;
	color: #333;
}
#waiting_for_players_dialog .num_players_waiting_bar {
	padding: 1px;
	height: 15px;
	margin-bottom: 10px;
	background-color: #000;
}

#waiting_for_players_dialog .num_players_waiting_bar > div {
	height: 15px;
	background-color: #21b7f4;
}

#game_over_dialog .player_dead_ctn {
	height: 100px;
}

#game_over_dialog,
#player_dead_dialog {
	position: absolute;
	top: 182px;
	left: 350px;
	right: 350px;
	background-color: #ff7b00;
	box-shadow: 4px 4px 0px rgba( 0, 0, 0, 0.6);
	color: white;
	text-align: center;
	font-size: 12px;
	padding: 0px;
	z-index: 9;
}
#game_over_dialog .player_dead_ctn,
#player_dead_dialog .player_dead_ctn {
	border: 1px solid #252525;
	background: url('/assets/images/dead_bg.png');
	background-repeat: no-repeat;
}
#game_over_dialog .title_dead,
#player_dead_dialog .title_dead {
	font-size: 16px;
	color: #252525;
	margin-top: 14px;
	margin-bottom: 23px;
}
#game_over_dialog .title_dead_break,
#player_dead_dialog .title_dead_break {
	margin-top: 4px;
	line-height: 16px;
	text-shadow: 1px 1px 0px rgba( 0, 0, 0, 0.6);
}
#player_dead_dialog .title_dead_break a {
	text-decoration: underline;
	color: #fff;
}
#player_dead_dialog .title_dead_sub {
	margin-bottom: 18px;
	font-size: 8px;
	line-height: 11px;
	margin-left: 45px;
	margin-right: 45px;
	margin-top: 30px;
	color: #333;
}
#player_dead_dialog .title_dead_sub a {
	text-decoration: underline;
	color: #fff;
}
#player_dead_dialog .automatically_respawn {
	margin-top: 3px;
	margin-bottom: 20px;
	font-size: 8px;
	line-height: 12px;
}

.btn_respawn {
	background-color: #d5d6d8;
	font-family: 'Press Start 2P', arial, sans-serif;
	color: #252525;
	border: 2px solid #fff;
	font-size: 8px;
	text-align: center;
	cursor: pointer;
	display: inline-block;
	box-shadow: 2px 2px 0px #000;
	line-height: 16px;
	}

.btn_respawn:hover {
	background-color: #fff;
	color: #000;
}
.btn_respawn span {
	padding: 0px 15px;
	line-height: 24px;
}

#loot_notification {
	position: absolute;
	bottom: 215px;
	height: 60px;
	left: 335px;
	right: 335px;
	border: 1px solid;
	background-color: rgba(38,38,38,0.8);
	color: white;
	text-align: center;
	line-height: 28px;
	font-size: 12px;
	z-index: 1;
	pointer-events: none;
	padding-top: 4px;
}
#loot_notification #loot_name {
	display: inline-block;
}

#row_bottom {
	position: absolute;
	bottom: 14px;
	left: 10px;
	right: 10px;
	z-index: 12;
}

#row_top {
	position: absolute;
	top: 10px;
	height: 70px;
	text-align: center;
	width: 100%;
	pointer-events: none;
}
#level_container {

	text-align: center;
	width: 300px;
	padding: 2px;
}
#level_container .game_time span,
#level_container .level_time span {
	font-size: 16px;
}
#level_container .game_time {
	font-size: 8px;
	color: #fff;
	text-shadow: 1px 1px 0 rgba( 0, 0, 0, 0.5 );
	float: left;
	width: 200px;
	position: absolute;
	top: 25px;
	left: 420px;
	text-align: left;
	line-height: 16px;
	}

#level_container .level_time {
	font-size: 8px;
	color: #fff;
	text-shadow: 1px 1px 0 rgba( 0, 0, 0, 0.5 );
	float: left;
	width: 200px;
	position: absolute;
	top: 25px;
	left: 770px;
	text-align: left;
	line-height: 16px;
	}

#level_container .level_container2 {

	text-align: center;
	width: 278px;
	font-size: 16px;
	padding: 10px;
	color: #fff;
	text-shadow: 2px 2px 0px rgba( 0, 0, 0, 0.5 );
	float: left;
	position: absolute;
	top: 10px;
	left: 485px;

}
#level_container #level {
	margin-top: 5px;
	color: #fff;
	font-size: 32px;
	text-shadow: 2px 2px 0px rgba( 0, 0, 0, 0.5 );
}

#level_container #game_time {
	color: #fff;
}
#level_container #level_time {
	color: #fff;
}


#abilities {

	text-align: center;
	font-size: 10px;
	height: 52px;
}

#abilitiescontainer > div {
	display: inline-block;
	background: url('/assets/images/ability_btn_default.png');
	background-repeat: no-repeat;
	background-position: 0px 0px;
	margin: 3px;
	padding: 5px;
}
#abilitiescontainer > div:hover {
	background: url('/assets/images/ability_btn_default.png');
	background-repeat: no-repeat;
	background-position: -46px 0px;
}
#abilitiescontainer > div img {
	width: 36px;
	image-rendering: -moz-crisp-edges;
	image-rendering: pixelated;
}

#abilitiescontainer > div.active {
	background: url('/assets/images/ability_btn_default.png');
	background-repeat: no-repeat;
	background-position: -92px 0px;
}
#abilitiescontainer > div.active:hover {
	background: url('/assets/images/ability_btn_default.png');
	background-repeat: no-repeat;
	background-position: -92px 0px;
}

.disabled {
	color: orangered !important;
}

#col_left {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 300px;
	bottom: 109px;

	padding: 10px 0px;
	z-index: 12;
}

#col_right {
	position: absolute;
	top: 4px;
	right: 0px;
	width: 310px;
	bottom: 109px;

	padding: 10px 0px 10px 0px;
	padding-top: 13px;

	z-index: 11;
}
#col_right .lanes {
	background-repeat: no-repeat;
	margin-left: 2px;
	width: 299px;
	margin-bottom: 14px;
}
#col_right .lanes.desert {
	background: url('/assets/images/panel_right_desert.png');
	background-repeat: no-repeat;
}
#col_right .lanes.city_day {
	background: url('/assets/images/panel_right_city.png');
	background-repeat: no-repeat;
}
#col_right .lanes.city_destroyed {
	background: url('/assets/images/panel_right_cityr.png');
	background-repeat: no-repeat;
}
#col_right .lanes.ocean_floor {
	background: url('/assets/images/panel_right_ocean.png');
	background-repeat: no-repeat;
}
#col_right .lanes.city_night {
	background: url('/assets/images/panel_right_night.png');
	background-repeat: no-repeat;
}
#col_right .lanes.space {
	background: url('/assets/images/panel_right_space.png');
	background-repeat: no-repeat;
}
#col_right .lanes.stadium {
	background: url('/assets/images/panel_right_stadium.png');
	background-repeat: no-repeat;
}
#col_right .lanes.volcano {
	background: url('/assets/images/panel_right_volcano.png');
	background-repeat: no-repeat;
}
#col_right .lanes.island {
	background: url('/assets/images/panel_right_island.png');
	background-repeat: no-repeat;
}
#col_right .lanes.snow {
	background: url('/assets/images/panel_right_snow.png');
	background-repeat: no-repeat;
}

#col_right .lanes .lane_element {
	display: inline-block;
	background-color: black;
	margin-right: 2px;
	padding: 2px;
}
#col_right .lanes .lane_element span {
	height: 18px;
	width: 18px;
	display: inline-block;
	background-size: 100%;
}
#col_right .lanes .lane_enemy {
	display: inline-block;
	background-color: black;
	margin-right: 2px;
	padding: 2px;
}

.player_ctn {
	height: 75px;
	position: absolute;
	bottom: 70px;
	left: 482px;
	z-index: 12;
}
.player {
	width: 305px;
	margin: auto;
	display: block;
	padding-top: 7px;
	padding-left: 7px;
	height: 38px;
	margin-top: 4px;
	margin-bottom: 8px;

}

#avatar_container {
	width: 52px;
	height: 52px;
	display: inline-block;
}

#avatar_container > img {
	width: 100%;
	height: 100%;
	image-rendering: -moz-crisp-edges;
	image-rendering: pixelated;
}

#info_block {
	display: inline-block;
	vertical-align: top;
	width: 232px;
	margin-top: 9px;
	margin-left: -4px;
}

#info_block > div {
	line-height: 12px;
	font-size: 12px;
	height: 12px;
	text-shadow: 1px 1px 0 rgba( 0, 0, 0, 0.6 );
	color: #fff;
}

#health_bar {
	margin-top: 12px;
}

.bar {
	padding: 1px;
	height: 15px;
}

.bar > div {
	height: 18px;
	background: #a33100;
}
.barwrapper .bar > div {
	height: 15px;
}
.lanes .bar > div {
	height: 10px;
}
.gold_count {
	height: 30px;
	margin-top: 2px;
	margin-left: 5px;
}
.gold_count img {
	height: 32px;
	width: 32px;
	image-rendering: -moz-crisp-edges;
	image-rendering: pixelated;
	float: left;
}
#info_gold {
	margin-top: 6px;
	margin-left: 6px;
	color: #e1b21e;
	font-size: 24px;
	float: left;
}

.lane {
	background: url('/assets/images/lane_default.png');
	background-repeat: no-repeat;
	background-position: 0px 0px;
	display: inline-block;
	width: 77px;
	padding: 7px;
	color: #ee7aff;
	text-shadow: 1px 1px 0px rgba( 0, 0, 0, 0.6 );
	font-size: 8px;
	height: 64px;
	vertical-align: top;
	margin-top: -1px;
	}

.lane:hover {
	background: url('/assets/images/lane_default.png');
	background-repeat: no-repeat;
	background-position: -91px 0px;
}


#lane0 {
	margin-left: 0px;
}

.lane.active {
	width: 102px;
	padding-right: 8px;
	height: 73px;
	background: url('/assets/images/lane_active.png');
	background-repeat: no-repeat;
	border: 0px;
	color: #fff;
	text-shadow: 1px 1px 0px rgba( 0, 0, 0, 0.6 );
	cursor: default;
	vertical-align: top;
	margin-top: -1px;
}

.lane .bar {
	margin: 3px 2px 3px 0px;
}
.lane.active .bar {
	margin: 3px 0px;
}

.half {

	display: inline-block;
}
.title_teamdps,
.title_teamhealth {
	font-size: 8px;
	color: #aaa;
	}

.teamdpscontainer {
	display: inline-block;
	width: 147px;
	vertical-align: top;
	margin-left: 21px;
}

.teamhealthcontainer
{
	display: inline-block;
	width: 130px;
	vertical-align: top;
}

.teamhealthcontainer > div {
	padding: 2px 0px;
	-webkit-transition:height 1s;
	transition:height 1;

}

#teamdps {
	font-size: 16px;
	color: #fff;
	margin-top: 6px;
}

#world_container {
	display: inline-block;
	margin: 0 10px 0 0;
	width: 130px;
	text-align: center;
	font-size: 8px;
}





.teamhealth {
	width: 9px;
	margin: 0 1px;
	display: inline-block;
	height: 20px;
	position: relative;
	background: rgba( 0, 0, 0, 0.2 );
}

.teamhealth > div {
	position: absolute;
	bottom: 0;
	width: inherit;
}
#teamhealth_0 > div {
	background-color: #be0808;
}
#teamhealth_1 > div {
	background-color: #be3f08;
}
#teamhealth_2 > div {
	background-color: #be6208;
}
#teamhealth_3 > div {
	background-color: #be8008;
}
#teamhealth_4 > div {
	background-color: #bfa108;
}
#teamhealth_5 > div {
	background-color: #bfbf08;
}
#teamhealth_6 > div {
	background-color: #a1bf08;
}
#teamhealth_7 > div {
	background-color: #82bf08;
}
#teamhealth_8 > div {
	background-color: #63bf08;
}
#teamhealth_9 > div {
	background-color: #45bf08;
}

.upgrade {
	padding: 5px;
	margin: 3px 0;
	width: 254px;
	min-height: 42px;
	background: url('/assets/images/upgrade_ctn_bg.png');
	background-repeat: no-repeat;
}
.upgrade.purchase {
	min-height: 28px;
	background: url('/assets/images/purchase_ctn_bg.png');
	background-repeat: no-repeat;
}
.upgrade.purchase img {
	height: 24px;
	width: 24px;
	image-rendering: -moz-crisp-edges;
	image-rendering: pixelated;
}

.upgrade .link {
	background: url('/assets/images/upgrade_btn_default.png');
	background-repeat: no-repeat;
	background-position: 0px 0px;
	color: #ee7aff;
	padding: 6px;
	font-size: 8px;
	line-height: 14px;
	width: 95px;
	height: 28px;
	display: inline-block;
	vertical-align: top;
	float: right;
	margin-right: 1px;
}

.upgrade.purchase .link {
	background: url('/assets/images/purchase_btn_default.png');
	background-repeat: no-repeat;
	height: 16px;
}
.upgrade .link:hover {
	background: url('/assets/images/upgrade_btn_default.png');
	background-position: -107px 0px;
	color: #fff;
}
.upgrade.purchase .link:hover {
	background: url('/assets/images/purchase_btn_default.png');
	background-position: -107px 0px;
	color: #fff;
}
.cantafford .upgrade .link,
.cantafford .upgrade .link:hover {
	box-shadow: none;
	background: url('/assets/images/upgrade_btn_default.png');
	background-position: -214px 0px;
	color: #aaa;
	cursor: default;
}
.cantafford .upgrade.purchase .link,
.cantafford .upgrade.purchase .link:hover {
	box-shadow: none;
	background: url('/assets/images/purchase_btn_default.png');
	background-position: -214px 0px;
	color: #aaa;
	cursor: default;
}

.upgrade .cost {
	color: #e1b21e;
	background-image: url('/assets/emoticons/coinz.png');
	background-repeat: no-repeat;
	background-position: left;
	background-size: 14px 14px;
	padding-left: 16px;
}


.upgrade .level {
	color: #fff;
	font-size: 16px;
	line-height: 26px;
	text-shadow: 2px 2px 0px #000;
}

.upgrade .info {
	width: 135px;
	display: inline-block;
	vertical-align: top;
	color: #ddd;
}
.upgrade.purchase .info {
	width: 145px;
}
.upgrade .info .name {
	margin-top: 2px;
}
.upgrade.purchase .info .name {
	margin-top: 4px;
	vertical-align: top;
	display: inline-block;
	width: 102px;
	line-height: 11px;
}

.subcontainer > div {
	display: inline-block;
	border: 2px solid #a655b2;
	vertical-align: top;
	margin-right: 5px;
	box-shadow: 2px 2px 0px #000;
}
.subcontainer > div:hover {
	border: 2px solid #a554b1;
}

.subcontainer a {
	display: inline-block;
}

.subcontainer img {
	width: 32px;
}

.cantafford {

}

.ta_tooltip {
	background-color: #e1c48a;
	color: #6b5c34;
	font-size: 8px;
	line-height: 10px;
	padding: 8px;
	font-family: 'Press Start 2P', "Lucida Console", Consolas, Arial;
	box-shadow: 3px 3px 0px 0px rgba( 0, 0, 0, 0.6 );
	max-width: 270px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.ta_tooltip b {
	font-weight: normal;
	color: #0277BD;
}

#activeinlanecontainer {
	height: 68px;
	width: 262px;
	overflow: hidden;
	margin-left: 21px;
}

#activeinlanecontainer > div {
	display: inline-block;
	position: relative;
}

#activeinlanecontainer > div img {
	width: 32px;
	image-rendering: -moz-crisp-edges;
	image-rendering: pixelated;

}

#activeinlanecontainer > div .quantity {
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: 8px;
	color: #fff;
	text-shadow: 2px 2px 0px 0px #000;
}
.activeinlanetemplate {
	margin-right: 10px;
	height: 42px;
	width: 42px;
	background-image: url('/assets/images/active_ability_ctn.png');
	background-repeat: no-repeat;
}
.activeinlanetemplate .icon {
	margin-left: 4px;
	margin-top: 4px;
}

.activitytemplate .icon img {
	width: 22px;
	image-rendering: -moz-crisp-edges;
	image-rendering: pixelated;

}

.activitytemplate {
	color: #bbb;
	font-size: 8px;
	line-height: 11px;
	margin: 7px 0;
	width: 260px;
}

.activitytemplate .ability {
	display: block;
}

.chattemplate .ability {
	word-wrap: break-word;
}

.activitytemplate .name {
	color: #ffffff;
}
.activitytemplate .icon {
	width: 30px;
	float: left;
}


.abilitytemplate > a
{
	display: inline-block;
	position: relative;
}
.abilitytemplate > a > .abilityitemquantity
{
	position: absolute;
	bottom: 0px;
	right: 0px;
	padding: 2px 0px 0px 2px;
	font-size: 8px;
	background-color: black;
	font-size: 8px;
}

.abilitytemplate .timeleft {
	line-height: 30px;
	width: 36px;
	font-size: 8px;
	text-align: center;
	color: #fff;
	text-shadow: 1px 1px 0 0 #000;
	position: absolute;
	top: 0;
}

.abilitytemplate .timeleft.abilityitem {

}

.abilitytemplate:not(.active) .timeleft {
	display: none;
}

.abilitytemplate.active img {
	opacity: 0.5;
}

#uicontainer .healthbartemplate {
	position: absolute;
	color: #fff;
	width: 200px;
	pointer-events: none;
}

.healthbartemplate .name_wrapper {

}

.healthbartemplate .name {

	margin-bottom: 3px;
	font-size: 8px;
}

.barwrapper {
	position: relative;
	width: inherit;
}

.healthbartemplate .bar {
	background-color: #fff;
	box-shadow: 2px 2px 0px rgba( 0, 0, 0, 0.6 );
}

.healthbartemplate .text {
	color: #000;
	text-align: center;
	position: absolute;
	top: 4px;
	font-size: 10px;
	width: inherit;
}

.healthbartemplate.enemy_0 > div { /* Spawners */
	position: absolute;
	top: -240px;
	left: -95px;
	width: 200px;
}

.healthbartemplate.enemy_1 > div { /* Creeps */
	position: absolute;
	top: 10px;
	left: -50px;
	width: 100px;
}

.healthbartemplate.enemy_2 > div { /* Boss */
	position: absolute;
	top: 20px;
	left: -150px;
	width: 300px;
}

.healthbartemplate.enemy_3 > div { /* MiniBoss */
	position: absolute;
	top: 10px;
	left: -50px;
	width: 100px;
}

.healthbartemplate.enemy_4 > div { /* Treasure */
	position: absolute;
	top: 10px;
	left: -50px;
	width: 100px;
}

#stats {
	z-index: 9999;
}

.game_options {
	width: 1280px;
	height: 72px;

	background: url('/assets/images/game_controls.png');
	background-repeat: no-repeat;

	margin: 0px auto;
	position: relative;
}
.game_options .leave_game_btn,
.game_options .toggle_music_btn,
.game_options .toggle_sfx_btn {
	text-align: center;
	padding-top: 35px;
	margin-top: 6px;
	color: #ebebeb;
}
.game_options .toggle_music_btn,
.game_options .toggle_sfx_btn {
	height: 23px;
}
.game_options .leave_game_btn {
	background: url('/assets/images/leave_game_btn.png');
	background-repeat: no-repeat;
	background-position: 0px 0px;
	height: 56px;
	width: 206px;
	float: right;
	margin-right: 7px;
	padding-top: 14px;
	cursor: pointer;
}
.game_options .leave_game_btn:hover {
	background: url('/assets/images/leave_game_btn.png');
	background-repeat: no-repeat;
	background-position: -206px 0px;
	color: #fff;
}
.game_options .toggle_music_btn {
	background: url('/assets/images/toggle_sfx_btn.png');
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width: 150px;
	float: left;
	margin-left: 2px;
	cursor: pointer;
}
.game_options .toggle_sfx_btn {
	background: url('/assets/images/toggle_sfx_btn.png');
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width: 150px;
	float: left;
	margin-left: 7px;
	cursor: pointer;
}
.game_options .toggle_music_btn:hover,
.game_options .toggle_sfx_btn:hover {
	background: url('/assets/images/toggle_sfx_btn.png');
	background-repeat: no-repeat;
	background-position: -150px 0px;
	color: #fff;
}
.leave_game_helper {
	position: absolute;
	padding: 12px;
	width: 300px;
	right: 66px;
	top: 73px;
	background: #a89582;
	box-shadow: 2px 2px 0 rgba( 0, 0, 0, 0.6 );

	color: #ededed;
	font-size: 12px;
}

.leave_game_helper:after {
	bottom: 100%;
	left: 87%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(130, 115, 100, 0);
	border-bottom-color: #a89582;
	border-width: 15px;
	margin-left: -15px;
}

#newplayer {
	width: 400px;
	padding: 10px;
	color: #333;
	background-color: #ff7b00;
	box-shadow: 2px 2px 0 rgba( 0, 0, 0, 0.7 );
	margin: 200px auto;
	margin-top: 143px;
	text-align: center;
	line-height: 20px;
	display: none;
}

#nextlevel {
	width: 500px;
	padding: 10px;
	text-align: center;
	font-size: 48px;

	margin: 350px auto 0 auto;
	margin-top: 183px;

	display: none;
	color: #fff;
	text-shadow: 2px 2px 0px rgba( 0, 0, 0, 0.5 );
}


.icon_fire, .element_1 {
	background-image: url('/assets/emoticons/shelterwildfire.png');
}

.icon_water, .element_2 {
	background-image: url('/assets/emoticons/waterrune.png');
}

.icon_air, .element_3 {
	background-image: url('/assets/emoticons/Wisp.png');
}

.icon_earth, .element_4 {
	background-image: url('/assets/emoticons/FateTree.png');
}

.chatform {
	margin-top: 29px;
	margin-left: 6px;
	z-index: 1337;
	position: relative;
}

.chatform textarea {
	resize: none;
	outline: none;
	font-family: 'Press Start 2P', arial, sans-serif;
	font-size: 8px;
	vertical-align: top;
	height: 40px;
	width: 220px;
	box-sizing: border-box;
	box-shadow: 2px 2px 0px #000;
	background-color: #4F463D;
	color: #FFF;
	border: 2px solid #2A2624;
	padding: 3px;
}

.chatform textarea:focus {
	box-shadow: none;
}

.chatform button {
	outline: none;
	background-color: #884691;
	font-family: 'Press Start 2P', arial, sans-serif;
	color: #ee7aff;
	border: 2px solid #a554b1;
	font-size: 8px;
	text-align: center;
	cursor: pointer;
	display: inline-block;
	vertical-align: top;
	height: 40px;
	width: 50px;
	box-sizing: border-box;
	box-shadow: 2px 2px 0px #000;
}

.chatform button:focus,
.chatform button:hover {
	background-color: #a554b1;
	color: #fff;
}
