@charset "utf-8";
@import url("//news.chosun.com/dhtm/css/css_reset_2018.css");
@import url("//news.chosun.com/dhtm/css/cs_webfont_set.css");
/* @import url("//image.chosun.com/gnb2020/assets/css/cs_font_set_min.css"); */
/*
조선고딕
조선중간고딕
ChosunGothic
ChosunMGothic
*/






body,
input,
button,
textarea {
  font: 16px/1.3 '조선고딕', AppleSDGothicNeo-Regular, "맑은 고딕", "Malgun Gothic", 나눔고딕, 돋움, Dotum, 굴림, Gulim, "Apple SD Gothic Neo", sans-serif;
  letter-spacing: 0;
}





/* electionInfo */
.electionInfo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.electionInfo dt {
  margin-right: auto;
}

.electionInfo dd {
  position: relative;
  margin-left: 17px;
  font-family: "조선고딕", sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #707070;
}

.electionInfo dd::after {
  content: "";
  display: block;
  width: 1px;
  height: 13px;
  background-color: #d7d7d7;
  position: absolute;
  margin-top: -6px;
  left: -8px;
  top: 50%;
}

.electionInfo dd:nth-of-type(1)::after {
  display: none;
}



/* electionBox 공통 */
.subTit {
  font-family: '조선중간고딕', sans-serif;
  color: #222222;
  font-size: 20px;
  font-weight: bold;
}


.currentTime {
  display: block;
  font-size: 12px;
  font-family: '조선고딕', sans-serif;
  color: #999999;
  text-align: right;
}


/* electionBox */
#electionBox {
  position: relative;
  display: flex;
}

#electionBox::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: #eaeaea;
}


/* city */
.city {
  width: 50%;
}

.map {
  height: 327px;
  margin-bottom: 16px;
}

.map path:hover {
  stroke-width: 1.8;
}


#seoul {
  padding-right: 16px;
}

#busan {
  padding-left: 16px;
}




/* 툴팁 */

#countingTooltip {
  box-sizing: border-box;
  padding: 8px 8px 4px;
  width: 186px;
  /* height: 100px; */
  border: solid 1px #cccccc;
  background-color: #ffffff;
  position: relative;
  z-index: 9999;
}

#countingTooltip .tooltipInfo {
  padding-bottom: 4px;
  border-bottom: 1px solid #222;
}

#countingTooltip dl {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#countingTooltip dt {
  font-family: '조선중간고딕';
  font-size: 14px;
  font-weight: bold;
  color: #222222;
}

#countingTooltip dd {
  font-family: '조선고딕';
  font-size: 12px;
  font-weight: normal;
  color: #707070;
}

.candidataList li {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  padding: 4px 0;

}

.candidataList li:first-child {
  border-bottom: 1px solid #d7d7d7;
}

.candidataList li .candiImg {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 4px;
  overflow: hidden;
  border-radius: 100%;
}

.candidataList li .candiImg img {
  width: 100%;
}

.candidataList li b {
  margin-right: 8px;
  font-family: '조선중간고딕';
  font-weight: bold;
  font-size: 12px;
  color: #707070;
}

.candidataList li .candiPercent {
  font-family: '조선중간고딕';
  font-size: 12px;
  font-weight: bold;
}


.candidataList li .candiVote {
  font-family: '조선고딕';
  font-size: 12px;
  font-weight: normal;
  margin-left: auto;
  color: #707070;
}




/* blanceOfPower */

.bar_wrap {
  max-width: 453px;
  padding: 0 62px 38px 62px;
  box-sizing: border-box;
  position: relative;
}

.bar_wrap .thumb {
  width: 58px;
  height: 58px;
  border-radius: 100%;
  overflow: hidden;
  margin-top: 18px;
}

.bar_wrap .thumb img {
  width: 100%;
}

.bar_wrap .thumb_left {
  position: absolute;
  left: 0;
  top: 0;
  margin-right: 4px;
}

.bar_wrap .thumb_right {
  position: absolute;
  right: 0;
  top: 0;
  margin-left: 4px;
}

.bar_wrap .candidate_info {
  *zoom: 1;
}

.bar_wrap .candidate_info:after {
  display: block;
  content: "";
  clear: both;
}

.bar_wrap .candidate_info .left {
  float: left;
}

.bar_wrap .candidate_info .right {
  float: right;
  text-align: right;
}

.bar_wrap .candidate_info .party {
  font-size: 12px;
  color: #707070;
}

.bar_wrap .candidate_info .name {
  margin-bottom: 4px;
  font-size: 18px;
  font-family: '조선중간고딕';
  font-weight: bold;
  color: #222;
  position: relative;
}

.bar_wrap .candidate_info .name.elected:after {
  position: absolute;
  width: 30px;
  height: 20px;
  background: url("//news.chosun.com/election2021/img//elected.png") 0 0 no-repeat;
  background-size: 100% 100%;
  content: "";
}

.bar_wrap .candidate_info .left .name {
  padding-right: 34px;
}

.bar_wrap .candidate_info .right .name {
  padding-left: 34px;
}

.bar_wrap .candidate_info .left .name.elected:after {
  right: 0;
  top: 0
}

.bar_wrap .candidate_info .right .name.elected:after {
  left: 0;
  top: 0
}

.bar_wrap .candidate_info .name .icon1 {
  float: right;
  margin-left: 4px;
  display: block;
  width: 30px;
  height: 20px;
  font-size: 12px;
  line-height: 20px;
  font-family: '조선중간고딕';
  font-weight: bold;
  color: #fff;
  background: #707070;
  text-align: center;
  border-radius: 10px;
  position: relative;
  top: 2px
}

.bar_wrap .x_bar {
  height: 28px;
  width: 100%;
  position: relative;
  background-color: #d7d7d7;
}

.bar_wrap .x_bar .num {
  color: #fff;
  font-size: 18px;
  line-height: 28px;
  font-family: '조선중간고딕';
  font-weight: bold;
  opacity: 0;
  animation: opacity-animate 0.3s ease forwards;
  animation-delay: 0.5s;
  position: absolute;
}

.bar_wrap .x_bar .num.left {
  left: 4px;
}

.bar_wrap .x_bar .num.right {
  right: 4px;
}

.bar_wrap .x_bar .num.color_change {
  position: absolute;
  /*left:-55px;*/
  color: #222;
}

.bar_wrap .x_bar .num.left.color_change {
  right: -55px;
  text-align: right;
}

.bar_wrap .x_bar .num.right.color_change {
  left: -55px;
  text-align: left;
}

.bar_wrap .x_bar .bar {
  width: 0;
  height: 28px;
  /*padding: 0 4px;*/
  /* box-sizing: border-box; */
}

.bar_wrap .x_bar .bar1 {
  position: absolute;
  left: 0;
  top: 0;
  text-align: left;
  transform-origin: 0 0;
  animation: right-animate 1s ease alternate;
}

.bar_wrap .x_bar .bar2 {
  position: absolute;
  right: 0;
  top: 0;
  text-align: right;
  transform-origin: 100% 100%;
  animation: right-animate 1s ease alternate;
}

.bar_wrap .vote {
  width: 100%;
  margin-top: 4px;
}

.bar_wrap .vote span {
  font-size: 12px;
  color: #999;
}

.bar_wrap .vote .txt_left {
  float: left;
}

.bar_wrap .vote .txt_right {
  float: right;
}

@media all and (max-width: 780px) {
  .bar_wrap {
    max-width: inherit;
    padding: 0 49px;
  }

  .bar_wrap .thumb {
    width: 41px;
    height: 41px;
    margin-top: 26px;
  }

  .bar_wrap .candidate_info .name {
    font-size: 16px;
  }

  .bar_wrap .x_bar .num {
    font-size: 16px;
  }

  .bar_wrap .x_bar .num.left.color_change {
    right: -50px;
  }

  .bar_wrap .x_bar .num.right.color_change {
    left: -50px;
  }

}


@keyframes opacity-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes right-animate {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  100% {
    opacity: 1;
    transform: scaleX(100%);
  }
}




/* responsive */
@media all and (max-width: 1024px) {}

@media all and (max-width: 780px) {
  #electionBox {
    display: block;
  }

  #electionBox::after {
    display: none;
  }

  .electionInfo {
    display: block;
    margin-bottom: 16px;
    font-size: 0;
  }

  .subTit {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .electionInfo dd {
    font-size: 14px;
    display: inline-block;
  }

  .electionInfo dd:nth-of-type(1) {
    margin-left: 0;
  }

  .city {
    width: 100%;
  }




  .map {
    margin: 0 auto 12px;
    width: 100%;
    height: 310px;
  }

  #seoul {
    padding-right: 0;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d7d7d7;
  }

  #busan {
    padding-left: 0;
  }


  #balanceOfPower {
    overflow: hidden;
    margin-bottom: 16px;
  }


  #seoul #balanceOfPower {
    margin-bottom: 0;
  }

  .mapcont {
    max-width: 405px;
    margin: 0 auto;
  }




}


@media all and (max-width: 540px) {
  /* #seoulMap.map {
    margin-bottom: 0;
  } */
}


@media all and (max-width: 330px) {
  .electionInfo dd {
    font-size: 12px;
  }
}