@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Thin.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Thin.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Thin.otf') format('opentype'),
         url('../fonts/pretendard/Pretendard-Thin.woff2') format('woff2'),
         url('../fonts/pretendard/Pretendard-Thin.woff') format('woff'),
         url('../fonts/pretendard/Pretendard-Thin.ttf') format('truetype');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-ExtraLight.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-ExtraLight.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-ExtraLight.otf') format('opentype'),
         url('../fonts/pretendard/Pretendard-ExtraLight.woff2') format('woff2'),
         url('../fonts/pretendard/Pretendard-ExtraLight.woff') format('woff'),
         url('../fonts/pretendard/Pretendard-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Light.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Light.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Light.otf') format('opentype'),
         url('../fonts/pretendard/Pretendard-Light.woff2') format('woff2'),
         url('../fonts/pretendard/Pretendard-Light.woff') format('woff'),
         url('../fonts/pretendard/Pretendard-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Regular.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Regular.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Regular.otf') format('opentype'),
         url('../fonts/pretendard/Pretendard-Regular.woff2') format('woff2'),
         url('../fonts/pretendard/Pretendard-Regular.woff') format('woff'),
         url('../fonts/pretendard/Pretendard-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Medium.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Medium.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Medium.otf') format('opentype'),
         url('../fonts/pretendard/Pretendard-Medium.woff2') format('woff2'),
         url('../fonts/pretendard/Pretendard-Medium.woff') format('woff'),
         url('../fonts/pretendard/Pretendard-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-SemiBold.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-SemiBold.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-SemiBold.otf') format('opentype'),
         url('../fonts/pretendard/Pretendard-SemiBold.woff2') format('woff2'),
         url('../fonts/pretendard/Pretendard-SemiBold.woff') format('woff'),
         url('../fonts/pretendard/Pretendard-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Bold.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Bold.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Bold.otf') format('opentype'),
         url('../fonts/pretendard/Pretendard-Bold.woff2') format('woff2'),
         url('../fonts/pretendard/Pretendard-Bold.woff') format('woff'),
         url('../fonts/pretendard/Pretendard-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-ExtraBold.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-ExtraBold.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-ExtraBold.otf') format('opentype'),
         url('../fonts/pretendard/Pretendard-ExtraBold.woff2') format('woff2'),
         url('../fonts/pretendard/Pretendard-ExtraBold.woff') format('woff'),
         url('../fonts/pretendard/Pretendard-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Black.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Black.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Black.otf') format('opentype'),
         url('../fonts/pretendard/Pretendard-Black.woff2') format('woff2'),
         url('../fonts/pretendard/Pretendard-Black.woff') format('woff'),
         url('../fonts/pretendard/Pretendard-Black.ttf') format('truetype');
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Pretendard', sans-serif;
}

.header {
    background: #16409e;
    color: white;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .company-name {
    width: 250px;
    display: flex;
    align-items: center;
}

.header .company-name img {
    width: 43px;
    height: auto;
    margin-right: 10px;
}

.header .menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 24px;
}

.header .menu-button::before,
.header .menu-button::after,
.header .menu-button span,
.header .menu-button .middle-bar {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: white;
    left: 0;
    transition: all 0.3s ease;
}

.header .menu-button::before {
    top: 0;
}

.header .menu-button::after {
    bottom: 0;
}

.header .menu-button .middle-bar {
    top: 50%;
    transform: translateY(-50%);
}

.header .title {
    flex: 1;
    text-align: center;
    font-size: xx-large;
    font-weight: bold;
}

.layout {
    display: flex;
    flex: 1;
    width: 100%; /*  Ãß°¡  */
}

.side-menu {
    width: 250px;
    background: #ffffff;
    border-right: 1px solid lightgray;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transition: transform 0.3s ease;
    font-weight: 700;
    font-size: medium;
    height: 100%;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li {
    cursor: pointer;
    position: relative;
}

.side-menu li > .menu-item {
    padding: 1em;
    color: black;
}

.side-menu li:hover > .menu-item,
.side-menu li.active > .menu-item {
    background: #113178;
    color: white;
}

.side-menu .submenu li:hover > .menu-item,
.side-menu .submenu li.active > .menu-item {
    background: #1B4FC4;
}

.side-menu .submenu {
    display: flex;
    flex-direction: column;
}

.side-menu .menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px lightgray solid;
}

.main-content {
    flex: 1; /*  Ãß°¡  */
    padding: 1em;
    box-sizing: border-box;    
    overflow-x: auto;
}

.footer {
    background: #16409e;
    color: white;
    text-align: center;
    padding: 1em;
    height: 70px; /* ?? ?? */
}

.p_sel {
    background: #113178;
}
.sub_div_no_sel {
    background: #ffffff;
}
.sub_li {
    background: #1B4FC4;
}
.sub_li_a {
    color: white !important;
}
.login {
    margin-left: -260px;
}
.user-info {
    word-wrap: break-word; /* ±ä ´Ü¾î°¡ ÀÖÀ» ¶§ ÁÙ ¹Ù²Þ */
}
.btn-header {
    --bs-btn-color: #fff;
    --bs-btn-bg: #16409e;
    --bs-btn-border-color: #16409e;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #143a8e;
    --bs-btn-hover-border-color: #12357e;
    --bs-btn-focus-shadow-rgb: 22, 64, 158;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #12357e;
    --bs-btn-active-border-color: #102f6e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #16409e;
    --bs-btn-disabled-border-color: #16409e;
}
.btn-dark-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #113178;
    --bs-btn-border-color: #113178;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0f2c6b;
    --bs-btn-hover-border-color: #0e2861;
    --bs-btn-focus-shadow-rgb: 17, 49, 120;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0e2861;
    --bs-btn-active-border-color: #0c2456;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #113178;
    --bs-btn-disabled-border-color: #113178;
}

@media (max-width: 1668px) {
    .header .company-name {
        display: none;
    }

    .header .title {
        text-align: left;
    }
    .login {
        margin-left: 0;
    }
    
    .header .menu-button {
        display: block !important;
    }
    
    .side-menu {
        transform: translateX(-100%);
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    }

    .side-menu.active {
        transform: translateX(0);
    }
    
    .main-content { /* Ãß°¡ */
        margin-left: 0;        
    }
    #sugang-main{
        width: 100% !important;
    }
}

/* ·Îµù ¿À¹ö·¹ÀÌ ½ºÅ¸ÀÏ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}
.card-body p img{
    width:100%;
    height:auto;
    cursor:pointer;
}
    /* ±âº» ÆäÀÌÁö³×ÀÌ¼ÇÀº Ç×»ó Ç¥½Ã */
    .pagination-default {
        display: flex;
    }
    
    /* ÆäÀÌÁö Á÷Á¢ ÀÔ·Â ÆûÀº ±âº»ÀûÀ¸·Î ¼û±è */
    .pagination-direct-input {
        display: none;
    }
    
    /* ÀÛÀº È­¸é¿¡¼­´Â ±âº» ÆäÀÌÁö³×ÀÌ¼Ç ¼û±â°í Á÷Á¢ ÀÔ·Â Æû Ç¥½Ã */
    @media (max-width: 1300px) {
        .pagination-default {
            display: none;
        }
        
        .pagination-direct-input {
            display: flex;
        }
    }