@charset "UTF-8";

#main{
  width: 100%;
  height: 100%;
}
.container{
  display: none;
  width: 100%;
  height: 100%;
  min-width: 1600px;
  padding: 30px 25px;
  margin-left: auto;
  background: #efefef;
  box-sizing: border-box;
}
.container.on{
  display: block;
}
.contents{
  width: 100%;
  padding: 0 30px;
  margin-bottom: 30px;
  background: #fff;
  box-sizing: border-box;
}
/* 검색 영역 */
.searchWrap{
  position: fixed;
  display: flex;
  align-items: center;
  right: 0;
  width: 100%;
  min-width: 1600px;
  padding: 0 30px;
  height: 70px;
  border-bottom: 1px solid #dedede;
  background: #fff;
  box-sizing: border-box;
  z-index: 1000;
}
.toggleBtnWrap{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 18%;
  height: 100%;
  box-sizing: border-box;
}
.toggleBtnWrap:after{
  content: '';
  width: 1px;
  height: 30px;
  margin-left: 30px;
  box-sizing: border-box;
  background: #ccc;
}
.toggleBtnWrap p{
  width: 100px;
}
.toggleBtnWrap p:last-of-type{
  text-align: right;
}
.toggleBtnWrap .toggleBtn{
  width: 50px;
  height: 25px;
  margin-top: 2px;
  margin-right: 10px;
  cursor: pointer;
  transition: 300ms;
}
.toggleBtnWrap .toggleBtn img{
  width: 100%;
  height: auto;
}
.toggleBtnWrap .toggleBtn img.right{
  display: none;
}
.toggleBtnWrap .toggleBtn.on img.right{
  display: block;
}
.toggleBtnWrap .toggleBtn.on img.left{
  display: none;
}
.timeContainer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 50%;
  padding: 0 30px;
  box-sizing: border-box;
}
.timeContainer .timeWrap{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.timeWrap .inputWrap{
  position: relative;
  width: 140px;
  cursor: pointer;
}
.timeWrap .inputWrap > input{
  width: 100%;
  cursor: pointer;
}
.timeWrap .inputWrap_img{
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.btn_black{
  padding: 10px 25px;
  background: #262626;
  color: #fff;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: 300ms;
}
.btn_black:hover{
  border: 1px solid #262626;
  color: #262626;
  background: #fff;
  box-sizing: border-box;
}

.checkWrap.off{
  display: none;
}

/* 도면 영역 */
.contents.mapWrap{
  padding: 0;
}
.mapContainer{
  width: 100%;
  height: 100%;
}
.mapWrap{
  position: relative;
  width: 100%;
  height: 700px;
  margin-top: 70px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}
.map{
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.mapDiv{
  width: 100%;
  height: 100%;
  background: url('../images/mapBorder.svg')no-repeat left top / 100%;
  background-size: 1855px 685px;
  overflow: hidden;
}
.map .road {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 30px;
  height: 15px;
  background: #eee;
  font-size: 7px;
  text-align: center;
  line-height: 14px;
  letter-spacing: -0.3px;
  /* border: 1px solid ; */
  color: #555;
  box-sizing: border-box;
}
  .road.g,
  .mapTooltip ul li.g:before{
    background: #95cb86;
    /* color: #fff; */
  }
  .road.yg,
  .mapTooltip ul li.yg:before{
    background: #bde5a8;
    /* color: #fff; */
  }
  .road.y,
  .mapTooltip ul li.y:before{
    background: #f0dd97;
  }
  .road.o,
  .mapTooltip ul li.o:before{
    background: #f7b871;
  }
  .road.r,
  .mapTooltip ul li.r:before{
    background: #f3a2a2;
  }
  .skewWrap{
    transform: skewX(-22deg);
  }
  .lineWrap {
  position: absolute;
  left: -8px;top:-70px;width:100%;height:100%;
  pointer-events:none;
}
.lineSvg { width:100%; height:100%; overflow:visible; }
.wIcon:after,
 .sIcon:after,
 .eIcon:after{
  content: 'W';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #Fff;
  z-index: 1;
  border: 1px solid #333;
  color: #333;
  font-weight: bold;
  font-size: 10px;
  line-height: 11px;
  }
 .sIcon:after{
  content: 'S';
  }
  .eIcon:after{
  content: 'E';
  }
  .arrow:after{
    content: '<';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    color: #111;
    font-weight: bold;
    font-size: 15px;
    z-index: 1;
  }
.containBox{
  position: absolute;
  width: 30px;
  height: 15px;
  font-size: 9px;
  padding-left: 5px;
  letter-spacing: -0.3px;
  border: 1px solid #bbb;
  box-sizing: border-box;
  color: #111;
  display: flex;
  align-items: center;
  z-index: 1;
  background: rgba(0, 0, 0, 0.025);
}
.containBox .containInfo{
  display: flex;
  align-items: center;
  gap: 2px;
}
.containBox.small{
  padding-left: 2px;
}
.containBox.small .containInfo{
  flex-direction: column;
  align-items: flex-start;
}
.containBox .fill{
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  z-index: -1;
  display: flex;
  background: rgba(0, 0, 0, 0.22);
}
.dock{
  position: absolute;
  border: 1px solid #bbb;
  width: 30px;
  height: 15px;
  font-size: 9px;
  text-align: center;
  line-height: 12px;
  letter-spacing: -0.3px;
  box-sizing: border-box;
  color: #888;
}
.road.bgHide{
  background: #eee;
  color: #888;
}
/* 테이블 영역 */
.tableWrap{
  width: 100%;
  padding: 30px;
  box-sizing: border-box;
}
.tableWrap table{
  width: 100%;
  border: 1px solid #f0f0f0;
  border-bottom: none;
}
.tableWrap th{
  padding: 18px 0;
  background: #fbfbfb;
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  color: #777;
}
.tableWrap th:last-of-type{
  border-right: none;
}
.tableWrap td{
  padding: 8px 15px;
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.tableWrap td:last-of-type{ 
  border-right: none;
}
.container.detailInfo .tableWrap{
  margin-top: 70px;
}
.detailInfo td,
.detailInfoPop td{
  text-align: right;
}
.detailInfo td:first-of-type,
.detailInfoPop td:first-of-type{
  text-align: left;
}

/* 도면 혼잡도 툴팁 */
.mapTooltip{
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 15px 25px;
  border: 1px solid #aaa;
  border-radius: 5px;
  background: #fff;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
}
.mapTooltip ul{
  display: flex;
  align-items: center;
  gap: 24px;
}
.mapTooltip ul li{
  display: flex;
  align-items: center;
}
.mapTooltip ul li:before{
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  margin-right: 6px;
  border-radius: 50%;
  background: #eee;
}
/* 팝업 */
.dim{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
}
.popContainer{
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
  background: #fff;
  width: 80%;
  height: 90%;
  min-width: 1300px;
  overflow-y: auto;
}
.dim.show,
.popContainer.show{
  display: block;
}
.popContainer::-webkit-scrollbar {
    width: 5px;
}
.popContainer::-webkit-scrollbar-track {
    background-color: #eee;
}
.popContainer::-webkit-scrollbar-thumb { 
    background-color: #777;
    border-radius: 50px;
}
.popContainer::-webkit-scrollbar-button {
    display: none;
}
.popWrap{
  width: 100%;
  padding: 0 30px 30px 30px;
  box-sizing: border-box;
}
.popHeader{
  position: sticky;
  width: 100%;
  padding: 30px 0 10px 0;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  z-index: 1;
}
.closeBtn{
  cursor: pointer;
}
.popHeader h3{
  font-size: 18px;
}
.popContents{
  width: 100%;
}
.popBtn button{
  font-family: initial;
}
.mapInfo .tableWrap .popBtn,
.popContents .popBtn,
.popContents .routeBtn {
  text-align: center;
}
.mapInfo .tableWrap .mapPop,
.popContents .popBtn button,
.popContents .routeBtn button{
  padding: 2px 14px 4px 14px;
  border-radius: 50px;
  background: #1f9483;
  color: #fff;
  border: 1px solid transparent;
  transition: 300ms;
  font-size: 12px;
}
.mapInfo .tableWrap .mapPop:hover,
.popContents .prevBtn:hover,
.popContents .routeBtn button:hover{
  background: #fff;
  color: #1f9483;
  border: 1px solid #1f9483;
}
/* 팝업 공통 */
body.noScroll{
  overflow: hidden;
}
.currentData td{
  font-weight: bold;
}
.currentData td:last-of-type{
  text-align: center;
}
.detailInfo .tableWrap .detailPop{
  color: #1f9483;
}
.detailInfo .tableWrap .detailPop:hover{
  text-decoration: underline; 
}
.detailInfoPop .tableWrap{
  padding: 30px 0;
}
.detailInfoPop .graphWrap{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}
.detailInfoPop .graphWrap .graph{
  width: calc((100% / 3) - 15px);
  height: 260px;
  max-height: 260px;
  background: #ccc;
  text-align: center;
}
.detailInfoPop .selectList{
  padding-top: 20px;
}
.detailInfoPop .workList td:nth-of-type(1),
.detailInfoPop .workList td:nth-of-type(2){
  text-align: left;
}

/* 도면 팝업 내용 */
.popContainer .popHeader .checkWrap{
  margin-right: 30px;
}
.popContainer.mapInfoPop{
  width: 98%;
  height: 96%;
  min-width: auto;
}
.mapInfoPop .popWrap{
  padding: 0 10px;
}
.mapInfoPop .popHeader{
  padding: 30px 30px 20px 30px;
  box-sizing: border-box;
}
.mapInfoPop .popMapWrap{
  height: 630px;
  overflow: hidden;
}
.mapInfoPop .mapTooltip {
  bottom: 90px;
  left: 30px;
}
.mapInfoPop .map{
  transform: scale(0.88) translateY(-55px);
}
.mapInfoPop .mapWrap{
  margin-top: 0;
   /* transform: scaleY(0.95) translateY(-55px); */
}

.mapInfoPop .routeList{
  display: flex;
  align-items: center;
  gap: 10px;
}
.mapInfoPop .routeList p > span{
  padding-left: 6px;
}
.mapInfoPop .routeList p > span > img{
  display: inline-block;
}
.mapInfoPop .tableWrap{
  padding-top: 0;
}