@import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');

html
{
	height: 100%;
	scroll-behavior: smooth;
}

body
{
	background-color: #f4f4f4;
	font-family: 'Poppins';
	font-size: 14px;
	height: 100%;
}

.container
{
	background-color: #fff;
	border: 1px solid #555;
	border-top: none;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	box-shadow: 0px 0px 10px rgba(0,0,0,.3);
	margin: 0 auto;
	max-width: 1050px;
	padding: 10px 10px 0 10px;
	width: 100%;
}

h1
{
	font-size: 1.5rem;
	margin-bottom: 15px;
	text-align: center;
}

h3
{
	font-size: 1.5rem;
	margin-bottom: 10px;
}

h4
{
	font-weight: bold;
	margin-bottom: 2px;
}

#advisory
{
	background-color: bisque;
	border: 2px solid #ff8800;
	border-radius: 5px;
	margin-bottom: 40px;
	padding: 10px;
	text-align: center;
}

h2:first-of-type
{
	margin-bottom: 16px;
}

form
{
	border: 1px solid #555;
	border-radius: 5px;
	margin-bottom: 10px;
	padding: 10px;
}

form:last-of-type
{
	margin-bottom: 0;
}

#msgArea
{
	background-color: #F7F8FF;
	border: 1px solid navy;
	border-radius: 5px;
	margin-bottom: 10px;
	padding: 10px 10px 0 10px;
}

#formAnotherTheatre,
#formBlitz,
#msgArea,
#gameState,
#formPlay
{
	display: none;
}

#gameState
{
	position: relative;
}

#gameState input[type="submit"]
{
	font-size: .8rem;
	padding: 5px 10px;
	position: absolute;
	right: 10px;
	top: 10px;
}

#formPlaySubmit
{
	opacity: 0;
	visibility: hidden;

	transition: .5s;
	-webkit-transition: .5s;
}

#gameState input[type="button"]
{
	font-size: .8rem;
	padding: 5px 10px;
	position: absolute;
	right: 20px;
	top: 70px;
}

#gameState table
{
	border: 1px solid #555;
}

#gameState td,
#gameState th
{
	padding: 3px 10px;
}

#gameState td
{
	border-right: 1px solid #555;
	border-top: 1px solid #555;
}

#gameState tr#AlliesData td
{
	background-color: #92AA92;
	color: #fff;
}

#gameState tr#AxisData td
{
	background-color: #CECDCA;
}

#gameState td:nth-of-type(2),
#gameState td:nth-of-type(3)
{
	text-align: right;
}

#gameState td:last-of-type
{
	border-right: none;
}

.alliesIcon
{
	background:url(../files/roundel.png) no-repeat center center;
	width: 28px;
}

.axisIcon
{
	background:url(../files/cross.png) no-repeat center center;
	width: 28px;
}
p
{
	margin-bottom: 10px;
}

#msgarea p.move
{
	background-color: #fff;
	border: 1px solid #555;
	padding: 5px 10px;
}

p.move cite
{
	font-style: normal;
	font-weight: bold;
	text-transform: uppercase;
}

span.role0
{
	background-color: #92AA92;
	border: 1px solid #555;
	color: #fff;
	padding: 0 5px;
}

span.role1
{
	background-color: #CECDCA;
	border: 1px solid #555;
	padding: 0 5px;
}

span.role2
{
	background-color: bisque;
	border: 1px solid #555;
	padding: 0 5px;
}

label
{
	display: inline-block;
	margin-bottom: 10px;
}

select
{
	margin: 0 10px 10px 0;
}

#chooseSide label
{
	border: 1px dashed #444;
	margin-right: 10px;
	padding: 0 5px;
}

#chooseSide input[type="radio"]
{
	margin: 5px 0 0 20px;
}

#tracks
{
	margin-top: 20px;
}

#tracks p
{
	border: 1px solid #555;
	display: inline-block;
	padding: 5px 10px;
}

#tracks p.alliesLeading
{
	background-color: #92AA92;
	color: #fff;
}

#tracks p.axisLeading
{
	background-color: #CECDCA;
}

#board
{
	display: none;
}

#showLog
{
	display: none;
	left: -9999px;
	position: absolute;
}

#log
{
	max-height: 0;
	opacity: 0;
	visibility: hidden;

	transition: .5s;
	-webkit-transition: .5s;
}

#showLog:checked ~ #log
{
	border: 1px solid #555;
	border-radius: 5px;
	margin-bottom: 10px;
	max-height: 1500px;
	opacity: 1;
	padding: 10px;
	visibility: visible;
}

#showLogInd
{
	border: 2px solid #ccc;
	border-radius: 50%;
	color: #ccc;
	font-size: 1.4rem;
	height: 40px;
	position: absolute;
	right: 10px;
	text-align: center;
	top: 56px;
	width: 40px;
}

#showLog:checked + form #showLogInd
{
	border: 2px solid #0BD70B;
	color: #0BD70B;
}