/*     *** STYLE GUIDE ***
    -------------------------
    shocking pink: #EE2D82
    mid grey: #888B8D
    light grey: #E6E7E9
    lighter grey: #F6F7F9
    header grey: #E6E7E9
    light pink: #FFE7F6
    light blue: #E6E8FF
    icon blue: #B8C9DD
    icon pink: #F7A4D7
    navy blue: #2A2D30
    input border: 1px solid #BCC7E4
    input height: 50px
    input border radius: 14px
    light green: #81B622
*/

* {
    font-family: 'Nunito';
}

nav {
    height: 80px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

#header_logo {
    height: 50px;
    width: 50px;
    cursor: pointer;
}

#title {
    font-family: 'Spectral';
    color: #2A2D30;
}

.edit-icon, .delete-icon, .archive-icon, .updates-icon, .menu-icon, .key-required-icon,
.reset-icon, .user-icon, .adjust-icon, .items-icon, .pickslip-icon,
.summary-icon, .date-arrow, .notes-icon, .vertical-drag-icon, .summary-icon, .no-back-icon,
.movements-icon, .menus-icon, .print-icon, .locations-icon, .equipment-icon, .messages-icon,
.add-message-icon, .accept-icon, .reject-icon, .stations-icon, .details-icon {
    color: #B8C9DD;
	font-size: 24px;
}

.skip-note-val, .clickable-cell {
	cursor: pointer;
}

.day-icon {
	color: #888B8D;
    font-size: 24px;
}

.schedule-day-val {
	cursor: pointer;
}

.add-standing-order {
	cursor: pointer;
}

.add-standing-order:hover {
	font-weight: bold;
}

.archived-item {
    color: red !important;
}

.clickable-icon, td.clickable {
    cursor: pointer;
}

.clickable-icon:hover, td.clickable:hover {
    color: #F7A4D7;
}

td.clickable:hover {
    font-style: italic;
}

td.light-pink {
    background-color: #FFE7F6 !important;
}

/* loader located in the middle of the screen above everything */
.primary-loader {
    opacity: 0.75;
    position: fixed;
    z-index: 100;
    top: 40%;
    left: 45%;
    border: 18px solid #E3E3E3; /* Light grey */
    border-top: 18px solid #EE2D82; /* Blue */
    border-radius: 50%;
    width: 180px;
    height: 180px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.accept-icon:hover {
    color: #81B622;
}

/*//////////////////////////////
\\                            //
//         CONTAINERS         \\
\\                            //
//////////////////////////////*/

#content {
    background-color: #F6F7F9;
    min-height: calc(100vh - 80px);
    padding: 20px;
}

#main_table, #updates_table, #summary_table {
    border-radius: 10px;
    border: 2px solid #E2E6F1;
}

#updates_table_wrapper {
    width: 95%;
}

#updates_table thead {
    display: none;
}

#button_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

#button_box input {
    border-radius: 10px;
    border: 2px solid #E2E6F1;
    height: 50px;
    width: 400px;
    padding-left: 20px;
}

#center_box {
	display: flex;
    justify-content: center;
    align-items: center;
	margin-bottom: 18px;
	margin-top: -24px;
}

#totals_box {
	display: flex;
    justify-content: center;
    align-items: center;
	margin-bottom: 24px;
}

#center_box h5 {
	text-align: center;
}

#gpt_output_box {
    background-color: #E6E7E9;
    min-height: 125px;
    border-radius: 10px;
}

/*//////////////////////////////
\\                            //
//           BUTTONS          \\
\\                            //
//////////////////////////////*/

.btn-main {
    color: '#FFFFFF';
    background-color: #EE2D82;
    border-color: #EE2D82;
    height: 50px;
    border-radius: 10px;
}

.btn-main:hover {
    color: '#FFFFFF';
    background-color: #F7A4D7;
    border-color: #F7A4D7;
}

.btn-second {
    color: '#FFFFFF';
    background-color: #888B8D;
    border-color: #888B8D;
    height: 50px;
    border-radius: 10px;
}

.btn-second:hover {
    color: '#2A2D30';
    background-color: #B8C9DD;
    border-color: #B8C9DD;
}

.btn-green {
    color: '#FFFFFF';
    background-color: #81B622;
    border-color: #81B622;
    height: 50px;
    border-radius: 10px;
}

.btn-green:hover {
    color: '#FFFFFF';
    background-color: #A8D36C;
    border-color: #A8D36C;
}

.toggle-icon {
    cursor: pointer;
}

/*//////////////////////////////
\\                            //
//             TEXT           \\
\\                            //
//////////////////////////////*/

.text-pink {
    color: #EE2D82;
}

.clickable-text:hover {
    cursor: pointer;
    color: #EE2D82;
    font-style: italic;
}

.update-text {
    color: #888B8D;
    font-size: 14px;
}

/*//////////////////////////////
\\                            //
//         SWEETALERT2        \\
\\                            //
//////////////////////////////*/

.swal2-label {
    font-size: 20px;
}

.swal2-input, .swal2-select {
    margin-bottom: 24px;
}

.account-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
}

/*//////////////////////////////
\\                            //
//         JQUERY UI          \\
\\                            //
//////////////////////////////*/

.ui-autocomplete {
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
	background-color: #FFFFFF;
	max-width: 400px;
}

.ui-menu-item-wrapper {
	padding: 12px;
}

/*//////////////////////////////
\\                            //
//         DATATABLES         \\
\\                            //
//////////////////////////////*/

#button_box {
	display: flex;
	justify-content: space-between;
	padding-top: 12px;
	padding-bottom: 12px;
}

.dt-search {
	width: 400px !important;
}

.dt-search label {
	display: none;
}

td {
	padding: 0.5rem;
}

.dt-buttons {
	width: auto;
}

#main_table thead {
    position: sticky;
    top: 0;
}

.dataTables_empty {
    text-align: center;
}

table {
    border-collapse: collapse !important;
    width: 100% !important;
}

#button_box > div.dt-buttons.btn-group.flex-wrap > div > div.dt-button-collection > div > a.active {
    background-color: #EE2D82 !important;
    border-color: #EE2D82 !important;
}

#main_table_paginate > ul > li.paginate_button.page-item.active > a {
    background-color: #EE2D82 !important;
    border-color: #EE2D82 !important;
}

#totals_box, #stats_box {
    display: flex;
    align-items: center;
}

#totals_box h4, #stats_box h4 {
    margin-left: 20px;
    margin-right: 20px;
    color: #888B8D;
    margin-bottom: 0px;
}

#totals_box h4 {
    font-size: 20px;
}

#totals_box h4 span, #stats_box h4 span {
    color: #EE2D82;
}

#updates_table_info {
    text-align: left;
}

.child-table th, .locations-table th {
    background-color: #FFE7F6;
}

.production-inventory-val {
    text-align: center;
    cursor: pointer;
}

/*//////////////////////////////
\\                            //
//         TABLE ROWS         \\
\\                            //
//////////////////////////////*/

.insufficient-row td {
    /* opaque light pink background */
    background-color: rgba(247, 164, 215, 0.25) !important;
}

.sufficient-row td {
    background-color: rgba(168, 211, 108, 0.25) !important;
}

.keg-row td {
    background-color: rgba(155, 0, 155, 0.25) !important;
}

.warning-row td {
    /* caution orange */
    background-color: rgba(255, 153, 0, 0.25) !important;
}

.partial-row td {
    /* yellow */
    background-color: rgba(255, 255, 0, 0.25) !important;
}

.off-menu-row td {
    /* light grey */
    background-color: rgba(211, 211, 211, 0.25) !important;
}

/*//////////////////////////////
\\                            //
//         TABLE CELLS        \\
\\                            //
//////////////////////////////*/

thead {
    height: 60px;
    background-color: #E6E7E9;
    border-bottom: 3px solid #F6F7F9;
}

td {
    vertical-align: middle;
    height: 60px;
    background-color: #FFFFFF !important;
    border-bottom: 3px solid #F6F7F9 !important;
}

th {
    vertical-align: middle;
}

td:first-child, th:first-child {
    padding-left: 20px;
}

.dblclickable {
    cursor: pointer;
}

.table-border-right {
    border-right: 2px solid #E2E6F1;
}

td.table-order-val {
    background-color: #FFE7F6 !important;
    text-align: center;
    max-width: 100px;
    cursor: move;
}

#updates_table td {
    text-align: left;
}

/*//////////////////////////////
\\                            //
//           SWIPER           \\
\\                            //
//////////////////////////////*/

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-container {
    padding: 20px 20px 40px 20px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    color: #EE2D82;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
}

/*//////////////////////////////
\\                            //
//           OTHER            \\
\\                            //
//////////////////////////////*/

.product-order-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px;
    border: 1px solid rgba(238, 45, 130, 0.5);
    background-color: rgba(136, 139, 141, 0.05);
    border-radius: 10px;
    padding: 10px;
    height: 50px;
}

.grabable {
    cursor: grab;
}

.product-order-box .pick-order-value {
    width: 15%;
}

.product-order-box p {
    margin-bottom: 0px;
}

.product-order-box .product-value {
    width: 40%;
}

.product-order-box .units-per-case-value {
    width: 15%;
}

.product-order-box .type-value {
    width: 15%;
}

.product-order-box .sub-type-value {
    width: 15%;
}