@font-face {
  font-family: 'NotoSansCJKtc-Regular';
  src: url('../fonts/NotoSansCJKtc-Regular-Alphabetic.eot');
  src: 
       url('../fonts/NotoSansCJKtc-Regular-Alphabetic.svg#NotoSansCJKtc-Regular-Alphabetic') format('svg'),
       url('../fonts/NotoSansCJKtc-Regular-Alphabetic.ttf') format('truetype'),
       url('../fonts/NotoSansCJKtc-Regular-Alphabetic.woff') format('woff'),
       url('../fonts/NotoSansCJKtc-Regular-Alphabetic.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NotoSansCJKtc-Thin';
  src: url('../fonts/NotoSansCJKtc-Thin-Alphabetic.eot');
  src:
       url('../fonts/NotoSansCJKtc-Thin-Alphabetic.svg#NotoSansCJKtc-Thin-Alphabetic') format('svg'),
       url('../fonts/NotoSansCJKtc-Thin-Alphabetic.ttf') format('truetype'),
       url('../fonts/NotoSansCJKtc-Thin-Alphabetic.woff') format('woff'),
       url('../fonts/NotoSansCJKtc-Thin-Alphabetic.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

#skiptocontent {
  background: #E32400;
  height: 30px;
  left: 50%;
  padding: 8px;
  position: absolute;
  transform: translateY(-120%);
  transition: transform 0.3s;
  z-index: 3;
  color:white;
}

#skiptocontent:focus {
  transform: translateY(0%);
}


.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body {
  margin: 0;
  font-family: "NotoSansCJKtc-Regular", sans-serif;
  background-color: #ffffff;
  font-size: 1em;
  color: #4D4D4D;
}

.wcag { display: inline-block;  float: right;}
.container{padding-left: 0px !important; padding-right: 0px !important;}
.row {margin-left: 0px !important; margin-right: 0px !important;}

.main-content {padding: 40px 0px;}


br {
  font-family: serif;
}

a {
  color: #444444;
  text-decoration: none;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;

}

a:hover{
    cursor: pointer;
}

.lity-content a{overflow-wrap: break-word;   word-wrap: break-word; hyphens: auto; word-break: break-all; }

a:hover {color: #ca247e;}

.zoomin {font-size: 1.2rem;}


h1, h2, h3, h4, h5, h6 {margin: 0px;     font-weight: 400;}

#wrap{    
  margin: 0 auto;
  padding: 0px;
  background-color: #FFFFFF;
}


/* header */

.search-mobile{display:none;}

#header-wrap {    
  background-color: #DCF7EF;
  width: 100%;
  padding-top:20px;
  font-size: 1em;
  user-select: auto;
  position: sticky;
  top: 0;
  z-index: 2;
}


.header-info{
  background-color: #DCF7EF;
  z-index: 3;
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 20px;
  
}

.header {
  background-color: #DCF7EF;
  z-index: 3;
}

.header-title{
  font-size: 1.3em;
  margin-left: 40px;
  position: relative;
  display: inline-block;
  color: #464646;
  letter-spacing:  0.125em;
}

.header-title-en{
  font-size: 1.125em;
  margin-left: 40px;
  margin-top:4px;
  position: relative;
  display: inline-block;
  color: #464646;
  letter-spacing: 0px;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.header li a {
  display: block;
  padding: 20px 20px;
  text-decoration: none;
  color: #464646;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header-info .logo {
  display: inline-block;
  float: left;
  font-size: 1em;
  padding: 0px 00px;
  text-decoration: none;
  border-right: 0px solid #5D5D5E;
  width: 40%;
  height: 100px;
  position: relative;
}

.header-info .logo-en {
  display: inline-block;
  float: left;
  font-size: 1em;
  padding: 0px 00px;
  text-decoration: none;
  border-right: 0px solid #5D5D5E;
  width: 45%;
  height: 100px;
  position: relative;
}



/*siebar menu */

.sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}


.sidebar .sidebar-menu {
  clear: both;
  max-height: fit-content;
  transition: max-height .2s ease-out;
}



/* menu */
.menu-wrap {
  background-color: white;
    width: 100%;
    display: table;
    margin: 0 auto;
    margin-top: 40px;
}


.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}
.menu-active a {color: #00838F !important;}


/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  padding: 15px;
  padding-top: 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px;
  font-size: 16px;
  min-width: 95px;
  border: none;
}

.dropdown {
  position: relative;
  /*display: inline-block;*/
}

.dropdown-content {
  display: none;
  /*position: fixed;*/
  background-color: white;
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: auto;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #3e8e41;}


/* sidebar-menu icon */

.sidebar .sidebar-menu-icon {
  cursor: pointer;
  display: inline-block;
  float: left;
  padding: 28px 8px;
  position: relative;
  user-select: none;
}

.sidebar .sidebar-menu-icon .sidebar-navicon {
  background: #333;
  display: inline-block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
  margin-right: 10px;
}

.sidebar .sidebar-menu-icon .sidebar-navicon:before,
.sidebar .sidebar-menu-icon .sidebar-navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.sidebar .sidebar-menu-icon .sidebar-navicon:before {
  top: 5px;
}

.sidebar .sidebar-menu-icon .sidebar-navicon:after {
  top: -5px;
}

.sidebar-menu-active {    background-color: #F6E3E1 !important;}



/* menu btn */
.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 470px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}


/* sidebar menu btn */
.sidebar .sidebar-menu-btn {
  display: none;
}

.sidebar .sidebar-menu-btn:checked ~ .sidebar-menu {
  max-height: 370px;
}
.sidebar .sidebar-menu-btn:checked ~ .sidebar-menu-icon  .sidebar-navicon{
  background: transparent;
}

.sidebar .sidebar-menu-btn:checked ~ .sidebar-menu-icon .sidebar-navicon:before {
  transform: rotate(-45deg);
}

.sidebar .sidebar-menu-btn:checked ~ .sidebar-menu-icon .sidebar-navicon:after {
  transform: rotate(45deg);
}

.sidebar .sidebar-menu-btn:checked ~ .sidebar-menu-icon:not(.steps) .sidebar-navicon:before,
.sidebar .sidebar-menu-btn:checked ~ .sidebar-menu-icon:not(.steps) .sidebar-navicon:after {
  top: 0;
}

.sidebar-menu li:hover{cursor: pointer;}

.splide .splide__arrow:focus{ outline: rgba(0,0,0,0);}


.search, .lang, .fontlevel, .sitemap{
  display: inline-block;
  float: right;
  padding: 0px 20px;
  margin-top: 20px;
  color:#6B6B6B;
}

.searchBtn {width:20px; height:20px; position: relative;  top: 5px;}

.sitemap-en{
  display: inline-block;
  float: right;
  padding: 0px 20px;
  margin-top: 23px;
  color:#6B6B6B;
}


.search img{width: 20px; vertical-align: text-bottom; max-height: 100%; }
.lang {word-spacing: 0.5em; border-right: 1px solid #666666;}
.fontlevel {word-spacing: 1.125em; border-right: 1px solid #666666;}
.zoomout, .zoomreset, .zoomin {cursor: pointer;}


input#searchbar {
    font-size: 1em;
    border: 1px solid #666666;
}
input#searchbar:focus {border:none;}

.home-title{text-align: center; padding:30px 10px; color:#ca247e; font-weight: 100;}


/* slider */
.splide__track{text-align: center;}
#slider-mobile {display:none;}

#slider .splide__slide img ,#slider2 .splide__slide img ,#slider3 .splide__slide img  {
  width: 100%;
}
#slider .splide, .splide__slide {
  max-width: 1320px;
  text-align: center;
  margin: 0 auto;
}
#slider .splide__pagination__page.is-active { background-color:#1AB1B7 !important;}
.splide__arrow {width: 3em !important; height: 3em !important; background: none !important;}
.btn_LR{ width: 100%;}

#slider2 .splide, #slider2 .splide__slide, #slider3 .splide, #slider3 .splide__slide  {
  max-width: 1320px;
  text-align: center;
  margin: 0 auto;

}
#slider2 .splide, #slider3 .splide {
  padding: 0px 60px;
}

#slider2 .splide__pagination, #slider3 .splide__pagination {
  top: -1.5em;
  bottom: auto;
}

#slider{overflow-x:hidden;}

#slider2, #slider3 {
  padding-top: 40px;
  overflow-x:hidden;
}
#slider2 .splide__pagination__page.is-active {background-color:#ca247e !important;}

#slider3 .splide__pagination__page.is-active {background-color:#1AB1B7 !important;}

/* location */
.location img {width: 100%;}
.home-location #loc .loc-button{padding: 30px 10px; font-size: 1.5em;}
.home-location #loc .loc-button-en {padding: 30px 10px; font-size: 1.25em;}

/*footer */
#footer {
  margin-top: 20px;
  background-color:#f4f4f4;
  padding: 50px;
}

/* go top */
#gotop img {width:40px; vertical-align: middle; padding-left: 10px;  max-height:100%;}
#gotop { 
  user-select: none;
  color:#4C4948; 
  max-width: 1320px;  
  margin: 0 auto; 
  text-align: right; 
  padding: 40px 0px; 
  font-size: 1em;
}
#gotop:hover{ cursor: pointer;}
#Gtop{  width: fit-content; float: right; padding-right: 20px;}

/*breadcrumb */
.breadcrumb {font-size: .9rem;}
.breadcrumb div { border-bottom: 1px solid #cccccc; padding: 10px; margin-top:20px;}

/* about us */

.aboutus-side ul li, .sidebar ul li{
  list-style: none;
  background-color: #F0F1FA;
  padding: 10px;
  margin: 2px;
  border-radius: 0px 10px 10px 0px;
}
.aboutus-side ul, .sidebar ul{padding-left: 0px !important;}
.aboutus-side ul li:hover, .aboutus-side ul .about-active, .sidebar ul li:hover, .sidebar ul .sidebar-active {
  background-color: #F6E3E1;
}
.aboutus-side, .sidebar {
  height: fit-content;
  position: sticky;
  top: 180px;
  padding-right: 15px;
}
.aboutus-side li:hover {cursor: pointer;}

.aboutus-side-en{top: 220px;}

.content-text .anchor-link {
    position: relative;
    top: -189px;
}

/* health info */
.health-table {width: 100%; border-spacing: 0px; margin-top:20px; margin-bottom: 40px; border-bottom: 1px solid #dddddd;}
.health-taable td {padding: 00px;}
.health-table-head {width: 2%;  background-color:#F6E3E1; border: 1px solid #dddddd; border-width: 1px 0px 0px 0px;}
.health-table-left {vertical-align: text-top; padding:10px; width: 49%; border: 1px solid #dddddd; border-width: 1px 1px 0px 0px;}
.health-table-right {vertical-align: text-top; padding:10px; width: 49%; border: 1px solid #dddddd; border-width: 1px 0px 0px 0px;}
.health a {color: #0071B8; 
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
.health a:hover {color: #009dff;}

/*service */
.content-text img {width:100%;}
.service-table {width: 100%; border-spacing: 0px; margin-top:20px; margin-bottom: 40px; border-bottom: 1px solid #dddddd;}
.service-table-hleft {padding: 10px; width: 2%;  background-color:#F6E3E1; border: none;}
.service-table-hright {border: 1px solid #ffffff; border-width: 0px 0px 0px 5px; vertical-align: text-top; background-color:#DADADA; padding:10px; width: 49%;}
.service-table-left {padding: 10px; width: 2%;  background-color:#F6E3E1; border: 1px solid #dddddd; border-width: 1px 0px 0px 0px;}
.service-table-right {vertical-align: text-top; padding:10px; width: 49%; border: 1px solid #dddddd; border-width: 1px 0px 0px 0px;}
.data-info {padding: 20px;}
.data-info h2 {padding-bottom: 10px;}
.data-info table {border-spacing: 0px;}
.data-info table td {vertical-align:top; padding:10px; border: 1px solid #dddddd; border-width: 1px 0px 0px 0px;}
.data-info table tr:first-child td {border-width: 0px 0px 0px 0px;}
.data-info td:nth-child(1) {width: 20%;}
.data-info.service-dialog td:nth-child(1) {background-color:#F6E3E1}


/* healt list */
.healthlist img {width: 100%; max-height:100%;}
.list-enlarge img, .list-pdf img{width: 20px; vertical-align: text-bottom; }
.list-enlarge, .list-pdf{color: #0071B8;}

/* location */
div#loc{
  width: 100%;
  max-height: fit-content;
  display: flex;
  justify-content: space-between;
}
#loc div{width:13%;}
#loc-en div{width:30%;}
.loc-button , .loc-button-en{
  backface-visibility: hidden;
  position: relative;
  cursor: pointer;
  display: inline-block;
  background: linear-gradient(180deg,#eeeeee 0%,#dddddd 38%,#eeeeee 40%,#d1d1d1 100%);
  border-radius: 5px;
  padding: 10px 10px;
  width: 100%;
  margin: 0px 5px;
  margin-bottom: 20px;
  text-align: center;
  word-break: break-word;
}


.loc-button-active:nth-child(1){ background: linear-gradient(180deg,#d5eede 0%,#c4e9de 33%,#d4eede 35%,#aae1df 100%);}
.loc-button-active:nth-child(2){ background: linear-gradient(180deg,#d5ebed 0%,#c8e0ea 33%,#d5ebee 35%,#b2c9e2 100%);}
.loc-button-active:nth-child(3){ background: linear-gradient(180deg,#dadcef 0%,#d2cfea 33%,#dadbef 35%,#c7b6e4 100%);}
.loc-button-active:nth-child(4){ background: linear-gradient(180deg,#efd9ef 0%,#edcde8 33%,#f0d9ef 35%,#e9b5da 100%);}
.loc-button-active:nth-child(5){ background: linear-gradient(180deg,#ffd2d4 0%,#ffbabf 33%,#ffd1d3 35%,#ef919b 100%);}
.loc-button-active:nth-child(6){ background: linear-gradient(180deg,#ffeacc 0%,#fed3ae 33%,#ffeacc 35%,#f3ab77 100%);}
.loc-button-active:nth-child(7){ background: linear-gradient(180deg,#eeeeee 0%,#dfe1e1 33%,#eeeeee 35%,#c9caca 100%);}

.loc-color1 {background-color:#d3eede;}
.loc-color2 {background-color:#d4eaed;}
.loc-color3 {background-color:#d5d4ec;}
.loc-color4 {background-color:#efd3eb;}
.loc-color5 {background-color:#ffc6ca;}
.loc-color6 {background-color:#ffe3c3;}
.loc-color7 {background-color:#e9e9e9;}



/* basic info */

.info-table {width: 100%; border-spacing: 0px; margin-top:20px; margin-bottom: 40px; border: 1px solid #dddddd;}
.info-table td,.info-table th {border: 1px solid #dddddd;}
caption {
  font-size: 1.5em;
  text-align: left;
  padding-bottom: 20px;
}

/* download */
.download img {width: 100%; max-height:100%;}
.list-pdf img{width: 20px; vertical-align: text-bottom; max-height:100%; }
.download h2 {color:#0099A7;}

/* 48em = 768px */
@media (min-width: 48em) {
  .header li {
    display: table-cell;
    hyphens: none;
  }
  .header li a {
    padding: 10px 10px;
    hyphens: none;
  }
  .header .menu {
    clear: none;
    width: 100%;
    text-align: center;
    max-width: 1320px;
    margin: 0 auto;
    max-height: inherit;
    justify-content: space-between;
    display: table;
  }
  .header .menu-icon {
    display: none;
  }

  /* sider bar */
  .sidebar li {
    display: block;
  }
  .sidebar li a {
    padding: 10px 10px;
  }
  .sidebar .sidebar-menu {
    clear: none;
    width: 100%;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    max-height: fit-content;
  }
  .sidebar .sidebar-menu-icon {
    display: none;
  }

}
@media (max-width: 1200px) {
.search, .lang, .fontlevel, .sitemap{
  padding: 0px 8px;
}
}

@media (max-width: 1024px) {
  .header li a{font-size: 13px; padding: 10px 10px;}
  .header-title {font-size:14px; margin-left: 20px;}
  .search, .lang, .fontlevel, .sitemap, .sitemap-en { padding: 0px 10px; margin-top: 10px; font-size: 13px;}
  .search {margin-top: 6px; }
  input#searchbar {    font-size: 12px; width: 90px; }

  .header-info, .header .menu{  max-width: 1000px; }

  #loc div{width:30%;}
}
 

@media (max-width: 768px) {
  .header li a{font-size: 12px; padding: 10px 10px;}
  .header-info .logo {height:80px;}
  .header-info .logo-en {height:80px;}
  .header-title {font-size:14px; margin-left: 20px;}
  .search, .lang, .fontlevel, .sitemap, .sitemap-en { padding: 0px 4px; margin-top: 10px; font-size: 12px;}
  .search {margin-top: 6px; }
  input#searchbar {    font-size: 12px; width: 60px; }

  .header-info, .header .menu{  max-width: 760px; }
  .fontlevel { word-spacing: 0.5em; }


}

@media (max-width: 576px) {


  .menu-wrap {margin-top:0px;}
  .header-info .logo {width:100%; height:60px;}
  .header-info .logo-en {width:100%; height:60px;}
  .header-title {font-size:14px; margin-left: 20px;}
  .header li a{font-size: 16px;}

  #slider-mobile {display:block;}
  #slider {display:none;}

  .sidebar .sidebar-menu {
    max-height: 0px;
  }

  
  .search, .lang, .fontlevel, .sitemap, .sitemap-en {padding: 0px 10px; margin-top: 20px; font-size: 15px; text-align: right; flex-grow: 1;}
  .search {    margin-top: 22px;}
  .search {display:none;}
  .search-mobile {display: block;    order: 4;    margin-top: 10px;    padding-left: 10px;    margin-right: 10px;}
  .search-mobile img {width: 25px;}
  .sitemap, .sitemap-en {order: 3;}
  .fontlvel {order: 2;}
  .lang {order: 1;}

  .header-info {display: flex;    flex-flow: row wrap; margin-bottom: 10px;}
  
  #searchForm {background-color: white; width: 50vh; padding: 5px;font-size: 18px; padding-right: 30px; }
  #searchForm img {width: 20px;}
  input#searchbar {    font-size: 18px;    width: 230px;  }

  .lity-content .searchBtn {float:right;}

  #gotop {padding: 40px 20px;}
  h1 {padding-top: 10px;}

  .content-text .anchor-link {    top: -434px;}
  .aboutus-side {    top: 233px; background-color: #ffffff;}
  .header .menu-btn:checked ~ .menu {    border-bottom: 1px solid #dddddd;}
  .sidebar .sidebar-menu-btn:checked ~ .sidebar-menu {  padding-bottom: 30px;  border-bottom: 1px solid #dddddd; margin-bottom: 30px;}
  .sidebar {position: inherit;}
  .aboutus-side {display: none;}

  .main-content {padding: 0px 0px;}
  .breadcrumb div {margin-top: 0px;}
  .sidebar li {
    display: inline-block;
  }

  .info-table td:nth-child(1) {width: 2%;}
  .info-table td:nth-child(2) {width: 22%;}
  .info-table td:nth-child(3) {width: 19%;}
  .info-table td:nth-child(4) {width: 19%;}
  .info-table td:nth-child(5) {width: 19%;}
  .info-table td:nth-child(6) {width: 19%;}

  #loc-en div{width:97%;}

  .content-text{font-size: 0.8em;}
  .lity-content{font-size: 0.8em;}
  .lity-close:hover{font-size: 2.4375em !important;}
  .lity-close {font-size: 2.4375em!important;}
}


@media (max-width: 414px) {
  input#searchbar {      width: 170px;  }
  #searchForm {    width: 40vh; padding-right: 30px;}


}

@media (max-width: 375px) {
  .lity-content .searchBtn {float:right }
  input#searchbar {   width: 148px;  }

  .header-info .logo {width:100%; height:60px;}
  .header-title {font-size:14px; margin-left: 20px;}
  .sitemap-en { padding: 0px 5px;}
  .header-title-en {    font-size: 12px;    margin-left: 10px;}

  .content-text{font-size: 0.7em;}
  .lity-content{font-size: 0.7em;}

}

@media (max-width: 360px) {
  input#searchbar {      width: 210px;  }
  .lity-content .searchBtn {float:right; }
}


@media (max-width: 320px) {
input#searchbar {
    width: 170px;
}
#loc div {
  width: 29%;
}
  .home-location #loc .loc-button-en {
    padding: 20px 10px;
    font-size: 16px;
}
.header-info {padding-top:0px;}
.header-info .logo-en {height:40px;}
.header-info .logo { height:40px;}
.header-title-en {
  font-size: 10px;
  margin-left: 5px;
}

.search, .lang, .fontlevel, .sitemap, .sitemap-en {
  padding: 0px 5px;
  margin-top: 20px;
  font-size: 12px;
}

#header-wrap {
    font-size: 14px;
}

.content-text{font-size: 0.7em;}
.lity-content{font-size: 0.7em;}

}
