@charset "utf-8";

/* 스케줄 페이지 - me.cau.ac.kr 스타일 */
.bo_schedule_page {
    padding: 0;
    line-height: 1.6;
    padding: 60px 0 0;
    margin-bottom: 60px;
    line-height: 1.8em;
    min-height: 600px;
}

.bo_schedule_head {
    margin-bottom: 24px;
}

.bo_schedule_head .sub_common_title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 400;
    color: #222;
}

.nd_schedule_bot {
    margin: 40px 0;
    padding-top: 50px;
    border-top: 1px solid #e1e1e1;
}

.schedule_current_date {
    margin: 0;
    font-size: 15px;
    color: #666;
}

.schedule_today_box {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
}

.schedule_today_box .schedule_featured {
    display: flex;
    gap: 15px;
}

.schedule_today_box .schedule_featured .schedule_featured_icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.schedule_today_box .schedule_featured .schedule_featured_icon .schedule_icon_box {
    background-color: orangered;
    display: block;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
}

.schedule_today_box .schedule_featured .schedule_featured_icon .schedule_icon_box i {
    width: 100%;
    font-size: 3em;
}

.schedule_today_box .schedule_featured .schedule_featured_icon .schedule_featured_date {
    margin-top: 3px;
    background-color: #eef0f2;
    width: 100%;
    text-align: center;
    padding: 0 8px;
}

.schedule_today_msg {
    margin: 0;
    font-size: 15px;
    color: #333;
    font-size: 14px;
}

.schedule_today_list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.schedule_today_list li {
    padding: 6px 0;
    border-top: 1px solid #e5e8ec;
}

.schedule_today_list li:first-child {
    border-top: 0;
}

.schedule_today_list a {
    font-size: 14px;
    text-decoration: none;
}

.schedule_today_list a:hover {
    text-decoration: underline;
}

.schedule_calendar_wrap {
    margin-top: 10px;
}

.schedule_calendar_wrap .schedule_cal_toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
}

.schedule_month_title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

.schedule_month_title a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, color .2s ease;
}

.schedule_cal_toolbar .schedule_month_title {
    margin: 0;
}

.schedule_month_picker {
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule_month_input {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 148px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #d9dee6;
    background: #fff;
    color: #000;
}

.schedule_month_input i {
    color: #999;
    font-size: 12px;
}

.schedule_month_input input[type="month"]::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
}

.schedule_month_input input[type="month"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.schedule_month_input input[type="month"] {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    color: #222;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    pointer-events: none;
}

.schedule_month_input:focus-within {
    border-color: #2f80ed;
    box-shadow: 0 0 0 3px rgba(47, 128, 237, .15);
}

.btn_month_next,
.btn_month_prev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d9dee6;
    background: #eee;
    color: #333;
    text-decoration: none;
    transition: all .2s ease;
}



.calendar-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.calendar-nav .nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.calendar-nav .nav-month .yyyymm {
    min-width: 90px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #006cb8;
}

.calendar-nav .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d0d3db;
    background: #fff;
    color: #555;
    text-decoration: none;
    border-radius: 3px;
}

.calendar-nav .btn:hover {
    border-color: #006cb8;
    color: #006cb8;
}

.calendar-wrapper {
    width: 100%;
    overflow-x: auto;
}

.calendar {
    width: 100%;
    min-width: 0;
    border-top: 2px solid #333;
}

.week-header {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #ddd;
    background: #f3f3f3;
}

.week-header .th {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    box-sizing: border-box;
}

.week-header .th:last-child {
    border-right: 0;
}

.week-header .th:first-child {
    color: rgb(233, 27, 35);
}

.week-header .th:last-child {
    color: rgb(52, 152, 219);
}

.cal-week-row {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cal-day {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    background: #fff;
    vertical-align: top;
    display: table-cell;
    width: 14.285%;
    min-height: 140px;
    line-height: 22px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cal-day:last-child {
    border-right: 0;
}

.cal-day.other-mm {
    background: none;
}

.cal-day.today {
    background: #fafafa;
}

.cal-day.today .cal-day-head .cal-day-num {
    display: none;
}

.cal-day-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 6px;
    height: 25px;
}

.cal-day-num,
.cal-day-mobile {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    line-height: 1.2;
    font-family: "Roboto", sans-serif;
}
.cal-day-mobile{
    display: none;
}

.cal-day.sun .cal-day-num,
.cal-day.sun .cal-day-mobile{
    color: rgb(233, 27, 35);
}

.cal-day.sat .cal-day-num ,
.cal-day.sat .cal-day-mobile{
    color: rgb(52, 152, 219);
}

.cal-day.other-mm .cal-day-num {
    opacity: 0;
}

.cal-event-today {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cal-event-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: orangered;
    font-size: 15px;
    line-height: 1;
}

.today_mark {
    font-size: 12px;
    font-weight: 400;
    color: orangered;
}

.cal-anniv {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.3;
    display: none;
}

.cal-anniv.red {
    color: rgb(233, 27, 35);
}

.cal-anniv.blue {
    color: rgb(52, 152, 219);
}

.cal-day-events {
    margin: 0;
    padding: 0;
    color: dee;
}

.cal-day-event {
    margin-bottom: 4px;
}

.cal-event-link {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.schedule_bot_btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.schedule_bot_btns a {
    display: inline-block;
    color: #fff !important;
    border-image: none !important;
    background-image: none !important;
    border: 1px solid #fff;
    background-color: #006cb8;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .bo_schedule_head .sub_common_title {
        font-size: 25px;
        padding-bottom: 4%;
        padding-top: 2%;
    }

    .week-header .th {
        padding: 10px 2px;
        font-size: 12px;
    }

    .cal-day {
        min-height: 88px;
        padding: 8px 4px;
        width: 100%;
    }

    .cal-day-head {
        gap: 3px;
    }

    .cal-event-link {
        font-size: 11px;
    }

    .calendar-nav .nav-month .yyyymm {
        font-size: 16px;
        min-width: 72px;
    }

    .bo_schedule_head {
        margin-bottom: 0;
    }

    .nd_schedule_bot {
        margin: 0px 0;
        padding-top: 30px;
    }
    .schedule_today_box .schedule_featured .schedule_featured_icon{
        display: none;
    }

    .schedule_month_title{
        font-size: 18px;
    }
    .btn_month_next, .btn_month_prev{
        height: 34px;
        width: 34px;
    }
    .schedule_month_input{
        height: 34px;
    }

    .week-header{
        display: none;
    }
    .cal-week-row{
        flex-direction: column;
    }
    .cal-day.other-mm{
        display: none;
    }
    .cal-day-mobile{
        display: block;
    }
    .cal-day.today .cal-day-head .cal-day-mobile{
        display: none;
    }
    .cal-day-num{
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .week-header .th {
        font-size: 11px;
        letter-spacing: -0.5px;
    }

    .cal-day {
        min-height: 76px;
    }

    .today_mark {
        display: block;
        margin: 0 0 2px;
        width: fit-content;
    }
}