.search-box {display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 50px;}
.search-box input {width: 100%; height: 50px; padding: 0 15px; background: var(--wt); border-radius: 5px; box-sizing: border-box; font-size: 16px; font-weight: 300; line-height: 1.25; color: var(--black);}
.search-box input::placeholder {color: var(--gray_d4);}
.search-box .inquiry_btn {min-width: 120px; width: 120px; height: 50px; border-radius: 5px; background: #2A80FF; font-size: 16px; font-weight: 400; line-height: 1.25; letter-spacing: -0.32px; color: var(--wt);}
.search-box .search_btn {min-width: 120px; width: 120px; height: 50px; border-radius: 5px; background: var(--pr); font-size: 16px; font-weight: 400; line-height: 1.25; letter-spacing: -0.32px; color: var(--wt);}
.search-box select#mb_living_area {width: 100%; height: 50px; padding: 0 15px; border-radius: 5px; box-sizing: border-box; font-size: 16px; font-weight: 300; line-height: 1.25; color: var(--black); appearance: none; background: var(--wt) url(./../img/select_icon.png) no-repeat calc(100% - 12px) 50%; background-size: 15px 9px;}


.day_txt {display: flex; gap: 10px; margin-bottom: 5px; width: 100%;}
.day_txt span{display:flex; width: 100%; align-items: center; color: var(--gray_92);}
/* input-box */
.input-box {display: flex; align-items: center; gap: 10px;}
.input-box.ck-editor {margin-top: 0; border: none;}
.input-box input {width: 100%; height: 50px; padding: 0 15px; background: var(--wt); border-radius: 5px; box-sizing: border-box; font-size: 16px; font-weight: 300; line-height: 1.25; color: var(--black);}
.input-box input::placeholder {color: var(--gray_d4);}
.input-box textarea {width: 100%; height: 250px; padding: 15px; background: var(--wt); border-radius: 5px; box-sizing: border-box; font-size: 16px; font-weight: 300; line-height: 1.25; color: var(--black); resize: none;}

/* select_box */
.select_box {width: 100%; height: auto;}
.select_box .d-col {gap: 10px; margin-bottom: 20px;}
.select_box .d-col .tit {font-size: 18px; font-weight: 500; line-height: 1.17;  color: var(--black);}
.select_box .d-col:last-of-type {margin-bottom: 0;}
.select_box select {width: 100%; height: 40px; padding: 0 15px; background: url(./../img/select_icon.png)no-repeat calc(100% - 12px) 50%; background-size: 15px 9px; background-color: var(--wt); border-radius: 5px; box-sizing: border-box; font-size: 15px; font-weight: 300; line-height: 1.2; color: var(--black); appearance: none;}
.download_btn select {width: 100%; height: 40px; padding: 0 15px; background: url(./../img/select_icon.png)no-repeat calc(100% - 12px) 50%; background-size: 15px 9px; background-color: var(--wt); border-radius: 5px; box-sizing: border-box; font-size: 15px; font-weight: 300; line-height: 1.2; color: var(--black); appearance: none;}
.input-box.ck-editor select {height: 50px;}


/* ckd-box */
.ckd-box {display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; width: 100%; height: auto;}
.ckd-box input[type="checkbox"] {display: none;}
.ckd-box label {display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 400; line-height: 1.19; color: var(--black_26);}
.ckd-box label:before {content: ''; display: block; width: 20px; height: auto; aspect-ratio: 5/5; background: url(./../img/ckd_off.png) no-repeat 50% 50%; background-size: cover;}
.ckd-box input[type="checkbox"]:checked + label:before {content: ''; display: block; width: 20px; height: auto; aspect-ratio: 5/5; background: url(./../img/ckd_on.png) no-repeat 50% 50%; background-size: cover;}

/* radio */
.ckd-box input[type="radio"] {display: none;}
.ckd-box label {display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 400; line-height: 1.19; color: var(--black_26);}
.ckd-box label:before {content: ''; display: block; width: 20px; height: auto; aspect-ratio: 5/5; background: url(./../img/ckd_off.png) no-repeat 50% 50%; background-size: cover;}
.ckd-box input[type="radio"]:checked + label:before {content: ''; display: block; width: 20px; height: auto; aspect-ratio: 5/5; background: url(./../img/ckd_on.png) no-repeat 50% 50%; background-size: cover;}

.db_comp {width: 100%; height: auto; margin-bottom: 50px;}
.db_comp2 {margin-top: 50px;}
.db_comp:last-of-type {margin-bottom: 0;}
.db_comp .comp_tit {position: relative; display: flex; align-items: center; justify-content: space-between; padding-left: 10px; margin-bottom: 20px; font-size: 24px; font-weight: bold; line-height: 1.21; color: var(--black);}
.db_comp .comp_tit.redun {justify-content: flex-start; gap: 7px;}
.db_comp .comp_tit.redun:after {content: '*중복 선택 가능'; font-size: 16px; font-weight: 400; line-height: 1.19; color: var(--pr);}
.db_comp .comp_tit:before {position: absolute; top: 50%; left: 0; transform: translateY(-50%); content: ''; display: block; width: 3px; height: 100%; background: var(--pr);}
.db_comp .comp_tit .db_num {font-size: 18px; font-weight: 500; line-height: 1.17; color: var(--pr);}
.db_comp ul {gap: 10px 0; width: 100%; height: auto;}
.db_comp ul li {width: 100%; height: auto; border-radius: 10px; background: var(--wt);}
.db_comp ul li .child-box {width: 100%; height: auto; padding: 30px; box-sizing: border-box;}
.db_comp ul li .child-box .comp_hd {display: flex; flex-flow: column; width: 100%; height: auto; margin-bottom: 25px;}
.db_comp ul li .child-box .comp_hd .tit {display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 500; line-height: 1.17; color: var(--black);}
.db_comp ul li .child-box .comp_hd .tit span {font-size: 16px; font-weight: 500; line-height: 1.19; color: var(--pr);}
.db_comp ul li .child-box .comp_bd {display: flex; align-items: center; width: 100%; height: auto;}
.db_comp ul li .child-box .comp_bd dl {display: flex; flex-flow: column; gap: 10px; width: calc(100% / 5);}

.db_comp ul li.db7 .child-box .comp_bd {flex-wrap: wrap; gap:30px 0;}
.db_comp ul li.db7 .child-box .comp_bd dl {width: calc(100% / 7);}

.db_comp ul li.dbF .child-box .comp_bd {flex-wrap: wrap; justify-content: space-between;}
.db_comp ul li.dbF .child-box .comp_bd dl {width: auto; min-width: 85px;}

.db_comp ul li .child-box .comp_bd dl dt {display: flex; align-items: center; font-size: 26px; font-weight: bold; line-height: 1.19; letter-spacing: -0.52px; color: var(--black);}
.db_comp ul li .child-box .comp_bd dl dt font{font-size:0.7em; opacity: 0.6;}
.db_comp ul li .child-box .comp_bd dl dt.plus:after {margin-left: 4px; content: ''; display: block; width: 25px; height: auto; aspect-ratio: 5/5; background: url(./../img/plus.png)no-repeat 50% 50%; background-size: cover;}
.db_comp ul li .child-box .comp_bd dl dt.minus:after {margin-left: 4px; content: ''; display: block; width: 25px; height: auto; aspect-ratio: 5/5; background: url(./../img/minus.png)no-repeat 50% 50%; background-size: cover;}
.db_comp ul li .child-box .comp_bd dl dt.tm:after {margin-left: 4px; content: '익일'; display: flex; align-items: center; justify-content: center; width: 35px; height: 25px; border-radius: 12px; background: var(--prop); font-size: 12px; font-weight: 400; line-height: 1; color: var(--pr);}
.db_comp ul li .child-box .comp_bd dl dd {font-size: 15px; font-weight: 400; line-height: 1.2; color: var(--gray_92);}

.db_comp .comp_bd.site_total dl dt.tm2:after {
    content: "보유";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 25px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: var(--pr);
    border-radius: 12px;
    background: rgb(222, 235, 255);
    margin-left: 4px;
}
.db_comp .comp_bd.site_total dl dt.tm3:after {
    content: "필요";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 25px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: var(--red);
    border-radius: 12px;
    background: #FFE9E9;
    margin-left: 4px;
}

.db_comp ul li.areadb .child-box .comp_bd dl dt { gap: 0px;}

/* db comp 가 2열인경우 */
.db_comp ul.d-row {flex-wrap: wrap; margin: 0 -5px;}
.db_comp ul.d-row li {width: calc(100% / 2); padding: 0 5px; box-sizing: border-box;}
.db_comp .hash_txt {display: flex; flex-wrap: wrap; gap: 8px 5px; margin-top: 20px;}
.db_comp .hash_txt span {padding: 3px 8px; box-sizing: border-box; background: var(--wt_f7); border-radius: 11px; font-size: 14px; font-weight: 300; line-height: 1.14; color: var(--gray_4e);}

/* file */
.file {position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;}
.file .file_input {position: absolute; top: 0; left: 0; opacity: 0;}

/* db-list */
.db-list {width: 100%;}
.db-list .db_tit {display: flex; align-items: center; justify-content: space-between; gap:10px;}
.db-list .db_tit .tit {position: relative; display: flex; align-items: center; justify-content: space-between; padding-left: 10px; margin-bottom: 20px; font-size: 24px; font-weight: bold; line-height: 1.21; color: var(--black);}
.db-list .db_tit .tit:before {position: absolute; top: 50%; left: 0; transform: translateY(-50%); content: ''; display: block; width: 3px; height: 100%; background: var(--pr);}
.db-list .download_btn {display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-bottom: 15px;}
.db-list .download_btn a {padding: 10px 14px 9px; background: var(--pr); border-radius: 18px; font-size: 14px; font-weight: 400; line-height: 1.43; letter-spacing: -0.28px; color: var(--wt); white-space: nowrap;}
.db-list .download_btn .message-template-btn {padding: 10px 14px 9px; border: 0; background: var(--gray_4e); border-radius: 18px; font-size: 14px; font-weight: 400; line-height: 1.43; letter-spacing: -0.28px; color: var(--wt); white-space: nowrap; cursor: pointer;}
.table-area table .message-check-column {min-width: 82px; padding-left: 8px; padding-right: 8px; text-align: center;}
.table-area table .message-check-column input[type="checkbox"] {display: inline-block; width: 16px; height: 16px; vertical-align: middle; cursor: pointer;}
.message-check-column label {margin-left: 4px; white-space: nowrap; cursor: pointer;}
.consultation-time-badge {display: inline-block; margin-left: 6px; color: #e32636; font-weight: 700; white-space: nowrap;}

body.message-modal-open {overflow: hidden;}
.message-template-modal[hidden] {display: none;}
.message-template-modal {position: fixed; z-index: 10000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box;}
.message-template-backdrop {position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55);}
.message-template-dialog {position: relative; width: min(960px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: var(--wt); border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);}
.message-template-header {display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid #e8e8e8;}
.message-template-header h2 {margin: 0 0 6px; font-size: 22px; color: var(--black);}
.message-template-header p {margin: 0; color: var(--gray_92);}
.message-modal-close {border: 0; background: transparent; font-size: 30px; line-height: 1; color: var(--gray_92); cursor: pointer;}
.message-template-body {display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr); gap: 24px; padding: 24px;}
.message-template-body h3 {margin: 0 0 14px; font-size: 17px; color: var(--black);}
.message-template-preview {min-height: 330px; padding: 22px; box-sizing: border-box; border: 1px solid #dfe4ee; background: #f7f9fc; border-radius: 10px; white-space: pre-wrap; font-size: 16px; line-height: 1.7; color: var(--black);}
.message-template-input-area {display: flex; flex-direction: column; gap: 14px;}
.message-template-input-area .message-template-field[hidden] {display: none;}
.message-template-input-area label {display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 500; color: var(--black);}
.message-template-input-area input,
.message-template-input-area textarea {width: 100%; padding: 11px 12px; box-sizing: border-box; border: 1px solid #d8dce5; border-radius: 7px; background: var(--wt); font: inherit; color: var(--black); resize: vertical;}
.message-template-input-area input:focus,
.message-template-input-area textarea:focus {outline: 2px solid rgba(47, 112, 255, 0.18); border-color: var(--pr);}
.proposal-profile-area[hidden],
.proposal-profile-form[hidden] {display: none;}
.proposal-profile-area {display: flex; flex-direction: column; gap: 12px; padding-top: 4px; border-top: 1px solid #e8e8e8;}
.proposal-profile-toggle,
.proposal-profile-save {padding: 11px 16px; border: 0; border-radius: 7px; background: var(--gray_4e); color: var(--wt); font-size: 14px; cursor: pointer;}
.proposal-profile-form {display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid #dfe4ee; border-radius: 9px; background: #f7f9fc;}
.proposal-profile-save {align-self: flex-end; min-width: 80px; background: var(--pr);}
.proposal-profile-save:disabled {opacity: 0.55; cursor: wait;}
.proposal-info-count {margin-left: auto; color: var(--gray_92); font-weight: 400;}
.proposal-link-notice {color: #d93025; font-size: 12px; font-weight: 400; line-height: 1.45;}
.proposal-profile-message {min-height: 18px; margin: 0; font-size: 13px; color: var(--gray_92);}
.proposal-profile-message.is-error {color: #d93025;}
.proposal-profile-message.is-success {color: #16833b;}
.proposal-requirement-message {margin: 0; font-size: 13px; line-height: 1.4; color: #d93025;}
.kakao-send-result[hidden], .kakao-send-result [hidden] {display: none;}
.kakao-send-result {padding: 14px; border: 1px solid #dfe4ee; border-radius: 9px; background: #f7f9fc; font-size: 14px; line-height: 1.5;}
.kakao-send-result p {margin: 0 0 6px;}
.kakao-send-result p:last-child {margin-bottom: 0;}
.kakao-send-result ul {max-height: 130px; overflow: auto; margin: 6px 0 0; padding-left: 20px; color: #d93025;}
.message-template-footer {display: flex; justify-content: flex-end; padding: 0 24px 24px;}
.message-modal-confirm {min-width: 100px; padding: 11px 20px; border: 0; border-radius: 20px; background: var(--pr); color: var(--wt); cursor: pointer;}
.message-modal-confirm:disabled {opacity: 0.45; cursor: not-allowed;}
.db-list .db_tit .tit .tit_dbset{font-size: 16px; font-weight: 400; margin-left: 10px;}


/* submit-btn */
.submit-btn {display: flex; flex-flow: column; gap: 10px;}
.submit-btn button {width: 100%; height: 50px; border-radius: 5px; font-size: 16px; font-weight: 400; line-height: 1.25; letter-spacing: -0.32px; color: var(--wt);}
.db_comp_flex {display: flex; align-items: center; gap: 10px;}
.submit-btn.memberset {flex-flow: initial; gap: 0px; justify-content: space-between; background: none;}
.submit-btn.memberset3 {margin-top: 10px;}
.memberset2 {width: 100px; height: auto; margin-top: 0 !important;}
.memberset2 button {height: 40px;}
.submit-btn.memberset button {flex-flow: initial; width: calc(50% - 5px);}


/* login-area */
.login-area {display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 81px); height: auto; padding: 0 20px; box-sizing: border-box;}
.login-area .form-area {max-width: 320px; width: 100%; height: auto;}
.login-area .form-area .logo {width: auto; margin: 0 auto 20px; display: flex; justify-content: center;}
.login-area .form-area .logo img {width: auto; height: 100%; max-width: 100%; max-height: 80px;}
.login-area .form-area .input-box {flex-flow: column; margin-bottom: 10px;}
.login-area .form-area .input-box input {}

/* dim */
.dim {position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.5); z-index: 9;}


/* 전체공지사항 */
.db_comp ul li .child-box .notice_box p {font-size: 15px; font-weight: 400; line-height: 1.2; color: var(--gray_4e);}
.db_comp ul li .child-box .notice_box p a{text-decoration: underline; color:blue;}
.db_comp ul li .child-box .notice_box {display: block !important;}
.db_comp ul li .child-box .notice_box .image {width: auto; height: auto; max-width: 100%; margin: 15px 0;}
.db_comp ul li .child-box .notice_box .image img {width: auto; height: auto; max-width: 100%;}
.db_comp ul li .child-box .notice_box a.filed {display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; margin-bottom: 10px; border-radius: 5px; background: var(--pr); font-size: 16px; font-weight: 400; line-height: 1.25; letter-spacing: -0.32px; color: var(--wt);}
.db_comp ul li .child-box .notice_box a.filed:last-of-type {margin-bottom: 0;}


.noajaxlist{gap: 30px 0; flex-wrap: wrap;}
.db_comp ul li.db7 .child-box .noajaxlist dl{width:calc(100% / 5);}

.db_comp ul li .child-box .krmap {display: flex;}
.db_comp ul li .child-box .krmap img{width: calc(100% - 230px); max-width: calc(100% - 230px); object-fit: contain;}
.db_comp ul li .child-box .krmap span{font-size: 18px;}
.db_comp ul li .child-box .krmap .krmap_left {display: flex; flex-direction: column; min-width: 115px; width: 115px;}
.db_comp ul li .child-box .krmap .krmap_right {display: flex; flex-direction: column; min-width: 115px; width: 115px;}

.db_comp ul li .child-box .krmap .krmap_left span:nth-of-type(1){margin-top: 72px;}
.db_comp ul li .child-box .krmap .krmap_left span:nth-of-type(2){margin-top: 125px;}
.db_comp ul li .child-box .krmap .krmap_left span:nth-of-type(3){margin-top: 28px;}
.db_comp ul li .child-box .krmap .krmap_left span:nth-of-type(4){margin-top: 59px;}
.db_comp ul li .child-box .krmap .krmap_left span:nth-of-type(5){margin-top: 42px;}
.db_comp ul li .child-box .krmap .krmap_left span:nth-of-type(6){margin-top: 21px;}
.db_comp ul li .child-box .krmap .krmap_left span:nth-of-type(7){margin-top: 91px;}
.db_comp ul li .child-box .krmap .krmap_left span:nth-of-type(8){margin-top: 94px;}
.db_comp ul li .child-box .krmap .krmap_left span:nth-of-type(9){margin-top: 54px;}
.db_comp ul li .child-box .krmap .krmap_left span:nth-of-type(10){margin-top: 135px;}

.db_comp ul li .child-box .krmap .krmap_right span:nth-of-type(1){margin-top: 231px;}
.db_comp ul li .child-box .krmap .krmap_right span:nth-of-type(2){margin-top: 76px;}
.db_comp ul li .child-box .krmap .krmap_right span:nth-of-type(3){margin-top: 86px;}
.db_comp ul li .child-box .krmap .krmap_right span:nth-of-type(4){margin-top: 78px;}
.db_comp ul li .child-box .krmap .krmap_right span:nth-of-type(5){margin-top: 44px;}
.db_comp ul li .child-box .krmap .krmap_right span:nth-of-type(6){margin-top: 48px;}
.db_comp ul li .child-box .krmap .krmap_right span:nth-of-type(7){margin-top: 132px;}

.point_check{color: red !important;}


/* mf */
.table-area table .mf {padding: 5px; background: var(--gray_4e); font-size: 12px; font-weight: 400; line-height: 1; color: var(--wt); box-sizing: border-box; border-radius: 4px; margin-left: 5px;}
.table-area table .table_small_btn {padding: 5px; background: var(--gray_4e); font-size: 12px; font-weight: 400; line-height: 1; color: var(--wt); box-sizing: border-box; border-radius: 4px; margin-left: 5px;}

.hopeservice { max-width: 80ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

section.mb_ctf {display: flex; align-items: center; justify-content: center;}
section.mb_ctf .container {max-width: 320px;}
section.mb_ctf .select_box select {height: 50px;}
section.mb_ctf .memberset2 button {height: 50px;}
section.mb_ctf .db_comp2 {margin-top: 10px;}

section.security .container .db_comp {margin-top: 0; margin-bottom: 0;}
section.security .container .db_comp2 {margin-top: 0; margin-bottom: 0;}
section.security .container .submit-btn {margin-top: 10px;}
/* 날짜별 정책자금 실분배 통계 */
.policy-daily-table {width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed; font-size:15px; line-height:1.5; font-variant-numeric:tabular-nums;}
.policy-daily-table th, .policy-daily-table td {padding:13px 20px; vertical-align:middle;}
.policy-daily-table th:first-child, .policy-daily-table td:first-child {text-align:left;}
.policy-daily-table th:last-child, .policy-daily-table td:last-child {text-align:right;}
.policy-daily-table th:nth-child(2), .policy-daily-table td:nth-child(2) {text-align:right;}
.policy-daily-table th:nth-child(3), .policy-daily-table td:nth-child(3) {text-align:right;}
.policy-daily-table thead th {background:#f3f6fb; color:#68758a; font-size:13px; font-weight:600; border-bottom:1px solid #e3e9f1;}
.policy-daily-table thead th:first-child {border-radius:8px 0 0 0;}
.policy-daily-table thead th:last-child {border-radius:0 8px 0 0;}
.policy-daily-table tbody td {border-bottom:1px solid #edf0f5; color:#39465a;}
.policy-daily-table tbody tr:nth-child(even) {background:#fafbfd;}
.policy-daily-table tbody tr:hover {background:#f0f6ff;}
.policy-daily-table tbody strong {font-size:16px; font-weight:600;}
.policy-daily-table .count-unit {margin-left:6px; font-size:13px; font-weight:400; color:#8995a6;}
.policy-daily-table tbody .is-empty td {color:#a0a9b7;}
.policy-daily-table tfoot th, .policy-daily-table tfoot td {padding-top:18px; padding-bottom:18px; background:#edf4ff; color:#2a80ff; border-top:2px solid #cfe0ff; font-weight:700;}
.policy-daily-table tfoot th {border-radius:0 0 0 8px;}
.policy-daily-table tfoot td {border-radius:0 0 8px 0;}
.policy-daily-table tfoot strong {font-size:23px;}
.policy-daily-table tfoot .count-unit {color:#2a80ff;}
@media (max-width:600px) {.policy-daily-table th, .policy-daily-table td {padding:11px 14px;} .policy-daily-table tfoot strong {font-size:21px;}}
