#game {
	border: 1px solid grey;
	margin: 1px;
	display: block;
	float: left;
	/*height: 600px;
	width: 600px;*/
}

#newgame {
	margin: 0 auto;
	font-size: 17px;
}

#board_header {
	margin: 1px;
	border: 1px solid grey;
	display: block;
	height: 50px;
	width: 804px;
	text-align:center;
}

#title {
	margin-top: 5px;
	position: relative;
	font-size: 30px;
	font-family: 'Lobster', helvetica, arial;
	text-shadow: 0 1px 0 white;
	text-decoration: none;
	color: #666;
}

#wrapper {
	overflow: hidden;
}

#scoreboard {
	margin: 1px;
	border: 1px solid grey;
	display: block;
	float: left;
	height: 600px;
	width: 200px;
}

#dashboard {
	margin: 1px;
	border: 1px solid grey;
	display: block;
	height: 60px;
	width: 804px;
}

#tip {
	margin: 12px;
}

#button-wrapper {
	position: relative;
	margin: 5px;
	padding: 5px;
	border: 2px solid #9C9C9C;
	box-shadow: 0 2px 2px grey;
}

#rules {
	padding: 5px;
	margin: 10px;
	border: 2px solid #9C9C9C;
	box-shadow: 0 2px 2px grey;
	font-size: 13px;
	font-family: 'Arial', cursive;
	font-weight: bold;
	text-shadow: 0 1px 0 white;
	text-decoration: none;
	color: black;
}

#rule-list {
	padding-left: 20px;
	margin-top: 0px;
}

article {
	max-width: 900px;
	margin: auto;
	background-color: white;
}

.line {
	display: block;
	-webkit-margin-before: 0.5em;
	-webkit-margin-after: 0.5em;
	-webkit-margin-start: auto;
	-webkit-margin-end: auto;
	border-style: inset;
	border-width: 1px;
}

.playername {
	margin-left: 15px;
	font-size: 20px;
	font-weight: bold;
	font-family: 'Arial', cursive;
	text-shadow: 0 1px 0 white;
	text-decoration: none;
	color: black;
	float: left;
	max-width: 100px;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#playername0 {
	color: red;
}

#playername1 {
	color: royalblue;
}

#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	display: none;
	text-align: center;
}

#dimmer {
	position: absolute;
	background-color: black;
	opacity: 0.5;
	width: 100%;
	height: 100%;
	z-index: 2;
}

#nameform {
	background: white;
	position: relative;
	display: inline-block;
	text-align: center;
	width: 200px;
	margin: 0 auto;
	padding: 10px;
	top: 30%;
	z-index: 3;
}

#nameform input, label {
	width: 100%;
	box-sizing: border-box;
	display: block;
}

#nameform input {
	margin-bottom: 10px;
}

.animate {
	transition: all 0.1s;
	-webkit-transition: all 0.1s;
}

.small-button {
	margin-right: 15px;
	font-size: 12px;
	float: right;
}

.action-button {
	padding: 10px 40px;
	border-radius: 10px;
	font-family: 'Arial', cursive;
	font-weight: bold;
	color: #FFF;
	text-decoration: none;
	display: inline;
}

.red-button {
	background-color: #E74C3C;
	border-bottom: 5px solid #BD3E31;
	text-shadow: 0px -2px #BD3E31;
}

#newgame:active {
	margin-top: 4px;
	border-bottom: 1px solid;
}

.display {
	border: 2px inset White;
	background: Black;
	padding: 5px;
	font-size: 14px;
	font-family: "Courier";
	color: LightGreen;
	margin: 5px;
	display: block;
	text-align:center;
}

.metallic {
	background: -webkit-radial-gradient(center, circle, rgba(255,255,255,.35), rgba(255,255,255,0) 20%, rgba(255,255,255,0) 21%),
				-webkit-radial-gradient(center, circle, rgba(0,0,0,.2), rgba(0,0,0,0) 20%, rgba(0,0,0,0) 21%),
				-webkit-radial-gradient(center, circle farthest-corner, #c4c4c4, #7f7e7e);
	background-size: 10px 10px, 10px 10px, 100% 100%;
	background-repeat: repeat, repeat, no-repeat;
	background-position: 1px 1px, 0px 0px, center center;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.24);
}
