html {
  height: 100%;
  margin-bottom: 1px;
}

body {
	font-family: Helvetica, sans-serif;
	line-height: 1.3em;
	margin: 0px 0px 0px 0px;
	font-size: 12px;
	color: #333;
}

a:link, a:visited {
	text-decoration: none;
	font-weight: normal;
    color: rgb(191,30,45);
}

a:hover {
	text-decoration: none;
	font-weight: normal;
    color: rgb(0,0,255);
}

input.button { cursor: pointer; }

img.border1  { border: 3px solid rgb(191,30,45); }
img.noborder  { border: 0; }

p { margin-top: 0; margin-bottom: 5px; }

p.pagetitle1 {
    color: rgb(191,30,45);  /* red */
    font-weight: bold;
    font-size: 24px;
}
p.pagetitle2 {
    color: rgb(191,30,45);  /* red */
    font-weight: bold;
    font-size: 20px;
}
p.pagetitle3 {
    color: rgb(0,0,255);    /* blue */
    font-weight: bold;
    font-size: 24px;
}

table.tnborders {
    margin-left: auto;
    margin-right: auto;
    border: 0;
}

table.tnborders  td {
    padding: 5px;
    border: 0;
    text-align: center;
}

table.tborders {
    margin-left: auto;
    margin-right: auto;
    border-spacing: 10px;
    border-collapse: separate;
    border: 1px gray solid;
}

table.tborders  td {
    padding: 5px;
    border: 1px gray solid;
    text-align: center;
}

#page_bg {
    padding: 10px 0;
    margin-bottom: 1px;
    background: #333;
}

div.center {
  text-align: center;
}

.clr {
	clear: both;
}

div#wrapper {
    margin-left: auto;
    margin-right: auto;
    background: #f7f7f7 url(/css/images/mw_shadow_l.png) 0 0 repeat-y;
}

div#wrapper_r {
    background: url(/css/images/mw_shadow_r.png) 100% 0 repeat-y;
}

/********************/
/* header area */
/********************/
div#header {
    background: url(/css/images/mw_header_t.png) 0 0 repeat-x;
}

div#header_l {
    position: relative;
    background: url(/css/images/mw_header_t_l.png) 0 0 no-repeat;
}

div#header_r {
    height: 258px;
    /*padding-left: 370px;*/
    /*padding-right: 30px;*/
    /*padding-top: 25px;*/
    overflow: hidden;
    /*text-align: left;*/
    text-align: center;
    background: url(/css/images/mw_header_t_r.png) 100% 0 no-repeat;
}

/********************/
/* tab area */
/********************/
div#tabarea {
	background: #f7f7f7 url(/css/images/mw_header_b.png) 0 0 repeat-x;
	margin: 0 11px;
}

div#tabarea_l {
	background: url(/css/images/mw_header_l_b.png) 0 0 no-repeat;
	padding-left: 32px;
}

div#tabarea_r {
	height: 42px;
	background: url(/css/images/mw_header_r_b.png) 100% 0 no-repeat;
	padding-right: 1px;
}

/********************/
/* horizontal pill menu */
/********************/
table.pill {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

td.pill_l {
  background: url(/css/images/mw_menu_cap_l.png) no-repeat;
  width:  20px;
  height: 32px;
}

td.pill_m {
  background: url(/css/images/mw_menu_normal_bg.png) repeat-x;
  padding: 0;
  margin: 0;
  width: auto;
}

td.pill_r {
  background: url(/css/images/mw_menu_cap_r.png) no-repeat;
  width:  19px;
  height: 32px;
}

#pillmenu {
  white-space: nowrap;
  height: 32px;
  float: left;
}

#pillmenu ul {
  margin: 0;
  padding: 0;
  list-style:none;
}

#pillmenu li {
	float: left;
	background: url(/css/images/mw_menu_separator.png) top right no-repeat;
	margin: 0;
	padding: 0;
}

#pillmenu a {
  font-family: sans-serif;
  font-size: 12px;
  font-weight: bold;
	float:left;
  display:block;
  height: 24px;
  line-height: 24px;
  padding: 0 20px;
  color: #000;
  text-decoration: none;
}

#pillmenu a#active_menu-nav {
	margin-top:2px;
	height: 21px;
	line-height: 21px;
	background-position: 0 0;
    background: url(/css/images/mw_menu_active_bg.png) 0 0 repeat-x;
    color: #fff;
}

#pillmenu a:hover {
  color: #a10f15;
}

#pillmenu a#active_menu-nav:hover {
  color: #fff;
}

/********************/
/* whitebaox area */
/********************/
#area {
	padding: 0;
    margin: 10px 20px 10px 20px;
}

#whitebox {
	margin: 0 21px 0px 21px;
	background: #fff;
	width: auto;
}

#whitebox div {
	text-align: left;
}

#whitebox_t {
	background: #fff url(/css/images/mw_content_t.png) 0 0 repeat-x;
}

#whitebox_tl {
	background: url(/css/images/mw_content_t_l.png) 0 0 no-repeat;
}

#whitebox_tr {
	height: 10px;
	overflow: hidden;
	background: url(/css/images/mw_content_t_r.png) 100% 0 no-repeat;
}

#whitebox_m {
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	width: auto;
	padding: 1px 8px;
}

#whitebox_b {
	margin-top: -5px;
	background: url(/css/images/mw_content_b.png) 0 100% repeat-x;
}

#whitebox_bl {
	background: url(/css/images/mw_content_b_l.png) 0 100% no-repeat;
}

#whitebox_br {
	height: 13px;
	background: url(/css/images/mw_content_b_r.png) 100% 100% no-repeat;
}

/********************/
/* sidebar area */
/********************/

#sidebar {
	margin: 0;
	background: #fff;
	width: auto;
}

#sidebar div {
	text-align: left;
}

#sidebar_t {
	background: #fff url(/css/images/mw_content_t.png) 0 0 repeat-x;
}

#sidebar_tl {
	background: url(/css/images/mw_content_t_l.png) 0 0 no-repeat;
}

#sidebar_tr {
	height: 10px;
	overflow: hidden;
	background: url(/css/images/mw_content_t_r.png) 100% 0 no-repeat;
}

#sidebar_m {
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	width: auto;
	padding: 1px 8px;
}

#sidebar_b {
	margin-top: -5px;
	background: url(/css/images/mw_content_b.png) 0 100% repeat-x;
}

#sidebar_bl {
	background: url(/css/images/mw_content_b_l.png) 0 100% no-repeat;
}

#sidebar_br {
	height: 13px;
	background: url(/css/images/mw_content_b_r.png) 100% 100% no-repeat;
}

/********************/
/* footer area */
/********************/
div#footerspacer {
	height: 10px;
}

div#footer {
	background: #f7f7f7 url(/css/images/mw_footer_b.png) 0 100% repeat-x;
}

div#footer_r {
	padding-top: 10px;
	height: 47px;
	overflow: hidden;
    background: url(/css/images/mw_footer_b_r.png) 100% 0 no-repeat;
}

div#footer_r div {
	text-align: center;
	font-size: .90em;
	color: #aaa;
}

div#footer_r a:link, div#footer_r a:visited  {
	color: #999;
}

div#footer_l {
	background: url(/css/images/mw_footer_b_l.png) 0 0 no-repeat;
}

#footer_right_text{
	float:right;
	padding-right: 25px;
}

#footer_left_text{
	float:left;
	padding-left: 25px;
}
