/* General HTML elements */
body { background: #dbd1ca url("../gfx/body-background.jpg") top left repeat-x; color: #000; }

h1, h2 { background: #8e745b url("../gfx/heading-background.jpg") top left repeat; color: #fff; border-bottom-color: #1f1914; border-bottom-style: solid; }

/* Useful Classes */
.error, .errors { color: #f00; }

/* Link Colours */
a { color: #574738; }
a:visited { color: #574738; }
a:focus { color: #8e745b; }
a:hover { color: #8e745b; }
a:active { color: #000; }

/* General Forms */
input.button { background: #574738; color: #fff; border-color: #1f1914; border-style: solid; }
input.button:hover, input.button:focus { background: #8e745b; color: #ff0; }
fieldset { border-color: #999; border-style: solid; }
input.text, select, textarea { border-color: #999; border-style: solid; }
input.required, select.required, textarea.required { border-color: #f00; }

fieldset.active { background: #99badb; }
fieldset.active legend { background: #99badb; }
fieldset.inactive { background: #ccc; }
fieldset.inactive legend { background: #ccc; }

fieldset fieldset { background: #fff !important; }
fieldset fieldset legend { background: #fff !important; }

/* Tables */
table { color: #000; background: #fff; }
th, td { border-color: #1f1914; border-style: solid; }
tr.even { background: #f5f3f1; }
thead tr { background: #8e745b url("../gfx/heading-background.jpg") top left repeat; color: #fff; }

/* Header */
div#header { background: transparent url("../gfx/library-of-leng.jpg") top left no-repeat; }

/* Main Menu */
ul#main_menu li a { color: #fff; text-decoration: none; }
ul#main_menu li a:hover, ul#user_strip li a:focus { color: #ff0; text-decoration: underline; }

/* User Strip */
ul#user_strip { color: #dbd1ca; }
ul#user_strip li a { color: #fff; text-decoration: none; }
ul#user_strip li a:hover, ul#user_strip li a:focus { color: #ff0; text-decoration: underline; }
input#user_username { background: #fff url("../gfx/background-username.jpg") center center no-repeat; }
input#user_password { background: #fff url("../gfx/background-password.jpg") center center no-repeat; }

/* Boxes */
div.box { background: #fff; border-color: #1f1914; border-style: solid; }
div.box:target, div.box.sftarget { border-color: #f00; }
div.box:target h2, div.box.sftarget h2 { color: #ff0; border-color: #f00; }

/* Card Previews */
a img.card_preview { border-color: #000; border-style: solid; background: url("http://mi.wizards.com/global/images/magic/general/magic_the_gathering.jpg") #000 no-repeat center center; }