/**
 * CSS Reset / Normalizer
 */
@import url('https://cdn.jsdelivr.net/npm/modern-normalize@1.0.0/modern-normalize.min.css');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond&display=swap')	;

html {
	margin: 0;
}

/**
 * layout
 */
.layout {
	display: flex;
	flex-direction: column;

}
.hero {
	text-align: center;
	padding-left: 370px;
	padding-right: 150px;
}

.two-column {
	display: flex;
	flex: 1 0;
	padding: 0 150px;
}
nav {
	min-width: 220px;
	overflow-y: auto;
}
main {
	width: 100%;
	padding-left: 5px;
}
body{
    background-color: hsla(0, 0%, 0%, .65);
}

html {
	background-color: hsla(0, 0%, 0%, 1);
	background-image: url("Mage.jpg");
	background-position: 300px;
	background-repeat: no-repeat;
	background-position-y: 0px;
}

/**
 * Typography
 */
a
{
	text-decoration: none;
	color: hsla(40, 100%, 50%, 1);
}
a:hover
{
	color: hsla(40, 100%, 80%, 1);
}
html
{
	color: #FFFFFF;
	font-family: Arial, sans-serif;
	font-size: 1.10em;
	text-align: center;
}
h1, h2, h3, h4, h5, h6 {
	color: hsla(40, 100%, 50%, 1);
}
.brand {
	color: hsla(40, 100%, 50%, 1);
	font-size: 50px;
	font-family: 'Cormorant Garamond', serif;
	font-weight: 500;
	letter-spacing: 7px;
	margin-bottom: .5rem;
}
.tagline {
	color: hsla(40, 100%, 50%, 1);
	font-size: 20px;
	font-family: 'Cormorant Garamond', serif;
	letter-spacing: 4px; color: rgb(255, 153, 0);
	margin-bottom: .5rem;
}

/**
 * Tables
 */
table, caption
{
	margin-left: auto;
	margin-right: auto;
}
td
{
	text-align: left;
	font-size: medium;
}
th
{
	text-align: center;
	font-size: medium;
}

/**
 * Game Guide
 */
.guide
{
	text-align: left;
	margin-left: 10%;
	margin-right: 10%;
}
.guide dt
{
	font-weight: bold;
	color: white;
}
.guidetoc td
{
	color: white;
	text-align: center;
	background-color: #2F2F2F;
}
.guidetoc th
{
	color: white;
	background-color: #4F4F4F;
}

/**
 * Game Menu
 */
.menu ul
{
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}
.menu ul li {
	background-color: hsla(0, 0%, 21%, 1);
}

.menu > ul > li
{
	border: 1px solid hsla(40, 100%, 50%, 1);
	margin-bottom: 5px;
	font-weight: bold;
}

/* category */
.menu > ul > li > ul > li:first-child {
	background-color: hsla(0, 0%, 25%, 1);
	padding: 4px 0 4px 16px;
	font-weight: bold;
}

/* menu links */
.menu > ul > li > ul > li
{
	background-color: hsla(0, 0%, 10%, 1);
	font-weight: normal;
}

.menu > ul > li > ul > li:not(:first-child):hover
{
	background-color: hsla(40, 100%, 50%, 1);
}

/**
 * Game Menu URLs
 */
.menu a {
	display: block;
	padding-left: 16px;
}
.menu a:link, .menu a:visited {
	color: #FFFFFF;
}
.menu a:hover {
	color: black;
	font-weight: normal;;
}
/**
 * Scores Menu
 */
.scores ul
{
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}
.scores li
{
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}
.scores ul li {
	background-color: hsla(0, 0%, 21%, 1);
}

.scores > ul
{
	border: 1px solid hsla(40, 100%, 50%, 1);
	margin-bottom: 5px;
	font-weight: bold;
}

.scores > ul > li
{
	background-color: hsla(0, 0%, 10%, 1);
	padding: 4px 4px 4px 4px;
	font-weight: normal;
}

.scores > ul > li :hover
{
	background-color: hsla(40, 100%, 50%, 1);
}

/**
 * Scores Menu URLs
 */
.scores a {
	display: block;
}
.scores a:link, .scores a:visited {
	color: #FFFFFF;
}
.scores a:hover {
	color: black;
	font-weight: normal;;
}

/**
 * Form Field Tables. General Tables
 */
.inputtable td
{
	font-size: medium;
	color: white;
}
.inputtable th
{
	font-size: medium;
	color: white;
	background-color: #4F4F4F;
}

.emplist select
{
	width: 250px;
  	overflow: hidden;
  	text-overflow: ellipsis;
}

.emplist option
{
	width: 250px;
  	overflow: hidden;
  	text-overflow: ellipsis;
}

/**
 * Game Scores
 */
.scorestable th
{
	color: white;
	font-size: medium;
	padding: 0.1em 0.5em;
}
.scorestable td
{
	font-size: small;
	padding: 0.1em 0.5em;
}

/**
 * Empire Status
 */
.empstatus th { text-align: left; }
.empstatus td { text-align: right; }

/**
 * Text colors
 */
.mnormal {
	color: white;
	background-color:hsla(360, 100%, 100%, .05);
}
.mdisabled {
	color: yellow;
	background-color: hsla(180, 100%, 50%, .05);
}
.mself {
	color: aqua;
	background-color: hsla(180, 100%, 50%, .05);
}
.mclan {
	color: #9FBFDF;
	background-color: hsla(210, 50%, 75%, .05);
}
.mally {
	color: #7F9FDF;
	background-color: hsla(220, 60%, 69%, .05);
}
.mwar {
	color: #FF8000;
	background-color: hsla(30, 100%, 50%, .05);
}
.mprotected {
	color: #9FDF9F;
	background-color: hsla(120, 50%, 75%, .05);
}
.mdead {
	color: red;
	background-color: hsla(0, 100%, 50%, .05);
}
.madmin {
	color: #FF7FFF;
	background-color: hsla(300, 100%, 75%, .05);
}
.mhover:hover {
	cursor: pointer;
	background-color: hsla(0, 0%, 25%, 1);
}

.cgood { color: lime; }
.cwarn { color: yellow; }
.cbad { color: red; }
.cneutral { color: white; }

/**
 * Era Colors
 */
.era0 td, th.era0, .era0 th
{
	color: white;
	font-size: large;
	border: 1px solid hsla(40, 100%, 50%, 1);
	background-color: hsla(0, 100%, 50%, .05);
}
.era1 td, th.era1, .era1 th
{
	color: white;
	font-size: large;
	border: 1px solid hsla(40, 100%, 50%, 1);
	background-color: hsla(190, 100%, 50%, .05);
	/* background-color: hsla(240, 100%, 50%, .05); */
}
.era2 td, th.era2, .era2 th
{
	color: white;
	font-size: large;
	border: 1px solid hsla(40, 100%, 50%, 1);
	background-color: hsla(0, 100%, 50%, .05);
}
.era3 td, th.era3, .era3 th
{
	color: white;
	font-size: large;
	border: 1px solid hsla(40, 100%, 50%, 1);
	background-color: hsla(100, 100%, 50%, .05);
}

/**
 * Input Fields
 */
input {
	padding: 0.2em 0.5em;
	color: white;
	background-color: hsla(0, 0%, 13%, 1);
	border: 2px solid hsla(40, 100%, 50%, 1);
}
input:hover {
	border-color: hsla(40, 100%, 80%, 1);
}

/**
 * Input Fields
 */
select {
	padding: 0.2em 0.5em;
	color: white;
	background-color: hsla(0, 0%, 13%, 1);
	border: 2px solid hsla(40, 100%, 50%, 1);
}
select:hover {
	border-color: hsla(40, 100%, 80%, 1);
}

/**
 * Buttons
 */
input[type=submit], input[type=button], button {
	padding: 0.2em 0.5em;
	color: hsla(0, 0%, 13%, 1);
	border: 1px outset hsla(40, 100%, 50%, 1);
	background-color: hsla(40, 100%, 50%, 1);
	border-radius: 2px;
}

input[type=submit]:hover, input[type=button]:hover, button:hover {
	background-color: hsla(40, 100%, 80%, 1);
	border-color: hsla(40, 100%, 80%, 1);
}

/**
 * Outline / Focus
 */
input:focus,
button:focus,
a:focus {
	outline: 3px solid hsla(40, 100%, 80%, 1);
}

/**
 * General Utilities / Miscellaneous
 */
.al { text-align: left; }
.ac { text-align: center; }
.ar { text-align: right; }

/**
 * Drawer
 */
@media (max-width: 720px) {
	/* 768px? */
	.hero, .two-column {
		padding: 0;
	}
}