/* CSS Document
									>>> Replay <<<
*/

.clearfix:before,
.clearfix:after {
    content: " "; 
    display: table; 
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}	
.clearfloat { clear: both; height: 1px; }

													/* General pages */
* { margin: 0; padding: 0; }

body {
	font-family: "Lucida Sans Unicode", Verdana, sans-serif; 
	line-height: 3ex;
 	background-image: radial-gradient(#fff, #f0f8ff 50%, #ced5ff );	/* Blueish */
	background-image: -moz-radial-gradient (#fff, #f0f8ff 50%, #ced5ff );

	color:#333;
	text-align:center;
}
body.dark { 
	background:#353535;
	color:#bbb;
}

#header {
	width:100%;
	overflow:hidden;	
	margin:0;padding:0;
}

.head_wrapper {	
	display: flex;
	justify-content: space-between; 
	vertical-align:middle;
}
.header_left { display:inline-block; }
.header-text { display:inline-block; height:64px; text-align:center; }
.header_right { display:inline-block; }

#logo { vertical-align: middle; padding:8px 0 0 8px;}	

.back-button { height:32px;width:32px;padding:17px 20px 0 0;}

.help-button { height:48px;width:48px;padding:9px 12px 0 0;}

#main {
	width: 100%;
	margin: 0 auto;
	padding:0;
	text-align:left;
}

#middle {
	width: 80%;
	margin: 0 auto;
	padding:0;
	text-align:left;
	height:75vh;
}

#new-form {
	display:inline-block;
	margin:32px auto 32px auto;
	text-align:left;
	background-image: url(./img/paper.gif);
	padding:18px 48px 12px 48px;
	border: 8px ridge #fff;
}

.newformline { line-height:2.4ex; }

#new-form form select {
    padding:3px 8px 3px 8px;
    margin: 0;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    -webkit-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
    -moz-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
    box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
    border:none;
    outline:none;
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
}
.url_input{
  font-size: 16px;
  font-size: max(16px, 1em);
  font-family: 'Andale Mono', AndaleMono, monospace;
  padding: 0.25em 0.5em;
  background-color: #fff;
  border: 2px solid var(--input-border);
  border-radius: 4px;
} 

.cpu { color:#0088cc;font-size:0.5em; }
.cpu a { color:#0088cc;font-size:0.5em; }
.cpu a:hover { text-decoration:none; }

.copyright { font-size:0.4em; margin-top:16px; }

.footer_left { 
	width:auto;
	position:fixed; 
	bottom:0; left:0;
	height:40px; 
	text-align:left; 
	margin-left:1rem;
}
.footer_right { 
	width:auto;
	position:fixed; 
	bottom:0; right:0;
	height:40px; 
	text-align:right; 
	margin-right:1rem;
}

														/* Replay pages */
.replay_center {
	width:100%;
	overflow:hidden;
}
#replay_holder {
	width:100%;
	margin:0 auto;
	padding:0;
}
#replay_frame {
	display:block;
	width:100vw; height:85vh; border:none;
}									
.replay_lower {
	margin-bottom:0; padding-bottom:0;
}

														/* Player Info page */
.player-game-loc {
	margin:6px 24px;
	text-align:left;
}
#player-heading {	
	display: inline-block; 
	font-size: 3em; 
	line-height:3ex;
	margin:0.67em 0 0 0; padding:0; 
	text-align:center; 
	color: #0aa ;
	text-shadow: 
	2px 1px 2px #044,
	-1px -1px 2px #fff
	;
}
.player-info {
	padding:3em;
}
.player-info h3 {text-align:center;}
.player-info > div.player-main-info {
	text-align:center;
}
.player-main-info > p {
	font-size:2em;
	line-height:1em;
	margin-bottom:0.7em;
	text-align:center;
}
.player-main-info > p.player-easier {
margin-top:2.2em; font-size:1.4em; color:#888; }
.player-vs { 
	margin:0;
	font-size:0.6em; 
}

														/* Help page */
p { margin:0.5em 0; line-height:2.4ex;}
.lowerdown {position:fixed; bottom:3em;}

														/* Global styles */
a { color: #099; text-decoration: none; }
a:hover { color: Blue; text-decoration: underline; }

hr { border: 2px groove #ccc; margin-bottom: 4px; } 
hr.nomargin { border: 2px groove #ccc; margin:0; }

h1 { font-size: 2.2em; line-height: 26px; margin-bottom: 16px; }
h1#main-heading {	
	display: inline-block; 
	font-size: 2em; 
	font-weight:normal;
	line-height:3ex;
	margin:0; padding:0; 
	text-align:center; 
	color: #0aa ;
	text-shadow: 
	2px 1px 2px #044,
	-1px -1px 2px #fff
	;
}

h2 { font-size: 1.4em; color:#0aa; margin: 32px 0 16px 0; }
h3 { font-size: 1.1em; color:#0aa; margin: 16px 0 16px 0; }
h4 { font-size: 1.1em; margin-bottom: 3px; color:black;}

.nobr	{ white-space:nowrap; }
.wrap { word-wrap: break-word; }

p em 	{ background-color:yellow; font-style:normal; }
ul, ol, dl { margin-bottom: 12px; }
ul, ol	{ margin-left: 2em; }

.smaller { font-size:0.6em; }
.bit-smaller { font-size:0.8em; }
.bit-bigger {font-size:1.2em; }
.extralineheight { line-height:1.3em; }
.leftcol { float: left; }
.rightcol { float: right; }
.left { text-align: left; }
.right { text-align: right; }
.centre { text-align: center; }
.center { text-align: center; }
.bold 	{ font-weight: bold; }
.red {color:red; }
.boldred { font-weight: bold; color: red; }
.bolderred { font-weight: bolder; color: red; }
.blue {color:blue; }
.cpucolor { color:#0088cc; }
.cpucolor a { color:#0088cc; }
.iti	{ font-style:italic; }
.note	{ font-size: 90%; }

.banner { text-align: center; }
.error-msg { 
	display:inline-block; 
	margin-left:18px; 
	color:red; font-size:1.25em; 
}
.error-msg img { 
	vertical-align:middle; 
	margin:0 12px;
}

														/* 	Images */
img.floatleft {
	float: left;
	margin-right: 10px;
}
	
img.floatright {
	float: right;
	margin-left: 10px;
}
		
img.sub { vertical-align: text-top; }

img.top { vertical-align: top; }
	
img.txtb { vertical-align: text-bottom; }

img.middle { vertical-align: middle; }
	
img.center {
	display: block;
	margin-left: auto; 
	margin-right: auto; 
	margin-bottom:0px;
}

														/* Areas */
div.floatleft {
	float: left;
	margin-right: 12px;
}
div.floatright {
	float: right;
	margin-left: 12px;
}

.area-holder {
	display:flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.paper-area {
	margin:32px auto 32px auto;
	padding:8px 36px;
	text-align:left;
	background-image: url(./img/paper.gif);
	border: 8px ridge #fff;
}

.middle-50 {
	width:50%;
	margin:0 auto;
}

.full_width {
	display:block;width:100%;
}

.auto_center {
	margin: 0 auto;
}

.whitebox {
	border: 2px solid #999999;
	border-right: 4px solid #000000;
	border-bottom: 4px solid #000000;
	padding:10px;

	margin: 10px auto 30px auto;
}

														/* Buttons	*/
.new-game-button {
	margin:16px 0 8px 0;
	border:2px groove #7c93ba;
	cursor:pointer; 
	padding: 5px 25px;
	background-color:#6b6dbb; /*required for browsers that don't support gradients*/
	background: -webkit-gradient(linear, left top, left bottom, from(#88add7), to(#6b6dbb));
	background: -webkit-linear-gradient(top, #88add7, #6b6dbb);
	background: -moz-linear-gradient(top, #88add7, #6b6dbb);
	background: -o-linear-gradient(top, #88add7, #6b6dbb);
	background: linear-gradient(top, #88add7, #6b6dbb);
	/*style to the text inside the button*/
	font-family: Arial, sans-serif; 
	color:#fff;
	font-size:1.1em;
	letter-spacing:.1em;
	font-variant:small-caps;
	/*give the corners a small curve*/
	-webkit-border-radius:15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	vertical-align:baseline;
	/*add a drop shadow to the button*/
	-webkit-box-shadow: rgba(0, 0, 0, .75) 0 2px 6px;
	-moz-box-shadow: rgba(0, 0, 0, .75) 0 2px 6px;
	box-shadow: rgba(0, 0, 0, .75) 0 2px 6px;
}
.new-game-button:hover {
	color:#edebda;
	-webkit-box-shadow: rgba(0, 0, 0, .25) 0 1px 0px;
	-moz-box-shadow: rgba(0, 0, 0, .25) 0 1px 0px;
	box-shadow: rgba(0, 0, 0, .25) 0 1px 0px;
}

.replayButton {
	box-shadow:inset 0px 1px 3px 0px #91b8b3;
	background:linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%);
	background-color:#768d87;
	border-radius:5px;
	border:1px solid #566963;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:11px 23px;
	text-decoration:none;
	text-shadow:0px -1px 0px #2b665e;
}
.replayButton:hover {
	background:linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%);
	background-color:#6c7c7c;
	text-decoration:none;
	color:Black; 
	text-shadow: 1px 1px 2px White;
}
.replayButton:active {
	position:relative;
	top:1px;
}

.clearButton {
	font-size:20px;
	background:linear-gradient(to bottom, #fcfffa 5%, #87d6d6 100%);
	background-color:#fcfffa;
	border-radius:17px;
	border:1px solid #90ba7b;
	display:inline-block;
	cursor:pointer;
	color:Green;
	vertical-align:middle;
	padding:8px 36px;
	text-decoration:none;
	text-shadow:1px 1px 3px #5ba12d; 
}
.clearButton:hover {
	background:linear-gradient(to bottom, #87d6d6 5%, #fcfffa 100%);
	background-color:#87d6d6;
	text-decoration: none; 
	color: #b4f; 
}
.clearButton:active {
	position:relative;
	top:1px;
}

														/* Print */
@media print{
	body{ background-color:#FFFFFF; background-image:none; color:#aaa; }
	.main-heading{font-size:1.5em; }
	#main{ width:100%; } 
	#middle { width:96%; }
	#replay_frame { width:7in;height:9in; }
	.replay_lower { display:none; }
	footer{ display:none; } 
	.noprint{ display:none; }
}

.only-print { display: none;}

/* 	End	*/