body {
	overflow: hidden;
	font-family: 'silkscreen_expandednormal';
}

canvas {
	display: block;
}

hr{
	border-top:1px solid #000;
	width: 100%;
}

.btn{
	border-radius: 0;
	background-color: #000;
	color: #FFF;
}

.bold{
	font-weight: bold;
}

.panel-body{
	padding-top: 0;
	padding-bottom: 0;
}

.game-layers{
	position:absolute;
	left:0; top:0;
	height:100%;
	width:100%;
}

#game_title h1 {
	font-size: 18px;
}

#overlay{
	position:absolute;
	height:100%;
	width:100%;
	left:0;
	right:0;
	top:0;
	bottom:0;
}

#gameCanvas{
	height:100%;
	width:100%;
}

#game-layer-players, #game-layer-obstacles {
	image-rendering: optimizeSpeed;             /* Older versions of FF          */
	image-rendering: -moz-crisp-edges;          /* FF 6.0+                       */
	image-rendering: -webkit-optimize-contrast; /* Safari                        */
	image-rendering: -o-crisp-edges;            /* OS X & Windows Opera (12.02+) */
	image-rendering: pixelated;                 /* Awesome future-browsers       */
	-ms-interpolation-mode: nearest-neighbor;   /* IE                            */
}

#ui_container{
	position:absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	z-index:10;
}

.greyOverlay {
    background: #e9e9e9;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
    z-index:-1;
}

#name {
	width:320px;
	margin:10% auto;
	z-index:9999;
}

#name_text{
	width:100%;
}

#send_name{
	margin: 10px 0 10px 0;
	background-color: #000;
	color: #FFF;
	overflow: hidden;
	width: 100%;
}


#sendNameButtonText{
	text-align: center;
}

#waitingForMorePlayersDiv{
    float: left;
    font-size:0.8em;
	width: 60%;
	margin-top:5px;
}

.adsbygoogle::before {
content: "Advertisments";
}

.adContainer {
	margin: 20px 0 20px 0;
}

.social-btns{
	background-color: #000;
}

#twitter-btn{
	display: inline-block;
}
.twitter-share-button{
	vertical-align:bottom;
}

#result{
	display: flex;
	flex-direction: column;
	width:50%;
	margin:10% auto;
}

#result .black-highlight, #name .black-highlight{
	background-color:#000000;
	color:#FFFFFF;
}

#resultBody {
	min-height: 30vh;
}

.result-content{
	margin: 10px 0 10px 0;
	border:3px solid black;
}

#next_special {
	margin: 10px 0 10px 0;
}

#rank{
	position:absolute;
	top:0px;
	right:0px;
	font-size:1.2em;
	width: 300px;
	background-color: #FFF;
	border-width: 3px;
	border-color: #000;
	border-style: solid;
	z-index: 9999;
}

#rank .tab_ad {
	width: 300px;
}

#rank.minified {
	width: 54px;
}

#rank.minified .tab_ad {
	display: none;
}

#rank #tab_title_bar {
	background-color: #000;
	color: #FFF;
}

#rank #tab_title {
	left: 0;
	display: inline;
}

#rank #tab_room_id {
	position: absolute;
	right: 0;
	display: inline;
	text-align: right;
}

.hidden{
	display:none;
	width:0;
}
.show{
	display:block;
	width:20%;
}
#sideMenu{
	margin-left: 10px
}
.sideMenuItem{
}

#timer, #pillar_msg, #disconnected, #special_msg, #skill_hint{
	position:absolute;
	width:100%;
	text-align: center;
}

#skill_hint{
	top:52%;
	font-size: 0.9em;
}

#timer{
	top:1%;
}

#rank #player_table td {
	border-width: 4px;
	border-style: solid;
	border-color: transparent;
}

#rank.minified #tab_room_id {
	display: none;
}

#player_count_bar img {
	padding-left: 6px;
}

#rank.minified #player_count_bar {
	text-align: center;
}

#rank.minified #player_count_bar img {
	padding-left: 0px;
}

#rank.minified #player_count {
	display: none;
}

#player_table {
	margin-left: auto;
	margin-right: auto;
}

#player_table .scoreboard-square {
	width: 24px;
	height: 24px;
	border-width: 2px;
	border-color: #000;
	border-style: solid;
}

#player_table .scoreboard-name{
	padding-right: 4px;
	padding-left: 4px;
	width: 99%;
	overflow: hidden;
	max-width: 100px;
}

#rank.minified .scoreboard-name {
	display: none;
}

#player_table .scoreboard-score {
	white-space: nowrap;
	text-align: right;
}

#rank.minified .scoreboard-score {
	display: none;
}

#player_table tr.zombie .scoreboard-square {
	background-color: #F00;
}

#player_table tr.safe .scoreboard-square {
	background-color: #0F0;
}

#player_table tr.normal .scoreboard-square {
	background-color: #000;
}

#sideMenu {
	width: 250px;
}

#left_player_table td {
	border-top-width: 4px;
	border-bottom-width: 4px;
	border-left-width: 0px;
	border-right-width: 0px;
	border-style: solid;
	border-color: transparent;
}

#left_player_table .scoreboard-square {
	width: 16px;
	height: 16px;
}

#left_player_table .scoreboard-name{
	padding-right: 4px;
	padding-left: 4px;
	width: 99%;
}

#left_player_table .scoreboard-score {
	white-space: nowrap;
	text-align: right;
}

#left_player_table tr.zombie .scoreboard-square {
	background-color: #F00;
}

#left_player_table tr.safe .scoreboard-square {
	background-color: #0F0;
}

#left_player_table tr.normal .scoreboard-square {
	background-color: #000;
}

#left_player_table .prelastrow td {
	border-bottom-color: #000;
	padding-bottom: 4px;
}

#left_player_table .lastrow td {
	border-top-color: #000;
	padding-top: 4px;
}

#pillar_msg{
	top:10%;
	display:none;
}
#special_msg{
	top:15%;
	display:none;
}

.grey{
	color:#555555;
}

.safe{
	color:#00FF00;
}

.zombie{
	color:#FF0000;
}

.normal {
	color:#000000;
}

.highlight{
	color:#FFFFFF;
}

#sideBtn{
	display:none;
}

#disconnected{
	display:none;
	top:40%;
}

#controller{
	width:100%;
	position:absolute;
	bottom:0;
	height:100%;
}

#dpad{
	position:absolute;
	width:40%;
	height:0;
	padding-bottom: 40%;
	left:50%;
	bottom:24%;
	margin-left:-20%;
	margin-bottom:-12%;

	border-radius: 50%;
	border: thin solid black;
	background-color: rgba(255,255,255,0.7);
}

#dpad_joystick{
	position:absolute;
	width:40%; height:40%;
	margin-left:-20%; margin-top:-20%;
	left:50%; top: 50%;

	border-radius: 50%;
	border: thin solid black;
	background-color: rgba(255,255,255,1);
	pointer-events: none;
}

#dpad_free_joystick{
	position:absolute;
	width:16%; height:0;
	padding-bottom: 16%;
	margin-left:-8%; margin-top:-8%;

	border-radius: 50%;
	border: thin solid black;
	background-color: rgba(255,255,255,0.7);
	pointer-events: none;


	vertical-align:middle;
	text-align: center;

}

.controller_btn{
	width:6.6%;
	height:0;
	padding-bottom: 6.9%;
	background-color:rgba(125,125,125,.5);
	float: left;
}
.corner{
	width:9.9%;
	background-color:rgba(125,125,125,.2);
	float: left;
}

.left{
}
.right{
	width:83.5%;
}
.h_center{
}
.up{
	height:0;
	padding-bottom: 83.8%;
}
.v_center{
}
.down{
	height:0;
	padding-bottom: 9.9%;
}

#a_btn{
	width:30%;
	height:0;
	padding-top: 3%;
	padding-bottom: 8%;
	right:1px;
	bottom:0;
	margin: 15px;
	margin-bottom: 10%;
	background-color:rgba(255,255,255,.8);
	border: black solid 1px;
	position:absolute;
	text-align: center;
	font-size: 2em;
	display: table-cell;
	vertical-align: middle;
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


#legalModal{
	font-family: "Arial";
}
