body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif ;
}

.hidden {
	display:none;
}

div.featureform {
	width: 500px;
	position: absolute;
	left: 50%;
	top: 50px;
	z-index: 100;
}

div.featureform-content {
	width: 350px;
	position: absolute;
	left: -175px;
	border: solid black 2px;
	padding: 10px;
	color: black;
	background-color: rgb(255,255,225);
	text-align: center;
	z-index: 100;
}

div.widefeatureform {
	width: 600px;
	position: absolute;
	left: 50%;
	top: 80px;
	z-index: 200;
}

div.widefeatureform-content {
	width: 650px;
	position: absolute;
	left: -325px;
	border: solid black 2px;
	padding: 10px;
	color: black;
	background-color: LightBlue;
	text-align: center;
	z-index: 200;
}

table#repository-selector {
	width: 100%;
}

table#repository-selector tr {
	height: 50px;
}

table#repository-selector td.cat {
	text-align: right;
	font-weight: bold;
}

table#repository-selector td.sel select {
	width: 16em;
}

table.statstable td {
	text-align: right;
}

td#attrqualities {
	padding-left: 5px;
}

img.bigbutton {
	border: 0;
	padding: 0;
	margin: 0 auto 0 auto;
	display: block;
}

div#footer {
	width: 750px;
	border-top: thin black solid;
	margin: 20px auto 0 auto;
}

div#footer p {
	width: 650px;
	padding-top: 5px;
	margin: 0 auto 0 auto;
	font-style: italic;
	font-size: small;
	text-align: center;
}


div#header a {
	color: black;
	text-decoration: none;
}

div#header a:hover {
	color: blue;
}

div#headpic {
	width: 300px;
	float: right;
}
div#headpic img {
	border: 0;
}

div#edit-gear-form hr {
	clear: both;
}

div#statblock,
div#lastnpcstatblock {
	border: thin lightgray solid;
	padding: 3px;
}

div#statblocksubtext {
	font-size: smaller;
	float: right;
	color: gray;
}

div#add-repository-gear {
	text-align: right;
}

div.gearedittitle {
	width: 100%;
}

div.gearedittitle strong {
	float: left;
}

div.gearedittitle input {
	background: transparent url('add.png') no-repeat scroll center center;
	border: none;
	width: 16px;
	height: 16px;
	float: right;	
	cursor: pointer;
}

div.gearedititem {
	width: 100%;
}

div.gearedititem input.gear-remove {
	background: transparent url('remove.png') no-repeat scroll center center;
	border: none;
	width: 16px;
	height: 16px;
	cursor: pointer;
	float: right;
	margin-top: 2px;
}

div.gearedittitle {
	clear: both;
}


table.gear, table.stats {
	text-align: center;
	font-weight: normal;
	width: 100%;
	font-size: 10pt;
	border: thin black solid;
	border-collapse: collapse;
	border-spacing: 0px;
}

table.gear td {
	padding: 4px;
	text-align: center;
	border: thin black solid;
}

table.gear td.fixed {
	width: 12em;
}

table.gear td.desc {
	text-align: left;
}

table.gear td.th, table.stats td.th, table.gear th, table.stats th {
	background-color: #ccc;
	color: #000;
	padding: 1px;
	font-size: 8pt;
	font-weight: bold;
} 

table.stats {
	table-layout: fixed;
}

table.stats td {
	border-bottom: thin black solid;
}

table.stats th, table.stats td.th {
	font-weight: bold;
}

table.stats td {
	border-right: thin black solid;
}

td.corner {
	text-align: left;
	vertical-align: top;
}

.attrs td {
	height: 1.6em;
}

table.entry td, td.entry {
	height: 2.4em;
}

table.doubleentry td, td.doubleentry {
	height: 4.8em;
}

table.quadentry td, td.quadentry {
	height: 9.6em;
}

.minions td span {
	font-size: small;
}

div#print-commander {
	border: thin gray solid;
	padding: 2px;
	margin-top: 0.5em;
}

div#printarea div.break {
	height: 0.5em;
	width: 100%;
}

div#minionselect {
	width: 100%;
	text-align: right;
}

div#tlselect {
	float: right;
}

span.skillattributes {
	font-size: 75%;
}

#container {
	width: 100%;
	padding: 0;
	background: #fff;
}

#tabnav {
	height: 20px;
	margin: 0;
	padding-left: 0;
	background: url(tab_bottom.gif) repeat-x bottom;
}

#tabnav li {
	margin: 0; 
	padding: 0;
	display: inline;
	list-style-type: none;
}
	
#tabnav a:link, #tabnav a:visited {
	float: left;
	background: #f3f3f3;
	font-size: 10px;
	line-height: 14px;
	font-weight: bold;
	padding: 2px 10px 2px 10px;
	margin-right: 4px;
	border: 1px solid #ccc;
	text-decoration: none;
	color: #666;
}

#tabnav a:link.active, #tabnav a:visited.active {
	border-bottom: 1px solid #fff;
	background: #fff;
	color: #000;
}

#tabnav a:hover {
	background: #fff;
}

@media print {
	div#header {
		display: none;
	}
	#tabnav {
		display: none;
	}
	div#footer {
		display: none;
	}
	div#minionselect {
		display: none;
	}
	select#tl {
		border: 1px solid black;
		background-color: transparent;
		font-size: 75%;
	}
}
