/* Copyright (C) 2005-2010 dmox.net
 *
 * This file is part of Generia.
 *
 * Generia is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Generia is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 */

hr
{	
	border: 1px solid #eee;
}

/**************
 * TEST STYLE *
 **************/

/**
 * Basic page stuff
 **/
body 
{	
	background-color: #fff;
	padding: 0;
	margin: 0;
}

body, li, td, div
{
	font: 11px verdana, arial, sans-serif;
}

a, a:visited
{
	text-decoration: none;
	font-weight: bold;
	color: #273c67;
}

a:hover {
	color: #4a70c2;
	text-decoration: none;
}

a:visited{
	outline: none;
}

p
{
	margin: 2px 0px 0px 0px;
}

h1
{
	font: 13px verdana, arial, sans-serif;
	font-weight: bold;
}

h2, h3, h4
{
	font: 11px verdana, arial, sans-serif;
	margin: 0px 0px 0px 0px;
}

h3
{
	font-size: 10px;
}

h4
{
	font-size: 9px;
}


ul
{
	list-style-type: none;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

/**
 * Main white_stone page
 **/
div.page
{
	background-color: #d5d2ce;
	padding: 8px;
	border: none;
}

div.space
{
	margin: 8px;
}

/**
 * Window style (title has to use tables.. for now)
 **/
div.window_content
{
	border-left: 1px solid #eaeaea;
	border-top: 1px solid #eaeaea;
	border-right: 1px solid #e0e0e0;
	background-color: #f4f4f4;
	padding: 8px 8px 0px 8px;
}

div.sub_window_content
{
	border-left: 1px solid #dadada;
	border-top: 1px solid #dadada;
	border-right: 1px solid #d0d0d0;
	background-color: #fff;
	padding: 8px;
}

div.window_footer
{
	height: 8px;
	border-left: 1px solid #eaeaea;
	border-right: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	background-color: #f4f4f4;
}

table.window_title
{
	width: 100%;
	height: 24px;
	padding: 4px 8px;
	margin: 0px;
	background: #5b88eb;
	border: none;
	color: white;
}

table.window_title_highlighted
{
	cursor: default;
	width: 100%;
	height: 24px;
	padding: 4px 8px;
	margin: 0px;
	background: #4a70c2;
	border: none;
	color: white;
}

table.window_title a, table.window_title a:visited
{
	text-decoration: none;
	font-weight: bold;
	color: #bbbbff;
}

table.window_title a:hover {
	background: #4a70c2;
	color: #bbbbff;
	text-decoration: underline;
}

td.window_title_left
{
	font-weight: bold;
	text-align: left;
	width: auto;
	vertical-align: middle;
}

td.window_title_right
{
	font-weight: bold;
	text-align: right;
	width: 25%;
	vertical-align: middle;
}

td.window_title_center
{
	font-weight: bold;
	text-align: center;
	width: auto;
	vertical-align: middle;
}

/* Placeholder */
.shade_toggle
{
}

/**
 * Oh, the pane
 **/
#top_pane
{
	color: #eee;
	background: #5b88eb;
;
	height: 32px;
	margin-top: 0px;
}

#top_name {
	color: #fff;
	font-size: 20px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

#bottom_pane
{
	width: auto;
	height: 50px;
	margin: 0px 0px 0px 0px;
	background-color: #d5d2ce;
	border: 1px solid silver;
}

#left_pane
{
	position: absolute;
	top: 74px;
	left: 0px;
	width: 200px;
}

#right_pane
{
	position: absolute;
	top: 74px;
	right: 0px;
	width: 200px;
}

#center_pane
{
	position: absolute;
	top: 74px;
	left: 208px;
	width: 544px;
}

#page_wrapper {
	position: relative;
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	
}

#page_header {

}

/* Top nav */
#top_nav {
	height: 16px;
	margin: 0;
	padding: 0;
	background: #5b88eb;
	color: #ffffff;
}

#top_nav_bottom {
	color: #eee;
	background: #4a70c2;
	height: 22px;
	margin: 0;
	padding: 0;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
}

a.nav-default {
	color: #fff;
	background: #5b88eb;
	text-decoration: none;
	padding: 4px 4px 1px 4px;
	text-decoration: none;
}

a.nav-active {
	color: #fff;
	background: #4a70c2;
	text-decoration: none;
	padding: 4px;
}

a.sub-nav-default {
	color: #fff;
	background: #4a70c2;
	font-size: 11px;
	font-weight: normal;
	text-decoration: none;
	margin: 4px 0 0 0;
}

a.sub-nav-active {
	color: #fff;
	text-decoration: none;
}

#mainMenu {
	padding: 0 16px;
}
#mainMenu li
{
	padding: 0 8px;
	display: inline;
}

#subMenu {
	padding: 4px 16px;
}
#subMenu li
{
	padding: 0 8px;
	display: inline;
}

/**
 * s appearance
 **/
.box
{
	padding: 8px;
	background: #eee;
}

.highlight_box
{
	padding: 8px;
	background-color: #adfdfd;
}

.light_box
{
	padding: 8px;
	background-color: #fdfdfd;
}

.lighter_box
{
	padding: 8px;
	background-color: #fefefe;
}

.header_box
{
	padding: 8px;
	margin: 0 0 8px 0;
	background-color: #eee;
	color: #444;
	font-weight: bold;
	border-top: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	border-right: 1px solid #eaeaea;
	border-bottom: 1px solid #eaeaea;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.box, .light_box, .lighter_box, .error, .round_border, .corners
{
	border-top: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	border-right: 1px solid #eaeaea;
	border-bottom: 1px solid #eaeaea;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

div.error
{
	padding: 8px;
	color: red;
	background-color: #fdfdfd;
	font-weight: bold;
	text-align: center;
}

div.info
{
	font-weight: bold;
	padding: 8px;
	background-color: #d5d2ce;
	border: 1px solid silver;
}

.input_box, input, textarea, select, .button
{
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: .4em;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.button
{
	border-left: 1px solid #eee;
	border-top: 1px solid #eee;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background-color: #eee;
}


fieldset { padding:0; border:0; }
fieldset label, fieldset input, fieldset select { display:block; }
fieldset input, fieldset select, fieldset textarea { margin-bottom: 8px; padding: .4em; }

.search_item
{
	background-color: #f0f0f0;
}

a.no_underline
{
	text-decoration: none;
	font-weight: bold;
}

#inv_menu
{
	float: right;
	background-color: #dedbd7;
	border-style: solid;
	border-width: 1px;
	border-color: #000000;
	float: right;
}
#inv_main
{
	padding: 6px;
	/*margin-top: 1em;*/
	background-color: #dedbd7;
	border-style: solid;
	border-width: 1px;
	border-color: #000000;
}

.tab
{
	display: inline;
	text-align: right;
	margin: 0px;
	padding: 0px 0px 0px 0px;
}

.tab ul
{
	margin: 8px 8px 5px 8px;
	clear: both;
}

.tab ul li
{
	margin: 0px;
	padding: 0px;
	display: inline;
}

.tab ul li a
{
	padding: 4px;
	background-color: #fafafa;
	text-decoration: none;
	color: #444;
	border: 1px solid silver;
	border-bottom-color: #eee; 

}

.tab ul li a:hover
{
	background-color: #eeeeff;
	text-decoration: underline;
}

#tab_selected
{
	padding: 4px;
	background-color: #f4f4f4;
	border: 1px solid silver;
	border-bottom-color: #f4f4f4;
	text-decoration: none;
	color: #000000;
}

/* Text justification */
.leftText {
	text-align: left;
}

.rightText {
	text-align: right;
}

.centerText {
	text-align: center;
}

.left {
	margin-left: 0;
	margin-right: auto;
}

.right {
	margin-right: 0;
	margin-left: auto;
}

.center {
	margin-left: auto;
	margin-right: auto;
}

.small
{
	font: 9px verdana, arial, sans-serif;
}

.largeText
{
	font: 13px verdana, arial, sans-serif;
}

/* Floating monster image */
.monster_image
{
	width: 100px;
	background-color: #000000;
	border: 1px solid silver;
	margin: 4px auto 0 auto;
}

.desc_item_image
{
	float: right;
	width: 30px;
	margin: 0px 0px 8px 8px;
}

.noborder
{
	border: none;
}

.item
{
	border: 1px solid #aaaaaa;
	border-top-color: #ccc;
	border-left-color: #ccc;
	border-right-color: #aaa;
	border-bottom-color: #aaa;
}

.indent
{
	margin-left: 1em;
	margin-right: 1em;
}

.border
{
	border: 1px solid silver;
}

.hidden
{
	display: none;
}

.get_container
{
	width: 240px;
	height: 32px;
	padding: 4px;
	background: #fafafa;
	text-align: center;
	border-top: 1px solid #eee; 
	border-left: 1px solid #eee; 
	border-right: 1px solid #ddd; 
	border-bottom: 1px solid #ddd;
}

.get_img
{
	float: left;
	margin: 0px 4px 0px 0px;
}

.get_info
{
	
}

.get_text
{
	color: #444;
	font-weight: bold;
	text-align: left;
}

.get_quant
{
	color: #333;
	font-size: 10px;
	text-align: left;
}

.config_option
{
	text-align: left;
	padding: 4px;
	vertical-align: middle;
}

.header_label
{
	color: #444;
	font-weight: bold;
}

.vital
{
	height: 8px;
}

#left_stat
{
	float: left;
	width: 66px;
}

#right_stat
{
	margin-left: 92px;
}

#left_stat label, #right_stat label
{
	float: left;
	display: inline;
}

#left_stat p, #right_stat p
{
	text-align: right;
	width: 100%;
}

.stat_up { color: blue; }
.stat_down { color: red; }

#debugStats { text-align: center; font-size: 8px; color: gray; }

/* Item acquisition style */
.itemWrapper_small { overflow: auto; width: 138px; margin: 4px; padding: 8px; }
.itemWrapper_medium { overflow: auto; width: 178px; margin: 4px; padding: 8px; }
.itemWrapper_large { overflow: auto; width: 200px; margin: 4px; padding: 8px; }
.itemImage { float: left; width: 30px; height: 30px; margin: 0 8px 0 0px; }
.itemName { margin-left: 38px; }
.itemQuantity { float: right; top: 0; right: 0; background-color: #ddf; color: #777; font-weight: bold; font-size: 8px; vertical-align: middle; text-align: center; padding: .5em .75em; }

/* Keep div from spilling out of wrapper */
.invContent { width: 488px; }
.invContent, .invInnerContent { overflow: auto; } 
.invItemWrapper { float: left; width: 200px; margin: 4px; padding: 8px; }
.invItemWrapperBlock { width: 200px; margin: 4px; padding: 8px; }
.invItemImage { float: left; width: 30px; height: 30px; margin: 0 8px 0 0px; }
.invItemName { margin-left: 38px; height: 30px; }
.invItemQuantity { float: right; top: 0; right: 0; background-color: #ddf; color: #777; font-weight: bold; font-size: 8px; vertical-align: middle; text-align: center; padding: .5em .75em; }
.invItemMisc { margin: 4px 0 0 38px; cursor: pointer; }

.invItemMisc a {
	font: 8px verdana, arial, sans-serif;
	color: #666;
	padding: 2px 6px;
	margin-right: 8px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.invItemMisc a:hover { background-color: #aaf; color: #ffffff; text-decoration: none; }


/* Menu colors */

/*
.menu-ui-state-default
{
	color: #444;
	background-color: #fff;
	font-weight: normal;
	outline: none;
}

.menu-ui-state-default a, .menu-ui-state-default a:hover, .menu-ui-state-default a:focus
{
	color: #444;
}

* Hovered menu item *
.menu-ui-state-hover, .menu-ui-state-focus
{
	color: #fff;
	background-color: #e9f0ff;
	outline: none;
	text-decoration: none;
	cursor: pointer;
}

.menu-ui-state-hover a:hover, .menu-ui-state-focus a:hover, .menu-ui-state-hover a:focus, .menu-ui-state-focus a:focus
{
	text-decoration: none;
}


.menu-ui-state-active, .menu-ui-state-active a, .menu-ui-state-active a:hover, .menu-ui-state-active a:focus
{
	background-color: #7287b3;
	color: #ffffff;
	outline: none;
	text-decoration: none;
}
*/

.gain
{
	margin: 0;
	text-align: center;
}

.form_block
{
	margin: 0 0 8px 0;
}

.spacer
{
	margin: 8px 0 0 0;
}

#footer {
	text-align: center;
	font-size: 9px;
}

.footerItem {
}

#footerCounter {
	color: gray;
}
