
@media (max-width: 575.98px) {
  html * {max-height:999999px;}
}

html {
  font-size: 18px;
}


body, html, .container-fluid {
  height: 100%;
}


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;
}

body {
  background-color: #FFFFFF;
  color: #181716;
}

body, .textsize {
  font-family: "Microsoft JhengHei", "Microsoft YaHei", "Heiti TC", "PMingLiU", "MingLiU", SimSun, 宋体, "新細明體", "細明體", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", serif;
}

.en, .en .textsize {
	font-family: Arial, Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Microsoft JhengHei", "Microsoft YaHei", "Heiti TC", "PMingLiU", "MingLiU", "新細明體", "細明體", serif;
}
.tc {
 	font-family: "Microsoft JhengHei", "Microsoft YaHei", "Heiti TC", "PMingLiU", "MingLiU", SimSun, 宋体, "新細明體", "細明體", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", serif;
}

#tools .textsize {
  color: #595A5D;
  font-weight: 500;
}




@media (min-width: 576px) {
  html {
    font-size: 16px;
  }
  body {
    background-color: #779B91;
  }
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 1.38em;
  font-weight: 700;
  color: #487B95;
}

h2 {
  font-size: 1.2em;
  font-weight: 700;
  color: #212529;
}

h3 {
  font-size: 1.17em;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.17em;
  font-weight: 700;
}

h5 {
  font-size: 1em;
  font-weight: 700;
}

h6 {
  font-size: 1em;
}

@media (max-width: 575.98px) {
  h1 { font-size: 1.25em; }
  h2 { font-size: 1.17em; }
}


.container-fluid {
	/* max-width: 1000px; */
	max-width: 900px;
	margin: 0 auto;
}

input [type=button] {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border-radius: 0;
}

input.wpcf7-form-control.wpcf7-submit {
   -webkit-appearance: none;
   -moz-appearance:    none;
   appearance:         none;
}

/* unvisited link */
a:link {
  /* color: #3344dd;*/
  color: #20399D;
}

/* visited link */
a:visited { 
 color: #551A8B; 
}

main a, footer a {
  text-decoration: underline;
  color: #20399D; 
}

/*
Normal: #3344dd
Hover/Focus/Active: #bb1122
Visited: #884488
*/

main  a:hover, main  a:focus, main  a:active, .revision a:hover, .revision a:focus, .revision a:active {
  color: #BF1722; /* a variant of red */
  color: #560A0F;
  background-color: #FFFFCC; 
}

footer {
 padding-top: 1.5rem;
 font-size: 0.85rem;
 font-size: 0.85em;
}

#tools {
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-align: center;
  align-items: center;
  margin-left: 1rem;
}

#tools *{
  color: #000000;
}

#tools * a:hover, #tools * a:focus {
  /* color: #BF1722 !important; */
  color: #560A0F !important;
}

#tools span:hover, #tools span:focus {
/*  color: #BF1722 !important; */
  color: #560A0F !important;
}

.fontsizelinks {
  margin-left: 0.5rem;
}

.fontsizelinks img {
  vertical-align: bottom;
}

.fontsizelinks a:hover{
  text-decoration: none;
}

#lang3, #lang4 {
 text-decoration: none;
 font-weight: 700;
}

.smaller {
 font-size: 0.85rem;
}

.wrapper {
	min-height: 40px;
}

main {
  max-height: 100%;
  overflow-y: auto;
  background-color: #FFFFFF;
}



.right-zone {
	max-height: 100%;
	background-color: #FFFFFF;
	padding: 15px;
}

@media (min-width: 576px) {
  .right-zone {
    padding-left: 30px;
    padding-right: 30px;
   }
}

.navbar {
  padding: 0;
}

.nav-bg {
  background-color: #75C6B3;
}

.nav-bg:hover, .nav-bg:focus {
  color: #fff !important;
}

.nav-link {
	text-align: left;
	color: #fff !important;
	padding-left: 15px !important;
	padding-right: 10px !important;
	border-bottom: 1px solid white !important;
    padding-top: 8px;
    padding-bottom: 8px;
}
.nav-link {
  color: #181716 !important;
}

.en .nav-link {
  font-size: 16px;
}

@media (min-width: 576px) {
  .nav-link {
	font-size: 16px;
	text-align: right;
	/* padding: 0.7rem 1rem;  */
	padding: 12px 16px;
  }
  .en .nav-link {
    font-size: 14px;
  }
}


.nav-link.active {
	color : #181716 !important;
}


.nav-link:hover, .nav-link:focus, .nav-link:active {
	color: #181716 !important;
	background-color: #B2F9E8 !important;
}

.menu-bg {
	background-color: #EEEEEE;
}



.sm-border-under {
  border-bottom: 0.1rem solid #818386;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .sm-border-under {
  border-bottom: none;
  }
}



.navbar-toggler-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
}

@media (min-width: 576px) {
  .sidebar-fixed-width {
    min-width: 165px;
	min-height: 580px;
  }
}

.navbar-toggler {
  background-color: #75C6B3;
}

.navbar-toggler a {
  color: #000000 !important;
}

.custom-toggler {
  margin: 0.25rem 0;
}

.custom-toggler .navbar-toggler {
    border-color: rgb(255,255,255);
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler:focus {
	-webkit-appearance: none;
	-webkit-border-radius: 0; 
	border-radius: 0;
}


.desktop-sitemap-link {
  display: none;
}

.mobile-sitemap-link {
  display: inline;
}

@media (min-width: 576px) {
  .desktop-sitemap-link {
    display: inline;
  }

  .mobile-sitemap-link {
    display: none;
  }
}


.content-zone {
  background-color: #FFFFFF;
  padding: 1rem 0 1.5rem 0;
}

@media (min-width: 576px) {
  .content-zone {
    padding: 1rem 0.9rem 1.5rem 0.9rem;
  }
}



.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}


#SearchFormBar {
  display: none;
  margin-top: 2px;
  min-height: 44px;
/*
	float: right;
	display:flex; 
*/
	align-items: center;
}



#SearchFormBar * {
  box-sizing: border-box;
}

form.searchform {
  /* margin-left: 0.2rem;*/
  margin-left: 0;
}


form.searchform input[type=search] {
  font-size: 14px;
  border: 1px solid grey;
  float: left;
  width: 275px;
  width: 83%;
  width: calc(100vw - 65px);
  background: #f4f4f4;
	padding: 4px;
	margin: 5px 0 5px 15px;
	color: #777393;
	border-right: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	/* transition: linear 0.1s; */
}

/* Workaround for input box padding issue in IE */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  form.searchform input[type=search] {
    height: 28.44px;
  }
}

@media (min-width: 576px) {
  form.searchform input[type=search] {
    width: 88px;
  }
}

@media (min-width: 600px) {
  form.searchform input[type=search] {
    width: 102px;
  }
}

@media (min-width: 620px) {
  form.searchform input[type=search] {
    width: 132px;
  }
}

@media (min-width: 670px) {
  form.searchform input[type=search] {
    width: 175px;
  }
}

@media (min-width: 576px) {
  form.searchform input[type=search] {
    width: min(calc(100vw - 492px),175px);
  }
}


form.searchform button {
  margin-top: 5px;
  float: left;
  width: 36px;
  width: 32px;
  padding: 4px;
  color: #111111 !important;
  background: #f4f4f4;
  /*font-size: 15px; */
  font-size: 14px;
  border: 1px solid grey;
  border-left: none;
  cursor: pointer;
}

form.searchform button:hover {
  /* background: #0b7dda; */
  background: #c1e1f0;
}

form.searchform::after {
  content: "";
  clear: both;
  display: table;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  .iebuttonfix {
    padding: 0.175rem !important;
  }

  #searchbutton {
	padding: 0.175rem !important;
  }

}

/* Skip to main content */
#skiptocontent a {
	padding: 6px;
	padding-right: 10px;
	padding-bottom: 10px;
	position: absolute;
	top: -90px;
	left: 0px;
	color: white;
	border-right: 1px solid white;
	border-bottom: 1px solid white;
	border-bottom-right-radius:8px;
	background: #BF1722;
	background: #560A0F;
	-webkit-transition: top 1s ease-out;
	transition: top 1s ease-out;
	z-index: 100;
	text-decoration: underline;
}

#skiptocontent a:focus {
	position:absolute;
	left:0px;
	top:0px;
	outline-color:transparent;
	-webkit-transition: top .1s ease-in;
	transition: top .1s ease-in;
}

#maincontent {
	padding-bottom: 1rem;
	padding-top: 1rem;
	min-height: 380px;
	min-height: calc(100vh - 290px);
}

@media (min-width: 576px) {
   #maincontent {
    min-height: max(566px, calc(100vh - 160px));
  }
}

#top-banner {
  background-color: #506F5E;
  margin-right: -15px;
  margin-left: -15px;
}

@media (min-width: 920px) {
  #top-banner {
    min-height: 158px;
  }
}


/**  Custom breakpoint for footer text **/
@media (min-width: 840px) {
  .d-tablet-inline-block {
    display: inline-block !important;
  }

  .float-tablet-right {
    float: right !important;
  }
}

	  .nohoverbc:hover, .nofocusbc:focus {
		/* background-color: #cfddee !important; */
		background-color: transparent !important;
	  }



/** Overriding BS4 Default **/
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.75em;
  vertical-align: 0.2em;
  content: "";
  border-top: 0.33em solid;
  border-right: 0.33em solid transparent;
  border-bottom: 0;
  border-left: 0.33em solid transparent;
}



#orgchart:hover, #orgchart:focus, .image-transparent:hover, .image-transparent:focus {
	background-color: transparent;
}


#toolbar {
  width: 100%;
  font-size: 1rem;
  font-family: Arial, sans-serif, serif, -apple-system, BlinkMacSystemFont;
}

.col-sm-2a {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) {
  .col-sm-2a {
    -ms-flex: 0 0 22%;
    flex: 0 0 22%;
    max-width: 22%;
	min-width: 220px;
  }
}

.fontsizelinks a:hover, .fontsizelinks a:focus, .search-language a:hover, .search-language a:focus {
 filter: invert(11%) sepia(94%) saturate(6773%) hue-rotate(229deg) brightness(95%) contrast(82%);
}


#icon-group {
  font-size: 1rem;
  text-align: center;
  transition: linear 0.2s;
}
#icon-group a {
  margin-left: 10px;
  margin-right: 10px;
}


@media (min-width: 576px) {
  #icon-group a {
    display: block;
    margin-top: 80px;
    text-align: left;
  }
  #icon-group {
    width: 110px;
    position: absolute;
    top: 690px;
    left: -33%;
    left: -164px;
  }
}

/*
@media (min-width: 600px) {
  #icon-group {
    left: -31%;
  }
}
@media (min-width: 620px) {
  #icon-group {
    left: -30%;
  }
}
@media (min-width: 640px) {
  #icon-group {
    left: -29%;
  }
}
@media (min-width: 660px) {
  #icon-group {
    left: -27.6%;
  }
}
@media (min-width: 680px) {
  #icon-group {
    left: -26.8%;
  }
}
@media (min-width: 700px) {
  #icon-group {
    left: -25.8%;
  }
}
@media (min-width: 720px) {
  #icon-group {
    left: -24.8%;
  }
}
@media (min-width: 740px) {
  #icon-group {
    left: -23.8%;
  }
}
@media (min-width: 760px) {
  #icon-group {
    left: -22.8%;
  }
}
@media (min-width: 780px) {
  #icon-group {
    left: -22.6%;
  }
}
@media (min-width: 860px) {
  #icon-group {
    left: -22.4%;
  }
}
@media (min-width: 900px) {
  #icon-group {
    left: -22%;
  }
}
@media (min-width: 1000px) {
  #icon-group {
    left: -21%;
  }
}
*/


@media (min-width: 576px) {
  .shift-top {
    margin-top: -46px;
  }
}

.search-label {
   float: left;
   margin-top: 0.5rem;
}




@media (min-width: 576px) {
  #SearchToggle {
    display: none;
  }
  #SearchFormBar {
    display: -ms-flexbox !important;
    display: flex !important;
  }
}
.heading-underlined {
  margin-bottom: 1rem;
  padding-bottom: 0.1em;
  color: #506F5E;
  border-bottom: 2px solid #506F5E;
}

.heading-chinese {
  letter-spacing: 1px;
}


ul.coi {
  list-style-type: circle;
  /* padding-left: 1.2rem; */
  padding-left: 1.5rem;
}

ul.coi li {
   margin-bottom: 0.5rem;
}

@media (min-width: 576px) {
  ul.coi {
    padding-left: 1.5rem;
  }
}

.mt-4em {
  margin-top: 4rem;
}

.mt-5em {
  margin-top: 5em;
}



.ct-table {
  width: 100%;
}
.ct-table th {
  font-weight: normal;
  padding: 0.5rem 0 0.5rem 0.5rem;
  vertical-align: top;
  width: 8em;
}
.ct-table td {
  padding: 0.5rem;
  vertical-align: top;
}
.ct-table tr:nth-of-type(odd) {
  background-color: #DBF1FC;
}
.ct-table tr:nth-of-type(even) {
  background-color: #C8DEE9;
}

.ct-table-chinese th {
  width: 4em;
}


h2.membership {
	margin-top: 2em;
	margin-bottom: 0.5em;
}

.rtable {
  display: table;
  border-collapse: separate;
  border-spacing: 0 5px;
	width: 100%;
}


.rcellA {
  padding: 0 0 10px 0;
  vertical-align: top;
}

.rcellB {
  padding: 0 0 10px 0;
  vertical-align: top;
}


@media (min-width: 576px) {
  .rtablerow {
    display: table-row;
  }
  .rcellA {
    display: table-cell;
    padding: 0px 5px 10px 0;
    width: 22%;
    min-width: 150px;
  }
  .rcellB {
    display: table-cell;
    padding: 0px 4px 10px 0;
    width: 78%;
  }
}

.member-title {
  font-size: 1em;
  font-weight: 400;
  margin-bottom: 0;
  line-height: inherit;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
}



ol.ol-x {
  margin-left: 0;
  padding-right: 0;
  list-style-type: none;
  margin-top: 1em;
  margin-bottom: 1em;
  counter-reset: item-counter;
}

ol.ol-x>li {
  list-style: none;
}

ol.ol-x>li:before {
  content: counter(item-counter, decimal) ". ";
  counter-increment: item-counter;
  display: inline-block;
  text-align: right;
  padding-right: 0.3em;
  margin-left: -2.2em;
  width: 2.2em;
}

ol.bracket-lower-alpha>li:before {
  content: "(" counter(item-counter, lower-alpha) ") ";
  text-align: center;
  padding-left: 0.75em;
}



ol.coi-pa {
  counter-reset: list;
}
ol.coi-pa > li {
  list-style: none;
}
ol.coi-pa > li:before {
  content: "(" counter(list, lower-alpha) ") ";
  counter-increment: list;
  margin-left: -1.86em;
}




ol.ol-custom {
  display: block;
  list-style-type: decimal;
  margin: 1em 0;
  padding-left: 2.5em;
  padding-left: 2em;
}
ol.ol-custom {
  counter-reset: list;
}
ol.ol-dpla > li {
  list-style: none;
  margin: 1em 0;
}
ol.ol-dpla > li:before {
  content: "(" counter(list, lower-alpha) ") ";
  counter-increment: list;
  display: inline-block;
  text-align: right;
  padding-right: 0.5em;
  width: 2.5em;
  margin-left: -2.5em;
}

.chinese-menu a {
  letter-spacing: 1px;
}

/* -- 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;

}
*/

#icon-group a[href*="web_mobileapp_accessibility"] {
  display: none;
}

ul.press-list {
  /* list-style-type: circle; */
  padding-left: 1.5rem;
}

ul.press-list li {
  /* list-style-type: circle; */
  margin-bottom: 1em;
}

.tnw {
  white-space: nowrap;
}

.banner-desktop {
  display: none;
}

@media (min-width: 576px) {
  .banner-mobile {
    display: none;
  }
  .banner-desktop {
    display: block;
  }
}

.underlineContent {
  text-decoration: underline;
  text-underline-offset: 1.5px;
}


.col1w-c { white-space: nowrap; min-width: 7em }
.col2w-c { white-space: nowrap }

@media (min-width: 576px) {
  .col1w-c { white-space: nowrap; min-width: 6em; }
  .col2w-c { white-space: nowrap; min-width: 6em; }
  .col1w-e { min-width: 4em; }
  .col2w-e { min-width: 4em; }
}

@media (min-width: 768px) {
  .col1w-e { min-width: 8em; }
  .col2w-e { min-width: 8em; }
}

@media (min-width: 900px) {
  .col1w-c { min-width: 7em; }
  .col2w-c { min-width: 12em; }
  .col1w-e { min-width: 12em; }
  .col2w-e { min-width: 12em; }
}


.with-submenu {
  display: -ms-flexbox !important;
  display: flex;
  -ms-flex-direction: row !important;
  flex-direction: row !important;
  -ms-flex-pack: justify;
  align-items: center;
  justify-content: space-between;
}

.nav.submenu .nav-item {
  background-color: #B3E0D5;
}

.submenu-text {
  padding-left: 1em;
}
@media (min-width: 576px) {
  .submenu-text {
    padding-left: 0;
  }
}

@media (min-width: 576px) {
  .with-submenu {
    justify-content: flex-end;
  }
}

.with-submenu:after {
  content: "";
  height: 17px;
  width: 17px;
  background-size: 100% 100%;
  background: url(../images/sm-arrow-15x15.svg) no-repeat center center;
  display: block;
}

@media (min-width: 576px) {
  .with-submenu:after {
    min-width: 17px;
    margin-left: 5px;
  }
}

.with-submenu[aria-expanded="true"]:after {
  transform: rotate(-90deg);
}

.with-submenu:after  {
  transform: rotate(90deg);
  transition: 0.3s;
}


.plugin-datatables table a { word-break: break-all; }
.plugin-datatables .dtr-inline.collapsed tbody > tr > td.dtr-control { padding-left: calc(10px + 10px + 1em); position: relative; }
.plugin-datatables .dtr-inline.collapsed tbody > tr > td.dtr-control::before { position: absolute; left: 10px; top: 50%; }