@charset "UTF-8";

html, body {
	font-family: arial, helvetica, sans-serif;
	margin: 0px;
	padding: 0px;
	width: 100%;
	min-width: 240px;
	background: #000000;
}
a img {
	border: none;
}
.games-link {
	display: block;
	margin-top: 10px;
	margin-right: 20px;
	color: steelblue;
	text-align: right;
}
.games-link a {
	font-size: 12px;
	font-weight: bold;
	color: steelblue;
}
.games-link a:visited {
	color: steelblue;
}
.games-link a:hover {
	color: tan;
}
.grid-container {
	width: 100%;
	min-height: 660px;
	text-align: center;
}
#dimensions-label {
	font-weight: bold;
	color: steelblue;
}
#grid {
	display: inline-block;	/* This makes the border fit the grid, but creates other problems */
	height: auto;
	border: 2px solid steelblue;
}
.cell {
	width: 10px;
	height: 10px;
	background-color: tan;
	border: 1px solid white;
	float: left;
}
.clear {
	clear: left;
}
.controls {
	width: 225px;
	margin: 0 auto;
}

.horizontal-bar {
	width: 99%;
	height: 1px;
	border: 1px solid gray;
	margin: 0 auto;
}
.life-controls {
	text-align: center;
	height: 80px;
}
#generation {
	width: 25px;
	height: 25px;
	vertical-align: middle;
	background-image: url(../images/button_right_white.gif);
	background-repeat: no-repeat;
}
#play {
	width: 25px;
	height: 25px;
	vertical-align: middle;
	background-image: url(../images/play.gif);
	background-repeat: no-repeat;
}
#clear {
	vertical-align: middle;
	border-radius: 3px;
	margin-left: 30px;
	font-weight: bold;
	background-color: white;
}
#gen-display {
	color: white;
}

#array-display {
	display: block;
	width: 500px;
	height: 200px;
	margin: 0 auto;
	border: 1px solid gray;
	margin-bottom: 30px;
}

#pattern-selector {
	display: block;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 30px;
}
#wraparound-div {
	width: 155px;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px;
}
#wrap-text {
	color: white;
}
#about-link {
	width: 50px;
	margin: 0 auto;
	margin-bottom: 50px;
}
#about-link a {
	font-weight: bold;
	color: steelblue;
}
#about-link a:visited {
	color: steelblue;
}
#about-link a:hover {
	color: tan;
}

@media only screen and (min-width: 401px) and (max-width: 650px) {
	.grid-container {
		min-height: 420px;
	}
	#array-display {
		width: 300px;
		height: 200px;
	}
}

@media only screen and (max-width: 400px) {
	.grid-container {
		min-height: 240px;
	}
	#array-display {
		width: 200px;
		height: 400px;
	}
}