﻿/*スプレッドシートデザイン*/
:root {
    --jexcel_header_color: #fff;
    --jexcel_header_color_highlighted: #FFF;
    --jexcel_header_background: #fa8c31;
    --jexcel_header_background_highlighted: #fa8c31;
    /*セル*/
    --jexcel_content_color: #000;
    --jexcel_content_color_highlighted: #000;
    --jexcel_content_background: #fff;
    --jexcel_content_background_highlighted: #e6e6e3; /*選択時*/
    /*線*/
    --jexcel_border_color: #ccc;
    --jexcel_border_color_highlighted: #000;
    --jexcel_cursor: #eee;
    --active_color: #007aff;
    /*メニュー*/
    --jexcel_menu_background: #fff;
    --jexcel_menu_background_highlighted: #ebebeb;
    --jexcel_menu_color: #000;
    --jexcel_menu_color_highlighted: #000;
    --jexcel_menu_box_shadow: 2px 2px 2px 0px rgba(143, 144, 145, 1);
}

/*セル幅　自動調整*/
 .jexcel {
    table-layout: auto;
}

#shiftSpread .jexcel {
    table-layout:inherit;

}

#monthShift td:hover{
    background-color:#e1ebee;
}
#monthShift{
    font-size:20px;
}
#oneDayShift{
    font-size:1rem;
}

/*カレンダー*/
.calendarWrapper {
    /*   margin: 0 auto; */
    color: #000;
    font-size: 26px;
}

#calendarHeader {
    text-align: center;
    font-size: 24px;
    width: 100%;
}

#calendar {
    text-align: center;
    width: 100%;
}

    #calendar table {
        outline: 2px solid #ddd;
        border-collapse: collapse;
        width: 100%;
    }

    #calendar th {
        color: #000;
    }

    #calendar th, #calendar td {
        vertical-align: top;
        outline: 1px solid #ddd;
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: center;
    }
        /*日曜日*/
        #calendar td:last-child {
            color: red;
        }
        /*土曜日*/
        #calendar td:nth-child(6) {
            color: blue;
        }
        /*前後月の日付*/
        #calendar td.disabled {
            color: #ccc;
        }

        #calendar td:hover {
            background-color: #e5d0d0;
        }

    #calendar table {
        table-layout: fixed;
        height: 100%;
    }
/*ボタン*/
#next-prev-button {
    position: relative;
}

    #next-prev-button button {
        cursor: pointer;
        background: #eeb36b;
        color: #fff;
        border: 1px solid #eeb36b;
        border-radius: 4px;
        font-size: 1rem;
        padding: 0.5rem 2rem;
        margin: 1rem 0;
    }

        #next-prev-button button:hover {
            background-color: #d4f0fd;
        }

#prev {
    float: left;
}

#next {
    float: right;
}

/*テーブル*/
#monthShiftList {
    text-align: center;
    font-size: 1rem;
}
    #monthShiftList thead {
        background-color: #fa8c31;
        color:#FFF;
    }
        #monthShiftList thead tr td:hover {
            background-color: #d4f0fd;
        }
    #monthShiftList tbody {
        color: #000;
        background-color: #FFF;
    }
    #monthShiftList td {
        border: solid 1px #ccc; /* 枠線指定 */
        word-break: break-all;
    }
    #monthShiftList tbody tr:nth-child(2n+1) {
        height:50px;
    }
.shiftList-name {
    background-color: #fa8c31;
    color: #FFF;
}
.ui-state-disabled {
    opacity: 1;
    background-color: #ddd;
}
.no-drag-weektime {
    cursor: default !important;
    pointer-events: none; /*drag出来ないように*/
}

#monthShiftList tbody tr td td {
    display: flex;
    /*コレ*/ flex-direction: column;
}


/*ファイル取り込み部分*/
input[type="file"] {
    display: none;
}

.graph {
    position: relative;
}

#graphMessage {
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
    right: 0;
    margin: auto;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-40%);
    font-weight:bold;
}

.message1 {
    font-size:2rem;
    color:gray;
}

#message2, #message3, #message4 {
    font-size: 4rem;
}