/***** Global *****/

body {
	background: #0A0911 url("../images/generic/bg-body.gif") no-repeat top center;
	font: normal 12px arial;
	color: #453025;
	margin: 0;
	padding: 0;
}

#container {
  background: #080812 url("../images/generic/bg-header.jpg") no-repeat top left;
	width: 968px;
	overflow: hidden;
	border: 1px solid #676566;
	margin: 0 auto;
	margin-top: 20px;
	padding-bottom: 50px;
	position: relative;
}

.nodisplay {
	display: none;
}

.both {
	clear: both;
}

a {
	color: #453025;
}

a img {
	border: 0;
}

p {
	font: normal 12px arial;
	color: #453025;
	margin: 0;
	padding: 0;
}

.img-floatleft {
	float: left;
}

.floatleft {
	float: left;
	margin-right: 5px;
}

.floatright {
	float: right;
	margin-right: 5px;
}

.floatrighttop4 {
	float: right;
	margin: 4px 5px 0 0;
}

img.realign {
	margin-top: 10px;
}

/***** Headers *****/

h1 {
	padding: 0;
	margin: 0;
	font: bold 22px Arial;
}

h1 a {
	text-indent: -9999px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 200px;
	height: 100px;
}

h2 {
	color: #453025;
	padding: 0;
	margin: 0;
	font: bold 120% Arial;
	display: inline;
	float: left;
}

h2 a {
	color: #453025;
}

/***** Brown Parchement Headers *****/

h3 {
	background: url("../images/generic/bg-header_wide.gif") no-repeat top left;
	height: 23px;
	clear: both;
	margin: 0;
	font: bold 12px arial;
	padding-left: 15px;
	padding-top: 7px;
	color: #F6E7C1;
}

h3 a {
	font-size: 90%;
	color: #F6E7C1;
	margin-left: 20px;
}

h3 span a {
	font-size: 90%;
	color: #F6E7C1;
	margin-left: 0;
}

/***** Main Header Bar *****/

#header {
	margin-left: 244px;
	padding: 8px 0 0 0;
	color: #8E8570;
	font: normal 12px arial;
}

.authenticationinfo {
  font: Arial 11px;
  float: right;
  margin: 4px 15px 0 0;
  color: #8E8670;
}

.authenticationinfo a {
  font: Arial 11px;
  color: #8E8670;
}

#myaccountbutton {
	float: right;
	display: inline;
	margin: 0 10px 0 0;
}

/***** Parchment Tabs *****/ 

#tabs_container {
	width: 968px;
	margin: 120px 0 0 0;
	padding: 0;
}

div#tabs {
  height: 30px;
}

ul#tabs {
	margin: 0 110px 0 0;
	padding: 0;
	list-style: none;
	float: right;
	display: inline;
}

ul#tabs li {
	float: left;
	display: block;
	background: url("../images/tabs/tab.gif") no-repeat top left
}

ul#tabs li a {
	float: left;
	display: block;
	width: 156px;
	height: 22px;
	color: #4E382B;
	font: bold 12px Arial;
	text-decoration: none;
	text-align: center;
	padding-top: 7px;
	background: url("../images/tabs/tab.gif") no-repeat top left
}

ul#tabs li a:hover {
	text-decoration: underline;
}

.notabs {
	height: 29px;
}

/***** Parchment Layout *****/

#parch {
	width: 675px;
	float: right;
	display: inline;
	margin: 130px 30px 0 0;
	padding: 0;
}

#parch_popup {
	width: 675px;
	float: right;
	display: inline;
	margin: 0px 30px 0 0;
	padding: 0;
}

#parch_withtabs {
	width: 675px;
	float: right;
	display: inline;
	margin: 101px 30px 0 0;
	padding: 0;
}

#parch_header_tab1_on {
	background: url("../images/generic/parch_header_tab1.gif") no-repeat top left;
	height: 64px;
}

#parch_header_tab2_on {
	background: url("../images/generic/parch_header_tab2.gif") no-repeat top left;
	height: 64px;
}

a.parch_header_tab1_link {
  font: bold 15px Arial;
  float: left;
  display: inline;
  margin: 5px 0 0 315px;
  text-decoration: none;
}

a.parch_header_tab2_link {
  font: bold 15px Arial;
  float: left;
  display: inline;
  margin: 5px 0 0 93px;
  text-decoration: none;
}

#parch_header {
	background: url("../images/generic/parch_header.gif") no-repeat top left;
	height: 35px;
}

#parch_body {
	background: url("../images/generic/bg-parch.gif") repeat-y top left;
	padding: 0 30px 0 30px;
	overflow: hidden;
	width: 615px;
}

#parch_footer {
	background: url("../images/generic/parch_footer.gif") no-repeat top left;
	height: 39px;
}

/***** Filter Boxes CSS *****/

.filtertable {
	float: left;
	display: inline;
	margin: 20px 0 0 0;
}

.filterheader {
  background: url("../images/generic/bg-header_wide.gif") no-repeat top left;
	font: bold 12px arial;
	height: 30px;
	padding: 0 0 0 15px;
	color: #F6E7C1;
}

.filterbox_search {
  background-color: #F3E0AD;
  font: Italic 11px Arial;
  width: 170px;
  padding: 15px 15px 5px 15px;
  vertical-align: top;
}

.filterbox_fields {
  background-color: #F3E0AD;
  font: Italic 11px Arial;
  width: 110px;
  padding: 10px 15px 5px 15px;
  vertical-align: top;
}

.filterbox_filters {
  background-color: #F3E0AD;
  font: Italic 11px Arial;
  width: 131px;
  padding: 10px 15px 5px 15px;
  vertical-align: top;
}

.filterbox_filters select {
  font: 11px Arial;
}

.filterbox_searchbutton {
  background-color: #F3E0AD;
  font: Italic 11px Arial;
  width: 80px;
  padding: 10px 15px 5px 15px;
  vertical-align: middle;
  text-align: center;
}

/***** Results Table CSS *****/

.resultstable {

}

.headerrow {
  background: #453025;
}

th.headercell {
  padding: 3px 10px 6px 15px;
  color: #FCEAB9;
}

th.headercell a {
  color: #FCEAB9;
}

th.title {
  background: url("../images/generic/bg-header_wide.gif") no-repeat top left;
  padding: 7px 10px 7px 10px;
  text-align: left;
  color: #FCEAB9;
}

.resultstable tr.resultsrow1 td.resultscell {
  background: url("../images/generic/bg-gold_wide.gif") repeat-y top left;
  background-position: 20% 0%;
  padding: 7px 10px 7px 15px;
  vertical-align: top;
  color: #453025;
}

.resultstable tr.resultsrow2 td.resultscell {
  background: url("../images/generic/bg-gold_wide_dark.gif") repeat-y top left;
  background-position: 20% 0%;
  padding: 7px 10px 7px 15px;
  vertical-align: top;
  color: #453025;
}

.resultstable tr.resultsrow1 td.resultscell2 {
  background: url("../images/generic/bg-gold_wide.gif") repeat-y top right;
  padding: 7px 10px 7px 15px;
  vertical-align: top;
  color: #453025;
}

.resultstable tr.resultsrow2 td.resultscell2 {
  background: url("../images/generic/bg-gold_wide_dark.gif") repeat-y top right;
  padding: 7px 10px 7px 15px;
  vertical-align: top;
  color: #453025;
}

.resultstable tr.noresultsrow td {
  background: url("../images/generic/bg-gold_wide.gif") repeat-y top left;
  background-position: 20% 0%;
  padding: 7px 10px 7px 15px;
  vertical-align: top;
  color: #453025;
}

.paging td {
  padding: 0;
  text-align: right;
  vertical-align: top;
}

.paging td table {
  float: right;
}

.paging span {  
  background: #453025;
  font: 11px Arial;
  display: block;
  margin: 14px 0 0 2px;
  padding: 4px 7px 4px 7px;
  border: 1px solid #453025;
  color: #EFDCA7;
  text-decoration: none;
}

.paging a {  
  background: #F3E0AD;
  font: 11px Arial;
  display: block;
  margin: 14px 0 0 2px;
  padding: 4px 7px 4px 7px;
  border: 1px solid #453025;
  color: #453025;
  text-decoration: none;
}

.results_deckname {
  font: bold 12px Arial;
}

.results_decktype {
  font: 11px Arial;
}

.footerrow td {
  background: url("../images/generic/bg-tablefooter.gif");
  height: 5px;
  font: 9px Arial;
}

/***** Footer *****/

#footer_container {
	width: 968px;
	height: 40px;
	margin: 0 auto;
	font: 11px Arial;
	color: #D79646;
}

#copyright {
	float: left;
	margin: 10px 0 0 5px;
}

#copyright a {
	color: #D79646;
	margin: 0 0 0 20px;
	text-decoration: underline;
}

#copyright a:hover {
	color: #FFF;
	text-decoration: underline;
}

#versioninfo {
	float: right;
	margin: 5px 0 0 0;
}

#versioninfo a {
	color: #D79646;
	margin: 0 5px 0 5px;
	text-decoration: underline;
}

#versioninfo a:hover {
	color: #FFF;
	text-decoration: underline;
}

/***** Score Box *******/

.deck_score_box 
{
 background: url("../images/generic/bg-likedeck.gif"); 
 font: bold 20px Arial; 
 float: left; 
 display: inline; 
 padding: 5px 0 0 0;
 width: 67px; 
 height: 74px; 
 text-align: center; 
}

.deck_score_box input 
{
  margin: 17px 0 0 0px;
}

.deck_score_box a
{
  margin: 17px 0 0 0px;
}

/***** Message Box CSS *****/

.formfield_required {
	font: 12px Arial;
	float: left;
	display: inline;
	margin: 0 0 0 3px;
	color: #666;
}

.messagebox_error {
  background-color: #FDE2E2;
	border: 1px solid #E37A78;
	width: 595px;
	font: 12px Arial;
	line-height: 1.5;
	padding: 10px 10px 10px 10px;
	margin: 15px 0 0 0;
	color: #666;
}

.messagebox_success {
  background-color: #D9EDD9;
	border: 1px solid #CBEBD6;
	width: 595px;
	font: 12px Arial;
	line-height: 1.5;
	margin: 15px 0 0 0;
	padding: 10px 10px 10px 10px;
	color: #666;
}

.messagebox_info {
  background-color: #FFF;
	border: 1px solid #CCC;
	width: 595px;
	font: 12px Arial;
	line-height: 1.5;
	margin: 15px 0 0 0;
	padding: 10px 10px 10px 10px;
	color: #666;
}

/*** Draw Card CSS ***/

.draw_new_card_link {
	color: #D79646;
	margin: 10px 10px 0 5px;
	text-decoration: underline;
  float: right;
}

.resultstable tr.resultsrow1 td.resultscell_dc {
  background: url("../images/generic/bg-gold_wide.gif") repeat-y top left;
  background-position: 20% 0%;
  padding: 7px 5px 7px 5px;
  vertical-align: top;
  color: #453025;
}

/*** Homepage Deck Info ****/

.deck_overview 
{
  float: left;
  color: #453025;
  padding: 0 0 10px 0;
}

.deck_overview_body
{
  font: 11px Arial; 
  float: left; 
  display: inline; 
  margin: 3px 0 0 10px; 
  width: 300px;
}

.deck_overview_smallprint
{
  font: 11px Arial; 
  color: #71594D;
  padding: 5px 0 0 0;
}

.deck_title 
{
  font: bold 14px Arial;
}

.deck_description {
  font: 12px Arial; 
  width: 300px; 
  height: 30px;
  overflow: auto;
}
