* {padding: 0; margin: 0;}
/* Start of State Header */
#State-Header {
  width: 100%;	
  margin: 0;
  padding: 0;
  border: none;
  background-color: #009;
  min-width: 760px;
}
td#state-logo {
  text-align: left;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}
td#state-logo img {
  vertical-align: middle;
  border: 0;
}
td#state-menu {
  margin: 0;
  padding: 0;
  color: #FFF;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  font-size: .75em;
  font-weight: bold;
  white-space: nowrap;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}
td#state-menu img{
  vertical-align: middle;
  border: 0;
}
td#state-menu a {
  color: #FFF;
  text-decoration: underline;
}
td#state-menu a:hover {
  text-decoration: none;
}
td#state-search {
  vertical-align: middle;
  text-align: right;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}
td#state-search form {
  display: inline;
}
#state-search-label {
  color: #FFF;
  font-size: .75em;
  font-weight: bold;
}
#state-search-textbox {
  color: #FFF;
}
#state-search-textbox input {
  font-size: .9em;
}
#state-search-button { 	
  padding: 3px;
}
#state-search-button input {
  font-size: .85em;
  padding: 1px;
  color: #000;
  background-color: #FC0;
}

/* End State Header */
/*************************************/
/*     TEMPLATE-SPECIFIC STYLES      */
/*************************************/
/*  redefine any tags as necessary */
body {
  margin: 0;
  background: white url(/extras/styles/mainecare/background.jpg) repeat-y top left;
  font-size: 11px;
  font-family: 'Verdana', sans-serif;
  color: #333333;
}

td {
  font-size: 11px;
  color: #333333;
}
a {
  color: #000099;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
input, select {
  font-weight: bold;
  font-size: 10px;
  color: #000099;
  background-color: #EEEEEE;
  border: 1px solid #AAAAAA;
}
/* the template is divided into two td tags, the left and right */
td#main_leftpane {
  background: url(/extras/styles/mainecare/top_back_left.jpg) repeat-x top left;
}
td#main_rightpane {
  background: url(/extras/styles/mainecare/top_back_right.jpg) repeat-x top left;
}
/* formatting for the site-specific logo and title */

td#site_title {
  color: white;
  font-weight: bold;
  font-size: 35px;
  text-align: right;
  padding-right: 10px;
}
/* grey/admin bar styles - as well as the contact header atop each page */
td.gray_bar {
  color: white;
  font: 12px 'verdana', sans-serif;
  padding-bottom: 8px;
}
td.gray_bar#login {
  text-align: left;
  padding-right: 7px;
}
td.gray_bar#date {
  text-align: right;
  padding-left: 7px;
}
div#contact_header {
  padding-top: 5px; 
  color: #AAAAAA;
  font: 9px 'Verdana', sans-serif;
  text-align: center;
}
/* the image bar */
td#imagebar {
  background: url(/extras/styles/mainecare/image_area.gif) no-repeat top right;
  padding: 5px 0 0 50px;
}
/* footer styles */
td#footer_left {
  background: url(/extras/styles/mainecare/footer_left.jpg) no-repeat bottom left;
  font: 8px 'Verdana', sans-serif;
}
td#footer_right {
  background: url(/extras/styles/mainecare/footer_right.jpg) repeat-x bottom left;
}
/*********************************/
/*     COMMON TAG DEFINITIONS    */
/*********************************/
/* The style sheets for each tag that WebGUI could insert are to be defined here 
  Each style should be selected by "td#main_content" to ensure ONLY tags within the content
  cell are styled.  It is this section that defines the look of the auto-inserted material. */
.content {
  padding: 10px 0;
}
td#main_content {
  padding: 0 2em;
}
td#main_content p {
  font-size: 1.25em;
/*  text-align: justify;*/
  margin-bottom: 1em;
}
td#main_content h1 {
  color: #000000;
  margin-top: 1.25em;
}
td#main_content h2 {
  margin-top: 1em;
}
td#main_content h3 {}
td#main_content h4 {}
td#main_content h5 {}
td#main_content h6 {}
td#main_content ul {padding-left: 100px;}
td#main_content ol {padding-left: 100px;}
td#main_content li {}  /* etc... */

/** ------------------------------
    CONTACT PAGE
    ------------------------------ */
.contact {
  margin-top: 1.5em;
}
.contact h2 {
  margin-bottom: .25em;
}

/*********************************/
/*   STYLES FOR WEBGUI ELEMENTS  */
/*********************************/
.adminBar {
  background-color: #000099;
  font-size: 8pt;
  font-family: helvetica, arial;
  color: #000055;
}
.adminbar input,select {
  color: #000099;
  font-weight: bold;
  background: #EEEEEE;
  border: solid #AAAAAA;
  border-width: 1px;
}

.adminbar input.field {}
.adminbar input.button {}
.adminbar select {
  font: 9px "Verdana";
}
/*  these styles are for the menu on the left */
#menuArea {
  text-align: right;
  padding-right: 1em;
}
#menuArea h2 {
  color: #000099;
}
/* WebGUI adds class="verticalMenu" within a span tag for all 1st level menu items  */
#menuArea ul {
  margin-left: .5em;
}
#menuArea li {
  list-style: none;
  padding: .5em 0;
  border-bottom: 1px solid #DDD;
}
#menuArea li.last {
  border-bottom: none;
}
#menuArea a {
  font-size: 1.25em;
  color: #555;
  line-height: 1.25em;
}
#menuArea a:hover {
  color: #000;
}
#menuArea .active {
  font-weight: bold;
}
#menuArea .submenu, #menuArea .submenu2, #menuArea .submenu3 {
  border-bottom: 1px solid #EEE;
}
#menuArea .submenu {
  padding-right: .5em;
  background-color: #DDD;
}
#menuArea .submenu2 {
  padding-right: 1.5em;
  background-color: #BBB;
}
#menuArea .submenu3 {
  padding-right: 2.5em;
  background-color: #999;
}
/* the following is for the "home" link within the flex menu, since it isn't automatically included */
a.homeLink {
  font: 13px "Verdana", sans-serif;
  color: #888888;
  text-decoration: none;
  padding-right: 10px;
  line-height: 25px;
}
a.homeLink:hover {
  color: #222222;
  text-decoration: underline;}
a.homeLink:visited {}
/* search area formatting */
div#searcharea {
  padding: 2px;
  background-color:#000099;
  text-align: center;
  border-color: #AAAAAA;
  border-left: none; 
  border-style: solid;
  border-width: 2px 2px 2px 0;
}
div#searcharea span {
  display: block;
  padding: 1px;
  margin: 0;}
div#searcharea span input {
  font: 9px 'Verdana';
  color: #000099;
  font-weight: normal;
  background-color: #EEEEEE;
  border-width: 1px;
  border-color: #AAAAAA;
}
/* for formatting of the "visitor / admin" text where one logs in */
A.myAccountLink {
  color: white;
}

/*****  FILE MANAGER stuff *****/

/*  header columns */
.fileColHeader, .descColHeader, .dateColHeader, .sortheader {
  background-color: #000099;
  padding: 5px;
  font-size: 12px !important;
  text-align: left;
}
.fileColHeader A, .descColHeader A, .dateColHeader A {
  color:white;
  font-weight: bold;
}
.descPAHeader {
  width:90px;
}
.dateColHeader, .datePAHeader {
  width:90px;
}
/* actual data columns */
.fileData, .descData, .dateData {
  border-bottom: dashed 1px #CCCCCC;
}
.dateData {
  color: #AAAAAA;
  font-size: 9px;
}
.descData {
  font-size: 9px;
}
.fileInfo {
  font: 9px "Arial";
  color: #AAAAAA;
}
.sortable {
  margin-top: 5px;
}
/***** FAQ stuff *****/
.topLink {}

td#main_content ul.sectional {
  margin: 0;
  padding: 0;
  font-size: 1.25em;
  font-weight: bold;
}
td#main_content ul.sectional li {
 list-style: none;
 margin-bottom: 1em;
}
td#main_content ul.sectional li ul {
  padding-left: 25px;
  font-size: 1em;
  font-weight: normal;
}
td#main_content ul.sectional li ul li {
  margin-left: 1em;
  list-style: disc;
  margin-bottom: 0;
}