/*div.schedule * {*/
/*    box-sizing: content-box !important;*/
/*}*/

/*div.schedule .sc_Bar .head {*/
/*    height: auto !important;*/
/*    padding: 0 !important;*/
/*}*/

/*div.schedule .sc_Bar .text {*/
/*    display: contents !important;*/
/*    margin-left: 10px;*/
/*}*/

/*div.schedule span.time {*/

/*}*/


.pagination ul li a.pagination_current_page {
    background-color: #EE5A24;
    border: solid 1px #EE5A24;
}

li.picker__list-item {
    margin: 0 !important;
    padding: .5em 1em;
}

/* シフト管理 */
.list00 li dl dt.calendar {
    width: 13.28571428571429%;
    margin: 0 0.5%;
    text-align: center;
}

.list00 li dl dt.calendar.has-schedule {
    background-color: #ffeaea;
    border-radius: 15px;
}

span.calendar-date {
    font-weight: 700;
    color: #1e46ee;
}

span.calendar-date.disabled {
    color: #0a1b31;
}

span.calendar-has-schedule {
    color: #35a21b;
}

span.calendar-no-schedule {
    color: #a2503d;
}

input.autowidth {
    width: auto;
}

input.width_date {
    width: 11em;
}

input.width_time {
    width: 11em;
}

a.button,
span.button {
    display: inline-block;
    padding: .2em 0.5em;
    color: #fff;
    text-align: center;
    background: #2f86dd;
    border-radius: 5px;
}

a.button.disabled,
span.button.disabled {
    color: #ccc;
    background: #888;

}

input.schedule_time {
    width: 35% !important;
}

a.button.approval {
    margin-top: 5px;
    background: #44b372;
}

a.button.approval_view {
    margin-top: 5px;
    background: #5178b3;
}

/* */
.list00 li dl dt.slider_wrapper {
    width: 80%;
}

/* */
button.cancel_reservation {
    background: #ff8495;
}

button.cancel_reservation:hover {
    background: #e53752;
}


/* */
button.temp_reservation {
    background: #24b346;
}

button.temp_reservation:hover {
    background: #429255;
}


/** */

.ui-datepicker.ui-datepicker-multi {
    width: 100% !important;
    text-align: center;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: white !important;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: #b0e4ff !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    background: #243cff !important;
    color: white !important;
}

/* 日曜日のカラー設定 */
td.ui-datepicker-week-end:last-child a.ui-state-default {
    background-color: #ffecec; /* 背景色を設定 */
    color: #f00 !important; /* 文字色を設定 */
}

/* 土曜日のカラー設定 */
table.ui-datepicker-calendar td:nth-child(6) a.ui-state-default {
    background-color: #eaeaff; /* 背景色を設定 */
    color: #00f !important; /* 文字色を設定 */
}

/* ホバー時の動作 */
td.ui-datepicker-week-end a.ui-state-hover {
    opacity: 0.8;
}

/* 当日を示す色はそのまま */
td.ui-datepicker-week-end a.ui-state-highlight {
    background-color: #fffa90 !important;
}


/** */
h2.staff_shcedule {
    margin-top: 20px;
    margin-bottom: 5px;
}

a.cancel_schedule {
    background: #ff8495;
}


form.inline {
    display: inline;
}


.modal__content ul li ul.picker__list {
    display: inline-block;
}

.modal__content ul li ul li.picker__list-item {
    width: inherit;
    padding: .5em 1em;
}


.ui-datepicker-multi-3 .ui-datepicker-group {
    width: auto !important;
}

.ui-widget-content {
    border: none !important;
    overflow: hidden;
}

.scroll_hidden {
    overflow: hidden !important;
}

.reservation-btn {
    display: flex;
    justify-content: space-between;
}

.reservation-btn button {
    width: 100%;
}


/*  */
@media screen and (max-width: 1024px) {
    .schedule {
        font-size: .8em;
    }
}

.schedule_row {
    height: 50px;
    font-size: 12px;
}

.schedule_row.title {
    height: auto;
}

.schedule_time_item.title {
    color: white;
    text-align: center;
}

.schedule .title {
    background-color: #777777;
}


.schedule_staff_name {
    width: 8%;
    float: left;
    height: 100%;
    overflow: hidden;
}


.schedule_time_item {
    float: left;
    height: 100%;
}

.has_result {
    color: black;
    text-shadow: 1px 1px 2px #6e6e6e;
    background-color: #888888 !important;
    border: 1px solid #ccc;
}

.schedule_time_item.working {
    background-color: rgba(0, 255, 174, 0.21);
}

.border_left_0 {
    border-left: 2px solid #ccc;
}

.border_left_30 {
    border-left: 1px solid #ccc;
}

.border_left {
    border-left: 1px dashed #888;
}

.border_right {
    border-right: 1px solid #aaa;
}

.border_bottom {
    border-bottom: 1px solid #aaa;
}

.border_top {
    border-top: 1px solid #aaa;
}

.clearfix {
    clear: both;
}

.schedule_item {
    position: absolute;
    overflow: hidden;
    font-size: 10px;
}


.time_schedule_area {
    position: relative;

    color: white;
    font-size: 14px;

    text-shadow: 1px 1px 2px #000000;
}

a.show_schedule_detail {
    color: white;
}


/*  */
.reservation_header {
    clear: left;
}

.reservation_header .prev_day {
    display: inline-block;
    margin-right: 30px;
}

.reservation_header .today {
    display: inline-block;
    font-size: 180%;
}

@media screen and (max-width: 960px) {
    .reservation_header .today {
        font-size: 150%;
    }
}

.reservation_header .today.current {
    color: red;
}

.reservation_header .next_day {
    display: inline-block;
    margin-left: 30px;
}

.calendar-btn a.no_appointment {
    padding: 10px 30px;
    background-color: #349b00;
    color: white;
    border-radius: 5px;
    display: inline-block;
    margin-left: 40px;
}

/**  */
.button_m {
    margin: 2px 0;
    padding: .5em 0;
    width: 90px;
    font-size: 12px;
}

.button_s {
    margin: 2px 0;
    padding: .5em 0;
    width: 90px;
    font-size: 10px;
}

@media screen and (max-width: 1024px) {
    .button_s {
        width: 70px;
    }
}

.button_ss {
    margin: 2px 0;
    padding: .5em 0;
    width: 50px;
    font-size: 10px;
}

.button_green {
    background-color: #2fb349;
}

.button_green:hover {
    background-color: #3cff58;
    color: #0a1b31;
}

.button_orange {
    background-color: #d77e57;
}

.button_orange:hover {
    background-color: #ffa15c;
    color: #0a1b31;
}


/*  */
#canvas-wrapper {
    width: 100%;
    height: 100%;
    text-align: center;
    position: fixed;
    top: 0;
}

#canvas-editor {
    width: 100%;
    height: 100%;
}

.literally {
    width: 100%;
    height: 100%;
    position: relative;
}

#canvas-editor select {
    margin: 0;
    padding: 0;
    width: auto;

    box-shadow: none;
    border-radius: 0;
    background: #fff;

    line-height: 20px !important;
}

/** */


#overlay {
    display: none;

    width: 100%;
    height: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
}

#loader_wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
}

/** https://projects.lukehaas.me/css-loaders/ */
.loader,
.loader:before,
.loader:after {
    background: #ffffff;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}

.loader {
    color: #ffffff;
    text-indent: -9999em;
    margin: 88px auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.loader:before,
.loader:after {
    position: absolute;
    top: 0;
    content: '';
}

.loader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loader:after {
    left: 1.5em;
}

@-webkit-keyframes load1 {
    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

@keyframes load1 {
    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

/** */
.shift_control section .eachStaff table tr.schedule_header {
    margin: 0;
    padding: 0;
    background: #dddddd !important;
}

button.schedule_button {
    right: 0;
    margin: 0;
    padding: 1px;
    text-align: center;
    color: #353535;
    background-color: #e3e3e3;
    border: 1px solid #888;
    border-radius: 3px;
    width: 100%;
}

button.schedule_button:hover {
    color: #d9d9d9;
    background-color: #6358ff;
}

button.schedule_button:disabled {
    color: inherit;
    border: none;
    background-color: inherit;
}

button.schedule_button:hover:disabled {
    color: inherit;
    background-color: inherit;
}

button.schedule_slider_button {
    right: 0;
    margin: 0;
    padding: 1px 3px;
    width: auto;
    color: inherit;
    text-align: center;
    background: pink;
    border-radius: 2px;
    font-size: 10px;
}

button.schedule_slider_button:hover {
    color: white;
    background: #cf9fa6;
}

.chousei {
    margin-top: 3px;
}

#slider_area {
    display: none;
}

.schedule_staff_row {
    height: 50px;
}

/*****yamamoto_fumina2019/12/15*****/

@media screen and (max-width: 481px) {
    .schedule_staff_row {
        height: 80px;
    }
}


/** */
a.reservations_today {
    padding: 10px 30px;
    background-color: #ff5b68;
    color: white;
    border-radius: 5px;
    display: inline-block;
}

a.reservations_reload {
    padding: 10px 30px;
    background-color: #453dff;
    color: white;
    border-radius: 5px;
    display: inline-block;
}

/**  */
.reserve_modal {
    padding: 15px;
    width: 70%;
    height: 90%;
    overflow: scroll;
}


.reserve_modal input {
    font-size: 12px;
    /* margin: 0 1em; */
    padding: 1.3em 1em;
}

.reserve_modal ul li ul li:first-child {
    width: 100px !important;
}

.reserve_modal ul li ul li:nth-child(3) {
    text-align: center;
}

.reserve_modal ul li ul li:last-child {
    width: auto;
}

.modal_date_input {
    width: auto !important;
    text-align: center;
}

.modal_time_input {
    width: auto !important;
    text-align: center;
}

.price_item_box {
    padding: 10px;
    background-color: #e5e5e5;
    border-radius: 5px;
}

span.price_item {
    width: 33%;
    display: inline-block;

}

span.price_item.title {
    text-align: right;
}

span.price_item.price {
    text-align: right;
}

span#total_price {
    font-weight: bold;
    color: red;
}


/** */
.moving_parent {
    height: 100px;
    background-color: #ccc;
}

/**  */
#inputArea {
    /* padding: 0 5px;
    width: 70%; */
    max-height: 200px;
    overflow-y: scroll;
}

select.input_product_id {
    width: auto;
}

input.input_quantity {
    width: 100px;
    margin: 0 1em;
}

button.remove {
    background-color: #ff6c7d;
    width: 50px;
}


/** */
.calendar-table {
    float: left;
    font-size: .7em;
}

/* .calendar-table:nth-child(2),
.calendar-table:nth-child(3) {
    margin-left: 20px;
} */
.calendar-btn {
    margin-top: 10px;
}

td.calendar_date_cell {
    background-color: #f5f5f5;
    border: 1px solid #fff;
}

td.calendar_date_cell span {
    display: inline-block;
    padding: 1px 5px;
}

td.calendar_date_cell a {
    color: #222;
}

td.calendar_date_cell a.blue {
    color: #00e;
}

td.calendar_date_cell.current {
    background-color: #0d75ee;
}

td.calendar_date_cell.current a {
    color: #e8e8e8;
}

td.calendar_date_cell.has_value:hover {
    background-color: #0000ee;
}

td.calendar_date_cell.has_value:hover a {
    color: #e8e8e8;
}


/** */
.red {
    color: #ff0000;
}

.blue {
    color: #00e;
}

.gray {
    color: #777;
}

.wh {
    color: #fff;
}

.yel, a.yel {
    color: #fff462 !important;
}


.blk {
    color: #000 !important;
}


/** */
button.next_reserve {
    background: #4568c1;
}

button.next_reserve:hover {
    background: #458fc1;
}


/** */
table.schedule_calendar td {
    padding: 5px 0 !important;
}

table.schedule_calendar td.gray {
    background-color: #ccc;
    color: #888 !important;
    font-size: 80%;
}

table.schedule_calendar td p.name {
    padding: 2px 0 !important;
    background-color: #3ea9f1;
    color: white;
}

/** */
.picker__select--year,
.picker__select--month {
    width: 30% !important;
    text-align: center;
    padding: 2px !important;
}

/** */
.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}


/** */
.ck-editor {
    width: 100% !important;
}

.ck-editor__editable {
    max-height: 500px;
}

.textarea_large {
    height: auto !important;
}


input.input_right {
    text-align: right;
}

td.value_right {
    text-align: right !important;
    padding-right: 1rem !important;
}