/* CONTAINERS ------------------------ */

* {
    margin: 0;
    padding: 0;
}

body {
    background: #71868d url('/images/gradient.png') repeat-x;
	color: black;
	text-align: center;
	margin: 0;
}

.container {
	margin: 0 auto;
	text-align: left;
	padding: 0;
	width: 950px;
}

a:link {
	color: black;
	background-color: transparent;
	text-decoration: underline;
}

a:visited {
	color: #71868d;
	background-color: transparent;
	text-decoration: underline;
}

a:hover {
	color: white;
	background-color: black;
	text-decoration: none;
}

a:active {
	color: #dadada;
	background-color: black;
	text-decoration: none;
}

/* HEADER ELEMENTS ------------------------ */

.header { /* used for vertical alignment of child block elements */
	display: table; /* ignored by IE */
	#position: relative; /* ignored by other browsers */
	overflow: hidden;
	height: 130px;
}

.headermini {
	height: 48px;
}

.graphic {
	float: left;
	height: 130px;
}

.logo {
	padding-top: 15px;
	margin-left: 180px;
}

.logo img {
	border: 0;
}

.logomini {
	padding-top: 8px;
	float: left;
}

.logomini img {
	border: 0;
}

.logomini a:hover {
	background-color: transparent;
}

.spotlight { /* used for vertical alignment of block elements */
	display: table-cell; /* ignored by IE */
	#position: absolute; /* ignored by other browsers */
	#top: 50%; /* ignored by other browsers */
	vertical-align: middle;
	width: 100%;
}

.spotlight p {
	float: right;
	#position: relative; /* ignored by other browsers */
	#top: -50%; /* ignored by other browsers */
	#left: -175px; /* ignored by other browsers */
	width: 250px;
	color: #dadada;
	font: 11pt Georgia, serif;
	text-align: center;
}

.spotlight a:link {
	color: white;
	background-color: transparent;
	text-decoration: underline;
}

.spotlight a:visited {
	color: #dadada;
	background-color: transparent;
	text-decoration: underline;
}

.spotlight a:hover {
	color: black;
	background-color: #dadada;
	text-decoration: none;
}

.spotlight a:active {
	color: white;
	background-color: #dadada;
	text-decoration: none;
}

/* CONTENT BOX ------------------------ */

.content {
	background: #fdfef6 url('/images/parchment.jpg');
	font: 12pt Georgia, serif;
	margin: 0;
	padding: 0;
}

.contenttop div {
	background: url('/images/corner_ul.png') no-repeat top left;
	height: 9px;
}

.contenttop {
	background: url('/images/corner_ur.png') no-repeat top right;
	height: 9px;
}

.contentbottom div {
	background: url('/images/corner_ll.png') no-repeat bottom left;
	height: 9px;
}

.contentbottom {
	background: url('/images/corner_lr.png') no-repeat bottom right;
	height: 9px;
}

/* CONTENT LAYOUTS ------------------------ */

/* one-column layout */
.full {
	margin: 25px 35px 20px 35px;
	width: auto;
}

/* two-column layout (70/30) */
.main {
	float: left;
	margin: 25px 35px 20px 35px;
	width: 590px;
}
.secondary {
	float: right;
	margin: 25px 35px 20px 5px;
	width: 250px;
}

/* two-column layout (75/25) */
.wide {
	float: left;
	margin: 25px 30px 20px 35px;
	width: 640px;
}
.narrow {
	float: right;
	margin: 25px 35px 20px 0;
	width: 210px;
}

/* two-column layout (30/70) */
.narrow-left {
	float: left;
	margin: 25px 30px 20px 35px;
	width: 210px;
}
.wide-right {
	float: right;
	margin: 25px 35px 20px 0;
	width: 640px;
}

/* two-column layout (50/50) */
.left {
	float: left;
	margin: 25px 35px 20px 35px;
	width: 420px;
}
.right {
	float: right;
	margin: 25px 35px 20px 5px;
	width: 420px;
}

/* three-column layout (33/33/33) */
.first {
    float: left;
	width: 270px;
	margin: 25px 0 20px 35px;
}
.third {
    float: right;
	width: 270px;
	margin: 25px 35px 20px 0;
}
.second {
	width: 270px;
    margin: 25px 0 20px 340px;
}

/* two-column layout for map */ 
.mapprimary {
	float: left;
	margin: 25px 30px 20px 35px;
	width: 490px;
}
.mapsecondary {
	float: right;
	margin: 25px 35px 20px 0;
	width: 360px;
}

/* CONTENT AREA STYLES ------------------------ */

p {
	margin: 0 0 1.3em 0;
	padding: 0;
	line-height: 1.3em;
}

pre {
    margin-top: -10px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px dashed black;
    font: 10pt monospace;
    overflow: auto;
}

h1 {
	font: 24pt papyrus, arial, fantasy;
	margin: 0 0 -0.1em 0;
	#margin: 0; /* ie only */
	padding: 0;
}

h2 {
	font: 18pt papyrus, arial, fantasy;
	margin: 0 0 -0.2em 0;
	#margin: 0; /* ie only */
	padding: 0;
}

h3 {
	font: 14pt papyrus, arial, fantasy;
	margin: 0 0 -0.2em 0;
	#margin: 0; /* ie only */
	padding: 0;
}

h4 {
	font: bold 12pt Georgia, serif;
	margin: 0 0 0.2em 0;
	padding: 0;
}

h5 {
	font: bold 9pt Georgia, serif;
	margin: 0.5em 0 0.2em 0;
	padding: 0;
	border-bottom: 1px solid black;
}

fieldset {
    border: solid 1px black;
    padding: 10px 0 10px 30px;
    line-height: 40px;
    width: 390px;
}

fieldset.full {
    width: 818px;
    padding: 10px 30px;
    margin: 0;
}

legend {
	font: 14pt papyrus, arial, fantasy;
	margin: 0;
	padding: 0 0.5em;
}

label {
	float: left;
	vertical-align: middle;
	width: 55px;
	text-align: right;
	padding-right: 8px;
}

label.large {
    width: 90px;
}

ol, ul {
    padding: 0 0 1em 2em;
}

.item { /* used for vertical alignment of child block elements */
	display: table; /* ignored by IE */
	#position: relative; /* ignored by other browsers */
	overflow: hidden;
	width: 100%;
	margin-bottom: 24px;
}

.item img {
	float: left;
	padding-right: 12px;
	border: 0;
}

.itemtext {
	display: table-cell; /* ignored by IE */
	#position: absolute; /* ignored by other browsers */
	#top: 50%; /* ignored by other browsers */
	vertical-align: middle;
	width: 100%;
}

.itemtext h4 {
	#position: relative; /* ignored by other browsers */
	#top: -50%; /* ignored by other browsers */
	width: 158px;
}

.itemtext p {
	#position: relative; /* ignored by other browsers */
	#top: -50%; /* ignored by other browsers */
	font-size: 10pt;
	line-height: 1.2em;
	margin: 0;
	padding: 0;
	width: 158px;
}

.location {
	font: 13pt papyrus, arial, fantasy;
	height: 25px;
}

.status {
	font: 13pt papyrus, arial, fantasy;
	padding-right: 10px;
	float: right;
}

.matrix {
	position: absolute;
	margin: 0;
	padding: 0 10px 10px 0px;
	width: 480px;
	height: 480px;
	background: url(/images/gridbackground.png) no-repeat top left;
}

.stats {
    font: 11pt Georgia, serif;
	height: 68px;
	padding: 10px 0 10px 10px;
	margin-bottom: 28px;
	border: 3px double black;
	white-space: nowrap;
	overflow: hidden;
    text-overflow: ellipsis;
}

.stats div {
    margin:0 45px 0 45px;
    float: left;
}

.info {
	font: 16pt papyrus, arial, fantasy;
	line-height: 28px;
	width: 100%;
	height: 367px; /* added 3 extra pixels to prevent scrollbar from appearing if not needed */
	overflow: auto;
}

.editor {
    font: 11pt Georgia, serif;
	text-align: center;
	margin-top: 25px;
	width: 100%;
    height: 480px;
}

.properties {
    overflow: auto;
    height: 390px;
}

/* TABLE STYLES ------------------------ */

table {
    border-collapse: collapse;
    border-spacing: 0px;
    border: 0px;
}

th {
	font: 13pt papyrus, arial, fantasy;
    text-align: center;
	vertical-align: bottom;
	border: 0px;
	border-bottom: 1px solid black;
}

td {
    text-align: center;
    vertical-align: top;
	font: 10pt Georgia, serif;
    height: 2.5em;
    padding: 0.5em 5px;
    border-top: 1px solid silver;
}

td.alignleft, th.alignleft {
    text-align: left;
}

td.title {
    font-size: 12pt;
}

tr.hover:hover {
    background-color: white;
}

/* MAIN NAVIGATION ------------------------ */

ul.navigation {
	padding: 0;
	margin: 5px 0 0 0;
	text-align: center;
	font: 16pt papyrus, arial, fantasy;
}

ul.navigation li {
	list-style-type: none;
	margin: 0 auto;
	padding: 0 1.2em;
	display: inline;
}

ul.navigation a:link {
	color: black;
	background-color: transparent;
	text-decoration: none;
}

ul.navigation a:visited {
	color: black;
	background-color: transparent;
	text-decoration: none;
}

ul.navigation a:hover {
	color: black;
	background-color: transparent;
	text-decoration: underline;
}

ul.navigation a:active {
	color: #fdfef6;
	background-color: black;
	text-decoration: none;
}

ul.navigation li.active {
	padding-top: 14px;
	background: url(/images/navindicator.png) no-repeat;
	background-position: 50% 0;
}

ul.navmini {
	padding: 0;
	margin: 0;
	text-align: right;
	font: 10pt Georgia, serif;
}

ul.navmini li {
	list-style-type: none;
	margin-left: 1.6em;
	margin-right: 0.4em;
	display: inline;
	line-height: 50px;
}

ul.navmini a:link {
	color: white;
	background-color: transparent;
	text-decoration: none;
}

ul.navmini a:visited {
	color: #dadada;
	background-color: transparent;
	text-decoration: none;
}

ul.navmini a:hover {
	color: #dadada;
	background-color: transparent;
	text-decoration: underline;
}

ul.navmini a:active {
	color: black;
	background-color: #dadada;
	text-decoration: none;
}

ul.navmini li.active {
	padding-bottom: 20px;
	background: url(/images/navindicatormini.png) no-repeat;
	background-position: 50% 25px;
}

ul.gamemenu {
	list-style-type: none;
	padding: 0;
}

ul.gamemenu li {
    margin: 0 20px 20px 0;
    float: left;
}

ul.gamemenu img {
    padding-right: 4px;
    vertical-align: middle;
    border: 0;
}

/* FOOTER ELEMENTS ------------------------ */

.footer {
	font: 10pt Georgia, serif;
	color: #fdfef6;
	border: 1px solid transparent; /* needed to keep footer elements aligned for some reason */
}

.footer ul {
	padding: 0;
	margin: 1em 0;
}

.footer ul li {
	list-style-type: none;
	padding-right: 1.2em;
	display: inline;
}

.footer a:link {
	color: #fdfef6;
	background-color: transparent;
	text-decoration: underline;
}

.footer a:visited {
	color: #dadada;
	background-color: transparent;
	text-decoration: underline;
}

.footer a:hover {
	color: black;
	background-color: #dadada;
	text-decoration: none;
}

.footer a:active {
	color: #fdfef6;
	background-color: #dadada;
	text-decoration: none;
}

.footer div {
	float: right;
	padding: 0;
	margin: 1em 0;
}

/* IMAGE STYLES ------------------------ */

img.rightalign {
	float: right;
	padding: 0 0 20px 20px;
}

img.leftalign {
	float: left;
	padding: 0 20px 20px 0;
}

div.centeralign { /* to center images, wrap with <div class="centeralign"></div> */
	text-align: center;
}

div.centeralign img {
	margin: 0 auto;
	padding-bottom: 20px;
}

img.iconpicker {
	border: 1px solid black;
	padding: 1px;
	margin-right: 8px;
	vertical-align: middle;
	background: #fdfef6 url('/images/parchment.jpg');
    float:left;
    cursor: pointer;
}

img.icon {
	margin-right: 10px;
	vertical-align: bottom;
}

/* ERROR MESSAGES ------------------------ */

#errorExplanation {
	margin: 10px 0;
	padding: 10px 10px 0 10px;
	border: black 1px dotted;
	display: none;
}

#errorExplanation h2 {
    font: small-caps 14pt Georgia, serif;
	margin: 0 0 0.5em 0;
}

.fieldWithErrors {
    display: inline;
}

.fieldWithErrors input {
    background: #DC143C;
    color: white;
}

.flash {
	font: small-caps 14pt Georgia, serif;
	text-align: center;
	line-height: 2em;
	width: auto;
	margin: 10px 35px -10px 35px;
	border: black 1px dotted;
	display: none;
}

/* BLOG STYLES ------------------------ */

.previouspage {
    float: left;
    font-size: 10pt;
}

.nextpage {
    float: right;
    font-size: 10pt;
}

.readmore {
    margin-top: -1em;
}

/* WORLD EDITOR STYLES ------------------------ */

.tools {
    float: left;
    width: 140px;
    padding-bottom: 0.5em;
}

img.toolicon {
	margin: 0 4px;
	vertical-align: top;
}

.maplist {
    padding-top: 10px;
    display: none;
}

.maplist ol {
    padding: 0;
}

.maplist li {
    margin: 5px;
	list-style-type: none;
}

.mapedit {
	background: #F0F8FF;
	border: #5F9EA0 1px dotted;
	padding: 5px;
	margin: 3px 0 10px 0;
	font-size: 0.8em;
	line-height: 1.8em;
	display: none;
}

img.terrain {
	border: 2px solid black;
	padding: 1px;
	margin: 1px;
	vertical-align: middle;
    float:left;
}

a img.terrain {
    border: 0;
	padding: 3px;
	margin: 1px;
}

a img.terrain:hover {
	border: 2px dotted black;
	padding: 1px;
	margin: 1px;
}

/* OTHER MISC STYLES ------------------------ */

hr {
    color: black;
    background-color: black;
    height:1px;
    border:none;
}

.clear {
	float: none;
	clear: both;
	height: 1px;
	margin: 0;
	padding: 0;
}

.spinner {
	font: 13pt papyrus, arial, fantasy;
	height: 25px;
	float: right;
}

.build {
    border:3px double silver;
    text-align:center;
    padding: 12px;
    font-size: 90%;
    font-style: italic;
}

#spinner {
    vertical-align: middle;
}

.bigname {
	font: 13pt papyrus, arial, fantasy;
	height: 25px;
}

.bignumber {
	font: 13pt papyrus, arial, fantasy;
	height: 25px;
	text-align: center;
	background: transparent;
}

#calc {
	font: 16pt papyrus, arial, fantasy;
    position: absolute;
    background: white;
    z-index: -1;
}

div.avatarpicker {
    font: 11pt Georgia, serif;
	width: 256px;
	float: left;
	margin: 0 25px 25px 0;
	padding: 10px 0 10px 10px;
	border: 1px solid black;
	white-space: nowrap;
	overflow: hidden;
    text-overflow: ellipsis;
}

div.avatarpicker:hover {
    background-color: white;
}

div.avatarpicker div {
    float: left;
    text-align:center;
    margin-right:15px;
    margin-left:0px;
    height: 90px;
}

