/* CSS Document */
body {
	/* background-color: #d4e295; */
	line-height:1.8em;
	font-size:1.6em;
}
/*
:lang(zh-hk) body {
	font-family: 細明體_HKSCS,'新細明體','新细明体',PMingLiu,'細明體','细明体',MingLiu,"Helvetica Neue",Helvetica,Arial,sans-serif;
}

:lang(zh-cn) body {
	font-family: 細明體_HKSCS, '新細明體','新细明体',PMingLiu,'細明體', "细明体", MingLiu_HKSCS,"Helvetica Neue",Helvetica,Arial,sans-serif;
}*/

a:link {
	color: #105d1f;
	/*font-weight: bold;*/
}
a:visited {
	color: #105d1f;
}
a:hover {
	color: #06ab14;
}
a:active {
	color: #105d1f;
}
.dropdown-menu {
	min-width: 146.5px;
	padding: 0px 0;
	margin: 0px 0 0;
}
ul.nav>li:nth-child(9) .dropdown-menu {
	text-align: center;
}
.gap {
	padding-bottom: 5px;
	background-color: #FFFFFF;
}
.navbar-default {
    background-color: #d0de7d;
}
.navbar-default .navbar-nav > li > a {
    color: #105d1f;
	font-weight: bold;
}

.navbar-nav > li > a {
    color: #000;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    color: #d9e597 !important;
    background-color: #06ab14;
}
.dropdown-menu > li > a {
	/* 1st level menu font colour */
	color: #105d1f;
	/*font-weight: bold;*/
	background-color: #ecf2cb;
}
:lang(zh-cn) .dropdown-menu > li > a {
	font-size: 16px;
}
:lang(zh-hk) .dropdown-menu > li > a {
	font-size: 16px;
}
.dropdown-menu > li > a:hover {
	color: #d9e597;
	background-color: #067814;
}
.main_menu {
	width: 100%;
	background-color: #fff;
/*	background: linear-gradient(to right, yellow 0%, yellow 50%, red 50%, red 100%);*/
	padding: 0px;
	margin: 0px;
}
.container {
	margin: 0 auto;
	padding-left:0;
	padding-right:0;
	width: 100%;
}
        .top-banner {
            width: 100% !important;
            display: flex;
            justify-content: center;
            padding: 0;
            background: linear-gradient(to right, #d0de7d 0%, #d0de7d 50%, #298e2e 50%, #298e2e 100%);
        }
        
        .banner-image {
            max-width: 1920px;
            width: 100%;
            height: auto; /* Changed from fixed height to auto */
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }
        
        .banner-image img {
            width: 100%;
            height: auto; /* Changed to auto for responsive scaling */
            object-fit: cover;
        }

.desktop { display: block; }
.mobile { display: none; }

/*
#main {
	background-color: #FFFFFF;
}
*/

/* remove row margin */
.row {
    margin-right: 0px;
    margin-left: 0px;
}
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding: 0px;
}
#main {
	padding:7px;
}
/* generating space between each portion of the main content*/
.spacer {
	/* background-color:#FFFFFF; */
	padding:3px;
}

.navbar {
/*	width: 1000px;*/
	margin: auto;
	min-height: 40px;
}

.common_Text {
	/*font-weight: bold;*/
	padding-top: 5px;
}

.index_page_Text_Title_Block {
	/* background-color: #FFFFFF; */
	color: #105d1f;
	font-weight: bold;
	font-size: 1.3em;
	line-height:1.8em;
}

.front_slide_Header_Block{
	background-color: #067814;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 1.2em;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

@media (min-width: 1200px) {
	.container {
		width: 1200px;
		padding-left:0;
		padding-right:0;
	}
}

@media (max-width: 1200px) {
	#main_content {
		padding-left: 5px;
		padding-right: 5px;
	}
}

@media (min-width: 961px) and (max-width: 1200px) {
	.container {
		width: 100%;
		padding-left:0;
		padding-right:0;
	}
	.navbar {
	/*	width: 1000px;*/
		margin: auto;
	}
	.content_main {
		background-color: #FFFFFF;
/*		padding-left: 10px;
		padding-right: 10px;*/
		margin: auto;
/*		margin-left:10px;
		margin-right:10px;
/*		width: 98%;*/
	}
}
@media (max-width: 960px) {
/*
	.navbar {
		width: 100%;
		margin: auto;
	}*/
	.container {
		width: 100%;
	}
	.content_main {
		padding-left: 10px;
		padding-right: 10px;
/*		margin-left:10px;
		margin-right:10px;
/*		width: 98%;*/
	}
}

@media (min-width: 768px) {
	.main_menu { background-color: #d0de7d; }
	.main_menu .content_main { background-color: #d0de7d; }

	.navbar-default .navbar-nav > li > a {
		color: #105d1f;
		font-weight: bold;
		line-height: 20px; /* Adjust based on your font size */
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.navbar-nav {
		height: 40px;
	}

	.navbar-nav > li {
		height: 100%;
	}

}

@media (max-width: 767px) {

	.desktop { display: none; }
	.mobile { display: block; }

	.navbar-default {
    	background-color: #FFF;
	}

	.collapse.in {
		background-color:  #d0de7d;
	}

	.navbar-default .navbar-toggle {
	    background-color:  #fffbd1 !important;
	}

	.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
	    background-color: #105d1f;
	}

	.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover {
		color: #d9e597;
		background-color: #067814;
	}
	
	.dropdown-menu>li>a:link, .dropdown-menu>li>a:visited, .dropdown-menu>li>a:active  {
		color: #105d1f;
	}
	
	.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
		color: #d9e597;
		background-color: #067814;
	}
	
	.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
		color: #d9e597;
		background-color: #067814;
	}

	.navbar-default .navbar-nav .open .dropdown-menu>li>a {
		color: #105d1f;
		font-weight: bold;
	}
	
	#langM a:focus, #langM a:hover {
		text-decoration: none;
		background-color: #06ab14;
	}

	.navbar-default .navbar-toggle .icon-bar {
		background-color: #529475;
	}

}

@media (min-width: 768px) {
/* remove navbar border radius */
.whitebg {
	background-color: #fff;
}
.navbar {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.navbar .nav {
    margin: 0;
    display: table;
    width: 100%;
    table-layout: fixed; 
}

ul.nav>li {
	display: table-cell;
    width: 100%;
    float: none;
    text-align: center;
	font-size: 1em; /*0.9em;*/
	border-right: 1px solid #fff;
}

ul.nav>li:nth-child(2) {
	border-left: 1px solid #fff;
}


/* remove the border of last menu */
.navbar-nav>li:nth-child(10) {
	border-right:none;
}

/* customize sub-menu diverder  */
.dropdown-menu .divider {
    margin: 0;
    background-color: #000;
}
.dropdown-menu {
	padding:0;
}
.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}
.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    color: #d9e597;
	background-color:#067814;
}
ul.nav > li {
    vertical-align: middle;
}

.navbar-nav>li:hover {
	color:#067814;
}

.header {
	background-color:#FFFFFF;
}

/* reset webkit search input browser style */
input {
	outline: none;
}
input[type=search] {
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
	font-family: inherit;
	font-size: 100%;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
	display: none; /* remove the search and cancel icon */
}

/* search input field */
input[type=search] {
	background: #9C9C9C url(../images/search.png) no-repeat 7px center;
	border: solid 1px #ccc;
	width: 15px;
	padding: 5px 5px 5px 15px;
	display: inline-block	
	padding-left: 10px;
	color: transparent;
	cursor: pointer;
	margin-bottom: 3px;
/*	
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
*/	
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}
input[type=search]:focus {
	width: 130px;
	padding-left: 32px;
	color: black;
	background-color: #9C9C9C;
	cursor: auto;
	border-color: #6dcff6;
	
	-webkit-box-shadow: 0 0 5px rgba(109,207,246,.5);
	-moz-box-shadow: 0 0 5px rgba(109,207,246,.5);
	box-shadow: 0 0 5px rgba(109,207,246,.5);
}

/* placeholder */
input:-moz-placeholder {
	color: transparent;
}
input::-webkit-input-placeholder {
	color: transparent;
}

input[type=search]:hover {
	background-color: #9C9C9C;
}
/*
.search-submit {
  display: none;
}
*/
.navbar-right {
  margin-right: 0px;
}
/* sub menu mouse over effect */
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover {
    color: #105d1f;
	background-color:#d0de7d;
}

.navbar-default {
	border: none;
}

}
.search-submit {
  display: none;
}

/*--------------------------
/* Carousel style in bootstrap 4*/
.carousel-control-next,
.carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    color: #fff;
    text-align: center;
    opacity: .5
}
.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: .9
}
.carousel-control-prev {
    left: 0
}
.carousel-control-next {
    right: 0
}
.carousel-control-next-icon,
.carousel-control-prev-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: transparent no-repeat center center;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%
}
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E")
}
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E")
}
.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 15;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none
}
.carousel-indicators li {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    max-width: 30px;
    height: 3px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, .5)
}
.carousel-indicators li::before {
    position: absolute;
    top: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: ""
}
.carousel-indicators li::after {
    position: absolute;
    bottom: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: ""
}
.carousel-indicators .active {
    background-color: #fff
}
.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center
}
/* end carousel style in bootstrap 4 */

/* footer style */
#footer {
	padding:5px;
	/* background-color:#FFFFFF; */
	color:#000;
	max-height: 40px;
	/*font-weight: bold;*/
}
#footer a:link {
	color:#000;
}
#footer a:visited {
	color:#000;
}
#footer a:hover {
	color:#000;
}
#footer a:active {
	color:#000;
}

.sizeS {
	font-size:1em;
	color:red;
	text-decoration:none;
	vertical-align: sub;
}

.sizeM {
	font-size:1.4em;
	color: blue;
	text-decoration:none;
	vertical-align: sub;
}

.sizeL {
	font-size:1.8em;
	color: blue;
	text-decoration:none;
	vertical-align: sub;
}

/* toggle navbar position */
.navbar-default .navbar-toggle {
    position: relative;
    float: left;
	margin-left: 10px;
    border-color: #105d1f;
/*	background-color: #8B2885*/
}

.navbar-default {
    border-color: #FFF;
}

.navbar-default .navbar-toggle:hover {
/*    background-color: #88337E;*/
}

.navbar-default .navbar-toggle:active {
    background-color: #06ab14;
}

h1 {
	color:#105d1f;
	font-size:1.6em;
	line-height:1.8em;
	font-weight: bold;
}
h2 {
	color:#105d1f;
	font-size:1.1em;
	line-height:1.5em;
	font-weight: bold;
}
h5 {
	color:#105d1f;
	font-weight:bold;
	font-size:1.3em;
}
.highlight_title {
	font-size:1.4em;
	color:#F28817;
}

.bg_white {
	background-color: #FFF;
}

.bg_gallery {
}

#gallery { float: right; }

#main_content {
	background-color: #d4e295; /* For browsers that do not support gradients */
	background-image: linear-gradient(to bottom, #fff, #edf3d4 85%, #d4e295);
	min-height: 100%;
}

.spacer {
	padding: 5px;
}

#langM {
	margin-left:12px;
	color: #10731f;
}

#langM a {
	color: #10731f;
	font-weight:bolder;
}

#searchM {
	margin-left:12px;
}

.indent_c {
  padding-left:2.6em;
  text-indent:-2.6em;
  padding-right:10px;
}

.indent_e {
  padding-left:2em;
  text-indent:-2em;
  padding-right:10px;
}

.no_margin {
	margin:0px;
}

.pad-right {
	padding-right: 10px;
}

.nav > li > a {
	padding: 10px 1px;
}

@media screen and (max-width: 767px) {
	.nav > li > a {
		padding: 10px 1px;
		padding-left: 12px;
	}
}

ol {
	list-style: none;
	counter-reset: li;
}

ol li::before {
	content:  '.' counter(li);
	color: #105d1f;
	display: inline-block;
	width: 1em;
	margin-left: -1.5em;
	margin-right: 0.5em;
	text-align: right;
	direction: rtl;
}

li {
	counter-increment: li;
}

/* -- Grayscale style begin -- */
/*  set all grayscale 100%  */
body.home {
/*
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  background-color: gray;

}
*/
