/* a link */
a {
    color: #FB5A20;
}

/* sidebar */
.c-sidebar {
    height: 100%;
    z-index: 1;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}

.c-sidebar.sidebar-background {
    background-color: #F6F3F0;
}

.c-sidebar.c-sidebar-light .c-sidebar-nav-title {
    font-weight: bolder;
    font-size: large;
    color: black;
}

.c-sidebar-nav-item {
    border-bottom: #CCCCCC 1px solid;
}

.c-sidebar-nav-item.selected-list {
    background: #000;
}

.c-sidebar-nav-item.selected-list .c-sidebar-nav-link {
    font-weight: bold;
    color: #fff;
}

.c-sidebar.c-sidebar-light .c-sidebar-nav-link.c-active {
    color: #fff;
}

.c-sidebar.c-sidebar-light .c-sidebar-nav-link:hover {
    background: #000;
}

/* header */
.c-header {
    width: 100%;
    border-bottom: 2px solid #FB5A20;
    z-index: 2;
}

.c-header.fixed {
    position: fixed!important;
    top: 0!important;
}

.c-header-image a:hover {
    text-decoration: none;
}

.c-header-title {
    font-size: 30px;
    font-weight: bold;
    color: #3c4b64;
}

.c-header-storename {
    font-size: 20px;
}

.header-first-row {
    background-color: black;
}

.topheader-small-icon {
    font-size: 1.1rem;
    color: #FB5A20 !important;
    margin-right: 5px;
    margin-bottom: -3px;
}

/* main */
.c-main {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 16rem;
}

/* footer */
.footer {
    margin-top: auto;
    background-color: #FB5A20;
}

/* common */
#js-alert-message {
    display: none;
}

.bg-color {
    background-color: #ffffff;
}

.menu-edit-image-preview {
    max-height: 207px;
    max-width: 410px;
    height:auto;
    width:auto;
    margin: 10px 0px;
    background-color: #ffffff;
}
.c-wrapper {
    flex-direction: row;
    padding-top: 135px;
}

.pagination {
    justify-content: center;
}

.brand_logo_image {
    width: 10%;
}

.okage_logo_image {
    width: 26%;
}

.okage_logo_image_login {
    margin: 1em;
    width: 50%;
}

.position_center {
    text-align: center;
}

/* primary color */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #FB5A20;
    border-color: #FB5A20;
}
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus{
    box-shadow: 0 0 0 0.2rem rgb(255 208 191)
}
.btn-primary:disabled {
    background-color: #e6693b;
    border-color: #e6693b;
    cursor: not-allowed;
}

/* alert */
.flash_message, .error_message {
    width: 100%;
    position: absolute;
    top: 0;
    padding-left: 2rem;
    border-radius: 0;
    font-weight: bold;
    z-index: 10;
}

.login_flash_message {
    width: 100%;
    padding-left: 2rem;
    border-radius: 0;
    font-weight: bold;
}

/* flatpicker */
.form-control[readonly].timepicker {
    background-color: #fff;
}

.flatpickr-calendar {
    width: 200.875px;
}

.flatpickr-time.time24hr .numInputWrapper {
    width: 30%;
}

.flatpickr-time .flatpickr-time-separator, .flatpickr-time .flatpickr-am-pm {
    width: 8%;
}

.select-store-button-list {
    padding: 100px;
}

/* form */
.form-control {
    color: #000;
}

.form-control:focus {
    color: #000;
}

.custom-select {
    color: #000;
}

/* loading */
#loader-wrap {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 2;
    background: rgba(255, 255, 255, 0.5);
}
.loader,
.loader:before,
.loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
    z-index: 1;
}
.loader {
    color: #5f5f5f;
    font-size: 10px;
    margin: 80px auto;
    position: absolute;
    top: 30%;
    left: 50%;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
}
.loader:before {
    left: -3.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loader:after {
    left: 3.5em;
}
@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}
@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

@media screen and (max-width: 1600px) {
    .login-area {
        width: 24%;
    }
    .c-sidebar {
        overflow: scroll;
        height: 92vh;
    }
}

.custom-file-input {
    position: relative;
    width:7em;
    height: calc(1.5em + .75rem + 2px);
}

.custom-file-label {
    right: 0;
    left: 0;
    width:7em;
    z-index: 1;
    height: calc(1.5em + .75rem + 2px);
    font-weight: 400;
    background-color: #fff;
    border-color: #d8dbe0;
}

.custom-file-label::after {
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.5em + .75rem);
    border: 0!important;
    background-color: #ebedef;
    left:0;
}

.opening_hour_annotation {
    margin-left: 25px;
}

#addMenuModal .modal-dialog {
    width: 70%;
}

.c-sidebar-show.c-sidebar-light .c-sidebar-nav-title {
    font-weight: bolder;
    font-size: large;
    color: black;
}

.page-title-wrapper {
    border-bottom: 2px solid #CCCCCC; 
    margin-bottom: 15px;
}

.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color: #F6F3F0;
 }

/* Component */
.btn-orange {
    background-color: #FB5A20;
    border: 0 !important;
    color: white;
}

    .btn-orange:hover {
        background-color: #ad3408;
        color: white;
    }
/* End Component */


/* datepicker 日曜日：赤 */
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-weekdays .flatpickr-weekday:nth-child(7n + 1),
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-days .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay):nth-child(7n + 1) {
    color: red;
}
 
/* datepicker 土曜日：青 */
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-weekdays .flatpickr-weekday:nth-child(7),
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-days .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay):nth-child(7n) {
    color: blue;
}

/* datepicker */
.flatpickr-calendar {
    width: 320px;
    /* background-color: #fff; */
}
/* END DATEPICKER */

/* Filter Form */

    #filter-header.active:before {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        transform: rotate(180deg);
    }


/* END FILTER FORM */
