@import url( https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700 );
html {
	margin: 0px; padding: 0px; width: 100%; min-width: 900px; background-color: white;
}
body {
	margin: 0px; padding: 0px; width: 100%; min-width: 900px; background-color: white;
}
h1 {
	color: rgb(34, 34, 34); font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
h2 {
	color: rgb(34, 34, 34); font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
h3 {
	color: rgb(34, 34, 34); font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
h4 {
	color: rgb(34, 34, 34); font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
h5 {
	color: rgb(34, 34, 34); font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
h6 {
	color: rgb(34, 34, 34); font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
p {
	color: rgb(34, 34, 34); font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
li {
	color: rgb(34, 34, 34); font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
span {
	color: rgb(34, 34, 34); font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
a {
	color: rgb(34, 34, 34); font-weight: bold;
}
a:hover {
	text-decoration: none;
}
div {
	margin: 0px; padding: 0px;
}
button {
	margin: 1em auto 0px; padding: 10px; border-radius: 5px; border: currentColor; border-image: none; color: rgb(238, 238, 238); font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 1.2em; background-color: rgb(37, 86, 123);
}
button:hover {
	cursor: pointer; background-color: rgb(255, 255, 255);
}
button:active {
	background-color: rgb(153, 194, 225);
}
#start-game {
	color: rgb(255, 255, 255); position: relative; background-color: rgb(255, 146, 0);
}
#place-randomly {
	color: rgb(255, 255, 255); position: relative; background-color: rgb(255, 146, 0);
}
#restart-game {
	color: rgb(255, 255, 255); position: relative; background-color: rgb(255, 146, 0);
}
#start-game:hover {
	background-color: rgb(255, 182, 85);
}
#place-randomly:hover {
	background-color: rgb(255, 182, 85);
}
#restart-game:hover {
	background-color: rgb(255, 182, 85);
}
#start-game:active {
	background-color: rgb(255, 206, 142);
}
#place-randomly:active {
	background-color: rgb(255, 206, 142);
}
#restart-game:active {
	background-color: rgb(255, 206, 142);
}
#prefetch1 {
	background: url("../cross-icon.svg");
}
#prefetch2 {
	background: url("../cross-icon.png");
}
#prefetch3 {
	background: url("../crosshair.png");
}
.prefetch {
	background-position: -9999px -9999px; background-repeat: no-repeat;
}
.tagline {
	margin-bottom: 2em;
}
.instructions {
	margin: 0px auto 3em; width: auto; text-align: left; display: inline-block;
}
.container {
	margin: 20px auto 100px; width: 900px; text-align: center;
}
.game-container {
	position: relative;
}
#roster-sidebar {
	margin: 0px; padding: 20px; border-radius: 5px; top: 4.5em; width: 150px; position: absolute; background-color: rgb(238, 238, 238); -webkit-border-radius: 5px; -moz-border-radius: 5px;
}
#stats-sidebar {
	margin: 0px; padding: 20px; border-radius: 5px; top: 4.5em; width: 150px; position: absolute; background-color: rgb(238, 238, 238); -webkit-border-radius: 5px; -moz-border-radius: 5px;
}
#restart-sidebar {
	margin: 0px; padding: 20px; border-radius: 5px; top: 4.5em; width: 150px; position: absolute; background-color: rgb(238, 238, 238); -webkit-border-radius: 5px; -moz-border-radius: 5px;
}
#roster-sidebar {
	left: -200px;
}
#restart-sidebar {
	left: -200px;
}
#stats-sidebar {
	right: -200px;
}
#roster-sidebar h2 {
	margin: 0px 0px 1em; text-align: center;
}
#stats-sidebar h2 {
	margin: 0px 0px 1em; text-align: center;
}
#restart-sidebar h2 {
	margin: 0px 0px 1em; text-align: center;
}
.fleet-roster {
	list-style: none; margin: 0px; padding: 0px; position: relative;
}
.fleet-roster {
	transition:opacity 0.5s ease-out; opacity: 1; -webkit-transition: opacity 0.5s ease-out; -o-transition: opacity 0.5s ease-out;
}
button {
	transition:opacity 0.5s ease-out; opacity: 1; -webkit-transition: opacity 0.5s ease-out; -o-transition: opacity 0.5s ease-out;
}
.fleet-roster li {
	margin: 0.5em 0px;
}
.fleet-roster li:hover {
	color: rgb(170, 170, 170); cursor: pointer;
}
.fleet-roster .placing {
	font-weight: bold;
}
.fleet-roster .placed {
	transition:0.2s ease-in; font-weight: bold; visibility: hidden; opacity: 0; -webkit-transition: all 0.2s ease-in; -o-transition: all 0.2s ease-in;
}
.invisible {
	transition:opacity 0.5s ease-in; z-index: -20; opacity: 0; -webkit-transition: opacity 0.5s ease-in; -o-transition: opacity 0.5s ease-in;
}
.hidden {
	display: none;
}
.grid-container {
	width: 430px; display: inline-block;
}
.grid-container h2 {
	width: 420px; display: inline-block;
}
.grid {
	padding: 5px; border-radius: 5px; width: 420px; height: 420px; vertical-align: top; position: relative; background-color: rgb(37, 86, 123); -webkit-border-radius: 5px; -moz-border-radius: 5px;
}
:last-child.grid-container {
	margin-left: 10px;
}
.no-js {
	margin: 100px auto; width: 300px; height: 300px; color: rgb(238, 238, 238); font-size: 2em; display: inline-block;
}
.grid-cell {
	margin: 1px; border-radius: 2px; width: 40px; height: 40px; vertical-align: top; display: inline-block; background-color: rgb(153, 194, 225); -webkit-border-radius: 2px; -moz-border-radius: 2px;
}
.grid-cell:hover {
	cursor: pointer; background-color: rgb(102, 163, 210);
}
.human-player .grid-cell:hover {
	background-color: rgb(153, 194, 225);
}
.computer-player .grid-cell:hover {
	background-position: center; background-image: url("../crosshair.png"); background-repeat: no-repeat; 
}
.computer-player:hover {
	
}
.grid-ship {
	background-color: rgb(128, 128, 128);
}
.human-player .grid-ship:hover {
	background-color: rgb(128, 128, 128);
}
.grid-miss {
	background-position: center; background-image: url("../cross-icon.svg"); background-repeat: no-repeat; background-color: rgb(255, 255, 255);
}
.grid-miss:hover {
	background-position: center; background-image: url("../cross-icon.svg"); background-repeat: no-repeat; background-color: rgb(255, 255, 255);
}
.human-player .grid-miss:hover {
	background-position: center; background-image: url("../cross-icon.svg"); background-repeat: no-repeat; background-color: rgb(255, 255, 255);
}
.grid-hit {
	background-position: center; background-image: url("../cross-icon.svg"); background-repeat: no-repeat; background-color: rgb(246, 0, 24);
}
.grid-hit:hover {
	background-position: center; background-image: url("../cross-icon.svg"); background-repeat: no-repeat; background-color: rgb(246, 0, 24);
}
.human-player .grid-hit:hover {
	background-position: center; background-image: url("../cross-icon.svg"); background-repeat: no-repeat; background-color: rgb(246, 0, 24);
}
.grid-sunk {
	background-color: rgb(34, 34, 34);
}
.grid-sunk:hover {
	background-color: rgb(34, 34, 34);
}
.human-player .grid-sunk:hover {
	background-color: rgb(34, 34, 34);
}
.highlight {
	overflow: visible;
}
.highlight::before {
	animation:highlight 1.5s infinite; left: 50%; top: -100px; width: 100px; height: 100px; color: rgb(255, 146, 0); font-size: 75px; font-weight: bold; margin-left: -50px; position: absolute; content: "\2193"; text-shadow: 0px 0px 5px #ff9200; -webkit-animation: highlight 1.5s infinite; -o-animation: highlight 1.5s infinite;
}
.current-step {
	font-weight: bold;
}
@media all and (max-width:1300px)
{
.container {
	width: 440px;
}
:last-child.grid-container {
	margin-left: 0px;
}
}
