@charset "UTF-8";

/* 가입 가능여부 확인(SVG 지도) — CI3 consulting.css 지도 절 이식(값 그대로).
   스코프만 재구축 골격에 맞춤: CI3 .container/.content → .consulting-content.
   con-header·LNB·레이어는 lnb.css/reserve.css 공용. 브랜드 무관 고정색이라 shared 1벌
   (사이트별 값은 layout.css --brand-* 토큰). */

/* CI3 common_layout.css:8-9 main.sub .con_header(margin-bottom 20) · .title(24px · 500 · 선 없음) 그대로(깜빡이 대조). */
.con-header { position: relative; margin-bottom: 20px; z-index: 1; }   /* common_layout.css:8 `main.sub .con_header` */
.con-header .title { font-size: 24px; font-weight: 500; }

.f_right { float: right !important; }

/* 상단 안내 밴드 — CI3 .content_main_wrap(공유 배경 이미지 그대로). */
.content_main_wrap { width: 100%; background: url(/images/shared/consulting/join-map/consulting_img_01.png) no-repeat #f7f7f7; box-sizing: border-box; padding-bottom: 40px; }
.content_main_wrap .content_header { height: 240px; padding-top: 60px; font-size: 16px; font-weight: 500; text-align: center; color: #fff; line-height: 22px; box-sizing: border-box; }
.content_main_wrap .content_header label { color: #fff200; }

/* 지도 카드 골격 */
.consulting-content section.map { width: 900px; margin: 0 auto; padding: 0; box-sizing: border-box; min-height: 300px; box-shadow: 0 4px 9px 3px rgba(0, 0, 0, 0.1); border: 1px solid #E5E5E5; background: #fff; }
.consulting-content section.map article { position: relative; padding: 0 30px 30px; }
section.map .optionWrap { padding: 34px 30px 30px; box-sizing: border-box; color: #8491a7; line-height: 30px; }
section.map .optionWrap label { color: #3267e9; }

/* 면허 select — CI3 는 select2 플러그인 렌더(.ij_select2_container 30px/#aab6cb/13px · 검색칸 + 목록).
   재구축 = 팀 표준 Tom Select(SynerUsersite.initSearchSelect · 펼친 목록·검색칸 스킨 = css/shared/form-controls.css).
   Tom Select 는 원본 class(`ij_select2 f_right`)를 래퍼 `.ts-wrapper` 에 옮긴다 — 아래 규칙은 그 래퍼·칸을 잡는다. */
/* 폭 = CI3 select2 기본 width:resolve(감춘 네이티브 select 폭) 원문 실측 161px · 컨테이너는 f_right 를 물려받지 않아 왼쪽 정렬
   (220↔161). 래퍼가 받은 `.f_right !important` 를 이기려고 float 도 !important. */
/* 닫힌 칸 겉모양 = select2 렌더: 높이 30 · 글자 왼쪽 8 · 오른쪽 20(`.select2-selection__rendered`) ·
   화살표 = 회색 세모(`.select2-selection__arrow b` border 5px 4px 0 #888 · 오른쪽 칸 20px 가운데 · 펼치면 뒤집힘) · 세로 자리 = 래퍼 `vertical-align: middle`(form-controls.css). */
section.map .optionWrap .ts-wrapper.ij_select2 { float: none !important; width: 168px; position: relative; top: -1px; }   /* 원문 재실측 168 · 칸 위 1px(Google 글꼴을 받은 상태의 resolve 폭 · select2 선택 칸이 컨테이너보다 1px 위) */
/* 오른쪽 20 = 변수로 — Tom Select 기본 css 가 `padding-right: max(--ts-pr-min, --ts-pr-caret 2rem) !important` 로 덮는다. */
section.map .optionWrap .ts-wrapper.ij_select2 .ts-control { height: 30px; min-height: 30px; padding: 0 20px 0 8px; --ts-pr-caret: 20px; line-height: 28px; color: #8491a7; }
section.map .optionWrap .ts-wrapper.ij_select2 .ts-control > .item { color: inherit; }   /* 전역 글자색(#202020)을 받지 않고 칸 색(#8491a7 · hover #5c667b)을 따른다 */
section.map .optionWrap .ts-wrapper.ij_select2.focus .ts-control { border-color: #aab6cb; }   /* select2 단일 칸은 포커스·펼침에도 테두리색이 그대로(공용 스킨의 브랜드색 포커스를 받지 않는다) */
section.map .optionWrap .ts-wrapper.ij_select2 .ts-control:hover { border-color: #5c667b; color: #5c667b; }
section.map .optionWrap .ts-wrapper.ij_select2 .ts-control::after { right: 6px; margin-top: -1px; border-width: 5px 4px 0; border-color: #888 transparent transparent; }   /* select2 화살표는 선택 칸보다 2px 낮은 컨테이너 기준(기본 -3 → -1) */
section.map .optionWrap .ts-wrapper.ij_select2.dropdown-active .ts-control::after { border-width: 0 4px 5px; border-color: transparent transparent #888; }
/* 펼친 목록 = select2 기본 스킨(jb.select2/select2.min.css — 전기넷 전용 덮개는 ij_layout_jungi.css:502 float 뿐) · 이 화면 한정(공용 스킨 form-controls.css 불변 · 부품은 그대로).
   select2 목록은 body 에 붙어 body 글꼴(14px · 줄 30 · #202020)을 받고, 칸 아래에 위 테두리 없이 이어진다(--below). */
section.map .optionWrap .ts-wrapper.ij_select2 .ts-dropdown { margin: 0; border: 1px solid #aaa; border-top: 0; border-radius: 0 0 4px 4px; box-shadow: none; font-size: 14px; line-height: 30px; color: #202020; }
section.map .optionWrap .ts-wrapper.ij_select2 .ts-dropdown .dropdown-input-wrap { padding: 4px; border-bottom: 0; }
section.map .optionWrap .ts-wrapper.ij_select2 .ts-dropdown .dropdown-input,
section.map .optionWrap .ts-wrapper.ij_select2 .ts-dropdown .dropdown-input:focus { display: inline-block; vertical-align: middle; box-sizing: border-box; width: 100%; padding: 4px; border-color: #aaa; font-size: 14px; }   /* 원문 칸은 줄(30) 안에 middle 로 앉아 위 틈 2.2px · 감싸개 40.2 */
section.map .optionWrap .ts-wrapper.ij_select2 .ts-dropdown-content { max-height: 200px; }
section.map .optionWrap .ts-wrapper.ij_select2 .ts-dropdown .option { padding: 6px; }
section.map .optionWrap .ts-wrapper.ij_select2 .ts-dropdown .option.selected { background: #ddd; color: inherit; }   /* [aria-selected=true] */
section.map .optionWrap .ts-wrapper.ij_select2 .ts-dropdown .option.active { background: #5897fb; color: #fff; }   /* --highlighted(뒤에 와서 선택 행보다 이긴다) */

/* 지도 본체 */
article .map_graph { transition: width .8s ease 0; position: relative; box-sizing: border-box; width: 838px; height: 735px; padding: 0; opacity: 1; }
article.selected_map .map_graph { transition: width .8s ease 0; width: 616px; }
article .map_graph svg { position: absolute; left: 50%; transform: translateX(-50%); }
article .map_graph svg text.text_label { font-size: 15px; fill: #fff; }
article .map_graph svg .map_bg path { fill: #F5F5F5; }
article .map_graph svg .map_bg:hover path { stroke: #999; stroke-width: 1px; }
article .map_graph.non_hover svg .map_bg:hover path { stroke: none; }
article .map_graph .localWrap path.local_map { fill: #d7dce5; stroke: #FFF; }
article .map_graph .localWrap text.text_label { fill: #8491a7; }
article .map_graph .localWrap:hover path.local_map { fill: #acb6cb; }
article .map_graph.non_hover .localWrap:hover path.local_map { fill: #d7dce5; }
article .map_graph .localWrap.type1 path.local_map { fill: #e5f5e7; stroke: #FFF; }
article .map_graph .localWrap.type2 path.local_map { fill: #dee9ff; stroke: #FFF; }
article .map_graph .localWrap.type3 path.local_map { fill: #efdad3; stroke: #FFF; }
article .map_graph .localWrap.type4 path.local_map { fill: #ffd8d9; stroke: #FFF; }
article .map_graph .localWrap.type1 path.labelWrap { fill: #12a15f; }
article .map_graph .localWrap.type2 path.labelWrap { fill: #4a86fe; }
article .map_graph .localWrap.type3 path.labelWrap { fill: #9b6350; }
article .map_graph .localWrap.type4 path.labelWrap { fill: #e66c70; }
article .map_graph .localWrap.type1 text.text_label { fill: #12a15f; }
article .map_graph .localWrap.type2 text.text_label { fill: #4a86fe; }
article .map_graph .localWrap.type3 text.text_label { fill: #9b6350; }
article .map_graph .localWrap.type4 text.text_label { fill: #e66c70; }

.localWrap .labelWrap text { font-size: 13px; fill: #fff; }
.localWrap .labelWrap path { transform: translate(0, 11px); fill: #acb6cb; }
.localWrap.type1 .labelWrap path { fill: #12a15f; }
.localWrap.type2 .labelWrap path { fill: #4a86fe; }
.localWrap.type3 .labelWrap path { fill: #9b6350; }
.localWrap.type4 .labelWrap path { fill: #e66c70; }
.localWrap[local=L1] .labelWrap { transform: translate(17px, 161px); }
.localWrap[local=L10] .labelWrap { transform: translate(436px, 400px); }
.localWrap[local=L11] .labelWrap { transform: translate(320px, 353px); }
.localWrap[local=L12] .labelWrap { transform: translate(256px, 521px); }
.localWrap[local=L13] .labelWrap { transform: translate(457px, 483px); }
.localWrap[local=L14] .labelWrap { transform: translate(422px, 569px); }
.localWrap[local=L15] .labelWrap { transform: translate(388px, 690px); }
.localWrap[local=L16] .labelWrap { transform: translate(88px, 325px); }
.localWrap[local=L17] .labelWrap { transform: translate(85px, 572px); }
.localWrap[local=L19] .labelWrap { transform: translate(27px, 272px); }
.localWrap[local=L2] .labelWrap { transform: translate(10px, 392px); }
.localWrap[local=L3] .labelWrap { transform: translate(203px, 284px); }
.localWrap[local=L4] .labelWrap { transform: translate(118px, 447px); }
.localWrap[local=L5] .labelWrap { transform: translate(-24px, 520px); }
.localWrap[local=L6] .labelWrap { transform: translate(114px, 91px); }
.localWrap[local=L7] .labelWrap { transform: translate(7px, 91px); }
.localWrap[local=L8] .labelWrap { transform: translate(147px, 208px); }
.localWrap[local=L9] .labelWrap { transform: translate(292px, 147px); }

/* 범례 */
article .map_legend { margin-top: 30px; padding: 30px 0 0 170px; border-top: 1px solid #d7dce5; line-height: 25px; }
article .map_legend label { color: #3267e9; }
article .map_legend span { width: 80px; height: 20px; margin-right: 10px; display: inline-block; line-height: 20px; font-size: 13px; color: #fff; border-radius: 10px; text-align: center; }
article .map_legend span:nth-of-type(1) { background-color: #12a15f; }
article .map_legend span:nth-of-type(2) { background-color: #4a86fe; }
article .map_legend span:nth-of-type(3) { background-color: #9b6350; }
article .map_legend span:nth-of-type(4) { background-color: #e66c70; }

/* 지역 라벨 점·연결선 */
.localWrap circle { r: 3px; fill: #333; }
.localWrap line { stroke-width: 1px; stroke: #333; }

article.selected_local .localWrap circle { fill: #8491a7; }
article.selected_local .localWrap line { stroke: #8491a7; }
article.selected_local .localWrap:hover circle { fill: #333; }
article.selected_local .localWrap:hover line { stroke: #333; }

.localWrap[local=L6] circle { cx: 31px; cy: 78px; }
.localWrap[local=L10] circle { cx: -109px; cy: 52px; }
.localWrap[local=L13] circle { cx: -44px; cy: 21px; }
.localWrap[local=L14] circle { cx: -33px; cy: -14px; }
.localWrap[local=L19] circle { cx: 138px; cy: 39px; }
.localWrap[local=L2] circle { cx: 171px; cy: -31px; }
.localWrap[local=L5] circle { cx: 118px; cy: 22px; }
.localWrap[local=L7] circle { cx: 96px; cy: 80px; }

/* hover 강조(CI3 중복 선언 포함 그대로) */
article .map_graph .localWrap:hover path.local_map { fill: #acb6cb; }
article .map_graph .localWrap:hover text { fill: #FFF; }
article .map_graph.non_hover .localWrap:hover text { fill: #8491a7; }
article .map_graph .localWrap.type1:hover path.local_map { fill: #baecc2; }
article .map_graph .localWrap.type2:hover path.local_map { fill: #c4d8ff; }
article .map_graph .localWrap.type3:hover path.local_map { fill: #dec7bf; }
article .map_graph .localWrap.type4:hover path.local_map { fill: #ffc6c8; }
article .map_graph .localWrap.type1:hover text.text_label { fill: #12a15f; }
article .map_graph .localWrap.type2:hover text.text_label { fill: #4a86fe; }
article .map_graph .localWrap.type3:hover text.text_label { fill: #9b6350; }
article .map_graph .localWrap.type4:hover text.text_label { fill: #e66c70; }

/* 지역 선택 상태 — 클릭된 지역만 착색 */
article.selected_local .map_graph .localWrap path.local_map { fill: #d7dce5; stroke: #FFF; }
article.selected_local .map_graph .localWrap text.text_label { fill: #8491a7; }
article.selected_local .map_graph .localWrap.click.type1 path.local_map { fill: #e5f5e7; stroke: #FFF; }
article.selected_local .map_graph .localWrap.click.type2 path.local_map { fill: #dee9ff; stroke: #FFF; }
article.selected_local .map_graph .localWrap.click.type3 path.local_map { fill: #efdad3; stroke: #FFF; }
article.selected_local .map_graph .localWrap.click.type4 path.local_map { fill: #ffd8d9; stroke: #FFF; }
article.selected_local .map_graph .localWrap.click.type1 path.labelWrap { fill: #12a15f; }
article.selected_local .map_graph .localWrap.click.type2 path.labelWrap { fill: #4a86fe; }
article.selected_local .map_graph .localWrap.click.type3 path.labelWrap { fill: #9b6350; }
article.selected_local .map_graph .localWrap.click.type4 path.labelWrap { fill: #e66c70; }
article.selected_local .map_graph .localWrap.click.type1 text.text_label { fill: #12a15f; }
article.selected_local .map_graph .localWrap.click.type2 text.text_label { fill: #4a86fe; }
article.selected_local .map_graph .localWrap.click.type3 text.text_label { fill: #9b6350; }
article.selected_local .map_graph .localWrap.click.type4 text.text_label { fill: #e66c70; }

/* 우측 관내 패널 */
article .jurisdictional { float: right; width: 221px; height: 735px; background-color: #fff; transition: opacity .8s ease 0; opacity: 0; border: 1px solid #DDD; border-right: none; }

article.selected_map .jurisdictional { transition: opacity .8s ease 0; opacity: 1; }

article .jurisdictional .jurisdictional_title { width: 100%; }
article .jurisdictional table { text-align: center; table-layout: fixed; }
article .jurisdictional table th, article .jurisdictional table td { border-right: 1px solid #DDD; border-top: 1px solid #DDD; }
article .jurisdictional table td { padding-left: 20px; }
article .jurisdictional .jurisdictional_title thead th { border-top: none; height: 31px; background-color: #F0F5FE; font-weight: 700; font-size: 14px; color: #5080E9; }
article .jurisdictional .jurisdictional_title tbody th { height: 31px; background-color: #F9F9F9; color: #555; }
article .jurisdictional .jurisdictional_title tbody td { height: 31px; font-weight: 700; font-size: 14px; color: #5080E9; border-bottom: 1px solid #DDD; }
/* 원문 consulting.css:130-132 height 31 은 content-box 전제(머리 34) — 재구축 전역 border-box 면 31(깜빡이 대조 · 표 62↔67). */
article .jurisdictional .jurisdictional_title th, article .jurisdictional .jurisdictional_title td { box-sizing: content-box; }
article .jurisdictional .jurisdictional_content { height: 670px; overflow-x: hidden; overflow-y: scroll; margin-top: -1px; }
article .jurisdictional .jurisdictional_content::-webkit-scrollbar { width: 15px; border: 1px solid #ddd; }
article .jurisdictional .jurisdictional_content::-webkit-scrollbar-thumb { background: #AAA; }
article .jurisdictional .jurisdictional_content table { width: 206px; }
article .jurisdictional .jurisdictional_content table tr { height: 32px; }
article .jurisdictional .jurisdictional_content table th, article .jurisdictional .jurisdictional_content table td { color: #555; }
article .jurisdictional .jurisdictional_content table td.type1 { color: #12a15f; }
article .jurisdictional .jurisdictional_content table td.type2 { color: #4a86fe; }
article .jurisdictional .jurisdictional_content table td.type3 { color: #9b6350; }
article .jurisdictional .jurisdictional_content table td.type4 { color: #e66c70; }

/* SVG 라벨 초기 은닉 유틸 — CI3 common.css .displayNone 등가(지도 라벨/연결선이 소비).
   JS(show/hide)는 인라인 display 로 덮는다(jQuery show/hide 재현). */
.displayNone { display: none; }
