﻿/* 2026.12.01 유대규: 공통 로그인 화면(/_GP/App/gp_login.asp) CSS, 사이트의 /_inc/login_ver2.css 를 옮기고 OTP 입력, 로그인 메시지, 공지사항, 제보 창 스타일을 합침 */
* { user-select: none; box-sizing: border-box; }

body { width: 100%; margin: 0; padding: 0; /* background-image: url(/img/main_image_bg.png); */ background-color: #9397a3; background: linear-gradient(45deg, #bdc1cb, #9397a3); }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-gap: 24px; }

.container-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-gap: 24px; }

/* header 시작 */
header { height: 50px; align-items: center; background: #333333; color: white; }

	header a { text-decoration: none !important; color: white !important; }

	header img { width: 100%; height: 100%; }

	header .header-left { grid-column: span 6; display: flex; height: 100%; }

.header-left .header-left-menu { display: flex; justify-content: center; align-items: center; width: 50px; border-right: 1px solid #717171; }

.header-left .header-left-logo-box { display: flex; justify-content: center; align-items: center; }

.header-left .logo-box__logo { padding: 0 15px; border-right: 1px solid #717171; }

	.header-left .logo-box__logo:nth-last-child(1) { border-right: none; }


header .header-right { grid-column: span 6; justify-self: end; display: flex; align-items: center; font-size: 0.95rem; padding-right: 30px; }

.header-right__item { margin-left: 15px; }
/* header 종료 */

/* main 시작 */
main .container { grid-column: span 12; grid-column-gap: 0; width: 100%; max-width: 1190px; height: 80%; margin: 30px auto 60px auto; padding: 0; }	/* 2026.11.30 유대규: 파이어폭스에서 margin auto 때문에 폭이 줄어 로그인 화면이 깨지던 문제로 width 지정 */

main .carousel-box { grid-column: span 12; position: relative; width: 100%; height: 570px; }

.carousel-slide-container { width: 100%; height: 100%; }

	.carousel-slide-container .active { display: block; }

.carousel-slide { width: 100%; height: 100%; display: none; }

	.carousel-slide img { width: 100%; height: 100%; }

.carousel-btn-container { display: flex; justify-content: space-between; }

.carousel-btn-container { width: 100%; position: absolute; top: 50%; display: flex; justify-content: space-between; align-items: center; background-color: transparent; }

.carousel-btn-prev { width: 55px; height: 59px; cursor: pointer; }

.carousel-btn-next { width: 55px; height: 59px; cursor: pointer; }

main .notice-box { grid-column: span 5; height: 190px; margin-right: 20px; padding: 20px; background: white; }

.notice-box .notice-box-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

.notice-box .notice-box__title { font: bold 12pt "malgun gothic", Dotum; }

.notice-box .notice-box__mark { font-size: 1.5rem; }

	.notice-box .notice-box__mark:hover { cursor: pointer; }

.notice-box .notice-box__list { display: table; width: 100%; padding: 0; margin: 0 0 3px 0; border: none; table-layout: fixed; }

.notice-box .notice-box__subject:hover { color: #4f81bd; }

.notice-box .notice-box__cell { display: table-cell; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; vertical-align: middle; overflow-wrap: break-word; word-break: break-all; height: 20px; }

.notice-box .notice-box__point { width: 10px; }

.notice-box .notice-box__subject { font-size: 0.875rem; width: 280px; }

.notice-box .notice-box__name { width: 50px; text-align: right; color: #888888; font-size: 0.8rem; }

.notice-box .notice-box__bar { width: 20px; text-align: center; color: #c8c8c8; font-size: 0.9rem; }

.notice-box .notice-box__date { width: 60px; text-align: right; color: #888888; font-size: 0.8rem; }


main .etc-box { grid-column: span 4; height: 190px; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 50% 50%; grid-template-areas:
		'item01 item02 item03'
		'item04 item05 item06'; }

.etc-box div { background-color: #4f81bd; }

.etc-box img { width: 100%; height: 100%; }

/* 2026.12.01 유대규: 클릭하는 칸은 a 태그로 하고(키보드 이동 가능), 마우스를 올리거나 키보드로 선택하면 흐리게 표시 */
.etc-box a { display: block; width: 100%; height: 100%; cursor: pointer; }
	.etc-box a:hover img, .etc-box a:focus-visible img { opacity: 0.4; }
	.etc-box a:focus-visible { outline: 2px solid #fc0; outline-offset: -2px; }

.etc-box__item01 { grid-area: item01; }

.etc-box__item02 { grid-area: item02; }

.etc-box__item03 { grid-area: item03; }

.etc-box__item04 { grid-area: item04; }

.etc-box__item05 { grid-area: item05; }

.etc-box__item06 { grid-area: item06; }

main .login-box { grid-column: span 3; height: 190px; padding: 20px; background: #f3f4f8; }

.login-box__title { font: bold 12pt "malgun gothic", Dotum; }

.login-box-main { height: 64px; display: grid; grid-template-columns: 35% 35% 30%; grid-template-rows: 50% 50%; gap: 0; grid-template-areas:
		'id id login'
		'pw pw login'; margin: 15px 0 20px 0; }

.login-box__id { grid-area: id; border-radius: 0px; border: 1px solid rgb(208, 208, 208); background-color: red; }

.login-box__pw { grid-area: pw; border-radius: 0px; border: 1px solid rgb(208, 208, 208); background-color: blue; }

.login-box__login { grid-area: login; display: flex; width: 100%; height: 100%; color: white; justify-content: center; align-items: center; font-size: 0.875rem; background-color: #4f81bd; }

	.login-box__login:hover { cursor: pointer; }

.login_box__btn_login { width: 100%; height: 100%; cursor: pointer; color: white; border: none; background-color: transparent; }

.login_box__input { width: 100%; height: 100%; padding-left: 10px; border: none; outline: none; }

.login-box-footer { font-size: 0.875rem; }

.login-box__search_pw { width: max-content; color: #555555; text-decoration: none; }

	.login-box__search_pw:hover { color: navy; }

/*2025.04.26 유대규: 로그인 후 메시지(비밀번호 만료, 오류, 복잡성 불만족 등) 표시 할때 사용*/
.login-msgbox { text-align: center; font-weight: bold; line-height: 1.5em; font-size: 1.1em; border: 2px dotted blue; border-radius: 3px; padding: 8px; word-break: keep-all; }
	.login-msgbox button { width: 40%; height: 3em; color: white; border: 1px solid #36a; border-radius: 3px; background-color: #48b; }
		.login-msgbox button:hover { color: #FF9; border: 1px solid #993; }
		.login-msgbox button:active { color: #F66; }

/* main 종료 */
.ui-dialog { box-shadow: 3px 3px 10px -1px rgba(0, 0, 0, 0.5); }
/* footer 시작 */
footer { grid-column: span 12; width: 100%; height: 40px; align-items: center; padding: 0 20px; background: #dadbdd; color: #888888; font-size: 0.75rem; }

	footer a { text-decoration: none !important; color: #888888 !important; }

.footer-left { grid-column: span 6; }

footer .footer-right { height: 100%; grid-column: span 6; justify-self: end; display: flex; align-items: center; }

.footer-right .footer-right__item { padding: 0 15px; border-right: 1px solid #c8c8c8; }

	.footer-right .footer-right__item:nth-last-child(1) { border-right: none; padding-right: 0; }
/* footer 종료 */

/* button*/
.btn, a.btn, a.btn:link, a.btn:visited { border: 0; color: White; font-weight: bold; font-size: 12px; cursor: pointer; padding: 4px 6px; height: 19px; line-height: 12px; border-radius: 2px; box-sizing: border-box; margin: 1px 0; letter-spacing: inherit; white-space: nowrap; vertical-align: middle; background-color: #555; background-repeat: no-repeat; background-position: 2px 2px; }

	.btn:hover, a.btn:hover { color: #FFF; background-color: #333; text-decoration: none; }

/* 공지사항 Dialog 창 시작 */
#divBoard { padding-top: 20px; }

	#divBoard .board_header { display: grid; grid-template-columns: repeat(12, 1fr); grid-gap: 0; width: 100%; height: 50px; align-items: center; padding-left: 10px; margin-bottom: 20px; border-top: 1px solid black; border-bottom: 1px solid lightgray; }

.board_left { grid-column: span 6; }

#board_subject { font-weight: bold; }

.board_right { height: 100%; grid-column: span 6; justify-self: end; display: flex; align-items: center; font-size: 0.8rem; }

.board_right_item { padding: 0 15px; border-right: 1px solid #c8c8c8; }

	.board_right_item:nth-last-child(1) { border-right: none; padding-right: 0; }

#board_main { height: 400px; padding: 0 10px 0 10px; overflow-y: auto; }

.board_footer a { text-decoration: none; }

.footer_attach { color: #1b4f8d; font-weight: bold; }

#tbl_attach, #pop_board_footer table { width: 100%; margin-top: 6px; border: 1px solid lightgray; border-collapse: collapse; }

	#tbl_attach tr, #pop_board_footer table tr { height: 24px; width: 100%; }

	#tbl_attach th, #pop_board_footer table th { background-color: #f4f4f4; }

	#tbl_attach td, #pop_board_footer table td { border: 1px solid lightgray; font-size: 0.875rem; }

	#tbl_attach a:link, #pop_board_footer table a:link { text-decoration: none !important; }
/* 공지사항 Dialog 창 종료 */

.ells { white-space: nowrap; word-wrap: normal; overflow: hidden; text-overflow: ellipsis; }

/* 태블릿 */
@media screen and (max-width: 1023px) {

	main .container { width: auto; margin: 30px 10px 40px 10px; }	/* 2026.11.30 유대규: 좌우 여백이 있으므로 width 100% 해제 */

	main .container-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas:
			'carousel carousel'
			'etc-box login-box'
			'notice-box notice-box'; }

	main .carousel-box { grid-area: carousel; grid-column: span 2; height: 400px; }

	main .notice-box { grid-area: notice-box; grid-column: span 2; margin: 0; height: 190px; }

	main .etc-box { grid-area: etc-box; grid-column: span 1; height: 190px; }

	main .login-box { grid-area: login-box; grid-column: span 1; height: 190px; }

	footer .footer-left { grid-column: span 3; }

	footer .footer-right { grid-column: span 9; }
}


/* 모바일 */
@media screen and (max-width: 767px) {
	header .header-left { grid-column: span 12; }

	header .header-left-menu { display: none !important; }

	header .header-right { display: none; }

	main .container-grid { grid-template-columns: 1fr; grid-template-areas:
			'carousel'
			'login-box'
			'notice-box'
			'etc-box'; margin: 30px 10px 40px 10px; }

	main .carousel-box { grid-area: carousel; height: 280px; }

	main .notice-box { grid-area: notice-box; margin: 0; height: 190px; }

	main .etc-box { grid-area: etc-box; height: 190px; }

	main .login-box { grid-area: login-box; height: 190px; }

	footer .footer-left { grid-column: span 12; }

	footer .footer-right { display: none; }


	#divBoard .board_header { height: 70px; }

	#divBoard .board_left { grid-column: span 12; }

	#divBoard .board_right { grid-column: span 12; }
}

/* 2026.12.01 유대규: 아래는 각 사이트 login.asp 에 있던 스타일 ================================ */
.btnPrdt { color: #fff; font-size: 12px; padding: 5px 3px; width: 48%; border: 2px double #ccc; background-color: #5f5f5f; font-weight: bold; font-family: Verdana GulimChe; cursor: pointer; white-space: nowrap; text-overflow: clip; }

/* 로그인 메시지(제목 옆), OTP 입력 단계(비밀번호 확인 후 아이디, 비밀번호 칸 대신 표시) */
/* 2026.12.01 유대규: 제목 아래에 메시지 두 줄 공간을 고정으로 두고, 아래에는 사이트별 추가 내용(왼쪽)과 비밀번호 초기화 버튼(오른쪽) */
main .login-box { padding: 14px 20px; }
.login-msg { height: 2.7em; margin: 2px 0 4px; font-size: 0.75rem; line-height: 1.3; overflow: hidden; }
.login-box .login-box-main { margin: 0 0 8px 0; }
.login-box-extra { font-size: 0.75rem; white-space: nowrap; }
	.login-box-extra .btnPrdt { width: auto; padding: 4px 6px; }
.login-box-footer { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.login-box__btn_reset { flex: none; padding: 4px 8px; color: white; font-weight: bold; font-size: 0.8rem; border: 1px solid #36a; border-radius: 3px; background-color: #4f81bd; cursor: pointer; }
	.login-box__btn_reset:hover { background-color: #36a; }
.login-box__ot { grid-area: id; border: 1px solid rgb(208, 208, 208); }
.login-box__ot2 { grid-area: pw; border: 1px solid rgb(208, 208, 208); align-items: center; justify-content: space-between; padding-left: 10px; background-color: white; }
.login-box__ot, .login-box__ot2, .login-msgbox { display: none; }
.login-box-main.otp .login-box__id, .login-box-main.otp .login-box__pw { display: none; }
.login-box-main.otp .login-box__ot { display: block; }
.login-box-main.otp .login-box__ot2 { display: flex; }
.login-box-main.otp_g .login-box__ot2 { visibility: hidden; }	/* 구글 OTP는 남은 시간, 재전송 없음 */
/* 2026.12.02 유대규: 이메일 OTP 삭제로 재전송 버튼(#btnReSend) 스타일 삭제 */
.login-msgbox ul { margin: 0 0 8px; padding: 0 0 0 1.4em; text-align: left; }
/* 2026.12.01 유대규: 안내가 여러 줄이어도 로그인 상자(190px) 안에 들어가도록, 버튼은 상자 아래에 고정하고 남는 높이는 모두 안내 목록(넘치면 목록만 스크롤) */
.login-box .login-msgbox { flex-direction: column; height: 100%; padding: 6px 8px; font-size: 0.8rem; line-height: 1.35; overflow: hidden; }	/* 표시할 때 display: flex */
	.login-box .login-msgbox ul { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0 0 4px; }
	.login-box .login-msgbox__btn { flex: none; }
	.login-box .login-msgbox__btn label { display: block; padding: 0 0 4px; }
	.login-box .login-msgbox button { width: auto; min-width: 40%; height: 2.4em; padding: 0 8px; white-space: nowrap; }
.login-msgbox.err { color: brown; border-color: red; }

/* 시스템 공지사항 전체 목록 */
#divGongJi, #frmJebo { display: none; }
#GjTblBody > thead { position: sticky; top: 0; }
	#GjTblBody > thead th { border: 1px solid #ddd; padding: 0.35em 0; font-weight: bold; font-size: 15px; text-align: center; background-color: rgb(248, 248, 248); }
#GjTblBody > tbody { border-bottom: 1px solid #ddd; }
	#GjTblBody > tbody tr { border: 1px solid #ddd; cursor: pointer; }
	#GjTblBody > tbody td { padding: 4px 0; border: 1px solid #ddd; }
#gjList tr:hover { background: #fff4d2; }
.tr_title.on { background: rgb(238, 240, 252) !important; font-weight: bold; }
.notice-box__list { cursor: pointer; }

/* 사이버감사실(부정비리/고충 제보) */
#frmJebo { font-family: 'notokr-regular'; margin: 0 0 0 40px; padding: 8px 0; }
	#frmJebo h3 { position: relative; font-size: 30px; line-height: 40px; text-align: center; font-family: 'notokr-medium'; display: inline-block; border-top: 3px solid #e04438; padding-top: 10px; color: #e04438; }
	#frmJebo .board_header span { position: absolute; display: block; text-align: center; color: #424242; width: 100%; margin-top: 10px; font-size: 15px; }
	#frmJebo #jebo_subject { height: 2em; }
	#frmJebo textarea { width: 97%; resize: vertical; font-family: NanumGothic; }
	#frmJebo p { font-size: 16px; color: #6b6867; font-family: NanumGothic; font-weight: bold; }
	#frmJebo .btnSend, #frmJebo .btnClear { cursor: pointer; font-weight: bold; color: #fff; font-size: 16px; background: #126; height: 50px; min-width: 140px; border-radius: 6px; border: 1px solid #b8b8b8; padding: 2px; }
	#frmJebo .btnClear { background-color: #666; }
		#frmJebo .btnClear:active { background: #777; color: pink; }
