html {
  background: #fff url(../images/layout/html_bg.gif) 0 0 repeat-x;
}

body {
  text-align: center;
  margin: 0;
  background: transparent url(../images/layout/body_bg.gif) center 0 no-repeat;
}

#popup {
  background: none;
}

#container {
  width: 894px;
  margin: 0 auto;
  text-align: left;
}

#header {
  position: relative;
  height: 108px;
}
#header h1 {
  margin: 0;
  padding: 0;

  position: absolute;
  left: -22px;
  top: 34px;
}
#header h1 a:link, #header h1 a:visited {
  background: transparent url(../images/layout/logo.gif) 0 0 no-repeat;
  display: block;
  width: 295px;
  height: 51px;
}
#header h1 a img {
  display: none;
}

#main_wrapper {
  background: transparent url(../images/layout/main_bg.gif) center bottom no-repeat;
}
#main {
  margin: 0 16px 0 16px;
  padding: 0 0 16px 0;
  min-height: 380px;
}
* html #main {
  height: 380px;
}

#main h1#pageheader {
  margin: 30px 0 16px 10px;
}

#main #top {
  background: transparent url(../images/layout/top.gif) 0 0 no-repeat;
  height: 90px;
}
#main #top img {
  margin: 4px 0 0 4px;
}

#main #sidebar {
  background: transparent url(../images/layout/sidebar_bg.gif) 0 0 repeat-y;
  width: 206px;
  float: left;
  margin: 0 0 0 4px;
  padding: 10px 0 0 0;
  display: inline;
}

#main #sidebar #sidebar_content {
  width: 188px;
  margin: 0 0 0 9px;

}
#main #sidebar #sidebar_bottom {
  background: transparent url(../images/layout/sidebar_bottom.gif) 0 0 no-repeat;
  line-height: 10px;
  /* height: 10px; */
}
#main #sidebar a:link, #main #sidebar a:visited {
  color: #005dab;
}
#main #sidebar a:hover {
  color: #1874c1;
}

#main #sidebar h2 {
  margin: 10px 0 10px -9px;
  padding: 0 12px;
  width: 182px;
  background: transparent url(../images/layout/sidebar_header.gif) 0 5px no-repeat;
  position: relative;
}



#main #content {
  float: left;
  margin: 5px 0 0 23px;
  width: 623px;
}

#footer {
  height: 31px;
  padding: 0 21px;
  margin: 10px 0;
}
#footer * {
  color: #a9a9a9;
  font-weight: normal;
}
#footer .left {
  float: left;
  padding: 12px 0 0 0;
}
#footer .right {
  float: right;
}
#footer .right  .dreamjob {
  background: transparent url(../images/layout/dreamjob.gif) 0 0 no-repeat;
  display: block;
  width: 94px;
  height: 31px;
  float: left;
}
#footer .right span {
  float: left;
  margin: 12px 7px 0 0;
}

#sidebar ul li, #content ul li {
  padding: 0 0 0 13px;
}

#sidebar ul li {
  background: transparent url(../images/layout/bullet_circle.gif) 0 5px no-repeat;
}
#content ul li {
  background: transparent url(../images/layout/bullet_circle.gif) 0 5px no-repeat;
}




/*** [MENU] ***/

#nav {
  height: 37px;
  position: absolute;
  right: 9px;
  bottom: -7px;
}

#nav ul {
  z-index: 10000;
}

#nav ul,
#nav ul li,
#nav ul ul {
  margin: 0;
  border: 0 none;
  padding: 0;
  list-style: none;
}

#nav ul:after /*From IE 7 lack of compliance ??? */{
  clear: both;
  display: block;
  content: ".";
  height: 0;
  visibility: hidden;
}

#nav ul li {
  float: left; /*For IE 7 lack of compliance*/
  display: inline; /*For IE*/
  position: relative;
}

/* Root Menu */

#nav ul a  {
  padding: 0 30px;
  line-height: 37px;
  color: #005dab;
  text-decoration: none;
  display: block;
}
* html #nav ul a { /* weird IE bug? */
  /* padding: 0 12px 0 7px; */
}

/* Root Menu Hover Persistence */
#nav ul a:hover,
#nav ul li:hover a,
#nav ul li.iehover a,
#nav ul li.active a {
  background: #fff url(../images/layout/li_hover.gif) 0 -74px no-repeat;
  color: #de261d;
}

#nav ul li span {
  width: 16px;
  line-height: 37px;
  font-size: 1px;
  display: block;
  background: transparent url(../images/layout/li_hover.gif) 0 0 no-repeat;
  position: absolute;
  right: 0;
  top: 0;
}
* html #nav ul li span {
  right: -1px;
}

#nav ul a:hover span,
#nav ul li:hover span,
#nav ul li.iehover span,
#nav ul li.active span {
  background-position: 0 -37px;
}




#nav ul ul {
  display: none;
  position: absolute;
  top: 37px;
  left: 15px;
  width:179px;
  background-color: #e1e1e1;
  padding: 0 0 1px 0;
}

#nav li li {
  width: 177px;
  margin: 1px 0 0 1px;
}

#nav ul li li a:link, #nav ul li li a:visited {
  padding: 0 0 0 16px;
  line-height: 24px;
  background: #fff url(../images/layout/bullet_li.gif) 5px 10px no-repeat;
  color: #005dab;
  height: 1%;
}

#nav ul li li a:hover,
#nav ul li li:hover a,
#nav ul li li.iehover a,
#nav ul li li.active a {
  background: #c7e2f9 url(../images/layout/bullet_li.gif) 5px 10px no-repeat;
  color: #005dab;
}



#nav ul ul ul {
  display: none;
  top: -1px;
  left: 177px;
}

#nav li li li a:link, #nav li li li a:visited {
  background-color: #fff;
}
#nav ul li li li a:hover,
#nav ul li li li:hover a,
#nav ul li li li.iehover a,
#nav ul li li li.active a {
  background-color: #c7e2f9;
}






#nav li:hover ul,
#nav li.iehover ul {
  display: block;
}
#nav li:hover li ul,
#nav li.iehover li ul {
  display: none;
}
#nav li li:hover ul,
#nav li li.iehover ul {
  display: block;
}