
body {font-family: Century Gothic;; color: #333; background: #FFF ;font-size: 16px; line-height: 1.5em;}
html, body {width:100%; padding:0; }


  
/* ------------------------------------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.green:link {color: #009900;}
a.green:hover {text-decoration: underline; color: #009900;}
a.blue:link {color: #45AAEA;}
a.blue:hover {text-decoration: underline; color: #45AAEA;}

.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-blue { background-color: #71CDE2; }
.bg-green { background-color: #8DDEC8; }
.bg-lohas { background-color: #3fa435; }

.nav-link {font-size: 16px; padding: 0.4rem 1.2rem !important; font-weight: bold; color: #FFF !important;}

.nav-link:hover,
.nav-link:active,
.dropdown-menu a:hover,
.dropdown-menu a:active
{color: #FFF35A !important;}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.dropdown-menu {
  border: 1px solid rgba(115, 204, 224, 0.7);
  border-radius: 0.25rem;
}

#lohas .dropdown-menu {
  border: 1px solid rgba(63, 164, 53, 0.7);
  border-radius: 0.25rem;
}

.dropdown-item-hk { color: #2EB1CD !important; }
.dropdown-item-kln { color: #6AD5B8 !important; }
.dropdown-item-lohas { color: #3fa435 !important; }

.dropdown-item-hk:hover, .dropdown-item-hk:focus, .dropdown-item-hk.active, .dropdown-item-hk:active{  background-color: #73CCE0 !important; }
.dropdown-item-kln:hover, .dropdown-item-kln:focus, .dropdown-item-kln.active, .dropdown-item-kln:active{  background-color: #8DDEC8 !important; }
.dropdown-item-lohas:hover, .dropdown-item-lohas:focus, .dropdown-item-lohas.active, .dropdown-item-lohas:active{  background-color: #3fa435 !important; }

.navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.8);
}

.navbar-light .navbar-toggler:focus  { outline: none !important;}

.navbar-light .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");
}


.School_name {
  font-family: Britannic Bold, Microsoft YaHei UI;
  color: #004B97;
  font-size: 36px;
  font-weight: bold;
  line-height: 1.7em;
  text-shadow:2px 2px 6px #B0B0B0;
}

@media (min-width: 992px) and (max-width: 1199.98px) { .School_name { font-size: 28px; }}

.School_name_home {
  font-family: Britannic Bold, Microsoft YaHei UI;
  color: #004B97;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.7em;
  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: 22px; }
.nav-link {font-size: 13px; padding: 0.4rem 1.0rem !important;}
}



.home-map {
  background: url(../images/Map-home.png);
  background-repeat: no-repeat;
  background-position: center;
  min-height: 600px;
}

.home-map-hk {
  position: absolute;
  bottom: 100px;
  left: 52%;
}

.home-map-kln {
  position: absolute;
  bottom: 250px;
  left: 53%;
}

.home-map-lohas {
  position: absolute;
  bottom: 200px;
  left: 68%;
}

.home-map-rg {
  position: absolute;
  bottom: 350px;
  right: 46%;
}

@media (min-width: 1920px) { 
.home-map-lohas {  left: 62% !important;}
 }

@media (min-width: 768px) and (max-width: 1199.98px) { 
.home-map-lohas {  left: 70% !important;}
}

@media (min-width: 576px) and (max-width: 767.98px) { 
.home-map-lohas {  left: 74% !important;}
}

@media (max-width: 575.98px) {
.home-map {
  background: url(../images/Map-home-mobile.png);
  background-repeat: no-repeat;
  background-position: center;
  min-height: 400px;
}
.home-map-hk {bottom: 60px; left: 48%;}
.home-map-kln {bottom: 170px; left: 50%;}
.home-map-lohas {bottom: 130px; left: 74%;}
.home-map-rg {bottom: 230px; right: 40%;}

.home-school-icon {width: 75%;}
 }


.list1 li{ background:url(../images/marker.png) 0 7px no-repeat; padding:0 0 0 20px; list-style: none;}

.list2 li{ background:url(../images/marker.png) 0 7px no-repeat; padding:0 0 20px 30px; 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);
}

.btn-lohas {
  color: #fff;
  background-color: #3fa435;
  border-color: #3fa435;
}

.btn-lohas:hover {
  color: #fff;
  background-color: #3EC8A2;
  border-color: #3fa435;
}

.btn-lohas:focus, .btn-lohas.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;
}

 /******************* App Form style ********************/
.text_appform {
	font-weight: bold;
	text-transform: uppercase;
	color: red;
	background-color:#FFF1CD;
	padding-top:5px;
	padding-bottom:5px;
}

.txtfield {
	height: 30px;
	box-sizing: border-box;
/*	-webkit-appearance: none; */
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	border: 1px solid #d3d0d1;
    color: #737272;
    padding: 5px 5px 5px;
}

.txtwidth {
	width: 100%;
}

.pad {padding-bottom:10px;}

.bg_filled {
	font-weight:bold;
	height:25px;
}
.bg_odd {
	background: #F2F2F2;}
.bg_title {
	background: #911316;
	color:#FFFFFF}
	
.class_head {background-color:#C5DEB5;padding-top:5px;padding-bottom:5px;}
.class_odd {padding-top:5px;padding-bottom:5px;border-bottom:1px solid #f0f0f0;}
.class_even {padding-top:5px;padding-bottom:5px;border-bottom:1px solid #eeeeee;}

@media(max-width:1200px) { 
.class_head,.class_odd,.class_even {font-size:0.9em;line-height:1.2em;}
	}

/* End App Form style */


/******************* footer ********************/
	

footer {
	color: #FFF;
	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: #004B97;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  opacity:0.8;
}

#myBtn:hover {
  background-color: #777;
}


/******************* 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;
  }

}
