body {
    background-color: #272f2c;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.page-settings {
	width: 100%;
	text-align: center;
	color: #d9b08c;
}

.page-settings button {
	margin-left: 30px;
}

.page-settings input{
	width: 300px;
	padding:15px 0px 15px 8px;
	border-radius:5px;
	box-shadow:inset 4px 6px 10px -4px rgba(0,0,0,0.3), 0 1px 1px -1px rgba(255,255,255,0.3);
	background:rgba(0,0,0,0.2);
	border:1px solid rgba(0,0,0,1);
	margin-bottom:10px;
	color:#6E6E6E;
	text-shadow:#000 0px 1px 5px;
	outline:none;
  	border:none;
}

.page-settings input:focus{
	box-shadow:inset 4px 6px 10px -4px rgba(0,0,0,0.7), 0 1px 1px -1px rgba(255,255,255,0.3);
	background:rgba(0,0,0,0.3);
	outline:none;
  	border:none;
}

.help {
	width: 100%;
	text-align: center;
}

.help>div {
	background-color: #2c3531;
	margin: 10px;
	padding: 10px;
	width: 50%;
	color: #d9b08c;
	text-align: left;
	display: inline-block;
}

.help p {
	margin: 5px;
}

.controls {
  height: 64px;
	grid-row: 1;
	display: grid;
}

.buffs_mode .controls {	
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	padding: 2px;
}

.defensives_mode .controls {
  align-items: center;
  justify-items: center;
}

.boss-icon {
	width: 64px;
	height: 64px;
	grid-row: 1;
	border-style: solid;
	border-width: 4px;
	border-radius: 5px;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    position: relative;
    font-family: verdana;
    font-size: small;
}

.boss-icon img {
	width: 100%;
	height: 100%;	
}

.boss-icon span {
	padding: 2px;
    line-height: 11px;
    position: absolute;
    bottom: 0;
    text-align: center;
}

.boss-icon span.attemptcount {    
    left: 0;
    background-color: black;
    color: white;    
}

.boss-icon span.bosspercent {
    right: 0;
    background-color: black;
    color: #df5630;
}

.wipe {
	border-color: red;
}

.kill {
	border-color: green;
}

strong.metric {
	padding-left:4px;
	padding-right:4px;
	color: black;
}

.metric.combatpot {
	background-color: #DF3062;
}

.metric.prepot {
	background-color: #FF4500;
}

.metric.battlerune {
	background-color: #D3D3D3;
}

.metric.healthstone {
	background-color: #C5FF00;
}

.metric.healingpotion {
	background-color: #4BAC3F;
}



.container {
	background-color: #2c3531;
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: auto;
	grid-auto-columns: 64px;
	/* grid-auto-rows: 32px; */
	gap: 4px;
	overflow-x: auto;
	padding: 8px;
}

.block{	
	display: grid;
	grid-auto-columns: 1fr;
  align-items: end;
  gap: 4px;
}

.buffs_mode .block {
  width: 64px;
  height: 32px;
  border-width: 1px;
	border-color: black;
	border-style: solid;
}

.defensives_mode .block span{
  width: 64px;
  height: 32px;
  border-width: 1px;
	border-color: black;
  border-style: solid;
  color: #d9b08c;
  text-align: center;  
  font-size: large;
  display: grid;
  align-items: center;
}

.block>div {
	grid-row: 1;
}

.missed {
	background-color: rgba(167,26,66, .5)
}

.nameblock{
	white-space: nowrap;
	display: grid;	
	font-family: verdana;
	font-size: large;
  padding-right: 8px;	
  gap: 4px;
}

.buffs_mode .nameblock{
  height: 32px;	
  text-align: right;
  grid-row: 1;
  align-content: center;
}

.defensives_mode .nameblock{
  text-align: left;
  color: lightslategrey
}

.defensives_mode .nameblock span{
  height: 32px;  
  display: grid;
  align-items: center;
  padding-left: 16px;
}

.header {
  background-color:#1e2421;
}

.nameblock span.header {
  padding-left: 8px;
}

.DeathKnight {
	color: #C41F3B;
}

.DemonHunter {
	color: #A330C9;
}

.Druid {
	color: #FF7D0A;
}

.Hunter {
	color: #ABD473;
}

.Mage {
	color: #40C7EB;
}

.Monk {
	color: #00FF96;
}

.Paladin {
	color: #F58CBA;
}

.Priest {
	color: #FFFFFF;
}

.Rogue {
	color: #FFF569;
}

.Shaman {
	color: #0070DE;
}

.Warlock {
	color: #8787ED;
}

.Warrior {
	color: #C79C6E;
}






.centered {
  margin:50px auto;
  text-align:center;
}

.button::-moz-focus-inner{
  border: 0;
  padding: 0;
}

.button{
  display: inline-block;
  *display: inline;
  zoom: 1;
  padding: 6px 20px;
  margin: 0;
  cursor: pointer;
  border: 1px solid #F5B935;
  overflow: visible;
  font: bold 13px arial, helvetica, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  color: #555;
  
  background-color: #F5B935;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,1)), to(rgba(255,255,255,0)));
  background-image: -webkit-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
  background-image: -moz-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
  background-image: -ms-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
  background-image: -o-linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
  background-image: linear-gradient(top, rgba(255,255,255,1), rgba(255,255,255,0));
  
  -webkit-transition: background-color .2s ease-out;
  -moz-transition: background-color .2s ease-out;
  -ms-transition: background-color .2s ease-out;
  -o-transition: background-color .2s ease-out;
  transition: background-color .2s ease-out;
  background-clip: padding-box; /* Fix bleeding */
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
  text-shadow: 0 1px 0 rgba(255,255,255, .9);
  
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.button:hover{
  background-color: #f6bf48;
  color: #555;
}

.button:active,.button.active{
  background: #f3ac10;
  position: relative;
  text-shadow: none;
  -moz-box-shadow: 0 3px 2px rgba(0, 0, 0, .4) inset;
  -webkit-box-shadow: 0 3px 2px rgba(0, 0, 0, .4) inset;
  box-shadow: 0 3px 2px rgba(0, 0, 0, .4) inset;
}

/* Smaller buttons styles */

.button.small{
  padding: 3px 6px;
  font-size: 12px;
}

.button.large{
  padding: 8px 24px;
  font-size: 15px;
}

/* Colored buttons styles */

.button.green, .button.red, .button.blue {
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
  
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.3)), to(rgba(255,255,255,0)));
  background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
  background-image: -moz-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
  background-image: -ms-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
  background-image: -o-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
  background-image: linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
}

/* */

.button.green{
  background-color: #5ec052;
  border-color: #5ec052;
}

.button.green:hover{
  background-color: #79ca6f;
}

.button.green:active,.button.green.active{
  background: #4BAC3F;
}

/* */

.button.orange{
  background-color: #FF7F50;
  border-color: #FF7F50;
}

.button.orange:hover{
  background-color: #FF6347;
}

.button.orange:active,.button.orange.active{
  background: #FF4500;
}

/* */

.button.grey{
  background-color: #808080;
  border-color: #808080;
}

.button.grey:hover{
  background-color: #DCDCDC;
}

.button.grey:active,.button.grey.active{
  background: #D3D3D3;
}

/* */

.button.red{
  background-color: #e4527c;
  border-color: #e4527c;
}

.button.red:hover{
  background-color: #ec85a2;
}

.button.red:active,.button.red.active{
  background: #DF3062;
}

/* */

.button.blue{
  background-color: #14cbe5;
  border-color: #14cbe5;
}

.button.blue:hover{
  background-color: #45daef;
}

.button.blue:active, .button.blue.active{
  background: #11ABC1;
}