
body {font-family: Century Gothic, Arial, "Montserrat", sans-serif; color: #333; background: #FFF ;font-size: 16px; line-height: 1.5em;}

@font-face {
	font-family: "NotoSansHK";
	src: url(../font/NotoSansHK-Regular.otf);
}

:root {
    --primary: #FFC0CB;
}
 
.lang_tc { 
	letter-spacing: 2px;
	line-height:26px;
	font-size: 17px;
	text-align: justify;
}

/* ------------------------------------Other------------------------------------ */
section {min-height: 200px; padding-bottom:40px; }
img { border: 0px; max-width:100%; height:auto; }

.dropdown-menu {
   margin-top: 0px;
}

a:link, a:visited, a:active  { text-decoration: none; color: #FF6600;}
a:hover { text-decoration: underline; color: #036C94;}

a.pink:link {color: var(--primary);}
a.pink:hover {text-decoration: underline; color: FFDA76;}


.text_heading {
	color: #004B97;
	font-weight: bold;	
	font-size: 20px;
	/* border-bottom: 1px double #B30E14; */
}

hr {
  border:none;
  border-top:1px dotted #333;
  color:#333;
  background-color:#fff;
  height:1px;
  width:100%;
}

.hr_blue{
  color:#004B97;
  border:5px;
  background-color:#004B97;
  height:5px;
  width:100%;
}

.bg-pink { background-color: var(--primary); }

#menu .nav-link {font-size: 15px; padding: 0.4rem 0.9rem !important; font-weight: bold; color: #FFF !important;}
#menu .tc .nav-link {font-size: 18px !important;}
#menu .nav-link:hover,
#menu .nav-link:active,
#menu .dropdown-menu a:hover,
#menu .dropdown-menu a:active
{color: #FFF35A !important;}
#menu .dropdown:hover>.dropdown-menu { display: block;}
#menu .dropdown-menu { border: 1px solid rgba(255, 140, 158, 0.7); border-radius: 0.25rem;}
#menu .dropdown-item-rg { color: var(--primary) !important; }
#menu .dropdown-item-rg:hover, #menu .dropdown-item-kln:focus, .dropdown-item-kln.active, .dropdown-item-kln:active{  background-color: var(--primary) !important; }

#menu .navbar-toggler { border-color: rgba(255, 255, 255, 0.8)}
#menu .navbar-toggler:focus  { outline: none !important;}

#menu .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-tabs .nav-link { cursor:pointer; }

.nav-link:focus  { outline: none !important;}

.School_name_home {
  font-family: Britannic Bold, Microsoft YaHei UI;
  color: #004B97;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5em;
  text-shadow:2px 2px 6px #B0B0B0;
}

 .img-wrapper {
  position: relative;
  width: 100%;
 }

.img-overlay {
position: absolute;
top:58.9%;
left:24.4%;
}


@media (min-width: 992px) and (max-width: 1199.98px) { 
.School_name_home { font-size: 20px; }
#menu .nav-link {font-size: 13px; padding: 0.4rem 0.6rem !important;}
}
#menu .tc .nav-link {font-size: 15px; }

.list1 li{ background:url(../images/marker.png) 0 7px no-repeat; padding:0 0 25px 20px; list-style: none;}


ul.blue {
  list-style: none;
}

ul.blue li::before {
  content: "\2022";
  color: #04C7D0;
  font-weight: bold;
  font-size: 1.2em;
  display: inline-block; 
  width: 1em;
  margin-left: -1em;
}

img.newsletter {
	Margin-bottom: 30px;
    border:10px solid #ffffff;
}
img.newsletter:hover {
	box-shadow: 0px 0px 15px #ccc; 
    border:10px solid #ffffff;
}

.btn-kln {
  color: #fff;
  background-color: #6AD5B8;
  border-color: #6AD5B8;
}

.btn-kln:hover {
  color: #fff;
  background-color: #3EC8A2;
  border-color: #3EC8A2;
}

.btn-kln:focus, .btn-kln.focus {
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

/* Staff Profile */
.container1 {
  position: relative;
  width: 100%;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.container1:hover .overlay {
  opacity: 0.8;
  cursor: pointer;
}

.text {
  color: white;
  font-size: 0.9em;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: left;
}

.container1 .modal-body {
  text-align: justify;
}

/* Sub Menu Styles */

#nav, #nav 

ul {

margin-left: 0px;
margin-top: 0px;
margin-bottom: 25px;
}

#nav a{
color:#004B97;
}

#nav a:hover,

#nav li:hover ul, #nav li.over ul {
display: block; 
list-style-type: circle;
} 
body#nav01 a#nav01,
body#nav02 a#nav02,
body#nav03 a#nav03,
body#nav04 a#nav04,
body#nav05 a#nav05,
body#nav06 a#nav06,
body#nav07 a#nav07,
body#nav08 a#nav08,
body#nav09 a#nav09,
body#nav10 a#nav10,
body#nav11 a#nav11,
body#nav12 a#nav12,
body#nav13 a#nav13,
body#nav14 a#nav14,
body#nav15 a#nav15,
body#nav16 a#nav16,
body#nav17 a#nav17,
body#nav18 a#nav18,
body#nav19 a#nav19,
body#nav20 a#nav20,
body#nav21 a#nav21,
body#nav22 a#nav22,
body#nav23 a#nav23,
body#nav24 a#nav24,
body#nav25 a#nav25,
body#nav26 a#nav26,
body#nav27 a#nav27,
body#nav28 a#nav28,
body#nav29 a#nav29
{
/*background-color: #6BC582;*/
color: #CB0000;

}



#navspacer {
height: 50px;
}

 

/******************* footer ********************/
	

footer {
	color: #FFF;
	background-color: var(--primary);
	width: 100%;
	font-size: 15px;
	}


a.footer:link, a.footer:visited, a.footer:active  { text-decoration: none; color: #FFF;}
a.footer:hover { color: #FFF35A}

.btm-link, .btm-link {
	color:white !important;
}

/******************* Scroll Top ********************/

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #FCC737;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  opacity:0.8;
}

#myBtn:hover {
  background-color: #DA498D;
}


/******************* Responsive Table ********************/
@media (max-width: 768px) { 
  #TchingPypTable table thead {
    position: absolute;
    top: -9999px;
    left: -9999px;

  }

  #TchingPypTable table tbody {
    background: linear-gradient(90deg, #FABF8F 43%, white 43%);
  }

  #TchingPypTable table td {
    display: block;
    position: relative;
    padding-left: 50%;
    text-align: left;
  }

  #TchingPypTable table td:before {
    content: attr(data-label);
    display: inline-block;
    margin-left: -100%;
    font-weight: bold;
  }

}
