﻿.clearfix:before, .clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    overflow: hidden
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}
                                                                                           
.txtRight {
    text-align: right
}

main {
    position: relative
}

    main > .brick {
        position: absolute;
        left: .5rem;
        top: .5rem
    }

section.th_taiwan {
    padding-top: 0
}

    section.th_taiwan .tw_map > header h2, section.th_area .tw_map > header h2 {
        font-size: 1.375rem;
        line-height: 30px;
        vertical-align: middle;
        display: inline-block;
        font-weight: 700
    }

.th_chart {
    background-color: #d6f2fe;
    padding: 70px 0
}

.myNewsAlert {
    width: 100%;
    border: 1px solid #ccc;
    background-color: #f0f5fa
}

    .myNewsAlert header.title {
        padding: .75rem;
        background-color: #0479cd;
        color: #FFF;
        width: 200px;
        float: left
    }

        .myNewsAlert header.title img {
            display: inline-block;
            vertical-align: text-bottom;
            padding: 0 1rem
        }

        .myNewsAlert header.title h3 {
            font-size: 1.125rem;
            line-height: 1.125rem;
            vertical-align: initial;
            color: #FFF
        }

    .myNewsAlert a {
        float: left;
        display: block;
        padding: 1rem 2rem;
        position: relative;
        font-size: 1rem
    }

        .myNewsAlert a p {
            font-size: 1rem;
            height: 1.125rem;
            line-height: 1.125rem
        }

        .myNewsAlert a:hover p {
            font-weight: 700
        }

        .myNewsAlert a i {
            position: absolute;
            top: 8px;
            right: 2px;
            color: #6cb9f1
        }

        .myNewsAlert a.airAlert i {
            color: #fd5a5a
        }

        .myNewsAlert a i:before {
            font-size: 1.5rem;
            color: #6cb9f1
        }

        .myNewsAlert a.airAlert i:before {
            color: #fd5a5a
        }

        .myNewsAlert a:hover i {
            color: #52a6e4;
            transform: translate(2px,-2px);
            -moz-transform: translate(2px,-2px);
            -webkit-transform: translate(2px,-2px)
        }

        .myNewsAlert a.airAlert:hover i {
            color: #eb4141
        }

        .myNewsAlert a:hover i:before {
            font-size: 1.625rem;
        }

        .myNewsAlert a .announcement {
            background: #1579c1;
        }

        .myNewsAlert a .remind {
            background: #d73c3c;
        }

        .myNewsAlert a span {
            position: absolute;
            top: 8px;
            right: 2px;
            color: #FFF;
            width: 24px;
            text-align: center;
            font-weight: 700
        }

        .myNewsAlert a:hover span {
            width: 26px;
            transform: translate(2px,-2px);
            -moz-transform: translate(2px,-2px);
            -webkit-transform: translate(2px,-2px)
        }

@media (max-width:720px) {
    .myNewsAlert header.title {
        width: 80px
    }

        .myNewsAlert header.title h3 {
            display: none
        }

    .myNewsAlert a {
        padding-left: .5rem
    }
}

@media (max-width:420px) {
    .myNewsAlert header.title {
        width: 100%
    }

        .myNewsAlert header.title h3 {
            display: inline-block
        }

    .myNewsAlert a {
        padding: 1rem .5rem;
        width: 32%
    }
}

.newsArea {
    padding: 1rem;
    border: .5rem solid #ddf5fe;
    position: relative;
    overflow: visible;
    height: 100%
}

section.th_taiwan > div > div.newsArea {
    overflow: visible
}

.newsArea:before, .newsArea:after {
    content: "";
    display: block;
    height: 0;
    overflow: hidden
}

.newsArea:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}

.newsArea .news_close {
    position: absolute;
    right: -16px;
    top: -16px;
    width: 36px;
    height: 36px;
    background-color: #17b3cf;
    border-radius: 50%;
    z-index: 900;
    text-align: center;
    padding: 6px;
    cursor: pointer;
    box-shadow: 1px 1px 3px rgba(0,0,0,.25)
}

    .newsArea .news_close img {
        display: inline-block;
        vertical-align: middle;
        width: 24px;
        height: 24px
    }

    .newsArea .news_close:hover {
        background-color: #19879a
    }

.newsArea .news_pic {
    float: left;
    width: 300px;
    max-height: 200px;
    overflow: hidden;
    margin-right: 20px;
    text-align: center
}

    .newsArea .news_pic img {
        max-width: 100%;
        max-height: 200px;
        display: inline-block;
        text-align: center;
        margin: 0 auto
    }

.newsArea .news_cont {
    float: left
}

.newsArea .news_pic + .news_cont {
    height: 100%;
    width: auto;
    max-width: calc(100% - 320px);
    padding-bottom: 2rem
}

.newsArea .news_cont header {
    width: 100%;
    background-color: #457aa1;
    padding: 10px 0 10px 13px
}

    .newsArea .news_cont header span {
        display: inline-block;
        vertical-align: middle
    }

        .newsArea .news_cont header span img {
            width: 30px
        }

    .newsArea .news_cont header h3 {
        display: inline-block;
        vertical-align: middle;
        font-size: 1.25rem;
        line-height: 30px;
        font-weight: 700;
        color: #FFF
    }

.newsArea .news_cont .news_time {
    color: #737373;
    line-height: 2rem;
    margin-bottom: .5rem
}

.newsArea .news_cont p {
    font-size: 1rem;
    line-height: 1.5rem
}

    .newsArea .news_cont p + p {
        margin-top: .5rem
    }

.newsArea .more {
    position: absolute;
    right: 1rem;
    bottom: .5rem;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border: 1px solid #008299;
    color: #008299;
    padding: 4px 8px
}

    .newsArea .more:hover {
        background-color: #008299;
        color: #FFF
    }

@media (max-width:960px) {
    .newsArea .news_pic {
        width: 100%;
        max-height: 400px
    }

        .newsArea .news_pic img {
            max-height: 400px
        }

    .newsArea .news_cont {
        width: 100%
    }

    .newsArea .news_pic + .news_cont {
        max-width: 100%;
        margin-top: 1rem;
        margin-left: 0
    }
}

.news_sidebox {
    display: block;
    display: none;
    position: fixed;
    background-color: #ddedff;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    left: 0;
    top: 100px;
    padding: .5rem .5rem 4rem 1rem;
    width: 3rem;
    color: #42618f;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5rem;
    box-shadow: 1px 1px 3px rgba(0,0,0,.25);
    background-image: url(../images/Pic/sidebox.png);
    background-position: left bottom+4px;
    background-repeat: no-repeat;
    background-size: 3.75rem auto;
    z-index: 920;
    cursor: pointer
}

    .news_sidebox:hover {
        color: #fff;
        background-color: #1979be;
    }

section.th_taiwan > div > div.newsPopup {
    display: block;
    position: fixed;
    top: 100px;
    right: 0;
    width: 800px;
    z-index: 1100;
    background-image: url(../images/Pic/newsPopupSide.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    animation: animatePopup ease-in-out 2s both;
    -moz-animation: animatePopup ease-in-out 2s both;
    -webkit-animation: animatePopup ease-in-out 2s both
}

.newsPopup .news_pic {
    display: none
}

.newsPopup .news_cont {
    background-image: url(../images/Pic/newsPopup.png);
    background-size: 750px auto;
    background-repeat: no-repeat;
    width: 750px;
    height: 370px;
    padding: 70px;
    margin-bottom: 250px;
    opacity: 0;
    animation: animateShow .2s linear 2s both;
    -moz-animation: animateShow .2s linear 2s both;
    -webkit-animation: animateShow .2s linear 2s both
}

    .newsPopup .news_cont header {
        padding: 12px 0 12px 50px
    }

        .newsPopup .news_cont header span {
            display: none
        }

        .newsPopup .news_cont header h3 {
            display: inline-block;
            vertical-align: middle;
            font-size: 1.75rem;
            line-height: 2rem;
            font-weight: 700;
            color: #317baf;
        }

    .newsPopup .news_cont p {
        padding: .125rem;
        font-size: 1.125rem;
        line-height: 2rem;
        color: #333
    }

        .newsPopup .news_cont p.news_time {
            color: #757575;
            line-height: 1.5rem
        }

.newsPopup a.more {
    position: absolute;
    bottom: 320px;
    right: 200px;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border: 1px solid #14b4d0;
    color: #008299;
    padding: 4px 8px;
    opacity: 0;
    animation: animateShow .2s linear 2s both;
    -moz-animation: animateShow .2s linear 2s both;
    -webkit-animation: animateShow .2s linear 2s both
}

    .newsPopup a.more:hover {
        background-color: #008299;
        color: #FFF
    }

.newsPopup .news_close {
    position: absolute;
    right: 200px;
    top: 16px;
    width: 36px;
    height: 36px;
    background-color: #52a6e4;
    border-radius: 50%;
    z-index: 1000;
    text-align: center;
    padding: 6px;
    cursor: pointer;
    box-shadow: 1px 1px 3px rgba(0,0,0,.25);
    opacity: 0;
    animation: animateShow .2s linear 2s both;
    -moz-animation: animateShow .2s linear 2s both;
    -webkit-animation: animateShow .2s linear 2s both
}

    .newsPopup .news_close img {
        display: inline-block;
        vertical-align: middle;
        width: 24px;
        height: 24px
    }

    .newsPopup .news_close:hover {
        background-color: #3d8cc6
    }

@keyframes animateShow {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-moz-keyframes animateShow {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-webkit-keyframes animateShow {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes animatePopup {
    from {
        right: -220px
    }

    to {
        right: 0
    }
}

@-moz-keyframes animatePopup {
    from {
        right: -220px
    }

    to {
        right: 0
    }
}

@-webkit-keyframes animatePopup {
    from {
        right: -220px
    }

    to {
        right: 0
    }
}

@media (max-width:900px) {
    section.th_taiwan > div > div.newsPopup {
        top: 50px;
        right: 0;
        width: 100vw
    }

    .newsPopup .news_cont {
        width: 100%;
        height: 450px;
        background-size: 100% 90%
    }

    .newsPopup .news_close {
        top: 24px;
        right: 120px
    }

    .newsPopup a.more {
        bottom: 350px;
        right: 200px
    }
}

@media (max-width:600px) {
    section.th_taiwan > div > div.newsPopup {
        top: 0
    }

    .newsPopup .news_cont {
        margin-bottom: 200px
    }

        .newsPopup .news_cont header {
            padding: .5rem 1rem
        }

    .newsPopup a.more {
        bottom: 280px
    }
}

@media (max-width:425px) {
    .newsPopup .news_close {
        top: 16px;
        right: 100px
    }

    .newsPopup .news_cont {
        width: 130%;
        height: 500px;
        padding: 3.5rem 20%;
        margin-left: -15%
    }

        .newsPopup .news_cont header {
            padding: 1rem
        }
}

@media (max-width:400px) {
    .newsPopup .news_cont {
        width: 130%;
        height: 500px;
        padding: 3.5rem 20%;
        margin-left: -15%
    }

    .newsPopup a.more {
        bottom: 300px
    }
}

@media (max-width:325px) {
    section.th_taiwan > div > div.newsPopup {
        background-size: auto 200px
    }

    .newsPopup .news_cont {
        width: 150%;
        margin-left: -25%;
        height: 450px;
        padding: 2.5rem 30%;
        margin-bottom: 110px
    }

    .newsPopup a.more {
        bottom: 190px;
        right: 120px
    }

    .newsPopup .news_close {
        right: 32px
    }
}

.legend_wind {
    display: none;
    height: 30px
}

    .legend_wind .legend_title p {
        font-weight: 700
    }

li.legend_wind span {
    transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    text-align: right
}

    li.legend_wind span img {
        height: 50px;
        width: 24px
    }

.point.clp_xmoc .clp_con li.legend_wind p {
    margin-left: 10px
}

.legend_AQI .more {
    padding: 8px 0
}

.point.clp_xmoc .clp_con .legend_AQI .more a {
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border: 1px solid #14b4d0;
    color: #017589;
    padding: 4px 8px
}

    .point.clp_xmoc .clp_con .legend_AQI .more a:hover {
        background-color: #008299;
        color: #FFF
    }

.legend_rain {
    display: none;
    height: 30px
}

li.legend_rain span img {
    height: 24px;
    width: 24px
}

.point.clp_xmoc .clp_con li.legend_rain p {
    margin-left: 10px
}

.imgblock header h3 span.more {
    float: right;
    border: 1px solid #FFF;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    padding: 1px 8px;
    vertical-align: middle;
    margin: 3px 0;
    cursor: pointer
}

    .imgblock header h3 span.more a {
        color: #FFF
    }

    .imgblock header h3 span.more:hover {
        background-color: #FFF
    }

        .imgblock header h3 span.more:hover a {
            color: #6cb8ef
        }

section.th_area aside .info h4 {
    font-size: 1.75rem;
}

section.th_taiwan .ifm_title span.more {
    margin: 0 1rem;
    border: 1px solid #FFF;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    color: #FFF;
    padding: 1px 8px
}

.ifm_title span.more a {
    color: #FFF
}

section.th_taiwan .ifm_title:hover span.more {
    background-color: #FFF;
    color: #52a6e4
}

.ifm_title:hover span.more a {
    color: #52a6e4
}

.newAlert {
    background-image: url(../images/newAlert.png);
    background-repeat: no-repeat;
    background-position: right center
}

@media (max-width:1024px) {
    section.th_taiwan .ifm_air > div table {
        border-bottom: none
    }
}

section.th_area .md_ardatacont div.highcharts-container div {
    margin-top: 0
}

.highcharts-legend-item-hidden span sub {
    color: #707070;
}

.highcharts-legend-item-hidden:hover span sub {
    color: #000
}

section.th_taiwan .myCarousel {
    background-color: transparent;
    border: none;
    width: 100%;
    margin: 1rem 0;
    position: relative;
    padding: 0
}

    section.th_taiwan .myCarousel .myCarousel-inner {
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
        position: relative
    }

        section.th_taiwan .myCarousel .myCarousel-inner .carousel-box {
            text-align: center;
            width: 100%;
            margin: 0 auto;
            overflow: hidden;
            margin-bottom: 15px;
            position: relative
        }

            section.th_taiwan .myCarousel .myCarousel-inner .carousel-box p {
                margin-bottom: .625rem;
                font-size: 1rem;
                font-weight: 700;
                position: absolute;
                width: 40%;
                padding: 8px 0
            }

            section.th_taiwan .myCarousel .myCarousel-inner .carousel-box svg {
                height: 300px
            }

section.th_taiwan .ifm_ozne img {
    height: 345px;
    width: auto;
    margin: 0 auto
}

.myCarousel-inner .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -40px
}

    .myCarousel-inner .owl-nav button.owl-prev, .myCarousel-inner .owl-nav button.owl-next {
        border-radius: 50%;
        height: 40px;
        width: 40px;
        position: absolute
    }

    .myCarousel-inner .owl-nav button.owl-prev {
        left: 0
    }

    .myCarousel-inner .owl-nav button.owl-next {
        right: 0
    }

    .myCarousel-inner .owl-nav [class*=owl-]:hover {
        background-color: #16b4d0
    }

        .myCarousel-inner .owl-nav [class*=owl-]:hover i::before {
            color: #fff
        }

    .myCarousel-inner .owl-nav button i {
        width: 20px
    }

        .myCarousel-inner .owl-nav button i::before {
            color: #ddd;
            font-size: 1.25rem
        }

.myCarousel-inner .owl-dots .owl-dot.active span, .myCarousel-inner .owl-dots .owl-dot:hover span {
    background-color: #16b4d0
}

.pa {
    stroke: #555
}

@media (max-width:1024px) {
    section.th_taiwan .myCarousel > div {
        max-width: 100%
    }
}

.pa.green {
    fill: #009865
}

.pa.yellow {
    fill: #fffb26
}

.pa.orange {
    fill: #ff9734
}

.pa.red {
    fill: #ca0034
}

.pa.purple {
    fill: #670099
}

.pa.brown {
    fill: #7e0123
}

section.th_taiwan .md_ifm figcaption.weather > p {
    width: 100%
}

section.th_taiwan .md_ifm figcaption.weather .hashtagBtn a {
    display: inline-block;
    border: 1px solid #14b4d0;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    color: #008299;
    padding: 4px 12px;
    margin: 2px
}

    section.th_taiwan .md_ifm figcaption.weather .hashtagBtn a:hover {
        background-color: #008299;
        color: #FFF
    }

.header_content .mainmenu > li > b.link a {
    color: #236ca0;
    font-size: 1rem;
}

.map_time {
    position: relative
}

    .map_time i.fas {
        position: absolute;
        top: 0;
        right: 23%
    }

        .map_time i.fas:before {
            font-size: 1.75em
        }

span.time {
    font-size: 2em
}

.puase i.fas {
    position: absolute;
    top: 18%;
    right: 30%;
    color: #fff;
    font-size: .5rem
}

    .puase i.fas:before {
        color: #FFF
    }

@media (max-width:1280px) {
    .map_time i.fas {
        position: absolute;
        top: 0;
        right: 20%
    }
}

@media (max-width:1024px) {
    .tw_map .puase i.fas {
        top: 11%
    }
}

@media (max-width:625px) {
    span.time {
        font-size: 1.5em;
        font-weight: 700
    }

    .map_time i.fas {
        position: absolute;
        top: 0;
        right: 15%
    }
}

@media (max-width:480px) {
    span.time {
        font-size: 1.25em;
        font-weight: 700
    }

    .map_time i.fas {
        position: absolute;
        top: 0;
        right: 13%
    }
}

@media (max-width:400px) {
    .map_time i.fas {
        position: absolute;
        top: 0;
        right: 9%
    }
}

@media (max-width:360px) {
    .map_time i.fas {
        position: absolute;
        top: 0;
        right: 3%
    }
}

section.th_taiwan .mt_button li.disable, section.th_area .mt_button li.disable {
    border: 1px solid #CCC
}

    section.th_taiwan .mt_button li.disable a, section.th_area .mt_button li.disable a {
        cursor: initial
    }

        section.th_taiwan .mt_button li.disable a > span, section.th_area .mt_button li.disable a > span {
            background-color: #CCC
        }

    section.th_taiwan .mt_button li.disable:hover, section.th_area .mt_button li.disable:hover {
        background-color: transparent
    }

        section.th_taiwan .mt_button li.disable:hover p, section.th_area .mt_button li.disable:hover p {
            color: #000
        }

.tw_map header {
    position: relative
}

.MyCalc {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 30px;
    text-align: center;
    background-color: #f0f0f0;
    cursor: pointer;
    margin: 0 .5rem
}

    .MyCalc:hover {
        background-color: #16b4d0
    }

        .MyCalc:hover i:before {
            color: #FFF
        }

.MyCalcCont {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 280px;
    background-color: rgba(0,0,0,.8);
    box-shadow: 1px 1px 3px rgba(0,0,0,.3);
    z-index: 999;
    border: 1px solid #CCC;
    padding: 1rem;
    border-radius: 5px
}

    .MyCalcCont .MyCalcTable {
        width: 100%
    }

        .MyCalcCont .MyCalcTable caption {
            color: #FFF;
            font-weight: 700;
            font-size: 1.125rem;
            padding-bottom: .5rem
        }

            .MyCalcCont .MyCalcTable caption span {
                float: right;
                cursor: pointer
            }

        .MyCalcCont .MyCalcTable thead th {
            background-color: #c4e4fd;
            color: #333
        }

        .MyCalcCont .MyCalcTable tbody td {
            background-color: #f0f5f9
        }

        .MyCalcCont .MyCalcTable thead th, .MyCalcCont .MyCalcTable tbody td {
            padding: .25rem 0;
            border: 1px solid #FFF;
            font-size: 1rem;
            text-align: center
        }

            .MyCalcCont .MyCalcTable tbody td img {
                margin: 0 auto
            }

.rwdvideo {
    position: relative;
    cursor: pointer
}

    .rwdvideo:hover .btnPlay {
        background-color: rgba(0,0,0,.25)
    }

    .rwdvideo .btnPlay {
        width: 100%;
        height: 100%;
        background-image: url(../images/btnPlay.png);
        background-repeat: no-repeat;
        background-position: center center;
        position: absolute;
        left: 0;
        top: 0
    }

    .rwdvideo img {
        width: 100%;
        margin-top: -50px
    }

section.th_area aside header .form .select select, .img .select select {
    background: url(../images/vicon_gray.svg) right center no-repeat #FFF;
    appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none
}

    section.th_area aside header .form .select select::-ms-expand, .select select::-ms-expand {
        display: none
    }

section.th_navigation .sby_list {
    text-align: center
}

    section.th_navigation .sby_list li {
        float: none;
        display: inline-block
    }

svg#Taiwan circle:hover, svg#Taiwan rect:hover, svg#Taiwan polygon:hover, svg#Taiwan path:hover, svg.animate circle:hover, svg.animate rect:hover, svg.animate polygon:hover, svg.animate path:hover {
    cursor: pointer
}

svg#Taiwan g path:hover, svg.animate g path:hover {
    cursor: initial
}

.main_w aside ul.allif + .more {
    display: block;
    margin: 1rem 0 .5rem
}

    .main_w aside ul.allif + .more a {
        border-radius: 50px;
        -moz-border-radius: 50px;
        -webkit-border-radius: 50px;
        border: 1px solid #008299;
        color: #008299;
        padding: 4px 8px
    }

        .main_w aside ul.allif + .more a:hover {
            background-color: #008299;
            color: #FFF
        }

.island {
    position: absolute;
    left: 150px;
    top: 100px
}

    .island p {
        margin-top: 90px;
        margin-right: 7px
    }

.matzu, .kinmen, .penghu {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    margin-bottom: 5px;
    background: #CCC
}

.matzumark, .kinmenmark, .penghumark {
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 120px auto;
    border: 1px solid #ddd;
    border-radius: 15px;
    text-align: right;
    width: 120px;
    height: 120px;
    position: absolute;
    z-index: 2;
    left: 0
}

.matzumark {
    background-image: url(../images/ConcentrationMap/matzu.png)
}

.kinmenmark {
    background-image: url(../images/ConcentrationMap/kinmen.png)
}

.penghumark {
    background-image: url(../images/ConcentrationMap/penghu.png)
}

.ConcentrationSide {
    text-align: left;
    position: absolute;
    left: 30px;
    top: 30px
}

.ConcentrationBar, .ConcentrationBar.color2 {
    width: 7px;
    height: 240px;
    margin-right: 10px
}

.ConcentrationBar {
    background: linear-gradient(to top,#096,#ffde33,#f93,#c03,#609,#7e0023,#2d020e)
}

    .ConcentrationBar.color2 {
        background: linear-gradient(to top,#0d7bc0,#4bbffc,#6bdcd7,#f3d62b,#f3a439,#ea6026)
    }

.ConcentrationBar, .BarNum {
    float: left;
    display: block
}

p.BarTitle {
    font-size: 1rem;
    font-weight: 700;
    padding-bottom: 5px
}

.BarNum li {
    font-size: 1rem;
    padding-bottom: 10px;
    line-height: 30px
}

    .BarNum li:nth-last-child(1), .BarNum.PM25 li:nth-last-child(1), #bar2 .BarNum li:nth-last-child(1), #bar2 .BarNum.PM25 li:nth-last-child(1) {
        padding-right: 0
    }

section.th_taiwan .mtg_list, section.th_area .mtg_list {
    padding-left: 50px;
}

    section.th_taiwan .mtg_list li + li, section.th_area .mtg_list li + li {
        margin-left: 7px;
    }

    section.th_taiwan .mtg_list li a, section.th_area .mtg_list li a {
        margin-top: 5px;
    }

.mtg_switch {
    padding: 13px 0;
    padding-left: 50px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    .mtg_switch > div {
        display: block;
        vertical-align: middle;
        height: 28px;
        line-height: 28px
    }

    .mtg_switch div > span {
        color: #008299;
        font-weight: 700
    }

    .mtg_switch .switch {
        position: relative;
        display: inline-block;
        width: 40px;
        height: 8px;
        line-height: 8px;
        color: #FFF;
        background-color: #FFF;
        border: 1px solid #14b4d0;
        border-radius: 8px;
        -moz-border-radius: 8px;
        -webkit-border-radius: 8px;
        margin: 0 8px
    }

        .mtg_switch .switch input {
            display: none
        }

    .mtg_switch .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #eff4f9;
        -webkit-transition: .4s;
        transition: .4s
    }

        .mtg_switch .slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: -4px;
            bottom: -4px;
            background-color: #fff;
            -webkit-transition: .4s;
            transition: .4s;
            background-color: #14b4d0
        }

    .mtg_switch input:checked + .slider {
        background-color: #CCC;
        border: 3px #feb43f;
    }

    .mtg_switch input:focus + .slider {
        box-shadow: 0 0 1px #01586c;
        border: 3px #feb43f;
    }

    .mtg_switch input:checked + .slider:before {
        -webkit-transform: translateX(32px);
        -ms-transform: translateX(32px);
        transform: translateX(32px);
        border: 3px #feb43f;
    }

    .mtg_switch .slider.round {
        border-radius: 20px
    }

        .mtg_switch .slider.round:before {
            border-radius: 50%
        }

    .mtg_switch .sliderText {
        font-size: .875rem;
        line-height: 1.75rem;
        color: #FFF;
        float: left;
        margin-left: 12px
    }

    .mtg_switch input:checked + .slider .sliderText {
        float: right;
        margin-right: 6px;
        color: #000
    }

        .mtg_switch input:checked + .slider .sliderText:before {
            -webkit-transition: .4s;
            transition: .4s;
            -webkit-transform: translateX(-25px);
            -ms-transform: translateX(-25px);
            transform: translateX(-25px)
        }

.map_model .map_tw {
    position: relative;
    height: 680px
}

    .map_model .map_tw img {
        position: absolute;
        right: 30px;
        top: 30px;
        height: 630px
    }

    .map_model .map_tw svg {
        position: absolute;
        right: -25px;
        top: -5px;
        height: 700px
    }

.th_twselect {
    padding: 2rem 0;
    background-color: #d7f3ff
}

    .th_twselect .twselect a {
        width: 20%;
        float: left;
        text-align: center;
        padding: 1rem 0
    }

        .th_twselect .twselect a div {
            border-radius: 50%;
            -moz-border-radius: 50%;
            -webkit-border-radius: 50%;
            width: 80%;
            margin: 0 auto 1rem
        }

        .th_twselect .twselect a img {
            width: 100%;
            height: 100%
        }

        .th_twselect .twselect a h5,
        .th_twselect .twselect a p.main_w-title {
            line-height: 2.5rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: #00758a;
        }

        .th_twselect .twselect a p {
            font-size: 1rem
        }

        .th_twselect .twselect a:hover, .th_twselect .twselect a:focus {
            background-color: #FFF;
            border-radius: 5px;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            transform: translate(-2px,-2px);
            -moz-transform: translate(-2px,-2px);
            -webkit-transform: translate(-2px,-2px);
            box-shadow: rgba(0,0,0,.25) 2px 2px 4px
        }

            .th_twselect .twselect a:hover div, .th_twselect .twselect a:focus div {
                border: .5rem solid #14b4d0
            }

            .th_twselect .twselect a:hover h5, .th_twselect .twselect a:focus h5 {
                color: #0e798c
            }

    .th_twselect .btnSelectLeft, .th_twselect .btnSelectRight {
        display: none
    }

/*fancybox style */
.Dispear {
    display: none;
}

.fancybtn {
    margin-left: 10px;
}

    .fancybtn a {
        -moz-transition: all .2s;
        -o-transition: all .2s;
        -webkit-transition: all .2s;
        transition: all .2s;
        background-color: #16b4d0;
        color: #FFF;
        border-radius: 50px;
        padding: 4px 17px;
        line-height: 24px
    }

    .fancybtn:hover a {
        border: 1px solid #16b4d0;
        background-color: #fff;
        color: #157788;
    }

.custom-dialog .fancybox-content {
    background: rgba(24, 24, 24, .5);
}

.fancybox__content p {
    padding: 30px;
    color: rgb(48, 127, 94, .1);
    font-family: 'Microsoft JhengHei';
    font-size: 2rem;
    font-weight: bold;
    line-height: 2.125rem;
    letter-spacing: 1px;
    text-align: left;
    margin-bottom: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

    .fancybox__content p.longer {
        color: rgba(48, 90, 127, .1);
        font-size: 2.375rem;
        line-height: 2.875rem;
    }

.fancybox__content a {
    color: #cbf0cd;
    font-family: 'Microsoft JhengHei';
    background: #537d61;
    padding: 5px 50px;
    border-radius: 30px;
    text-shadow: none;
    position: absolute;
    bottom: -20px;
    left: calc(50% - 167px);
}

    .fancybox__content a.longer {
        bottom: 0;
    }

    .fancybox__content a span {
        color: #8be495;
        font-family: arial;
        padding-left: 10px;
    }

    .fancybox__content a:hover, .fancybox__content a:hover span {
        color: #0057b9;
        background: #aec8e6;
        transition: all .3s ease-in;
    }

.fancybox__content > .f-button.is-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #29b5d9;
    border: 2px solid #c0dff4;
    top: 10px;
    right: 10px;
}

    .fancybox__content > .f-button.is-close-btn:hover {
        opacity: 1;
        background: #fff;
        border: 2px solid #29b5d9;
    }

.f-button.f-button.is-close-btn svg path {
    stroke: #fff;
}

.f-button.f-button.is-close-btn:hover svg path {
    stroke: #29b5d9;
}

@media only screen and (max-width: 75rem) /*1200*/ {
    section .th_taiwan .mtg_list, .mtg_switch {
        padding-left: 30px;
    }
}

@media only screen and (max-width: 35rem) /*560*/ {
    .mtg_switch {
        flex-direction: column;
    }

        .fancybox__content p.longer {
            font-size: 2rem;
        }
}

@media only screen and (max-width: 30rem) /*480*/ {
    .fancybox__container img {
        width: 99%;
    }

    .fancybox__content p {
        font-size: 1.25rem;
        line-height: 2rem;
    }

        .fancybox__content p.longer {
            font-size: 1.75rem;
            line-height: 2.5rem;
        }
}

@media only screen and (max-width: 25rem) /*400*/ {
    .fancybox__content p.longer {
        font-size: 1.5rem;
        line-height: 2.125rem;
    }

    .fancybox__content p {
        line-height: 1.75rem;
    }
}

    @media (max-width:1024px) {
        .th_twselect {
            position: relative;
            overflow: hidden
        }

        .twselect {
            overflow-x: auto;
            width: 100%
        }

        .th_twselect .main_w {
            min-width: 1024px;
            padding: 0 3rem
        }

        .island {
            left: 100px
        }

        .th_twselect .btnSelectLeft, .th_twselect .btnSelectRight, .th_twselect .twselect {
            display: inline-block
        }

        .th_twselect .btnSelectLeft, .th_twselect .btnSelectRight {
            display: inline-block;
            width: 3rem;
            font-style: normal;
            font-variant: normal;
            text-rendering: auto;
            -webkit-font-smoothing: antialiased;
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            top: 50%;
            margin-top: -2.5rem
        }

        .th_twselect .btnSelectLeft {
            left: 0
        }

        .th_twselect .btnSelectRight {
            right: 0
        }

            .th_twselect .btnSelectLeft i:before, .th_twselect .btnSelectRight i:before {
                font-size: 5rem;
                color: rgba(255,255,255,.7)
            }
    }

    @media (max-width:625px) {
        .mtg_switch {
            padding-left: 0
        }

        .map_model .map_tw {
            height: 450px
        }

            .map_model .map_tw img {
                right: 40px;
                height: 403px
            }

            .map_model .map_tw svg {
                right: -97px;
                top: 7px;
                height: 455px
            }

        .island {
            left: 100px;
            top: 200px
        }

            .island p {
                margin-top: 50px;
                font-size: .875rem
            }

        .matzu, .kinmen, .penghu {
            width: 75px;
            height: 75px
        }

        .matzumark, .kinmenmark, .penghumark {
            width: 75px;
            height: 75px;
            background-size: 75px auto
        }
    }

    @media (max-width:480px) {
        .ConcentrationSide {
            top: 0
        }

        .map_model .map_tw {
            height: 345px
        }

            .map_model .map_tw img {
                right: 16px;
                height: 308px
            }

            .map_model .map_tw svg {
                right: -158px;
                top: 6px;
                height: 350px
            }

        .island {
            left: 95px;
            top: 120px
        }

            .island p {
                margin-top: 38px;
                margin-right: 3px;
                font-size: .75rem
            }

        .matzu, .kinmen, .penghu {
            width: 60px;
            height: 60px
        }

        .matzumark, .kinmenmark, .penghumark {
            width: 60px;
            height: 60px;
            background-size: 60px auto
        }

        .news_sidebox {
            padding: .5rem .25rem 2.5rem;
            background-size: 2rem auto;
            width: 2rem;
            text-align: center;
            font-size: 1rem;
            line-height: 1.15rem
        }

        .mtg_switch {
            margin-bottom: 20px;
        }
    }

    @media (max-width:375px) {
        section.th_taiwan .tw_map > header span, section.th_area .tw_map > header span {
            width: 44px;
            height: 44px
        }

            section.th_taiwan .tw_map > header span img, section.th_area .tw_map > header span img {
                width: 40px;
                height: 44px
            }

        section.th_taiwan .tw_map .map_data, section.th_area .tw_map .map_data {
            right: 4px;
            top: 12px
        }

        section.th_taiwan .tw_map > header .MyCalcCont .MyCalcTable span, section.th_area .tw_map > header .MyCalcCont .MyCalcTable span {
            width: 25px;
            height: 25px
        }

            section.th_taiwan .tw_map > header .MyCalcCont .MyCalcTable span img, section.th_area .tw_map > header .MyCalcCont .MyCalcTable span img {
                width: 25px;
                height: 25px
            }

        .MyCalc {
            margin: 0 4px
        }

        .map_model .map_tw img {
            right: 0
        }

        .map_model .map_tw svg {
            right: -174px
        }

        .ConcentrationBar, .ConcentrationBar.color2 {
            margin-right: 2px
        }

        .BarNum li {
            font-size: .5rem
        }

        .ConcentrationSide {
            top: 24px;
            left: 16px
        }

        .island {
            left: 60px
        }
    }

    section.th_navigation .sby_list li a figure {
        display: table
    }

        section.th_navigation .sby_list li a figure span {
            display: table-cell;
            color: #404063;
        }

    section.th_taiwan .air_tab {
        overflow: hidden;
        margin: 12px 0
    }

        section.th_taiwan .air_tab li {
            -moz-transition: all .2s;
            -o-transition: all .2s;
            -webkit-transition: all .2s;
            transition: all .2s;
            width: 50%;
            float: left;
            border-top: 1px solid #ccc;
            border-bottom: 1px solid #ccc
        }

            section.th_taiwan .air_tab li.on {
                background-color: #f0f5fa
            }

            section.th_taiwan .air_tab li a {
                font-size: 1.125rem;
                line-height: 30px;
                color: #000;
                display: inline-block;
                text-align: center;
                width: 100%;
                padding: 8px 0
            }

    .fancybox-overlay {
        background-color: rgba(0,0,0,.8);
        position: fixed;
        z-index: 9999;
        top: 0
    }

    .fancybox-image {
        width: 100%
    }

    .fancybox-close {
        position: absolute;
        width: 2rem;
        height: 2rem;
        background-color: #52a6e4;
        top: 0;
        right: 0;
        border-radius: 50%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        background-image: url(../images/close.svg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 100% 100%
    }

        .fancybox-close:hover {
            background-color: #14b4d0
        }

    .fancybox-title {
        margin-top: .5rem
    }

        .fancybox-title span {
            color: #FFF
        }

    .myNewsAlert header.title h2 {
        font-size: 1.125rem;
        line-height: 1.125rem;
        vertical-align: initial;
        color: #FFF
    }

    .select.hide legend {
        width: 0;
        height: 0;
        opacity: 0
    }

    section.th_area aside header .form {
        display: flex;
        justify-content: flex-start
    }

        section.th_area aside header .form .select {
            display: flex;
            align-items: center;
            width: 50%
        }

        section.th_area aside header .form div:nth-last-child(1) {
            padding-left: 2.5%
        }

        section.th_area aside header .form .select label {
            text-align: right;
            width: 3rem
        }

        section.th_area aside header .form .select select {
            width: calc(100% - 3rem)
        }

    @media (max-width:640px) {
        section.th_area aside header .form {
            display: flex;
            flex-direction: column
        }

            section.th_area aside header .form .select {
                width: 100%
            }

            section.th_area aside header .form div:nth-last-child(1) {
                padding-left: 0
            }
    }

    /*** Wind Barb ***/
    section.th_area .md_ardatacont div.hourtip {
        background-color: #88d3f2;
        border-radius: 10px;
        padding: 20px 30px;
    }

    section.th_area .md_ardatacont .hourtip .clp_con {
        background-color: #88d3f2;
        margin-top: 0;
    }

    .hourtip .clp_con .windbarb {
        background-color: #88d3f2;
    }

    .hourtip .clp_con p {
        color: #06384d;
        font-size: 1.125rem;
    }

    .windbarb, .windbarb p {
        display: flex;
    }

    .windbarb {
        flex-wrap: wrap;
        align-content: center;
        align-items: center;
        justify-content: flex-start;
    }

        .windbarb p {
            width: 16%;
            margin: .75% 0;
        }

    section.th_area .area_data .windbarb p img {
        width: 28px;
        margin: 0;
        margin-right: 7px;
    }

    @media (max-width: 960px) {
        .windbarb p {
            width: 25%;
        }
    }

    @media (max-width: 640px) {
        .windbarb p {
            width: 32%;
        }
    }

    @media (max-width: 520px) {
        .windbarb p {
            width: 48%;
        }
    }
