@charset "UTF-8";

/*!****************************** FONT ******************************!*/
/*@font-face { font-family:Pretendard; font-weight:400; font-style:normal; src:url('../font/Pretendard-Regular.woff2'); }*/
/*@font-face { font-family:Pretendard; font-weight:100; font-style:normal; src:url('../font/Pretendard-Thin.woff2'); }*/
/*@font-face { font-family:Pretendard; font-weight:300; font-style:normal; src:url('../font/Pretendard-Light.woff2'); }*/
/*@font-face { font-family:Pretendard; font-weight:700; font-style:normal; src:url('../font/Pretendard-Bold.woff2'); }*/

/****************************** RESET ******************************/


.card-directory {
    flex-direction: row;
}

.card {
    overflow: hidden;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease;
    width: 100%;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.card-body {
    padding: 20px;
    display: flex;
    align-items: center;
    width: 100%;
}

.card-title {
    font-size: 1.25em;
    margin: 0 0 10px 0;
}

.card-text {
    font-size: 1em;
    margin: 0;
}

.img-profile {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.icon {
    font-size: 2em;
    color: #ddd;
    margin-right: 10px;
}

html {
    font-size: 62.5%;
}

html, body {
    width: 100%;
    height: 100%;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, textarea, p, blockquote, th, td, input, select, textarea, button, a, span, main, figcaption, figure, label, data {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-indent: 0;
}

body {
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    min-height: 100%;
    color: var(--colorB);
}

body, input, select, textarea, button, table {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.25;
}

article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main, summary, data {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}

fieldset, iframe {
    border: 0;
    min-width: 0;
}

img, video, audio, object, embed, iframe {
    max-width: 100%;
    height: auto;
}

dl, ul, ol, menu, li {
    list-style: none;
}

img, fieldset, iframe {
    border: 0 none;
}

i, em, address {
    font-style: normal;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover, a:active, a:focus {
    text-decoration: none;
}

sup {
    line-height: 1;
    font-size: 0.7em;
}

table {
    border-collapse: collapse;
    table-layout: fixed;
    border-spacing: 0;
    width: 100%;
    empty-cells: show;
}

th, td {
    font-weight: normal;
}

caption, legend {
    visibility: hidden;
    overflow: hidden;
    width: 0;
    height: 0;
    font-size: 0;
    line-height: 0;
}

input, select, textarea, button {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button {
    font-size: 100%;
    font-weight: inherit;
    background: none;
    cursor: pointer;
    color: inherit;
    border: none;
}

input[type='text'], input[type='password'] {
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    resize: none;
    box-shadow: none !important;
}

input:checked[type='checkbox'] {
    -webkit-appearance: checkbox;
}

input[type='text']::-ms-clear, input[type='tel']::-ms-clear {
    display: none;
}

input[disabled], select[disabled], input[readonly], textarea[disabled], button[disabled] {
    cursor: default;
}

input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    box-sizing: border-box;
}

select::-ms-expand {
    display: none;
}

textarea {
    resize: vertical;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.5);
}

input:disabled {
    opacity: 1;
    -webkit-text-fill-color: inherit;
}

input[type="radio"], input[type="checkbox"], input[type="tel"], input[type="number"] {
    vertical-align: middle;
}

input[type="time"]::-webkit-calendar-picker-indicator {
    display: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
}

input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline-color: var(--brand-color1);
}


.hide {
    overflow: hidden;
    position: absolute;
    left: 3.0rem;
    top: 2.0rem;
    width: 1px;
    height: 1px;
    font-size: 1px;
    line-height: 1.0rem;
    opacity: 0;
    white-space: nowrap;
    text-indent: 999px;
}

.none {
    display: none !important;
}

.iblock {
    display: inline-block !important;
}

.block {
    display: block !important;
}

.al {
    text-align: left !important;
}

.ac {
    text-align: center !important;
}

.ar {
    text-align: right !important;
}

.bold {
    font-weight: var(--fontWg1);
}

.txt-clip1 {
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fm-fake-file {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

[hidden] {
    display: none;
}

/****************************** COMMON ******************************/
:root {
    /* 간격 */
    --spc0: 0;
    --spc1: 0.4rem;
    --spc2: 0.8rem;
    --spc4: 1.6rem;
    --spc5: 2.0rem;
    --spc6: 2.4rem;
    --spc7: 3.2rem;
    --spc8: 4.0rem;
    --spc11: 6.4rem;

    /* 객체 공통 높이 */
    --headHgt: 8rem;
    --hgt1: 8rem;
    --hgt2: 3.6rem;

    /* 공통 색상 */
    --colorW: #fff;
    --colorB: #000;
    --colorRed: #d61313; /* UP 텍스트 */
    --colorBlue: #394DEF; /* Down 텍스트 */
    --color2: #d61313; /* 에러 */

    /* font-weight */
    --fontWg1: 700;
    --fontWg2: 400;
    --fontWg3: 300;
    --fontWg4: 100;
    --fontWg5: 200;

    /* villain */
    --colorBCA1: #522e92; /* contents bg */
    --colorBCA2: #fee90f; /* 브랜드 포인트 컬러 */
    --colorBCA3: #8d16f3; /* 안내팝업 버튼1 */

    --brand-color1: var(--colorBCA1);
    --brand-color3: var(--colorBCA3);
    --brand-font1: var(--colorW); /* 기본폰트 컬러 */
}

/****************************** SPACE ******************************/
.spc-t {
    margin-top: var(--spc11) !important;
}

.spc-t2 {
    margin-top: var(--spc8) !important;
}

.spc-t3 {
    margin-top: var(--spc7) !important;
}

.spc-t4 {
    margin-top: var(--spc6) !important;
}

.spc-gt + .spc-gt {
    margin-top: var(--spc4);
}

.spc-gt2 + .spc-gt2 {
    margin-top: var(--spc2);
}

[class*="spc-gl"] {
    display: inline-block;
}

[class*="spc-gl"]:not(:only-child) {
    vertical-align: middle;
}

.spc-gl:not(:last-child) {
    margin-right: 0.4rem;
}

.spc-gl2:not(:last-child) {
    margin-right: 1.6rem;
}

.flex-wrap > .spc-gl:not(:last-child) {
    margin-right: 0.8rem;
}

.flex-wrap > .spc-gl2:not(:last-child) {
    margin-right: 2rem;
}

.spc-bar {
    display: inline-block;
    line-height: 2rem;
}

.spc-bar:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 2rem;
    margin: 0 1.2rem 0 1.6rem;
    vertical-align: middle;
    background-color: rgba(0, 0, 0, 0.08);
}

.w100 {
    width: 100%;
}

.w50 {
    width: 50%;
}

.w35 {
    width: 35%;
}

.w12 {
    width: 12rem;
}

/******************************/

.chart-area {
    position: relative;
    height: 10rem;
    width: 100%
}

@media (min-width: 768px) {
    .chart-area {
        height: 20rem
    }
}

.text-primary {
    color: #4e73df !important;
}
.font-weight-bold {
    font-weight: 700 !important;
}


.chart-bar {
    position: relative;
    height: auto;   /* 높이를 자동으로 설정 */
    width: 100%;    /* 부모 요소에 맞춰 유동적으로 조정 */
}
.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    width: 100%;
}


@media (min-width: 768px) {
    .chart-bar {
        height: 20rem
    }
}

.chart-pie {
    position: relative;
}

/****************************** TABLE / DATA ******************************/

.tb-data, .tb-data2 {
    width: 100%;
    height: 100%;
    position: relative;
    border-top: 2px solid #000;
}

.tb-data .bgImgB, .tb-data2 .bgImgB {
    display: inline-block;
    padding: 0.4rem;
    background: #000;
    color: #fff;
}

.tb-data::after, .tb-data2::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #ddd;
}

.tb-data > table, .tb-data2 > table {
    border-collapse: separate;
}

.tb-data .nodata, .tb-data2 .nodata {
    height: 28.2rem;
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.tb-data th,
.tb-data2 th {
    padding: 2.1rem 1.6rem 2rem;
    font-weight: var(--fontWg1);
    background-color: #f8f8f8;
}

.tb-data th .ico-req,
.tb-data2 th .ico-req {
    position: absolute;
    margin-left: 0.4rem;
}

.tb-data tbody th, .tb-data tbody td,
.tb-data tfoot th, .tb-data tfoot td,
.tb-data2 tbody th, .tb-data2 tbody td,
.tb-data2 tfoot th, .tb-data2 tfoot td {
    border-bottom: 0.1rem solid #ddd;
}

.tb-data td.line-v, .tb-data th.line-v, .tb-data2 td.line-v, .tb-data2 th.line-v,
.tb-data tr.line-v td, .tb-data tr.line-v th, .tb-data2 tr.line-v td, .tb-data2 tr.line-v th {
    border-top: 0.1rem dotted #ddd;
}

.tb-data td.line-h, .tb-data th.line-h, .tb-data2 td.line-h, .tb-data2 th.line-h,
.tb-data.line-h td:not(:first-child), .tb-data2.line-h td:not(:first-child),
.tb-data.line-h th:not(:first-child), .tb-data2.line-h th:not(:first-child) {
    border-left: 0.1rem dotted #ddd;
}

.tb-data td {
    height: 6.2rem;
    padding: 1.2rem 1.6rem 1.1rem;
}

.tb-data2 td {
    height: 6.8rem;
    padding: 1.2rem 0.8rem 1.1rem;
    text-align: center;
}

.tb-data2 td.al {
    padding-left: 1.6rem;
}

.tb-data2 td.ar {
    padding-right: 1.6rem;
}

.tb-data tfoot, .tb-data2 tfoot {
    display: table-header-group;
}

.tb-data2 tfoot td, .tb-data2 tfoot th {
    background-color: rgba(254, 233, 15, 0.12);
    font-weight: var(--fontWg1);
}

.tb-data a:not([class^="btn-"]), .tb-data2 a:not([class^="btn-"]) {
    text-decoration: underline;
    font-weight: var(--fontWg1);
    color: var(--brand-color1);
    text-underline-offset: 3px;
}

.tb-data [class^="btn-"], .tb-data2 [class^="btn-"] {
    min-width: 6.2rem;
}

.tb-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.4rem;
}

.tb-top > .left {
    margin-right: auto;
}

.tb-top > .right {
    margin-left: auto;
}

.paging {
    margin-top: 4rem;
    font-size: 0;
    white-space: nowrap;
    text-align: center;
}

.paging button + button {
    margin-left: 0.8rem;
}

.paging button:disabled {
    opacity: 0.3;
}

.paging .num {
    display: inline-block;
    margin: 0 0.8rem;
    vertical-align: middle;
}

.paging .num a {
    display: inline-block;
    min-width: 3.2rem;
    padding: 0 0.4rem;
    line-height: 3.2rem;
    font-size: 1.4rem;
    font-weight: var(--fontWg3);
    text-align: center;
    border-radius: 1.6rem;
}

.paging .num .active {
    background-color: var(--brand-color1);
    color: var(--brand-font1);
    font-weight: var(--fontWg1);
}

.tb-scroll-y {
    max-height: 40.6rem;
    overflow-y: auto;
}

.tb-scroll-y thead th {
    position: sticky;
    top: 0;
    z-index: 10;
}

.box {
    position: relative;
    padding: 3.2rem;
    border-radius: 1.6rem;
    line-height: 1.5;
}

.box.state1 {
    background-color: rgba(125, 79, 207, 0.12);
}

.box.state2 {
    background-color: rgba(214, 19, 19, 0.12);
    color: var(--color2);
}

.box .btn-area {
    margin-top: 2.4rem;
}

/****************************** CHECKBOX/RADIO/TEXT/SELECT ******************************/

.flex-wrap {
    display: flex;
    align-items: center;
}

.flex-wrap > .flex-1 {
    flex: 1;
    min-width: 0;
}

.flex-wrap-2 {
    display: inline-flex;
    align-items: center;
}

.flex-wrap-2 > .btn-ama.btn-c:not(:first-child) {
    margin-left: -1px;
}

.flex-wrap-2 > .btn-ama.btn-c:not(:only-child)::after {
    border-radius: 0;
}

.flex-wrap-2 > .btn-ama.btn-c:not(:only-child):first-child::after {
    border-radius: var(--bdrRds) 0 0 var(--bdrRds);
}

.flex-wrap-2 > .btn-ama.btn-c:not(:only-child):last-child::after {
    border-radius: 0 var(--bdrRds) var(--bdrRds) 0;
}

.fm-sel:disabled, .fm-ipt:disabled, .fm-ta:disabled {
    opacity: 1;
    color: rgba(0, 0, 0, 0.24);
    background-color: #f8f8f8;
    border-color: #ddd;
}

.fm-ta[readonly] {
    background-color: #f8f8f8;
    border-color: #ddd;
}

.fm-sel:disabled {
    background-image: url("../img/ico-sel-2.svg");
}

.fm-sel {
    padding: 0 3.6rem 0 1.2rem;
    min-width: 9.2rem;
    height: var(--hgt2);
    border: 1px solid #ccc;
    border-radius: 0;
    background: url("../img/ico-sel.svg") right 1.2rem center no-repeat;
    background-size: 1.65rem 1.65rem;
}

.fm-ipt {
    padding: 0 1.2rem;
    height: var(--hgt2);
    border: 1px solid #ccc;
    border-radius: 0;
}

.fm-ta {
    padding: 1.2rem;
    width: 100%;
    height: 12.4rem;
    border: 1px solid #ccc;
    border-radius: 0;
    resize: none;
}

.fm-chk {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.fm-chk > input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.fm-chk .fm-chk-lb {
    padding-left: 2.8rem;
    line-height: var(--hgt2);
}

.fm-chk .fm-chk-lb.hide {
    display: block;
    position: static;
    left: 0;
    top: 0;
    width: 2rem;
    height: var(--hgt2);
    opacity: 1;
    padding-left: 0;
}

.fm-chk .fm-chk-lb::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -1rem;
}

.fm-chk input[type="checkbox"] + .fm-chk-lb::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 2px solid var(--colorBCA1);
    border-radius: 4px;
    vertical-align: middle;
}

.fm-chk input[type="checkbox"]:checked + .fm-chk-lb::before {
    background-position: 0 -2.2rem;
}

/*.fm-chk input[type="checkbox"]:checked + .fm-chk-lb::before {*/
/*    content: "";*/
/*    background-color: var(--colorBCA3);*/
/*    border-color: var(--colorBCA1);*/
/*    background-image: url('../img/chk_active.svg');*/
/*    background-repeat: no-repeat;*/
/*    background-position: 50%;*/
/*}*/

.fm-chk input[type="checkbox"]:not(:checked):disabled + .fm-chk-lb::before {
    background-position: 0 -4.4rem;
    background-image: url("../img/chk_disabled.svg")
}

.fm-chk input[type="radio"] + .fm-chk-lb::before {
    background-position: -2.2rem 0;
}

.fm-chk input[type="radio"]:checked + .fm-chk-lb::before {
    background-position: -2.2rem -2.2rem;
}

.fm-chk input[type="radio"]:not(:checked):disabled + .fm-chk-lb::before {
    background-position: -2.2rem -4.4rem;
}

.fm-chk input[type="radio"]:not(:disabled):checked + .fm-chk-lb {
    color: var(--brand-color3); /* 글씨 색깔을 파란색으로 변경 */
    font-weight: bold; /* 볼드 처리 */
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fm-chk2 {
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.6rem;
}

.fm-chk2 input:not(:disabled):checked + .fm-chk-lb {
    color: var(--brand-color1);
    font-weight: var(--fontWg1);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fm-chk2 input:disabled + .fm-chk-lb {
    opacity: 0.4;
}

.fm-chk2 input:checked:disabled + .fm-chk-lb {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fm-file {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

/****************************** BUTTON ******************************/

.btn-area {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-area > .left {
    margin-right: auto;
}

.btn-area > .right {
    margin-left: auto;
}

.btn-area > .center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

[class*="btn-am"] {
    position: relative;
    text-align: center;
    white-space: nowrap;
}

[class*="btn-am"].w100 {
    padding: 0;
}

[class*="btn-am"].disabled, [class*="btn-am"]:disabled {
    opacity: 0.4;
}

[class*="btn-am"].btn-c {
    color: var(--colorB);
}

[class*="btn-am"].btn-c.active {
    color: var(--brand-color1);
}

[class*="btn-am"].btn-c::after, [class*="btn-am"].ico-up::after, [class*="btn-am"].ico-down::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #ddd;
    border-radius: var(--bdrRds);
}

[class*="btn-am"].ico-up::after, [class*="btn-am"].ico-down::after {
    border-color: #999;
}

[class*="btn-am"].btn-c.disabled, [class*="btn-am"].btn-c:disabled,
[class*="btn-am"].ico-up.disabled, [class*="btn-am"].ico-up:disabled,
[class*="btn-am"].ico-down.disabled, [class*="btn-am"].ico-down:disabled {
    background-color: #f8f8f8;
    opacity: 1;
    color: rgba(0, 0, 0, 0.24);
}

[class*="btn-am"].ico-up.disabled::before, [class*="btn-am"].ico-up:disabled::before,
[class*="btn-am"].ico-down.disabled::before, [class*="btn-am"].ico-down:disabled::before {
    opacity: 0.3;
}

[class*="btn-am"].ico-up.disabled::after, [class*="btn-am"].ico-up:disabled::after,
[class*="btn-am"].ico-down.disabled::after, [class*="btn-am"].ico-down:disabled::after {
    border-color: #ddd;
}

[class*="btn-am"].btn-c2 {
    background-color: var(--colorB);
    color: var(--colorW);
}

[class*="btn-am"].btn-c3 {
    background-color: var(--brand-color1);
    color: var(--brand-font1);
}

[class*="btn-am"].btn-c4 {
    background-color: var(--brand-color3);
    color: var(--brand-font1);
}

[class*="btn-am"].btn-c5 {
    background-color: var(--color2);
    color: var(--colorW);
}

.btn-ama {
    display: inline-block;
    min-width: 9.6rem;
    height: var(--hgt2);
    --bdrRds: 0.4rem;
    border-radius: var(--bdrRds);
    font-size: 1.6rem;
    line-height: var(--hgt2);
    font-weight: var(--fontWg1);
    padding: 0 1.2rem;
}

.btn-amb {
    display: inline-block;
    min-width: 14.8rem;
    height: 4.4rem;
    --bdrRds: 0.8rem;
    border-radius: var(--bdrRds);
    font-size: 1.6rem;
    line-height: 4.4rem;
    font-weight: var(--fontWg1);
    padding: 0 1.2rem;
}

.btn-amc {
    display: inline-block;
    min-width: 2.8rem;
    height: 2.8rem;
    --bdrRds: 0;
    border-radius: var(--bdrRds);
    font-size: 1.6rem;
    line-height: 2.8rem;
    padding: 0;
}

.ico-up, .ico-down {
    display: inline-block;
    position: relative;
    min-width: 0 !important;
    width: 2.8rem;
    height: 2.8rem;
    white-space: nowrap;
    font-size: 1px;
    overflow: hidden;
    text-indent: -999px;
}

.ico-up::before, .ico-down::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -0.8rem;
    width: 1.6rem;
    height: 1.6rem;
}

.ico-up::before {
    transform: rotate(-180deg);
}

.flex-wrap .ico-down {
    margin-left: auto;
}

.flex-wrap .ico-up {
    margin-right: auto;
}


/****************************** ICON ******************************/

.login-container .fm-id .hide,
.login-container .fm-pw .hide,
.nav .togg::before,
.header .user-state::before,
.fm-chk-lb::before,
.ico-up::before, .ico-down::before, .ico-mark::before,
.ico-in, .pop-close,
.ico-prev, .ico-next, .ico-first, .ico-last, .ico-sort::after {
    background: url(../img/ir.svg) 0 0 no-repeat;
    background-size: 15rem 10rem;
}

.login-container .fm-id .hide {
    width: 2.4rem;
    height: 2.4rem;
    background-position: -4.4rem -6.8rem;
}

.login-container .fm-pw .hide {
    width: 2.4rem;
    height: 2.4rem;
    background-position: -4.4rem -4.4rem;
}

.header .user-state::before {
    width: 2.8rem;
    height: 2.8rem;
    background-position: -6.8rem -5.2rem;
}

.header .user-state.case2::before {
    background-position: -6.8rem -2.4rem;
}

.nav .togg::before {
    width: 2rem;
    height: 2rem;
    background-position: -4.4rem 0;
}

.fm-chk-lb::before {
    width: 2rem;
    height: 2rem;
}

.ico-up::before, .ico-down::before {
    background-position: -6.8rem -8rem;
}

.ico-mark::before {
    width: 2.4rem;
    height: 2.4rem;
    background-position: -6.8rem 0;
}

.ico-req {
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    padding: 0;
    margin: 0;
    vertical-align: top;
    white-space: nowrap;
    font-size: 1px;
    overflow: hidden;
    text-indent: -999px;
    border-radius: 100%;
    color: transparent;
    line-height: 0;
    background-color: var(--color2);
}

.ico-in {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-position: -4.4rem 0;
    transform: rotate(-90deg);
    padding: 0;
    margin: 0 0.6rem 0.4rem;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 1px;
    overflow: hidden;
    text-indent: -999px;
    border-radius: 100%;
    color: transparent;
    line-height: 0;
}

.pop-close {
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    background-position: -4.4rem -2rem;
    padding: 0;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 1px;
    overflow: hidden;
    text-indent: -999px;
    border-radius: 100%;
    color: transparent;
    line-height: 0;
}

.ico-first, .ico-last {
    width: 2.4rem;
    height: 2.4rem;
    background-position: -2rem -6.8rem;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 1px;
    overflow: hidden;
    text-indent: -999px;
}

.ico-prev, .ico-next {
    width: 2.4rem;
    height: 2.4rem;
    background-position: 0 -6.8rem;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 1px;
    overflow: hidden;
    text-indent: -999px;
}

.ico-first, .ico-prev {
    transform: scaleX(-1);
}

.ico-sort {
    position: relative;
    width: 100%;
    min-height: 2rem;
    padding: 0 2.4rem 0 0;
    text-align: left;
}

.ico-sort::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 2.4rem;
    height: 2.4rem;
    margin-top: -1.3rem;
    background-position: -10rem 0;
    border-radius: 0.4rem;
}

.ico-sort[data-sort="desc"]::after {
    background-position: -10rem -4.8rem;
}

/* 내림차순 10->1 */

.ico-sort[data-sort="asc"]::after {
    background-position: -10rem -2.4rem;
}

/* 오름차순 1->10 */


html, body, #wrap {
    min-height: 100%;
}

input, select, textarea, button {
    vertical-align: middle;
}

#wrap > .header:empty::before,
#wrap > .container > .nav::before {
    font-size: 1.2rem;
    font-weight: var(--fontWg1);
}

#wrap {
    display: flex;
    flex-direction: column;
    min-width: 120rem;
    overflow: hidden;
}

#wrap > .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 8rem;
    padding: 2rem 4rem;
    background-color: var(--brand-color1);
    color: var(--brand-font1);
    box-sizing: border-box;
}

.right-img {
    margin-left: auto;
    background-position: center;
    background-size: cover;
}

.left-img {
    margin-right: auto;
    background-position: center;
    background-size: cover;
}

#wrap > .header h1 {
    padding-top: 0.4rem;
    font-size: 2.4rem;
    line-height: 3.2rem;
}


.negative-text {
    color: red;
}

.positive-text {
    color: blue;
}

.bg-gradient-primary {
    background-color: #4e73df;
    background-image: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
    background-size: cover;
}

.align-items-center {
    align-items: center !important;
}

.navbar {
    background-color: #87CEEB; /* 하늘색 */
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cancel {
    height: 8rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar {
    background-color: var(--brand-color1);
    opacity: 0.8;
    z-index: 2; /* 다른 요소 위에 위치하도록 설정 */
    height: 100vh; /* 화면 높이 전체 사용 */
    min-width: 20%;
    position: fixed; /* 고정 위치 */
    top: 0; /* 상단에 고정 */
    left: 0; /* 왼쪽에 고정 */
    display: none; /* 기본적으로 숨김 */
}

.sidebar.active {
    display: block; /* active 클래스가 있을 때 보이도록 설정 */
}


.content {
    width: 100%; /* 전체 화면의 80% */
!important;
    max-width: 100%;
    overflow-y: auto;
}

.wrapper {
    display: flex;
    flex: 1; /* Wrapper should take the remaining space after the header */
    height: auto;
    min-height: 100%;
}

footer {
    position: absolute;
    bottom: 0;
}

.display-flex {
    display: flex;
    justify-content: flex-start;
}

.display-flex * {
    height: 100px;
    width: 100px;
    border-radius: 10px;
}

.right-img {
    margin-left: auto;
    background-position: center;
    background-size: cover;
}

.left-img {
    margin-right: auto;
    background-position: center;
    background-size: cover;
}

#content-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px; /* 적절한 패딩 값 설정 */
    justify-content: center; /* 가로 가운데 정렬 */
    align-items: center; /* 세로 가운데 정렬 */
}


.btn-google {
    background-color: white;
    border-color: black;
}

.btn-naver {
    background-color: greenyellow;
}


/* 로그인 화면 */

.bg-gradient-primary {
    background-color: #4e73df;
    background-image: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
    background-size: cover
}

.justify-content-center {
    justify-content: center !important
}

/*.card {*/
/*    overflow: hidden*/
/*}*/

.o-hidden {
    overflow: hidden !important
}

.border-0 {
    border: 0 !important
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important
}

.my-5 {
    margin-top: 3rem !important
}

/*.card-body {*/
/*    flex: 1 1 auto;*/
/*    min-height: 1px;*/
/*    padding: 1.25rem*/
/*}*/

.p-0 {
    padding: 0 !important
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: .75rem;
    padding-left: .75rem
}

.p-5 {
    padding: 3rem !important
}

.row {
    display: flex;
    flex-wrap: wrap;
    /*gap: 20px;*/
    /*width: 100%;*/
}

.text-center {
    text-align: center !important
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    width: 100%;
    padding-right: .75rem;
    padding-left: .75rem;
    margin-right: auto;
    margin-left: auto
}

.btn-block {
    display: block;
    width: 100%
}

.btn-block + .btn-block {
    margin-top: .5rem
}

input[type=button].btn-block, input[type=reset].btn-block, input[type=submit].btn-block {
    width: 100%
}

.btn-user {
    font-size: 2rem;
    border-radius: 10rem;
    padding: .75rem 1rem
}

.btn-google {
    color: black;
    background-color: white;
    border-color: black
}

.btn-google:hover {
    color: black;
    background-color: #dddddd;
    border-color: black
}

.btn-google.focus, .btn-google:focus {
    color: black;
    background-color: #dddddd;
    border-color: black;
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .5)
}

.btn-google.disabled, .btn-google:disabled {
    color: black;
    background-color: #dddddd;
    border-color: black
}

.btn-google:not(:disabled):not(.disabled).active, .btn-google:not(:disabled):not(.disabled):active, .show > .btn-google.dropdown-toggle {
    color: black;
    background-color: #dddddd;
    border-color: black
}

.btn-google:not(:disabled):not(.disabled).active:focus, .btn-google:not(:disabled):not(.disabled):active:focus, .show > .btn-google.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .5)
}

.btn-naver {
    color: white;
    background-color: #03cf5d;
    border-color: black
}

.btn-naver:hover {
    color: #fff;
    background-color: #2cb24a;
    border-color: darkgreen
}

.btn-naver.focus, .btn-naver:focus {
    color: #fff;
    background-color: #2cb24a;
    border-color: darkgreen;
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .5)
}

.btn-naver.disabled, .btn-naver:disabled {
    color: #fff;
    background-color: #2cb24a;
    border-color: darkgreen
}

.btn-naver:not(:disabled):not(.disabled).active, .btn-naver:not(:disabled):not(.disabled):active, .show > .btn-naver.dropdown-toggle {
    color: #fff;
    background-color: #2cb24a;
    border-color: darkgreen
}

.btn-naver:not(:disabled):not(.disabled).active:focus, .btn-naver:not(:disabled):not(.disabled):active:focus, .show > .btn-naver.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .5)
}

#wrap > .container > .contents {
    flex: 1;
    padding: 6.4rem 4rem;
    margin-top: 20px;
    position: static;
}

/* common.css */

.accordion {
    display: block;
    margin-bottom: 20px;
}

.accordion-item {
    margin-bottom: 5px;
    background-color: var(--colorBCA1);
    color: var(--colorBCA2);
}

.accordion-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: var(--colorBCA1);

    cursor: pointer;
    text-align: left;
}

.accordion-collapse {
    display: none;
}

.accordion-body ul {
    list-style: none;
    background-color: var(--colorBCA1);
    padding: 0;
}

.accordion-body ul li {
    /*padding: 5px 0;*/
    margin: 1rem;
    /*background-color: var(--colorBCA3);*/
    padding-left: 1rem;
}

.accordion-body ul li:hover {
    font-weight: bold;
    color: var(--brand-font1);;
}

/* Hover effect */

.accordion-button:hover {
    background-color: var(--colorBCA3);
}


/* common.css */
/*.a-title { margin-bottom:4rem; font-size:2.4rem; font-weight:var(--fontWg1); line-height:1.33; }*/

.a-title {
    font-size: 3rem;
    font-weight: 700;
}

.colm {
    display: flex;
    flex-direction: column;
    margin-right: 20px; /* 열 사이에 간격을 줍니다 */
    flex: 1; /* 열들이 동일한 너비를 가지도록 합니다 */
}

.fm-ipt.title {
    width: 80%;
}

.fm-ipt.content {
    width: 80%;
    height: 600px;
}

.fm-ipt.key {
    font-size: 2.5rem;
    color: rgb(0, 0, 255);
    font-weight: 600;
    /*font-weight: bold;*/
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 30%;
}

.custom-select {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: skyblue;
    border: 1px solid #ccc;
    border-radius: 5px;
    appearance: none; /* 기본 셀렉트 화살표 숨기기 */
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    cursor: pointer;
}

/* 셀렉트 화살표 아이콘 */

.custom-select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    pointer-events: none;
    transform: translateY(-50%);
}

/* 옵션 스타일 */

.custom-select option {
    background-color: skyblue;
    padding: 10px;
}

.custom-button {
    width: 40%;
    display: inline-block;
    padding: 20px 40px;
    background-color: skyblue;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-button:hover {
    background-color: lightblue;
}


/*test*/

.reply-details {
    display: none;
}

@media (max-width: 786px) {
    #wrap {
        min-width: 100%;
    }

    #wrap > .header {
        justify-content: space-between; /* 원래 상태로 변경 */
        padding: 0;
    }

    .right-img {
        padding: 2rem;
        margin-left: 0; /* 오른쪽 이미지가 보이도록 */
        order: 1; /* 위치 변경 */
    }

    .left-img {
        margin-right: auto; /* 왼쪽 이미지가 왼쪽에 남도록 */
        order: 0; /* 왼쪽 이미지가 먼저 오도록 */
    }

    #content-wrapper {
        padding: 15px; /* 패딩 줄이기 */
        justify-content: flex-start; /* 세로 정렬을 위로 변경 */
        align-items: flex-start; /* 가로 정렬을 왼쪽으로 변경 */
        font-size: 1.1rem; /* 글자 크기 줄이기 */
    }

    .tb-data th,
    .tb-data2 th {
        padding: 1.5rem 1rem; /* 패딩 줄이기 */
        font-size: 1.5rem; /* 글씨 크기 줄이기 */
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .tb-data td,
    .tb-data2 td {
        height: 5rem; /* 높이 줄이기 */
        padding: 0.8rem 1rem; /* 패딩 줄이기 */
        font-size: 1.2rem; /* 글씨 크기 줄이기 */
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .tb-top {
        margin-bottom: 1.6rem; /* 여백 줄이기 */
    }

    .a-title {
        font-size: 2.5rem; /* 글자 크기 줄이기 */
    }

    .btn-ama,
    .btn-amb,
    .btn-amc {
        font-size: 1.4rem; /* 글자 크기 줄이기 */
        padding: 0 1rem; /* 패딩 줄이기 */
    }

    .btn-amb {
        min-width: 12rem; /* 최소 너비 줄이기 */
    }

    .hamburger {
        margin: 20px;
        height: 5rem; /* 높이 줄이기 */
        width: 5rem; /* 너비 줄이기 */
    }

    .cancel {
        margin: 20px;
        height: 6rem; /* 높이 줄이기 */
    }

    .card-directory {
        flex-direction: column;
    }

    .card {
        flex: 1 1 calc(50% - 20px); /* 두 개의 카드가 한 줄에 표시되도록 조정 */
    }

    .card-title {
        font-size: 1.8em; /* 글자 크기 줄이기 */
    }

    .card-text {
        font-size: 1.8em; /* 글자 크기 줄이기 */
    }

    .img-profile {
        width: 35px; /* 프로필 이미지 크기 줄이기 */
        height: 35px; /* 프로필 이미지 크기 줄이기 */
    }

    .icon {
        font-size: 1.5em; /* 아이콘 크기 줄이기 */
    }
}

@media (max-width: 576px) {
    #wrap {
        min-width: 100%;
    }

    #content-wrapper {
        padding: 10px; /* 패딩 더 줄이기 */
        justify-content: flex-start; /* 계속 위쪽 정렬 유지 */
        align-items: center; /* 가운데 정렬로 변경 */
        font-size: 0.8rem; /* 글자 크기 더 줄이기 */
    }

    .tb-data th,
    .tb-data2 th {
        padding: 1rem 0.5rem; /* 패딩 더 줄이기 */
        font-size: 1.2rem; /* 글씨 크기 더 줄이기 */
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .tb-data td,
    .tb-data2 td {
        height: 4rem; /* 높이 더 줄이기 */
        padding: 0.5rem 0.5rem; /* 패딩 더 줄이기 */
        font-size: 0.9rem; /* 글씨 크기 더 줄이기 */
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .tb-top {
        margin-bottom: 1rem; /* 여백 더 줄이기 */
    }

    .a-title {
        font-size: 2rem; /* 글자 크기 더 줄이기 */
    }

    .btn-area {
        font-size: 0.9rem;
    }

    .btn-ama,
    .btn-amb,
    .btn-amc {
        font-size: 1.2rem; /* 글자 크기 더 줄이기 */
        padding: 0 0.8rem; /* 패딩 더 줄이기 */
    }

    .btn-ama {
        min-width: 8rem; /* 최소 너비 줄이기 */
    }

    .btn-amb {
        min-width: 10rem; /* 최소 너비 더 줄이기 */
    }

    .btn-amc {
        height: 2rem; /* 높이 줄이기 */
        line-height: 2rem; /* 라인 높이 줄이기 */
    }

    .hamburger {
        height: 4rem; /* 높이 더 줄이기 */
        width: 4rem; /* 너비 더 줄이기 */
    }

    .cancel {
        height: 5rem; /* 높이 더 줄이기 */
    }

    .card {
        flex: 1 1 100%; /* 카드가 전체 너비를 차지하도록 조정 */
    }

    .card-title {
        font-size: 1.5em; /* 글자 크기 더 줄이기 */
    }

    .card-text {
        font-size: 1.5em; /* 글자 크기 더 줄이기 */
    }

    .img-profile {
        width: 30px; /* 프로필 이미지 크기 더 줄이기 */
        height: 30px; /* 프로필 이미지 크기 더 줄이기 */
    }

    .icon {
        font-size: 1.2em; /* 아이콘 크기 더 줄이기 */
    }
}

