* {
  box-sizing: border-box; }

html, body {
  height: 100%; }

body {
  background-color: #eee;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

h1 {
  font-size: 1rem;
  line-height: inherit;
  vertical-align: top;
  line-height: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0; }

td {
  padding: .2em .5em; }

/*.dungeon-floor {
	padding-top:1em;
	padding-bottom:1em;
}*/
/*.dungeon-floor:hover {
	background-color:rgba(0,0,255,0.05);
}
.dungeon-floors {
	counter-reset: floors;
}
.dungeon-floor:before {
	counter-increment:floors;
	content:counter(floors);
	float:left;
	margin-right:.5em;
	margin-left:.5em;
	line-height:2.5em;
}*/
.mob-name {
  line-height: 2.5rem; }

.progressbar {
  display: inline-block;
  vertical-align: top;
  position: relative;
  width: 100%;
  height: 1.4rem; }

.progressbar-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  border-radius: 4px;
  transition: width .5s; }

.progressbar-details {
  position: absolute;
  top: 0;
  left: 0;
  text-align: right;
  width: 100%;
  height: 100%;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  font-size: 1rem;
  padding: 0 .3rem; }

.progressbar-green .progressbar-bar {
  background-color: rgba(0, 255, 0, 0.15); }

.progressbar-green .progressbar-details {
  border-color: green; }

.progressbar-blue .progressbar-bar {
  background-color: rgba(0, 0, 255, 0.15); }

.progressbar-blue .progressbar-details {
  border-color: blue; }

.progressbar-red .progressbar-bar {
  background-color: rgba(255, 0, 0, 0.15); }

.progressbar-red .progressbar-details {
  border-color: red; }

.card:empty {
  /*visibility:hidden;*/
  display: none; }

.title-bar {
  line-height: 2.5rem;
  min-height: 2.5rem;
  background-color: red;
  color: white;
  position: absolute;
  left: 0;
  width: 100%;
  -webkit-touch-callout: text;
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text; }

.title-bar:after {
  content: "";
  display: table;
  clear: both; }

.title-bar-top {
  top: 0; }

.title-bar-bottom {
  bottom: 0; }

.title-group {
  padding: 0 .5em;
  display: inline-block;
  vertical-align: top; }

.title-title {
  width: 20em; }

.title-buttons ul {
  list-style-type: none;
  margin: 0;
  padding: 0; }

.title-buttons li {
  float: left;
  width: 8em;
  vertical-align: top;
  overflow: hidden; }

.title-buttons button {
  display: block;
  line-height: inherit;
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: red;
  border-width: 0;
  vertical-align: top;
  text-align: center;
  outline: 0;
  color: white;
  cursor: pointer;
  overflow: hidden; }

.title-buttons button:hover {
  background-color: white;
  color: red; }

.title-buttons button:active {
  box-shadow: inset 0 2px 10px rgba(153, 0, 0, 0.6); }

.title-buttons button:disabled {
  color: #ff9999; }

.title-buttons button:hover:disabled {
  color: #ff9999;
  background-color: red; }

.title-buttons button:active:disabled {
  box-shadow: none; }

.game-main {
  position: absolute;
  top: 2.5rem;
  height: calc(100% - (2.5rem * 2));
  width: 100%; }

.game-panel {
  position: absolute; }

.game-panel1 {
  top: 0;
  left: 0;
  width: 200px;
  height: 100%; }

.game-panel2 {
  top: 0;
  right: 0;
  width: calc(100% - 200px);
  height: 8em;
  border-bottom: 1px solid #ddd; }

.game-panel3 {
  bottom: 0;
  right: 0;
  width: calc(100% - 200px);
  height: calc(100% - 8em); }

.game-block {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: white; }

.game-container {
  max-width: 800px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto; }

.stat-row {
  padding: .2em .5em;
  clear: both; }

.stat-title {
  float: left; }

.stat-value {
  float: right; }

@media (max-width: 600px) {
  .col {
    width: 100%;
    padding: 0; }

  .colleft {
    padding-bottom: 10px; }

  .container {
    padding-left: 10px;
    padding-right: 10px; } }
