﻿/* ==========================================================
   ACADEMIC CALENDAR PAGE
========================================================== */


/* ==========================================================
   MAIN SECTION
========================================================== */

.academic-calendar-section {

    padding: 90px 0 100px;

    background:
        linear-gradient(
            135deg,
            #f5f9fc 0%,
            #fffdf3 100%
        );
}


/* ==========================================================
   INTRO
========================================================== */

.academic-calendar-intro {

    max-width: 780px;

    margin: 0 auto 50px;

    text-align: center;
}


/* ==========================================================
   LABEL
========================================================== */

.academic-calendar-label {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;

    margin-bottom: 14px;
}


.academic-calendar-label span {

    width: 32px;

    height: 3px;

    background: var(--yellow);

    border-radius: 5px;
}


/* ==========================================================
   HEADING
========================================================== */

.academic-calendar-intro h2 {

    color: var(--primary-dark);

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 4vw, 52px);

    line-height: 1.15;

    font-weight: 800;

    margin-bottom: 17px;
}


.academic-calendar-intro h2 span {

    color: var(--primary);

    display: inline-block;
}


/* ==========================================================
   INTRO TEXT
========================================================== */

.academic-calendar-intro p {

    color: #667586;

    font-size: 16px;

    line-height: 1.8;

    max-width: 700px;

    margin: 0 auto;
}


/* ==========================================================
   CALENDAR CARD
========================================================== */

.academic-calendar-card {

    background: #ffffff;

    border-radius: 10px;

    overflow: hidden;

    border: 1px solid #e2e9ef;

    box-shadow:
        0 12px 40px rgba(20,45,80,.08);
}


/* ==========================================================
   CARD HEADER
========================================================== */

.academic-calendar-card-header {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 25px 30px;

    background:
        linear-gradient(
            135deg,
            #092f61,
            #164f92
        );

    color: #ffffff;
}


/* ==========================================================
   HEADER ICON
========================================================== */

.calendar-heading-icon {

    width: 58px;

    height: 58px;

    min-width: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background: var(--yellow);

    color: var(--dark);

    font-size: 24px;
}


/* ==========================================================
   HEADER TEXT
========================================================== */

.calendar-small-title {

    color: var(--yellow);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.7px;

    margin-bottom: 4px;
}


.academic-calendar-card-header h3 {

    margin: 0;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 25px;

    font-weight: 700;

    line-height: 1.25;
}


/* ==========================================================
   CALENDAR WRAPPER
========================================================== */

.calendar-wrapper {

    padding: 35px;

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* ==========================================================
   ASP.NET CALENDAR
========================================================== */

.school-calendar {

    width: 100% !important;

    max-width: 100%;

    border: 1px solid #dfe7ee !important;

    background: #ffffff !important;

    border-collapse: collapse;

    color: #566677;

    font-family: Arial, sans-serif;

    font-size: 14px;
}


/* ==========================================================
   CALENDAR TITLE
========================================================== */

.school-calendar .calendar-title {

    background:
        linear-gradient(
            135deg,
            #092f61,
            #164f92
        ) !important;

    color: #ffffff !important;

    font-family: "Playfair Display", serif;

    font-size: 23px !important;

    font-weight: 800;

    height: 55px;

    padding: 10px !important;
}


/* ==========================================================
   PREVIOUS / NEXT
========================================================== */

.school-calendar .calendar-next-prev {

    color: #ffffff !important;

    font-size: 13px !important;

    font-weight: 700;
}


.school-calendar .calendar-next-prev a {

    color: #ffffff !important;

    text-decoration: none;

    padding: 5px 10px;

    border-radius: 4px;

    transition: .25s;
}


.school-calendar .calendar-next-prev a:hover {

    background: var(--yellow);

    color: var(--dark) !important;
}


/* ==========================================================
   DAY HEADER
========================================================== */

.school-calendar .calendar-day-header {

    background: #edf4fa !important;

    color: var(--primary-dark) !important;

    font-size: 12px !important;

    font-weight: 800;

    text-transform: uppercase;

    border-bottom: 2px solid var(--yellow) !important;

    height: 40px;
}


/* ==========================================================
   DAY CELLS
========================================================== */

.school-calendar td {

    border: 1px solid #e7edf2 !important;

    text-align: center;

    vertical-align: middle;

    height: 65px;

    background: #ffffff;
}


.school-calendar td a {

    color: var(--primary-dark);

    text-decoration: none;

    font-weight: 700;
}


/* ==========================================================
   DAY HOVER
========================================================== */

.school-calendar td:hover {

    background: #f5f9fc !important;
}


.school-calendar td:hover a {

    color: var(--primary);
}


/* ==========================================================
   TODAY
========================================================== */

.school-calendar .today-day {

    background: var(--yellow) !important;

    color: var(--dark) !important;

    font-weight: 800;
}


.school-calendar .today-day a {

    color: var(--dark) !important;
}


/* ==========================================================
   SELECTED DAY
========================================================== */

.school-calendar .selected-day {

    background: #e9f2fa !important;

    color: var(--primary) !important;

    font-weight: 800;
}


/* ==========================================================
   OTHER MONTH
========================================================== */

.school-calendar .other-month-day {

    color: #b5bec7 !important;

    background: #fafbfc !important;
}


.school-calendar .other-month-day a {

    color: #b5bec7 !important;
}


/* ==========================================================
   SELECTOR
========================================================== */

.school-calendar .selector-day {

    background: #edf4fa !important;
}


/* ==========================================================
   INFORMATION NOTE
========================================================== */

.calendar-note {

    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 25px;

    padding: 20px 25px;

    background: #ffffff;

    border-left: 4px solid var(--yellow);

    border-radius: 6px;

    box-shadow:
        0 5px 20px rgba(20,45,80,.05);
}


/* ==========================================================
   NOTE ICON
========================================================== */

.calendar-note-icon {

    width: 45px;

    height: 45px;

    min-width: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #edf5fb;

    color: var(--primary);

    font-size: 18px;
}


/* ==========================================================
   NOTE TEXT
========================================================== */

.calendar-note strong {

    display: block;

    color: var(--primary-dark);

    font-size: 14px;

    margin-bottom: 3px;
}


.calendar-note p {

    margin: 0;

    color: #6a7888;

    font-size: 13px;

    line-height: 1.6;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {

    .academic-calendar-section {

        padding: 75px 0 80px;
    }


    .calendar-wrapper {

        padding: 25px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .academic-calendar-section {

        padding: 60px 0 65px;
    }


    .academic-calendar-intro {

        margin-bottom: 35px;
    }


    .academic-calendar-intro h2 {

        font-size: 36px;
    }


    .academic-calendar-intro p {

        font-size: 15px;
    }


    .academic-calendar-card-header {

        padding: 20px;

        gap: 13px;
    }


    .calendar-heading-icon {

        width: 50px;

        height: 50px;

        min-width: 50px;

        font-size: 20px;
    }


    .academic-calendar-card-header h3 {

        font-size: 21px;
    }


    .calendar-small-title {

        font-size: 9px;
    }


    .calendar-wrapper {

        padding: 18px;

        overflow-x: auto;
    }


    .school-calendar {

        min-width: 650px !important;
    }


    .calendar-note {

        align-items: flex-start;

        padding: 17px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .academic-calendar-intro h2 {

        font-size: 32px;
    }


    .academic-calendar-card-header {

        align-items: flex-start;
    }


    .calendar-heading-icon {

        width: 44px;

        height: 44px;

        min-width: 44px;
    }


    .academic-calendar-card-header h3 {

        font-size: 19px;
    }

}