




/*
     FILE ARCHIVED ON 20:03:14 Jul 25, 2011 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 17:14:00 Mar 19, 2017.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/* CSS Document */
/* Masthead styles */

#masthead_logo {width:185px; height:126px;position:relative;float:left;}
#masthead_sg {width:235px; height:40px;background-image:url("/web/20110725200314/http://www4.mha.gov.sg/images/logo_singov.gif");position:relative;float:right;}
#masthead_wis {width:210px;height:26px;position:relative;clear:right; float:right;}
#masthead_sgms {height:26px;}
#masthead_sgms {position:relative; clear:right; float:right;padding-top:10px;}
#masthead_menu_container {width:355px; height:21px; margin-right:10px;position:relative;clear:right; float:right;z-index:500;top:3px;}
#masthead_menu_home {width:103px; height:21px; position:relative;float:left;}
#masthead_menu {height:21px; position:relative; float:left;}

.header_nav {color: #696E82; font-family: Arial; font-size: 10px; text-decoration: none; font-weight: normal;}
a.header_nav:link {color: #696E82; font-family: Arial; font-size: 10px; text-decoration: none;}
a.header_nav:hover {color: #303030; font-family: Arial; font-size: 10px; text-decoration: underline;}
a.header_nav:active {color: #696E82; font-family: Arial; font-size: 10px; text-decoration: underline;}
a.header_nav:visited {color: #696E82; font-family: Arial; font-size: 10px; text-decoration: none;}
a.header_nav:visited:hover {color: #696E82; font-family: Arial; font-size: 10px; text-decoration: none;}

.search_label {color: #CF000E; font-family: Arial; font-size: 11px; text-decoration: none; font-weight: bold;}

/* dropdown menu */
.topnavigation {
position:relative;
z-index:800;
width:252px;
}
/* remove all the bullets, borders and padding from the default list styling */
.topnavigation ul {
padding:0;
margin:0;
list-style-type:none;
}
.topnavigation ul ul {
width:126px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.topnavigation li {
float:left;
position:relative;
width:126px;
border: 1px solid #f2f2f2;
border-top: none;
}

li.lvl0 {
border: none;
}


/* style the links for the top level */
.topnavigation a, .topnavigation a:visited {
height:16px; 
width:131px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .topnavigation a, * html .topnavigation a:visited {
width:155px;
w\idth:155px;
}

/* style the second level background */
.topnavigation ul ul a.drop, .topnavigation ul ul a.drop:visited {
background:#BBB7B7 url(/web/20110725200314/http://www4.mha.gov.sg/images/drop.gif) bottom left no-repeat;
width:131px;
}
/* style the second level hover */
.topnavigation ul ul a.drop:hover{
display:block;
background:#2D405C url(/web/20110725200314/http://www4.mha.gov.sg/images/drop.gif) bottom left no-repeat;
width:136px;
}
.topnavigation ul ul :hover > a.drop {
display:block;
background:#DFDFDF url(/web/20110725200314/http://www4.mha.gov.sg/images/drop.gif) bottom left no-repeat;
width:136px;
}
/* style the third level background */
.topnavigation ul ul ul a, .topnavigation ul ul ul a:visited {
display:block;
background:#DFDFDF;
width:132px;
}
/* style the third level hover */
.topnavigation ul ul ul a:hover {
display:block;
background:#b2ab9b;
width:132px;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.topnavigation ul ul {
visibility:hidden;
position:absolute;
height:0;
top:21px;
left:0; 
width:131px;
display:block;
}
/* another hack for IE5.5 */
* html .topnavigation ul ul {
top:21px;
t\op:21px;
}

/* position the third level flyout menu */
.topnavigation ul ul ul{
left:153px; 
top:0;
width:131px;
display:block;
}
/* position the third level flyout menu for a left flyout */
.topnavigation ul ul ul.left {
left:-153px;
display:block;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.topnavigation table {position:absolute; top:0; left:0;display:block;
}

/* style the second level links */
.topnavigation ul ul a, .topnavigation ul ul a:visited {
background:#BBB7B7; 
color:#000; 
line-height:1em; 
padding:5px 10px;
width:131px;
display:block;
/* yet another hack for IE5.5 */
}

* html .topnavigation ul ul a{
width:131px;
w\idth:131px;
display:block;
}


/* style the top level hover */
.topnavigation a:hover, .topnavigation ul ul a:hover{
color:#fff; 
/*background:#51565D;*/
width:136px;
}
.topnavigation :hover > a, .topnavigation ul ul :hover > a {
color:#fff;
/*background:#51565D;*/
width:136px;
}

/* make the second level visible when hover on first level list OR link */
.topnavigation ul li:hover ul,
.topnavigation ul a:hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.topnavigation ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.topnavigation ul :hover ul :hover ul{ 
visibility:visible;
}

/* keep the fourth level hidden when you hover on first level list OR link */
.topnavigation ul :hover ul :hover ul ul{
visibility:hidden;
}

/* make the fourth level visible when you hover over second level list OR link */
.topnavigation ul :hover ul :hover ul :hover ul{ 
visibility:visible;
}

/* top dropdown menu 
.topnavigation ul {
  padding: 0;
  margin: 0;
  list-style: none;
  z-index:200;
  }
  
#topnav a {font-weight:bold; color:#333333; text-decoration:none;}
#topnav li li a {display:block; font-weight:normal; color:#333333; padding:2px 2px 2px 2px;}
#topnav li li a:hover {background-image:url("/web/20110725200314/http://www4.mha.gov.sg/images/bg_dropdown_mouseover.gif"); border: solid 1px  #A7BDE2;}

.topnavigation li {
  float: left;
  position: relative;
  text-align:center;
  cursor:110px;
  background-color:#FFFFFF;
  }
  
.topnavigation li ul {
  display: none;
  position: absolute; 
  top: 100%;
  left: 0;
  width: 130px;
  font-weight:normal;
  background: url("/web/20110725200314/http://www4.mha.gov.sg/images/bg_dropdown.gif") bottom left repeat-x;
  padding: 2px 2px 2px 2px;
  border: solid 1px  #A1A1A1;
  background-color:#FFFFFF;
  }
  
.topnavigation li > ul {
	top: 110px;
	left: 110px;
	}

.topnavigation li li {
display:block;
float:none;
background-color: transparent;
border:0;
}
	
.topnavigation li:hover ul, li.over ul {display: block; }
end dropdown menu */

/* end masthead styles */