/*****************************/
/*** Core html setup stuff ***/
/*****************************/

html {
  height: 100%;
  margin-bottom: 1px;
}

form {
  margin: 0;
  padding: 0;
}

body {
	font-family: Helvetica,Arial,sans-serif;
	line-height: 1.3em;
	margin: 0px 0px 0px 0px;
	font-size: 12px;
	color: #333;
}

tr {
    font-size: 12px;
}

td {
    font-size: 12px;
}

a:link, a:visited {
	text-decoration: none;
	font-weight: normal;
}

a:hover {
	text-decoration: underline;
	font-weight: normal;
}

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 5px; }

img { border: 0 none; }

#header img {
    margin-top: 0px;
	display: block;
/*	margin-left: auto;*/
    margin-left: 0px;
	margin-right: auto;
}

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#page_bg {
	padding: 10px 0;
	margin-bottom: 1px;
}

#htmlbody {
	padding: 10px 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;
}

body.width_fmax div#wrapper {
	min-width: 750px;
	max-width: 1050px;
}

div#header_l {
	position: relative;
}

div#header_r {
	height: 87px;
/*	padding-left: 370px;
	padding-right: 30px;
	padding-top: 25px;
*/
	overflow: hidden;
	text-align: left;
}

div#logo {
	position: absolute;
	left: 0;
	top: 0;
	float: left;
/*    background: url(../images/soniqware/logo-test2s3.png) 0 0 no-repeat;*/
	margin-left: 10px;
	margin-top: 10px;
}

div#newsflash {
	width: auto;
	margin-left: 350px;
	margin-right: 30px;
	border: 1px solid #00f;
}

div#tabarea {
/*	background: #f7f7f7 url(../images/mw_header_b.png) 0 0 repeat-x;*/
    background: #f7f7f7 url(../images/mw_menu_normal_bg.png) 0 0 repeat-x;
	margin: 0 11px;

}

div#tabarea_l {
/*	background: url(../images/mw_header_l_b.png) 0 0 no-repeat;*/
    background: #f7f7f7 url(../images/mw_menu_normal_bg.png) 0 0 repeat-x;
	padding-left: 32px;
}

div#tabarea_r {
	height: 42px;
/*	background: url(../images/mw_header_r_b.png) 100% 0 no-repeat;*/
    background: #f7f7f7 url(../images/mw_menu_normal_bg.png) 0 0 repeat-x;
	padding-right: 1px;
}

div#footer_r {
    margin-top: -0px;
	padding-top: 7px;
	height: 50px;
	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 {
    margin-top: -26px;
	height: 0px;
}

#pathway {
	padding: 0px 10px 8px;
	width: auto;
	margin-top: -0px;
	margin-right: 0px;
	text-align: left;
}

#search {
	float: right;
	width:320px;
	margin-top: -20px;
	margin-right: 30px;
	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;
}

/* horizontal pill menu */
table.pill {
  margin-left: -32px;
  margin-right: -1px;
  padding: 0;
}

td.pill_l {
  background: url(../images/mw_menu_cap_l.png) no-repeat;
  width:  20px;
  height: 32px;

}

td.pill_m {
  background: url(../images/mw_menu_normal_bg.png) repeat-x;
  padding: 0;
  margin: 0;
  width: auto;
}

td.pill_r {
  background: url(../images/mw_menu_cap_r.png) no-repeat;
  width:  19px;
  height: 32px;
}

td.pill_r_sd {
  background: url(../images/mw_menu_normal_bg.png) repeat-x;
  width:  430px;
  height: 32px;
}

#pillmenu {
  white-space: nowrap;
  margin-left: 4px;
  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;
  text-decoration: none;
}

#pillmenu a#active_menu-nav {
	margin-top:1px;
	height: 21px;
	line-height: 21px;
	background-position: 0 0;
}

#pillmenu a.active_mainlevel-nav {
	margin-top:1px;
	height: 21px;
	line-height: 21px;
	background-position: 0 0;
}

#leftcolumn {
	padding: 0;
	margin: 0;
	width: 20%;
	float:left;
}

#maincolumn,
#maincolumn_full {
	margin-left: 20%;
	padding-left: 2%;
	width: 78%;
}

#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;
}

