.manager-content {
    padding-top: 15px;
    margin-top: 65px;
}

.header-a {
    color: #000;
}

.header-a.active {
    color: #1a73e8;
    border-bottom: 2px solid #1a73e8;
}

.program-week {
    justify-content: center;
    padding: 0 1%;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    list-style: none;
}

.program-week .nav-item {
    width: 90%;
    text-align: center;
}

.program-week .nav-link.active,
.program-week .nav-item.show .nav-link {
    color: #35bea2;
}

.program-week a {
    color: #707070;
}

.wrapper {
    display: flex;
    align-items: stretch;
    perspective: 1500px;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #e6e6e6;
    color: #0000;
    transition: all 0.6s cubic-bezier(0.945, 0.02, 0.27, 0.665);
    transform-origin: center left;
    /* Set the transformed position of sidebar to center left side. */
    margin-left: -250px;
    transform: rotateY(100deg);
}

/* #sidebar.active {
    margin-left: -250px;
    transform: rotateY(100deg); /* Rotate sidebar vertically by 100 degrees. 
} */
#sidebar.active {
    margin-left: 0;
    transform: none;
}

@media (max-width: 768px) {

    /*
    #sidebar {
        margin-left: -250px;
        transform: rotateY(100deg);
    }
    #sidebar.active {
        margin-left: 0;
        transform: none;
    }
*/
    /* Reversing the behavior of the bars: 
       Removing the rotation from the first,
       last bars and reappear the second bar on default state, 
       and giving them a vertical margin */
    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }

    /* Removing the vertical margin and make the first and last bars rotate again when the sidebar is open, hiding the second bar */
    #sidebarCollapse.active span {
        margin: 0 auto;
    }

    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }

    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }

    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: rgba(0, 0, 0, 0.45);
    margin: auto;
    margin-bottom: 4px;
    transition: all 400ms linear;
    cursor: pointer;
}

.navbar-collapse {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: scroll;
    background-color: #FFF;
    z-index: 101;
}

.navbar-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.navbar-toggle[aria-expanded="false"] span:nth-child(2) {
    opacity: 1;
}

.navbar-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(-45deg);
    position: relative;
    top: 7.5px;
}

.navbar-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(45deg);
    position: relative;
    bottom: 6px;
}

.header-func-area {
    display: flex;
    flex: 1;
    justify-content: end;
}

.modal {
    overflow-y: auto;
}

.flex-height {
    height: 400px;
    overflow-y: auto;
}

.pic {
    position: relative;
}

img {
    width: 100%;
}

.pic .remove-div {
    width: 100%;
    text-align: end;
}

.pic .remove {
    width: fit-content;
    margin-left: auto;
    font-size: 18px;
    color: #ff0000;
    cursor: pointer;
}

.search-area {
    margin-bottom: 10px;
}

.search-area>div {
    padding-right: 0;
    margin-bottom: 10px;
}

.form-content div {
    margin-bottom: 5px;
}

.tab-pane-margin {
    margin-top: 1%;
}

.form-content .form-hr {
    width: 100%;
    border-bottom: 1px solid #7070704b;
    margin: 30px 15px 25px;
}


/* Modal區塊新增 */
.form-block {
    padding: 10px 5px;
    border: #afafaf solid 1px;
    margin: 0;
}


/* 行事曆 */

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

.flex-and-center {
    display: flex;
    align-items: center;
}

.flex-and-center svg {
    color: red;
}

.mt-50 {
    margin-top: 50px;
}

.title {
    border: 1px solid;
    padding: 5px 10px;
    display: inline-block;
}

.order-main {
    margin: 10px;
    border: 1px solid;
    width: 250px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    padding: 15px 10px;
    cursor: pointer;
}

.justify-content-between {
    justify-content: space-between;
}

.order-main:hover {
    background-color: #eee;
}

.order-item {
    height: 100%;
}

.order-content {
    justify-content: space-between;
    display: flex;
    padding: 0 10px 0 10px;
}

.d-flex {
    display: flex;
}

.order-area {
    overflow-x: auto;
}

.hidden {
    display: none;
}

.hidden.content-show {
    display: flex;
}

.product-item-img-area {
    width: 120px;
    height: 90px;
}

.product-item-img {
    width: 100%;
    height: 100%;
}

.product-item-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-self: center;
}

.product-item {
    border: 1px solid;
}

.total-price {
    font-size: 18px;
    text-align: end;
}

.ellipsis {
    color: #1a73e8;
    margin-left: 20%;
}

.product-num {
    color: #a2a0a0;
    font-size: 14px;
    padding-left: 3px;
}

.wait-title {
    background-color: #656565;
    color: #fff;
}

.ready-title {
    background-color: #3094ff;
    color: #fff;
}

.reject-title {
    background-color: #d04747;
    color: #fff;
}

.finish-title {
    background-color: #6fa882;
    color: #fff;
}

.wait-btn {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.ready-btn {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.reject-btn {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.finish-btn {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.wait-btn:hover,
.wait-btn.active {
    background-color: #656565;
    color: #fff;
}

.ready-btn:hover,
.ready-btn.active {
    background-color: #3094ff;
    color: #fff;
}

.reject-btn:hover,
.reject-btn.active {
    background-color: #d04747;
    color: #fff;
}

.finish-btn:hover,
.finish-btn.active {
    background-color: #6fa882;
    color: #fff;
}

.notify-text {
    font-size: 14px;
    padding-left: 5px;
    color: #ff0000d4;
}

.btn-outline-danger {
    z-index: 10;
    line-height: 1;
    right: 10px;
    position: absolute;
}

.relative {
    position: relative;
}

.one_total,
.sum_total {
    right: 10px;
    position: absolute;
}

.modal-total-price {
    position: absolute;
    left: 10px;
    font-size: 20px;
}

.form-radio {
    display: flex;
    flex-direction: column;
}

.form-radio input[type='radio'] {
    width: 100%;
    height: 14px;
    margin-top: 20%;
}

.mb-0 {
    margin-bottom: 0;
}

.pb-5 {
    padding-bottom: 5px;
}

.invalid-feedback.show {
    display: block;
}

.ml-10 {
    margin-left: 10px;
}

.flex-column {
    flex-direction: column;
}

.header-left-area {
    padding: 0.5rem 1rem;
    border: 0px solid #fff;
    background-color: #339e96;
    color: #fff;
}

.company-name-bkcolor {
    background-color: #339e96
}

.member-name-bkcolor {
    background-color: #e68e00
}

.header-logout-area>li {
    padding-left: 10px;
    padding-right: 10px;
}