body { overflow-y:scroll; }

@media (min-width: 992px) {
    .modal-dialog {
        width: 1000px;
    }
}

.copyright {
    padding: 15px 0;
}

.login-wrapper {
    background-color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper .login-container {
    height: initial;
}

.login-wrapper .bg-pic > img {
    opacity: 1;
}

.page-sidebar .sidebar-menu .menu-items > li > a > .title {
    width: auto;
}

.header-inner .notification-list {
    padding-left: 295px !important;
}

#message_holder {
    display: none;
}

.form-horizontal .form-group .control-label {
    opacity: 1;
}

@media (max-width: 767px) {
    .jumbotron,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media only screen and (min-width: 980px) {
  body.menu-pin .page-sidebar {
    width: 0px;
  }

  body.menu-pin .page-container .page-content-wrapper .content {
    padding-left: 0px;
  }
}

@media only screen and (min-width: 991px) {
  body.menu-pin .page-sidebar {
    width: 250px;
  }

  body.menu-pin .page-container .page-content-wrapper .content {
    padding-left: 250px;
  }
}

body.hide_sidebar .page-sidebar {
    display: none;
}

body.sidebar-open .page-sidebar.visible {
    display: block !important;
}


body.menu-pin.hide_sidebar .page-container .page-content-wrapper .content {
    padding-left: 0px !important;
}

body.menu-pin.hide_sidebar .page-container .page-content-wrapper .content .container-fluid {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/*body.hide_sidebar {*/
/*    margin-left: 15px;*/
/*    margin-right: 15px;*/
/*}*/

body.hide_sidebar .page-container .content {
    padding-top: 0px !important;
}

.nowrap {
    white-space: nowrap;
}

.table.table-skinny thead tr th {
  padding-left: 20px;
  padding-right: 20px;
}
.table.table-skinny tbody tr td {
  padding-top: 12px;
  padding-bottom: 12px;
  vertical-align: middle;
}

#available_ingredients, #available_alternatives, #available_components, #available_categories, #available_subrecipes {
    border-collapse: collapse;
    width: 95%;
}
#available_ingredients thead, #available_alternatives thead, #available_components thead, #available_categories thead, #available_subrecipes thead {
    display: none;
}
#available_ingredients a, #available_alternatives a, #available_categories a, #available_subrecipes a {
    color: #555;
    padding: 10px;
}
#available_ingredients td, #available_alternatives td, #available_components td, #available_categories td, #available_subrecipes td {
    padding: 0px !important;
    border: 1px solid #f0f0f0;
}

#available_components td {
    padding: 10px !important;
}
#available_components span {
    margin-right: 10px;
}

.calendar .calendar-container .view.month-view .tble .trow .tcell {
    overflow-x: hidden;
    overflow-y: auto;
}

.active-event { border: 1px solid red !important; }
/*
.event-title { position: relative; top: -3px; }
.event-title input { position: relative; top: 2px; }
*/
.event-title { font-size: 11px; }
.event-title span { background-color: #6d5cae; color: #fff; padding: 5px; }

#ordering-progress { display: none; }
select.form-control {
    -webkit-appearance: menulist;
}
#menu_header {
    border-bottom: 1px solid #2c2c2c;
    padding-bottom: 5px;
}

.datepicker td.old,
.datepicker td.new {
    color: #777777 !important;
}
.datepicker td.disabled {
    color: #e6e6e6 !important;
}
td.ordered-date, div.ordered-date {
    background-color: #3B4752 !important;
    color: #fff !important;
}
td.cart-date, div.cart-date {
    background-color: #6dc0f9 !important;
    color: #fff !important;
}
td.datepicker-selected-date, div.datepicker-selected-date {
    background-color: #6d5cae !important;
    color: #fff;
}
.datepicker td.old.active,
.datepicker td.new.active {
    color: #fff !important;
}

.datepicker table tr td,
.datepicker table tr th {
    border-radius: 0;
}

#legend {
    margin: 0 auto;
}

#legend div.box {
    width: 25px;
    height: 25px;
}

#legend div {
    margin-bottom: 10px;
}

#legend td {
    padding: 0px 5px;
    vertical-align: middle;
}

.calendar .calendar-container .view .tble .trow .tcell.disable,
.calendar .calendar-container .view.month-view .tble .trow .tcell.active.disable .cell-inner {
    background-color: #eee !important;
}
/*
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 992px) {
    .horizontal-menu .bar {
        margin-left: 180px;
    }
}

@media only screen and (min-width:980px) {
    .menu-pin .page-container .page-content-wrapper .content {
        padding-left: 0 !important;
    }

    .horizontal-menu .bar {
        margin-left: 180px;
    }
}
*/

table.infotable {
    width: 100%;
}
table.infotable td, table.infotable th {
    padding: 10px;
}
table.infotable th {
    vertical-align: top;
}
table.table-fixed {
    table-layout: fixed;
}

.list-group-item-heading {
    font-size: 18px !important;
}

.btn.btn-icon i {
    margin-right: 5px;
}

.row.menu {
    position: relative;
}

.row.menu .overlay {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #c1c1c1;
    opacity: 0.5;
}

.row.menu.disablered .overlay {
    display: block;
}

.menu_category.bulk {
    display: none;
}


.table-small {
    width: auto;
}
.table-small td {
    border: none !important;
}

body, p {
    font-size: 13px;
    line-height: 20px;
}

.clear { clear: both; }

@media (min-width: 1300px) {
  .modal-xl {
    width: 1200px;
  }
}

table.sheet {
    width: 100%;
}

table.sheet td {
    padding: 10px;
    vertical-align: top;
}

table.sheet tr.selectable td {
    cursor: pointer;
}

table.sheet td.check {
    width: 25px;
}

table.sheet td.label_type.hot {
    background-color: #FDDDDD !important;
}
table.sheet td.label_type.cold {
    background-color: #CFF5F2 !important;
}
table.sheet td.label_type.dry {
    background-color: #ECCA7D !important;
}

table.sheet td input {
    line-height: 15px;
    font-size: 12px;
}

.kbw-signature {
    display: inline-block;
    border: 1px solid #a0a0a0;
    -ms-touch-action: none;
    touch-action: none;
    position: relative;
}
.kbw-signature-disabled {
    opacity: 0.35;
}

.kbw-signature {
    width: 400px;
    height: 200px;
}

.kbw-signature a {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #fff;
    padding: 5px;
    z-index: 101;
    display: none;
}

table.sheet tr.selected td {
    background-color: #fef6dd !important;
}

#delivery_sheet {
    min-height: 500px;
}

#sheet_datepicker {
    border: 1px solid #eee;
    display: none;
    position: absolute;
    top: 50px;
    right: 20px;
    background-color: #fff;
    z-index: 101;
}

.route-panel .panel-heading {
    cursor: pointer;
}

.route-panel .panel-heading:hover {
    background-color: #eee;
}

.route-panel.minimized .panel-body {
    display: none;
}

.route-panel .panel-heading button {
    position: absolute;
    top: 9px;
    right: 9px;
    display: none;
}

textarea {
    resize: vertical;
}

.select2-results {
    max-height: 400px;
}

[data-formset-form-deleted] {
    display: none;
}

.order-row {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin: 0 -15px;
}
.order-separator {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.header__greenbag-badge__enabled {
    padding: 7px;
    background-color: #c4ffc4;
    font-weight: bold;
    font-size: large;
    color: #3b7b3b;
    border-radius: 8px;
}

.order_meal__vegan,
.order_meal__vegetarian {
    color: white;
    background-color: #008077;
}

.order-table__hotel-pan-badge {
    background-color: rgb(231, 235, 0);
}

.order-table__packaged-badge {
    background-color: rgb(243, 173, 239);
}

.order-table__bulk-badge {
    background-color: rgb(223, 221, 221);
}

.order-table__parent-order-badge {
    background-color: rgb(199, 206, 255);
}

.order-table__personal-delivery-badge {
    background-color: rgb(176, 227, 171);
}

.order-table__milk-badge {
	background-color: rgb(135, 219, 117);
}

.order__alternative-list {
    padding: 0;
    list-style-type: none;
}

.order__alternative-meal-details-wrapper {
    margin: 9px 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.order__alternative-meal-details,
.order__alternative-meal-details:hover,
.order__alternative-meal-details:active,
.order__alternative-meal-details:focus {
    font-size: 11.5px;
    line-height: 1em;
    padding: 1px 9px;
    color: #0077d5;
    background: transparent;
    border: 1px solid;
    border-radius: 1em;
}

.meal-details__component {
    padding: 0.2em 0.8em;
}

.text-success-dark {
	color: rgb(75, 162, 84);
}

.box__menu-item-category-header {
    margin: 0px;
}

.builder-box__package-separately-label {
    font-size: 8pt;
}

.inventory_details__error_badge {
    padding-left: 4px;
    font-size: 14px;
    line-height: 16px;
}

.menu_component_recipe__error_badge {
    font-size: 20px;
    line-height: 20px;
}

.color_picker_form_group {
    overflow: visible;
    padding-bottom: 1em;
}

.color_picker_input {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 16px;
    height: 35px;
    line-height: 35px;
    padding-left: 4px;
    margin-top: 0;
    width: 100%;
}

.organization_delivery_time_window_row {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 1em;
}

.organization_time_window_picker {
    display: inline-block;
    width: 10em;
}

.organization_time_window_separator {
    margin: 0 1em;
}

.clear_time_window_wrapper {
    display: inline-block;
    margin-left: 1em;
}

.clear_time_window {
    position: relative;
    top: -2px;
}

.available_transportation_boxes {
    width: 100%;
}

.label_blink {
  animation: highlight_and_blink_text 1.2s ease-in-out infinite;
}

@keyframes highlight_and_blink_text {
  0 % {
    color: inherit;
  }
  50% {
    color: #e78c50;
  }
  100% {
    color: inherit;
  }
}

.inventory_details__error_badge {
    padding-left: 4px;
    font-size: 14px;
    line-height: 16px;
}

.menu_component_recipe__error_badge {
    font-size: 20px;
    line-height: 20px;
}

.menu_component__inherited_food_trait_link {
    padding: 2px 4px;
    margin-right: 4px;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.review_billing_names_link {
    display: inline-block;
    margin-top: 0.4em;
    padding: 4px 8px;
    margin-right: 4px;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.available_transportation_boxes {
    width: 100%;
}

#menu_item_photo {
    width: 100%;
}

.menu-item-photo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

@media (min-width: 992px) {
    .menu-item-components-and-photo {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .panel-full-height {
        height: 100%;
    }

    .menu-item-components-column,
    .menu-item-photo-column {
        margin-bottom: 20px;
    }
}



.label_blink {
  animation: highlight_and_blink_text 1.2s ease-in-out infinite;
}

@keyframes highlight_and_blink_text {
  0 % {
    color: inherit;
  }
  50% {
    color: #e78c50;
  }
  100% {
    color: inherit;
  }
}

span.status-label {
    font-weight: bold;
}

#select_all_gb_menus {
    cursor: pointer;
}

.count-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.count-row {
    display: block;
}

.count-table-header {
    display: flex;
    gap: 10px;
    padding-right: 50px;
}

.count-table-column-location,
.count-row-location {
    flex-basis: 50%;
}

.count-table-column-lot,
.count-row-expiration-date {
    flex-grow: 1;
}

.count-table-column-quantity,
.count-row-quantity {
    flex-basis: 70px;
}

.count-row-expiration-date {
    display: flex;
}

.count-row-content {
    display: flex;
}

.count-row-content {
    display: flex;
    flex-wrap: wrap;
}

.count-row-content-inputs {
    display: flex;
    width: calc(100% - 40px);
    gap: 10px;
}

.count-row-action {
    margin-top: 10px;
    padding: 10px 15px !important;
    width: 40px;
}

.box-component-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
}

.btn-xxs {
    padding: 0px 4px;
}

.order-menu-item-photo-container {
    margin-left: 50px;
}

.order-menu-item-photo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #c1c1c1;
    border-radius: 10px;
    height: 100px;
    aspect-ratio: 4/3;
    margin: 10px 0;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 3;
    transition: all 0.3s ease-in-out;
}

.order-menu-item-photo-placeholder-wrapper:before {
    content: 'images coming soon!';
    position: absolute;
    display: block;
    text-align: center;
    font-size: 0.8em;
    line-height: 1em;
    bottom: 0.8em;
}

.order-menu-item-photo-present-wrapper:hover {
    scale: 2.5;
    border-width: 0.25px;
}

.order-menu-item-photo {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.order-menu-item-photo-placeholder {
    filter: grayscale(1);
    opacity: 0.5;
}


.purchase-order-form-row {
    display: flex;
    flex-wrap: wrap;
}

.purchase-order-form-row-item {
    flex-grow: 1;
}

.purchase-order-form-header {
    overflow-x: auto;
}

@media (max-width: 767px) or ((min-width: 992px) and (max-width: 1200px)) {
    .purchase-order-form-row {
        justify-content: space-between;
    }

    .purchase-order-form-row-item {
        flex-basis: 100%;
        margin-bottom: 10px;
    }

    .purchase-order-form-price-icon {
        border-left: none !important;
    }

    .purchase-order-form-row-remove-block {
        margin-top: 10px;
    }
}

@media (max-width: 420px) or ((min-width: 992px) and (max-width: 1200px)) {
    .purchase-order-form-quantity-and-price {
        margin-left: auto;
    }

    .purchase-order-form-row-remove-block {
        margin-left: auto;
    }
}

.purchase-order-recipients-table-wrapper {
    overflow-x: auto;
}

.transportation-boxes-capacities-header {
    position: sticky;
    top: 60px;
    z-index: 500;
    background-color: #fafafa;
    padding-top: 10px;
    padding-bottom: 10px;
}

.transportation-boxes-capacity-row {
    border-bottom: 1px solid rgba(98, 98, 98, 0.07);
}

.transportation-boxes-capacity-row:last-child {
    border-bottom: none;
}

.transportation-boxes-capacity-row:focus-within {
    background-color: #f0f0f0;
}

.transportation-boxes-capacity-photo {
    max-width: 120px;
    max-height: 100px;
}

.transportation-boxes-capacity-packaging-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.transportation-boxes-capacity-packaging-missing-image-placeholder {
    border: 1px solid;
    width: 120px;
    height: 80px;
    line-height: 80px;
}

.transportation-boxes-capacity-input-container {
    display: flex;
    align-items: center;
    min-height: 120px;
}
