@import url("reset.css");

/* TAGS ------------------------------------------------------------------------------------------------------------------------- */

html {}

body {
	background: #d2d8bc url("/images/backgrounds/body.gif") repeat-x;
	
	margin: 0px;
	padding: 0px;
	cursor: default;
	
	font-size: 0.75em;
	font-family: Tahoma, Verdana, Helvetica, Arial, Sans-serif;
	color: #000000;
}

p {	margin: 0 0 1em 0; }

a,
a:link,
a:visited,
a:hover {
	color: #6481E7;
}

h1, h2 { margin-bottom: 10px; }

h1 {
  font-family: "Trebuchet MS";
	color: #232517;
	letter-spacing: -1px;
	line-height: 1.2em;
	font-size: 2em;
	font-variant:small-caps !important;
	font-weight: bold;
}

h2 {
  font-family: "Trebuchet MS";
	color: #232517;
	line-height: 1.2em;
	font-size: 1.4em;
	font-variant:small-caps !important;
	font-weight: bold;
}

h3.button_box {
  background: url("/images/buttons/button_box.jpg") no-repeat;
  width: 190px;
  height: 29px;
  color: #FFFFFF;
  font-size: 1.0em !important;
  line-height: 2.3em;
  padding-left: 1em;
  _margin-bottom: 0.5em;
}

th { text-align: left; }

.readable {
  font-size: 1.2em;
  width: 500px;
}

div.half {
  width: 50%;
  float: left;
}

/* FORMS ------------------------------------------------------------------------------------------------------------------------ */

.checkbox,
.radiobutton {
	display: inline;
	width: auto;
	position: relative;
	top: 3px;
	border: 0px;
	background: none;
}

.delete {
	font: 0.9em Tahoma, Verdana, Helvetica, Arial, Sans-serif;
	color: #660000;
	border: none;
	background: none;
	text-align: left;
	font-weight: bold;
	width: auto;
	cursor: pointer;
}

/* CLASSES ---------------------------------------------------------------------------------------------------------------------- */

a.red { color: #FF0000; }
a.green { color: #00CC00; }

.bigger_font { font-size: 1.2em; }
.readable { width: 500px; }
.has_right_image { width: 600px; }

.center { text-align: center; }
.center div { margin: 0px auto; }

.float_left { float: left; }
.float_right { float: right; }

.no_border { border: none !important; }
.border_top { border-top: 1px #d2d2d2 solid; }
.border_right { border-right: 1px #d2d2d2 solid; }
.border_bottom { border-bottom: 1px #d2d2d2 solid; }
.border_left { border-left: 1px #d2d2d2 solid; }

.margin_top { margin-top: 20px;	}
.margin_top_big { margin-top: 50px;	}
.margin_top_small { margin-top: 10px;	}

.margin_bottom { margin-bottom: 20px }
.margin_bottom_big { margin-bottom: 50px }
.margin_bottom_small { margin-bottom: 10px }

.text_align_left { text-align: left; }
.text_align_right { text-align: right; }

.padding { padding: 1em; }

.hidden { display: none; }
img.icon {
  position: relative;
  top: 3px;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* CONTAINER ---------------------------------------------------------------------------------------------------------------------- */

#container {
  width: 968px;
  margin: 0 auto;
}

#container div.inner {
  padding: 0 9px;
}

/* HEADER ---------------------------------------------------------------------------------------------------------------------- */

#header {
  background: #dee3ca;
}

#header .content {
  padding: 1em;
  height: 60px;
}

#header .content a {
  font-weight: bold;
  color: #232517;
  font-size: 0.9em;
}

#header #login_box {
  
}

#header #login_box div.image img {
  margin-top: 5px;
}

#header #login_form {
  margin: 0 1em;
  padding-left: 1em;
  border-left: 4px #c6ccad solid;
}

#header div.input_row {
  margin: 4px 0;
}

#header #login_form div.input_row label {
  display: block;
  float: left;
  width: 60px;
  margin: 2px 10px 0 0;
  text-align: right;
  font-weight: bold;
  color: #232517;
  font-size: 0.9em;
}

#header #login_form div.input_row input {
  width: 100px;
}

#header #login_box input.submit {
  background: url("/images/elements/login_button.jpg") no-repeat;
  width: 43px;
  height: 43px;
  border: 0;
  margin-top: 3px;
}

/* LOGO ---------------------------------------------------------------------------------------------------------------------- */

#logo {
  float: right;
  background: url("/images/backgrounds/logo.jpg") no-repeat;
  width: 600px;
  height: 75px;
}

/* MENU ---------------------------------------------------------------------------------------------------------------------- */

#menu_container {
	background: #870000 url("/images/backgrounds/menu_container.gif") repeat-x;
  padding: 3px 6px 6px 6px;
}

#menu_hooks {
  margin-bottom: -1px;
  position: absolute;
}

#menu_hooks div {
  width: 24px;
  height: 28px;
  margin-top: -13px;
  _position: absolute;
}

#menu_hooks #left_hook {
	background: url("/images/elements/menu_hook.jpg") repeat-x;
  float: left;
  margin-left: 2em;
}

#menu_hooks #right_hook {
	background: url("/images/elements/menu_hook.jpg") repeat-x;
  float: left;
  margin-left: 840px;
  _margin-left: 890px;  
}

#menu_holder {
  background: #e6ebd3;
  padding: 5px;
  border: 1px #afb691 solid;
}

#menu_holder_inner {
  background: #afb691 url("/images/backgrounds/menu.gif") repeat-x;
}

#menu {
  width: 482px;
  margin: 0 auto;
}

#menu li {
  float: left;
  line-height: 3.5em;
  padding: 0 2em 0 2em;
  font-weight: bold;
  font-size: 0.9em;
  color: #232517;
  background: url("/images/elements/menu_item_border.jpg") no-repeat top right;
}

#menu li.last {
  background: none;
}

#menu li a {
  color: #232517;
}

#menu li a:hover {
  color: #906900;
  text-decoration: underline;
}

/* RED BOX ---------------------------------------------------------------------------------------------------------------------- */

#red_box {
  color: #ffffff;
}

#red_box div.left,
#red_box div.right {
  border: 4px solid #872a2a;
  background: #b53c3c;
  height: 100px;
  padding: 1em;
  margin: 1em 0;
  width: 430px;
  _overflow: hidden;
}

#red_box div.left {
  float: left;
}

#red_box div.right {
  float: right;
}

#red_box .image {
  float: left;
}

#red_box .content {
  width: 500px;
  float: left;
  padding: 1em;
  color: #d2d8bc;
}

#red_box .content h1 {
  color: #ffffff;
  font-size: 1.6em;
}

#red_box a {
  color: #FFFFFF;
  font-weight: bold;
  font-size: 0.9em;
}

/* PAGE ---------------------------------------------------------------------------------------------------------------------- */

#page {
	margin: 0 auto;
  background: #f0f2e6 url("/images/backgrounds/page.jpg") no-repeat;
  padding: 1em 1.5em 3em 1.5em;
}

#page_shadow_top {
	background: url("/images/backgrounds/page_shadow_top.gif") no-repeat;
}

#page_shadow_bottom {
	background: url("/images/backgrounds/page_shadow_bottom.gif") no-repeat bottom left;
}

/* MAIN ---------------------------------------------------------------------------------------------------------------------- */

#main {
  width: 682px;
  float: left;
}

/* SIDEBAR -------------------------------------------------------------------------------------------------------------------- */

#sidebar {
  float: right;
  background: #ffffff;
  width: 200px;
  _width: 185px;
  border: 4px #c6ccad solid;
  padding: 1em;
}

#sidebar a {
  font-weight: bold;
  font-size: 0.9em;
}


#sidebar ul.list li {
  border-top: 1px #797c6a dotted;
  padding: 0.5em 0.5em 0 0.5em;
}

/* ITEM BOX ------------------------------------------------------------------------------------------------------------------- */

div.item_box {
  float: left;
  margin: 0 1.25em 1.25em 0;
	width: 190px;
	padding: 7px 7px 0 7px;
	background: #ffffff;
	border: 4px #c6ccad solid;
}

div.item_box h3 {
  padding: 0px;
  text-align: center;
}

div.item_box div.center {
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px #c6ccad dotted;
}

div.item_box div.image {
  width: 190px;
  height: 100px;
  display: table;
}

div.item_box div.image_content {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  
  /* IE */
  *margin-top: expression(this.offsetHeight < this.parentNode.offsetHeight ? parseInt((this.parentNode.offsetHeight - this.offsetHeight) / 2) + "px" : "0");
}

div.item_box div.smaller_link {
  margin-top: 0.5em;
  font-size: 0.9em;
}

div.item_box ul li {
  padding-bottom: 0.5em;
}

div.item_box strong {
  display: block;
  font-size: 0.9em;
  color: #000000;
  margin-bottom: 0.5em;
}

/* FORMS ---------------------------------------------------------------------------------------------------------------------- */

#page div.form_container {
  border-left: 4px #c6ccad solid;
  padding-left: 1.3em;
}

#page form input {
	color: #000000;
	width: 146px;
	font-size: 1em;
	padding: 3px;
}

#page form select {
	background: #ffffff;	
	color: #000000;
	width: auto;
	font-size: 1em;
}

#page form textarea {
	color: #000000;
	padding: 5px 2px;
}

#page form input[type='checkbox'],
#page form input.checkbox {
	width: auto;
	border: 0;
	background: none;
	position: relative;
	top: 2px;
}

/* LISTS -------------------------------------------------------------------------------------------------------------------------- */

table {
  width: 100%;
  margin-bottom: 1em;
}

table.list th, 
table.list td {
  border-bottom: 1px #d2d2d2 solid;
  padding: 3px 6px;
}

table.small_headers tr th {
  font-size: 1.0em !important;  
}

table tr th {
  font-size: 1.2em;
}

.bigger_font th {
  font-size: 1.0em;
}

#admin_list tr th {
  border: 1px #d2d2d2 solid;
  background: #EEEEEE;
  padding: 3px;
}

/* FOOTER -------------------------------------------------------------------------------------------------------------------------------- */

#footer {
  height: 94px;
  background: url("/images/backgrounds/footer.gif") no-repeat;
  margin-bottom: 1em;
}

#footer div.content {
  width: 860px;
  margin: 0 auto;
  color: #ffffff;
  padding-top: 1em;
}

#footer div.content span {
  display: block;
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #ffb5ad;
}

#footer div.content a {
  color: #ffffff;
  font-weight: bold;
}

/* LINK FIELDS ---------------------------------------------------------------------------------------------------------------------------- */

#link_fields_container {
  float: right;
  width: 640px;
  border-left: 4px #c6ccad solid;
  padding-left: 1.3em;
  font-size: 0.9em;
}

.link_field {
  margin-bottom: 1em;
}

.link_field input {
  width: 100% !important;
  padding: 1px !important;
}

.link_field select {
  width: 100% !important;
}

.link_field div.column {
  float: left;
  width: 80px;
  margin-right: 1.0em;
}

.link_field div.long {
  width: 250px;
}

.link_field div.medium {
  width: 110px;
}

.link_field div.small {
  width: 64px;
}

.link_field div.last {
  width: auto;
  padding: 1.3em 0 0 0;
}

/* BALANCE ------------------------------------------------------------------------------------------------------------------------------- */

#balance {
  float: right;
}

#balance h1 {
  margin: -0.5em 0 0 1.5em;
  position: absolute;
}

#balance #balance_icon {
  position: absolute;
  margin: -1em 0 0 -1em;
}

#balance #balance_content {
  width: 150px;
  border: 4px #2ed349 solid;
  background: #42e55c;
  color: #097f1b;
  padding: 0.7em 0 0.5em 1em;
  font-size: 2em;
  text-align: center;
}

/* ERRORS -------------------------------------------------------------------------------------------------------------------------------- */

#notice {
  background: url("/images/icons/tick_circle.png") 6px 8px no-repeat;
	padding: 10px 10px 10px 30px;
	margin: 0px 0px 10px 0px;
	font-weight: bold;
	border: 2px #84fd8d solid;
	background-color: #dbffde;
	color: #318b00;
}

#error {
  background: url("/images/icons/exclamation.png") 6px 8px no-repeat;
	padding: 10px 10px 10px 30px;
	margin: 0px 0px 10px 0px;
	font-weight: bold;
	border: 2px #fd8484 solid;
	background-color: #ffdbdb;
	color: #c50000;
}

.field_with_errors label {
  font-weight: bold;
  color: #FF0000;
}

.field_with_errors input.disabled {
	background: #ffffff url("/images/forms/input_disabled.jpg") !important;	
  color: #999999 !important;
  cursor: default !important;
}

.special_field_with_errors {
  padding: 3px 3px 3px 0px !important;
  background: #FF0000 !important;
}

#errorExplanation {
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #ffffff;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 1.5em;
  background-color: #c00;
  color: #fff;
  display: none;
}

#errorExplanation p {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 1.5em;
  background-color: #c00;
  color: #fff;
  margin: -7px -7px 10px -7px;
}

#errorExplanation ul li {
  list-style: square;
  margin-left: 2em;
  float: none !important;
}
