
/************************************************/
/*** Joomla Template specific layout elements ***/
/************************************************/
#page_bg {
	padding: 10px 10px;
	margin-bottom: 1px;
}

div.center {
  text-align: center;
}

div#wrapper {
	margin-left: auto;
	margin-right: auto;
}

body.width_medium div#wrapper {
	width: 950px;
}

body.width_small div#wrapper {
	width: 773px;
}

body.width_fmax div#wrapper {
	min-width: 750px;
	max-width: 1920px;
}

div#header_l {
	position: relative;
}

div#header_r {
	height: 150px;            
	padding: 25px 30px 0;
	overflow: hidden;
	text-align: left;
}

div#logo {
	position: absolute;
	left: 0;
	top: 0;
	float: left;
	width: 100%;
	height: 140px;
	background: url(/bfec_header.png) center 0 no-repeat;
	margin: 25px 0 0;
	padding: 0;
	clear: both;
}

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

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

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

div#footer_r {
	padding-top: 10px;
	height: 47px;
	overflow: hidden;
}

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

div#footerspacer {
	height: 10px;
}

#pathway {
	padding: 0px 10px 8px;
	width: auto;
	margin-top: -2px;
	margin-right: 250px;
	text-align: left;
}

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

#whitebox div {
	text-align: left;
}

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

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

#whitebox_tr {
	height: 10px;
	overflow: hidden;
	background: url(../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(../images/mw_content_b.png) 0 100% repeat-x;
}

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

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

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

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

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

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

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

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

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

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

#pillmenu a#active_menu-nav {
	margin-top:2px;
	height: 21px;
	line-height: 21px;
	background-position: 0 0;
}

#maincolumn,
#maincolumn_full {
	margin-left: 20%;
	padding-left: 15px;
	width: 75%;
}

#maincolumn_full {
	margin-left: 0;
	padding: 0;	
	width: 100%;
}

table.nopad {
	width: 100%;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
	margin-bottom: 15px;
}

table.nopad td.middle_pad {
	width: 20px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

span.pathway {
  display: block;
  margin: 0 20px;
  height: 16px;
  line-height: 16px;
  overflow: hidden;
}

/* blue */
.joomla {
  font-family: Helvetica,Arial,sans-serif;
  font-size: 12px;
  color: #333;
}
.joomla a:link, .joomla a:visited {
	color: #135cae;
}
.joomla a:hover {
	color: #0b3768;
}

.clr {
	clear: both;
}

#syndicate {
	float:left;
	padding-left: 25px;
}
a.acp {
	font-weight: bold;
}

#power_by {
	float:right;
	padding-right: 25px;
	font-size: 11px;	
}

#power_by a:link, #power_by a:visited  {
	color: #999;
}

.mlwn_footer {
	font-size: 0.8em;
	font-weight: normal;
}


/***************************************/
/*** phpBB specific content elements ***/
/***************************************/
#wrap {
	padding: 0px;
}

#search-box {
	margin: -20px 30px 5px 5px;
}

#search-box a:link, #search-box a:visited, #search-box a:hover, #search-box a:active {
	color: #333;
}

/******************************************/
/*** Gallery3 specific content elements ***/
/******************************************/
#j-search {
	float: right;
	margin-top: -20px;
	margin-right: 30px;
}

.g-breadcrumbs {
  clear: none;
  margin: -2em 0;
}

#g-banner {
  min-height: 1em;
}

#g-site-menu {
  bottom: 0;
  left: 0px;
  position: absolute;
}

#g-content {
  margin: 0; 
  padding: 0;
  width: auto !important; 
}

#g-sidebar {
  padding: 0 10px;
}

table.nopad div#doc3 {
  margin: 0; 
}

.none {
  margin: 0; 
  padding: 0;
  border: 0;
}



