﻿/* CSS Document */

*{box-sizing:border-box;}
html,body{
  -webkit-text-size-adjust:none;
  font-family:Verdana, 'Noto Sans TC','Microsoft JhengHei', sans-serif;
  font-size: 16px;
  text-align: center;
  margin: 0;
  color:#3a3a3a;
  background-color: #FFFFFF;
}
a{text-decoration: none;color: #4c3f40;}
/*.fixed{
  position: fixed;
  top: 0;
  z-index: 9;
}*/
header {
  width: 100%;
  height: 70px;
  background-color: #7843ed;
}
.dropdowns {
    background-color: #FFFFFF;
}
.wrapper1 {
    width: 1260px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: flex-start;
}

    .wrapper1 > .liveBox {
        max-width: calc(100% - 305px - 10px);
        margin: 0 auto;
    }
    .wrapper1 > .eVoteNewsArea {
        width: 305px;
        margin-left: 5px;
    }

    .w1260, .newsflashBox, .wrapper {
        width: 1260px;
        margin: 0 auto;
    }
.flexbox, .flexboxStart, .wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
.nowrap{flex-wrap:nowrap; }
.center{
  display: flex;
  justify-content: center;
  align-items: center;
}
.flexboxStart{justify-content: flex-start;}
.headerBox{ padding: 10px 0;}
header a{color: #e50065;}
.logoBlock {
    height: 50px;
}
    .logoBlock img{
        height: 40px;
        width: auto;
    }

.shareIcon img {
    width: 40px;
}

.inlineB {
    display: inline-block;
}
.sprite-01-line{ background-position-x: -80px;}
.sprite-02-fb { background-position: 0 0px;}


.voteInfo {
    width: 60%;
    margin: 0 auto;
    font-size: 20px;
    background-color: #e6dfed;
    border-radius: 50px;
    text-align: left;
    height: 38px;
    line-height: 38px;
}
    .voteInfo > * {
        display: inline-block;
        vertical-align: top;
        height:100%;
        overflow: hidden;
        border-radius: 50px;
    }
.voteInfoL {
    width: 4em;
    background-color: #f7e24b;
    box-shadow: 4px 0px 0px rgba(120, 67, 237, 1);
    font-size: 0.9em;
    color: #f73772;
    font-weight: bold;
    text-align:center;
}
.voteInfoR {
    width: calc(100% - 4.5em);
    background-color: #e6dfed;
}


.candidates-item {
    display: flex;
    align-items: center;
    flex-wrap:nowrap;
    white-space:nowrap;
}

    .candidates-item.elected span:first-child::after {
        display: inline-block;
        content: "";
        width: 1.25em;
        height: 38px;
        background-image: url(../voting_Image/elected.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 1em;
        vertical-align: top;
    }




#voting-flash .candidates-item > img {
    vertical-align: middle;
    width: auto;
    height: 1.375em;
    border-radius: 50%;
    margin: 0 .5em;
}



.vote {
    font-size: 22px;
}

.voteLiveBox {
    margin: auto;
    width: 1260px;
    height: 110px;
    background-color: #ffffff;
    justify-content: space-around;
}
.voteLive {
    width: 31%;
}
    .voteLive img {
        -webkit-clip-path: inset(5px round 20px 0px 30px 0px);
        clip-path: inset(5px round 20px 0px 30px 0px);
        z-index: 2;
        height: 90px;
        width: auto;
    }

.elected {
    position: relative;
}
.voteLive.center.elected::before {
    content: "";
    background-size: cover;
    display: inline-block;
    width: 60px;
    height: 60px;
    background-image: url(../voting_Image/elected.png);
    background-repeat: no-repeat;
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 0;
}



.candidateNumBox {
    position: relative;
    z-index: 1;
}
.canLiveNumber {
    position: absolute;
    z-index: 1;
    height: 35px;
    width: 35px;
    border: 3px solid #f72d2d;
    border-radius: 50%;
    display: flex;
    right: 0px;
    bottom: 0px;
    color: #f72d2d;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background-color: #ffffff;
    filter: drop-shadow(1px 1px 1px #333333);
}
.candidateNum {
    flex: 1;
    height: 60px;
    line-height: 60px;
    transform: skewX(-20deg);
    border-radius: 9px 0 9px 0;
    color: #fff;
    margin-left: -7%;
    padding: 0 0% 0 4%;
    background-color: rgba(63,63,63, 0.2);
}
    .skewX {
        transform: skewX(20deg);
        display: inline-block;
    }
.voting{font-size: 30px;}
.eNewsArea{
  width: 100%;
  display: inline-block;
  height: auto;
  padding: 0 0 0 10px;
}
.eNews_box{width: 48%;}
.votingUpdate{
  display: inline-block;
  width: 40%;
  position: relative;
  border-radius: 50px;
  border: 1px solid #f92b66;
  height: 40px;
  text-align: left;
  line-height: 40px;
  padding-left: 20px;
}
.updateBtn{
  position: absolute;
  right: 0;
  border-radius: 50px;
  background-color: #f92b66;
  display: inline-block;
  color: #fff;
  padding: 0 20px;
  cursor: pointer;
}
.second,.votingNum{color:#f92b66;}
.sectionM{margin: 5% auto;}
.votingBox{
  width: 100%;
  height: auto;
  box-shadow: 0px 0px 4px 1px #C7C7C7;
  -webkit-box-shadow: 0px 0px 4px 1px #C7C7C7;
  -moz-box-shadow: 0px 0px 4px 1px #C7C7C7;
  -o-box-shadow: 0px 0px 4px 1px #C7C7C7;
  margin: 2.5% auto;
  align-items: center;
  justify-content: flex-start;
}
.votingFlag {
    width: 100px;
    height: auto;
    -webkit-clip-path: polygon(0% 0%, 55% 0, 100% 0, 75% 23%, 75% 100%, 0 100%);
    clip-path: polygon(0% 0%, 55% 0, 100% 0, 75% 23%, 75% 100%, 0 100%);
    color: #fff;
    font-size: 40px;
    line-height: 2.5;
    text-align: left;
    text-indent: .3em;
    font-style: italic;
    background: -moz-linear-gradient(-45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 70%, rgba(255,255,255,0.9) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(255,255,255,0) 0%,rgba(255,255,255,0.3) 70%,rgba(255,255,255,0.9) 100%);
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%,rgba(255,255,255,0.3) 70%,rgba(255,255,255,0.9) 100%);
}
.votingInfoBox{
  width: 80%;
  height: auto;
  justify-content: flex-start;
}
.votingData{width: 75%;}
.votingNameBox{
  width: 30%;
  margin-right: 6px; 
}
.votingName{
  width: 60%;
  margin-right: 8px;
  position: relative;
}
.votingBox.elected .votingName::after {
    content: "";
    background-size: cover;
    position: absolute;
    width: 40px;
    height: 40px;
    top: -8px;
    right: -6px;
    background-image: url(../voting_Image/elected.png);
    background-repeat: no-repeat;
}
.votingLine{
  height: 20px;
  position: relative;
  margin-right:40px;
  margin-bottom: 1%;
  margin-top: 1%; 
}
    .votingLine span:after {
        content: "\f5a2";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 40px;
        position: absolute;
        top: -15px;
        right: -27px;
        filter: drop-shadow(-2px 0px 0px #ffffff);
    }
.votingNum{
  margin-right: 6px;
  margin-bottom: 1%;
}
.votingNum span{font-size: 24px;}
.votingRate{
  color:#333333;
}
.item img,.vision img,.votingName img,.firstItem img,.vision_mb img{display: block;}
.vision_mb,.dropdown,.info br{display: none;}
.legislator_section,.video_section,.partyMap_section{margin: 3% auto 4% auto;}
.legislatorArea{
  position: relative;
  height: 40px;
  border-radius: 50px;
  border: 1px solid #f92b66;
  padding-left: 1em;
  align-items: center;
}
.legislatorWord {
    margin:0 10px;
}
.legislatorBtnBox {
    height: 40px;
    line-height: 20px;
    display: flex;
    border-radius: 50px;
    background-color: #f92b66;
    color: #fff;
    padding: 0 20px;
}
.legislator_Btn {
    display: inline-block;
    border-right: 1px solid #fff;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    color: #fff;
}
    .legislator_Btn a {
        color: #ffffff;
    }
div.legislator_Btn.active {
    color: #FFFF37;
}
.legislator_Btn:last-child {
    border-right: 0;
}
.info{
  text-align: right;
  color:#f92b66;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.6;
}
.navTab{
  clear: both;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.navTab li{
  width: calc(100% / 7 - 4px);
  border-radius: 5px 5px 0 0;
  border: 1px solid #8e6cea;
  border-bottom: 5px solid #8e6cea;
  font-size: 18px;
  margin: 0 2px 10px 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  padding: 10px;
}
.navTab li.active{
  background-color: #8e6cea;
  color: #ffffff;
}
.legisContent{
  width: calc(100% / 4 - 8px);
  background-color: #FFFFFF;
  padding: 12px 8px 12px 10px;
  margin: 0 0.318% 1% 0.318%;
  border-radius: 5px;
  border: 1px solid #b7b7b7;
}
.legislatorData{width: 70%;}
.partyImg{
  width: 60px;
  height: 60px;
  margin-right: 10px;
  border-radius: 50%;
  overflow: hidden;  
}
.legisInfoBox{text-align: left;}
.legisBlock{
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}
.legisNum{
  display: inline-block;
  text-align: center;
  color: #f92b66;
  background-color: #FFF;
  border-radius: 50%;
  border: 1px solid #c1bfbf;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.3;
  font-size: 1.25em;
}
.legisName {
    font-size: 1.3em;
    font-weight: bold;
    margin: auto 8px;
    max-width: calc(100% - 2em - 30px);
}
.legisVote{
  font-size: 1.3em;
  padding: 0 3px;
  color: #f92b66;
  line-height: 1.4;
}
.legisParty{
  display: inline-block;
  width: 100%;
  border-radius: 50px;
  padding: 0 5px 0 10px;
  font-weight: 500;
  line-height: 1.8;
}
.legisInfo {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
}
    .legisInfo.elected::after {
        content: "";
        background-size: cover;
        display: inline-block;
        width: 22px;
        height: 22px;
        background-image: url(../voting_Image/elected.png);
        background-repeat: no-repeat;
    }
.legislatorCon>.info{text-align: center;}
.showTitle,.partyMapTitle{
  height: 35px;  
  border-radius: 50px;
  text-align: left;
  color: #ffffff;
  line-height: 35px;
  padding: 0 1em;
  overflow: hidden;
  font-size: 20px;
  display: inline-block;
  margin-bottom: 1%;
}
.showTitle{background-color: #f7c052;}
.partyMapTitle{background-color: #f92b66;}
.showTitle:before,.partyMapTitle:before{  
  background-size: 15px 15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  content: "";
  background-position: 0 0px;
  background-repeat: no-repeat;
  vertical-align: middle;
}
.showTitle:before{background-image: url(../voting_Image/show_arrow.png);}
.partyMapTitle:before{background-image: url(../voting_Image/partyMap_arrow.png);}
.videoBox{margin-bottom: 2%;text-align: left;}
.partyMapCon{width: 48%;text-align: left;margin-bottom: 2%;}
.partyMapInfo{margin:5% auto; }
.partyMap{width: 60%;}
.partyRate{width: 30%;}
.partyRate ul li{
  line-height: 1.6;
  font-size: 17px;
  margin-bottom: 4%;
}
    .partyRate ul li > i {
        margin-right: 2px;
    }
.chart{
    width: 250px;
    height: 250px;
    /*background-color: #3a3a3a;*/
    border-radius: 50%;
    margin: 0 auto;
}

/*legislator*/
.regionArea {
    margin: 2% auto;
}

.regionBox li {
    padding: 0 0.5em;
    height: 46px;
    background-color: #f92b66;
    display: flex;
    line-height: 46px;
    font-size: 18px;
    border-width: 3px 0;
    border-style: solid;
    border-color: #f92b66;
    margin-right: 1px;
    align-items: center;
    justify-content: center;
}

    .regionBox li:last-child {
        border-right: 0;
    }

    .regionBox li.active {
        border-top: 3px solid #f7e24b;
    }

    .regionBox li, .regionListBox li {
        color: #fff;
        cursor: pointer;
    }

.regionList {
    margin: 0 auto 10px auto;
    height: auto;
    line-height: 50px;
    background-color: #8e6cea;
    font-size: 18px;
}

.regionListBox {
    padding-left: 2%;
}

    .regionListBox li {
        float: left;
        margin-right: 2%;
    }

        .regionListBox li.active:before {
            color: #f92b66;
        }

        .regionListBox li:before {
            content: "●";
            color: #fff;
            padding: 0 6px 0 0;
        }
/*legislator end*/


h1,.qrcode_mobile,#TOP-MENU,#close,.visual_mb{
  display: none;
}
img,.eProject_box ul li,#tab,.eNews_box ul li{ width: 100%;}
.visual,.eHotNewsArea,.qrcode,.visual{
  display: block;
  position: relative;
}
.fontSize,nav ul li{
  font-size:22px;
}
/*new menu*/
#NAV{
    width: 100%;
    height: auto;
    margin: 0 auto;
    background-color: #FFF;
    text-align: center;
    filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.3));
    background-color: #e5dcf4;
    z-index: 9; 
    align-items: center;
    display: flex;
}
    #NAV ul {
        width: 1260px;
        margin: 0 auto;
        text-align: center;
        display: flex;
        justify-content: center;
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
    }
    #NAV li {
        border-right: 1px solid #c1aeed;
    }
        #NAV li:first-child {
            border-left: 1px solid #c1aeed;
        }


    #NAV ul li a {
        color: #5b5b5b;
        display: inline-block;
        padding: 0.625em 1.5em;
        text-decoration: none;
        border-top: 6px solid transparent;
        transition-property: all .2s linear 0s;
        -moz-transition: all .2s linear 0s;
        -webkit-transition: all .2s linear 0s;
        -o-transition: all .2s linear 0s;
        word-break:keep-all;
    }

        #NAV ul li.active a,
        #NAV ul li a:hover {
            color: #fff;
            background-color: #a995ef;
            border-top: 6px solid #7843ed;
        }


.navFixed {
    z-index: 10000000;
    position: fixed;
    top: 0;
    left: 0;
    margin-top: 0;
    width: 100%;
}
   
/*new menu end*/
.newsflashBox{
  line-height: 2;
  margin: 2% auto;
  position:relative;
}
.newsflash {
    position: absolute;
    width: 130px;
    color: #fff;
    background-color: #f72d2d;
    border-radius: 25px;
    letter-spacing: 0px;
    height: 100%;
    font-size: 22px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nfBG {
    width: 100%;
    color: #000;
    background-color: #f9e42b;
    border-radius: 25px;
    text-align: left;
    text-indent: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 3%;
}

time{
  font-size:1vmin;
  line-height: 0;
  padding: 0 0 0 8px;
}
.left_section{
  display: inline-block;
  width: 945px;
  height: auto;
  padding: 0 10px 0 0;
}
.title{
  text-align: left;
  display: flex;
  align-items: center;
  padding: 0 0 8px 0;
  margin-bottom: 1%;
  font-size: 22px;
  position: relative;
  line-height: 1.25em;
}
.l_title {
    color: #f92b66;
    text-align: left;
    display: flex;
    align-items: center;
    padding: 0 0 8px 0;
    margin-bottom: 1%;
    font-size: 22px;
    position: relative;
    line-height: 1.3;
}

.l_title:before,.title:before{
  content: "";
  width: 45px;
  height: 45px;
  background-size: 100%;
  margin-right: 4px;
}
.l_title:before{
    background-image: url(../voting_Image/i_live.png);
    background-repeat:no-repeat;
}
.eNews_title:before{background-image: url(../voting_Image/i_eNews.png);}
.eProject_title:before{background-image: url(../voting_Image/i_eProject.png);}
.ePreNews_title:before{background-image: url(../voting_Image/i_eElection.png);}
.eHotNews_title:before{background-image: url(../voting_Image/i_eHotNews.png);}
.eVideo_title:before{background-image: url(../voting_Image/i_eVideo.png);}
.eSocialMedia_title:before{background-image: url(../voting_Image/i_eSocialMedia.png);}
.right_section{
  display: inline-block;
  width: 315px;
  height: auto;
  padding: 0 0 0 10px;
  vertical-align:top;
}

.youtubeBox {
    width: 60%;
    margin: 0 auto;
}
/*iframe youtube-------------------------------------------------*/
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-containerS {
    position: relative;
    padding-bottom: 10%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*iframe youtube-------------------------------------------end*/

.firstItem a,.item a{
  display: inline-block;  
  font-size: 20px;  
  line-height: 2.2;
  text-align: left;
  text-indent: 2vmin;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.firstItem a{
  background: linear-gradient(135deg, #212121 0%,#575757 100%);
  color: #fff;
  width:100%;
}
.item a{
  color: #5b5b5b;
  width: 100%;
}
    .item a p{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #news-flash .item a {
        width: 80%;
    }

.nfBG .item a::before {
    content: "●";
    color: #13cfe2;
    padding: 0 6px 0 0;
}
.wrapper {
    margin: 2% auto;
    align-items: flex-start;
}
.left_right {
    align-items: flex-start;
}
.eProject_box > .more {
    margin: 3% auto;
}

.title:after{
  content: "";
  width: 2em;
  position: absolute;
  border: 1px solid transparent;
  border-width: 0 0 5px 0;
  border-image: linear-gradient(to right, rgb(142, 108, 234) 0%, rgb(169, 149, 239) 100%);
  border-image-slice: 1;
  left: 50px;
  bottom: 10px;
}
.eNews_con ul{
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-around;*/
}
.eNews_con ul li,.eProject_box ul li,.eHotNews_list li{  
  list-style-type: disc;
  list-style-position: inside;
  border-bottom: 1px solid #8e8b8b;
  font-size: 17px;
  line-height: 2.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  text-indent: 1vmin;
  letter-spacing: 1px;
  width: 100%;
}
.eNews_con ul li:nth-child(n+15) {
    display: none;
}
.eHotNews_list li{line-height: 3.1;}
.eHotNews_list li{text-indent: 1vmin;}
.more,.eHotNews_list{ width: 100%;  margin: 2% auto;}
.more a{
  width: 85px;
  text-align: left;
}

.more a {  
  background-color: #a995ef;
  display: flex;  
  justify-content: center;
  margin: 0 0 0 auto;
  border-radius: 25px;
  color: #fff;
  letter-spacing: 1px;
  line-height: 2;
  filter: drop-shadow(0px 3px 0px rgba(0, 0, 0, 0.15));
}
    .more:not(.fullMore) a::after {
        margin-left: 1px;
        margin-top: 1px;
        content: "\02192";
    }
    .more.fullMore a {
        width: 100%;
        text-align: center;
    }


.eProject_box{
  width: 48%;
  height: auto;
  margin-bottom: 2%;
}
.eProject_box >.item > img{margin-bottom: -4px;}

.e_ad{margin: 18% auto 10% auto;}
.socialMediaArea{margin:10% auto; }

.footer_socialmedia{
  display: flex;
  justify-content:center;
  background-color: #8e97a0;
  padding: 10px 0;
}
    .footer_socialmedia a {
        margin: 0 2%;
    }
    .footer_socialmedia a > i  {
        font-size: 2.25em;
        color: #FFFFFF;
    }
footer{
  color: #3a3a3a;
  letter-spacing: 2px;
  background-color: #a995ef;
  padding: 20px 10px;
  font-size: 14px;
  line-height: 1.6;
}
#gotop {
    display: none;
    cursor: pointer;
    position: fixed;
    right: 40px;
    bottom: 0px;
    width: 68px;
    height: 100px;
    z-index: 9999;
    background-image: url(../voting_Image/gotop.png);
    background-repeat: no-repeat;
    background-size: 70%;
}
.owl-carousel .owl-item { border: 0px!important;}
 .livePhotosNav > * {
    width: 45px;
    height: 45px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
}
 .livePhotosNav_prev {
    background: url("../voting_Image/arrow_left.png") no-repeat;
    left: 1%;
    background-size: contain;
}

     .livePhotosNav_next{
      background: url("../voting_Image/arrow_right.png") no-repeat;
      right: 1%;
      background-size: contain;
    }

@media (max-width: 1439px){
  #gotop { right: 20px; bottom: -10px;}
}
@media (max-width: 1260px){  
  .w1260,.newsflashBox,.wrapper, .wrapper1 { width: 96%;}
  .left_section{ width: 65%;}
  .right_section,.partyRate{ width: 35%;}
  .voteLive{ width: 48%;margin: 0 auto;}

  .eHotNews_list li { line-height: 2.1;}
  #gotop { right: 20px;}
  /*--------------------------------*/
    #NAV ul {
        justify-content: flex-start;
    }
    /*nav ul li a {
        padding: 12px 20px;
        width: 170px;
    }*/  

  header,.voteLiveBox,.votingBox,.votingInfoBox{height: auto;}
  header,.voteLiveBox{justify-content: center;}

  .newsflashBox{margin-top: 2%;}
  .votingUpdate,.legislatorData{width: 100%;}
  .voting1,.voting2,.voting3{
    height:100px;
    line-height: 100px;
  }
  .votingInfoBox{height:100px;}
  .legislatorArea{
    width: 100%;
    margin-bottom: 3%;
  }
  .firstItem a p,.item a p{
    display: block;  
    font-size: 20px;  
    line-height: 2.2;
    text-align: left;
    text-indent: 2vmin;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
  }
  .legislatorData{width: 70%;}
    .voteLiveBox {
        width: 90%;
        padding: 6px 0;
    }
    .newsflash {
        font-size: 2.5vmin;    
    }


}
@media (max-width: 900px) {
    .headerBox > .voteInfo {
        width: 100%;
        order: 3;
    }

    .wrapper1 {
        flex-wrap: wrap;
    }

        .wrapper1 > .liveBox,
        .wrapper1 > .eVoteNewsArea {
            max-width: none;
            width: 100%;
            margin-left: auto;
        }

    .eNews_con.eNews_con812 ul li {
        width: 48.5%;
        padding: 0 15px 0 0;
        margin: 0.75%;
    }

}
@media (max-width: 812px) {  
  .qrcode_mobile,.visual{display: none;}
  .headerBox, .newsflashBox,.wrapper,.partyMap,
  .partyRate { width: 96%;}
  .left_section, .right_section,.eNews_con ul li,.eProject_box,
  .visual_mobile,.eNews_box ul li,.partyMapInfo{
    display: block;
    width: 100%;
  }
    .headerBox { padding: 10px 5px; }

        #NAV ul li a {
            padding: 0.45em 0.95em;
        }

  .newsflashBox{font-size: 20px;margin-top: 5%;}
  .left_section, .right_section{padding: 0;margin: 3% auto;}
  .more a { width: 100px;}
  .eNews_con ul li, .eProject_box ul li,.eHotNews_list li{
    display: list-item;}
  #gotop { right: 0px; bottom: -25px;}
    .newsflash {
        width: 60px;
    }
  .nfBG { text-indent: 3em;}
  .nfBG::before { padding: 0 3px 0 0;}

  /*------------------------------------------*/
  .voteLiveBox,.qrcode{
    width: 90%;
    margin: 1% auto;
  }
    .candidateNum {
        padding: 0 25px;
        height: 80px;
        line-height: 1.2;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
  .voting{font-size: 30px;}
  .candidatePic img{
    object-fit: cover;
    object-position: -40px 0;
  }

  .eNews_con ul{justify-content: flex-start;}
  .eNews_con ul li{width: 100%;}
  .eProject_box{width: 48.5%;}
  .eNews_con ul li,.eProject_box ul li{    
    padding: 0 15px 0 0;
    margin: 0.75%;
  }
  .right_section{display: flex;margin: 5% auto;align-items: center;}
  .e_ad,.socialMediaArea{
    display: inline-block;
    margin: 0 auto;
  }
  .eNewsArea{margin:3% auto;padding: 0;}
  .legisContent { width: calc(100% / 2 - 6px);}
  .info { text-align: center;}
    .candidates-item {
        /*font-size: 4vmin;*/
        justify-content: center;
    }
}
@media (max-width: 767px) {
  .qrcode{display: none;}
  .voteLiveBox,.right_section,.qrcode_mobile{ display: block;}
  .voteLive { width: 80%;}
  .voting{font-size: 6vmin;}
  .dropdownBox,.partyMapCon{
    width: 100%;
    position: relative;
  }
  .dropdown{
    display: block;
    background-color: #8e6cea;
    color: #ffffff;
    border-radius: 6px;
    line-height: 2.5;
    width: 100%;
    margin: 0 auto;
    font-size: 18px;
  }
    #NAV ul li {
        font-size: 20px;
    }

    .legislatorNav {
        display: none;
    }
  .tabCon{margin-top: 3%;}
  .dropdown div{display: inline-block;}
    .navTab {
        position: absolute;
        background-color: #fff;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }  
  .navTab li{
    width: 100%;
    margin:0 auto; 
  }
  .legislatorArea{
    height: auto;
    padding: 0;
    border-radius: 10px;
  }
  .legislatorBtnBox{
    display: block;
    width: 100%;
    height: auto;
    padding: 10px 4px;
    bottom: 0;
    border-radius: 6px;
    position: relative;
  }
  .legislatorWord{
    display: block;
    margin: 0 auto;
    position: relative;
    line-height: 2.3;
  }
  .caret{
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 6px dashed;
    border-top: 6px solid\9;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
  }  
  .dropdown div:first-child{ width: calc(100% - 4em);}
  .dropdown div:nth-child(2){ width: 3em;}
  .partyRate ul li,.qrcode_mobile{ width: 45%;margin: 0 auto;}
  .partyRate ul{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  .partyRate,.ad_qrcode{ margin:5% auto;} 
}
@media (max-width: 480px) {
  .voteInfoL{ display: none;}
  .voteInfoR{ width: 100%;}
    .legislator_Btn {
        margin: 8px 0 0 0;
    }
}
@media (max-width: 414px) {
  .vision{ display: none;}
  .vision_mb,.qrcode_mobile,.info br{ display: block;}
  .voteLive{ width: 100%;height: 90px;}
  .voteLive img { width: auto; height:90%;}
  .candidatePic{ width: 35%;height: 80px;}
  .candidatePic img { object-position: -15px 0;}
  .eNews_con.eNews_con812 ul li, .eProject_box,.eNews_box,.votingUpdate,.legisContent,
  .partyRate,.votingData{ width: 100%;}
  .voting1, .voting2, .voting3 { 
    height: auto;
    line-height: 4;
    width: 80px;
    text-indent: .1em;
  }
  .votingLine { width: 90%; margin: 2% auto 5% 0;}
  .votingInfoBox,.legislatorData,.votingNameBox{ width: 70%;}
  .socialMediaArea,.votingBox{ margin:5% auto;}
    .legislator_Btn {
        padding-left: 0px;
        padding-right: 5px;
    }
  .qrcode_mobile{
    width: 50%;
    margin:2% auto; 
  }  
  .votingUpdate{font-size: 4vmin;}
  .partyMapCon{margin-bottom: 10%;}
  .partyImg{
    width: 60px;
    height: 60px;
    margin-right: 20px;
  }
  .legisContent{justify-content: center;}
  .nowrap2{flex-wrap:wrap;}
  .votingInfoBox{margin: 3% 0;height: auto;}

    /*legislator*/
    .regionBox li {
        width: calc(25% - 2px);
        border-bottom: 1px solid #fff;
        line-height: 1.2;
    }

    .regionList {
        height: auto;
        line-height: 40px;
    }

    .regionListBox > li{
        padding-top: 1%;
        padding-bottom: 1%;
    }
    /*legislator end*/
    .candidateNum {
        height: 60px;
        line-height: 1.2;
        display: flex;
        align-items: center;
        padding: 0 0 0 14px;
    }
    .votingFlag {
        height: 25vh;
    }
    .votingNameBox {
        margin-bottom:8%;
    }
    .newsflash {
        font-size: 5vmin;
    }
    /*.l_title:before {
        width: 100px;
        height: 100px;
    }*/
}

@media (max-width: 320px) {
  .headerBox{padding: 10px 0;}
  .button { right: 10px;}
  .eFocusNews_list>div:first-child { width: 45%;}
  .voting{font-size: 7vmin;}
    .logoBlock img {
        height: 30px;
    }
}

.youtubeList {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

    .youtubeList > div {
        width: 24.5%;
    }
.youtubeListImg {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

@media (max-width: 480px) {
    .youtubeList {
        flex-wrap: wrap;
    }

        .youtubeList > div {
            width: 100%;
        }
            .youtubeList > div:nth-child(n+2) {
                display: none;
            }
}


#NAV ul::-webkit-scrollbar-track {
    background-color: transparent;
}

#NAV ul::-webkit-scrollbar {
    width: 10px;
    height: 4px;
    background-color: transparent;
}

#NAV ul::-webkit-scrollbar-thumb {
    height: 4px;
    background-color: transparent;
}