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

form {
  margin: 0;
  padding: 0;
}

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

a:link, a:visited {
	text-decoration: none;
	font-weight: normal;
}

a:hover {
	text-decoration: underline;
	font-weight: normal;
}

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

img { border: 0 none; }

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#page_bg {
	padding: 0;
	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;
}

div#header_l {
	position: relative;
}

div#header_r {
	height: 110px;
	padding-left: 370px;
	padding-right: 30px;
	padding-top: 25px;
	overflow: hidden;
	text-align: left;
}

div#logo {
	position: absolute;
	left: 0;
	top: 0;
	float: left;
	width: 298px;
	height: 75px;
	background: url(../images/logo.gif) 0 0 no-repeat;
	margin-left: 30px;
	margin-top: 25px;
}

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

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#footerspacer {
	height: 10px;
}

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

#search {
	float: right;
	width:320px;
	margin-top: -23px;
	margin-right: 10em;
	height: 40px;
	overflow: hidden;
	text-align: right;
}

form#searchForm input {
	vertical-align: middle;
}

form#searchForm table {
	border-collapse: collapse;
}

form#searchForm td {
	padding:0;
}

#mod_search_searchword {
	padding-left: 3px;
}

#area {
	padding: 0;
}

#whitebox {
	margin: 0 15px 0px 15px;
	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;
}

#leftcolumn {
	padding: 0;
	margin: 0;
    margin-top: 1em;
	width: 20%;
	float:left;
    line-height: 1.4em;
}

#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 ***/
/*****************************************/

div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

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

/* blue */
a:link, a:visited {
	color: #135cae;
}

a:hover {
	color: #0b3768;
}

div#leftcolumn ul.menu	{
	list-style-image: url(../images/bullet.gif);
	list-style-position: inside;
	margin: 0;
	padding: 0.2em;
}

div#leftcolumn ul.menu li	{
	border-bottom: 1px solid #0082dd;
	margin: 0;
	padding: 0.2em;
}

div#leftcolumn ul.menu li a span{
	color: #053a7c;
	font-weight: bold;
}

div#leftcolumn ul.submenu {
	border-top: 1px solid #0082dd;
	list-style-position: outside;
	list-style-image: none;
	list-style-type: none;
	padding: 0;
    margin-left: 1.4em;
}

div#leftcolumn ul.submenu li {
	border-bottom: 0px solid #0082dd;
}

div#topmenu_carix table tr td a	{
	color: #ffffff;
	border-left: 0px solid #ffffff;
	padding: 0px 8px;
	font-weight: bold;
}

div#topmenu_carix table	{
	margin: 3px 0px;
}

div#topmenu_carix	{
	background: url(../images/top_menu_bg.jpg) repeat-x;
	margin:0px 15px;
	text-align:right;
	height: 25px;
}

/* white */
#page_bg {
	background: #fff;
}

div#wrapper {
		background: #f7f7f7 url(../images/white/mw_shadow_l.png) 0 0 repeat-y;
}

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

div#header {
	background: url(../images/white/mw_header_t.png) 37px 0px no-repeat;
}

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

div#header_r {
	background: url(../images/white/mw_header_t_r.png) 100% 0 no-repeat;
}

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

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

div#footer_r {
	background: url(../images/white/mw_footer_b_r.png) 100% 0 no-repeat;
}

.tags {
    margin-bottom: 0.4em;
}

table.contentpaneopen, table.contentpane {
	margin: 0;
	padding: 0;
	width: auto;
}

table.contentpaneopen ul li {
    list-style-type: none;
    background: url(../images/ixb.jpg) no-repeat left top;
    margin-left: -2em;
    padding-left: 1.5em;
    margin-top: 0.2em;
    line-height: 1.1em;
}

.clr {
	clear: both;
}

/* Button styles */
span.button, a.button, a.button:link, a.button:visited {
    border: 1px solid #404040;
    font-weight: bold;
    background-color: #eee;
    color: #404040;
    font-family: 'Bitstream Vera Sans',Verdana,sans-serif;
    font-size: smaller;
    text-decoration:none;
}
span.button, a.button {
    padding-left: 2px;
    padding-right: 2px;
}
span.button {
    color: #f0f0f0
}

div.image.right, div.captionImage.right {
    float: right;
    margin-right: -2.8em;
}

.captionImage {
    border: 0px solid #aaa;
    padding: 0.3em;
}

div.image.left, div.captionImage.left {
    float: left;
}
div.image.leftAlone, div.captionImage.leftAlone {
    float: left;
    margin-right: 100%;
}
div.image.center, div.captionImage.center {
    float: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.caption {
    font-weight: bold;
    text-align: center;
    margin-top: 1em;
}
