@charset "UTF-8";
/* 웹접근성 보완 공통 스타일 (2026-11-30, 웹접근성 품질인증 1차 심사 지적 보완) */

/* 11-2 키보드 초점: 기존 빨간 점선(content.css)에 흰 테두리를 더해 어두운 배경·빨간 개체에서도 보이게 한다 */
*:focus-visible {
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px #fff !important;
}

/* 11-2 빨간 버튼(이수증 출력 등)은 점선을 검정으로 */
.btn-danger:focus-visible,
.outputBtn:focus-visible {
	outline-color: #000 !important;
}

/* 11-2 메인·하위 화면 푸터: overflow:hidden 이 가장자리 링크의 초점 테두리를 자르므로
   잘림 없이 떠 있는 영역만 감싸도록 바꾸고, 인증마크 링크는 이미지 전체를 감싸게 한다 */
footer.main_footer .footer_wrap,
footer.sub_footer .footer_wrap {
	overflow: visible;
	display: flow-root;
}
.wa-mark a {
	display: inline-block;
}

/* 8-1 명도 대비(사용자 화면 전체 점검 결과, 원래 색 계열 유지, 4.5:1 이상)
   main_repub.css 가 나중에 읽히는 메인 화면에서도 이기도록 html 을 앞에 붙여 우선순위를 높인다 */
html .m_gray { color: #707070; }                                   /* #8a8a8a 3.45 → 4.83 */
html .newsletter ul li .item p.desc { color: #757576; }            /* #848485 3.73 → 4.6 */
html .eco-fishery-bottom { color: #747474; }                       /* #949494 3.03 → 4.67 */
html .copyright span { color: #b0b1b7; }                           /* 어두운 푸터 위 #8f9096 3.49 → 5.19 */
html .crsYear { color: #087cb4; }                                  /* #0a92d4 3.45 → 4.61 */
html #contents .con .txt-area .border-box { color: #0b79b0; }      /* #0e98dd 3.09 → 4.64 */
html .m_blue { color: #0071a6; }                                   /* #007bb5 4.43 → 5.1 */
html table.data thead th { color: #0071a6; }                       /* #007bb5/#def1ff 4.02 → 4.63 */
html .colorSky { color: #297ba5 !important; }                      /* #3399cc 3.19 → 4.7 */
html .red-600 { color: #d33f44 !important; }                       /* #ff4c52 3.27 → 4.6 */
html .underBold-red { color: #ea0000; }                            /* #ff0000 3.99 → 4.67 */
html .custom-list .custom-list01 { background-color: #008746 !important; }   /* 흰 글자/#00a958 3.08 → 4.61 */
html #container .tabArea ul li.on a { background-color: #007caf; }           /* 흰 글자/#008dc7 3.72 → 4.66 */
html .tab > li.active > a,
html .tab > li.active > a:focus,
html .tab > li.active > a:hover { background-color: #007caf !important; }
html #allNav .nav > li > a { background-color: #007caf; }
html .voice-toggle,
html .voice-toggle.open { background-color: #bf5500; }                       /* 흰 글자/#ec6901 3.18 → 4.65 */
html .voice-menu .menu-item { color: #bf5500; border-color: #bf5500; }
html .voice-menu .menu-item:hover { background-color: #bf5500; color: #fff; }

/* 8-1 명도 대비 2차(재점검: 영문·모바일·로그인 화면) */
html .crsYear { color: #087cb4 !important; }                       /* 화면 안 스타일 !important(#0a92d4, 영문 #0bb2d4) */
html #container .tabArea ul li.on a { background-color: #007caf !important; } /* 모바일 탭(tab6 등) */
html .col_blue,
html .cnd_dsdvn_area_subtitle_1,
html .cnd_dsdvn_area_tbl_2 tbody th,
html .cnd_dsdvn_area_tbl_3 tbody th,
html .environment_friendly_tbl tbody th,
html .tbl_marine_public_2 tbody th,
html .observer_tbl tbody td b,
html table.horizontal tbody th,
html .hLight2,
html .compliance ul li .text-box b,
html #contents .con h6.tit { color: #0079ab; }                     /* #008dc7 3.72 → 4.61 */
html .curiculum_guide_subtitle_1 { color: #0b7aae; }               /* #0e9bdd 3.0 → 4.6 */
html .ex { color: #707070; }                                       /* #777 4.47 → 4.83 */
html .blue-grey-300 { color: #707578 !important; }                 /* #ccd5db 1.48 → 4.66 */
html .blst1 .list_tbl tbody tr td:last-child { color: #757575; }   /* #aaa 2.32 → 4.61 */
html[lang="en"] .custom-list .custom-list02 { background-color: #0079ab !important; } /* 영문 메인 흰 글자/#00adef 2.55 */
html .btn-danger { background-color: #c74c48; border-color: #c74c48; }       /* 흰 글자/#d9534f 3.96 → 4.61 */
html .btn_gray.type1 { background-color: #757575; }                          /* 흰 글자/#878787 3.59 */
html .btn_blue { background-color: #4073cc; }                                /* 흰 글자/#5090ff 3.09 */
html .btn-warning { background-color: #bd563d; border-color: #bd563d; }      /* 흰 글자/#f06d4e 2.99 */

/* 8-1 동영상 플레이어 '강의정보' 탭 글자 (배경 이미지 #282828~#383838 대비 약 6.1:1) */
#videoModal .menu_wrap ul.nav li.active a {
	color: #7fc0ff;
}

/* 11-3 GNB 하위메뉴: 마우스는 기존처럼 0.3초 뒤 서서히 나타나고, 키보드 초점이 들어오면 바로 보이게 한다
   (지연 중에 Tab 을 빠르게 누르면 투명한 메뉴 안으로 초점이 이동해 보이지 않던 문제) */
html header.on .gnb > ul > li:has(a:focus-visible) .sub,
html header.on .gnb > ul > li:has(a:focus-visible) .sub .sub_com {
	opacity: 1;
	visibility: visible;
	transition: none;
}

/* 11-3 모바일 전체메뉴(#totalMb): 닫혀 있을 때는 화면 오른쪽 밖에 놓여 있어 초점을 받으므로 숨긴다.
   열 때는 바로 보이고, 닫을 때는 기존 0.2초 밀어내기 효과가 끝난 뒤 숨는다(PC 는 원래 표시하지 않음) */
#totalMb:not(.on) { visibility: hidden; }
#totalMb.on { visibility: visible; transition: all 0.2s ease, visibility 0s; }

/* 11-1 레이어 팝업(.popup-overlay, 직불제 요모조모 등): 열 때 visibility 가 0.3초 뒤에 바뀌어 팝업 제목으로 초점을 옮기지 못하던 문제.
   열 때는 바로 보이게 하고(서서히 나타나는 효과는 유지), 닫을 때는 기존처럼 효과가 끝난 뒤 숨긴다 */
html .popup-overlay.active { transition: opacity 0.3s ease-in-out, visibility 0s; }

/* 8-1 명도 대비 3차(최종 전체 점검: 공지·자료실 상세, 통합검색 결과) */
html #boardView #viewContent .viewTit .eyes_heart li { color: #757575; }                  /* 조회수 #777 4.48 → 4.61 */
html #totalSearchCon .searchTabMenu ul li.on,
html #totalSearchCon .searchTabMenu.tab2 ul li.on { background: #007caf; }                /* 흰 글자/#008dc7 3.73 → 4.66 */
html .col_orang { color: #d03f00; }                                                       /* 검색어 강조·필수 표시 #ff4e00 3.31 → 4.78 */
/* 29·32번: 글자크기 팝업 표시 id 중복 해소(zoomDisplay → zoomDisplayModal), main.css #zoomDisplay 모양 그대로 */
#zoomDisplayModal{text-align:center;font-weight:bold;font-size:20px !important;height:30px !important;border-radius:6px !important;background-color:#ffffffa3 !important;border:none !important;margin-bottom:5px}
#zoomDisplayModal .zoomNumber{font-size:20px !important;top:4px !important;display:contents !important}
#zoomDisplayModal .zoomNumber span{top:4px !important}

