﻿/* 整個內容方塊 */
.index校曆38 {
    --title-align: left;

    /* --For simpleBar Start-- */
    --content-height-without-heading: auto;
    --whole-block-height: auto;
    /* --For simpleBar End-- */

    height: var(--whole-block-height);
}

    /* 內容方塊標題文字 (h2) */
    .index校曆38 .blockTitle {
        text-align: var(--r-index-block-title-align, --title-align);
    }

        /* 內容方塊標題超連結 */
        .index校曆38 .blockTitle a {
        }

    /* 容器 */
    .index校曆38 .loopElementList {
        height: var(--content-height-without-heading);
    }

    /*日曆表格*/
    .index校曆38 .calendarBody {
        border-collapse: collapse;
        width: 100%;
    }

        .index校曆38 .calendarBody td {
            padding: 0;
            border-style: solid solid solid solid;
            border-width: 1px 1px 1px 1px;
            border-color: #d1d1d1 #d1d1d1 #d1d1d1 #d1d1d1;
            width: calc(100%/7);
            max-width: calc(100%/7);
        }

            .index校曆38 .calendarBody td.yearMonth {
                text-align: center;
                font-weight: bold;
                border-style: none none dotted none;
                line-height: 3em;
            }

    .index校曆38 .preMonth, .index校曆38 .nextMonth
    {
        text-align : center;
    }

    .index校曆38 .preMonth input, .index校曆38 .nextMonth input
    {
        
    }

    .index校曆38 .weekName td {
        border-left: none 0;
        border-right: none 0;
        text-align: center;
        font-weight: bold;
        line-height: 3em;
    }

    /*上個月的日子*/
    .index校曆38 .lastMonth {
    }

    .index校曆38 .eachDay {
        padding: 0;
    }

    .index校曆38 .today {
        border: solid 1px;
    }

    .index校曆38 .oneDay {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: stretch;
    }

        .index校曆38 .oneDay .upper {
            flex-basis: 40%;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: space-around;
            align-items: stretch;
        }

        .index校曆38 .oneDay .dayOfMonth {
            flex-basis: 60%;
            text-align: center;
        }

    .index校曆38 .smallChar {
        font-size: smaller;
    }

    .index校曆38 .Sunday, .index校曆38 .Saturday {
    }

    .index校曆38 .cycle {
        font-size: smaller;
    }

    .index校曆38 .dayOfMonth {
    }

    .index校曆38 .calendarBody .nextMonth {
    }

@media (max-width: 480px) {
    .index校曆38 {
        width: 100%;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .index校曆38 {
        width: 100%;
    }
}
