@charset "UTF-8";
/* ==========================================================================
   [GNMEDI-354] 외국어 페이지 글자 겹침·넘침 보정 (행정감사 지적사항)
   - 러시아어 등 단어가 긴 언어에서 모바일 화면 글자 겹침/가로 넘침 해결
   - 기존 CSS(n_common.css, n_main.css, main2021_only.css 등)는 수정하지 않고
     이 파일을 마지막에 불러와 덮어씀 (template.jsp, index.jsp 에서 로드)
   ========================================================================== */

/* 1. 메인 비주얼 바로가기 메뉴(n_visual_pannel)
      - n_main.css 의 white-space:nowrap 때문에 긴 메뉴명이 옆 칸 글자와 겹치던 문제 */
@media all and (max-width:1024px){
	.n_visual_sect .n_visual_pannel .n_btn{min-width:0;}
	.n_visual_sect .n_visual_pannel .n_btn span{white-space:normal; word-break:keep-all; overflow-wrap:break-word; line-height:1.3; max-width:100%;}
}
@media all and (max-width:768px){
	.n_visual_sect .n_visual_pannel .n_btn{padding-left:.8rem; padding-right:.8rem;}
	html[lang="ru"] .n_visual_sect .n_visual_pannel .n_btn span{font-size:1.4rem;}
}

/* 2. 하단 푸터 링크·주소: 모바일에서 줄바꿈 없이 화면 밖으로 밀려 가로 스크롤 발생 */
@media all and (max-width:768px){
	.n_footer .n_info_wrap{min-width:0;}
	.n_footer .n_info_wrap .n_fnb{flex-wrap:wrap; row-gap:.8rem; max-width:100%;}
	.n_footer .n_info_wrap .n_copyright,
	.n_footer .n_info_wrap .n_copyright p{min-width:0; max-width:100%; overflow-wrap:break-word; word-break:break-word;}
}

/* 3. 본문 표(th/td): 고정 폭 표에서 긴 단어가 칸 밖으로 넘쳐 옆 칸과 겹치던 문제 */
.n_table_wrap table th, .n_table_wrap table td,
.table_wrap table th, .table_wrap table td,
table.info_table th, table.info_table td,
table.info_table li, table.info_table p{overflow-wrap:break-word; word-wrap:break-word;}
html[lang="ru"] .n_table_wrap table th, html[lang="ru"] .n_table_wrap table td,
html[lang="ru"] .table_wrap table th, html[lang="ru"] .table_wrap table td,
html[lang="ru"] table.info_table th, html[lang="ru"] table.info_table td,
html[lang="ru"] table.info_table li, html[lang="ru"] table.info_table p{-webkit-hyphens:auto; hyphens:auto; overflow-wrap:anywhere;}

/* 병원 상세 등 이메일 주소처럼 끊김 없는 긴 문자열 */
a[href^="mailto:"]{overflow-wrap:anywhere;}

/* 4. 의료분쟁 조정절차 단계 목록(Mediation-Procedure-list-Nsteps)
      - PC용 가로 배치(칸당 20~25%)가 모바일에서 칸 폭보다 글자가 길어 서로 겹치던 문제 → 세로 배치 */
@media all and (max-width:768px){
	[class^="Mediation-Procedure-list-"]{overflow:visible;}
	[class^="Mediation-Procedure-list-"] > li{float:none !important; width:100% !important;}
	[class^="Mediation-Procedure-list-"] > li > p{margin:0 0 3.2rem !important; min-height:0 !important; padding:1.4rem 1.6rem !important; text-align:center; word-break:normal; overflow-wrap:break-word;}
	[class^="Mediation-Procedure-list-"] > li > p:after{content:'\f063' !important; right:50% !important; bottom:-2.6rem !important; margin-right:-.5em;}
	[class^="Mediation-Procedure-list-"] > li:last-child > p{margin-bottom:0 !important;}
	[class^="Mediation-Procedure-list-"] > li:last-child > p:after{content:'' !important;}
}

/* 5. 상단 전체메뉴(사이트맵) 3단계 글자: FESTA 등 기준 글자크기가 작은 페이지에서 11px 대로 작아지던 문제 */
@media all and (max-width:1440px){
	body .n_gnb .n_depth3_list a{font-size:max(1.4rem, 12px);}
}

/* 6. 온라인상담 '중요 안내'(partnerNoticeOverlay)
      - 반투명 배경 너머로 아래 팝업 글자가 비쳐 겹쳐 보이던 문제 → 불투명 배경
      - 큰 글씨 회색 상자만 있던 디자인 정리: 안내 아이콘 + 제목 + 본문 상자 + 넓은 확인 버튼 */
.partnerNoticeOverlay{background:#fff !important; padding:3.2rem 2.4rem !important;}
.partnerNoticeOverlay .pn_inner{width:100%; max-width:52rem; text-align:center;}
.partnerNoticeOverlay .pn_icon{display:inline-flex; align-items:center; justify-content:center; width:5.6rem; height:5.6rem; border-radius:50%; background:#e8f6f0; color:#4CAD8D; font-size:3rem; font-weight:800; line-height:1; margin-bottom:1.6rem; box-shadow:0 0 0 .8rem #f4fbf8;}
.partnerNoticeOverlay .pn_title{font-size:2.2rem; font-weight:700; line-height:1.35; color:#222; margin:0 0 2rem; word-break:keep-all; overflow-wrap:break-word;}
.partnerNoticeOverlay .pn_box{background:#f5faf8; border:1px solid #dcefe7; border-radius:1.2rem; padding:2rem 2rem; margin:0 0 2.4rem; text-align:left;}
.partnerNoticeOverlay .pn_box p{margin:0; font-size:1.6rem; line-height:1.7; color:#444; overflow-wrap:break-word; line-break:strict;}
html[lang="ru"] .partnerNoticeOverlay .pn_box p{-webkit-hyphens:auto; hyphens:auto;}
.partnerNoticeOverlay .pn_btn{display:block; width:100%; max-width:32rem; min-height:5rem; margin:0 auto; padding:1.2rem 1.6rem; border:none; border-radius:.8rem; background:#4CAD8D; color:#fff; font-size:1.6rem; font-weight:700; line-height:1.4; cursor:pointer; transition:background .2s;}
.partnerNoticeOverlay .pn_btn:hover, .partnerNoticeOverlay .pn_btn:focus{background:#3e9a7c;}
@media all and (max-width:768px){
	.partnerNoticeOverlay{padding:2.4rem 1.6rem !important;}
	.partnerNoticeOverlay .pn_title{font-size:2rem; margin-bottom:1.6rem;}
	.partnerNoticeOverlay .pn_box{padding:1.6rem; margin-bottom:2rem;}
	.partnerNoticeOverlay .pn_box p{font-size:1.5rem;}
}

/* 7. 통역 신청 첨부파일 버튼(언어별 문구) — 기본 파일 버튼은 기기 언어로 표시되어 숨김 처리 */
.n_file_wrap{display:flex; align-items:center; flex-wrap:wrap; gap:.8rem 1.2rem; position:relative;}
.n_file_wrap .n_file_input{position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; border:0 !important; opacity:0;}
.n_file_wrap .n_file_btn{flex:none; padding:.8rem 1.6rem; border:1px solid #bbb; border-radius:.6rem; background:#f5f5f5; color:#333; font-size:1.4rem; line-height:1.4; cursor:pointer;}
.n_file_wrap .n_file_btn:focus{outline:2px solid #45aef5; outline-offset:2px;}
.n_file_wrap .n_file_name{min-width:0; flex:1 1 12rem; font-size:1.4rem; color:#666; overflow-wrap:anywhere;}

/* 8. 온라인상담 안내(Notice) 팝업 본문 정리 — CMS(ESTIMATE_INTRO) 글이 여백 없이 큰 글씨로 이어져 보이던 문제
      안내문 → 동의 안내(강조 상자) → 동의 버튼 → 면책 문구(회색 상자) 순으로 구분 */
.prevEstimatePopup .popup_body{padding:0 2rem 2.4rem;}
.prevEstimatePopup .popup_body .editableItem{font-size:1.5rem; line-height:1.65; color:#333; word-break:normal; line-break:strict; overflow-wrap:break-word; text-align:left;}
html[lang="ru"] .prevEstimatePopup .popup_body .editableItem{-webkit-hyphens:auto; hyphens:auto;}
/* CMS 본문에 섞여 있는 인라인 글자크기·자간(ru 2.2rem 등) 무시 */
.prevEstimatePopup .editableItem span[style]{font-size:inherit !important; letter-spacing:inherit !important; line-height:inherit !important;}
.prevEstimatePopup .editableItem > br{display:none;}
.prevEstimatePopup .editableItem > p{margin:0 0 1rem; font-size:1.6rem; line-height:1.65;}
.prevEstimatePopup .editableItem > p:first-child{margin-top:.4rem;}
.prevEstimatePopup .editableItem > p:has(+ .noticeBtnSection){margin:1.6rem 0 0; padding:1.2rem 1.4rem; font-size:1.4rem; line-height:1.6; color:#2f5f50; background:#eef8f4; border-left:3px solid #4CAD8D; border-radius:.8rem;}
.prevEstimatePopup .editableItem .noticeBtnSection{margin:2rem 0; text-align:center;}
.prevEstimatePopup .editableItem .noticeBtnSection button{display:block; width:100%; min-height:5rem; margin:0; padding:1.2rem 1.6rem; border-radius:.8rem; font-size:1.6rem; font-weight:700; line-height:1.4; white-space:normal;}
.prevEstimatePopup .editableItem .noticeBtnSection ~ p{margin:0; padding:1.2rem 1.4rem; font-size:1.25rem; line-height:1.6; color:#777; background:#f6f6f6; border-radius:.8rem;}

/* 9. 온라인상담 신청서(estimatePopup) 입력화면 정리
      - 여백 0으로 입력칸이 팝업 가장자리에 붙고, 입력칸 폭이 제각각, 생년월일 선택칸이 세로로 쌓이던 문제
      - 섹션 제목(1~4) / 항목 라벨 / 입력칸(폭 100%·둥근 모서리) / 라디오 가로 배치 / 하단 버튼 균등 배치 */
.estimatePopup .popup_body{padding:0 2rem 2.4rem; font-size:1.5rem; line-height:1.5; color:#333;}
.estimatePopup .popup_body > br{display:none;}
.estimatePopup .popup_body > p{margin:2.8rem 0 1.2rem; padding:0 0 .8rem; font-size:1.6rem; font-weight:700; line-height:1.45; color:#222; border-bottom:1px solid #eee; overflow-wrap:break-word;}
.estimatePopup .popup_body > p:first-child{margin-top:1.6rem;}
.estimatePopup .popup_body .required{color:#e5484d; margin-right:.2rem;}
.estimatePopup .popup_body dl{margin:0;}
.estimatePopup .popup_body dt{display:block; width:100% !important; padding:0 !important; margin:1.6rem 0 .6rem; font-size:1.4rem; font-weight:600; line-height:1.4; color:#555;}
.estimatePopup .popup_body dl > dt:first-child{margin-top:0;}
.estimatePopup .popup_body dd{display:block; width:100% !important; padding:0; margin:0;}
.estimatePopup .popup_body input[type="text"], .estimatePopup .popup_body select, .estimatePopup .popup_body textarea{display:block; width:100% !important; max-width:none; height:4.8rem; margin:0; padding:0 1.2rem; border:1px solid #d5d9de; border-radius:.8rem; background-color:#fff; font-size:1.5rem; color:#222; box-sizing:border-box; box-shadow:none;}
.estimatePopup .popup_body textarea{height:auto; min-height:14rem; padding:1.2rem; line-height:1.6; resize:vertical;}
.estimatePopup .popup_body input[type="text"]:focus, .estimatePopup .popup_body select:focus, .estimatePopup .popup_body textarea:focus{border-color:#4CAD8D; outline:none; box-shadow:0 0 0 3px rgba(76,173,141,.15);}
.estimatePopup .popup_body .ui-widget{width:100%;}
.estimatePopup .popup_body dd:has(> .bSelect){display:flex; gap:.8rem;}
.estimatePopup .popup_body .bSelect{flex:1 1 0; min-width:0; width:auto !important; padding:0 .8rem;}
.estimatePopup .popup_body dd:has(> input[type="radio"]){display:flex; flex-wrap:wrap; align-items:center; gap:1rem 0;}
.estimatePopup .popup_body input[type="radio"]{width:2rem; height:2rem; margin:0 .6rem 0 0; accent-color:#4CAD8D; vertical-align:middle; flex:none;}
.estimatePopup .popup_body input[type="radio"] + label{display:inline-flex; align-items:center; width:auto !important; flex:none; margin:0 2.8rem 0 0; padding:0; font-size:1.5rem; color:#333; cursor:pointer;}
.estimatePopup .popup_body dd > p{margin:.8rem 0 0; padding:1rem 1.2rem; font-size:1.3rem; line-height:1.55; color:#5f6b66; background:#f5faf8; border-radius:.6rem;}
.estimatePopup .popup_body .selectGroup{display:flex; flex-direction:column; gap:.8rem;}
.estimatePopup .popup_footer{display:flex; gap:1rem; padding:1.6rem 2rem; border-top:1px solid #eee;}
.estimatePopup .popup_footer button{flex:1 1 0; width:auto !important; height:auto; min-height:5rem; margin:0; padding:1rem; border-radius:.8rem; font-size:1.6rem; font-weight:700; line-height:1.3;}

/* 10. 당일진료(В тот же день приём) 안내·신청·완료 모달 정리 — 8·9번(온라인상담)과 같은 디자인
       header.jsp 안의 <style> 이 이 파일보다 뒤에 오므로 .popup_bg 를 붙여 우선순위를 높임 */
/* 10-1. 안내(Notice) 모달 */
.popup_bg .prevSamedayPopup .popup_body{padding:0 2rem 2.4rem;}
.popup_bg .prevSamedayPopup .samedayNoticeContent{text-align:left; overflow-wrap:break-word; line-break:strict;}
html[lang="ru"] .popup_bg .prevSamedayPopup .samedayNoticeContent{-webkit-hyphens:auto; hyphens:auto;}
.popup_bg .prevSamedayPopup .samedayNoticeContent > p{margin:0 0 1rem; font-size:1.6rem; line-height:1.65; color:#333;}
.popup_bg .prevSamedayPopup .samedayNoticeContent > p:first-child{margin-top:.4rem;}
.popup_bg .prevSamedayPopup .samedayNoticeContent > p:has(+ .noticeBtnSection){margin:1.6rem 0 0; padding:1.2rem 1.4rem; font-size:1.4rem; line-height:1.6; color:#2f5f50; background:#eef8f4; border-left:3px solid #4CAD8D; border-radius:.8rem;}
.popup_bg .prevSamedayPopup .noticeBtnSection{margin:2rem 0 0;}
.popup_bg .prevSamedayPopup .noticeBtnSection button{display:block; width:100%; height:auto; min-height:5rem; margin:0; padding:1.2rem 1.6rem; border-radius:.8rem; font-size:1.6rem; font-weight:700; line-height:1.4; white-space:normal;}

/* 10-2. 신청서 모달 */
.popup_bg .samedayPopup .popup_body{padding:0 2rem 2.4rem; font-size:1.5rem; line-height:1.5; color:#333;}
.popup_bg .samedayPopup .popup_body > p.sameday-section-title{margin:2.8rem 0 1.2rem; padding:0 0 .8rem; font-size:1.6rem; font-weight:700; line-height:1.45; color:#222; border-bottom:1px solid #eee; overflow-wrap:break-word;}
.popup_bg .samedayPopup .popup_body > p.sameday-section-title:first-child{margin-top:1.6rem;}
.popup_bg .samedayPopup .popup_body .required{color:#e5484d; margin-right:.2rem;}
.popup_bg .samedayPopup .popup_body dl{margin:0;}
.popup_bg .samedayPopup .popup_body dt{display:block; width:100% !important; padding:0 !important; margin:1.6rem 0 .6rem; font-size:1.4rem; font-weight:600; line-height:1.4; color:#555;}
.popup_bg .samedayPopup .popup_body dl > dt:first-child{margin-top:0;}
.popup_bg .samedayPopup .popup_body dt label{display:inline; margin:0; padding:0; font:inherit; color:inherit;}
.popup_bg .samedayPopup .popup_body dd{display:block; width:100% !important; padding:0; margin:0;}
.popup_bg .samedayPopup .popup_body input[type="text"], .popup_bg .samedayPopup .popup_body select, .popup_bg .samedayPopup .popup_body textarea{display:block; width:100% !important; max-width:none; height:4.8rem; margin:0; padding:0 1.2rem; border:1px solid #d5d9de; border-radius:.8rem; background-color:#fff; font-size:1.5rem; color:#222; box-sizing:border-box; box-shadow:none;}
.popup_bg .samedayPopup .popup_body textarea{height:auto; min-height:14rem; padding:1.2rem; line-height:1.6; resize:vertical;}
.popup_bg .samedayPopup .popup_body input:focus, .popup_bg .samedayPopup .popup_body select:focus, .popup_bg .samedayPopup .popup_body textarea:focus{border-color:#4CAD8D; outline:none; box-shadow:0 0 0 3px rgba(76,173,141,.15);}
.popup_bg .samedayPopup .popup_body .sameday-hint{margin:.6rem 0 0; font-size:1.3rem; line-height:1.5; color:#888;}
.popup_bg .samedayPopup .popup_footer{display:flex; gap:1rem; padding:1.6rem 2rem; border-top:1px solid #eee;}
.popup_bg .samedayPopup .popup_footer button{flex:1 1 0; width:auto !important; height:auto; min-height:5rem; margin:0; padding:1rem; border-radius:.8rem; font-size:1.6rem; font-weight:700; line-height:1.3;}

/* 10-3. 신청 완료(오시는 길) 화면: 반투명 배경 너머로 아래 신청서 글자가 비쳐 제목과 겹쳐 보이던 문제 */
.samedaySuccessOverlay{background:#fff !important;}
