body, html {
	margin: 0;
	padding: 0;
}

body {
	height: 100vh;
	font-family: sans-serif;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#hud, #state {
	font-size: 24px;
	flex: 0 0 auto;
	width: 100%;
	vertical-align: middle;
}
#hud {
	display: none;
}
#state {
	display: flex;
	background-color: dimgray;
	color: white;
}

#message {
	padding-left: 10px;
	padding-right: 10px;
	vertical-align: middle;
	margin: auto;
}

#game {
	background-color: dimgray;
}
#game, #hunterhud {
	padding-left: 10px;
	padding-right: 10px;
	color: white;
}

#time {
	flex: 3;
	background-color: navy;
	text-align: left;
	position: relative;
}
#hunterhud {
	display: none;
	vertical-align: middle;
	background-color: black;
}
#hp {
	flex: 2;
	background-color: maroon;
	text-align: right;
	position: relative;
}

#timepos {
	background-color: dodgerblue;
}
#hppos {
	background-color: red;
	text-align: right;
	margin-left: auto;
	direction: rtl;
}
#map-container {
	position: relative;
	width: 100%;
	height: 100vh; /* or whatever size you need */
	flex: 1 1 auto;
}

#map {
	height: 100%;
	width: 100%;
	/* pointer-events: none; */
}

#menu {
	display: none;
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	background: rgba(127, 127, 127, 0.5);
	z-index: 10;
	padding: 10px;
}

#signal {
	/*vertical-align: middle;*/
	margin-bottom: 10px;
	font-size: 20px;
	color: white;
}


#hp, #time {
	/*display: inline-block;*/
	border: 1px solid black;
}
#hppos, #timepos {
	width: 100%;
	color: white;
	overflow: visible;
	white-space: nowrap
}

#butCreate, #butJoin, #butLeave, #butStart {
	display: none;
}

#plist {
	display: none;
	position: absolute;
	bottom: 20px;
	left: 20px;
	background-color: rgba(127, 127, 127, 0.3);
	color: white;
	padding: 5px 5px 5px 5px;
	font-size: 18px;
}

#plist div.hpc {
 	background-color: maroon;
	width: 100px;
	height: 12px;
	border: 1px solid black;
	display: inline-block;
}
#plist div.hpv {
	background-color: red;
	width: 0%;
	height: 100%;
}
#plist td:nth-child(3), #plist td:nth-child(5) {
	padding-left: 15px;
}
#plist td:nth-child(4), #plist td:nth-child(5) {
	text-align: right;
}

.mrk {
	display: flex;
	align-items: center;
	height: 32px;

	background-size: contain;
	background-repeat: no-repeat;
	background-position: left;
	background-clip: padding-box;
	background-attachment: fixed;
	
	color: white;
	font-size: 20px;
	padding-left: 35px;
}

.strok, .mrk, #plist td:nth-child(2), #plist td:nth-child(4), #plist td:nth-child(5) {
	text-shadow:
		-1px -1px 1px black,
		 0px -1px 1px black,
		 1px -1px 1px black,
		 1px  0px 1px black,
		 1px  1px 1px black,
		 0px  1px 1px black,
		-1px  1px 1px black,
		-1px  0px 1px black,
		 0px  0px 5px black;
	
}

#tplist table {
	border-collapse: collapse;
}

#plist th {
	border-bottom: 1px solid black;
}

.mrkrunner {
	background-image: url('shoe.png');
}

.mrkhunter {
	background-image: url('fire.png');
}