/* ----------------------------
    Month page
-----------------------------*/

#month-page {
    -webkit-user-select: none;
    overflow: hidden;
}

#month-page table.month {
    width: 100%;
    height: 100%;
    color: #393939;
    background-color: #efece0;
    border-collapse: collapse;
    z-index: 2;
    overflow: hidden;
}

#month-page table.month thead {
    font-size: 18px;
    font-weight: 100;
    background-color: #ded8c4;
    line-height: 26px;
}

#month-page table.month thead tr {
    border: 1px solid #bcb7a6;
    border-left-width: 0;
    border-right-width: 0;
    background-color: #ded8c4;
}

#month-page table.month thead th.holiday {
    color: #af4a49;
}

#month-page table.month td {
    padding-right: 0px;
    padding-top: 2px;
    padding-bottom: 2px;
}

#month-page table.month td:first-child {
    color: #ab3c3c;
}

#month-page table.month td.inactive {
    color: #9b9689;
}

#month-page table.month td div {
    border-radius: 50%;
    margin: auto;
    text-align: center;
    width: 42px;
}

#month-page table.month td.today div {
    background-color: #e1e1e1;
    box-shadow: -1px -1px 1px #c9c8c4 inset, 1px 1px 1px #eeeeee inset;
}

#month-page table.month td.selected div {
    color: white;
    background-color: #3b73b6;
    box-shadow: -1px -1px 1px #35669f inset, 1px 1px 1px #8cadd4 inset;
}

#prev-month-btn, #next-month-btn {
    width: 33%;
}

#current-month-btn {
    width: 34%;
}

.ui-fixed-hidden {
    position: fixed;
}

.ui-content {
    background: #efece0;
}

.ui-footer > button {
    height: inherit;
}

#month-table tr {
    line-height: 1.3rem;
    font-size: 1.3rem;
}

.hidden {
    display: none !important;
}

#month-footer {
    position: fixed;
}

@media (-tizen-geometric-shape: circle) {

    .ui-page.ui-scroll-on .ui-content {
        margin-bottom: 0;
    }

    .ui-footer.ui-grid-col-3 .ui-btn {
        background-repeat: no-repeat;
        background-size: 35%;
        color: transparent;
        padding: 0;
        height: 100%;
    }

    .ui-page.ui-scroll-on .ui-content~.ui-footer:not(.ui-expandable-footer) {
        margin-top: 0;
        height: 96px;
    }

    .ui-footer.ui-grid-col-3 .ui-btn:nth-child(1) {
        background-position: 90% center;
    }

    .ui-footer.ui-grid-col-3 .ui-btn:nth-child(2) {
        background-position: 50% center;
    }

    .ui-footer.ui-grid-col-3 .ui-btn:nth-child(3) {
        background-position: 10% center;
    }

    .btn-icon-left {
        background-image: url(../images/button_left.png);
    }

    .btn-icon-circle {
        background-image: url(../images/button_circle.png);
    }

    .btn-icon-right {
        background-image: url(../images/button_right.png);
    }

    #prev-month-btn, #next-month-btn {
        width: 35%;
    }

    #current-month-btn {
        width: 30%;
    }

    #month-page table.month {
        height: auto;
    }

    #month-page table.month thead {
        font-size: 15px;
        line-height: 18px;
    }

    #month-table tr {
        line-height: 1.1rem;
        font-size: 1.1rem;
    }

    #month-page table.month td {
        padding-top: 1px;
        padding-bottom: 1px;
    }
}