@charset "UTF-8";

/*
 * 고객센터 공용 골격 — 서브 2단 · LNB · 화면 머리 · 분류/안내 탭 · FAQ 목록/검색/페이저 · 상세 · 이전다음.
 *
 * 화면 하나에만 필요한 규칙은 `{화면}.css`(cost-info · guide · analysis-program)가 갖는다.
 *
 * 원천 = CI3 전역 규칙을 화면 뿌리(`.service-center-sub`) 아래로 내려 국소 복원한 것(내역서·커뮤니티 화면과 같은 방식 —
 * 보이는 결과는 같고 새는 곳만 막힌다). 값의 원문 좌표:
 *   - LNB `.snb` · 서브 2단 · `.content` 960 · 이전다음 `.navi_notice` = `resource/common/css/common_layout.css`
 *   - 탭 `ul.tab_menu.box` · `.sub_tab` · 목록 표 `.ij_table` · 검색 `.ij_search.search_type2` · 페이저 = `ij_layout.css`
 *   - 폭 유틸 `.wd-p-20/25/100`(`!important`) · `.mb-0` · `.pt-3` · `.mt-2` = `common.css`
 *   - 상세 본문 `.detail_con` · `.notice .content_wrap` 최소 높이 = `community.css`(원문이 고객센터 전 화면에 싣는다)
 * 목록·검색·페이저·상세·이전다음 블록의 **값**은 같은 원문을 이식해 라이브 대조를 거친 `css/shared/community/community.css`
 * 블록과 같다(파일을 싣지는 않는다 — 다른 화면군 CSS 를 끌어 쓰지 않는다).
 *
 * 사이트 색 = 토큰 하나. CI3 는 파랑(#3267e9)을 박고 전기넷만 `body.jungi` 로 덮었다(`ij_layout_jungi.css:3785~3827`).
 */

/* 원문 고객센터도 `community.css` 를 싣는다 — 그 `:2` css2 `@import` 짝 = 노토 100·300 CDN 가변 파일 */
@import url(/css/shared/fonts/noto-sans-kr-100-300.css);

:root {
    --service-center-point: #3267e9;
    --service-center-point-bg: #f4f6fa;
}

body[data-site="jungi"] {
    --service-center-point: #00993a;
    --service-center-point-bg: #f4faf4;
}

/* ── 서브 2단 레이아웃 ── 본문 바깥 여백·최소 높이는 레이아웃 `.site-main`(= CI3 `main.sub{padding:50px 0 150px}` · `main{min-height:1000px}`)이 갖는다 —
   여기서 더하지 않는다. */
.service-center-sub {
    display: flex;
    align-items: flex-start;
}

.service-center-content {
    width: 960px;
}

/* `community.css:58` `main.sub .notice .content_wrap{min-height:600px}` — 원문 래퍼가 `content notice` 인 화면만(상세·가이드) */
.service-center-content.notice .content_wrap {
    overflow: hidden;
    min-height: 600px;
}

/* ── 유틸(원문 `common.css` — `!important` 승자 그대로) ── */
.service-center-content .wd-p-20 { width: 20% !important; }
.service-center-content .wd-p-25 { width: 25% !important; }
.service-center-content .wd-p-100 { width: 100% !important; }
.service-center-content .mb-0 { margin-bottom: 0 !important; }
.service-center-content .pt-3 { padding-top: 16px !important; }
.service-center-content .clear { clear: both; }
/* `common.css:62` `.ta-c{text-align:center !important}` — 목록 `table.ta-c` 자신의 정렬(th·td 는 아래 표 규칙이 이미 준다) */
.service-center-content .ta-c { text-align: center !important; }

/* 원문 `main{overflow:hidden}`(`common_layout.css:4` · 전 `common_layout_jungi.css:4`) — 요금안내 「맨 위로」 버튼
   (`translateX(730px)`)이 좁은 폭(1366)에서 본문 밖으로 나가도 원문은 main 이 잘라 가로 스크롤이 없다.
   사이트 레이어 `.site-main` 은 전 화면 공용이므로 고객센터 화면이 실릴 때만 같은 규칙을 건다. */
.site-main:has(.service-center-sub) { overflow: hidden; }

/* 원문 전역 content-box — 재구축 사이트 레이어 `* {box-sizing:border-box}` 아래서 원문 폭·높이 계산을 되살린다
   (rect 는 같고 computed 폭·높이 문자열만 갈리던 자리 — 원문은 이 요소들에 box-sizing 선언이 없다). */
.service-center-lnb h2,
.service-center-content .con_header .title,
.service-center-content ul.tab_menu.box,
.service-center-content section.pt-3,
.service-center-content .ij_table.board th.title .info,
.service-center-content .community-prev-next {
    box-sizing: content-box;
}

/* ── LNB ── `common_layout.css:21~29` `main.sub .snb` */
.service-center-lnb {
    width: 200px;
    margin-right: 40px;
    flex: none;
}

/* margin-top 0 명시 — 우리 전역은 h2 여백을 지우지 않는다. */
.service-center-lnb h2 {
    margin: 0 0 20px;
    padding: 0 0 20px 20px;
    border-bottom: 1px solid #8491a7;
    font-size: 24px;
    font-weight: 700;
}

.service-center-lnb section {
    margin-bottom: 30px;
}

/* CI3 content-box — width:100% + padding-left 20 이 200 컬럼을 20 넘친다(레거시 지오메트리 그대로). */
.service-center-lnb ul li {
    width: 100%;
    box-sizing: content-box;
    padding: 0 0 10px 20px;
}

.service-center-lnb ul li:last-of-type {
    padding-bottom: 0;
}

.service-center-lnb ul li a {
    display: block;
}

.service-center-lnb ul li:hover a,
.service-center-lnb ul li.on a {
    color: var(--service-center-point);
}

/* new 배지 — 원문 인라인 `vertical-align:1px; margin-left:5px` */
.service-center-lnb .lnb-new {
    display: inline-block;
    margin-left: 5px;
    vertical-align: 1px;
}

/* ── 화면 머리 ── `common_layout.css:8~9` */
.service-center-content .con_header {
    position: relative;
    margin-bottom: 20px;
}

.service-center-content .con_header .title {
    font-size: 24px;
    font-weight: 500;
}

.service-center-content .con_header .title.line_b {
    padding-bottom: 21px;
    border-bottom: 1px solid #8491a7;
}

/* 건설넷 목록 tpl 만의 인라인 `style="margin-bottom:-20px"`(전기넷 tpl 에 없음) — blade 두 벌을 같게
   두려고 사이트 선택자로 옮겼다(겨루는 규칙 = 위 `margin-bottom:20px` 하나). 빼면 건설넷 표 이하가 원문과 픽셀로 갈린다
   (사각형 22) · 넣으면 0. 본문 아래 빈 여백 높이만 원문과 다르다(전·건 모두 −9 — 공통 여백). */
body[data-site="igunsul"] .service-center-faq:not(.notice) .con_header {
    margin-bottom: -20px;
}

/* ── 탭 공통 ── `ij_layout.css:2380~2424` `ul.tab_menu.box` base (li float = 전역 reset `ol,li{float:left}`) */
.service-center-content ul.tab_menu.box {
    margin-bottom: 40px;
    overflow: visible;
    padding-left: 1px;
}

.service-center-content ul.tab_menu.box::after {
    display: table;
    content: "";
    clear: both;
}

.service-center-content ul.tab_menu.box > li {
    float: left;
    width: 320px;
    box-sizing: border-box;
    margin-left: -1px;
    position: relative;
    overflow: visible;
}

.service-center-content ul.tab_menu.box > li > a {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    display: inline-block;
    line-height: 46px;
    border: 1px solid #d7dce5;
    font-size: 18px;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
}

.service-center-content ul.tab_menu.box > li:hover > a {
    color: var(--service-center-point);
    border: 1px solid var(--service-center-point);
    z-index: 1;
}

/* base 규칙의 `z-index:1` 을 변종(.line)에서도 잃지 않는다(두 규칙을 한 규칙으로 접지 말 것). */
.service-center-content ul.tab_menu.box > li.current > a {
    color: #fff;
    border: 1px solid var(--service-center-point);
    background-color: var(--service-center-point);
    z-index: 1;
}

.service-center-content ul.tab_menu.box.line > li.current > a {
    border: 1px solid var(--service-center-point);
    color: var(--service-center-point);
    background: #ffffff;
}

/* `.light`(`:2499~2502`) */
.service-center-content ul.tab_menu.box.light > li > a {
    font-size: 14px;
    font-weight: 400;
}

/* 하위 탭 — hover 로만 열린다(`:2426~2462` · JS 없음 · 원문 동형) */
.service-center-content ul.tab_menu.box ul.sub_tab {
    width: 100%;
    display: none;
    position: absolute;
    left: 0;
    top: 50px;
    z-index: 10;
}

.service-center-content ul.tab_menu.box > li:hover ul.sub_tab {
    display: block;
}

.service-center-content ul.tab_menu.box ul.sub_tab li {
    width: 100%;
    float: none;
}

.service-center-content ul.tab_menu.box ul.sub_tab li a {
    width: 100%;
    display: inline-block;
    border-left: 1px solid #d7dce5;
    border-right: 1px solid #d7dce5;
    border-bottom: 1px solid #d7dce5;
    box-sizing: border-box;
    line-height: 50px;
    height: 50px;
    text-align: center;
    background-color: #ffffff;
    cursor: pointer;
}

/* `.sub_tab.light`(`:2504~2510`) — 높이 30 · 왼쪽 정렬 · 아래 선 없음 */
.service-center-content ul.tab_menu.box ul.sub_tab.light li a {
    height: 30px;
    padding: 0 10px;
    line-height: 30px;
    text-align: left;
    border-bottom: none;
}

.service-center-content ul.tab_menu.box ul.sub_tab.light li:last-of-type a {
    border-bottom: 1px solid #d7dce5;
}

.service-center-content ul.tab_menu.box ul.sub_tab.light li:hover a {
    background-color: var(--service-center-point-bg);
}

.service-center-content ul.tab_menu.box ul.sub_tab li.current a {
    color: var(--service-center-point);
}

/* 전기넷만 하위 탭 hover 글자색이 바뀐다(`ij_layout_jungi.css` `body.jungi … sub_tab li:hover a`). */
body[data-site="jungi"] .service-center-content ul.tab_menu.box ul.sub_tab li:hover a {
    color: var(--service-center-point);
}

/* 분류 탭 래퍼 — 원문 인라인 `style="margin-top:21px"` */
.service-center-faq .faq-tabs {
    margin-top: 21px;
}

/* ── 목록 검색 폼(`layout.partials.search-form` 마크업 — 원문과 숨은 라벨 둘만 다르다) ── `ij_layout.css:1239~1248,395~409,4246~4255`
   글자 크기 13px = 원문 `.ij_search{font-size:13px}`(`:1239-1242`) · 줄높이 30 은 원문 인라인 부모 div 에서 상속(원문은
   inline-block 사이 공백을 두고 입력칸 `margin-left:-3px !important`(`:1248-1251`)로 메운다). */
.service-center-content .ij_search.search_type2 {
    position: relative;
    display: inline-block;
    font-size: 13px;
}

.service-center-content .ij_search.search_type2 .ij_select {
    position: relative;
    display: inline-block;
}

.service-center-content .ij_search.search_type2 .ij_select::before {
    content: "";
    position: absolute;
    top: 13px;
    right: 8px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #8491a7;
    pointer-events: none;
}

.service-center-content .ij_search.search_type2 select {
    height: 30px;
    padding: 0 30px 0 8px;
    font-size: 13px;
    line-height: 26px;
    color: #8491a7;
    background-color: #fff;
    border: 1px solid #aab6cb;
    border-right: none;
    border-radius: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: baseline;
}

@media screen and (max-width: 1800px) {
    .service-center-content .ij_search.search_type2 select {
        width: 67px;
    }
}

.service-center-content .ij_search.search_type2 .ij_input.wd-200 {
    width: 200px;
    height: 30px;
    padding: 4px 28px 5px 8px;
    border: 1px solid #aab6cb;
    border-left: none;
    margin-left: -3px !important;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 19px;
    vertical-align: baseline;
}

.service-center-content .ij_search.search_type2 .ij_input::placeholder {
    color: #8491a7;
}

.service-center-content .ij_search.search_type2 .community-search-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 30px;
    border: 0;
    cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%235c667b' d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E") 6px 7px no-repeat;
    background-size: 15px;
}

/* 검색 입력칸·선택상자 강조 — 원문은 JS(`ij_layout.js:102~112` · 전기넷 `ij_layout_jungi.js:105~115`)가 선택상자·입력칸에
   마우스를 올리거나 초점이 가면 `.ij_search` 에 `on` 을 붙이고, `ij_layout.css:1254~1267`(전기넷 `:1229~1242` 같은 값)이
   두 칸 테두리·선택 글자·화살표를 #5c667b 로 바꾼다(입력칸 `:focus` 의 파랑 `:1075` 은 `!important` 에 진다).
   같은 조건을 `:has(:hover / :focus)` 로 옮겼다 — 돋보기 버튼 위·칸 사이 틈은 원문처럼 강조가 풀린다.
   브라우저 기본 초점 테두리는 원문 `outline:none`(`:1047~1058` · 전기넷 `:1022~1033`) · 선택상자 `outline:0`(`:425` · 전기넷 `:401`)대로 끈다.
   모양은 커뮤니티 `community.css` 같은 블록을 이 화면 스코프로 옮긴 것이다. */
.service-center-content .ij_search.search_type2 .ij_input {
    outline: none;
}

.service-center-content .ij_search.search_type2 select {
    outline: 0;
}

.service-center-content .ij_search.search_type2:has(select:hover, select:focus, .ij_input:hover, .ij_input:focus) select {
    border-color: #5c667b;
    color: #5c667b;
}

.service-center-content .ij_search.search_type2:has(select:hover, select:focus, .ij_input:hover, .ij_input:focus) .ij_select::before {
    border-top-color: #5c667b;
}

.service-center-content .ij_search.search_type2:has(select:hover, select:focus, .ij_input:hover, .ij_input:focus) .ij_input.wd-200 {
    border-top-color: #5c667b;     /* 왼쪽 변은 원문도 none(색 = 글자색) — 세 변만 */
    border-right-color: #5c667b;
    border-bottom-color: #5c667b;
}

.service-center-content .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── 목록 표 ── `ij_layout.css:558~619` */
.service-center-content .ij_table {
    position: relative;
    background-color: #fff;
}

.service-center-content .ij_table table {
    width: 100%;
}

.service-center-content .ij_table table th,
.service-center-content .ij_table table td {
    box-sizing: content-box;
    padding: 9px 10px 10px;
    height: 30px;
}

.service-center-content .ij_table table th {
    font-weight: 500;
    border-top: 1px solid #8491a7;
    border-bottom: 1px solid #8491a7;
}

.service-center-content .ij_table table td {
    border-bottom: 1px solid #aab6cb;
}

.service-center-content .ij_table table.ta-c th,
.service-center-content .ij_table table.ta-c td {
    text-align: center;
}

.service-center-content .ij_table table td.ta-l {
    text-align: left;
}

.service-center-content .ij_table table td.ta-l a {
    cursor: pointer;
}

/* 목록 제목 링크 hover 파랑 = 원문 전역 `a:hover{color:#3267e9}`(`reset.css:25` · `reset_jungi.css:25` 둘 다 같은 값 —
   사이트 색 토큰 ❌). 우리 전역 reset 은 a:hover 를 이식하지 않아 화면이 쥔다(커뮤니티 `td.title a:hover` 와 같다). */
.service-center-content .ij_table table td.ta-l a:hover {
    color: #3267e9;
}

/* 목록 제목 뒤 new 아이콘 — 원문은 `<a>` 안 줄바꿈 뒤 `<img>`(공백 1 + 기본 정렬) */
.service-center-content .ij_table table td.ta-l a img {
    vertical-align: baseline;
}

/* ── 페이저(`layout.partials.pagination-block` 짝) ── `ij_layout.css:1010~1040` · 원문은 주석 */
.service-center-content .paging {
    margin-top: 40px;
    text-align: center;
}

.service-center-content .paging_wrap {
    display: inline-block;
}

.service-center-content .paging a {
    display: block;
    float: left;
    margin: 0 2px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #d7dce5;
    color: #5c667b;
    font-weight: bold;
    box-sizing: border-box;
}

.service-center-content .paging a.act {
    color: #3267e9;
    border-color: #3267e9;
}

.service-center-content .paging .prev {
    margin-right: 8px;
    background: url(/images/shared/icon/arrow-prev.png) no-repeat center center;
}

.service-center-content .paging .next {
    margin-left: 8px;
    background: url(/images/shared/icon/arrow-next.png) no-repeat center center;
}

/* ── 상세 표 ── `ij_layout.css:586~602,753~787` */
.service-center-content .ij_table.type1 table {
    border-top: 1px solid #5c667b;
}

.service-center-content .ij_table.board table {
    table-layout: fixed;
}

.service-center-content .ij_table.board th.title {
    padding: 15px 20px;
    text-align: left;
    background: #f1f5ff;
    border-top: none;
    border-bottom: 1px solid #aab6cb;
}

/* 원문 FAQ 상세 tpl 의 제목은 클래스 없는 `<h3>` 라 크기·굵기 규칙이 없다(`.ij_title` 규칙은 닿지 않는다) → UA 기본이 원문 값
   (1.17em · bold). 실측 제목 칸 56 → 53.5. */
.service-center-content .ij_table.board th.title h3 {
    margin: 0;
    font-size: 1.17em;
    font-weight: bold;
    text-align: left;
}

.service-center-content .ij_table.board th.title .info {
    margin-top: 10px;
    padding-right: 5px;
    font-weight: 400;
    text-align: right;
}

.service-center-content .ij_table.board td.detail_con {
    padding: 40px;
    border-bottom: 0;
    text-align: left;
}

/* 상세 본문 — `community.css:375~389`(관리자 편집기 마크업의 빈 줄·링크만 원본 규칙대로) */
.service-center-content .detail_con a {
    color: #000;
}

.service-center-content .detail_con a:not(.not_content) {
    color: #00f;
    text-decoration: underline;
    cursor: pointer;
}

.service-center-content .detail_con p {
    min-height: 1.2em;
}

.service-center-content .detail_con br {
    content: "";
    display: block;
    margin: 10px 0;
}

/* ── 이전글/다음글(`layout.partials.prev-next` 마크업) ── `common_layout.css:99~103` */
.service-center-content .community-prev-next {
    border-top: 1px solid #5c667b;
}

.service-center-content .community-prev-next div {
    box-sizing: content-box;
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #aab6cb;
    color: #8491a7;
}

.service-center-content .community-prev-next label {
    padding: 0 50px 0 30px;
    color: #202020;
}

.service-center-content .community-prev-next div a span {
    color: #202020;
}

.service-center-content .community-prev-next div a:hover span {
    color: #3267e9;
}

.service-center-content .community-prev-next .dotdotdot {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ── 상세 '목록' 버튼 ── 원문 `ij_btn primary em_line medium fl_r mt-2`(`ij_layout.css:1381,1418,1639` · `common.css:229`) */
.service-center-content .btn-list {
    display: inline-block;
    float: right;
    margin-top: 8px;
    padding: 9px 35px;
    font-size: 14px;
    font-weight: 500;
    color: #5c667b;
    background-color: #fff;
    border: 1px solid #aab6cb;
    box-sizing: border-box;
    /* 원문은 `<button>` — UA 기본 `text-align:center` */
    text-align: center;
}

/* 원문 실측 — 원문 버튼은 회색 테두리·회색 글자(`.btn-list` 와 같은 값). hover 만 사이트 색. */
.service-center-content .btn-list:hover {
    color: var(--service-center-point);
    border-color: var(--service-center-point);
}

.service-center-content .community-dry-run {
    clear: both;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    font-size: 12px;
    color: #6d6e71;
}

/* ══ 1:1 문의 — 목록·상세 · 원문 1:1 갈래 ══ */

/* 건설넷 목록 tpl 만의 인라인 `margin-bottom:-20px`(FAQ 목록과 같은 tpl 한 장) — FAQ 규칙과 같은 처분 */
body[data-site="igunsul"] .service-center-inquiry:not(.notice) .con_header {
    margin-bottom: -20px;
}

/* 분류 탭 래퍼 — 원문 인라인 `style="margin-top:21px"` */
.service-center-inquiry .inquiry-tabs {
    margin-top: 21px;
}

/* 답변 상태 「답변완료」 — `common.css:22` `.fc_blue{color:#3267e9 !important}`(전기넷 `common_jungi.css:22` 도 같은 파랑) */
.service-center-inquiry .fc_blue {
    color: #3267e9 !important;
}

/* 상세 행 머리(공사명·개찰일·발주처·첨부파일)·칸 — `ij_layout.css:591~604` `.ij_table.type1 table th/td`.
   제목 머리(`th.title`)는 위 상세 표 규칙이 더 높은 특이도로 덮는다(값도 같다 — FAQ 상세 무변화). */
.service-center-inquiry .ij_table.type1 table th {
    padding: 9px 20px 10px;
    font-weight: 500;
    text-align: left;
    background: #f1f5ff;
    border-top: none;
    border-bottom: 1px solid #aab6cb;
}

.service-center-inquiry .ij_table.type1 table td {
    padding: 9px 10px 10px;
    text-align: left;
    border-bottom: 1px solid #aab6cb;
}

/* ── 본문 안 중첩 표 `.sub_table` — `ij_layout.css:929-940`(= `ij_layout_jungi.css:904-912` 동일 · 건·전 공용) ──
 * FAQ·1:1 문의 상세의 본문 칸 `td.detail_con.sub_table` 안에 에디터 HTML 이
 * 표를 품으면 원문은 그 표의 선·칸 여백·높이·th 배경을 전부 지운다. 원문에서 이 규칙(0,2,2)은 기본 표 규칙 `.ij_table table th, td`(:568 · 0,1,2)를
 * 특이성으로, type1 규칙 `.ij_table.type1 table th/td`(:591 · 0,2,2)는 **순서**(:591 < :929)로 이긴다. 여기서도 관계가 같다 —
 * 위 목록 표 규칙(0,2,2)은 특이성으로, 바로 위 1:1 문의 상세 칸 규칙 `.service-center-inquiry .ij_table.type1 table td`(0,3,2)와는
 * 특이성이 같아 **뒤에 두어 순서로 이긴다** · 앞에 두면 그 padding·border-bottom 이 되살아난다(커뮤니티 `community.css:690` 과 같다).
 * 바깥 본문 칸 자체의 여백(`.ij_table.board td.detail_con` · 0,4,1)은 `.sub_table` 안쪽 칸을 겨냥하지 않아 그대로다. */
.service-center-content .ij_table table .sub_table table {
    border: none;
}

.service-center-content .ij_table table .sub_table th,
.service-center-content .ij_table table .sub_table td {
    padding: 0;
    font-weight: normal;
    background: none;
    border: none;
    text-align: left;
}

/* 신세대 첨부 링크 — `ij_layout.css:777~791` `.ij_table.board td a.ij_link(.file)`(아이콘 = 원본 바이트 복사 13×12 · 크기를 누르지 않는다) */
.service-center-inquiry .ij_table.board td a.ij_link:hover {
    text-decoration: underline;
    color: #3267e9;
}

.service-center-inquiry .ij_table.board td a.ij_link.file {
    position: relative;
    padding-left: 20px;
}

.service-center-inquiry .ij_table.board td a.ij_link.file::before {
    content: url("/images/shared/icon/icn_file.png");
    position: absolute;
    left: 0;
    top: 1px;
}

/* 답변 머리 구분자 — `ij_layout.css:99~104` `span.pipe`(전역 요소+클래스 규칙) */
.service-center-inquiry span.pipe {
    margin: 0 0.8em;
    font-size: 0.6em;
    color: #808080;
    vertical-align: 0.35em;
}

/* ══ 1:1 문의 글쓰기 — 페이지·문의하기 팝업·입찰/낙찰 팝업 ══
 *
 * 폼 뿌리 = `form.inquiry-write`(파셜 한 장) — 원문 전역 규칙(`ij_layout.css` · `common.css` · `reset.css`)을 이 뿌리 아래로 내린다.
 * 값·순서·승자는 원문 그대로.
 * 뿌리 한 단을 더 얹어 특이도가 원문보다 (0,1,0) 높지만 **뿌리 안끼리의 우열은 원문 순서·특이도 그대로**다.
 * 사이트 색 = 원문이 `body.jungi` 로 덮은 자리만 토큰(`ij_layout_jungi.css:3466,3472,3477,3831`) — 라디오·체크박스·입력 포커스는
 * 전기넷도 파랑이다(원문 `ij_layout_jungi.css` 사본 값 그대로).
 */

/* ── 팝업 틀 자급(`layout.popup` 은 사이트 `layout.css` 를 싣지 않는다) — `reset.css:2-14` 중 이 화면 요소 몫 ── */
body.popup-body {
    margin: 0;
    background-color: #fff;
}

.service-center-inquiry-popup,
.service-center-inquiry-popup div,
.service-center-inquiry-popup h1,
.service-center-inquiry-popup th,
.service-center-inquiry-popup td,
.service-center-inquiry-popup input,
.service-center-inquiry-popup p,
.service-center-inquiry-popup select,
.service-center-inquiry-popup button,
.service-center-inquiry-popup ul,
.service-center-inquiry-popup li,
.service-center-inquiry-popup textarea {
    color: #202020;
    font-family: 'Noto Sans KR', AppleSDGothicNeo-Regular, '맑은 고딕', 'Malgun Gothic', 나눔고딕, 돋움, Dotum, 굴림, Gulim, 'Apple SD Gothic Neo', sans-serif, verdana;
    letter-spacing: -0.05em;
}

.service-center-inquiry-popup div,
.service-center-inquiry-popup form,
.service-center-inquiry-popup p,
.service-center-inquiry-popup button,
.service-center-inquiry-popup ul,
.service-center-inquiry-popup li {
    margin: 0;
    padding: 0;
    border: 0;
}

.service-center-inquiry-popup,
.service-center-inquiry-popup th,
.service-center-inquiry-popup td,
.service-center-inquiry-popup input,
.service-center-inquiry-popup select {
    font-size: 14px;
    font-weight: normal;
}

.service-center-inquiry-popup table {
    border-collapse: collapse;
    border-spacing: 0;
}

.service-center-inquiry-popup input,
.service-center-inquiry-popup select,
.service-center-inquiry-popup textarea {
    vertical-align: middle;
}

/* ── 팝업 머리·본문 — `ij_layout.css:2525-2551`(전 `ij_layout_jungi.css:3831` 머리 초록) ── */
.ij_popup.service-center-inquiry-popup {
    position: relative;
    width: 100%;
    background: #fff;
    box-sizing: border-box;
}

.service-center-inquiry-popup header {
    height: 60px;
    padding: 0 30px;
    font-weight: 700;
    line-height: 60px;
    font-size: 24px;
    color: #fff;
    background-color: var(--service-center-point);
}

.service-center-inquiry-popup section {
    padding: 30px;
}

.service-center-inquiry-popup .community-dry-run {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    font-size: 12px;
    color: #6d6e71;
}

/* ── 목록·li — `reset.css:13-14`(사이트 `layout.css` 는 `overflow`·`float` 를 옮기지 않았다 — 이 폼 안에서만 되살린다) ── */
.inquiry-write ul,
.inquiry-write li {
    list-style: none;
    overflow: hidden;
}

.inquiry-write li {
    float: left;
}

/* `reset.css:19,22` — 원문 전역 `button{cursor:pointer}` · `a{cursor:pointer}`(사이트 `layout.css` 미이식) */
.inquiry-write button,
.inquiry-write a {
    cursor: pointer;
}

/* ── 유틸 — `common.css:22,62,173,180,194,229-230,255`(`!important` 승자 그대로) · `reset.css:17` `.hide` ── */
.inquiry-write .fc_blue { color: #3267e9 !important; }
.inquiry-write .ta-c { text-align: center !important; }
.inquiry-write .wd-30 { width: 30px !important; }
.inquiry-write .wd-70 { width: 70px !important; }
.inquiry-write .wd-200 { width: 200px !important; }
.inquiry-write .mt-2 { margin-top: 8px !important; }
.inquiry-write .mt-3 { margin-top: 16px !important; }
.inquiry-write .p-0 { padding: 0 !important; }

.inquiry-write .hide {
    position: absolute;
    width: 0;
    height: 0;
    font-size: 0;
    overflow: hidden;
    visibility: hidden;
}

/* ── 버튼 줄 — `ij_layout.css:106-118` · 원문 인라인 `padding-bottom: 0` 은 마크업에 남겼다 ── */
.inquiry-write .submitWrap {
    width: 100%;
    text-align: center;
    padding: 40px 0 20px;
    box-sizing: content-box;   /* 원문 전역 content-box(높이 문자열 40 ↔ 80) */
}

.inquiry-write .submitWrap button {
    margin-right: 8px;
    width: 150px;
}

.inquiry-write .submitWrap button:last-child {
    margin-right: 0;
}

/* ── 라디오 — `ij_layout.css:158-205`(원형 · 파란 점 · 전기넷 사본도 파랑) ── */
.inquiry-write input[type="radio"].ij_radio {
    display: none;
    margin: 0 5px 2px 0;   /* `common_layout.css:59` `input[type="radio"]` — 숨은 칸이라 화면 무변화 · 계산값만 원문 */
}

.inquiry-write input[type="radio"].ij_radio + div {
    margin-right: 4px;
    box-sizing: border-box;
    position: relative;
    padding-left: 20px;
    display: inline-block;
    line-height: 16px;
    vertical-align: baseline;
}

.inquiry-write input[type="radio"].ij_radio + div:hover {
    color: #3267e9;
    cursor: pointer;
}

.inquiry-write input[type="radio"].ij_radio + div::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-block;
    content: "";
    border: 1px solid #3267e9;
    border-radius: 20px;
    background: #fff;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.inquiry-write input[type="radio"].ij_radio:checked + div {
    color: #202020;
}

.inquiry-write input[type="radio"].ij_radio:checked + div::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #3267e9;
    position: absolute;
    top: 4px;
    left: 3px;
    border-radius: 20px;
}

/* ── 체크박스 — `ij_layout.css:256-323`(네모 · 체크 = 흰 꺾쇠 · 포커스 굵은 검정 테두리) ── */
.inquiry-write input.ij_checkbox[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.inquiry-write input.ij_checkbox[type="checkbox"] + div {
    margin-right: 4px;
    box-sizing: border-box;
    position: relative;
    padding-left: 20px;
    display: inline-block;
    line-height: 16px;
    vertical-align: baseline;
}

.inquiry-write input.ij_checkbox[type="checkbox"] + div:hover {
    color: #3267e9;
    cursor: pointer;
}

.inquiry-write input.ij_checkbox[type="checkbox"] + div::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-block;
    content: "";
    border: 1px solid #3267e9;
    border-radius: 2px;
    background: #fff;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.inquiry-write input.ij_checkbox[type="checkbox"]:checked + div {
    color: #333;
}

.inquiry-write input.ij_checkbox[type="checkbox"]:checked + div::after {
    position: absolute;
    top: 4px;
    left: 3px;
    display: inline-block;
    content: "";
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    box-sizing: border-box;
    width: 10px;
    height: 6px;
    transform: rotate(-45deg);
}

.inquiry-write input.ij_checkbox[type="checkbox"]:checked + div::before {
    background: #3267e9;
}

.inquiry-write input.ij_checkbox[type="checkbox"]:focus + div::before,
.inquiry-write input.ij_checkbox[type="checkbox"]:checked:focus + div::before {
    border-width: 2px;
    border-color: black;
}

/* ── 폼 표 — `ij_layout.css:558-570`(기본) · `:586-604`(`.type1`) · th 칸 140 은 원문 인라인 `colgroup` ── */
.inquiry-write .ij_table table {
    width: 100%;
}

.inquiry-write .ij_table table th {
    border-top: 1px solid #8491a7;
    border-bottom: 1px solid #8491a7;
    font-weight: 500;
}

.inquiry-write .ij_table table td {
    border-bottom: 1px solid #aab6cb;
}

.inquiry-write .ij_table table th,
.inquiry-write .ij_table table td {
    padding: 9px 10px 10px 10px;
    height: 30px;
}

.inquiry-write .ij_table.type1 table {
    width: 100%;
    border-top: 1px solid #5c667b;
}

.inquiry-write .ij_table.type1 table th {
    padding: 9px 20px 10px 20px;
    font-weight: 500;
    background: #f1f5ff;
    border-top: none;
}

.inquiry-write .ij_table.type1 table td {
    padding: 9px 10px 10px 10px;
}

.inquiry-write .ij_table.type1 table th,
.inquiry-write .ij_table.type1 table td {
    border-bottom: 1px solid #aab6cb;
    text-align: left;
}

/* ── 분류 칸 넷씩 — `ij_layout.css:962-985` ── */
.inquiry-write ul.ij_ul_stretch {
    width: 100%;
    overflow: visible;
}

.inquiry-write ul.ij_ul_stretch li {
    width: 20%;
    padding: 4px 20px;
    box-sizing: border-box;
    overflow: visible;
}

.inquiry-write ul.ij_ul_stretch.stretch_4 li {
    width: 25%;
}

/* ── 입력 — `ij_layout.css:1047-1102`(연락처 3칸은 아래 `.ij_input_union` 이 뒤에서 이긴다 — 원문 순서) ── */
.inquiry-write input.ij_input[type="text"] {
    box-sizing: border-box;
    border: 1px solid #aab6cb;
    font-size: 13px;
    line-height: 19px;
    margin: 0;
    padding: 4px 8px 5px;
    width: 180px;
    vertical-align: baseline;
    outline: none;
}

.inquiry-write input.ij_input[type="text"]::placeholder {
    color: #8491a7;
}

.inquiry-write input.ij_input[type="text"]:focus {
    border: 1px solid #3267e9;
}

.inquiry-write input.ij_input[type="text"]:disabled,
.inquiry-write input.ij_input[type="text"]:read-only {
    border: 1px solid #aab6cb;
    background-color: #f4f6fa;
}

/* ── 첨부 — `ij_layout.css:1204-1237`(파일 입력은 화면에서 숨기고 라벨이 버튼 노릇) ── */
.inquiry-write .ij_file {
    white-space: nowrap;
}

.inquiry-write .ij_file label {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px 5px;
    color: #fff;
    border: 1px solid #8491a7;
    background-color: #8491a7;
    box-sizing: border-box;
    vertical-align: baseline;
}

.inquiry-write .ij_file label:hover {
    border: 1px solid #5c667b;
    background-color: #5c667b;
}

.inquiry-write .ij_file input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 원문 인라인 `<style>` 은 원문 자리(첨부 칸 `td` 안)에 인라인으로 둔다(문의 작성 폼 마크업) */

/* ── 연락처 3칸 — `ij_layout.css:1270-1281` ── */
.inquiry-write .ij_input_union {
    display: inline-block;
    box-sizing: content-box;   /* 원문 전역 content-box(폭·높이 문자열 +2) */
    border: 1px solid #aab6cb;
    font-size: 14px !important;
    white-space: nowrap;
}

.inquiry-write .ij_input_union input[type="text"] {
    border: none !important;
    text-align: center;
    width: 60px;
}

/* ── 본문칸 — `ij_layout.css:1303-1318` ── */
.inquiry-write textarea.ij_textarea {
    box-sizing: border-box;
    border: 1px solid #aab6cb;
    font-size: 13px;
    line-height: 18px;
    width: 100%;
    height: 190px;
    resize: none;
    padding: 8px;
    outline: none;
}

.inquiry-write textarea.ij_textarea:focus {
    border: 1px solid #3267e9;
}

/* ── 버튼 — `ij_layout.css:1332-1347,1381-1438,1639-1642` · 전 hover·primary = `body.jungi`(`ij_layout_jungi.css:3466-3481`) ── */
.inquiry-write button.ij_btn {
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px 5px;
    color: #5c667b;
    border: 1px solid #aab6cb;
    box-sizing: border-box;
    vertical-align: baseline;
    background-color: #fff;
}

.inquiry-write button.ij_btn:hover {
    color: var(--service-center-point);
    border-color: var(--service-center-point);
}

.inquiry-write button.ij_btn.primary {
    color: var(--service-center-point);
    border: 1px solid var(--service-center-point);
}

.inquiry-write button.ij_btn.primary:hover {
    color: #fff;
    background-color: var(--service-center-point);
}

.inquiry-write button.ij_btn.cancel {
    color: #5c667b;
    border: 1px solid #aab6cb;
}

.inquiry-write button.ij_btn.cancel:hover {
    color: #fff;
    border-color: #aab6cb;
    background: #aab6cb;
}

.inquiry-write button.ij_btn.cancel.bg {
    color: #fff;
    background-color: #8491a7;
    border: 1px solid #8491a7;
    box-sizing: border-box;
}

.inquiry-write button.ij_btn.cancel.bg:hover {
    background-color: #5c667b;
}

/* 전기넷 사본은 테두리도 같이 어둡게(`ij_layout_jungi.css:3536-3539`) */
body[data-site="jungi"] .inquiry-write button.ij_btn.cancel.bg:hover {
    border-color: #5c667b;
}

.inquiry-write button.ij_btn.medium {
    font-size: 14px;
    padding: 9px 35px;
}

/* ── 1:1 목록 「글쓰기」 버튼 — 원문
 *    `div.ta-r.mt-2 > button.ij_btn.primary.medium`. 우리 마크업은 `<a>` — 버튼 기본값(인라인 블록)을 같이 준다. ── */
.service-center-inquiry .ta-r.mt-2 {
    margin-top: 8px !important;
    text-align: right !important;
}

.service-center-inquiry .ta-r.mt-2 .ij_btn.primary.medium {
    display: inline-block;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 35px;
    color: var(--service-center-point);
    border: 1px solid var(--service-center-point);
    background-color: #fff;
    box-sizing: border-box;
    vertical-align: baseline;
}

.service-center-inquiry .ta-r.mt-2 .ij_btn.primary.medium:hover {
    color: #fff;
    background-color: var(--service-center-point);
}
