body {
    margin: 0;
}

a {
    text-decoration: none;
}

section {
    margin-top: 11rem;
}

footer {
    max-width: 100%;
    border-top: 1px solid #E2E8F0;
}

.header-container {
    padding: 0;
}

.flex-contaiter {
    display: flex;
    flex-wrap: wrap;
    gap: 25%;
    max-width: 80rem;
    margin: 0 auto;
}

.flex-center-space-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0;
}

.title {
    color: #334155;
    font-size: 3rem;
    font-family: 'GmarketSansBold';
    line-height: 1.5;
    margin: 2.5rem 0 1.5rem 0;
}

/* ========== 테이블 [START] ========== */
table {
    width: 100%;
    margin-bottom: 1.5rem;
}

thead {
    /* border-top: 2px solid #0e2839; */
    border-bottom: 2px solid #334155;
    background-color: #ffffff;
    font-weight: bold;
}

thead th {
    font-size: 1rem;
    color: #334155;
    font-family: "Pretendard Variable";
}

thead,
tbody,
tfoot,
tr,
td {
    font-size: 1rem;
    color: #64748b;
    font-family: "Pretendard Variable";
}

tbody tr:hover {
    background-color: #effcf4;
}

tr th {
    padding: 0.75rem 0;
}

tr th:nth-child(1),
tr td:nth-child(1) {
    padding-left: 0.75rem;
}

tr td {
    padding: 1.188rem 0 1.188rem 0;
    border-bottom: 1px solid #dbdbdd;
}

.number {
    font-weight: 400;
    color: var(--Gray-900, #334155);
}

.notice-list-wrapper .ellipsis {
    max-width: 15rem;
    overflow: hidden;
    text-overflow: ellipsis !important;
    white-space: nowrap;
    padding-right: 1rem;
}

.ellipsis a {
    max-width: 15rem;
    overflow: hidden;
    text-overflow: ellipsis !important;
    white-space: nowrap;
    padding-right: 1rem;
    color: var(--Gray-900, #334155);
    font-size: 1rem;
    text-decoration: none;
}

.ellipsis a:hover {
    cursor: pointer;
    font-weight: 600;
}

.date {
    overflow: hidden;
    color: var(--Gray-900, #334155);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
}

/* ========== total ========== */
.paging-wrapper {
    padding-bottom: 7.375rem;
}

.list-count {
    color: var(--Gray-900, #64748b);
}

.list-count .total,
.list-count .page {
    color: #334155;
    font-weight: 600;
}

.page-item.active .page-link {
    z-index: 3;
    color: #ffffff;
    background-color: #334155;
    border-color: #334155;
}

.page-link {
    color: #98A2B3;
}

footer {
    max-width: 100%;
    border-top: 1px solid #E2E8F0;
}


/* ========== pagination [START] ========== */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    margin: 0 0.25rem;
}

.pagination a,
.pagination span {
    display: inline;
    width: 1rem;
    text-align: center;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: var(--Gray-400, #98A2B3);
    border-radius: 4px;
    height: 1.25rem;
    font-size: 1rem;
}

.pagination a:hover {
    color: var(--Gray-800, #182230);
    background-color: var(--Gray-100, #F2F4F7);
    border-color: var(--Gray-100, #F2F4F7);
    border-radius: 0.5rem;
}

.pagination .active span {
    color: var(--Gray-800, #182230);
    background-color: var(--Gray-100, #F2F4F7);
    border-color: var(--Gray-100, #F2F4F7);
    border-radius: 0.5rem;
}

.pagination .disabled span {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border: none;
}

/* ========== pagination [END] ========== */

/* ========== 공지사항 상세보기 [START] ========== */
.notice-detail-card-wrapper .card {
    background: none;
    border: none;
}

.notice-detail-card-wrapper .card-header {
    background: none;
    border: none;
    border-bottom: 1px solid #dbdbdd;
    margin: 0;
    padding: 0;
}

.notice-detail-card-wrapper .card-header .title {
    color: var(--Gray-900, #334155);
    font-family: "Pretendard Variable";
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: 2rem;
    margin: 0;
    padding: 0;
}

.notice-detail-card-wrapper .card-header .date {
    margin: 0;
    padding: 0.5rem 0 1.5rem 0;
    font-family: "Pretendard Variable";
}

.notice-detail-card-wrapper .card-body {
    padding: 2.25rem 0;
    font-family: "Pretendard Variable";
}

.notice-detail-card-wrapper .card-body pre {
    font-family: "Pretendard Variable";
    font-size: 1rem;
}

.notice-detail-card-wrapper .card-footer {
    background: none;
    border: none;
    padding: 0;
    font-family: "Pretendard Variable";
    margin-bottom: 4rem;
}

.previous_wrapper,
.next_wrapper {
    padding: 1rem 0;
    border-bottom: 1px solid #E2E8F0;
}

.notice-detail-card-wrapper .card-footer .label {
    overflow: hidden;
    color: var(--Gray-500, #667085);
    text-overflow: ellipsis;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.25rem;
    margin: 0;
}

.notice-detail-card-wrapper .card-footer h5 {
    margin: 0;
    padding: 0.5rem 0;
}

.notice-detail-card-wrapper .card-footer h5 a {
    overflow: hidden;
    color: var(--Gray-900, #334155);
    text-overflow: ellipsis;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5rem;
    text-decoration: none;
    margin: 0;
}

.notice-detail-card-wrapper .card-footer .date {
    overflow: hidden;
    color: var(--Gray-400, #64748b);
    text-overflow: ellipsis;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.125rem;
    margin: 0;
}

.notice-detail-card-wrapper .card-footer .btn-wrapper {
    margin: 2rem auto 0 auto;
}

.notice-detail-card-wrapper .card-footer .btn-wrapper .btn-assistive {
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    color: var(--Gray-400, #334155);
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Base-White, #FFF);
    font-size: 1rem;
    font-family: "Pretendard Variable";
}

.notice-detail-card-wrapper .card-footer .btn-wrapper .btn-assistive a {
    color: var(--Gray-400, #334155);
}

.btn-assistive:hover {
    border-radius: 0.5rem;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Gray-50, #F9FAFB);
}

.btn-assistive:active {
    border-radius: 0.5rem;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Gray-100, #F2F4F7);
}

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

@media (max-width:991px) {
    .container .img-popup .popup-inner {
        width: 90%;
    }

    .container .img-popup .popup-inner .close-btn {
        width: 50px;
        height: 50px;
        top: -26px;
    }

    .container .img-popup .popup-inner .close-btn img {
        width: 20px;
    }
}

@media screen and (max-width: 767px) {
    .container {
        padding: 0;
    }

    .header-logo {
        margin-left: 0.5rem;
    }

    .header-container ul {
        margin-right: 0.5rem;
    }

    .title {
        margin: 2.5rem 0 1.5rem 1.5rem;
        font-size: 2.2rem;
    }

    section {
        margin-top: 7rem;
    }

    .card-wrapper {
        display: block;
        margin: 0 1.5rem 2.5rem 1.5rem;
        margin-bottom: 0;
    }

    .card {
        margin-bottom: 2.5rem;
    }

    table {
        overflow-x: scroll;
        display: block;
    }

    tr th:nth-child(1) {
        display: block;
        width: 5rem;
    }

    tr th:nth-child(1),
    tr td:nth-child(1) {
        padding-right: 1.5rem;
    }

    .list-count {
        display: none;
    }


    .notice-detail-card-wrapper .card-footer {
        margin-bottom: 2rem;
    }

    .flex-center-space-between {
        justify-content: center;
    }

}