/* ********** DEFAULTS ********** */

body {
  font-family: 'trebuchet ms', 'lucinda sans', arial, sans-serif;
  background-color: rgb(240,240,240);
  text-align: center;
}

td {
  vertical-align: top;
}

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

a:hover { 
  text-decoration: underline;
}

hr {
  color: rgb(255,160,125);
  background-color: rgb(255,160,125);
}

/* ************ MAIN TABLE ************* */
/* ********** Common Elements ********** */

table#main {
  width: 984px;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
}

td#phone {
  height: 25px;
  width: 984px;
  padding: 0px;
  background-color: rgb(0,0,0);
}

td#logo {
  height: 150px;
  width: 984px;
  padding: 0px;
  background-color: rgb(170,40,0);
}

td#menu {
  height: 32px;
  width: 984px;
  padding: 0px;
}

td#rightpanel {
  text-align: center;
  width: 220px;
  background-color: rgb(230,230,230);
  padding: 10px 0px 50px 0px;
}

/* ********** Page Layouts ********** */

td#page {
  width: 764px;
  background-color: rgb(255,255,255);
  padding: 10px 20px 20px 10px;
  text-align: left;
}

div#left {
  float: left;  
  top: 15px;  
  width: 320px; 
  background-color: rgb(255,255,255);
}

div#centre {
  float: right;  
  top: 15px;  
  width: 390px;
  background-color: rgb(255,255,255);
}

td#fullpage {
  width: 984px;
  background-color: rgb(255,255,255);
}

/* ********** PAGE INTERNALS ********** */

#page div.section {
  clear: both;
  width: 100%; 
  margin-bottom: 10px;
}

#page h1 {
  margin-top: 0px;
  padding: 0px;
}

#page h2 {
  font-size: 16px;
  margin: 0px;
}

#page p, ul {
  font-size: 14px;
  margin-bottom: 5px;
}

p.rightlink {
  clear: both;
  width: 100%;
  text-align: right;
  margin: 0px;
  font-size: 12px;
}

p.rightlink a {
  color: rgb(140,140,140);
}

p.rightlink a:hover {
  text-decoration: underline;
}

#right {
  text-align: center;
  width: 220px;
  background-color: rgb(230,230,230);
  padding: 10px 0px 50px 0px;
}

#footer {
  clear: both;
  position: relative;
  margin-bottom: 50px;
  text-align: center;
  font-size: 12px;
  color: rgb(140,140,140);
}

/* ********** IMAGE ********** */

div.img {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  border: 1px solid rgb(140,140,140);
  padding: 5px; */
  text-align: center;
}

div.img img {
  margin-bottom: 0px; 
}

div.img p {
  margin: 0px;
  font-size: 12px; 
}


/* ********** SIDE BOX ********** */

div.box {
  width: 100%;
  margin-bottom: 20px;
}  

div.box a {
  font-size: 12px;
}  

div.box a img {
  border: 0px;
}  

div.box_title {
  margin: 0px;
  font-size: 14px;
  width: 100%;
  background-color: rgb(170,40,0);
  color: rgb(255,255,255);
}  

div.box p.greylink {
  margin: 0px;
  text-align: center;
}

div.box p.greylink a {
  margin: 0px;
  font-size: 12px;
  color: rgb(140,140,140);
}

div.box p.greylink a:hover {
  text-decoration: underline;
}

div.box form {
  margin: 0px;
}

div#rotator {
  z-index: 1; 
  height: 100px; 
  font-size: 12px; 
  padding: 10px; 
}

/* ********** QUICKLINKS ********** */

div#quicklinks a {
  display: block;
  text-align: left;
  padding-left: 40px;
  font-size: 14px;
  color: rgb(0,0,0);
  border-bottom: 1px solid rgb(180,180,180);
}

div#quicklinks a:hover {
  text-decoration: none;
  background-color: rgb(240,240,240);
}

/* ********** TABLE LIST ********** */

table.list {
  width: 100%;
}

table.list th, td {
  vertical-align: top;
  font-size: 14px;
}

table.list th {
  background-color: rgb(180,180,180);
  color: rgb(225,255,255);
  text-align: left;
  font-weight: bold;
  padding: 3px;
}

table.list td {
  background-color: rgb(240,240,240);
  color: rgb(0,0,0);
  padding: 3px;
}

/* ******* Projects Box ******* */

#projects {
  border: 1px solid rgb(210,140,0);
  background-color: rgb(230,230,230);
}
#projects h1 {
  background-color: rgb(210,140,0);
  margin: 0px;
  text-align: center;
  font-size: 16px;
}

/* ********** A to Z ********** */

ul.az {
  padding-left: 10px;
  padding-bottom: 20px;
}

ul.az li {
  float: left;
  list-style-type: none;
  list-style-position: outside;
  margin-right: 10px;
  font-size: 18px;
}

h2.az {
  background-color: rgb(180,180,180);
  padding-left: 10px;
}

/* ********** MAINBOX ********** */

div.mainbox {
  text-align: left;
  width: 100%;
  min-height: 250px;
}  

div.mainbox h1 {
  margin: 0px;
  font-size: 14px;
}

div.mainbox h2 {
  margin: 0px;
  font-size: 18px;
}

div.mainbox p {
  margin: 0px 0px 10px 0px;
  font-size: 12px;
}

div.mainbox a {
  text-decoration: none;
  font-size: 12px;
}  

div.mainbox a:hover {
  text-decoration: underline;
}

div.mainbox_hdr {
  width: 100%;
  margin-bottom: 3px;
  color: rgb(100,100,100);
  font-weight: bold; 
  padding: 0px 0px 0px 0px;
  border-bottom: 1px solid rgb(180,180,180); 
  font-size: 14px; 
}  

div.mainbox_more a {
  color: rgb(255,255,255);
  text-decoration: none;
  font-size: 12px;
}  

div.mainbox_more a:hover {
  text-decoration: underline;
}

div.summary {
  border-bottom: 1px solid rgb(180,180,180);
}

div.news {
  margin-bottom: 15px;
  min-height: 75px;
}

/* ********** MENU ********** */

.mainmenu {
  /* width: 1000px; */
  width: 984px; 
  height: 32px; 
  position: relative; 
  /* top: 175px; */
  /* left: 10px; */
  z-index: 100;
  border-right: 1px solid rgb(170,40,0); 
  font-family: 'trebuchet ms','lucinda sans',arial,sans-serif;
}

/* handle IE5.5 faulty box model */
* html .mainmenu {
  /* width: 1000px; */
  width: 984px; 
  /* w\idth: 1000px; */
  w\idth: 984px; 
}

/* remove bullets, borders and padding from the default list styling */
.mainmenu ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.mainmenu ul ul {
  /* width: 124px; */
  width: 122px;
}

/* float list to make it horizontal and a relative positon to control the dropdown.mainmenu positon */
.mainmenu li {
  float: left;
  /* width: 125px; */
  width: 123px;
  position: relative;
}

.mainmenu ul li {
  text-align: center;
}

.mainmenu ul ul li {
  text-align: left;
}

/* top level link style */
.mainmenu a, .mainmenu a:visited {
  display:block;
  font-size:14px;
  text-decoration:none; 
  color: rgb(255,160,125); 
  /* width:124px; */
  width:122px; 
  height:30px; 
  background: rgb(170,40,0); 
  padding-left:0px; 
  line-height:29px; 
  font-weight:bold;
}

.mainmenu ul a {
  border:1px solid rgb(170,40,0); 
  border-width:1px 0 1px 1px; 
}

.mainmenu ul ul a {
  border:1px solid rgb(220,220,200); 
  border-width:1px 0 1px 1px; 
}

/* handle IE5.5 faulty box model */
* html .mainmenu a, * html .mainmenu a:visited {
  width:123px; 
  w\idth:123px;
/*  width:125px; 
  w\idth:125px; */
}

/* style the second level background */
.mainmenu ul ul a.drop, .mainmenu ul ul a.drop:visited {
  background: rgb(170,40,0);
}

/* style the second level hover */
.mainmenu ul ul a.drop:hover {
  background: rgb(255,160,125);
}
.mainmenu ul ul :hover > a.drop {
  background: rgb(255,160,125);
}

/* style the third level background */
.mainmenu ul ul ul a, .mainmenu ul ul ul a:visited {
  background: rgb(170,40,0);
}

/* style the third level hover */
.mainmenu ul ul ul a:hover {
  background: rgb(255,160,125);
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.mainmenu ul ul {
  visibility:hidden;
  position:absolute;
  height:0;
  top:31px;
  left:0; 
  width: 146px;
  border-top:1px solid rgb(170,40,0);
}

/* another hack for IE5.5 */
* html .mainmenu ul ul {
  top:30px;
  t\op:31px;
}

/* position the third level flyout.mainmenu */
.mainmenu ul ul ul{
  left: 146px; 
  top:-1px; 
  width: 147px;
}

/* position the third level flyout.mainmenu for a left flyout */
.mainmenu ul ul ul.left {
  left: -146px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.mainmenu table {
  position:absolute; 
  top:0; 
  left:0; 
  border-collapse:collapse;
}

/* style the second level links */
.mainmenu ul ul a, .mainmenu ul ul a:visited {
  background: rgb(170,40,0); 
  color: rgb(255,160,125); 
  height:auto; 
  line-height:1em; 
  padding:5px 10px; 
  width:125px;
  border-width:0 1px 1px 1px;
}

/* yet another hack for IE5.5 */
* html .mainmenu ul ul a, * html .mainmenu ul ul a:visited {
  width:123px;
  w\idth:123px;}
/*  width:125px;
  w\idth:125px;} */

/* style the top level hover */
.mainmenu a:hover, .mainmenu ul ul a:hover{
  color:#000; 
  background: rgb(255,160,125);
}
.mainmenu :hover > a, .mainmenu ul ul :hover > a {
  color:#000; 
  background: rgb(255,160,125);
}

/* make the second level visible when hover on first level list OR link */
.mainmenu ul li:hover ul, .mainmenu ul a:hover ul{
  visibility:visible; 
}

/* keep the third level hidden when you hover on first level list OR link */
.mainmenu ul :hover ul ul {
  visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.mainmenu ul :hover ul :hover ul { 
  visibility:visible;
}


