@charset "utf-8";
/* cbrhmcpd: 운영 디자인 헤더·푸터·서브비주얼 스타일 전역 로드 (publish.md 3.4 — 프로젝트 공통 보정은 custom.css) */
@import url("/css/cbrh_layout.css?v=20260916");

/* 비밀번호 토글 아이콘 스타일 - 일반 폼 */
.password-toggle-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 4px !important;
    cursor: pointer !important;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    user-select: none;
    vertical-align: middle !important;
}

/* 로그인 폼 비밀번호 필드 - 눈 아이콘 위치 */
.new_login .input_form dl dd {
    position: relative !important;
}

.new_login .input_form dl dd .password-toggle-icon {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-left: 0 !important;
}

.password-toggle-icon:hover {
    opacity: 1;
}

.password-toggle-icon:hover svg {
    stroke: #000 !important;
}

.password-toggle-icon.active {
    opacity: 0.85;
}

.password-toggle-icon svg {
    display: block;
}

/* 댓글 입력 폼 비밀번호 필드 - 눈 아이콘 위치 */
.answer_wrapper .custom_box_bom {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.answer_wrapper .custom_box_bom input[type="password"],
.answer_wrapper .custom_box_bom input[type="text"] {
    flex: 1 !important;
    padding-right: 35px !important;
}

.answer_wrapper .custom_box_bom .password-toggle-icon {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-left: 0 !important;
}

/* 댓글 관련 스타일 */
.comment-empty {
    text-align: center !important;
    padding: 80px 0 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #666 !important;
}
/* ── cbrhmcpd 운영 디자인 헤더/푸터 (programj05 layout.css 가 #header 를 숨기므로 재노출) ── */
#header { display: block; }
/* 모바일 햄버거 버튼: programj05 layout.css 의 #header .m_btn{width:24px; margin:0 auto; text-align:right} 가 운영 규칙(폭 미지정=아이콘 66px)을 덮어
   absolute 인 .all_menu_btn 폭이 24px 로 줄어 아이콘이 우측으로 밀려 잘림 → 운영과 동일하게 원복 */
#header .m_btn { width: auto; margin: 0; text-align: left; }
/* 모바일 전체메뉴(#m_menu): programj05 layout.css 가 좌측 240px 슬라이드·상단(로고/닫기)·로그인 박스 숨김·메뉴 a 를 flex/16px 로 강제(!important)
   → 운영(cbrh_layout.css)과 동일하게 우측 슬라이드(500px, 최대 80%)·로고/닫기/로그인 노출·1depth 20px 굵게 로 복원 */
#m_menu { left: auto !important; right: -100%; width: 500px; max-width: 80% !important; padding-top: 0; transition: all 0.5s; }
#m_menu.on { right: 0; }
#m_menu .top_box, #m_menu .login_box { display: block; }
#m_menu .gnb_box { border-top: 1px solid #ddd; }
#m_menu .gnb_box > ul > li { border-bottom: 1px solid #dddddd; }
#m_menu .gnb_box > ul > li > a { display: block !important; padding: 20px 20px !important; font-size: 20px !important; font-weight: bold; color: #222222; letter-spacing: -0.04em; }

/* 메인 퀵검색 드롭다운이 '주요메뉴 바로가기'(.main_con01 z-index:30) 아래 깔리는 운영 버그 수정
   — 검색 박스를 위로 올리되 투명한 하단 여백은 클릭을 통과시켜 주요메뉴 링크를 가리지 않도록 함 */
.main_visual_wrap .new_con_box { z-index: 40; pointer-events: none; }
.main_visual_wrap .new_con_box .inner { pointer-events: auto; }

/* cbrhmcpd: 게시판 목록 우측 컬럼(작성자·작성일·조회수) — 조회수 박스가 50px 고정이라 4자리 숫자가 잘리고, 폭을 auto 로 하면 행마다 열이 어긋남
   → 운영(표 형식)처럼 고정폭 열로 정렬: 작성자 90px / 작성일 120px / 조회수 90px, 중앙 정렬 */
.recruitment_table01.change_box01.list_mode .noice_board_alt_box .date_box.order3 { width: 90px; min-width: 90px; }
.recruitment_table01.change_box01.list_mode .noice_board_alt_box .date_box.order2 { width: 120px; min-width: 120px; }
.recruitment_table01.change_box01.list_mode .noice_board_alt_box .date_box.order4 { width: 90px; min-width: 90px; overflow: visible; }

/* cbrhmcpd: 이미지목록형(센터소식·자료실 이미지형) 제목 아래 메타줄 — 모듈 기본은 날짜/작성자/조회수 박스가 145px 고정폭·우측정렬이라
   "날짜 ─(빈칸)─ 관리자👁3" 처럼 어긋남 → 세 항목을 내용 폭만큼 좌측 정렬, 15px 간격, 아이콘-숫자 4px 간격 */
.recruitment_table01.change_box01:not(.list_mode) .noticeListFlexBox .noice_board_alt_box .date_box.order2,
.recruitment_table01.change_box01:not(.list_mode) .noticeListFlexBox .noice_board_alt_box .date_box.order3,
.recruitment_table01.change_box01:not(.list_mode) .noticeListFlexBox .noice_board_alt_box .date_box.order4 {
	width: auto; min-width: 0; max-width: none; text-align: left; margin: 10px 18px 0 0; padding: 0;
	display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
}
.recruitment_table01.change_box01:not(.list_mode) .noticeListFlexBox .noice_board_alt_box .date_box .text_ov { overflow: visible; }

/* cbrhmcpd 관리자 > 로고관리 목록: 가로형 로고가 200px 정사각 썸네일에 cover 로 잘려 보임 → 원본 비율 유지(contain), 높이 축소 */
body #bbs .table_wrap > table > tbody > tr > td .photo img { object-fit: contain !important; background: #fff; height: 110px !important; width: 198px !important; }
body #bbs .table_wrap > table > tbody > tr > td .photo { height: auto !important; }

/* cbrhmcpd 관리자 > 온라인상담 목록: 상담상태 배지 — 접수(회색, 모듈 기본) / 상담 중(주황) / 완료(모듈 강조색) */
body #bbs span.re_ing.cs_state_ing { color: #e8891d; border-color: #e8891d; background: #fff7ec; }
html[data-theme="dark"] body #bbs span.re_ing.cs_state_ing { background: rgba(232,137,29,.15); }

/* cbrhmcpd: 건강소식 갤러리 — 모바일(480 고정 레이아웃)에서 운영과 동일하게 2열 (programj05 기본은 768 이하 1열) */
@media all and (max-width:768px) {
	.com_prd_box_gallery_total_wrapper { gap: 20px; }
	.com_prd_box_gallery_total_wrapper li { width: calc(50% - 10px); }
	.com_prd_box_gallery_total_wrapper li .alt_box { padding: 14px; }
	.com_prd_box_gallery_total_wrapper li .alt_box .tit { font-size: 15px; }
}
