@import url("contents.css");

:root {
    --main-color: #008837;
    --main-color-hover: #00752F;
    --main-color-disabled: #DAEBE1;
    --main-color-disabled-font: #9CB3A5;

    --green-01: #D4F2E0;
    --green-02: #004B1E;

    --gray-bg-color: #F3F6FB;
    --gray-bg-hover: #EBEFF5;
    --gray-bg-focus: #F8F9FC;
    --gray-bg-disabled: #F3F6FB;
    --gray-bg-disabled-font: #D6DBE1;

    --disabled-01: #BDCDC4;


    --gray-01: #F0F5FA;
    --gray-50: #F8F9FC;
    --gray-100: #F3F6FB;
    --gray-200: #EBEFF5;
    --gray-250: #E1E6EC;
    --gray-300: #D6DBE1;
    --gray-400: #B9C1C9;
    --gray-500: #808892;
    --gray-600: #565B64;
    --gray-800: #24272D;

    --gray-line: #CAD2E5;

    --blue-01: #0065D9;

    --red-01: #D20000;
    --red-02: #b80000;
    --red-03: #930000;
}

/*  Header */
header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; position: fixed; width: 100%; z-index: 100; background-color: #ffffff; max-width: 1440px; top: 0; left: 50%; transform: translateX(-50%); }
.header-bg { height: 76px; }
/*header .link img { height: 32px; }*/
header nav { flex-grow: 1; padding-left: 100px; }
header nav .gnb-list-wrap { display: flex; align-items: center; gap: 46px; }
header nav .gnb-list-wrap a { font-size: 18px; font-weight: 600; line-height: 28px; white-space: nowrap; }
header nav .gnb-list-wrap a:hover { color: var(--main-color); }
header nav .gnb-list-wrap a.active { color: var(--main-color); border-bottom: 2px solid var(--main-color); }

header .right-side-area.flex-set { display: flex; gap: 11px; align-items: center; }
header .right-side-area .user-view { display: flex; padding: 4px 12px; align-items: center; gap: 8px; width: auto; }
header .right-side-area .user-view .txt { font-size: 18px; font-weight: 600; line-height: 28px; }
header .right-side-area .user-view .txt strong { display: inline-block; padding-right: 4px; }
header .right-side-area .logout-btn { display: flex; padding: 4px 12px; align-items: center; color: var(--gray-600); }
header .right-side-area .btn-divider { display: inline-block; width: 2px; height: 16px; border-radius: 2px; background-color: var(--gray-200); }

/* Footer */
footer { padding: 30px 40px; }
footer .footer-top-area { display: flex; justify-content: space-between; align-items: center; }
footer .footer-top-area .logo-wrap { display: flex; gap: 16px; }
/*footer .footer-top-area .logo-wrap img { height: 32px; }*/
footer .footer-top-area .info-list-wrap { display: flex; align-items: center; gap: 40px; }
footer .footer-top-area .info-list-wrap .txt { display: inline-block; font-size: 16px; font-weight: 500; line-height: 22px; }
footer .footer-top-area .info-list-wrap .txt.bold { font-weight: 700; color: var(--blue-01); }
footer .link-btn-wrap { margin-top: 24px; display: flex; justify-content: flex-end; }
footer .copyright { margin-top: 16px; color: var(--gray-400); font-size: 14px; font-weight: 500; line-height: 16px; }

/* Form */
.input-list { display: flex; flex-direction: column; gap: 16px; width: 100%; }

.input-box.type-row,
.select-box.type-row { flex-direction: row; align-items: center; gap: 8px; }
.input-box.type-row label,
.select-box.type-row label { min-width: 74px; }
.input-box.type-row .txt-field,
.select-box.type-row select { flex-grow: 1; margin-top: 0; }
.input-box.type-row.type-date .date-input-wrap { display: grid; grid-template-columns: 252px 11px 252px; gap: 8px; align-items: center; }
.input-box.type-date .txt-field { padding: 0  44px 0 10px; background-image: url("../images/icn/icn-arrow-select.svg"); background-repeat: no-repeat; background-position: calc(100% - 10px) center; }

.input-box { display: flex; flex-direction: column; width: 100%; position: relative; }
.input-box label { font-size: 16px; font-weight: 500; line-height: 22px; }
.input-box .txt-field { margin-top: 8px; border-radius: 6px; border: 1px solid var(--gray-300); height: 46px; padding: 0 10px; font-size: 16px; font-weight: 500; z-index: 2; }
.input-box .txt-field::placeholder { color: var(--gray-400); opacity: 1; }
.input-box .txt-field:focus { border: 1px solid var(--gray-800); }
.input-box .txt-field:read-only,
.input-box .txt-field:disabled { border: 1px solid var(--gray-300); background-color: var(--gray-50); }

.input-box.type-btn01 input { width : 100%; }
.input-box.type-btn01 .auth-type input { margin-bottom : 15px; }
.input-box.type-btn01 .txt-field { padding-right: 44px; }
.input-box.type-btn02 .txt-field { padding-right: 66px; }

.input-box .clear-btn { position: absolute; right: 10px; bottom: 12px; z-index: 0; opacity: 0; }
.input-box .txt-field:focus + .clear-btn,
.input-box .clear-btn:focus { z-index: 5; opacity: 1; }

.input-box .toggle-view-btn { position: absolute; right: 42px; bottom: 12px; z-index: 0; opacity: 0; }
.input-box .txt-field:focus + .clear-btn + .toggle-view-btn,
.input-box:focus-within .clear-btn,
.input-box:focus-within .toggle-view-btn,
.input-box .toggle-view-btn:focus { z-index: 5; opacity: 1; }


.input-box .txt-field + .clear-btn + .toggle-view-btn { display: inline-block; width: 24px; height: 24px; background-repeat: no-repeat; background-position: center; }
.input-box .txt-field[type=password] + .clear-btn + .toggle-view-btn { background-image: url("../images/icn/icn-pw-hide.svg") }
.input-box .txt-field[type=text] + .clear-btn + .toggle-view-btn { background-image: url("../images/icn/icn-pw-view.svg") }

.input-box .err-msg-box { margin-top: 0; height: 0; overflow: hidden; transition: 0.1s all; }
.input-box.err .err-msg-box { margin-top: 4px; height: 16px; }
.input-box.err .err-msg-box .err-msg { color: var(--red-01); font-size: 14px; font-weight: 400; line-height: 16px; }

.input-box.err .clear-btn,
.input-box.err .toggle-view-btn { bottom: 31px; }
.input-box.err .txt-field { border: 1px solid var(--red-01); }

.input-box.type-timer .timer { position: absolute; right: 10px; bottom: 12px; z-index: 5; color: var(--main-color); font-size: 16px; font-weight: 500; line-height: 22px; }
.input-box.type-timer.err .timer { bottom: 32px; color: var(--red-01); }

.select-box { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.select-box label { font-size: 16px; font-weight: 500; line-height: 22px; }
.select-box select { border-radius: 6px; border: 1px solid var(--gray-300); height: 46px; padding: 0  44px 0 10px; font-size: 16px; font-weight: 500; background-image: url("../images/icn/icn-arrow-select.svg"); background-repeat: no-repeat; background-position: calc(100% - 10px) center; }
.select-box select:invalid { color: var(--gray-400); opacity: 1; }
.select-box select:focus { border: 1px solid var(--gray-800); }
.select-box select option[value=""][disabled] { display: none; }

.checkbox-wrap { display: flex; align-items: center; justify-content: center }
.checkbox-wrap input[type=checkbox] { appearance: none; -webkit-appearance: none; -moz-appearance: none; width: 20px; height: 20px; background-image: url('../images/form/chk-off.svg'); background-repeat: no-repeat; background-position: center; }
.checkbox-wrap input[type=checkbox]:checked { background-image: url(../images/form/chk-on.svg); }
.checkbox-wrap input[type=checkbox] + label { padding-left: 8px; color: var(--gray-600); font-size: 16px; font-weight: 600; line-height: 22px; }

.input-wrap-btn-field { display: grid; grid-template-columns: 242px 88px; gap: 8px; width: 100%; }
.input-wrap-btn-field .option-btn { margin-top: 30px; width: 100%; height: 46px; line-height: 46px; display: inline-block; text-align: center; border-radius: 8px; border: 1px solid var(--main-color); font-size: 16px; font-weight: 600; color: var(--main-color) }
.input-wrap-btn-field .option-btn:disabled { border: 1px solid var(--disabled-01); color: var(--disabled-01); }


/* Button */
.main-btn { height: 46px; line-height: 46px; width: 100%; display: inline-block; border-radius: 8px; background-color: var(--main-color); color: #ffffff; font-size: 16px; font-weight: 600; }
.main-btn:hover { background-color: var(--main-color-hover); }
.main-btn:disabled { background-color: var(--main-color-disabled); color: var(--main-color-disabled-font); }

.gray-btn { height: 46px; line-height: 46px; width: 100%; display: inline-block; border-radius: 8px; background-color: var(--gray-100); font-size: 16px; font-weight: 600; color: var(--gray-800); }

.link-btn01 { display: flex; align-items: center; border-radius: 44px; border: 1px solid var(--main-color); color: var(--main-color); height: 36px; padding: 0 46px 0 16px; background-image: url("../images/icn/icn-arrow-top-right-green.svg"); background-repeat: no-repeat; background-position: calc(100% - 16px) center; font-size: 16px; font-weight: 600; white-space: nowrap; }
.link-btn01.none-arrow { background-image: none; padding: 0 16px; }
.link-btn02 { display: flex; align-items: center; border-radius: 44px; background-color: var(--green-01); color: var(--green-02); height: 36px; padding: 0 46px 0 16px; background-image: url("../images/icn/icn-arrow-top-right-green02.svg"); background-repeat: no-repeat; background-position: calc(100% - 16px) center; font-size: 16px; font-weight: 600; white-space: nowrap; }

.detail-btn { display: inline-block; padding: 0 16px; min-width: 88px; height: 34px; line-height: 34px; border-radius: 44px; background-color: var(--gray-100); color: var(--gray-800); font-size: 16px; font-weight: 600; }



/* Modal */
.dim { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 1000; background-color: rgba(0,0,0,0.3) }
.dim.active { display: block; }

.default-modal { display: none; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1100; background-color: #ffffff; padding: 16px; border-radius: 16px; width: 336px; }
.default-modal.active { display: inline-block; }
.default-modal .modal-wrap { display: flex; flex-direction: column; align-items: center; }
.default-modal .top-area { display: flex; justify-content: flex-end; width: 100%; }
.default-modal .icn { width: 50px; }
.default-modal .title { margin-top: 16px; font-size: 24px; font-weight: 700; line-height: 34px; }
.default-modal .sub-copy { margin-top: 8px; font-size: 16px; font-weight: 500; line-height: 22px; text-align: center; }
.default-modal .main-btn { margin-top: 24px; }

.contents-modal { display: none; position: fixed; left: 50%; top: 50%; min-width: 378px; transform: translate(-50%, -50%); z-index: 1100; background-color: #ffffff; border-radius: 16px; overflow: hidden; }
.contents-modal.active { display: inline-block; }
.contents-modal .modal-header { background-color: var(--gray-50); height: 54px; line-height: 54px; text-align: center; }
.contents-modal .modal-body { padding: 20px; }
.contents-modal .modal-body .btn-wrap { margin-top: 32px; }
.contents-modal .contents-box,
.contents-modal .contents-box .txt-field,
.contents-modal .contents-box .main-btn,
.contents-modal .contents-box .gray-btn,
.contents-modal .contents-box .clear-btn { display: none; }
.contents-modal .contents-box.active,
.contents-modal .contents-box.active .txt-field,
.contents-modal .contents-box.active .main-btn,
.contents-modal .contents-box.active .gray-btn,
.contents-modal .contents-box.active .clear-btn { display: block; }
.contents-modal .contents-box .btn-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

.app-modal { display: none; }
.app-modal.active { display: inline-block; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1100; }

/* 컨텐츠 메인 영역 */
.main-cont-wrap { padding: 40px 120px 40px; min-height: calc(100vh - 320px) }
.main-cont-wrap .page-title { font-size: 42px; font-weight: 600; line-height: 52px; }
.main-cont-wrap .page-sub-cont-wrap { margin-top: 24px; }
.main-cont-wrap .page-sub-cont-wrap .sub-copy { font-size: 18px; font-weight: 500; line-height: 28px; }
.main-cont-wrap .contents-main-area { margin-top: 40px; }

.search-cont-box { margin-top: 40px; border-radius: 12px; border: 2px solid var(--gray-100); padding: 32px; }

/* 탭 */
.tab-menu-wrap { display: flex; justify-content: space-between; gap: 16px; }
.tab-menu-wrap .tab-menu { height: 60px; padding: 10px 16px; width: 100%; border-radius: 8px; border: 1px solid var(--gray-300); text-align: center; font-size: 18px; font-weight: 600; line-height: 28px; }
.tab-menu-wrap .tab-menu.active { background-color: var(--main-color); border: 0; color: #ffffff; }
.tab-cont-wrap { margin-top: 40px; }
.tab-cont-wrap .tab-contents { width: 100%; display: none; }
.tab-cont-wrap .tab-contents.active { display: block; }

/* 게시판 */
.board-table-wrap table { width: 100%; }
.board-table-wrap table thead th { background-color: var(--gray-50); border-bottom: 1px solid var(--gray-200); height: 56px; font-size: 16px; font-weight: 500; }
.board-table-wrap table tbody td { text-align: center; height: 56px; padding: 0 20px; font-size: 16px; font-weight: 500; }
.board-table-wrap table tbody td.align-left { text-align: left; }
.board-table-wrap table tbody td.align-right { text-align: right; }
.board-table-wrap table tbody tr:last-child td { border-bottom: 1px solid var(--gray-200);  }
.board-table-wrap.clickable table tbody td { cursor: pointer; }

.board-table-wrap .top-option-wrap { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.board-table-wrap .top-option-wrap .btn { border-radius: 6px; background-color: var(--main-color); color: #ffffff; font-size: 14px; font-weight: 600; padding: 0 12px; height: 28px; line-height: 28px; }
.board-table-wrap .top-option-wrap .btn:disabled { background-color: #DAEBE1; color: #9CB3A5; }
.board-table-wrap .input-box .txt-field { height: 32px; margin-top: 0; font-size: 14px; font-weight: 500; }
.board-table-wrap .select-box select { height: 32px; padding: 0 26px 0 10px; background-image: url("../images/icn/icn-arrow-select-16.svg"); background-repeat: no-repeat; background-position: right 10px center; font-size: 14px; font-weight: 500; background-color: var(--gray-50); border: 1px solid var(--gray-50); }
.board-table-wrap .select-box select:focus { border: 1px solid var(--gray-800); }
.board-table-wrap .select-box select:disabled { background-color: var(--gray-200); border: 1px solid var(--gray-200); }

.board-detail-wrap .board-header-box { background-color: var(--gray-50); border-bottom: 1px solid var(--gray-200); display: grid; grid-template-columns: 1fr 160px 140px; }
.board-detail-wrap .board-header-box p { padding: 0 20px; font-size: 16px; font-weight: 500; height: 56px; line-height: 56px; }
.board-detail-wrap .board-header-box .txt-box { padding: 0 20px; font-size: 16px; font-weight: 500; height: 56px; line-height: 56px; display: flex; align-items: center; gap: 10px; }
.board-detail-wrap .board-header-box .txt-box b { font-weight: 600; }
.board-detail-wrap .board-file-box { padding: 20px; border-bottom: 1px solid var(--gray-200); display: grid; grid-template-columns: 70px 1fr 88px; gap: 32px; align-items: flex-start; }
.board-detail-wrap .board-file-box .title { display: flex; align-items: center; gap: 4px; }
.board-detail-wrap .board-file-box .title .icn { width: 16px; }
.board-detail-wrap .board-file-box .title span { color: var(--gray-600); font-size: 14px; font-weight: 600; line-height: 16px; }
.board-detail-wrap .board-file-box .file-list { display: flex; flex-direction: column; }
.board-detail-wrap .board-file-box .file-list li { display: flex; gap: 8px; align-items: center; }
.board-detail-wrap .board-file-box .file-list li + li { margin-top: 16px; }
.board-detail-wrap .board-file-box .file-list .file { font-size: 14px; font-weight: 500; line-height: 16px; text-decoration: underline; text-underline-offset: 2px; }
.board-detail-wrap .board-file-box .file-list span { color: var(--gray-600); font-size: 14px; font-weight: 500; line-height: 16px; }
.board-detail-wrap .board-file-box .total-down-btn { height: 34px; line-height: 34px; padding: 0 16px; border-radius: 44px; border: 1px solid var(--gray-300); font-size: 16px; font-weight: 600; }
.board-detail-wrap .board-txt-box { padding: 16px 20px; font-size: 16px; font-weight: 500; line-height: 22px; white-space: pre-line; min-height: 538px; }
.board-detail-wrap .board-txt-box a { text-decoration: underline; text-underline-offset: 2px; }

.board-detail-wrap .board-footer-box hr { height: 1px; background-color: var(--gray-200); border: 0; }
.board-detail-wrap .board-footer-box p { padding: 0 20px; font-size: 14px; font-weight: 500; height: 40px; line-height: 40px; }
.board-detail-wrap .board-footer-box .exit { width: 100%; display: flex; justify-content: end; margin-top: 30px; }
.board-detail-wrap .board-footer-box .exit .main-btn { width : 100px; }
.board-detail-wrap .board-footer-box .content-list .prev-content { display: flex; font-size: 14px; line-height: 38px; }
.board-detail-wrap .board-footer-box .content-list .next-content { display: flex; font-size: 14px; line-height: 38px; }

.board-info-txt { margin-top: 16px; text-align: left; font-size: 14px; font-weight: 500; line-height: 16px; }

.board-none-data-view { text-align: center; }
.board-none-data-view > img { width: 160px; }
.board-none-data-view > p { margin-top: 24px; font-size: 20px; font-weight: 500; line-height: 32px; }

/* 페이징 */
.pagination-wrap { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.pagination-wrap .btn { display: flex; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--gray-300); font-size: 14px; font-weight: 500; align-items: center; justify-content: center; }
.pagination-wrap .btn { background-repeat: no-repeat; background-position: center; }
.pagination-wrap .btn.active { cursor: default; }
.pagination-wrap .btn.active,
.pagination-wrap .btn.active:hover { background-color: var(--main-color); color: var(--gray-50); }

.pagination-wrap .btn:disabled { cursor: default; }
.pagination-wrap .btn:disabled:hover { background-color: #ffffff; }
.pagination-wrap .btn:hover { background-color: var(--gray-200); }

.pagination-wrap .btn.first { background-image: url("../images/icn/icn-page-first.svg"); }
.pagination-wrap .btn.prev { background-image: url("../images/icn/icn-page-prev.svg"); }
.pagination-wrap .btn.next { background-image: url("../images/icn/icn-page-next.svg"); }
.pagination-wrap .btn.last { background-image: url("../images/icn/icn-page-last.svg"); }
.pagination-wrap .btn.first:disabled { background-image: url("../images/icn/icn-page-first-disabled.svg"); }
.pagination-wrap .btn.prev:disabled { background-image: url("../images/icn/icn-page-prev-disabled.svg"); }
.pagination-wrap .btn.next:disabled { background-image: url("../images/icn/icn-page-next-disabled.svg"); }
.pagination-wrap .btn.last:disabled { background-image: url("../images/icn/icn-page-last-disabled.svg"); }

/* Datepicker */
.ui-widget { font-family: 'Pretendard'; }
.ui-datepicker .ui-datepicker-header { background-color: var(--gray-100); border: none; padding: 10px 0; }
.ui-datepicker .ui-datepicker-title { font-weight: 600; font-size: 16px; }
.ui-datepicker th { font-weight: 500; font-size: 16px; }
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next { top: 10px; }
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span { background-repeat: no-repeat; background-position: center; width: 24px; height: 24px; margin-left: 0; margin-top: 0; transform: translate(-50%, -50%); }
.ui-datepicker .ui-datepicker-prev span { background-image: url("../images/datepicker/prev.svg"); }
.ui-datepicker .ui-datepicker-next span { background-image: url("../images/datepicker/next.svg"); }

.ui-datepicker td span, .ui-datepicker td a { padding: 4px; }
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button, html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active { border: 1px solid var(--gray-300); background-color: #ffffff; font-size: 16px; font-weight: 500; }

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover { border: 1px ssolid var(--main-color); background-color: var(--green-01); color: var(--main-color); }

/* 웹 접근성 */
/* .blind { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; } */
.blind { display: inline-block !important; overflow: hidden; position: absolute; border: 0; width: 1px; height: 1px; clip: rect(1px,1px,1px,1px); }
span.text-hide { display: inline-block !important; overflow: hidden; position: absolute; border: 0; width: 1px; height: 1px; clip: rect(1px,1px,1px,1px); }
.required-mark { overflow: hidden; display: inline-block; width: 14px; height: 20px; font-size: 0; line-height: 0; text-indent: -999999px; background-image: url(../images/icn/icn-required-mark.svg); background-repeat: no-repeat; background-position: center 2px; vertical-align: bottom; }

.skip-nav { position: fixed; top: 0; left: 50%; transform: translateX(-50%); max-width: 1440px; z-index: 99999; width: 100%; }
.skip-nav a { display: inline-block; z-index: 99999; width: 100%; height: 0px; overflow: hidden; line-height: 42px; background-color: var(--main-color); color: #ffffff; font-size: 16px; font-weight: 700; text-align: center; position: absolute; left: 0; top: 0; }
.skip-nav a:focus { height: 42px; }

.hide { display: none !important; }