html {
	min-height: 100%;
	/*margin-bottom: 1px;*/
	overflow-y: scroll;
}

body {
	background-color: #F6F6F6;
	background-image: url("images/layout/background.png");
	background-attachment: fixed;
	margin: 0px;
	padding: 0px;
}

body,td {
	color: black;
	font-family: verdana, sans-serif;
	font-size: 9px;
	line-height: 12px;
}

img {
	margin: 0px;
	padding: 0px;
	border: 0px;
}


a {
	color: #000000;
	text-decoration: none;
}

a:hover {
	color: #666666;
}

input,textarea,select {
	/*-moz-border-radius-topleft: 8px;
	-webkit-border-top-left-radius: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-bottom-right-radius: 8px;	*/
}

input.username, input.password, input.login {
	width: 150px;
	padding: 4px;
	border: 2px solid #777;
}

input.username:focus, input.password:focus, input.login:focus {
	outline: none;
}

input.login {
	width: 100px;
	
	-moz-border-radius-bottomleft: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-bottom-right-radius: 8px;
	border-top-width: 0px;
}

input.login:hover {
	border: 2px solid #777;
	border-top-width: 0px;
}

input.username {
	-moz-border-radius-topleft: 8px;
	-webkit-border-top-left-radius: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-top-right-radius: 8px;
	border-bottom-width: 1px;
	margin-top: 4px;
}

input.username:hover {
	border: 2px solid #777;
	border-bottom-width: 1px;
}

input.password {
	-moz-border-radius-bottomleft: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-bottom-right-radius: 8px;
	border-top-width: 0px;
}

input.password:hover {
	border: 2px solid #777;
	border-top-width: 0px;
}

/*
input,textarea,select {
	border: 1px solid #999999;
	background-color: #CDCDCD;
	font-size: 9px;
	font-family: verdana;
}

option {
	color: black;
	background-color: #CDCDCD;
}
*/

input,textarea,select,button {
	border: 1px solid #CCCCCC;
	background-color: #F4F4F4;
	font-size: 9px;
	font-family: verdana, sans-serif;
	padding: 2px;
}

input:hover,textarea:hover,select:hover {
	background-color: #FDFDFD;
	border: 1px solid #777777;
}

option {
	color: black;
	background-color: #F4F4F4;
}

.radio {
	border: 0px solid #000000;
	background: #CDCDCD;
	color: #000000;
}

select {
	width: 160px;
}

div#top_quotes {
	text-align: left;
}

div#top_quotes div {
	padding-left: 80px;
	font-size: 16px;
	font-weight: bold;
	color: #777;
	line-height: 140%;
}

table.triTable {
	border-collapse: collapse;
	border: 1px solid black;
	margin: 4px;
}

table.triTable > tr td {
	border: 1px solid black;
}

div.d_ll {
	text-align: center;
	padding-bottom: 4px;
}

td.deep {
	background-image: url("images/layout/header_class_deep.png");
}

td.dark {
	background-image: url("images/layout/header_class_dark.png");
}

td.white {
	background-image: url("images/layout/header_class_white.png");
	background-position: left;
}

img.tab {
	background-image: url("images/misc/trans.gif");
	width: 10px;
	height: 1px;
}

div.tab {
	float: left;
	width: 10px;
	height: 1px;
}

SPAN.Quest {
	font-weight: bold;
}

div.quote {
	border-top: 1px solid #e9e9e9;
	border-left: 1px solid #e9e9e9;
	border-right: 1px solid #9e9e9e;
	border-bottom: 1px solid #9e9e9e;
	
	background: #c5c5c5;
	margin: 2px;
	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

div.quote_m {
	padding: 3px;
	padding-left: 5px;
	padding-top: 0px;
}

div.quote_t {
	padding-left: 3px;
	padding-top: 1px;
	font-weight: bold;
	font-variant: small-caps;
	font-size: 10px;
}

div.hr {
	height: 1px;
	background-color: #919191;
	width:100%;
	clear: both;
	margin-bottom:2px;
	font-size: 1px;
	padding: 0px;
	
}
div.invlink {
	margin: 4px;
	padding: 2px;
	width: 92%;
	border-style: solid;
	border-width: 1px;
	border-color: #919191;
	background-color: #DDDDDD;
}

div.invlink:hover {
	background-color: #FFFFFF;
}

div.gem {
	margin-bottom: 3px;
	padding: 2px;
	width: 98%;
	border-bottom: solid 1px #919191;
	background-color: #FFFFFF;
	vertical-align: middle;
}

div.back {
	width: 536px;
	margin-left: auto;
	margin-right: auto;
	padding: 4px;
	border-style: solid;
	border-width: 1px;
	border-color: black;
	background-color: #E8E8E8;
	text-align: center;
}

fieldset.window {
	width: 528px;
	border-color: black;
	background-color: #E8E8E8;
	text-align: left;
	border: 1px solid #303030;
	margin-bottom: 3px;
	margin-top: 0px;
}

fieldset.window legend {
	background-color: #E8E8E8;
	text-align: left;
	border-style: solid;
	border-width: 1px;
	border-bottom-width: 0px;
	padding-top: 1px;
	padding-bottom: 2px;
	padding-left: 4px;
	padding-right: 4px;
	font-weight: bold;
	font-size: 12px;
}

div.quests {
	border-top: 1px solid #919191;
	border-bottom: 1px solid #919191;
	background-color: #F2F2F2;
	padding: 2px;
}

div.dberrors {
	border-top: 2px solid #ff0000;
	border-bottom: 2px solid #ff0000;
	background-color: #ffaaaa;
	padding: 4px;
	color: #ff0000;
	font-variant: small-caps;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 6px;
	width: 760px;
	font-size: 10px;
}

div.debug {
	border-top: 2px solid #0000ff;
	border-bottom: 2px solid #0000ff;
	background-color: #aaaaff;
	padding: 4px;
	color: #0000ff;
	font-variant: small-caps;
	margin-left: auto;
	margin-right: auto;
	width: 982px;
	font-size: 10px;
}

div.debugheader {
	text-align: center;
	font-weight: bold;
	font-size: 12px;
}

div.window {
	border-color: black;
	background-color: #E8E8E8;
	text-align: left;
	border: 1px solid #505050;
	margin-bottom: 6px;
	margin-top: 0px;

	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;

}

div.wintop { /* Div Title */
	border-bottom: 1px solid #717171;
	font-size: 12px;
	font-weight: bold;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 3px;
	padding-right: 3px;
	margin-bottom: 2px;
	font-variant: small-caps;
	background-color: #CDCDCD;
	background-image: url("images/layout/wintop.gif");
	text-align: center;
	
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
}

div.winlight { /* Div Title */
	border: 1px solid #303030;
	font-size: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 3px;
	padding-right: 3px;
	background-color: #e5e5e5;
	background-image: url("images/layout/winlight.gif");
	background-repeat: repeat-x;
	text-align: center;
	
	margin-bottom: 6px;
	margin-top: 0px;
	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

div.winlisttop { /* Div Title */
	border-bottom: 1px solid #717171;
	font-size: 12px;
	font-weight: bold;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 3px;
	padding-right: 3px;
	margin-bottom: 0px;
	font-variant: small-caps;
	background-color: #CDCDCD;
	background-image: url("images/layout/wintop.gif");
	text-align: center;
	
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
}

div.windouble { /* Div Double */
	border-bottom: 1px solid #717171;
	border-top: 1px solid #717171;
	font-size: 12px;
	font-weight: bold;
	padding-top: 1px;
	padding-bottom: 2px;
	padding-left: 3px;
	padding-right: 3px;
	margin-bottom: 2px;
	margin-top: 2px;
	font-variant: small-caps;
	background-color: #CDCDCD;
	text-align: center;
	background-image: url("images/layout/wintop.gif");
}

div.winmid {
	padding-left: 3px;
	padding-right: 3px;
	text-align: center;
	padding-bottom: 2px;
}

div.winmid_nopad {
	text-align: center;
}

div.winmidL {
	padding-left: 3px;
	padding-right: 3px;
	text-align: left;
	padding-bottom: 2px;
}

div.winbot { /* Div Bottom */
	border-top: 1px solid #717171;
	font-size: 10px;
	font-weight: bold;
	padding: 2px;
	padding-left: 3px;
	padding-right: 3px;
	font-variant: small-caps;
	background-color: #CDCDCD;
	background-image: url("images/layout/wintop.gif");
	background-repeat: repeat-x;
	text-align: center;
}

div.winbotl { /* Div Bottom Large */
	border-top: 1px solid #717171;
	font-size: 12px;
	font-weight: bold;
	padding: 2px;
	padding-left: 3px;
	padding-right: 3px;
	font-variant: small-caps;
	background-color: #CDCDCD;
	background-image: url("images/layout/winbot.gif");
	background-repeat: repeat-x;
	text-align: center;
}

.clear {
	clear: both;
}

div.clear {
	height: 0px;
}

div.tri {
	width: 7px;
	height: 7px;
	margin-top: 3px;
	margin-right: 3px;
	margin-left: 2px;
	float: left;
}

span.ti {
	font-weight: bold;
	font-size: 13px;
}

.hlb {
	font-weight: bold;
}

/* Main Div Layout Things */
div.lay_main {
	width: 992px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	background-image: url("images/layout/l_d_all.gif");
}

div.lay_top {
	width: 992px;
	height: 116px;
	text-align:right;
}

div.lay_toptext {
	padding-top: 3px;
	padding-left: 14px;
	height: 12px;
	text-align: left;
}

img.text_img {
	position: relative;
	top: 2px;
	margin-right: 1px;
}

a.num_link {
	margin-left: 3px;
	margin-right: 3px;
}

a.num_link_right {
	margin-right: 3px;
}

div.lay_welcome {
	clear: both;
	padding-top: 7px;
	padding-right: 14px;
	padding-left: 14px;
}

div.lay_t {
	float: right;
}

div.ads {
	padding-top: 14px;
	padding-right: 14px;
	float: right;
	width: 728px;
	height: 90px;
}

div.lay_left {
	float: left;
	width: 205px;
	background-image: url("images/layout/l_d_lm.gif");
}

div.lay_infoL {
	float: left;
	text-align: right;
	width: 90px;
	padding-right: 2px;
	margin-bottom: 3px;
}

div.lay_infoR {
	margin-bottom: 3px;
	text-align: left;
}

div.lay_mid {
	width: 580px;
	/*background-image: url("images/layout/l_d_re.gif");*/
	background-color: #e8e8e8;
	float: left;
}

div.lay_right {
	float: right;
	width: 207px;
	background-image: url("images/layout/r_d_rm.gif");
}

div.lay_bot {
	width: 992px;
	height: 21px;
	text-align: right;
	background-image: url("images/layout/l_d_b.gif");
}

div.lay_colors {
	padding-right: 17px;
	padding-top: 4px;
	float: right;
}

div.lay_online {
	padding-left: 13px;
	padding-top: 3px;
	float: left;
}

/* Layout Functions */
div.d_rh {
	padding-left: 22px;
	padding-right: 37px;
	padding-top: 10px;
	font-weight: bold;
	text-align: left;
}

div.s_ttt {
	margin-bottom: 2px;
	height: 8px;
	font-size: 1px;
	background-image: url("images/layout/tooltip_header.png");
	background-position: 0px -1px;
	
	-moz-border-radius-topleft: 8px;
	-webkit-border-top-left-radius: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-top-right-radius: 8px;
}

div.s_ttb {
	margin-top: 2px;
	height: 8px;
	font-size: 1px;
	background-image: url("images/layout/tooltip_header.png");
	
	-moz-border-radius-bottomleft: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-bottom-right-radius: 8px;
}

a#chat {
	cursor: pointer;
}

div.cltitle {
	float: left;
	width: 245px;
	height: 68px;
	cursor: pointer;
}

div.billboard {
	width: 179px;
	max-height: 400px;
	overflow: hidden;
	padding-left: 0px;
	clear: both;
	text-align: justify; 
	margin-top: 2px;
	margin-bottom: 2px;
}

span.bb_author {
	font-variant: small-caps;
	font-size: 10px;
}

div.bb_message {
	text-indent: -1em;
	margin-left: 1em;
}

span.bb_message {
	font-size: 9px;
}

div.bb_header {
	margin-bottom: 6px;
	margin-top: 4px;
}

input.bb_input {
	background-color: transparent;
	width: 173px;
	height: 14px;
	padding: 2px;
	border-width: 0px;
	background-image: url("images/layout/bb_input.png");
}

button.bb_submit {
	background-color: #b7b7b7;
	margin: 0px;
	font-weight: bold;
	border-width: 0px;
	color: #FFFFFF;
	padding: 0px;
}

button.bb_bpost {
	width: 50px;
}

button.bb_brefr {
	width: 70px;
}

button.bb_bhist {
	width: 59px;
}

button.bb_bchat {
	width: 100%;
}

div.d_v img {
	margin-top: 2px;
	margin-bottom: 2px;
}

div.statrow {
	float: left;
	margin: 0px 5px 0px 5px;	
}

div.statrow > img {
	position: relative;
	top: 3px;
}

div.statbar {
	float: right;
}

div.pbar {

}

div.pbar div.pbar_title {
	font-weight: bold;
	font-variant: small-caps;
}

div.pbar div.pbar_title span.bar_name {
	color: #444;
	float: left;
	margin-left: 3px;
	
	
	font-size: 11px;
	
	position: relative;
	top: 1px;
}
	
div.pbar div.pbar_title span.bar_amount {
	color: #222;
	float: right;
	margin-right: 4px;
	
	font-size: 9px;
	
	position: relative;
	top: 2px;
}

div.pbar div.pbar_left {
	background-image: url('images/layout/bar_left.png');
	float: left;
	width: 3px;
	height: 10px;
}

div.pbar div.pbar_right {
		background-image: url('images/layout/bar_right.png');
		float: left;
		width: 3px;
		height: 10px;
}

div.pbar div.pbar_mid {
	height: 10px;
	float: left;
	position: relative;
	
	background-image: url('images/layout/bar_mid.png');
	
}

div.pbar div.pbar_mid div.pbar_color {
	height: 6px;
	margin: 2px 0px 2px 0px;
}
	
div.pbar div.pbar_mid div.pbar_gradient {
	width: 100%;
	height: 6px;
	position: absolute;
	top: 0px;
	left: 0px;
	margin: 2px 0px 2px 0px;
	
	background-image: url('images/layout/bar_gradient.png');
}

.l {
	text-align: left;
}

.c {
	text-align: center;
}

.r {
	text-align: right;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.i {
	font-style: italic;
}

/* Tooltip */

div.itemtt {
	border: 1px solid red;
	position: relative;
}

div.itemtt > div.tt {
	display: none;
	position: absolute;
	border: 1px solid green;
	background-color: #FFF;
	top: -100px;
	left: 0px;
}

div.itemtt:hover > div.tt {
	display: block;
}
