﻿html {
	overflow-y: scroll;
}
body {
	padding: 0;
	margin: 0;
}
h1, nav, #body, #legal {
	margin: auto;
	max-width: 1200px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */;
	-moz-box-sizing: border-box; /* Firefox, other Gecko */;
	box-sizing: border-box;         /* Opera/IE 8+ */
}
#body {
	padding: 0.5em;
}
h2, h3, h4 {
	text-transform: uppercase;
}
h1, #legal {
	text-align: center;
	padding: 0;
	margin-top: 0;
}
nav {
	position: relative;
	z-index:3;
}
nav ul {
	list-style-type: none;
}
nav ul#base {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
nav ul#base > li {
	float: left;
	width: 15%;
}
nav ul#base > li:last-child {
	width: 10%;
}
nav ul#base > li > a, nav ul#base > li > span {
	display: block;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-weight: bold;
	font-size: large;
}
nav ul#base > li > ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 200px;
	position: absolute;
}
nav ul#base > li > ul > li > a, nav ul#base > li > ul > li > span {
	display: block;
	padding: 10px 16px;
	text-decoration: none;
}
nav ul#base > li > ul > li > ul {
	position: absolute;
	left: 100%;
	top: 0;
	list-style-type: none;
	margin: 0;
	padding: 0;
	height: 100%;
}
nav ul#base > li > ul#player > li > ul {
	width:997px;
}
nav ul#base > li > ul#rules > li > ul {
	width:818px;
}
nav ul#base > li > ul#GM > li > ul {
	width:638px;
}
nav ul#base > li > ul > li > ul > li > ul {
	margin: 0 0 5px 0;
	padding: 0;
}
nav ul#base > li > ul > li > ul > li > a, ul#base > li > ul > li > ul > li > span {
	display: block;
	padding: 0 16px;
	text-decoration: none;
	text-align: center;
	font-weight: bold;
}
nav ul#base > li > ul > li > ul > li > ul > li > ul {
	margin: 0;
	padding: 0;
}
nav ul#base > li > ul > li > ul > li > ul > li > a, nav ul#base > li > ul > li > ul > li > ul > li > span {
	display: block;
	padding: 0 16px;
	text-decoration: none;
	text-align: center;
}
nav ul#base > li > ul > li > ul > li > ul > li > ul > li > a, nav ul#base > li > ul > li > ul > li > ul > li > ul > li > span {
	display: block;
	padding: 0 16px;
	text-decoration: none;
	text-align: center;
	font-style: italic;
}

nav ul#class {
	column-count: 4;
}
nav ul#race > li > ul {
	column-count: 3;
}
nav ul#theme > li > ul {
	column-count: 2;
}
nav ul#feat > li > ul {
	column-count: 2;
}
nav ul#spell > li > ul {
	column-count: 4;
}
nav ul#equipment {
	column-count: 4;
}
nav ul#starship > li > ul {
	column-count: 3;
}
nav ul#tactical > li > ul {
	column-count: 2;
}
nav ul#setting{
	column-count: 2;
}
nav ul#skills > li > ul {
	column-count: 3;
}
nav ul#GMRules{
	column-count: 3;
}
nav ul#starshipGM > li > ul{
	column-count: 2;
}

#search {
	margin: 0;
	padding: 0;
	width: 100%;
	position: absolute;
	right: 0;
	text-align:center;
}
table {
	border-collapse: collapse;
	width: 100%;
	text-align: center;
}
table td{
	padding:0.4em;
}
table tr td a {
	text-decoration: none;
	width: 100%;
}
table tr td a:hover {
	text-decoration: underline;
}
table#topClassStat {
	text-align: center;
	text-transform: uppercase;
	width: auto;
}
table#topClassStat tr td {
	padding-left: 1em;
	padding-right: 1em;
}
table#topClassStat tr td:first-child {
	font-size: xx-large;
	font-weight: bold;
	text-transform: uppercase;
}
table#topClassStat tr td:last-child {
	font-size: xx-large;
	font-weight: bold;
	text-transform: uppercase;
}
/*--TitleBar--*/
.titleBar {
	margin-bottom: 0.25em;
	padding-left: 10px;
}
/*--LevelNum--*/
.levelNum {
	padding-right: 0.5em;
	padding-left: 0.5em;
	text-transform: capitalize;
}
h2 img, h3 img, h4 img {
	height: 1em;
	vertical-align: text-bottom;
}
p img {
	height: 2em;
	vertical-align: text-bottom;
}
p{
	margin-top:0;
}
h2{
	font-size:2em;
	margin-bottom:0.5em;
}
h3{
	font-size:1.5em;
	margin-bottom:0.25em;
}
h4{
	font-size: 1.17em;
	margin-bottom:0;
}
h5{
	font-size: 1em;
	margin-bottom:0;
}
.itemName{
	margin-bottom:0;
}
.licenseTitle {
	padding-left: 10px;
	font-size: x-large;
	margin: 1em 0 0 0;
}
.left400{
	float:left;
	margin-bottom:0.5em;
	width: 400px;
	margin-right: 0.5em;
	padding:0.2em;
}
.right400{
	float:right;
	margin-bottom:0.5em;
	width: 400px;
	margin-left: 0.5em;
	padding:0.2em;
}
.hide{
	display:none;
}

#sideMenu{
	background-color: #CCCCCC;
	color: black;
	position: fixed;
	right: 0;
	top: 0;
	border-left: thin black solid;
	border-bottom: thin black solid;
	margin: 0;
	padding:0.5em;
	width:250px;
}
#sideMenu ul{
	list-style-type: none;
	padding:0;
	padding-left:0.5em;
	margin:0;
}
#sideMenu > ul{
	padding-left:0;
	max-height:600px;
	overflow:auto;
}
#sideMenu span:hover{
	background-color:#82F5DE;
	width:100%;
}
br{
	line-height:150%;
}
.fakelink{
	text-decoration:underline;
}