body,
html,
.container-fluid {
  height: 100%;
}

body {
  background-color: #fbf0ff;
  -webkit-text-decoration-skip: none;
  text-decoration-skip-ink: none;
}

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: 2em;
  font-weight: 700;
  color: #764084;
}

h2 {
  font-size: 1.5em;
  font-weight: 500;
  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;
}

a {
  -webkit-text-decoration-skip: none;
  text-decoration-skip-ink: none;
}

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 {
  text-decoration: underline;
  color: #20399d;
}
footer a {
  color: #000;
}
main a:hover,
main a:focus,
main a:active,
.revision a:hover,
.revision a:focus,
.revision a:active {
  color: #bf1722; /* a variant of red */
  background-color: #ffffcc;
}

footer {
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

#tools * {
  color: #301936;
}

#tools * a:hover,
#tools * a:focus {
  color: #bf1722 !important;
}

#tools span:hover,
#tools span:focus {
  color: #bf1722 !important;
}

#tools .circlebox:hover,
#tools .circlebox:focus {
  color: #bf1722 !important;
  border-color: #bf1722;
}

.fontsizelinks {
  display: inline-block;
}

.fontsizelinks a:hover {
  text-decoration: none;
}

#lang3,
#lang4 {
  text-decoration: none;
  font-weight: 700;
}

.smaller {
  font-size: 0.85rem;
}

.asize1 {
  font-size: 1rem;
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  font-weight: 500;
}

.asize2 {
  font-size: 1.25rem;
  margin-right: 0.3rem;
  font-weight: 500;
}

.asize3 {
  font-size: 1.75rem;
  font-weight: 400;
}

.wrapper {
  /*	min-height: 10vh;*/
  min-height: 40px;
}

main {
  max-height: 100%;
  overflow-y: auto;
  background-color: #ffffff;
}

.container-fluid {
  max-width: 1000px;
  margin: 0 auto;
}

.col-right {
  max-height: 100%;
  /* overflow-y: auto; */
  background-color: #ffffff;
  /* padding-left: 1.5rem;
	padding-right: 1.5rem; */
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 576px) {
  .col-right {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.navbar {
  padding: 0;
}

.nav-bg {
  background-color: #d8aae5;
}

.nav-bg:hover,
.nav-bg:focus {
  color: #fff !important;
}

.nav-link {
  font-weight: 700;
  color: #301936 !important;
  /* padding-left: 1.25rem !important; */
  /*BS4 Default  0.5rem 1rem */
  padding-left: 15px !important;
  border-bottom: 1px solid #ffffff !important;
}

.nav-link.active {
  background-color: #301936 !important;
  color: #ffffff !important;
}

@media (min-width: 576px) {
  .nav-link {
    padding: 0.5rem 1rem;
  }
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active {
  width: 100% !important;
  background-color: #301936 !important;
  color: #ffffff !important;
}

.menu-bg {
  background-color: #d1d2d4;
}

.sm-border-under {
  border-bottom: 0.1rem solid #818386;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .sm-border-under {
    border-bottom: none;
  }
}

.circlebox {
  width: 1.8rem;
  height: 1.8rem;
  /* display: table-cell; */
  display: inline-block;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
  background: transparent;
  border: solid #000000 0.1rem;
  padding: 0.05rem;
  font-family: 'Microsoft JhengHei', 'Microsoft YaHei', 'Heiti TC', sans-serif,
    Arial, Helvetica, 'PMingLiU', 'MingLiU', '新細明體', '細明體';
  color: #551a8b;
}

@media (min-width: 576px) {
  .circlebox {
    border: solid #000000 0.075rem;
  }

  #lang3,
  #lang4 {
    font-weight: 400;
  }
}

.circlebox:hover,
.circlebox:focus,
.circlebox:active {
  background: #ffffcc;
  color: #bf1722;
}

.vertical-centering {
  -ms-flex-align: center;
  align-items: center;
}

.changefontsize {
  padding: 0.1rem 1rem 0.1rem 15px;
}

.button-padding {
  padding: 0.2rem 0;
}

.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) {
  .col-min-width {
    /* -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;*/
    min-width: 165px;
  }
}

@media (min-width: 576px) {
  .sidebar-fixed-width {
    min-width: 165px !important;
    max-width: 165px !important;
  }
}

.navbar-toggler {
  background-color: #301936;
}

.navbar-toggler a {
  color: #000000 !important;
}

.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;
}

@media (min-width: 576px) {
  #togglebutton {
    display: none !important;
  }
}

.desktop-sitemap-link {
  display: none;
}

.mobile-sitemap-link {
  display: inline;
}

@media (min-width: 576px) {
  .desktop-sitemap-link {
    display: inline;
  }

  .mobile-sitemap-link {
    display: none;
  }
}

.fixed-width {
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .fixed-width {
    position: absolute;
    width: 145px;
  }

  .fixed-width-left {
    padding-left: 150px;
  }
}

.contentarea {
  background-color: #ffffff;
  padding: 0.5rem 0 1.5rem 0;
  padding: 1rem 0 1.5rem 0;
}

@media (min-width: 576px) {
  .contentarea {
    background-color: #fbf0ff;
    padding: 1rem 1rem 1.5rem 1rem;
  }
}

#gallery-content td {
  line-height: 1.3rem;
}

#gallery-content ul {
  margin-top: 1.1rem;
  margin-bottom: 0;
}

.banners {
  width: 100%;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding: 0;
}

.banners div {
  display: inline-block;
}

.banners img {
  margin: 0 0.5rem 0.2rem 0.5rem;
}

.banners a {
  padding: 0;
  margin: 0;
  font-size: 0;
}

@media (max-width: 576px) {
  .banners img {
    margin: 0 0.1rem 0.2rem 0.1rem;
    width: 60px;
  }

  .banners {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

#searchformbar {
  min-height: 44px;
}

#searchformbar * {
  box-sizing: border-box;
}

form.searchform {
  /* margin-left: 0.2rem;*/
  margin-left: 0;
}

form.searchform input[type='search'] {
  font-size: 14px;
  border: 0 solid grey;
  float: left;
  width: 180px;
  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;
}

form.searchform button {
  margin-top: 5px;
  float: left;
  width: 36px;
  width: 32px;
  padding: 4px;
  color: #111111 !important;
  background: #ffffff;
  /*font-size: 15px; */
  font-size: 14px;
  border: 0 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;
  }
}

/* Styling the word content */
.nowrap {
  white-space: nowrap;
}

.customul {
  margin-left: -1rem;
}

.presslist {
  margin-top: 0.5rem;
  margin-bottom: 3rem;
  line-height: 1.3;
}

.presslist li {
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
}

#topbanner {
  background-color: #ffffff;
}

/* 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;
  -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 0.1s ease-in;
  transition: top 0.1s ease-in;
}

#maincontent {
  padding-bottom: 1rem;
  min-height: 400px;
  min-height: -moz-calc(100vh - 422px);
  min-height: -webkit-calc(100vh - 422px);
  min-height: -o-calc(100vh - 422px);
  min-height: calc(100vh - 422px);
}

.press-archive {
  width: 100%;
  padding: 0.5rem 0 0.5rem 0;
  text-align: right;
  text-align: left;
}

/**  Gallery styles **/
#gallery {
  width: 100%;
}

#gallery h3 {
  font-size: 1.2rem;
}

#gallery .date,
#gallery .nav {
  background-color: transparent !important;
}

#gallery .nav a {
  color: #20399d !important;
}

#gallery .nav a:hover {
  background-color: #ffffcc !important;
}

#gallery img {
  max-width: 100%;
  height: auto;
}

#gallery p {
  max-width: 100% !important;
}

#gallery .title {
  font-size: 1.17em;
  font-weight: bold;
  max-width: 530px;
}

#gallery .container {
  padding-left: 0;
  padding-right: 0;
}

/**  Blog styles **/
.blog {
  margin-bottom: 2rem;
}

.blog table {
  margin-bottom: 0.3rem;
  margin-left: 0;
}

.blog-img-table {
  margin-bottom: 0.3rem;
  margin-left: 0;
}

.blog-img-table img {
  margin-bottom: 1rem !important;
}

.blog-img-table .caption {
  color: #545454;
  background-color: #f5f4c9;
  font-size: 0.8rem;
  padding: 0.3rem;
  margin-top: -0.7rem;
  margin-bottom: 1.2rem;
}

.blog img {
  width: 100%;
}

.blog img {
  margin-bottom: 1rem;
}

.img-caption {
  margin-bottom: 0.3rem !important;
}

.captiontd {
  color: #545454;
  background-color: #f5f4c9;
  font-size: 0.8rem;
  /* text-align: justify-all;*/
  padding: 0.3rem;
}

.cellseparator {
  padding: 0.5rem;
}

.blog h2 {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.listmargin li {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

/*
.blog td { border: 5px solid #ccc; }

*/
@media (min-width: 480px) {
  .blog img {
    width: 240px;
  }
  .blog table {
    margin-left: 1rem;
  }
  .blog td {
    width: 240px;
  }
  .blog-img-table {
    margin-left: 1rem;
  }
}

@media (min-width: 576px) {
  .blog img {
    width: 100%;
  }
  .blog table {
    margin-left: 0;
  }
  .blog td {
    width: 100%;
  }
  .blog-img-table {
    margin-left: 0;
  }
}

@media (min-width: 720px) {
  .blog img {
    width: 240px;
  }
  .blog table {
    margin-left: 1rem;
  }
  .blog td {
    width: 240px;
  }
  .blog-img-table {
    margin-left: 1rem;
  }
}

/* Blog index page styles */
.blogindex .indexrow {
  padding: 1rem;
  margin-bottom: 1.5rem;
  background-color: #c7e1f0;
}

.blogindex h3 {
  margin-top: 1rem;
}

.blogindex h6 {
  font-weight: 700;
}

.blogindex p {
  font-weight: normal;
}

.latest-blog-text {
  padding-top: 2rem;
  margin-left: -15px;
  font-weight: 700;
}

.blog-archive-text {
  margin-left: -15px;
}

/** */
/* .row-fsbgw { */
.full-width-image {
  margin-right: -15px;
  margin-left: -15px;
  /* background-color: lightgreen; */
  background-color: #ffffff;
}

/* Gallery Table Styles */
.table-striped-odd tbody tr:nth-of-type(odd) {
  /* background-color: rgba(199, 225, 240, 0.5); */
  background-color: rgba(240, 240, 240, 0.6);
}

.table-striped-even tbody tr:nth-of-type(even) {
  background-color: rgba(199, 225, 240, 0.5);
}

.table .thead-blue th {
  color: #000;
  background-color: #c7e1f0;
  /*border-color: #454d55; */
}

.table-sm-02 th,
.table-sm-02 td {
  padding: 0.25rem;
}

@media (min-width: 576px) {
  .table-sm-02 th,
  .table-sm-02 td {
    padding: 0.75rem;
  }
}

.contactlabel {
  width: 6.5rem;
}

/* DOI */
.interestslabel {
  width: 16rem;
}

.interestslist {
  margin-top: 5rem;
}

.interestslist .row {
  padding-top: 1rem;
}

/**  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;
}

/**  DOI Styles **/
.downloadicon {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.DTable {
  display: table;
}

.DTitle {
  display: table-caption;
  text-align: center;
  font-weight: bold;
  font-size: larger;
}

.DHeading {
  display: table-row;
  font-weight: bold;
  text-align: center;
}

.DRow {
  display: table-row;
}

.DCell {
  display: table-cell;
  border: none;
  /* border-width: thin;*/
  padding: 1rem 1rem 1rem 0.4rem;
}

@media (min-width: 576px) {
  .DCell {
    padding-right: 3rem;
  }
}

.DCell2 {
  display: table-cell;
  border: none;
  padding: 0.5rem 0.5rem 0.5rem 0;
}

@media (min-width: 576px) {
  .DCell2 {
    padding-right: 1.2rem;
  }
}

/* Banners Flashing Effect */
.banners img:hover {
  opacity: 1;
  -webkit-animation: flash 0.5s;
  animation: flash 0.5s;
}

@-webkit-keyframes flash {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

@keyframes flash {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

/** 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;
}

.full-width {
  width: 100%;
  padding-left: 4px;
}

.gallery-h2 {
  color: #0254a6;
  font-weight: 700;
}
.btn-pg {
  background-color: #0254a6;
  color: #fff;
  border: none;
  border-radius: 4px;
  margin-top: 5px;
  width: 152px;
  /* margin-left: 3.5px; */
}

.btn-pg:hover,
.btn-pg:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
  color: #ffff56;
}

img.load-on-button-click:hover {
  /* box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
  color: #FFFF56; */
  border: 2px solid #0254a6;
}

.clear {
  clear: both;
}

.tngroup table td:first-child {
  width: 100px;
}

.gallery-video table td:last-child {
  text-align: right;
}

@media (min-width: 576px) {
  .gallery-video table td:last-child {
    padding-right: 1rem;
  }
}
.gallery-video table th:last-child {
  text-align: center;
}

#query,
#searchbutton {
  height: 31px;
}

.organization-title {
  white-space: nowrap;
  padding-right: 10px;
  font-weight: bold;
  display: block;
}

.dropdown-toggle {
  white-space: normal;
}
.virus-img{
width: 100%;
}
.wcag-img{
width: 83px !important;

}
/* used as popup msg */

.black_overlay {
	/* display: none; */
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 2000px;
	background-color: #3a3a3a;
	z-index: 1001;
	-moz-opacity: 0.8;
	opacity: .80;
	filter: alpha(opacity=80);
   }
   
   .white_content {
	position: absolute;
	top: 20%;
	 left: 20%;
	 width: 55%;
	 /* height: 38%; */
	padding: 16px;
	/* border: 16px solid #072465; */
	background-color: #d8aae5;
	z-index: 1002;
	overflow: auto;
  align: centre;
  
   }
   
   @media (max-width: 767px) {
	 .white_content {
	  top: 4%;
	   left: 4%;
	   width: 92%;
	   height: 92%;
	 }
   }
   
   .notactive {
	pointer-events: none;
	cursor: default;
   }
   
   .DisabledLink {
	pointer-events: none;
	cursor: default;
   }
   
   .display_detail {
	text-align: justify;
	text-justify: inter-ideograph;
	font-family: "Arial";
	font-size: 1.3em;
	color: black;
   }
   
   .display_cover {
	align: middle;
	background-color: #fdd835;
	width: 200px;
	height: 200px;
	border: 1px
   }
   
   .display_cover_text {
	mages-valign: center;
	images-align: center;
	text-valign: center;
	text-align: center;
	background-color: #fdd835;
	font-weight: bold;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	font-family: "Arial";
	font-size: 0.9em;
	color: white;
	width: 210px;
   }
   
   .divelement {
	vertical-align: text-top;
   }
   
   td img {
	vertical-align: center;
   }
   
   .details_header {
	images-valign: center;
	images-align: center;
	text-valign: center;
	text-align: center;
	font-family: "Arial";
	font-size: 1.31em;
	color: #fdd835;
	align: center;
	font-weight: bold;
   }
   
   .clsbtn {
	 border: 0;
	 width: 2rem;
	 height: auto;
	 position: absolute;
	 right: 1rem;
   }
   .popup_title{
	   text-align: center !important;
   }
   .popup_text{
	   line-height: 25px;
	   margin-bottom: 27px;
	   color: black;
	   font-family: Arial, Helvetica, sans-serif !important;
	   font-size: 17px;
   }

   
   /* used as popup msg */

  .fake_button{
    /*optional*/
    /*input has OS specific font-family*/
    color: #069;
    text-decoration: underline;
    cursor: pointer;
  }
  p.double {
    border-style: double;
    border-width: 5px;
    text-align: center;
    font-size: 20px;
    background-color: #d8aae5 !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
  }