/* common CSS */

@font-face {
    font-family: 'Pretendard';
    src: url('/css/fonts/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/css/fonts/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/css/fonts/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/css/fonts/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/css/fonts/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/css/fonts/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/css/fonts/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/css/fonts/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/css/fonts/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', sans-serif;
    color: #111111;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
}

body {
    background-color: #F1F4F8;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 3px;
}

body::-webkit-scrollbar-thumb {
    background-color: #666666;
}

body::-webkit-scrollbar-track {
    background-color: #D9D9D9;
}

*::-webkit-scrollbar {
    width: 3px;
}

*::-webkit-scrollbar-thumb {
    background-color: #666666;
}

*::-webkit-scrollbar-track {
    background-color: #D9D9D9;
}

input:disabled, textarea:disabled {
    cursor: default;
    pointer-events: none;
}

main {
    width: 1360px;
    /*margin: 165px auto 80px;*/
    margin: 80px auto;
    overflow-x: hidden;
}

main .main-wrap {
    display: grid;
    grid-template-columns: repeat(4, 325px);
    grid-auto-rows: 325px;
    /*grid-template-rows: repeat(6, 325px);*/
    gap: 20px;
}

.hidden,
.m-only {
    display: none;
}

.pc-only {
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    border: 0;
    clip: rect(0 0 0 0);
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.empty {
    text-align: center !important;
    color: #999999 !important;
    font-weight: normal !important;
    font-size: 16px !important;
}

/* 시설물 예약 */
.PC1007T .grid-content .grid-content-wrap .reservation:has(.empty) {
    padding: 0;
    position: static;
}

.PC1007T .grid-content .grid-content-wrap .reservation:has(.empty)::after {
    width: 0;
}

/* 학사일정 */
.PC1005T .grid-content .grid-content-box .grid-content-text:has(.empty) {
    background-color: inherit;
    padding: 0;
}

/* 알림판*/
.PC1006T .empty {
    padding: 10px;
}

.PC1006T .grid-content ul:has(.empty) {
    flex-basis: 100%;
    margin: 0 auto;
}

.PC1006T .grid-tab-content > li:has(ul .empty) {
    background-color: inherit !important;
    padding: 0;
}

/* 오늘의 당직 */
.PE1004T .grid-content-wrap div:has(.empty) {
    margin: 0 auto;
}

/* common CSS */


/* header */
header nav {
    /*position: fixed;*/
    top: 0;
    left: 0;
    z-index: 99;
    background-color: #FFFFFF;
    width: 100%;
    height: 85px;
    line-height: 85px;
    /*transition: background-color 0.2s ease, backdrop-filter 0.2s ease;*/
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

header nav .nav-wrap {
    width: 1360px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav .nav-wrap .logo img {
    width: 200px;
    display: block;
}

header nav .nav-wrap .nav-list {
    height: 100%;
    display: flex;
    /*flex-basis: 60%;*/
    justify-content: space-between;
}

header nav .nav-wrap .nav-list > li > a {
    padding: 32px 12px;
    color: #333333;
    font-size: 18px;
    transition: 0.2s;
    position: relative;
}

header nav .nav-wrap .nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 5px;
    background-color: #3B61A8;
    transition: 0.2s;
}

header nav .nav-wrap .nav-list > li > a:hover {
    color: #111111;
    font-weight: bold;
}

header nav .nav-wrap .nav-list > li > a:hover::after {
    width: 100%;
}

header nav .nav-wrap .nav-list > li.active > a {
    color: #3B61A8;
    font-weight: bold;
}

header .side-nav-wrap {
    width: 100%;
    height: 0;
    background-color: #FFFFFF;
    position: relative;
    left: 50%;
    /*top: 85px;*/
    transform: translateX(-50%);
    z-index: 99;
    transition: height 0.3s ease;
    overflow: hidden;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

header .side-nav-wrap.open {
    height: 120px;
}

header .side-nav-wrap .side-nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1360px;
    margin: 0 auto;
    height: 100%;
}

header .side-nav-wrap .side-nav-list li {
    height: 100%;
    margin: 0 auto;
}

header .side-nav-wrap .side-nav-list li a {
    height: 100%;
    line-height: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

header .side-nav-wrap .side-nav-list li a span {
    position: relative;
}

header .side-nav-wrap .side-nav-list li a span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 5px;
    background-color: #3B61A8;
    transition: 0.2s;
}

header .side-nav-wrap .side-nav-list li a:hover span::after {
    width: 100%;
}

header .side-nav-wrap .side-nav-list li a.active span {
    font-weight: bold;
    color: #3B61A8;
}

header .side-nav-wrap .side-nav-list li a img {
    width: 50px;
}

header nav .nav-wrap .time-div-pc {
    display: flex;
    align-items: center;
    font-size: 14px;
    background-color: #F3F3F3;
    border-radius: 8px;
    gap: 4px;
    padding: 4px 12px;
    cursor: pointer;
}

header nav .nav-wrap .time-div-pc img {
    width: 12px;
}

header nav .nav-wrap .time-div-pc span:last-child {
    color: #D5164D;
    transition: 0.2s;
}

header nav .nav-wrap .time-div-pc:hover span:last-child {
    font-weight: 500;
}

header nav .nav-wrap .hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

header nav .nav-wrap .hamburger-menu span {
    width: 20px;
    height: 2px;
    background-color: #111111;
    border-radius: 3px;
    transition: all 0.2s ease;
}

header nav .nav-wrap .time-div-mobile {
    display: none;
}

header > li.active > a {
    color: #3B61A8;
    font-weight: bold;
}
/* header */


/* footer */
footer {
    width: 100%;
    background-color: #12172B;
    padding: 60px 0;
    font-size: 14px;
}

footer .footer-wrap {
    width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .footer-wrap .container .footer-list {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
}

footer .footer-wrap .container .footer-list li {
    margin-right: 30px;
    color: #BDC2C9;
}

footer .footer-wrap .container .footer-list li span {
    color: #BDC2C9;
    font-weight: bold;
}

footer .footer-wrap .container p {
    color: #BDC2C9;
}

footer .footer-wrap img {
    width: 180px;
    opacity: 0.7;
}
/* footer */


/* go top */
.go-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    background-color: #3B61A8;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.go-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: 0.2s;
}

.go-top:hover {
    background-color: #003A78;
}

.go-top i {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
}

.go-top span {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #FFFFFF;
}
/* go top */


.no-result-row td {
    color: #999999;
    pointer-events: none;
    text-align: center;
    border-left: none;
    border-right: none;
}

.chip-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.chip-menu li {
    background-color: #F7F7F7;
    border-radius: 50px;
}

.chip-menu li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px 32px;
    box-sizing: border-box;
}

.chip-menu li.active {
    background-color: #EBF2F9;
}

.chip-menu li.active a {
    color: #34489B;
    font-weight: 600;
}


/* 반응형 */
@media screen and (max-width: 1360px) {
    main {
        width: 100%;
        margin: 0;
        padding: 85px 20px;
        box-sizing: border-box;
    }

    main .main-wrap {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .m-only {
        display: block;
        flex-basis: 100%;
    }

    .pc-only {
        display: none;
    }

    /* header */
    header nav {
        position: fixed;
        height: 64px;
        line-height: 64px;
    }

    header nav .nav-wrap {
        width: 100%;
        height: 64px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    header nav .nav-wrap .logo img {
        width: 135px;
    }

    header nav .nav-wrap .nav-list {
        /*display: none;*/
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 64px;
        left: 0;
        background-color: #FFFFFF;
        width: 100%;
        height: calc(100dvh - 64px);
        overflow-y: auto;
        flex-direction: column;
        justify-content: start;
        transition: visibility 0s 0.2s, opacity 0.2s ease;
    }

    header nav .nav-wrap .nav-list.active {
        /*display: flex;*/
        visibility: visible;
        opacity: 1;
        transition: opacity 0.2s ease;
    }

    header nav .nav-wrap .nav-list > li {
        width: 100%;
        text-align: right;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    header nav .nav-wrap .nav-list .time-div-mobile {
        display: block;
    }

    header nav .nav-wrap .nav-list .time-div-mobile button {
        padding: 4px 12px;
        background-color: #F3F3F3;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 4px;
        justify-content: center;
        float: right;
    }

    header nav .nav-wrap .nav-list .time-div-mobile button span {
        font-size: 14px;
    }

    header nav .nav-wrap .nav-list .time-div-mobile button span:last-child {
        color: #D5164D;
    }

    header nav .nav-wrap .nav-list.active > li {
        opacity: 1;
        transform: translateY(0);
    }

    header nav .nav-wrap .nav-list.active > li:nth-child(1) {

    }

    header nav .nav-wrap .nav-list.active > li:nth-child(2) {
        transition-delay: 0.2s;
    }

    header nav .nav-wrap .nav-list.active > li:nth-child(3) {
        transition-delay: 0.4s;
    }

    header nav .nav-wrap .nav-list.active > li:nth-child(4) {
        transition-delay: 0.6s;
    }

    header nav .nav-wrap .nav-list.active > li:nth-child(5) {
        transition-delay: 0.8s;
    }

    header nav .nav-wrap .nav-list.active > li:nth-child(6) {
        transition-delay: 1.0s;
    }

    header nav .nav-wrap .nav-list.active > li:nth-child(7) {
        transition-delay: 1.2s;
    }

    header nav .nav-wrap .nav-list.active > li:nth-child(8) {
        transition-delay: 1.4s;
    }

    header nav .nav-wrap .nav-list.active > li:last-of-type {
        transition-delay: 1.6s;
        padding: 20px;
        box-sizing: border-box;
    }

    header nav .nav-wrap .nav-list > li > a {
        display: block;
        font-size: 20px;
        font-weight: 500;
    }

    header nav .nav-wrap .nav-list.active > li > a {
        opacity: 1;
        transform: translateY(0);
        padding: 0 20px;
    }

    header nav .nav-wrap .nav-list > li > a::after {
        left: auto;
        right: 20px;
        bottom: 10px;
    }

    header nav .nav-wrap .nav-list > li > a:hover::after {
        width: 0;
    }

    header .side-nav-wrap {
        position: static;
        transform: translateX(0);
        transition: height 0.5s ease-in-out;
    }

    header .side-nav-wrap.open {
        height: auto;
        box-shadow: none;
    }

    header .side-nav-wrap .side-nav-list {
        display: block;
    }

    header .side-nav-wrap .side-nav-list li {
        height: auto;
        margin: 0;
    }

    header .side-nav-wrap .side-nav-list li a {
        display: block;
        padding: 10px 20px;
    }

    header .side-nav-wrap .side-nav-list li a img {
        display: none;
    }

    header .side-nav-wrap .side-nav-list li a span {
        color: #666666;
    }

    header .side-nav-wrap .side-nav-list li a span::after {
        content: inherit;
        width: 0;
        height: 0;
    }

    header nav .nav-wrap .hamburger-menu {
        display: flex;
    }

    header nav .nav-wrap .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 5px);
    }

    header nav .nav-wrap .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    header nav .nav-wrap .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -5px);
    }

    header nav .nav-wrap .time-div-pc {
        display: none;
    }
    /* header */


    /* footer */
    footer {
        padding: 40px 20px;
        box-sizing: border-box;
    }

    footer .footer-wrap {
        flex-direction: column-reverse;
        width: 100%;
        align-items: start;
        box-sizing: border-box;
        gap: 20px;
    }

    footer .footer-wrap img {
        width: 120px;
    }
    /* footer */

    /* go top */
    .go-top {
        display: none;
    }
    /* go top */


    /* .empty */
    /* 알림판 */
    .PC1006T .empty {
        padding: 0;
    }

    .chip-menu {
        gap: 10px;
        order: 1;
    }

    .chip-menu li a {
        padding: 10px 22px;
    }
}
