@charset "utf-8";

/* Disable font boosting on mobile browsers */
body * {
  max-height: 1000000em; /* Chrome for Android */
  -moz-text-size-adjust: none; /* Firefox Mobile */
}

input[type="search"] {
  border-radius: 0;
  -webkit-appearance: none;
}

body {
 font-family: Arial, Helvetica, sans-serif, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Microsoft JhengHei", "Microsoft YaHei", "Heiti TC", "PMingLiU", "MingLiU", "新細明體", "細明體";
}

:lang(zh-Hant-HK) body, :lang(zh-Hans-HK) body, :lang(en) body a[lang^="zh"] {
  font-family: "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, Arial, "Microsoft YaHei", "Heiti TC", "PMingLiU", "MingLiU", "新細明體", "細明體", sans-serif, Roboto, "Segoe UI", "Helvetica Neue", "Noto Sans", "Segoe UI Symbol";
}

body {
  -webkit-text-decoration-skip: none !important;
  text-decoration-skip-ink: none !important;
}

a {
  -webkit-text-decoration-skip: none !important;
  text-decoration-skip-ink: none !important;
  text-underline-offset: 1.5px;
  color: #0026ff;
}




.main-text-zone {
  /* min-height: 300px; */
  height: 100%;
  text-align: justify;
}
@media (min-width: 768px) {
  .main-text-zone {
    /* min-height: 960px; */
	min-height: 1200px;
  }
}


h1 { 
  display: block;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  font-weight: 700;
  /* color: #3d7b7e; */
  color: #1F64AA;
}
h2 {
    display: block;
    font-size: 1.30rem;
    margin-top: 0.83rem;
    margin-bottom: 0.83rem;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
    color: #181b1e;
}

h3 { 
    display: block;
    font-size: 1.10rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
    color: #000;
}
h4 { 
    display: block;
    font-size: 1rem;
    margin-top: 1.33rem;
    margin-bottom: 1.33rem;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
    color: #000;
}
h5 { 
    display: block;
    font-size: .83rem;
    margin-top: 1.67rem;
    margin-bottom: 1.67rem;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
    color: #000;
}
h6 { 
    display: block;
    font-size: .67rem;
    margin-top: 2.33rem;
    margin-bottom: 2.33rem;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
    color: #000;
}

@media (max-width: 767.98px) {
  .main-text-zone {
    font-size: 1.25rem;
  }
  .main-text-zone h2 { 
    font-size: 1.35rem;
  }
  .main-text-zone h3 { 
    font-size: 1.28rem;
  }
  .main-text-zone h4 { 
    font-size: 1.25rem;
  }
  .main-text-zone.keepsize {
    font-size: 1rem;
  }
}

.p-font-size {
  font-size: 1rem;
}
@media (max-width: 767.98px) {
  .p-font-size {
    font-size: 1.25rem !important;
  }
}

#content-zone {
  padding: 24px 16px;
  border-top: 2px solid #E9EFF7;
}
@media (min-width: 768px) {
  #content-zone {
    display: flex;
    flex-direction: column;
    padding: 60px 40px 15px 40px;
    gap: 40px;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0px 4px 20px 0px rgba(31, 100, 170, 0.05);
    border-top: none;
    /* align-self: flex-start; */
  }
}


#banners {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 16px;
}

@media (min-width: 1000px) {
  #banners > div {
    padding-left: 12px;
    padding-right: 12px;
  }
}

#banners-dt {
  display: none;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 16px;
  align-self: stretch;
  flex-wrap: wrap;
  padding: 40px 30px;
}
#banners-dt > div img {
  width: 120px;
}

@media (min-width: 768px) {
  #banners {
    display: none;
  }
  #banners-dt {
    display: flex;
  }
}

.footer-text {
  margin-top: 1rem;
}

.footer-text-item {
  white-space: nowrap;
}

.footer-text-item a {
  color: #212529;
}

.footer-text-item a:hover, .footer-text-item a:active, .footer-text-item a:focus {
  color: #0056bf;
}

.footer-text-item:after {
  content: "  |  ";
  white-space: pre;
  width: 1rem;
  height: 1rem; 
  font-size: 12px;
  position: relative;
  top: -0.2rem;
}

.text-revision-date {
  white-space: nowrap;
}

.navbar {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-top: 0;
}

.navbar .navbar-toggler {
  margin: 0;
  padding: 0;
}


.submenu {
  /* background-color: #9fc8d1; */
}

.submenu .nav-link {
  color: #616161;
}

.submenu .nav-item:last-of-type {
  border-bottom: none !important;
}


.navbar .nav-item ul.submenu {
 
}


.navbar-dark .navbar-nav .nav-link {
  color: #616161;
}

.navbar-dark .navbar-nav .nav-item {
  border-bottom: 2px solid #E9EFF7;
  display: flex;
  flex-direction: column;
  background-color: #C8E6E6;
}


.navbar-dark .navbar-nav .submenu .nav-item {
  border-bottom: 0;
}


@media (max-width: 767.98px) {
  .navbar li.nav-item:first-child:not(.navbar-nav .submenu li.nav-item) {
    border-top: 2px solid #E9EFF7;
    border-radius: 0px 0px 20px 20px;
    background: #FFFFFF;
    padding: 24px 16px;
    margin-bottom: 12px;
  }
}


.submenu .nav-link:hover, .submenu .nav-link:focus {
  color: #1F64AA;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #1F64AA !important;
  background-color: #E9EFF7;
}

.navbar-dark .navbar-nav .nav-link:focus {
  color: #616161;
}

.navbar-dark .navbar-toggler {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.8);
  padding: 24px 16px;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("../images/navIcon/menu.svg");
}
.navbar-dark .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("../images/navIcon/menu_HL.svg");
}

.navbar-dark .navbar-toggler:focus {
  border-radius: 0;
}


.nav-menu {
  background-color: #ffffff;
}

.navbar-nav {
  background-color: #F4F7FA;
}

.nav-link {
  padding: 0 !important;
}

@media (min-width: 1000px) {
  body {
     background-color: #F4F7FA;
  }
  .wrapper {
    /* max-width: 1000px; */
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    background-color: #F4F7FA;
  }
}
.with-submenu {
  display: -ms-flexbox !important;
  display: flex;
  -ms-flex-direction: row !important;
  flex-direction: row !important;
  align-items: center;
}
.with-submenu:after {
  content: "";
  height: 17px;
  width: 17px;
  background-size: 100% 100%;
  background: url(../images/navIcon/expand.svg) no-repeat center center;
  display: block;
}


@media (min-width: 768px) {
  .with-submenu:after {
    min-width: 11%;
  }
}


.with-submenu[aria-expanded="true"]:after {
  /* transform: rotate(-90deg); */
  background: url(../images/navIcon/collapse.svg) no-repeat center center;
}

.with-submenu:after  {
  transition: 0.3s;
}




@media (min-width: 768px) {
  .main-container {
    display: flex;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .navbar {
    display: block;
    padding-top: 0;
  }
  .nav-menu {
    width: 330px;
    min-width: 330px;
    background-color: #F4F7FA;
  }
  .navbar .navbar-nav {
    padding-top: 0 !important;
  }
  .with-submenu {
    padding-right: 0.5rem !important;
  }
}



.option a {
  color: #616161;
}

.option a:hover, .option a:focus {
	text-decoration: underline;
	/* color: #FFFFE6 !important; */
}

.opt-item {
  display: flex !important;
  padding: 0px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-left: 2px solid #E6E6E6;
}


.toolbar .opt-item:first-of-type {
  border-left: none;
  padding-left: 0;
  gap: 12px !important;
}

.toolbar .opt-item:last-of-type {
  gap: 4px;
  padding-right: 0;
}

.toolbar .opt-item {
  padding: 0 12px;
}

.toolbar .opt-item .lang-group {
  gap: 12px;
}


.option {
  display: inline-block;
}
.form-block {
  display: flex;
  align-items: center;
  align-items: flex-end;
  /* margin-right: 20px; */
}

.toolbar-md {
  display: none;
}
.toolbar {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .toolbar {
    display: none;
  }
  .toolbar-md {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    background-color: #ffffff;
    padding: 12px 32px;
    border-bottom: 1px solid #E6E6E6;
    gap: 20px;
  }
}


label {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 6px;
  white-space: nowrap;
}

#searchform, #searchform-m {
  display: flex;
  height: 1.5rem;
  padding-right: 0.5rem;
}

#searchform button, #searchform-m button {
  background-color: transparent;
  border: 0;
}

.searchform {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  padding: 4px 20px;
  border-radius: 10px;
  background: #F2F2F2;
}

.searchform button {
  background-color: transparent;
  border: 0;
}

.caret-right {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 8px;
  vertical-align: middle;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px dashed;
}

#query, #query-m {
  flex: 1;
  border: none;
  border-radius: 0 10px 10px 0;
  background: #F2F2F2;
}

#query-m {
  max-width: 30%;
}

@media (min-width: 200px) {
  #query-m {
    max-width: 40%;
  }
}

@media (min-width: 300px) {
  #query-m {
    max-width: 70%;
  }
}

.searchbutton {
  height: 100%;
  width: 28px;
  background: url("../images/search_grey.svg") no-repeat scroll center center #e8e8e8;
  background-origin: content-box;
}


@media (max-width: 767.98px) {
  .navbar-nav-scroll {
    max-height: 88vh;
    overflow-y: auto;
  }
}


/* Skip to main content */
#skiptocontent a {
	position: absolute;
	left: 10px;
	top: -100px;
	color: #ffffff;
	background: #231958;
	background: purple;
	-webkit-transition: top 1s ease-out;
	transition: top 1s ease-out;
	z-index: 9100;
	text-decoration: underline;
	border: 1px solid transparent;
	padding: 0.375rem 0.75rem 0.5rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 0.25rem;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#skiptocontent a:focus {
	left: 10px;
	top: 10px;
	-webkit-transition: top .15s ease-in;
	transition: top .15s ease-in;
	box-shadow: 0 0 0.2rem 0.3rem blue;
}


.page-heading {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid #E9EFF7;
}


.sector-brief-icon {
  width: 26px;
}

.color-sector1 {
  color: #565756 !important;
}

.color-sector2 {
  color: #52436F !important;
}

.color-sector3 {
  color: #456D66 !important;
}

.color-sector4 {
  color: #0F4E77 !important;
}

.color-sector5 {
  color: #C8544E !important;
}


.navbar .nav-item .nav-link {
  font-size: 16px;
  display: flex !important;
  align-items: center;
  gap: 20px;
  position: relative;
  font-size: 16px;
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

:lang(en) .navbar .nav-item .nav-link {
  font-size: 14px;
  font-weight: 400;
}

.img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}



ul.custom-bullet {
  position: relative;
  list-style: none;
  border: 1px solid red;
}
ul.custom-bullet li {
  margin-bottom: 0.5rem;
}

ul.custom-bullet > li::before { 
  content: "";
  border-color: transparent #197389;
  border-style: solid;
  border-width: 0.35em 0 0.35em 0.45em;
  display: block;
  height: 0;
  width: 0;
  left: -1em;
  top: 1.1em;
  position: relative;
}


ul.cs {
  position: relative;
  list-style: none;
  border: 1px solid red;
}
ul.cs li {
  margin-bottom: 0.5rem;
}

ul.cs > li::before { 
  content: "";
  display: block;
  position: relative;
  height: 0;
  width: 0;
  left: -1em;
  top: 1em;
  background-color: blue;
  border-color: blue;
  border-style: solid;
  border-width: 0.2em;
  border-radius: 50%;
}


.sector-icon-number {
  height: 60px;
  display: flex;
}
.sector-icon {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 30px;
}
.sector-number {
  display: flex;
  align-items: flex-end;
  font-size: 24px;
  font-weight: 700;
  border-bottom: 1.6px solid;
  padding-left: 16px;
}

.sector-desc {
  padding: 8px 2px 8px 46px;
}

nav a.activeMenuItem {
  color: #1F64AA !important;
  background-color: #EAF1F5;
}

nav .submenu a.activeMenuItem {
  background-color: #EAF1F5;
}


.home-poster {
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.poster-shadow {
  box-shadow: 4px 4px 8px grey;
}


/* Style for ethnic table on the homepage */

#ethnic-table {
  font-family: Arial, sans-serif, Helvetica, -apple-system, BlinkMacSystemFont, Roboto, "Microsoft JhengHei", "Microsoft YaHei", "Heiti TC", "PMingLiU", "MingLiU", "新細明體", "細明體", "Segoe UI", "Helvetica Neue", "Noto Sans";
}

#ethnic-table a {
  height: 100%;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  color: #FFFFFF;
}

#ethnic-table .heading a {
  padding: 8px;
}

#ethnic-table a:hover, #ethnic-table a:focus {
  text-decoration: none;
  color: #0056BF;
}


.flexrow {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-3s, .col-4s, .col-8s, .col-9s, .col-md-4s, .col-md-4sx, .col-md-4sr {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-4s {
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

@media (min-width: 1000px) {
  .col-4m {
    -ms-flex: 0 0 36.833333%;
    flex: 0 0 36.833333%;
    max-width: 36.833333%;
  }
  .col-4l {
    -ms-flex: 0 0 31.333333%;
    flex: 0 0 31.333333%;
    max-width: 31.333333%;
  }
  .col-4a {
    -ms-flex: 0 0 32.9%;
    flex: 0 0 32.9%;
    max-width: 32.9%;
  }
}

.col-8s {
  -ms-flex: 0 0 66.666667%;
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

@media (min-width: 1000px) {
  .col-md-4s {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-cw-3s {
    -ms-flex: 0 0 22%;
    flex: 0 0 22%;
    max-width: 22%;
  }
  .col-cw-3s2 {
    -ms-flex: 0 0 21%;
    flex: 0 0 21%;
    max-width: 21%;
  }
  .col-cw-9s {
    -ms-flex: 0 0 78%;
    flex: 0 0 78%;
    max-width: 78%;
  }
  .col-md-4sx {
    -ms-flex: 0 0 38.333333%;
    flex: 0 0 38.333333%;
    max-width: 38.333333%;
  }
  .col-md-4sr {
    -ms-flex: 0 0 28.333333%;
    flex: 0 0 28.333333%;
    max-width: 28.333333%;
  }
}

.ctr {
  font-size: 12px;
  font-weight: normal;
  text-align: center;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 3.6em;
  line-height: 1.3;
  background-color: #2C73A9;
}
.ctr:hover, .ctr:focus, .ctr a:focus {
  background-color: #FFE2C2;
  background-color: #F8CFBD;
}


.br {

  border-right: 2px solid #fdf1ec;
}
.bb {
  border-bottom: 2px solid #fdf1ec;
}

@media (min-width: 1000px) {
  .ctr {
    min-height: 55px;
  }
  .ctr * {
    font-size: 12px;
  }
  .bb {
    border-bottom: none;
  }
  .bs {
    border-right: 2px solid #fdf1ec;
  }
  #ethnic-table a {
    padding: 2px;
  }
  #ethnic-table .heading a {
    padding: 4px;
  }
}

.btlr {
  border-top-left-radius: 12px;
}
.bblr {
  border-bottom-left-radius: 12px;
}

.btrr {
  border-top-right-radius: 12px;
}
.bbrr {
  border-bottom-right-radius: 12px;
}

@media (min-width: 1000px) {
  .not-lg-btrr {
    border-top-right-radius: 0;
  }
}

@media (min-width: 1000px) {
  .lg-btrr {
    border-top-right-radius: 12px;
  }
}

.main-text-zone ol {
  counter-reset: o-counter1;
  list-style: none;
  padding-left: 3em;
}
.main-text-zone ol > li {
  counter-increment: o-counter1;
  position: relative;
}
.main-text-zone ol > li::before {
  content: "(" counter(o-counter1, lower-roman) ")";
  position: absolute;
  text-align: right;
  left: -2.625em;
  width: 2em;
}

.main-text-zone ol ol {
  counter-reset: o-counter2;
}
.main-text-zone ol ol > li {
  counter-increment: o-counter2;
}
.main-text-zone ol ol > li::before {
  content: "(" counter(o-counter2, decimal) ")";
}

.main-text-zone ol ol ol {
  counter-reset: o-counter3;
}
.main-text-zone ol ol ol > li {
  counter-increment: o-counter3;
}
.main-text-zone ol ol ol > li::before {
  content: "(" counter(o-counter3, lower-alpha) ")";
}

.main-text-zone ol.bla {
  counter-reset: o-counterx;
  list-style: none;
  padding-left: 3em;
}

.main-text-zone ol.bla > li {
  counter-increment: o-counterx;
  position: relative;
}

.main-text-zone ol.bla > li::before {
  content: "(" counter(o-counterx, lower-alpha) ")";
}

.main-text-zone ol.dd {
  counter-reset: o-counter-d;
  list-style: none;
  padding-left: 3em;
}

.main-text-zone ol.dd > li {
  counter-increment: o-counter-d;
  position: relative;
  margin-bottom: 1rem;
}

.main-text-zone ol.dd > li::before {
  content: counter(o-counter-d, decimal) ".";
}



ul.link-list {
  position: relative;
  list-style: none;
}
ul.link-list li {
  margin-bottom: 0.1rem;
}
ul.link-list > li::before { 
  content: "";
  display: block;
  position: relative;
  border-color: transparent #3d7b7e;
  border-style: solid;
  border-width: 0.35em 0 0.35em 0.45em;
  height: 0;
  width: 0;
  left: -1.2em;
  top: 1.1em;
}

@media (max-width: 767.98px) {
  ul.link-list {
    padding-left: 30px;
  }
}

ul.innerpage-link-list {
  position: relative;
  list-style: none;
  padding-left: 24px;
}
ul.innerpage-link-list li {
  margin-bottom: 0;
}
ul.innerpage-link-list > li::before { 
  content: "";
  display: block;
  position: relative;
  border-color: transparent #3d7b7e;
  border-style: solid;
  border-width: 0.35em 0 0.35em 0.45em;
  height: 0;
  width: 0;
  left: -1.2em;
  top: 1.1em;
  margin: 0;
}

.css_table {
    display: table;
  }
.css_tr {
    display: table-row;
  }
.css_td {
    display: table-cell;
}
.contact .css_td {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}


.simpleTable {
  margin-top: 1rem;
}
.simpleTable table, .simpleTable th, .simpleTable td {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
  vertical-align: middle;
  padding: 5px 5px 5px 5px;
  margin: 0px 0px 0px 0px;
  min-width: 120px;
}
@media (min-width: 768px) {
  .simpleTable {
    margin-left: auto;
    margin-right: auto;
  }
  .simpleTable table, .simpleTable th, .simpleTable td {
    padding: 5px 20px 5px 20px;
  }
}

/*
li a:not(.no-icon)[href$=".pdf"]::after {
  display: inline-block;
  content: "";
  background: url('../images/pdf_file_icon.svg');
  background-repeat: no-repeat;
  background-size: 16px 20px;
  width: 19px;
  height: 22px;
  margin-left: 8px;
  vertical-align: top;
}
*/

.ch-m {
  vertical-align: middle !important;
  text-align: center;
}
.ch-n {
  width: 10%;
  vertical-align: middle !important;
}
.th-desc {
  text-align: left !important;
}

.td-center td {
  vertical-align: middle !important;
  text-align: center;
}

table.tbl-sectors .tbl-subheading {
  font-weight: 700;
  text-align: left;
  padding: 0.5rem;
  background-color: #EAF1DD;
}
.table-cell-center th, .table-cell-center td {
  text-align: center;
  vertical-align: middle !important;
}
.table-cell-center {
  text-align: center;
  vertical-align: middle !important;
}
table.tbl-sectors {
  width: 100%;
  margin-bottom: 1rem;
}
table.tbl-sectors th {
  font-weight: 400;
}
table.tbl-sectors thead th {
  font-weight: 700;
  background-color: #D6E3BC;
}
table.tbl-sectors tfoot * {
  font-weight: 700;
}
table.tbl-sectors th, table.tbl-sectors td {
  padding: 0.25rem;
  vertical-align: top;
  border: 1px solid grey;
}


/* Override BS4 Default */
.table-bordered thead th,
.table-bordered thead td {
  border-bottom-width: 1px;
}

.underlineContent {
  text-decoration: underline;
}

.invisible-heading {
  visibility: hidden;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 14px;
}

ul.topindex-vertical {
  padding-left: 20px;
  margin-bottom: 3rem;
}

section {
  padding-top: 1px;
}

.publicity-item {
  padding-bottom: 1.5rem;
}

.publicity-item-tn {
  width: 130px;
  min-width: 130px;
}

.publicity-item-desc {
  vertical-align: middle;
  padding-left: 0.5em;
  padding-right: 0.5em;
  width: 100%;
}

.publicity-group h2 {
  margin-bottom: 0.25rem;
}

.br-500 {
  display: none;
}
@media (min-width: 500px) {
  .br-500 {
    display: inline;
  }
}

.posterModal .modal-header {
  border-bottom: none;
  padding: 1.25rem 1.25rem;
}

.posterModal .modal-header .close {
  padding: 0.25rem 0.5rem;
/*  padding: 0.2rem 0.4rem;*/
}

.posterModal .modal-body {
  padding-top: 0;
  padding-bottom: 0;
}

.posterModal .modal-footer {
  border-top: none;
}

.posterModal .modal-xl {
    max-width: 960px !important;
}


.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
    color: #12120D;
}

.pdf-link-icon {
  margin-left: 6px;
  width: 15px;
  vertical-align: text-bottom;
}
@media (max-width: 767.98px) {
  .pdf-link-icon {
    vertical-align: baseline;
  }
}


@media print and (min-width: 120px) {
 a {
    text-decoration: none;
 } 
}

@media print { 
 a {
    text-decoration: none !important;
 } 
}

.toolbar-md {
  font-size: 16px !important;
}

.dont-break-out {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  /* -ms-word-break: break-all; */
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  /* word-break: break-all; */
  /* Instead use this non-standard one: */
  word-break: break-word;
}

em {
  font-style: normal;
  font-weight: bolder;
}

.simpleTable {
  width: 100%;
}

@media (min-width: 768px) {
  .simpleTable {
    width: 50%;
  }
}

.halfwidth {
  width: 50%;
}

.remarks {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}


.table-allocation th, .table-allocation td {
  padding-left: 0.1rem;
  padding-right: 0.1rem;
  border: 1px solid #667686;
}
.table-allocation thead th {
  vertical-align: bottom;
  border: 1px solid #667686;
  background-color: #BDD6EE;
}
.table-allocation tfoot th, .table-allocation tfoot td {
  font-weight: bolder;
}
.table-allocation {
  /* display: block; */
  width: 60%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 70%;
}

@media (max-width: 1075px) {
	.table-allocation {
		width: 100%;
	}
}

@media (min-width: 375px) {
  .table-allocation th, .table-allocation td {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }
  .table-allocation {
    font-size: 78%;
  }
}

@media (min-width: 393px) {
  .table-allocation th, .table-allocation td {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }
  .table-allocation {
    font-size: 80%;
  }
}
@media (min-width: 600px) {
  .table-allocation th, .table-allocation td {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .table-allocation {
    font-size: 100%;
  }
}

.table-allocation caption {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: left;
  caption-side: top;
  font-weight: 700;
  color: inherit;
  font-size: 1.10rem;
  border: none;
}
.table-allocation th, .table-allocation td {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.table-allocation th {
  font-weight: 400;
}
.table-allocation thead th {
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}
.table-allocation td {
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
}

:lang(zh-Hant-HK) .main-text-zone .table-allocation thead th, :lang(zh-Hans-HK) .main-text-zone .table-allocation thead th {
  padding-left: 1rem;
  padding-right: 1rem;
}

.brief-sections h2 {
  text-decoration: underline;
}

.brief-sections section {
    padding-bottom: 2rem;
}

.constituency-list-style {
  padding-left: 1em;
  list-style-type: "-  ";
}

img.geo-map-link {
  margin-left: 10px;
}

img.geo-map-link:hover, a[href^="https://www.map.gov.hk/gm/s/lce/"]:focus  {
 filter: saturate(3);
}

.topBanner {
  background-color: #FFFFFF;
}

.composition-table {
  margin: auto;
  font-size: 85%;
}

.composition-table tr {
  border-bottom: 1px solid #e9e9e9;
}
.composition-table td {
  vertical-align: top;
  padding: 0.5rem;
}
.member-text {
  max-width: 400px;
}

.composition-chart {
  display: block;
  margin: auto;
}

@media (min-width: 768px) {
  .composition-table {
    font-size: 100%;
  }
}
@media (min-width: 768px) {
  .composition-table td:last-child {
    padding-left: 1.5rem;
  }
}

.mx-lg-5a {
  margin-left: 3.05rem !important;
  margin-right: 3.05rem !important;
}


a-center {
  text-align: center !important;
}

.tbl-wrap table th,
.tbl-wrap table thead td {
  color: #ffffff;
  background-color: #21619A !important;
  font-weight: bold;
}

.tbl-wrap table thead th,
.tbl-wrap table thead td {
  text-align: center;
  vertical-align: middle;
}

.tbl-wrap table th:not(:first-child),
.tbl-wrap table td {
  border-left: 1px solid #ffffff;
}

.tbl-wrap table td {
  background-color: #F8F8F7;
}

.tbl-wrap table tr:nth-child(even) td {
  background-color: #D2E2EE;
}

.tbl-wrap table th,
.tbl-wrap table td {
  padding: 10px 5px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ffffff;
}

.tbl-wrap ul {
  padding-left: 1em;
}
#overview-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 80%;
}
.overview-table-remarks {
  margin-top: 1rem;
  font-size: 80%;
}

@media (min-width: 768px) {
  #overview-table, .overview-table-remarks {
   font-size: 88%;
  }
}
@media (min-width: 800px) {
  #overview-table, .overview-table-remarks {
   font-size: 94%;
  }
}
@media (min-width: 920px) {
  #overview-table, .overview-table-remarks {
   font-size: 100%;
  }
}

@media (min-width: 768px) {
  :lang(en) body #overview-table, .overview-table-remarks {
   font-size: 70%;
  }
}
@media (min-width: 800px) {
  :lang(en) .main-text-zone #overview-table, :lang(en) .main-text-zone .overview-table-remarks {
   font-size: 70%;
  }
}
@media (min-width: 860px) {
  :lang(en) .main-text-zone #overview-table, :lang(en) .main-text-zone .overview-table-remarks {
   font-size: 82%;
  }
}
@media (min-width: 880px) {
  :lang(en) .main-text-zone #overview-table, :lang(en) .main-text-zone .overview-table-remarks {
   font-size: 86%;
  }
}
@media (min-width: 920px) {
  :lang(en) .main-text-zone #overview-table, :lang(en) .main-text-zone .overview-table-remarks {
   font-size: 94%;
  }
}
@media (min-width: 1000px) {
  :lang(en) .main-text-zone #overview-table, :lang(en) .main-text-zone .overview-table-remarks {
   font-size: 100%;
  }
}

.cell-vat td {
  vertical-align: top;
}


/* New UI Style */
.lang-group {
  display: flex;
  align-items: center;
  gap: 20px;
}
.dropdown-toggle::after {
  display: none;
}


/* new nav style */
.mb-12 {
  margin-bottom: 12px;
}
.mb-24 {
  margin-bottom: 24px;
}
.border_radiu10 {
  border-radius: 10px;
}
.border_radiu50 {
  border-radius: 50px;
}
.opacity6 {
  opacity: 0.6;
}
.hidden {
  display: none !important;
}

.activeMenuLi {
  position: relative;
  background-color: #E9EFF7;
}

.activeMenuLi::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: #1F64AA;
  z-index: 1;
}

img.default_nav_icon {
  display: inline;
}

img.highlight_nav_icon {
  display: none;
}

.activeMenuLi img.default_nav_icon,.subActiveMenuLi img.default_nav_icon {
  display: none;
}

.activeMenuLi img.highlight_nav_icon,.subActiveMenuLi img.highlight_nav_icon {
  display: inline;
}

.nav-link:hover .default_nav_icon {
  display: none;
}
.nav-link:hover .highlight_nav_icon {
  display: inline;
}

.subActiveMenuLi .with-submenu {
  color: #1F64AA !important;
}

.navbar .nav-item .nav-link .nav-link-text {
  flex: 1;
}
.navbar .submenu .nav-item .nav-link .nav-link-text {
  margin-left: 12px;
}

/* new header button */
.toolbar-md-left {
  display: flex;
  gap: 20px;
}
.toolbar-left {
  gap: 16px;
}
.toolbar-md-left .actionItem, .toolbar-left .actionItem { 
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 20px;
}
.actionItem_orange {
  background: #FFB342;
}
.actionItem_orange .actionItem_text {
  color: #303030;
}
.actionItem_blue {
  background: #1F64AA;
}
.actionItem_blue .actionItem_text {
  color: #ffffff;
}
.actionItem_text {
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

#floatActionButton {
  position: fixed;
  bottom: 30px;
  right: 16px;
  z-index: 100;
}

.floatBtn_warp {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floatBtn_warp .actionItem {
  height: 48px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px;
  gap: 8px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
}
.floatBtn_warp .actionItem_text {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  flex: 1;
}
.floatBtn_warp .actionItem_text.actionItem_text_eng {
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
}
.floatBtn_mb .actionItem {
  padding: 14px;
  cursor: pointer;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(3.5px);
  cursor: pointer;
}

.toolbar-md-right {
  display: flex;
  flex: 1;
  gap: 20px;
}
.toolbar-md-right .form-block {
  max-width: 310px;
}
.toolbar-md-right .option {
  flex: 1;
  justify-content: space-between;
  gap: 10px;
}
.toolbar-md-right .option .opt-item::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 20px;
  background-color: #E6E6E6;
}
.toolbar-md-right .option .opt-item {
  padding: 0;
  border: none;
  flex: 1;
  justify-content: space-around;
}
.toolbar-md-right .option .opt-item .opt-item-group,
.toolbar-md-right .option .opt-item .opt-item-group .opt-item-other-lang {
  display: flex;
  align-items: center;
  gap: 8px;
}
.toolbar-md-right .eml .dropdown-menu li:first-child a {
  border-radius: 10px 0 0 0;
}
.toolbar-md-right .eml .dropdown-menu li:last-child a {
  border-radius: 0 0 10px 10px;
}
.hide_before_publish {
  display: none !important;
}
.menu_hide {
  /* display: none !important; */
}
.menu_show {
  /* display: block !important;
  padding: 30px 30px 30px 70px !important; */
  display: none !important;
}
/* mobile */
@media (min-width: 768px) {
  .topBanner {
    border-radius: 0 0 30px 30px;
  }
  .topBanner img {
    border-radius: 0 0 30px 30px;
  }
  .navbar .nav-item .nav-link {
    padding-left: 36px !important;
    padding-right: 36px !important;
  }
  #floatActionButton {
    right: 30px;
  }
  .floatBtn_warp {
    gap: 12px;
  }
  .floatBtn_warp .actionItem {
    gap: 12px;
  }
  .floatBtn_warp .actionItem_text {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
  }
}

@media (min-width: 1440px) {
  .toolbar-md {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 12px 32px;
    border-bottom: 1px solid #E6E6E6;
    gap: 20px;
  }
}
