@media screen {

/* ------------------------------------------------ basic */

* {
	margin: 0;
	padding: 0;
	font-size: 100%;
}

body {
	width: 720px;
	min-height: 100%;
	background-color: #ececec;
	background-image: url(../images/back-body.gif);
	background-repeat: repeat-y;
}

img {
	border: none;
}

h1, h2, h3, dt {
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
}

ul, ol, dl, p { 
	margin-top: 1em;
	margin-bottom: 1em;
}

a:link {
	color: #b22222;
	text-decoration: none;
}

a:visited {
	color: #b22222;
	text-decoration: none;
}

a:active {
	color: #b22222;
	text-decoration: none;
}

a:hover {
	color: red;
	text-decoration: none;
}

a:after {
	content: "";
}

#pagetop {
	padding: 160px 15px 10px 15px;
	font-size: 140%;
}

/* -------------------------------------------- container */

#container {
	width: 715px;
	line-height: 1.7;
}

/* ------------------------------------------ contentpane */

#contentpane {
	margin: 0 15px 25px 15px;
	padding: 0;
	min-height: 60%;
}

/* ----------------------------------------------- footer */

#footer {
	clear: both;
	width: 715px;
	margin-top: 25px;
	min-height: 56px;
	border-top: 1px dotted gray;
	text-align: center;
	color: gray;
	font-size: x-small;
}

#footer p {
	margin: 0;
	padding: 0;
	line-height: 1.5;
}

/* -------------------------------------- main navigation */

#nav {
	position: absolute;
	top: 0;
	left: 0;
	magin: 0;
	padding: 0;
	width: 715px;
	height: 143px;
	z-index: 4;
	background-image: url(../images/back-head.gif);
	background-repeat: repeat-x;
}

head+body #nav {
	position: fixed;
}

#mainnav {
	display: block;
	position: absolute;
	margin: 0;
	padding: 0;
	left: 0;
	top: 100px;
	height: 38px;
	width: 715px;
	z-index: 6;
	list-style-type: none;
}

head+body #mainnav {
	position: fixed;
}

#mainnav li {
	position: absolute;
	height: 38px;
	width: 102px;
	margin: 0;
	padding: 0;
	background-image: none;
	list-style-type: none;
	overflow: hidden;
}

#mainnav li a {
	display: block;
	height: 38px;
	padding: 22px 8px 0 0;
	background-image: url(../images/nav.gif);
	line-height: 1;
	font-size: 90%;
	text-align: right;
	overflow: hidden;
}

#mainnav li a:link, #mainnav li a:visited, #mainnav li a:hover {
	color: #6e6a7d;
	text-decoration: none;
}

#menu-top {
	top: 0px;
	left: 15px;
}

#menu-top a {
	background-position: -16px 0;
}

#menu-top a:hover {
	background-position: -16px -38px;
}

#menu-quest {
	top: 0px;
	left: 115px;
}

#menu-quest a {
	background-position: -116px 0;
}

#menu-quest a:hover {
	background-position: -116px -38px;
}

#menu-search {
	top: 0px;
	left: 215px;
}

#menu-search a {
	background-position: -216px 0;
}

#menu-search a:hover {
	background-position: -216px -38px;
}

#menu-history {
	top: 0px;
	left: 315px;
}

#menu-history a {
	background-position: -316px 0;
}

#menu-history a:hover {
	background-position: -316px -38px;
}

#menu-login {
	top: 0px;
	left: 415px;
}

#menu-login a {
	background-position: -416px 0;
}

#menu-login a:hover {
	background-position: -416px -38px;
}

#menu-logout {
	top: 0px;
	left: 415px;
}

#menu-logout a {
	background-position: -516px 0;
}

#menu-logout a:hover {
	background-position: -516px -38px;
}

/* --------------------------------------- sub navigation */

#subnav {
	float: left;
	width: 280px;
	margin: 0 0 25px 0;
	padding: 0;
}

#subnav dl {
	background-image: url(../images/back-subnav-dl.gif);
	background-repeat: repeat-y;
}

#subnav dt {
	padding: 5px 14px 7px 9px;
	background-image: url(../images/back-subnav-dt.gif);
	background-repeat: no-repeat;
	font-size: 120%;
	line-height: 1.5;
}

#subnav dd {
	padding: 0 14px 16px 20px;
	background-image: url(../images/back-subnav-dd.gif);
	background-repeat: no-repeat;
	background-position: bottom;
	font-size: 90%;
	line-height: 1.7;
}

#subnav li {
	list-style-type: none;
	background-image: url(../images/back-li.gif);
	background-position: 1px 0.5em;
	background-repeat: no-repeat;
	padding-left: 20px;
}

/* ---------------------------------------- headline news */

#headline-news {
	float: left;
	width: 380px;
	margin: 0 25px 25px 0;
	padding: 0;
}

#headline-news * {
	padding-left: 1em;
}

#headline-news h2 {
	padding: 0 7px;
	font-size: 160%;
}

#headline-news .meta {
	padding: 5px 7px 0 7px;
	width: 100%;
	height: 30px;
	background-image: url(../images/back-meta.gif);
	background-repeat: repeat-x;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 95%;
}

#headline-news li {
	list-style-type: none;
	background-image: url(../images/back-li.gif);
	background-position: 1px 0.5em;
	background-repeat: no-repeat;
	padding-left: 20px;
}

/* -------------------------------------- zone navigation */

#zonenav {
	float: left;
	width: 280px;
	margin-bottom: 10px;
}

#zonenav dl {
	margin: 0;
	padding: 0;
	background-image: url(../images/back-subnav-dl.gif);
	background-repeat: repeat-y;
}

#zonenav dt {
	padding: 5px 14px 7px 9px;
	background-image: url(../images/back-subnav-dt.gif);
	background-repeat: no-repeat;
	font-size: 120%;
	line-height: 1.5;
}

#zonenav dd {
	padding: 0 14px 16px 20px;
	background-image: url(../images/back-subnav-dd.gif);
	background-repeat: no-repeat;
	background-position: bottom;
	font-size: 90%;
	line-height: 1.7;
}

#zonenav li {
	list-style-type: none;
	background-image: url(../images/back-li.gif);
	background-position: 1px 0.5em;
	background-repeat: no-repeat;
	padding-left: 20px;
}

/* ------------------------------------------- quest list */

#questlist {
	float: left;
	width: 390px;
	margin-right: 15px;
	margin-bottom: 10px;
}

#questlist dt {
	margin: 0;
	padding: 0;
}

#questlist_category dt {
	padding: 3px 7px 0 7px;
	width: 355px;
	height: 30px;
	background-image: url(../images/back-meta.gif);
	background-repeat: repeat-x;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 110%;
}

#questlist_npc dt {
	padding: 3px 7px 0 7px;
	border-bottom: 2px solid gray;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 110%;
}

#questlist dd {
	padding-left: 15px;
	line-height: 1.7;
}

#questlist td {
	padding: 0 2px 0 2px;
	vertical-align: top;
}

/* ----------------------------------------- quick search */

#quick-search {
	position: absolute;
	z-index: 10;
	top: 100px;
	left: 525px;
	height: 38px;
	padding-top: 7px;
	font-size: 80%;
}

head+body #quick-search {
	position: fixed;
}

/* ----------------------------------------------- search */

#condition {
	margin-bottom: 7px;
	border-collapse: collapse;
}

#condition tbody tr th {
	padding: 5px 7px;
	border: 1px solid #a9a9a9;
	background-color: #696969;
	background-image: url(../images/back-black.gif);
	background-repeat: repeat-x;
	background-position: 0 -20px;
	color: white;
	text-align: left;
}

#condition tbody tr td {
	padding: 5px 4px;
	border: 1px solid #a9a9a9;
}

#condition tfoot tr td {
	padding-top: 3px;
}

#nifty-tab-menu {
	width: 685px;
	padding-top: 5px;
}

#nifty-tab-nav, #nifty-tab-nav li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#nifty-tab-nav {
	margin-left: 25px;
	width: 100%;
}

#nifty-tab-nav li {
	float: left;
	margin-right: 3px;
	text-align: center;
	background-image: url(../images/back-gray.gif);
	background-repeat: repeat-x;
	background-position: 0 -15px;
}

#nifty-tab-nav a {
	float: left;
	width: 6em;
	padding: 3px 0;
	text-decoration: none;
	color: white;
	font-weight: bold;
}

#nifty-tab-nav a:hover {
	background: #FFA826;
	color: #FFF;
}

#nifty-tab-nav li.activelink a, #nifty-tab-nav li.activelink a:hover {
	background-image: url(../images/back-black.gif);
	background-repeat: repeat-x;
	background-position: 0 -15px;
}

#search-body {
	clear: both;
	padding: 10px;
	border: 1px solid #696969;
}

#search-footer {
	margin-top: 5px;
	text-align: center;
}

/* ------------------------------------------ view common */

#view {
	padding: 0 15px;
}

#view h1 {
	padding: 160px 0 0 0;
	font-size: 150%;
}

#view h2 {
	margin: 5px 0;
	border-left: 10px solid black;
	border-right: 10px solid black;
	padding: 2px 5px !important;
	background-color: #dddddd;
	font-size: 130%;
}

div.draft-msg {
	border: 1px dashed black;
	margin: 3px 0;
	padding: 20px 30px;
	text-align: center;
	font-size: 200%;
	font-weight: bold;
	background-color: transparent;
}

#comment-link {
	margin: 0 3px;
	text-align: right;
}

#comment-link a:link {
	color: blue !important;
}

#comment-link a:visited {
	color: blue !important;
}

#comment-link a:active {
	color: blue !important;
}

#comment-link a:hover {
	color: blue !important;
}

#detail {
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	border-top: 3px double gray;
	border-bottom: 3px double gray;
	line-height: 1.5;
}

#detail th {
	padding: 3px 10px 3px 0;
	white-space: nowrap;
	border-bottom: 1px dashed gray;
	vertical-align: top;
	text-align: left;
}

#detail td {
	padding: 3px 0;
	border-bottom: 1px dashed gray;
}

#detail p, #detail ul {
	margin: 0;
	padding: 0;
}

#detail li {
	list-style-type: none;
	background-image: url(../images/back-li.gif);
	background-position: 1px 0.5em;
	background-repeat: no-repeat;
	padding-left: 20px;
}

div.block {
	margin: 10px 0;
}

#objectlist {
	margin: 0;
	padding: 0;
}

#objectlist ul {
	margin: 0;
	padding: 0;
}

#objectlist li {
	margin: 1px 0;
	padding: 0;
	background: none;
	vertical-align: middle;
}

#objectlist li img {
	width: 32px;
	height: 32px;
}

#objectlist li p {
	display: inline;
	padding-bottom: 3px;
}

#view div.widget {
	margin-top: 5px;
	text-align: center;
}

/* ------------------------------------------- view quest */

table.quest-chain {
	margin: 3px 0;
	border-collapse: collapse;
	border: 1px solid gray;
	width: 685px;
}

table.quest-chain th {
	padding: 5px 30px;
	border-right: 1px solid gray;
	background-color: #777777;
	color: white;
}

table.quest-chain td {
	border-right: 1px solid gray;
	padding: 30px 5px;
	text-align: center;
	width: 33%;
}

#quest-chart h2 {
	margin: 5px 0;
	padding: 0;
}

#quest-chart .link {
	padding: 0;
	margin: 0;
}

#quest-chart table {
	padding: 0;
	margin: 0;
	border-collapse: collapse;
	line-height: 1.7;
}

#quest-chart th {
	padding: 2px 5px;
	background-color: #eeeeee;
	border-bottom: 1px solid #aaaaaa;
}

#quest-chart td {
	padding: 4px 10px;
	border-bottom: 1px dashed #aaaaaa;
	vertical-align: middle;
}

.reward-platinum, .reward-gold, .reward-silver, .reward-copper {
	margin: 0 4px;
	padding-left: 18px;
	display: inline-block;
	line-height: 18px;
	font-weight: bold;
}

.reward-platinum {
	background: url(../images/reward-platinum.gif) left center no-repeat;
}

.reward-gold {
	background: url(../images/reward-gold.gif) left center no-repeat;
	color: gold;
}

.reward-silver {
	background: url(../images/reward-silver.gif) left center no-repeat;
	color: silver;
}

.reward-copper {
	background: url(../images/reward-copper.gif) left center no-repeat;
	color: #D2691E;;
}

/* -------------------------------------------- view step */

div.step {
	margin-bottom: 20px;
	line-height: 1.7;
}

div.step div.step-header {
	padding: 5px 10px !important;
	background-color: #eeeeee;
	border-bottom: 1px solid #aaaaaa;
}

div.step div.step-header h3 {
	margin: 0;
	font-size: 120%;
	display: inline;
}

div.step div.step-body {
	margin: 0 15px;
}

div.step div.step-box {
	padding: 10px;
	background-color: #eeeeee;
}

div.step div.step-box h4 {
	padding: 0;
	margin: 0 0 3px 0;
	font-size: 110%;
	border-bottom: 1px dashed gray;
}

.step ul, .step ol {
	margin-left: 30px;
}

/* ------------------------------------------------ entry */

table.entry-form th {
	text-align: left;
}

table.entry-form td {
}

.required {
	color: red;
}

#step-pattern {
	margin: 2px 0;
	padding: 5px;
	background-color: #dcdcdc;
}

#selectionlist, #relationlist {
	width: 100%;
	border-collapse: collapse;
}

#selectionlist th, #relationlist th {
	height: 20px;
	background-image: url(../images/back-black.gif);
	background-position: 0 -25px;
	background-repeat: repeat-x;
	color: white;
}

#selectionlist td, #relationlist td {
	padding: 0 5px;
	border-bottom: 1px solid #696969;
}

#buttons {
	margin-top: 3px;
}

/* ------------------------------------------------- ajax */

a.ajax-action {
	padding: 0 3px;
	padding-left: 16px;
	background: url(../images/execute.gif) left center no-repeat;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	line-height: 16px;
}

a.ajax-action:link {
	color: blue !important;
}

a.ajax-action:visited {
	color: blue !important;
}

a.ajax-action:active {
	color: blue !important;
}

a.ajax-action:hover {
	color: blue !important;
}

/* ---------------------------------------------- message */

div.info, div.error {
	margin: 5px 0;
	padding: 10px;
}
	
div.info {
	background-color: #ccffff;
	color: blue;
}

div.error {
	background-color: #ffeeff;
	color: red;
}

div.info ul, div.error ul {
	margin: 0;
	padding: 0 0 0 2em;
}

div.info ul li, div.error ul li {
	list-style-type: none;
	background-image: url(../images/back-li.gif);
	background-position: 1px 0.5em;
	background-repeat: no-repeat;
	padding-left: 20px;
}

div.error a:link {
	color: red !important;
}

div.error a:visited {
	color: red !important;
}

div.error a:active {
	color: red !important;
}

div.error a:hover {
	color: red !important;
}

div.box {
	margin: 5px 0;
	background-color: #eeeeee;
	padding: 10px;
}

/* ---------------------------------------- admin toolbar */

#admintoolbar {
	display: block; /* IE5 */
	position: relative;
	z-index: 10;
	bottom: 0;
	left: 0;
	margin: 0;
	width: 715px;
	height: 24px;
	background-image: url(../images/back-admintoolbar.gif);
	background-repeat: repeat-x;
	text-align: right;
}

body>#admintoolbar {
	position: fixed;
}

#admintoolbar ul {
	margin: 0;
	padding: 5px 15px;
}

#admintoolbar li {
	padding: 0 7px;
	list-style: none;
	font-size: 90%;
	display: inline;
}

/* ---------------------------------------------- history */

.history dl {
}

.history dt {
}
	
.history dd {
	margin-top: 10px;
	padding-left: 20px;
}

.history span.datetime {
	color: gray;
	font-style: italic;
}
.history span.type {
	font-style: italic;
}

.history span.title {
}

.history td {
	padding: 0 10px;
	height: 24px;
}

/* ------------------------------------------------ chart */

#chart {
	margin: 25px 0;
	text-align: center;
}

/* --------------------------------------------- location */

div.loc h3 {
	margin: 15px 0 8px 0;
	padding: 5px 5px;
	border: 1px solid black;
	background-color: #efefef;
}

/* ------------------------------------------ message box */

#mbox {
	margin: 5px 0;
}
	
#mox ul {
	margin: 0;
	padding: 0;
}

#mbox li {
	margin: 0;
	padding: 0;
	padding-left: 15px;
	list-style-type: none;
	background-image: url(../images/point.png);
	background-repeat: no-repeat;
	background-position: 0 1px;
}

#mbox div {
	margin: 2px 0;
	padding: 5px 0 5px 25px;
	background-repeat: no-repeat;
	background-position: 5px 5px;
}

#mbox div.information {
	border: 1px solid blue;
	background-image: url(../images/info.png);
	background-color: #e0ffff;
}

#mbox div.warning {
	border: 1px solid #ffd700;
	background-image: url(../images/warning.png);
	background-color: #fffacd;
}

#mbox div.error {
	border: 1px solid red;
	background-image: url(../images/error.png);
	background-color: #ffe4e1;
}

/* ------------------------------------------------ other */

div.draft {
	background-image: url(../images/back-draft.gif);
}

a.external {
	background: url(../images/extlink.gif) left center no-repeat;
	padding-left: 16px;
	display: inline-block;
}

img.photo {
	margin: 2px;
	padding: 3px;
	border: 1px solid gray;
}

img.cover {
	padding: 3px;
	border: 1px solid gray;
}

.totop {
	font-size: 80%;
	text-align: right;
}

.totop a {
	text-decoration: none;
	color: #666655;
}

input.button, input.button-left-arrow, input.button-right-arrow {
	margin: 0px;
	height: 27px;
	width: 102;
	border: none;
	background-image: url(../images/back-btn.gif);
	overflow: hidden;
	cursor: pointer;
}

input.button {
	background-position: -102px 0;
}

input.button:hover {
	background-position: -102px -27px;
}

input.button-left-arrow {
	background-position: 0 0;
}

input.button-left-arrow:hover {
	background-position: 0 -27px;
}

input.button-right-arrow {
	background-position: -204px 0;
}

input.button-right-arrow:hover {
	background-position: -204px -27px;
}

}
