/*******************************/
/********** HTML Tags **********/
/*******************************/
body {
	margin: 0px;
	color: #ffa07a;
	font-size: 16px;
	text-align: center;
	background-color: black;
	font-family: Arial, Helvetica, sans-serif;
	}

a {outline: none;}
	
a:link, a:visited {
	color: #f0e68c;
	text-decoration: none;
	background-color: inherit;
	}

a:hover {
	color: #f0e68c;
	background-color: inherit;
	text-decoration: underline;
	}

h1, h2, h3, h4, h5, h6 {
	margin: 0px;
	padding: 0px;
	}

h1 {
 	color: #ffa07a;
	font-size: 150%;
 	background-color: inherit;
	}

h2 {font-size: 125%;}

h3 {
	width: 100%;
	font-size: inherit;
	text-align: justify;
	}
	
h4 {
	font-size: 100%;
	margin: inherit;
	}

h5 {font-size: 10px;}
	
ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	}

img {border: 0px;}

p.img {text-align: center;}

object {margin: 0 auto;}
		
/*********************************/
/********** Layout Divs **********/
/*********************************/
#content {
	top: 155px;
	margin: 0 auto;
	position: relative;
	}

#left {
	width: 33%;
	top: 125px;
	float: left;
	margin: 0 auto;
	position: relative;
	}

#middle {
	width: 34%;
	top: 125px;
	margin: 0 auto;
	position: relative;
	}
	
#right {
	width: 33%;
	top: 125px;
	float: right;
	margin: 0 auto;
	position: relative;
	}
	
.home_page {
	position: relative;
	margin: 25px auto 0 auto;
	}

#popup {padding: 10px;}
	
#instructions {
	width: 600px;
	margin: 0 auto;
	padding: 0 8px;
	font-size: 14px;
	text-align: left;
	font-weight: bold;
	background-color: black;
	}

#footer {
	left: 0;
	bottom: 0;
	border: 0;
	margin: 3px 6px;
	position: fixed;
	}
	
#infopages {
	top: 125px;
	width: 600px;
	margin: 0 auto;
	font-size: 14px;
	font-weight: bold;
	position: relative;
	text-align: justify;
	padding-bottom: 50px;	
	background-color: black;
	}
/**************************************/
/********** Table Formatting **********/
/**************************************/
.tableContainer {
	overflow: auto;
	margin: 0 auto;
	font-size: 12px;
	}

table {
	border: 0;
	margin: 0 auto;
	border-spacing: 1px;
	}
	
thead tr {
	position: relative;
	vertical-align: bottom;
	background-color: black; 
	}
	
thead td {
	padding: 8px 0;
	background-color: #581212;
	}

thead tr:first-child + tr td, thead tr:first-child + tr + tr td {
	padding: 4px;
	font-size: 15px;
	}
		
tbody {  
	overflow: auto;
	overflow-x: hidden;
	}
	
tbody tr td:first-child + td {/* left justifying the Name column */
	width: 100px;
	text-align: left; 
	} 

tr {/* IE fix for row height in a scrolling table */		
	height: 1em !important;
	max-height: 1em !important;
	}

td {
	font-weight: bold;
	white-space: nowrap;
	padding: .25em .5em;
	background-color: #7A3412;
	}

.scrollBar {
	width: 19px;
	padding: 0 !important;
	background-color: transparent;
	}
	
.ie_scrollBar { /* IE fix for shifting thead when auto centering */
	width: 0px;
	padding: 0 !important;
	background-color: transparent;
	}
	
/***************************/
/********** Forms **********/
/***************************/
form {
	width: 600px;
	margin: 0 auto;
	text-align: left;
	padding-bottom: 50px;
	background-color: transparent;
	}

fieldset {
	padding: 8px;
	border: 3px solid #7A3412;
	}

fieldset + fieldset {margin-top: 8px;}
	
legend {
	color: #ffa07a;
	font-size: 20px;
	line-height: 1.5em;
	font-weight: bold;
	}

input, select {
	color: #f0e68c;
	text-align: left;
	margin: 0 5px 1px 0;
	background-color: #7A3412;
	}
	
input {padding-left: 4px;} /* Adjust left side padding to match the auto-padding in a select */

ul.dots input, ul.dots select, label.triplet > input {background-color: black;}
	
input.button {
	padding: 0;
	clear: both;
	color: #f0e68c;
	margin: 0 auto;
	display: block;
	font-size: 16px;
	margin-top: 20px;
	text-align: center;
	background-color: #7A3412;
	}

.formTopper {
	width: 100%;
	display: block;
	padding: 8px 00;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
	background-color: #581212;
	}

div.header {
	text-align: center;
	padding: 8px 0 2px 0;
	}

div.header input {
	 margin: 0;
	 padding: 0;
	 display: inline; 
	 }
	 
table form {padding: 0;}

table form select {margin-right: 25px;}

div.tradeskills {
	margin: 0;
	clear: both;
	border: 1px solid transparent;
	}

div.tradeskills_left {
	margin: 0;
	float: left;
	font-weight: bold;
	}
	
div.tradeskills_right {
	margin: 0;
	width: 350px;
	float: right;
	font-weight: bold;
	}
	
div.roster {
	margin: 0;
	clear: left;
	overflow: hidden;
	padding: 5px 0 5px 6em;
	}

label.roster {
	width: 5.5em;
	float: left;
	padding-top: 3px;
	font-weight: bold;
	text-align: right;
	margin-left: -6em;
	}

div.weapons {
	margin: 0;
	clear: left;
	overflow: hidden;
	padding: 5px 0 5px 10em;
	}

label.weapons {
	width: 9.5em;
	float: left;
	padding-top: 3px;
	font-weight: bold;
	text-align: right;
	margin-left: -10em;
	}
		
label.triplet {
	float: left;
	padding-top: 3px;
	font-weight: bold;
	margin-right: .5em;
	}

label.triplet + input, label.weapons + input {
	float: left;
	margin-right: .5em;
	}

label.weapons input {
	float: left;
	padding-top: 3px;
	margin-right: .5em;
	}
	
ul.dots li {
	display: block;
	line-height: 1em;
	font-weight: bold;
	padding: 0 0 8px 25px;
	background-color: black;
	}

ul.dots li label {
	margin: 0;
	padding: 0;
	display: inline;
	vertical-align: middle;
	}
	
ul.dots li input {
	display: inline;
	vertical-align: middle;
	margin: -1px 5px 0 -25px;
	}	

ul.selects li {
	clear: left;
	height: 2em;
	}
	
ul.selects li label {
	float: left;
	width: 149px;
	display: block;
	font-weight: bold;
	text-align: right;
	}

ul.selects li select {
	float: left;
	margin: 0 5px;
	display: block;
	}
		
ul.right li, ul.left li {
	margin: 5px 0;
	line-height: 2em;
	text-align: right;
	vertical-align: middle;
	}
	
ul.center li {
	margin: 5px 0;
	line-height: 2em;
	text-align: center;
	vertical-align: middle;
	}
	
legend > input {
	margin-left: 5px;
	vertical-align: middle;
	background-color: black;
	}
	
.indented li {margin-left: 13px;}
/****************************************************/
/********** Header and Navigation Bar Info **********/
/****************************************************/
#masthead {
	margin: 0;
	left: 0px;
	width: 100%;
	height: 80px;
	z-index: 100;
	color: inherit;
	position: fixed;
	padding: 10px 0;
	background-color: #581212;
	}
	
.menu {
	margin: 0;
	left: 0px;
	top: 100px;
	width: 100%;
	height:29px;
	z-index: 100;
	display:block;
	position: fixed;
	background:#949e7c;
	}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	width: 10%;
	float: right;
	position: relative;
	border-bottom: 1px solid black;
	}

li.menuAnchor {
	width: 15%;
	float: right;
	position: relative;
	border-bottom: 1px solid black;
	}

li.menuName {
	width: 19%;
	float: right;
	border-right: none;
	position: relative;
	border-bottom: 1px solid black;
	}

/* style the links for the top level */
.menu a, .menu a:visited, .menuName a, .menuName a:visited {
	width: 100%; 
	color: white; 
	height: 29px; 
	display: block;
	font-size: 12px;
	line-height: 29px;
	background: #758279; 
	text-decoration: none;
	}

/* style the links for the top level */
.menuAnchor a, .menuAnchor a:visited {
	width: 100%; 
	color: white; 
	height: 29px; 
	display: block;
	font-size: 12px;
	line-height: 29px;
	background: #949e7c; 
	text-decoration: none;
	}

.menu li li {
	width: 100%;
	position: relative;
	border-bottom: 1px solid black;
	}

.menu li li li{
	float: left;
	width: 140%;
	position: relative;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
	}

.menu li li li li {
	float: left;
	width: 71.5%;
	position: relative;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
	}
	
/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	width: 100%;
	color: black; 
	height: auto; 
	line-height: 1em; 
	padding: 5px 0px;
	text-align: left;
	position: relative;
	background: #d4d8bd;
	}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover {
	color: white; 
	background: #949e7c;
	}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background: #949e7c;}

/* style the second level hover */
.menu ul ul a.drop:hover{background: #c9ba65;}

.menu ul ul :hover > a.drop {background:#c9ba65;}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background: #e2dfa8;}

/* style the second level hover */
.menu ul ul ul a.drop:hover{background: #c9ba65;}

.menu ul ul ul :hover > a.drop {background: #c9ba65;}

/* style the third level hover */
.menu ul ul ul a:hover {background: #b2ab9b;}

.menu ul ul ul :hover > a {background: #b2ab9b;}

/* style the fourth level background */
.menu ul ul ul ul a, .menu ul ul ul ul a:visited {background-color: tan;}

/* style the fourth level hover */
.menu ul ul ul ul a:hover {background-color: #996600;}

.menu ul ul ul ul :hover > a {background-color: #996600;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	left: 0;
	height: 0;
	top: 30px;
	width: 100%;
	visibility: hidden;
	position: absolute;
	}

/* position the third level flyout menu */
.menu ul ul ul {
	top: 0;
	left: 100%; 
	width: 100%;
	}

.menu :hover > a, .menu ul ul :hover > a {
	color: white;
	background: #949e7c;
	}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul {visibility: visible;}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility: hidden;}

/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{visibility: hidden;}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{visibility: visible;}

/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {visibility: visible;}
