body
{
  color:#333;
  font-size:12px;
  font-family:Arial, Geneva, Helvetica, Verdana, sans-serif;
  line-height:100%;
  margin:0;
  
}

#doc2
{
  width:100%;    
}

#hd
{
  height:81px;
  width:980px;
  position:relative;
  margin:0 auto;
}

#bd
{
  clear:both;
  width: 100%;  
  min-height:300px;
  margin:0 auto;
  padding:0;  
  
}

#bd .bdinner{width:980px; margin-left:auto; margin-right:auto; background: #fff; }

#bd_home
{
  clear:both;
  width:100%;
  min-height:300px;
  background:#f8f8f8;
  margin:0 auto;
  padding:0;
}

#bgline {width:100%; height:194px; background:#f1f1f1; position:absolute; top:86px; left:0; z-index:-99;}

ol,ul
{
  margin:1px 0;
}

ul li
{
  list-style-type:disc;
  margin-left:15px;
}

em
{
  font-style:italic;
}

input, select {padding:4px;}


sup {vertical-align:top;}

.nas-t102
{
  text-align:right;
  width:56.25em;
  margin:auto;
}

.nas-t102 #yui-main
{
  float:right;
  margin-left:-210px;
}

.nas-t102 .yui-b
{
  float:left;
  width:190px;
}

.nas-t102 #yui-main .yui-b
{
  margin-left:190px;
}

a
{
  text-decoration:none;
  color:#01507e;
}

#logo
{
  float:left;
  margin-top:10px;
  margin-left:30px;
}

.logoimg {margin:-2px 0 0 10px;}

#toolbar
{
  float:right;
  margin:30px 0 0;  
}

#toolbar2
{
  float:right;
  margin-top:31px;
  width: 30px;  
  border-left:1px solid #ccc;
  padding-left:15px;
}

#toolbar_search
{
  float:right;
  margin-top:0;
  width:20px;
  height:20px;
  display:block;
  background:url(../images/style1/toolbar.png) no-repeat 0 0;  
}

#toolbar_search:hover
{
  background-position:0 -20px;
}

#toolbar_search span{display:none;}

#toolbar3
{
  float:right;
  margin-top:24px;
  margin-right:10px;
}

#toolbar #mod_search_searchword
{
  font-size:12px;
  background:#8e8e8e;
  border:none;
  color:#fff;
  margin-right:5px;
  padding:2px 3px;
}

#search_botton
{
  border:0 solid red;
  position:absolute;
}

#acesearchForm .acesearch_button,#adminForm .acesearch_button
{
  margin-bottom:20px;
  width:auto;
}

#acesearchForm .acesearch_button
{
  margin-top:10px;
  margin-left:150px;
}

#adminForm .acesearch_button
{
  margin-top:0;
  margin-left:162px;
}

.box-middle-inner table
{
  margin:0 0 0 5px;
}

#main
{
  line-height:150%;
  padding-top:0;
  margin-top:0;
  font-size:13px;
}


.contentpaneopen ul
{
  margin-bottom:0px;
}

.contentpaneopen ul, .contentpaneopen ol {
		
}

.contentpaneopen ul li
{
  padding-left:5px;
  margin-bottom:0px;
}

.contentpaneopen ol li
{
  margin-left:20px;
  padding-left:1px;
  margin-bottom:5px;
}

#main-inner
{
  margin:0 15px 20px 2px;
}

#left
{
  float:left;
  display:inline;
  width:223px;
  padding:0 0 0 2px;
}

#left-inner
{
  margin:0 0 27px;
  padding:2px 0 15px 2px;
}


#right
{
  width:710px;
  margin:0;
}

#right-inner
{
  margin:10px 0 0 10px;
}

#right-inner .moduletable
{
  padding-bottom:30px;
}

#right h2
{
  font-size:15px;
  margin-bottom:10px;
  font-weight:700;
}

#right h3
{
  font-size:14px;
  margin-bottom:10px;
  font-weight:400;
  color:#333;
  margin-top:0;
  padding-top:0;
}

#breadcrumb
{
  color:#fff;
  height:40px;
  padding:0 30px;
}

#breadcrumb span
{
  line-height:40px;
  font-size:16px;
}


#theme1{
  border:none;
  margin-top:0;   
  padding:0 0px;
}

#theme2 {max-width:974px; overflow:hidden;}
ul.menusection {padding-top:14px;}

#themewrapper{margin-bottom:7px;}

.parttime-theme #themewrapper{background:url(../images/style1/theme-2.jpg) no-repeat center top rgb(218,142,43); }
.fulltime-theme #themewrapper{background:url(../images/style1/theme-1.jpg) no-repeat center top rgb(88, 135, 38); }

.parttime-theme #theme1{ background:#873701; background:rgba(135, 55, 1,.9);  *border-bottom:1px solid #fff;}
.fulltime-theme #theme1{ background:#385718; background:rgba(56, 87, 24,.9); *border-bottom:1px solid #fff;}

.parttime-theme #main h1{ color:#a0340c; }
.fulltime-theme #main h1{ color:#2e971c; }

.parttime-theme .moduletable_sectionmenu ul li:hover,
.parttime-theme .moduletable_sectionmenu ul li.active{
  background:#431b00;
}
.fulltime-theme .moduletable_sectionmenu ul li:hover,
.fulltime-theme .moduletable_sectionmenu ul li.active{
  background:#18250a;
}

.parttime-theme ul.menusidemenu li a{color:#a0340c;}
.fulltime-theme ul.menusidemenu li a{color:#188505;}
  
td.rightcol
{
  padding:0 10px 0 23px;
}

div#navbar
{
  clear:both;
  position:relative;
  margin-left:0;
  background:url(../images/style1/bg-nav.gif) repeat-x;
  height:59px;
  width:962px;
}

div#navbar ul.menu
{
  border:0 solid #FF0;
  color:#fff;
  margin:0;
  padding:12px 0 0 15px;
}

div#navbar ul.menu li
{
  display:inline;
  font-size:13px;
}

div#navbar ul.menu li A
{
  text-decoration:none;
  padding:0 48px 0 17px;
}

div#navbar ul.menu li.item1
{
  border:0;
  background:url(http://handbook.hku.hk/ug/templates/hkuhb/images/style1/home.jpg) no-repeat 30px -3px;
  margin-left:5px;
  margin-right:15px;
}

div#footer
{
  width:950px;
  clear:both;
  font-size:12px;
  text-align:left;
  color:#666;
  height:0;
}

div#footer a
{
  color:#666;
}

div#footer2b a
{
  color:#666;
  text-decoration:none;
}

div#footer2b ul.menu
{
  float:right;
  list-style-type:none;
  line-height:130%;
  margin:0 0 10px -10px;
  padding:0;
}

div#footer2b ul.menu li
{
  display:inline;
  border-right:1px solid #666;
  margin-bottom:0;
  font-size:12px;
  padding:0 13px 0 0;
}

div#footer2
{
  width:948px;
  clear:both;
  font-size:13px;
  text-align:left;
  padding-bottom:20px;
  margin:0 auto;
}

div#footer2a
{
  float:left;
  display:inline;
  font-size:12px;
  color:#464646;
  letter-spacing:0;
  line-height:125%;
}

div#footer2a a
{
  font-size:12px;
  color:#666;
}

div#footer2b
{
  float:right;
  font-size:11px;
}

.fleft
{
  overflow:hidden;
}

.fright
{
  float:right;
  display:inline;
}

.highlight
{
  background:#FF0;
  padding:0 4px;
}

.gk_is_wrapper-style1 .gk_is_image
{
  width:819px;
  height:386px;
}

.gk_is_wrapper-style1
{
  overflow:visible!important;
  padding:0;
}

div.gk_is_thumbs
{
  position:absolute!important;
  z-index:98;
  right:-250px;
  top:0;
  display:none;
  margin:33px 0 0;
}


#main .contentpaneopen
{
  margin:0 0 7px;
}


blockquote
{
  background:#ed5313;
  color:#fff;
  padding:15px;
}

.decimal,.disc
{
  margin-left:20px;
}

.decimal > li
{
  list-style-type:decimal;
}

.disc > li
{
  list-style-type:disc;
}

div.search
{
  background:url(http://handbook.hku.hk/ug/templates/hkuhb/images/style1/search_bg.jpg) no-repeat left top;
  width:182px;
  height:29px;
}


#toolbar2 input
{
  font-size:13px!important;
}

br
{
  letter-spacing:0;
}


a.mainlevelsidemenu
{
  font-size:14px;
  color:#1383d2;
  line-height:22px;
  background:url(../images/style1/menuicon.gif) no-repeat left 8px;
  padding:0 0 0 8px;
}

#left-inner table td div
{
  background:url(../images/style1/menuicon.gif) no-repeat 9px 10px;
  padding:0 0 0 18px !important;
}

a.sublevelsidemenu
{
  font-size:13px;
  color:#333;
  line-height:20px;
}

a.mainlevelsidemenu:hover,a.sublevelsidemenu:hover,a#active_menusidemenu
{
  color:#14a818;
  text-decoration:underline;
}

ul.menusidemenu li
{
  border-bottom:#e0e0e0 dashed 1px;
  list-style:None;
  margin-left:0;
  padding:8px 0;    
  overflow:hidden;
  /*IE only: avoid the line-height uneven for multiple lines when increase font-size using jquery */
  *border-top:1px solid #fff;
}

ul.menusidemenu li a
{
  font-size:13px;    
  margin:0;
  padding:0;
  display:block;
  line-height:130%;
}

ul.menusidemenu li.parent li a
{
  font-size:13px;
  color:#333;
  line-height:175%;
  text-decoration:none;
}

ul.menusidemenu li.parent ul
{
  margin-top:11px;
}

ul.menusidemenu li span.separator
{
  font-size:14px!important;
  line-height:185%!important;
}

ul.menusidemenu li.active span.separator
{
  color:#14A818;
}

#right-inner #main
{
  padding:0 0 30px;
}

.box-middle #main
{
  min-height:180px;
  padding:12px 13px 30px;
}

.fontsizediv
{
  margin-top:4px;
  margin-left:15px;
  color:#333;
}

.fontsizediv a
{
  color:#333;
  font-size:10px;
  line-height:150%;
  margin:0 5px;
}

.fontsizediv .aa
{
  font-size:14px;
}

.fontsizediv .aaa
{
  font-size:18px;
}


#acesearch_bg
{
  height:auto;
}


#acesearchForm #acesearch_pagination
{
  background-color:#fff;
}

a span.acesearch_highlight
{
  font-size:15px;
}

.contentpaneopen td
{
  padding:0 0 0 2px;
  
}

#main h1
{
  font-size:18px;  
  padding:0;
}

.contentpaneopen td h1
{
  line-height:120%;
  text-transform:uppercase;
}

.moduletable_sectionmenu
{
  margin-left:15px;  
}

.moduletable_sectionmenu ul
{
  width:310px;
  float:left;
}

.moduletable_sectionmenu ul li
{
  margin-bottom:10px;
  font-size:13px;
  margin-left:15px;
  list-style:none;
}

.moduletable_sectionmenu ul li a
{
  line-height:120%;
  color:#fff;
  *font-weight:600;
  letter-spacing:0px;
}

.moduletable_sectionmenu ul li:hover,.moduletable_sectionmenu ul li.active
{  
  margin-left:5px;
  margin-bottom:5px;
  margin-top:-5px;
  padding:5px 0px 5px 10px;
}

#left ul.menu li.active a
{
  color:#019EED;
}

h1
{
  font-size:21px;
  color:#000;
  margin-bottom:10px;
  line-height:180%;
  font-weight:700;
}

h2
{
  color:#143f83;
  font-size:16px;
  margin-bottom:10px;
  margin-top:0;
  font-weight:700;
}

h3
{
  color:#e56702;
  font-size:16px;
  line-height:230%;
  margin-top:10px;
  font-weight:700;
}

h2.contentheading,.contentheading,.contentpagetitle
{
  color:#000;
  font-size:18px;
  line-height:20px;
  font-weight:700;
}


#scroll_to_top
{
  right:8%;
  bottom:20px;
  width:38px;    
  -moz-transition:bottom 250ms ease-in-out 0;
  display:block;
  font-size:1em;
  text-align:center;
  text-decoration:none;
  position:fixed;
  color:#fff;
  /*text-shadow:0 1px rgba(255,255,255,0.9);*/
  background:#666;
  background:rgba(0,0,0,.7);   
  z-index:300;
  font-weight:700;
  line-height:1em;
  margin:0;
  padding:14px 8px 16px;
}


.box-wrapper
{
  margin:0;
  padding:0;
}

.box-middle
{
  width:100%;
  padding:0;
}

.box-middle-inner
{
  padding:0;
}

#home1
{
  position:relative;
  width:963px;
  overflow:hidden;  
  margin:0 auto 5px auto;
  padding:0;
  z-index:10;
}

#home1 .hs1
{
  color:#09c;
  font-size:14px;
  font-weight:700;
}

#home1 .hs2
{
  font-size:24px;
  line-height:110%;
}

#home1 div.hs_arrow
{
  background:url(http://handbook.hku.hk/ug/images/stories/home/slider/arrow.jpg) no-repeat center center!important;
  width:100%;
  height:17px;
  margin-top:6px!important;
  margin-bottom:6px!important;
}

#home3a
{
  width:979px;
  margin:0 auto;
  padding:5px 0 30px;
}

#bd #main #home3a
{
  width:910px;
}

#home3a td a
{
  font-size:14px!important;
}

#home3a .mid_td1,#home3a .mid_td2
{
  width:485px;
  padding:0;
}

#home3a .mid_td1 .midbg
{
  background:url(../images/style2/mid_bg.gif) repeat-y center top;
  text-align:center;
  min-height:200px;
}

#home3a .mid_td1 .midbg div.topbg
{
  background:url(../images/style2/mid_top.gif) no-repeat center top;
  text-align:left;
  padding:8px 0 0 6px;
}

#home3a .mid_td1 .midbg div.bottombg
{
  background:url(../images/style2/mid_bottom.gif) no-repeat center bottom;
  text-align:left;
  padding:0 0 6px;
}


#home3a .mid_td1 .midbg div.text1
{
  font-size:22px;
  font-weight:700;
  line-height:185%;
  margin-top:14px;
}

#home3a .mid_td1 .midbg div.text2
{
  color:#666;
  font-size:13px;
  font-weight:400;
  line-height:130%;
}

#home3a .midbg div.topbg div
{
  line-height:normal;
}

#home3a .mid_td3
{
  padding:4px 0 0 42px;
}

#home3a ul {margin-top:20px;}
#home3a ul li {margin-bottom:8px;}

#main td div.text1
{
  font-size:19px;
  font-weight:700;
  line-height:185%;
  margin-top:15px;
  margin-bottom:10px;
}

#ft
{
  width:100%;
  background:url(../images/style2/footsh.gif) repeat-x center top #fff;
  margin:0 auto;
  padding:20px 0 0;
}

.gk_is_wrapper-style1 .gk_is_text p
{
  opacity:0.5!important;
  filter:alpha(opacity=50);
  background-color:#000;
  width:100%;
  display:none;
  padding:10px 10px 15px;
}


.gk_is_wrapper-style1 .gk_is_preloader
{
  height:363px;
}


html,body,.box-middle-inner table table
{
  margin:0;
}

table td,#home3a td,.mid_mid td
{
  vertical-align:top;
}

a:hover,div#footer2b a:hover,ul.menusidemenu li a:hover,ul.menusidemenu li.active a,ul.menusidemenu li.parent li.active a,ul.menusidemenu li.parent li a:hover,#home3a .midbg div.topbg div a,#main .contentpaneopen a:hover
{
  text-decoration:underline;
}

div#navbar ul.menu li A:hover,.moduletable_sectionmenu ul li a:hover
{
  text-decoration:none;
}

div.clear,#main #com-form-login .input p
{
  clear:both;
}

strong,ul.menusidemenu li.active a
{
  font-weight:700;
}

#main .contentpaneopen div,.acesearch_span_label,.acesearch_span_field,div span.acesearch_highlight,#acesearchForm .acesearch_fieldset .title_s,#acesearchForm .acesearch_fieldset .desc_s,#acesearchForm .acesearch_fieldset .route_s,#acesearchForm .acesearch_fieldset .route_s a.acesearch_results_route_link
{
  font-size:13px;
}

#adminForm,.home2-middle-inner table td
{
  padding-bottom:20px;
}


.center-home,.center-inner
{
  width:100%;
  min-height:400px;
}


.contentpaneopen #home3a .mid_td1 .midbg,.contentpaneopen #home3a .mid_td2 .midbg
{
  background:url(../images/style1/mid_bg.gif) repeat-y center top;
  text-align:center;
}

.contentpaneopen #home3a .mid_td1 .midbg div.topbg,.contentpaneopen #home3a .mid_td2 .midbg div.topbg
{
  background:url(../images/style1/mid_top.gif) no-repeat center top;
  text-align:left;
  padding:25px 0 0 35px;
}

.mytable1, .mytable2 {table-layout: fixed; border-collapse:collapse; border-spacing:0;}
.mytable_standard {border-collapse:collapse;}

.mytable1 td, .mytable2 td, .mytable_standard td {
	word-wrap: break-word;
	
	/*word-break: break-all;*/		
}

.mytable1, .mytable2,
.mytable1 td, .mytable2 td,
.mytable1 th, .mytable2 th
{border:1px solid #333; border-width:1px;}


.mytable1 td a, .mytable2 td a, .mytable_standard td a{
	word-wrap: break-word;
	
	/* For Firefox */
	white-space: pre-wrap;
	word-break: break-all;	
	
	/* For IE */
	*word-break: normal;	
}

a.break_long_link{
	display:block; 
	
	-ms-word-break: break-all;
     word-break: break-all !important;

     /* Non standard for webkit */
     word-break: break-word;

-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;        
}

.mytable1{
  margin:4px 0 !important;	   
}

.mytable1 td{  
  padding:4px 5px!important;  
}

.mytable2 { 	
	margin:4px 0 !important; 
	-webkit-print-color-adjust: exact; 	 	
	*border-collapse: expression('separate', cellSpacing = '0px');
	*background: #333;
}
	
.mytable2 td{ 
	vertical-align:middle; padding:4px !important; *background: #fff;
}

table.mytable_standard td{ padding:4px 7px !important;}

table.mytable_vertical_middle{}
table.mytable_vertical_middle td{ vertical-align:middle}

/* header table cell */
td.headercell, tr.headercell td { background:#333 !important; color: #fff; -webkit-print-color-adjust: exact; vertical-align:middle; line-height:105%; font-weight:bold;}

/* grey bg table cell */
td.greycell_border, tr.greycell_border td{ background:#e6e6e7; border-top:1px solid #717070 !important; border-bottom:1px solid #717070!important; -webkit-print-color-adjust: exact; }
td.greycell, tr.greycell td { background:#e6e6e7; -webkit-print-color-adjust: exact;}
td.greycell {background:#e6e6e7 !important;}

/* darker grey bg table cell */
td.darkgreycell_border, tr.darkgreycell_border td{ background:#c9c9ca; border-top:1px solid #717070; border-bottom:1px solid #717070; -webkit-print-color-adjust: exact; }
td.darkgreycell, tr.darkgreycell td { background:#c9c9ca; -webkit-print-color-adjust: exact;}
td.darkgreycell {background:#c9c9ca !important;}

td.border_bottom { border-bottom:1px solid #717070 !important; -webkit-print-color-adjust: exact;}

td.no_top_border {border-top:none !important;}
td.no_bottom_border {border-bottom:none !important;}

.smaller_size {font-size:11px; line-height:120%;}

.red {color:red;}

.gk_is_text_bg{display:none;}

ul.pointform_hyphen li, 
li.pointform_hyphen { list-style-type:none;
list-style-image:url('../images/style1/pointform_hyphen.gif') ;
padding-left:0px;
}

ul.pointform_no_margin li,
li.pointform_no_margin{
	margin-bottom:0;
}

a.fs_active, a.fs_active_big {text-decoration:underline; color: #01507e !important;}
a.fs_active_big {font-size:18px !important;}

td.buttonheading {padding-left:10px;}

/* search form / result */
#searchForm {margin-top:-10px;}
table.search_form td .button {background: #113d85; width:80px; height:28px; margin-bottom:10px; font-size:13px;}
table.search_form td .button:hover {background: #eb8808; cursor:pointer;}
#search_form_wrap { width:98%; background: #efefef; padding:10px 7px 7px 7px; margin:10px 0;}
#search_result_intro {margin:10px 0; border-bottom:1px solid #ccc; padding-bottom:10px; font-size:14px; color: green;}
table.search_form td {padding:4px; vertical-align:top;}

.search_title {font-size:15px; font-weight:bold; line-height:150%; color: #333;}
.contentpaneopen_search fieldset {margin-bottom:15px; border-bottom:1px solid #ccc; padding-bottom:15px;}
.cat_search {color: #666; display:block; margin-left:24px; margin-bottom:8px; font-size:14px;}

.searchintro_search td {color: red;}

.pagenav {padding:5px; font-size:14px;}

/* admin menu */
.menu_adminmenu {float:right;}
.menu_adminmenu, ul.menu_adminmenu li {display:inline;}
ul.menu_adminmenu li {border-right:1px solid #ccc; padding-right:10px;}
ul.menu_adminmenu li a {color:red !important; font-size:12px;}