﻿@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
@charset "UTF-8";
* {
    font-family: 'Noto Sans TC', sans-serif, 'Open Sans';
}
html, body {
    height: 100%;
}

html {
  font-size: 14px;
}
a {    
    text-decoration: none!important;
}
p{
    margin: 0;
}
ul{
    padding:0;
}
li{
    list-style:disc;
}
.form-control {
  padding: 5px 15px;
}
.form-control2 {
    padding: 5px 15px;
}
.formSelect{
  border: 0;
}

/*jquery ui*/
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
  border: none;
  background-color: transparent;
}

.ui-widget-header {
  background-color: #797979;
  color: #fff;
}

.ui-dialog-titlebar-close::before {
  content: 'X';
  position: relative;
  bottom: 2px;
  outline: none;
  color: #fff;
}
.ui-widget.ui-widget-content{
  padding: 0;
  border: 0;
  box-shadow: 0 0 5px #dadada;
  border-radius: 0px 0 8px 8px;
}

.accordion .ui-state-default {
  background-color: #fff;
}

.accordion .ui-state-active {
    padding: .6em .5em .6em .7em;
    background-color: #14723E;
}

.ui-widget-content {
  color: unset;
}

.ui-menu .ui-state-focus, .ui-menu .ui-state-active {
  margin: unset;
}

body {
    font-family: "'Noto Sans TC', sans-serif, 'Open Sans'";
}
/*navbar logo 開始*/
#Logo {
  width: 60px;
} 

#LogoTitle {
  font-size: 20px;
  top: 0;
  bottom: 0;
  margin: auto; 
  margin-left: 10px;
  color: #fff;
}
/*navbar logo 結束*/

/*navbar*/
.collapse:not(.show) {
  display: block;
}

#nav {
    -webkit-box-shadow: 0 0 10px 0 #292929;
    box-shadow: 0 0 10px 0 #292929;
}

/*導覽列上方*/
#LogoNav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 0;
}

.navbar .nav-form {
  margin-top: 2rem;
}

.navbar .nav-form .row {
  width: 100%;
  margin-top: 1rem;
}
.navbar .nav-form .navPage{
  display: flex;
  align-items: center;
  margin-left: 1.2em;
}
.navbar .nav-form .row .col-4 + .col-4 {
  padding-left: 0;
}

.navbar.navbarA {
  padding: 10px 25px;
  z-index: 2;
}

@media(max-width:550px){
    .navbar.navbarA {
        padding: 5px;
    }
}

.navbar.navbar-white {
  background: #14723E; 
}

.navbar.navbar-white .navbar-toggler {
  color: #bfbfbf;
  margin-left: 5px;
}

.navbar.navbar-white .navbar-toggler:active, .navbar.navbar-white .navbar-toggler:focus {
  outline: none;
}

.navbar.navbar-white .navbar-toggler.button-green {
  background-color: #19aa4e;
  color: #fff;
}

.navbar.navbar-white .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'><path stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

.navbar .side-collapse {
  top: 0;
  z-index: 9999;
  padding-top: 0.1em;
}

.navbar .side-collapse.side-collapse-left {
  bottom: 0;
  width: 320px;
  position: fixed;
  overflow-y: auto;
  background-color: #fff;
  transition: width 0.4s;
  -ms-transition: width 0.4s;
  /* IE 9 */
  -moz-transition: width 0.4s;
  /* Firefox */
  -webkit-transition: width 0.4s;
  /* Safari 和 Chrome */
  -o-transition: width 0.4s;
  /* Opera */
  border-right: 1px solid #19aa4e;
  left: 0;
  margin-left:0;
}

.navbar .side-collapse.side-collapse-left.in {
  width: 0;
  margin-left:-20px;
}

.navbar .side-collapse.side-collapse-right {
  bottom: 0;
  width: 320px;
  position: fixed;
  overflow-y: auto;
  background-color: #fff;
  transition: width 0.4s;
  -ms-transition: width 0.4s;
  /* IE 9 */
  -moz-transition: width 0.4s;
  /* Firefox */
  -webkit-transition: width 0.4s;
  /* Safari 和 Chrome */
  -o-transition: width 0.4s;
  /* Opera */
  border-left: 1px solid #19aa4e;
  right: -1px;
}

.navbar .side-collapse.side-collapse-right.in {
  width: 0;
  right: -1px;
}

.navbar .side-collapse button.navbar-toggler {
  background-color: #fff;
}

.navbar .side-collapse .navbar-center {
  vertical-align: middle;
}

.navbar .side-collapse .navbar-left {
  float: left;
  vertical-align: middle;
}

.navbar .side-collapse .navbar-title {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.navbar .side-collapse .nav-link {
  color: #000;
  cursor: pointer;
  padding: 0.5em;
  background-color: #fff;
}



.navbar .side-collapse .nav-inline {
  display: inline-block;
}

.navbar .side-collapse ul li.nav-hover a:hover {
  color: #fff;
  background-color: #999999;
  transition: 0.3s;
  -ms-transition: 0.3s;
  /* IE 9 */
  -moz-transition: 0.3s;
  /* Firefox */
  -webkit-transition: 0.3s;
  /* Safari 和 Chrome */
  -o-transition: 0.3s;
  /* Opera */
}

/*左側選單hover效果*/
.navbar .side-collapse ul li.nav-hover .bg-green:hover {
  background-color: #19aa4e;
  transition: 0.3s;
  -ms-transition: 0.3s;
  /* IE 9 */
  -moz-transition: 0.3s;
  /* Firefox */
  -webkit-transition: 0.3s;
  /* Safari 和 Chrome */
  -o-transition: 0.3s;
  /* Opera */
}

.navbar .side-collapse ul li.ta-right > a:hover {
  color: #999999;
  transition: 0.3s;
  -ms-transition: 0.3s;
  /* IE 9 */
  -moz-transition: 0.3s;
  /* Firefox */
  -webkit-transition: 0.3s;
  /* Safari 和 Chrome */
  -o-transition: 0.3s;
  /* Opera */
}

.navbar-toggler .fa.fa-bars {
  padding: 4px 0;
}

/* .navbar end */
.date {
  position: relative;
}

.date .datepicker {
  padding-right: 10px;
}

.date .fa-calendar {
  position: absolute;
  right: -5px;
  bottom: 8px;
  font-size: 18px;
}

/*footer開始(共版)*/
#footer {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    background-color: #14723e;
    color: #fff;
    padding: 2%;
}

/*疾管屬地址*/
#footer p {
  margin-bottom: 0;
  font-size: 80%;
}

/*點選footer 的 cookie policy按鈕會出現cookie同意選項*/
#cookie {
    padding:20px 0px;
  position: fixed;
  overflow:hidden;
  color:#000;
  text-align:left;
  display: flex;
  left: 0;
  bottom: 0;
  z-index: 9;
  border-top: 1px solid #bfbfbf;
  background-color: #fff;
  width: 100%;
  transition: 0.4s;
  -ms-transition: 0.4s;
  /* IE 9 */
  -moz-transition: 0.4s;
  /* Firefox */
  -webkit-transition: 0.4s;
  /* Safari 和 Chrome */
  -o-transition: 0.4s;
  /* Opera */
}
    /*Cookie Policy標題*/
#cookie h2 {
  font-size: 130%;
}

#cookie.in {
  border-top: none;
  height: 0;
  padding: 0;
  margin-bottom:-200px;
}

/*Cookie Policy按鈕*/
#ManageCookie {
    cursor: pointer;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-left: 1em;
}

.dropdown-menu {
  padding: 0;
}

/*footer結束(共版)*/
/**/


#showPerPageDiv label input {
  vertical-align: middle;
}

.showPerPage .fa:before {
  vertical-align: middle;
}

.showPerPage i {
  border: 1px solid #999999;
  color: #999999;
  padding: 1px;
  display: inline-block;
  font-size: 50%;
  text-align: center;
}

/*
#showPerPage1>.inner-showPerPage{
    width: 100%;
    height: 100%;
    display: flex;
}
#showPerPage2>.inner-showPerPage{
    width: 50%;
    height: 100%;
}*/
#menu.ui-widget.ui-widget-content {
  border: none;
}

#menu.ui-menu .ui-menu-divider {
  height: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  border: none;
}

#SearchForm {
  padding: 0.5rem 1em;
}

#menuSearch {
  margin-left: 0.5%;
}

#menuLeft {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

.nav-dropdown-child {
  display: none;
  padding-left: 0;
}

/*NAV左側選單控制顯示/隱藏*/
.nav-dropdown-child li {
  list-style: none;
}

.nav-dropdown.dropdown:after {
  content: '▼';
  float: right;
  /* Safari 和 Chrome */
  -o-transform: rotate(360deg);
  transform: rotate(0);
  -ms-transform: rotate(0);
  /* IE 9 */
  -moz-transform: rotate(0);
  /* Firefox */
  -webkit-transform: rotate(0);
  /* Safari 和 Chrome */
  -o-transform: rotate(0);
  /* Opera */
  transition: .5s;
}

.nav-dropdown.dropdown.in:after {
  transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  /* IE 9 */
  -moz-transform: rotate(180deg);
  /* Firefox */
  -webkit-transform: rotate(180deg);
 
}

/*NAV左側選單法傳A-Z索引排列*/
.nav-dropdown-grid li {
  display: inline-block;
  padding: 0;
  text-align: center;
  width: 20%;
}

.nav-dropdown-grid li a.nav-link {
  display: inline-block;
  padding: 0.5em 0;
  text-align: center;
  width: 100%;
}
/*NAV右方頁籤 登革熱、流感、腸病毒、腹瀉開始*/
#menuB {
  margin-left: auto;
}

    /*NAV右方頁籤 登革熱、流感、腸病毒、腹瀉個別按鈕*/
    #menuB ul > li {
        display: inline-block;
        border-radius: 10%;
        margin-right: 1em;
    }

    @media(max-width:500px){
        #menuB ul > li {
            margin-right: .1em;
        }
    }

        /*NAV右方頁籤 登革熱、流感、腸病毒、腹瀉個別按鈕連結*/
        #menuB ul > li a {
            padding: 0.5em;
            cursor: pointer;
            border-radius: 10%;
            color: #fff;
            font-size: 16px;
            letter-spacing: 2px;
        }
/*NAV右方頁籤 登革熱、流感、腸病毒、腹瀉結束*/


#FilterBtn {
    position:relative;
  margin-left: 0.5rem;
  padding: .45rem .75rem;
  cursor: pointer;
}

/*圖表*/
.owl-dot, .owl-dot:active, .owl-dot:focus {
  outline: none;
}

#carouselExampleIndicators {
  min-height: 600px;
}

#owl-carousel .item .row + .row {
  margin-top: 20px;
}

/*首頁圖表呈現區塊開始*/
.ChartMain{
  position:relative;
  width: 1600px;
  display: block;
  margin: auto;
  margin-top: 5em;
  margin-bottom: 3em;
  min-height: 700px
}

    .ChartMain .chart {
        width: 47.5%;
        float: left;
        background: #fff;
        padding: 0;
        margin: 0 1.4em;
        margin-top: 8px;
        margin-bottom: 2em;
        box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    }

 .ChartMain .col-6 {
     flex: 48%;
 }
.chartBtn {
    outline:none!important;
    width: 100%;
    color: #1d2348;
    background: #fff;
    font-size: 19px;
    letter-spacing: 1px;
    text-align: left;
    padding: 5px 0;
    padding-top: 12px;
    padding-left: 33px;
    border: 0;
}

.chartContent{
  height: 300px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chart-ExternalLink {
    padding: 0 30px;
}

    .chart-ExternalLink .chartBody {
        display: inline-block;
        margin-bottom: 2em;
    }

        .chart-ExternalLink .chartBody .chartTxt {
            width: 40%;
            float:left;
        }

            .chart-ExternalLink .chartBody .chartTxt li {
                margin-bottom: 10px;
            }

                .chart-ExternalLink .chartBody .chartTxt li i {
                    width: 14px;
                    margin-right: 10px;
                }
            .chart-ExternalLink .chartBody .chartTxt .square i {
                font-size: 10px;
                width: 10px;
                vertical-align: middle;
                padding-bottom: 2px;
                margin-right: 10px;
            }

                .chart-ExternalLink .chartBody .chartTxt li a {
                    color: #4a4a4a;
                }

                    .chart-ExternalLink .chartBody .chartTxt li a:hover {
                        color: #14723E !important;
                        transition: .2s
                    }

    .chart-ExternalLink .chartImg {
        width: 60%;
        float: left;
    }

        .chart-ExternalLink .chartImg img {
            border: 1px solid #969696;
        }

    .chart-ExternalLink .chartFooter p {
        font-size: 12px;
        color: #716f6f;
        letter-spacing: 1px;
    }
/*首頁圖表呈現區塊結束*/
/*------------------------------------------------------------------
  	[ABOUT]
------------------------------------------------------------------*/
.AbutMain {
    width: 950px;
    display: block;
    margin: 3em auto 5em;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 6px 10px #d2d2d2;
}
.AbutTxt{
  font-size: 21px;
}
.AbutCont{
  min-height:600px;
  padding: 20px;
  margin: auto;
  margin-bottom:20px;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}
.AbutCont p{
  font-size: 18px
}
.AbutLink{
  color: rgb(1, 162, 255);
}
/*------------------------------------------------------------------
  	[OWL]
------------------------------------------------------------------*/
.owl-table-outer {
  position: relative;
}

.owl-table-outer .owl-carousel.owl-table {
  float: right;
}

.owl-table-outer .owl-carousel.owl-table .item > .chartTitle:first-child {
  background-color: #61737b;
  color: #fff;
}

.owl-table-outer .item-fix {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
}

.owl-table-outer .item-fix .chartTitle {
  padding: 0 32px;
  background-color: #61737b;
  color: #fff;
}

.owl-table-outer .item-fix.item-fix-last {
  right: 0;
  left: unset;
}

.owl-table-outer .item-fix.item-fix-last .chartTitle:not(:first-child) {
  background-color: #fff;
  color: #000;
}

.owl-table-outer .chartTitle {
  border-radius: 0;
  border: none;
  border-right: 1px solid #bfbfbf;
}

.owl-table-outer .chartTitle:not(:last-child) {
  border-bottom: 1px solid #bfbfbf;
}

/*------------------------------------------------------------------
  	[TABLE-CHART]
------------------------------------------------------------------*/
/*法傳趨勢圖圖表下方統計表格開始*/
.table-chart {
  margin-bottom: 20px;
}

.table_div {
  position: relative;
  width: 100%;
  border: 1px solid #bfbfbf;
  overflow-x: auto;
  margin-bottom: 20px;
}

.table {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  margin-bottom: 0;
}

    .table tr th {
        background-color: #f9f9f9;
        color: #020202;
        font-weight: 300;
        letter-spacing: 1px;
    }

.table tr:first-child th, .table tr:first-child td {
  border-top: none;
}

.table td, .table th {
  text-align: center;
  padding: 0.25rem;
}

.table td:not(:last-child), .table th:not(:last-child) {
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

@media (min-width: 768px) {
  .table-fixed {
    table-layout: fixed;
  }
}

.table-stock {
  width: 200%;
  table-layout: fixed;
}

.table-stock thead th:last-child {
  width: 100px;
}

.table-stock tr th:first-child {
  position: absolute;
  left: 0;
  z-index: 1;
  border-right: 1px solid white;
}

/**/
.ta-right {
  text-align: right;
}

.bg-green {
  background-color: #19aa4e;
}

.section {
  margin: 1% 0;
}

/**/
.col-5-5 {
  width: 47%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-1-1 {
  width: 6%;
  padding-top: 5px;
  padding-left: 9px;
}

.btn-region {
  background-color: #737373;
  color: #fff;
  padding: 0 15px;
  border-radius: 50px;
  outline: none;
}

.btn-region.btn-on {
  background-color: #18ac4e;
}

.btn-region:hover {
  background-color: #0f672f;
  color: #fff;
  transition: 0.5s;
  -ms-transition: 0.5s;
  /* IE 9 */
  -moz-transition: 0.5s;
  /* Firefox */
  -webkit-transition: 0.5s;
  /* Safari 和 Chrome */
  -o-transition: 0.5s;
  /* Opera */
}
/*法傳圖表上方區域切換、顯示縣市、顯示病例數區塊開始*/
.row {
  margin-left: 0;
  margin-right: 0;
}

.row.row-map {
  margin-bottom: 10px;
}
/*法傳圖表上方區域切換、顯示縣市、顯示病例數區塊結束*/

.row.row-map .btn-region + .btn-region {
  margin-left: 0.4rem;
}
/*法傳趨勢圖圖表下方統計表格結束*/

/*法傳頁、急診傳染病上方頁籤開始*/
.map-title {
  width: 1300px;
  margin: auto;
}
/*法傳頁上方頁籤個別按鈕開始*/
    .map-title .btn-title {
        background: #9E9E9E;
        color: #fff;
        font-weight: 400;
        letter-spacing: 1px;
        padding: 5px 20px;
        margin: 5px 2px;
        margin-right: 5px;
    }
.btn-title.btn-on {
    background: #03bd56;
}
/*法傳頁上方頁籤個別按鈕結束*/
/*法傳頁、急診傳染病上方頁籤結束*/

/*法傳地理分布圖顯示縣市切換標題*/
.switch_title {
  width: 100px;
}

/*首頁每頁呈現按鈕、法傳地理分布圖顯示縣市切換按鈕開始*/
.switch {
    position: relative;
    width: 55px;
    color: #fff;
    vertical-align: middle;
    z-index: 0;
}

.switch label {
  margin-bottom: 0;
}

.switch_label {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    padding-left: 10px;
    display: block;
    border-radius: 30px;
    background-color: #6bbb0f;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.switch_label:last-of-type {
  right: 0;
  text-align: right;
  left: unset;
  padding-left: 0;
  padding-right: 5px;
}

.switch_indicator {
  width: 20px;
  height: 20px;
  border: 1px solid #999999;
  position: absolute;
  top: 0;
  left: -1em;
  z-index: 3;
  background: #fff;
  border-radius: 50%;
  -webkit-transition: background 300ms cubic-bezier(0.17, 0.67, 0.14, 1.03), -webkit-transform 600ms cubic-bezier(0.02, 0.94, 0.09, 0.97);
  transition: background 300ms cubic-bezier(0.17, 0.67, 0.14, 1.03), -webkit-transform 600ms cubic-bezier(0.02, 0.94, 0.09, 0.97);
  transition: transform 600ms cubic-bezier(0.02, 0.94, 0.09, 0.97), background 300ms cubic-bezier(0.17, 0.67, 0.14, 1.03);
  transition: transform 600ms cubic-bezier(0.02, 0.94, 0.09, 0.97), background 300ms cubic-bezier(0.17, 0.67, 0.14, 1.03), -webkit-transform 600ms cubic-bezier(0.02, 0.94, 0.09, 0.97);
  transform: translateX(1rem);
  -ms-transform: translateX(1rem);
  /* IE 9 */
  -moz-transform: translateX(1rem);
  /* Firefox */
  -webkit-transform: translateX(1rem);
  /* Safari 和 Chrome */
  -o-transform: translateX(1rem);
  /* Opera */
}

.switch input[type="radio"]:first-of-type:checked ~ .switch_label:last-of-type {
  transition: color 500ms;
  -ms-transition: color 500ms;
  /* IE 9 */
  -moz-transition: color 500ms;
  /* Firefox */
  -webkit-transition: color 500ms;
  /* Safari 和 Chrome */
  -o-transition: color 500ms;
  /* Opera */
}

.switch input[type="radio"]:first-of-type:checked ~ .switch_label:first-of-type {
  color: transparent;
  z-index: 0;
}

.switch input[type="radio"]:last-of-type:checked ~ .switch_label:first-of-type {
    background: #0f672f;
}

.switch input[type="radio"]:last-of-type:checked ~ .switch_label:last-of-type {
  color: transparent;
  z-index: 0;
}

.switch input[type="radio"]:last-of-type:checked ~ .switch_indicator {
  transform: translateX(3.5em);
  -ms-transform: translateX(3.5em);
  /* IE 9 */
  -moz-transform: translateX(3.5em);
  /* Firefox */
  -webkit-transform: translateX(3.5em);
  /* Safari 和 Chrome */
  -o-transform: translateX(3.5em);
  /* Opera */
}

.switch input[type="radio"]:not(:checked), .switch input[type="radio"]:checked {
  display: none;
}
/*首頁每頁呈現按鈕結束、法傳地理分布顯示縣市按鈕結束*/

/*英文版youtube RWD 開始*/
.youtube{
    width:100%;
    height:500px;
}

@media screen and (max-width:800px) {
    .youtube {
        height: 400px;
    }
}

@media screen and (max-width:600px) {
    .youtube {
        height: 300px;
    }
}

@media screen and (max-width:400px) {
    .youtube {
        height: 200px;
    }
}
/*英文版youtube RWD 結束*/

/*# sourceMappingURL=style.css.map */