﻿@charset "UTF-8";

/*隱藏貓頭鷹箭頭*/
#EmbedchartS .owl-controls {
    display: none;
}

* {
    touch-action: pan-y;
}

.Bgf1f1f1 {
    background: #f1f1f1 !important;
}
/*傳染病介紹Start*/
.covidDiv {
    width: 100%;
    overflow: hidden;
}

.covidText {
    width: 100%;
    color: #188612;
}

    .covidText p {
        color: #188612 !important;
    }

.covidEmbed {
    width: 100%;
}

.infectiousCon {
    overflow: hidden;
}

.infectiousText {
    width: 68%;
    float: left;
    margin-right: 2%;
}

.infectiousChart {
    width: 30%;
    height: 500px;
    float: left;
}
.InfectiousChartTitle p {
    color: #000 !important;
}

    .infectiousChart .embed-container {
        height: 100%
    }

.header-v5 {
    position: absolute !important;
}
.NidssChart {
    padding: 15px 15px 12px;
}
/*首頁武漢圖表Start*/
.d3item1, .d3item2 {
    display: flex;
    justify-content: center;
}

/*svg {
    font-size: 0.8em;
    shape-rendering: crispEdges;
}

    svg .legend {
        font-size: 0.6em;
    }

    svg .x.axis .tick {
        font-size: 0.6em;
    }

.axis path,
.axis line {
    fill: none;
    stroke: #000;
}

g.tooltip {
    opacity: 1 !important;
}

path.domain {
    stroke: none;
}

.y .tick line {
    stroke: #000;
}*/

svg {
    font-size: 0.5em;
    shape-rendering: crispEdges;
}

.axis path, .axis line {
    fill: none;
    stroke: #000;
}

path.domain {
    stroke: none;
}

.y .tick line {
    stroke: #000;
}

.Embedlink {
    position: absolute;
    width: 100%;
    height: 100%;
}

.LongWord {
    transform: scale(0.45, 0.5)translate(-33px, 0px);
    white-space: nowrap;
}

.JQchart .owl-controls .owl-nav .owl-prev, .JQchart .owl-controls .owl-nav .owl-next {
    background: #048800;
    width: 1em;
    height: 1em;
}

    .JQchart .owl-controls .owl-nav .owl-prev:hover, .JQchart .owl-controls .owl-nav .owl-next:hover {
        background: #14723e;
    }

.JQchart2 .owl-controls .owl-nav .owl-prev, .JQchart2 .owl-controls .owl-nav .owl-next {
    background: #048800;
    width: 1em;
    height: 1em;
}

    .JQchart2 .owl-controls .owl-nav .owl-prev:hover, .JQchart2 .owl-controls .owl-nav .owl-next:hover {
        background: #14723e;
    }

.Embed222 {
    float: right;
}

.GEN .TwTitle {
    font-size: 0.8em;
    margin-bottom: 0;
}

.GEN .TwEmbedTitle {
    height: 23px;
}

.GEN .Embed222 .Embed2:nth-child(1) .Embed2-2 {
    top: -22px;
}

.GEN .Embed222 .Embed2:nth-child(1) .EmbedTitle {
    transform: scale(1, 1);
}

.GEN .Embed222 .Embed2:nth-child(2) .EmbedTitle {
    transform: scale(1, 1);
}

.GEN .Embed222 .Embed2:nth-child(3) .EmbedTitle {
    transform: scale(1, 1);
}

.GEN .Embed222 .Embed2:nth-child(4) .EmbedTitle {
    transform: scale(1, 1);
}

.GEN .TrendEmbed1-1 {
    height: 204px;
}

.GEN .TrendEmbed1-2 {
    top: -5px;
}

.GEN .leaflet-left .leaflet-control {
    margin-left: 10px;
    transform: scale(0.7, 0.7)translate(-19px, 35px);
}

.GEN .Embed1 {
    height: 250px;
}

.GEN .EmbedCant {
    padding: 15px 15px 12px;
}
.NidssEmbed .Novel {
    font-size: 1.4rem;
    font-family: 'Noto Sans TC', sans-serif, 'Open Sans';
    height: 95px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
}

.NidssEmbed .Cbg {
    background: none;
}

.NidssEmbed a {
    color: #3d4245;
    font-weight: 500;
    font-family: 'Noto Sans TC', sans-serif, 'Open Sans';
}

    .NidssEmbed a:hover {
        color: #0b8116;
    }

.Cbg {
    background: #E8EAEB;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding: 0;
    font-weight: 600;
}

.EmbedBg {
    background: #B0BEC5;
}

.EmbedTitle {
    font-size: 0.7em;
    color: #c7c7c7;
    margin: 0;
    text-align: center;
}

.Novel {
    font-size: 1.7em;
    font-weight: 600;
    text-align: center;
    margin: 0;
    padding: 14px 0;
}

h5.Novel {
    line-height: 2.5rem;
    color: #000;
    font-weight: 600;
}

.EmbedCant {
    display: flex;
    padding: 15px 15px 10px;
}

.Embed1 {

/*    width: 408px;*/
width:100%;

    height: 240px;
    overflow: hidden;
}

.Embed1-1 {
    transform: scale(0.65, 0.65);
    width: 0;
    height: 0;
}

.Embed2 {
    width: 120px;
    height: 52px;
    margin-bottom: 10px;
    margin-left: 10px;
    overflow: hidden;
    background: #fff;
}

.Embed2-1 {
    position: relative;
    height: 52px;
    overflow: hidden;
}

.Embed2-2 {
    transform: scale(0.4, 0.334);
    width: 0;
    height: 0;
}

.Embed222 .Embed2:nth-child(4) .Embed2-1 {
    height: 28px;
    width: 40px;
    margin: auto;
}

.Embed222 .Embed2:nth-child(4) .Embed2-2 {
    position: absolute;
    top: -10px;
    left: -4px;
    transform: scale(0.28, 0.24);
}

.Embed222 .Embed2:nth-child(3) .Embed2-1 {
    height: 23px;
    width: 57px;
    margin: auto;
}

.Embed222 .Embed2:nth-child(3) .Embed2-2 {
    position: absolute;
    top: -15px;
    left: -5px;
    transform: scale(0.4, 0.4);
}

.Embed222 .Embed2:nth-child(2) .EmbedTitle {
    transform: scale(0.7, 0.7);
    white-space: nowrap;
}

.Embed222 .Embed2:nth-child(2) .Embed2-1 {
    height: 30px;
    width: 57px;
    margin: auto;
}

.Embed222 .Embed2:nth-child(2) .Embed2-2 {
    position: absolute;
    top: -15px;
    left: -5px;
    transform: scale(0.4, 0.4);
}

.Embed222 .Embed2:nth-child(1) .EmbedTitle {
    transform: scale(0.7, 0.7);
    white-space: nowrap;
}

.Embed222 .Embed2:nth-child(1) .Embed2-1 {
    height: 29px;
    width: 73px;
    margin: auto;
}

.Embed222 .Embed2:nth-child(1) .Embed2-2 {
    position: absolute;
    top: -15px;
    left: -5px;
    transform: scale(0.5, 0.5);
}



.TaiwanEmbed {
    display: flex;
    align-items: center;
    padding: 5px 25px;
}

.TwTitle {
    font-size: 1em;
    line-height: 168% !important;
    margin-right: 5px;
    line-height: initial;
    white-space: nowrap;
    margin-bottom: 0;
    font-weight: 600;
}

.TWtotalTwEmbed {
    display: flex;
    align-items: center;
    width:100%;
}

.TwEmbedTitle {
    font-size: 0.7em;
    color: #c7c7c7;
    margin: 0;
    text-align: center;
}

.TwEmbed1 {
    width: 80px;
    height: 51px;
    margin-left: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
}

.TwEmbed1-1 {
    position: relative;
    height: 35px;
    overflow: hidden;
}

.TwEmbed1-2 {
    position: absolute;
    transform: scale(0.25, 0.25)translate(60px, 0px);
    top: -10px;
    width: 0;
    height: 0;
}

.TaiwanEmbed .TwEmbed1:nth-of-type(1) .TwEmbed1-2 {
    transform: scale(0.3, 0.3)translate(35px, 0px);
}

.TaiwanEmbed .TwEmbed1:nth-of-type(2) .TwEmbed1-2 {
    transform: scale(0.3, 0.3)translate(35px, 0px);
}



.TrendEmbed {
    padding: 6px 25px;
}

.TrendEmbed1 {
    background: #fff;
}

    .TrendEmbed1 .TwEmbedTitle {
        text-align: left;
        margin-left: 10px;
    }

.TrendEmbed1-1 {
    position: relative;
    overflow: hidden;
    height: 181px;
}

.TrendEmbed1-2 {
    position: absolute;
    transform: scale(0.68, 0.57)translate(78px, 0px);
    top: -25px;
    width: 0;
    height: 0;
}

.info {
    font-size: 0.7rem;
    padding: 6px 8px;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

    .info h4 {
        margin: 0;
        color: #000;
        font-size: 0.9em;
        line-height: 1;
        font-weight: 600;
    }

.leaflet-container {
    background-color: #777777
}

.legend {
    color: #000;
}

    .legend i {
        width: 16px;
        height: 16px;
        float: left;
        margin-right: 8px;
        opacity: 0.7;
    }

.outbreak_info_title {
    width: 160px;
    margin-left: 10px;
}

    .outbreak_info_title h5 {
        font-size: 0.6250em;
    }

.outbreak_info_block {
    border: 1px solid;
    border-radius: 10px;
}

.outbreak_info_class {
    text-align: center;
    font-size: 0.6250em;
    color: #000;
    font-weight: 600;
}

.outbreak_info_number {
    text-align: center;
    font-size: 0.9em;
    font-weight:600;
    position:relative;
    top:2px;
}

@media screen and (max-width: 990px) {
    .covidDiv {
        display: inline-block;
    }

    .covidText {
        width: 100%;
        float: none;
    }

    .covidEmbed {
        width: 100%;
        float: none;
        transform: scale(0.7,0.7);
    }
}

@media screen and (max-width: 768px) {
    .TrendEmbed {
        padding: 5px 25px;
    }

    .TrendEmbed1-1 {
        width: 100%;
        height: 183px;
    }

    .TrendEmbed1-2 {
        top: -25px;
        margin-left: 6em;
    }

    .Embed1 {
        width: 95%;
        height: 290px;
        margin: auto;
    }

    .Embed1-1 {
        transform: scale(0.93, 0.7);
    }

    .Embed2 {
        height: 55px;
        margin-bottom: 13px;
    }

        .Embed2:nth-child(4) {
            margin-bottom: 0;
        }

    .EmbedCant {
        display: initial;
    }

    .Embed222 {
        float: none;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .TwEmbed1 {
        width: 80px;
        height: 51px;
    }

    .outbreak_info_class {
        white-space: nowrap;
    }

    .outbreak_info_number {
/*        font-size: 1.2em;*/
    }
    /*傳染病介紹Start*/
    .infectiousText {
        width: 55%;
    }

    .infectiousChart {
        width: 43%;
    }
}

@media screen and (max-width: 480px) {
    .NidssEmbed .Novel {
        font-size: 1rem;
        line-height: 1.5;
        height: 58px;
    }
    .covidEmbed {
        transform: scale(1,1);
    }

    .TwEmbedTitle.LongWord {
        transform: scale(0.4, 0.4)translate(5px, -12px) !important;
        line-height: 1;
        white-space: initial;
    }

    .TrendEmbed1-1 {
        width: 100%;
        height: 135px;
    }

    .TrendEmbed1-2 {
        top: -17px;
        margin-left: 0;
    }

    .TwEmbedTitle {
        transform: scale(0.75, 0.75)translate(0px, -4px);
        height: 16px;
    }

    .TrendEmbed1 .TwEmbedTitle {
        transform: scale(0.75, 0.75)translate(-53px, -4px);
    }

    .TaiwanEmbed {
        width: 100%;
    }

    .GEN .TwEmbed1 {
/*        width: 70px;*/
    }

    .GEN .TwTitle {
        font-size: 0.75em;
        white-space: normal;
    }

    .TwTitle {
        white-space: normal;
    }

    .TaiwanEmbed, .TrendEmbed {
        padding: 5px 5px;
    }

    .TaiwanEmbed {
        padding-bottom: 0;
    }

    .TWtotalTwEmbed {

        /*display: block;*/

    }

    .TwTitle {
        font-size: 0.75em;
        white-space: nowrap;
    }

    .TwEmbed1 {
        width: 19%;
        height: 40px;
        float: left;
        margin-bottom: 5px;
    }

    .outbreak_info_number {
        top: -1px;
    }

    .TwEmbed1 {
        margin-left: 1px;
    }

    .TwEmbed1-2 {
        top: -8px;
    }

    .TrendEmbed1-2 {
        transform: scale(0.5, 0.42);
    }

    .TaiwanEmbed .TwEmbed1:nth-of-type(1) .TwEmbed1-2 {
        transform: scale(0.23, 0.23)translate(15px, 0px);
    }

    .TaiwanEmbed .TwEmbed1:nth-of-type(2) .TwEmbed1-2 {
        transform: scale(0.2, 0.2)translate(35px, 0px);
    }

    .TaiwanEmbed .TwEmbed1:nth-of-type(3) .TwEmbed1-2 {
        transform: scale(0.23, 0.23)translate(20px, 0px);
    }

    .TaiwanEmbed .TwEmbed1:nth-of-type(4) .TwEmbed1-2 {
        transform: scale(0.2, 0.2)translate(43px, 0px);
    }

    .TaiwanEmbed .TwEmbed1:nth-of-type(5) .TwEmbed1-2 {
        transform: scale(0.25, 0.25)translate(8px, 0px);
        top: -10px;
    }

    .EmbedCant {
        padding: 10px;
    }

    .Embed2 {
        width: 80px;
        height: 35px;
        margin-bottom: 5px;
        margin-left: 5px;
    }

    .Novel {
        font-size: 0.9em;
        padding: 0;
    }

    .Embed1 {
        width: 95%;
        height: 200px;
        margin: auto;
    }

    .Embed1-1 {
        transform: scale(0.39, 0.42);
    }

    .EmbedTitle {
        height: 16px;
    }

    .leaflet-right .leaflet-control {
        transform: scale(0.7, 0.7)translate(40px, -9px);
    }

    .leaflet-control-attribution a {
        display: none;
    }

    .leaflet-left .leaflet-control {
        transform: scale(0.7, 0.7)translate(-19px, 35px);
    }

    .outbreak_info_class {
        white-space: nowrap;
        transform: scale(0.75, 0.75);
    }

        .outbreak_info_class.outbreak_info_custom {
            transform: scale(0.7, 0.7)translate(-7px, 0px);
        }

    .outbreak_info_number {
        font-size: 0.6rem;
    }
    /*中文*/
    .Embed222 .Embed2:nth-child(1) .EmbedTitle {
        transform: scale(0.7, 0.7)translate(0px, -4px);
        white-space: nowrap;
    }

    .Embed222 .Embed2:nth-child(1) .Embed2-1 {
        height: 40px;
        width: auto;
    }

    .Embed222 .Embed2:nth-child(1) .Embed2-2 {
        top: -13px;
        left: auto;
        transform: scale(0.33, 0.33)translate(41px, 0px);
    }

    .Embed222 .Embed2:nth-child(2) .EmbedTitle {
        transform: scale(0.7, 0.7)translate(0px, -4px);
        white-space: nowrap;
    }

    .Embed222 .Embed2:nth-child(2) .Embed2-1 {
        height: 30px;
        width: auto;
    }

    .Embed222 .Embed2:nth-child(2) .Embed2-2 {
        top: -13px;
        left: auto;
        transform: scale(0.3, 0.3)translate(50px, 0px);
    }

    .Embed222 .Embed2:nth-child(3) .EmbedTitle {
        transform: scale(0.7, 0.7)translate(0px, -4px);
        white-space: nowrap;
    }

    .Embed222 .Embed2:nth-child(3) .Embed2-1 {
        height: 30px;
        width: auto;
    }

    .Embed222 .Embed2:nth-child(3) .Embed2-2 {
        top: -15px;
        left: auto;
        transform: scale(0.32, 0.33)translate(55px, 0px);
    }

    .Embed222 .Embed2:nth-child(4) .EmbedTitle {
        transform: scale(0.7, 0.7)translate(0px, -4px);
        white-space: nowrap;
    }

    .Embed222 .Embed2:nth-child(4) .Embed2-1 {
        height: 30px;
        width: auto;
    }

    .Embed222 .Embed2:nth-child(4) .Embed2-2 {
        top: -7px;
        left: auto;
        transform: scale(0.16, 0.16)translate(170px, 0px);
    }
    /*En*/
    .GEN .TrendEmbed1-1 {
        height: 155px;
    }

    .GEN .TrendEmbed1-2 {
        top: 2px;
        margin-left: 0;
    }

    .GEN .TaiwanEmbed .TwEmbed1:nth-of-type(1) .TwEmbed1-2 {
        transform: scale(0.2, 0.2)translate(65px, 0px);
    }

    .GEN .TaiwanEmbed .TwEmbed1:nth-of-type(2) .TwEmbed1-2 {
        transform: scale(0.2, 0.2)translate(65px, 0px);
    }

    .GEN .TaiwanEmbed .TwEmbed1:nth-of-type(3) .TwEmbed1-2 {
        transform: scale(0.23, 0.23)translate(55px, 0px);
        top: -10px;
    }

    .GEN .TaiwanEmbed .TwEmbed1:nth-of-type(4) .TwEmbed1-2 {
        transform: scale(0.2, 0.2)translate(68px, 0px);
    }

    .GEN .TaiwanEmbed .TwEmbed1:nth-of-type(5) .TwEmbed1-2 {
        transform: scale(0.23, 0.23)translate(50px, 0px);
        top: -10px;
    }

    .GEN .TwEmbedTitle {
        height: 19px;
        transform: scale(0.75, 0.75)translate(0px, -8px);
    }

    .GEN .Embed222 .Embed2:nth-child(1) .EmbedTitle {
        transform: scale(0.7, 0.7)translate(0px, -4px);
        white-space: nowrap;
    }

    .GEN .Embed222 .Embed2:nth-child(1) .Embed2-1 {
        height: 40px;
        width: auto;
    }

    .GEN .Embed222 .Embed2:nth-child(1) .Embed2-2 {
        top: -13px;
        left: auto;
        transform: scale(0.33, 0.33)translate(41px, 0px);
    }

    .GEN .Embed222 .Embed2:nth-child(2) .EmbedTitle {
        transform: scale(0.7, 0.7)translate(0px, -4px);
        white-space: nowrap;
    }

    .GEN .Embed222 .Embed2:nth-child(2) .Embed2-1 {
        height: 30px;
        width: auto;
    }

    .GEN .Embed222 .Embed2:nth-child(2) .Embed2-2 {
        top: -13px;
        left: auto;
        transform: scale(0.3, 0.3)translate(50px, 0px);
    }

    .GEN .Embed222 .Embed2:nth-child(3) .EmbedTitle {
        transform: scale(0.7, 0.7)translate(0px, -4px);
        white-space: nowrap;
    }

    .GEN .Embed222 .Embed2:nth-child(3) .Embed2-1 {
        height: 30px;
        width: auto;
    }

    .GEN .Embed222 .Embed2:nth-child(3) .Embed2-2 {
        top: -15px;
        left: auto;
        transform: scale(0.32, 0.33)translate(55px, 0px);
    }

    .GEN .Embed222 .Embed2:nth-child(4) .EmbedTitle {
        transform: scale(0.7, 0.7)translate(0px, -4px);
        white-space: nowrap;
    }

    .GEN .Embed222 .Embed2:nth-child(4) .Embed2-1 {
        height: 30px;
        width: auto;
    }

    .GEN .Embed222 .Embed2:nth-child(4) .Embed2-2 {
        top: -7px;
        left: auto;
        transform: scale(0.16, 0.16)translate(170px, 0px);
    }
    /*傳染病介紹Start*/
    .infectiousText {
        width: 100%;
    }

    .infectiousChart {
        width: 100%;
    }
}
