/*** ESSENTIAL STYLES ***/
.sf-menu{
	background: url(/20230313210556oe_/https://www.cuhk.edu.hk/sci/essc/images/menu_bg.gif) repeat-x;
	height: 38px;
	border: #60C7DF solid 3px;
	border-radius: 0 0 5px 5px;
	text-align:center;
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	font-weight:bold;
	color:#000000;
	line-height:40px;
}
.sf-menu a{
	color:#000000;
	line-height:40px;
}
.sf-menu a, .sf-menu a:link, .sf-menu a:hover, .sf-menu a:visited{
	text-decoration:none;
	color:#000000;
}
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0px 0px;
	list-style: none;
	color:#000000;
	line-height:40px;
	vertical-align:baseline;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
.sf-menu > li {
	float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/
.sf-menu {
	float: left;
	margin-bottom: 1em;
}
.sf-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	width: 180px;
	background: rgba(255,255,255,.85);
	/* For IE 5.5 - 7*/
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#90FFFFFF, endColorstr=#90FFFFFF);
	/**/
	top: 38px;
	border-top: none;
	border-left: #60C7DF solid 3px;
	border-right: #60C7DF solid 3px;
	border-bottom: #60C7DF solid 3px;
	border-radius: 0 0 5px 5px;
}
.sf-menu a {
	text-decoration: none;
	zoom: 1; /* IE7 */
}
.sf-menu a:hover {
	background: url(/20230313210556oe_/https://www.cuhk.edu.hk/sci/essc/images/menu_bg_hover.gif) no-repeat;
	background-position:center;
	text-shadow: 1px 0px 15px #FFFFFF;
	height:38px;
}
.sf-menu li {
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;	
	margin-right:1px;
}
.sf-menu ul li {
	border-bottom: 1px solid #eee;
	line-height: 20px;
	height:40px;
}

.sf-menu ul li a:hover {
	background: url(/20230313210556oe_/https://www.cuhk.edu.hk/sci/essc/images/menu_hover-bg_14.gif) repeat-y;
	background-size:cover;
	background-position: center;
	text-align:center;
	color:#FFFFFF;
	height:40px;
}
.sf-menu ul ul li {
}
.sf-menu li:hover,
.sf-menu li.sfHover {
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	border-color: transparent;
	border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
}

.doubleline{
	line-height:18px;
	padding-top:2px;
}

