:root {
  --header-height: 67px;
  --decoview-lightblue: #1aa6df;
  --decoview-darkblue: #103052;
    --nav-width: 50px;
    
--info-panel-width: 400px;
--info-panel-closed: 0;
--info-panel-offset: calc(var(--info-panel-width) - (var(--info-panel-width) * var(--info-panel-closed)));

}

.web-order-status {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 16px;
    display: inline-block;
    background-color: #d9d9d9; /* default */
}

.web-order-status:not(button)::after {
    content: attr(data-order-status);
}

.web-order-status-new {
    background-color: #FFC107;
}

.web-order-status-processing {
    background-color: #98e6f0;
}

.web-order-status-completed {
    background-color: #99f289;
}

.web-order-status-cancelled {
    background-color: #e39e9e;
}


/* Outer wrapper styles */
.table-component {
    position: relative;
    padding: 0.5rem;        /* space for scrollbars */
    width: 100%;
    box-sizing: border-box;
    background-color: #fff; /* optional, already added in class */
}

/* Scrollable inner wrapper */
.table-component .table-scroll-wrapper {
    overflow-x: auto;
    overflow-y: auto;       /* optional vertical scroll */
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* Remove bottom border on last row */
.table-component table tbody tr:last-child td {
    border-bottom: 0;
}

form.was-validated div.is-invalid .invalid-feedback {
    display: block;
}

.onhover-shadow:hover {
    box-shadow: 0 0.5rem 1rem 0 rgb(0 0 0 / 15%);
}

[data-img-uploader] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[data-img-uploader] .img-drop-zone {
    height: 100px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    transition: background-color 0.3s;
    cursor: pointer;
}

[data-img-uploader] .img-drop-zone.dragover {
    background-color: #e9f5ff;
    border-color: #007bff;
}

[data-img-uploader] .img-drop-zone p {
    margin: 0;
}

[data-img-uploader] .browse-label {
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
}



.half-fade {
    opacity: 0.5;
}

#fileInfo_tags.disabled button.badge {
    display: none;
}

#fileInfo_AddTag.disabled {
    display: none;
}

.pd-05 {
    padding: 0.125rem;
}

.form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"], .was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"], .was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size="1"] {
    background-position: right 2.25rem center, center right 0.75rem!important;
}


    .no-event-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      cursor: grabbing;
      z-index: 9999;
      pointer-events: all;
    }

@keyframes ring {
  0% { color:green; transform: rotate(0); }
  5% { transform: rotate(30deg); }
  10% { color:red; transform: rotate(-28deg); }
  15% { transform: rotate(34deg); }
  20% { color:green; transform: rotate(-32deg); }
  25% { transform: rotate(30deg); }
  30% { color:red; transform: rotate(-28deg); }
  35% { transform: rotate(26deg); }
  40% { color:green; transform: rotate(-24deg); }
  45% { transform: rotate(22deg); }
  50% { color:red; transform: rotate(-20deg); }
  55% { transform: rotate(18deg); }
  60% { color:green; transform: rotate(-16deg); }
  65% { transform: rotate(14deg); }
  70% { color:red; transform: rotate(-12deg); }
  75% { transform: rotate(10deg); }
  80% { color:green; transform: rotate(-8deg); }
  85% { transform: rotate(6deg); }
  90% { color:red; transform: rotate(-4deg); }
  95% { transform: rotate(2deg); }
  100% { color:green; transform: rotate(-1deg); }
}

@keyframes blinkingLight{
		0%		{ color: green;}
		50%		{ color: red;}
		100%		{ color: green;}
	}

#userList i {
    color: green;
}

#userList .calling i {
    display:inline-block;
    animation: ring 3s .7s ease-in-out infinite;
}

#userList .on-call i {
    color: red;
}

#offCanvasFilter .offcanvas-body > div:not(.hide) {
    border-top: 1px solid #dee2e6;
}

.blur-load.not-loaded::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  border: 4px solid #ccc;
  border-top-color: #333;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


.blur-load {
    position: relative;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
     align-items: center;
    justify-content: center;
}

.blur-load img {
    opacity: 0;
}

.blur-load.not-loaded img {
    transition: opacity .5s ease;
}

.blur-load.not-loaded::before {
    content: "";
    position: absolute;
    inset: 0;
    animation: pulse 2s infinite;
    background-color: gray
}

.blur-load.loaded::before, .blur-load.loaded::after {
    content: none
}

@keyframes pulse {
    0% {
        opacity: 0
    }

    50% {
        opacity: .25
    }

    100% {
        opacity: 0
    }
}

.gallery-item.loading::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid #ccc;
    border-top-color: #333;
    animation: spin 1s infinite linear;
}

.gallery-item.pending::after {
    content: 'Pending...';
    position: absolute;
    top: 50%;
    left: 50%;
    color: #737373;
    translate: -50% -50%;
    font-size: 1rem;
}

#galleryModal .menu-item-close-btn, #galleryModal .menu-item-btn {
    position: absolute;
    top: 0;
    line-height: 1;
    cursor: pointer;
        display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 1.5rem;
}


#galleryModal .menu-item-close-btn {
    left: 0;
}

#galleryModal .menu-item-btn {
    right: var(--info-panel-offset);
    transition: right 0.5s;
}

.info-panel .info-panel-close {
    cursor: pointer;
}

.menu-item-btn {
    cursor: pointer;
}

#galleryModal .info-panel {
    height: 100%;
    width: var(--info-panel-width);
    transition: translate 0.5s;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #ffffff;
    translate: calc(100% * var(--info-panel-closed));
}

#galleryModal .custom-content {
    height: 100%;
    margin-right: var(--info-panel-offset);
    transition: margin-right 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

@media (max-width: 600px) {
    #galleryModal .info-panel {
         width: 100vw;
    }
}

.blur-load.loaded img {
    opacity: 1
}

.gallery-item .videoOverlay {
    font-size: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
}

.dropdown-item .only-when-selected {
    opacity: 0;
}

.dropdown-item.selected .only-when-selected {
    opacity: 1;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gallery-item {
position: relative;
  flex-grow: 1;
  min-width: 100px;
  height: 200px;
  overflow: hidden;
}



.gallery-item img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.gallery-item video {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-item .overlay:hover {
    box-shadow: inset 0px 0px 40px 0;
    cursor: pointer;
}

table.no-wrap th, table.no-wrap td{
    overflow-x: clip;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-fit {
 width: -moz-fit-content;
 width: fit-content;
}

table tbody tr.completed {
    display: table-row;
}

table.hide-completed th.order-status, table.hide-completed tbody td.message {
    display: none;
}

table.hide-completed tbody tr.completed {
    display: none;
}

table th i.bi-sort-down {
    display: none;
}

table th i.bi-sort-up {
    display: inline-block;
    opacity: 0;
}

table th.sort-desc i.bi-sort-down {
    display: inline-block;
}

table th.sort-desc i.bi-sort-up {
    display: none;
}

table th.sort-asc i.bi-sort-up {
    display: inline-block;
    opacity: 1;
}

table th.sortable {
    cursor: pointer;
}

#showroomSections a i.bi-door-open, #showroomSections a i.bi-water {
    display: inline-block;
    opacity: 0;
}

#showroomSections a[data-door-dist-status="1"] i.bi-door-open, #showroomSections a[data-pool-dist-status="1"] i.bi-water {
    opacity: 1;
    color: #198754;
}

#showroomSections a[data-door-dist-status="2"] i.bi-door-open, #showroomSections a[data-pool-dist-status="2"] i.bi-water {
     opacity: 1;
    color: #ffc107;
}

#showroomSections a[data-door-dist-status="3"] i.bi-door-open, #showroomSections a[data-pool-dist-status="3"] i.bi-water {
     opacity: 1;
    color: #dc3545;
}

#postcodeNotice.loading div:not(.spinner-border), #postcodeNotice:not(.loading) small {
    display: block;
}

#postcodeNotice:not(.loading) div:not(.spinner-border), #postcodeNotice.loading small {
    display: none;    
}

#followUpSectionBody-overdue .own-followup {
    border-left: 5px solid #dc3545;
}

#followUpSectionBody-dueToday .own-followup {
    border-left: 5px solid #198754;
}

#followUpSectionBody-comingup .own-followup {
    border-left: 5px solid #0d6efd;
}

.pac-container {
    z-index: 1100;
}

.tags-exist:not(.editing) a[data-tag-delete] {
    display: none;
}

[id^="tooltip"][data-popper-reference-hidden] {
    pointer-events: none;
    visibility: hidden;
    position: fixed!important;
}

img[src^="https://decoview.app/access/fileaccess.php?"] {
    max-width: 100%;
    max-height: 100%;
}

.dropzone {
    touch-action: none; 
}

.h-0 {
    height: 0;
}


.only-show-when-editing {
    display: none;
}

.dont-show-when-editing {
    display: block;
}

.editing .dont-show-when-editing {
    display: none;
}

.editing .only-show-when-editing {
    display: block;
}

body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.form-control[data-current-person-id="0"] {
    border-color: #0d6efd;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230d6efd' class='bi bi-person-plus' viewBox='0 0 16 16'%3E%3Cpath d='M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H1s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C9.516 10.68 8.289 10 6 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z'/%3E%3Cpath fill-rule='evenodd' d='M13.5 5a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V8h-1.5a.5.5 0 0 1 0-1H13V5.5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-control[data-current-person-id]:not([data-current-person-id="0"]) {
    border-color: #198754;
    padding-right: calc(1.5em + .75rem);
   	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23198754' class='bi bi-person-check' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 16a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm1.679-4.493-1.335 2.226a.75.75 0 0 1-1.174.144l-.774-.773a.5.5 0 0 1 .708-.708l.547.548 1.17-1.951a.5.5 0 1 1 .858.514ZM11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM8 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z'/%3E%3Cpath d='M8.256 14a4.474 4.474 0 0 1-.229-1.004H3c.001-.246.154-.986.832-1.664C4.484 10.68 5.711 10 8 10c.26 0 .507.009.74.025.226-.341.496-.65.804-.918C9.077 9.038 8.564 9 8 9c-5 0-6 3-6 4s1 1 1 1h5.256Z'/%3E%3C/svg%3E");
   	background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.link-alt {
    color: #6c757d;
}

.link-alt:hover {
    color: #0d6efd;
}

.link-secondary:hover {
    background-color: #f9f9f9;
    color: black;
}

.link-danger:hover {
    background-color: #dc3545;
    color: white;
}

.material-symbols-outlined {
    vertical-align: bottom;
}

input.drag-n-drop {
    display: none;    
}

div.drag-n-drop {
    background-color: #f9f9f9;
    border: #ccc 4px dashed;
    padding: 12px;
    font-size: 24px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

div.drag-n-drop input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}



.js-upload #drag_drop, #drag_drop_disabled{
    background-color : #f9f9f9;
    border : #ccc 4px dashed;
    padding : 12px;
    font-size : 24px;
    text-align : center;
    position: relative;
}

.js-upload .preview-img {
  max-width: 100px;
  max-height: 50px;
}

.preview-img {
    max-width: 100px;
    max-height: 50px;
}

.js-upload .imgbox {
  width: 100px!important;
  max-width: 30vw;
}

.js-upload .box__file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.js-upload .box.has-advanced-upload .box__icon {
    width: 100%;
    height: 80px;
    fill: #92b0b3;
    display: block;
}

.js-upload .box__file + label {
    max-width: 80%;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
}

.js-upload .box__file + label:hover strong, .box__file:focus + label strong, .box__file.has-focus + label strong {
    color: #39bfd3;
}

.js-upload .clickable {
  cursor: pointer;
}

.js-upload .not-clickable {
  cursor: not-allowed;
}

.js-upload #text{
  position: relative;
  top: 50%;
  left: 50%;
  font-size: 10px;
  color: white;
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}


.crm-modal-header {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 1rem 1rem;
    flex-direction: column;
}

.crm-info-footer button {
    max-width: 100%;
}

.nav-and-body {
    padding-left: var(--nav-width);
}

.crm-btn-group {
    position: relative;    
}

input[placeholder='State'] {
    text-transform: uppercase;
}

.dropdown .form-control:not(.form-select) {
    background-image: url(https://decoview.app/images/icons/expand.svg);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 22px 24px;
    padding-right: 30px;
}


.crm-btn-group button[data-delete-item] {
    position: absolute;
    top: 0;
    right: 0;
    line-height: 1;
    border-radius: 50%;
}

.crm-info-section .disabled {
    pointer-events: none;
}

.disabled {
    pointer-events: none;
    opacity: .65;
}

.crm-info-section.loading {
    cursor: progress;
}

.crm-data-group button.form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
    padding-top: 1.625rem;
    padding-bottom: .625rem;
    position: relative;
}

.crm-data-group button.form-select .label {
    font-size: 80%;
    color: #6c757d;
    text-transform: capitalize;
    opacity: .65;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
    position: absolute;
    opacity: 0.65;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem .75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out,transform .1s ease-in-out;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.crm-info-section {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: white;
    margin-bottom: 16px;
}

.crm-info-header {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
}

.crm-info-header div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.crm-info-section .crm-data-group, .crm-info-footer {
    border-top: 1px solid #dee2e6;
}

.div-invalid {
    border-color: #dc3545!important;
    box-shadow: 0 0 0.5rem 0 #dc3545;
}

.crm-label {
    text-transform: capitalize;
    font-size: small;
    padding-top: 5px;
    color: #6c757d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.crm-data {
    font-size: large;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


button.accordion-button, button.accordion-button:not(.collapsed) {
    background-color: #f7f7f7;
    color: #212529;
}

button.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    color: black;
}


.search-list-popup {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    background-color: #f8f9fa;
    box-shadow: 0 0 5px black;
    max-width: calc(100% - 24px);
    max-height: 200px;
    overflow-y: auto;
    z-index: 99;
    color: #6c757d;
}

.business-name-list:hover {
    background-color: lightgrey;
    color: white;
    cursor: pointer;
}

.business-name-list b {
    pointer-events: none;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    padding-top: var(--header-height);
    background-color: white;
    border-right: 1px solid #dee2e6;
    display: flex;
    justify-content: center;
    width: var(--nav-width);
}

.info-header {
    text-transform: uppercase;
    grid-column: 1/-1;
    margin-top: 16px;
    background-color: #9aa7bd;
    color: white;
}

.task {
    margin-top: 0.125rem;
    margin-bottom: 0.125rem;
}

.dragging {
    opacity: 0.3;
}
.task.dragging .main-task {
    box-shadow: 2px 2px 2px 0;
}


.main-task {
border: 1px solid #dee2e6;
    font-size: 1rem;
    height: 38px;
    line-height: 38px;
    display: flex;
    background-color: #ffffff;
}

.sub-task {
    border-bottom: 1px solid;
    border-left: 1px solid;
    border-right: 1px solid;
    font-size: 1rem;
    padding: 0.5rem;
    padding-left: 2rem;
    box-shadow: inset 0px 20px 6px -20px;
}

.thin-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.thin-scrollbar::-webkit-scrollbar-thumb {
    background-color: #a1a1a1;
    border-radius: 4px;
}

.thin-scrollbar::-webkit-scrollbar-corner {
    background-color: #dee2e6;;
}

.thin-scrollbar::-webkit-scrollbar-track-piece {
    background-color: #efefef;
}

.table-component.thin-scrollbar::-webkit-scrollbar-track-piece {
    background-color: unset;
}

.table-component .table {
    cursor: pointer;
}

.thin-scrollbar {
    border-radius: 5px;
}

.light-theme {
    background-color: white;
    color: black;
}

.dark-theme {
    background-color: black;
    color: white;
}

.form-floating .select-label {
    opacity: 100%!important;
    transform: scale(1)!important;
}

table thead.sticky {
    position: sticky;
    top: 0;
}


table.table-sticky {
  white-space: nowrap;
  margin: 0;
  border: none;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

table.table-sticky td,
table.table-sticky th {
    padding: 0;
}

table.table-sticky thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 150px;
  background: white;
  border-right: 1px solid #dee2e6;
}

table.table-sticky thead th:last-child {
  border-right: none;
}

table.table-sticky td {
  background: #fff;
  padding: 4px 5px;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

table.table-sticky.centered td {
  text-align: center;
}

table.table-sticky tbody th {
  font-weight: 100;
  text-align: left;
  position: relative;
  border-bottom: 1px solid #dee2e6;
}

table.table-sticky tbody tr:last-child td, table.table-sticky tbody tr:last-child th {
    border-bottom: none;
}

table.table-sticky tbody tr td:last-child {
    border-right: none;
}

table.table-sticky tbody th div {
    padding: 4px 5px;
}

table.table-sticky thead th div {
    border-bottom: 1px solid #dee2e6;
    padding: 4px 5px;
}

table.table-sticky thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  width: 250px;
}
table.table-sticky tbody th {
  position: sticky;
  left: 0;
  background: white;
  z-index: 1;
}


table.table-sticky thead th:first-child::after {
    content: "";
}


table thead th .resize-w {
    position: absolute;
    top: 0;
    right: -5px;
    bottom: 0;
    opacity: 1;
    padding-left: 5px;
    padding-right: 5px;
    cursor: col-resize;
    margin-right: 5px;
}

table thead th .resize-w div {
    width: 1px;
    height: 100%;
    background-color: #dee2e6;
}

table.resizable-coloumns thead th {
    position: relative;
}

table.resizable-coloumns thead tr {
    border-left: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}


.form-floating select:not(:empty)~.select-label {
    opacity: .65;
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
}

#offcanvasPO, #offcanvasRight {
    min-width: -moz-fit-content;
    min-width: fit-content;
}


#offcanvasPO .offcanvas-body, #offcanvasRight .offcanvas-body {
    max-width: 100vw;
}

#offcanvasPO form, #offcanvasRight form {
    min-width: 250px;
}

.form-floating>div.form-control:not(:empty)~label {
    opacity: .65;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.form-floating>div.form-control:empty:not(:focus)~label {
    opacity: 1;
    transform: scale(1);
   font-size: 80%;
    color: #6c757d;
    text-transform: capitalize;
}

#offcanvasPO .po-grid {
    display: grid;
    grid-template-columns: repeat(7, 100px);
}

#offcanvasPO .po-grid div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}

#offcanvasPO input.form-control:focus {
    box-shadow: inset 0 0 0.25rem 0 #86b7fe;
}

#offcanvasPO .po-grid input[type='number']::-webkit-inner-spin-button, 
#offcanvasPO .po-grid input[type='number']::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    margin: 0;
}

#offcanvasPO .po-grid .title {
    font-size: smaller;
    color: #6c757d;
    padding-left: 10px;
    padding-right: 10px;
}

#data-sheets-grid {
    display: grid;
    grid-gap: 2px;
    grid-template-columns: repeat(8, auto);
}

#data-sheets-grid .blank {
    grid-column: 1 / -1;
    margin-top: 20px;
}

#data-sheets-grid .blank:last-child {
    margin-top: 0px;
}

#data-sheets-grid .location {
    color: #1aa6df;
    font-size: 1.5rem;
}
#data-sheets-grid .focused-Btn {
    box-shadow: 0 0 3px 0;
}

#data-sheets-grid .columns {
    color: #6c757d;
    display: flex;
    justify-content: center;
    align-items: end;
    font-size: smaller;
    font-weight: 400;
    padding-right: 10px;
    padding-left: 10px;
    white-space: nowrap;
}

#data-sheets-grid .data {
    background-color: #f4f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
}

#data-sheets-grid .data-btn {
    cursor: pointer;
}
#data-sheets-grid .data-btn:hover {
    background-color: rgb(250 250 250);
    box-shadow: 0 0 2px 0;
}

#offcanvasPO .po-grid .input {
    border: 1px solid lightgray;
        display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;

}

#offcanvasPO .po-grid .input-disabled {
    background-color: #f7f4f4;
}


.hide {
    display: none!important;
}

.dropup .dropdown-menu {
    top: 0;
    left: 0;
    transform: translateY(-100%);
    box-shadow: 0 -0.2rem 1rem #00000026!important;
}


button.dropdown-item:hover i {
    color: #007ca6;
}

.dropdown-menu li[disabled] {
    cursor: default;
}

.hamburger-menu-primary:hover {
    color: #0d6efd;
    text-shadow: 0 0 3px #ffffff;
}

.hamburger-menu-secondary:hover {
    color: #ffffff;
    text-shadow: 0 0 3px #ffffff;
}

.hamburger-menu {
    background-color: transparent;
    color: inherit;
    border: 0;
}

.hamburger-menu {
    background-color: transparent;
    color: inherit;
    border: 0;
}

.order-status-btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.order-status-btn:focus {
    box-shadow: 0 0 0.25rem 0 rgb(108 117 125 / 50%);
}



.order-status-badge {
    background-color: #0000000f;
    color: #6c757d;
    border: 0.5px solid #9f9f9f;
}



a[data-order-status="1"] {
    background-color: #e6e6e6;
    color: #6c757d;
    border: 1px solid #6c757d;
}

a[data-order-status="1"]:hover {
    background-color: #dcdcdc;
    color: #6c757d;
}

a[data-order-status="1"]:focus {
    box-shadow: 0 0 0.25rem 0 rgb(108 117 125 / 50%);
}

a[data-order-status] {
    color: #6c757d;
    border: 1px solid #6c757d;
}

a[data-order-status]:hover {
    box-shadow: 0 0 0.25rem 0 rgb(108 117 125 / 50%);
}

a[data-order-status="2"] {
    background-color: #e6f0fa;
    color: #6c757d;
    border: 1px solid #6c757d;
}

a[data-order-status="2"]:hover {
    background-color: #d2f0fa;
    color: #6c757d;
}

a[data-order-status="2"]:focus {
    box-shadow: 0 0 0.25rem 0 rgb(108 117 125 / 50%);
}



a[data-order-status="3"] {
    background-color: #c8c8fa;
    color: #6c757d;
    border: 1px solid #6c757d;
}

a[data-order-status="3"]:hover {
    background-color: #b4b4fa;
    color: #6c757d;
}

a[data-order-status="3"]:focus {
    box-shadow: 0 0 0.25rem 0 rgb(108 117 125 / 50%);
}


a[data-order-status="4"] {
    background-color: #f0f0ff;
    color: #6c757d;
    border: 1px solid #6c757d;
}

a[data-order-status="4"]:hover {
    background-color: #dcdcfa;
    color: #6c757d;
}

a[data-order-status="4"]:focus {
    box-shadow: 0 0 0.25rem 0 rgb(108 117 125 / 50%);
}



a[data-order-status="5"] {
    background-color: #c8fac8;
    color: #6c757d;
    border: 1px solid #6c757d;
}

a[data-order-status="5"]:hover {
    background-color: #92fb92;
    color: #6c757d;
}

a[data-order-status="5"]:focus {
    box-shadow: 0 0 0.25rem 0 rgb(108 117 125 / 50%);
}



a[data-order-status="6"] {
    background-color: #dcdcdcb8;
    color: #6c757d;
    border: 1px solid #6c757d;
}

a[data-order-status="6"]:hover {
    background-color: #f8f8f8;
    color: #6c757d;
}

a[data-order-status="6"]:focus {
    box-shadow: 0 0 0.25rem 0 rgb(108 117 125 / 50%);
}

a[data-secondarystatus-badge="0"] .order-secondaryStatus-badge {
    display: none;
}

a[data-secondarystatus-badge="11"] .order-secondaryStatus-badge {
    display: none;
}

a[data-secondarystatus-badge] .order-secondaryStatus-badge {
   color: #d71414;
   border: 1px solid #d71414;
}

a[data-secondarystatus-badge="3"] .order-secondaryStatus-badge {
   color: #008000;
   border: 1px solid #008000;
}

.comment-window .no-comments {
    display: block;
}

.comment-window.comments-exist .no-comments {
    display: none;
}

.tag-window .no-tags {
    display: block;
}

.tag-window.tags-exist .no-tags {
    display: none;
}


.placeholder-text {
    color: #6c757d!important;
}


a[data-status3-badge="0"] .order-status3-badge {
    display: none;
}

a[data-status3-badge="3"] .order-status3-badge {
    display: none;
}

a[data-status3-badge] .order-status3-badge {
   color: #d75900;
   border: 1px solid #d75900;
}

a[data-status3-badge="11"] .order-status3-badge {
   color: #008000;
   border: 1px solid #008000;
}

a[data-status4-badge="0"] .order-status4-badge {
    display: none;
}

a[data-status4-badge="1"] .order-status4-badge {
    display: none;
}

a[data-status4-badge] .order-status4-badge {
    background-color: #ff0000;
    font-weight: bold;
   color: #ffffff;
   border: 1px solid #ff0000;
   text-transform: uppercase;
}



.form-floating {
    padding-bottom: 2px;
    padding-top: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.form-floating .label {
    font-size: 80%;
    color: #6c757d;
    text-transform: capitalize;
}

.text-lightgray {
    color: lightgray;
}

input:required:not(.hide-required) ~ label::before {
    content: '* ';
    color: #ff0000;
    /* font-size: 150%; */
    /* vertical-align: top; */
}

textarea:required:not(.hide-required) ~ label::before {
    content: '* ';
    color: #ff0000;
    /* font-size: 150%; */
    /* vertical-align: top; */
}

select:required:not(.hide-required) ~ label::before {
    content: '* ';
    color: #ff0000;
    /* font-size: 150%; */
    /* vertical-align: top; */
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tag-added div::after {
    content: ' (Already Added)';
    display: inline;
    font-size: 0.75em;
    font-style: italic;
}

#data-sheets-grid .status {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
}

#data-sheets-grid .timeToOrder {
    background-color: red;
    color: white;
}

#data-sheets-grid .timeToOrder::before {
    content: 'Order';
}

#data-sheets-grid .timeToOrder::after {
    content: 'Now';
}

#data-sheets-grid .onOrder {
    background-color: #9800ff;
    color: white;
}

#data-sheets-grid .onOrder::after {
    content: 'On Order';
}

#data-sheets-grid .sufficentStock {
    background-color: #1aa6df;
    color: white;
}

#data-sheets-grid .sufficentStock::after {
    content: 'Sufficient';
}

#data-sheets-grid .healthy {
    background-color: #198754;
    color: white;
}

#data-sheets-grid .healthy::after {
    content: 'Healthy';
}

.no-wrap, .no-wrap-items div:not(.dropdown, [data-person-comments], [data-comments]) {
    overflow-x: clip;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.incorrect {
    animation: shake 0.15s;
    animation-iteration-count: 2;
    box-shadow: inset 0 0 10px 0 red;
    border: 1px solid red;
}

.shake {
    animation: shake 0.15s;
    animation-iteration-count: 2;
}

.gradient {
  font-family: sans-serif;
  background: linear-gradient(210deg, #ffffff, #1d3c5f) fixed;
}

.gradient-moving {
    background: linear-gradient(-45deg, #22ceb6 0%, #227fce 35%, #2278ce00 100%);
    background-size: 400vmax 800vmax;
    animation: gradient 15s ease infinite;
    height: 100vh;
}

.fade-out-gradient {
    background: rbg(255 255 255 / 100%);;
    animation-name: fade-out-gradient;
    animation-duration: 2s;
    animation-timing-function: ease-in;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes fade-out-gradient {
  from {background: rbg(255 255 255 / 0%);}
  to {background: rbg(255 255 255 / 100%);}
}

.alert-title {
  font-size: 1.25rem;
}

@keyframes fade-in {
  from {opacity: 0;}
  to {opacity: 100;}
}

@keyframes fade-out {
  from {opacity: 100;}
  to {opacity: 0;}
}

.fade-out {
  opacity: 0%;
  animation-name: fade-out;
  animation-duration: 0.5s;
  animation-timing-function: ease-in;
}

@keyframes perspective {
  from {perspective: 100000px;}
  to {perspective: 2000px;}
}

@keyframes perspective-none {
  from {perspective: 2000px;}
  to {perspective: 100000px;}
}

.perspective {
  perspective: 2000px;
  animation-name: perspective;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0, 0.9, 0, 1.005);
}

.perspective-none {
  perspective: none;
  animation-name: perspective-none;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(1, -0.003, 0.9, 0);
}

.fade-in {
  animation-name: fade-in;
  animation-duration: 0.5s;
  animation-timing-function: ease-in;
}


.full-page {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.fs-7 {
  font-size: 0.75rem;
}

.decoview-reg {
  margin-left: -5px;
  color: #103052;
}

.hidden {
  display: none;
}

.loader {
  border: 3px solid #f3f3f3; /* Light grey */
  border-top: 3px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 27px;
  height: 27px;
  animation: spin 2s linear infinite;
  transform: translate(-50%, -50%) rotate(0deg);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}




@media (min-width: 576px) {
  .vh-sm-auto {
    height: auto!important;
  }
  .border-sm-start {
    border-left: 1px solid #dee2e6!important;
}
}

@media (min-width: 300px) {
  .d-xxs-none {
    display: none!important;
  }
}

@media (min-width: 300px) {
  .d-xxs-block {
    display: block!important;
  }
}

@media (min-width: 300px) {
  .d-xxs-inline {
    display: inline!important;
  }
}

@media (min-width: 500px) {
  .d-xs-none {
    display: none!important;
  }
}

@media (min-width: 500px) {
  .d-xs-block {
    display: block!important;
  }
}

@media (min-width: 500px) {
  .d-xs-inline {
    display: inline!important;
  }
}

@media (min-width: 576px) {
  .d-sm-inline {
    display: inline!important;
  }
}

@media (min-width: 768px) {
  .d-md-inline {
    display: inline!important;
  }
}

@media (min-width: 992px) {
  .d-lg-inline {
    display: inline!important;
  }
}

@media (min-width: 1200px) {
  .d-xl-inline {
    display: inline!important;
  }
}

@media (min-width: 1400px) {
  .d-xxl-inline {
    display: inline!important;
  }
}



.hidden {
  display: none;
}

.springy-transitions {
    transition: transform 1s;
    transition-timing-function: cubic-bezier(0.67, 1.5, 0.72, 0.88);
}

.bg-transparent {
  background: transparent;
}

.bg-transparent-50 {
  background: opacity(50%);
}

.nav-btn, .deco-darkblue {
  color: var(--decoview-darkblue);
}

.deco-darkblue-btn {
    color: var(--decoview-darkblue);
}

.btn-custom:hover .deco-darkblue-btn {
    color: var(--decoview-lightblue);
}

.nav-btn:hover {
  color: var(--decoview-lightblue);
}

#headerNav {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
  top: -67px;
}

.drop-down {

  animation-name: drop-down;
  animation-duration: 0.5s;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards
}

@keyframes drop-down {
  from {top: calc(0px - var(--header-height));}
  to {top: 0;}
}

page {
  background: white;
  display: block;
  margin: 0 auto;
  min-width: 800px;
  margin-bottom: 0.5cm;
  box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
}
page[size="A4"] {  
  width: 21cm;
  height: 29.7cm;
      padding: 3mm;
    padding-top: 15mm;
}
page[size="A4"][layout="landscape"] {
  width: 29.7cm;
  height: 21cm;  
}
page[size="A3"] {
  width: 29.7cm;
  height: 42cm;
}
page[size="A3"][layout="landscape"] {
  width: 42cm;
  height: 29.7cm;  
}
page[size="A5"] {
  width: 14.8cm;
  height: 21cm;
}
page[size="A5"][layout="landscape"] {
  width: 21cm;
  height: 14.8cm;  
}


.mainContent {
    margin-top: 67px;
    padding-top: 24px;
}

#mainHeaderNav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.a4Div {
    height: 264mm;
}

  
@media print {
    
    * {
    -webkit-print-color-adjust: exact !important;   /* Chrome, Safari, Edge */
    color-adjust: exact !important;                 /*Firefox*/
}
    
   .summaryPage {
    padding: 0;
}
    
    #mainHeaderNav {
        display: none;
    }
    
.mainContent {
    visibility: hidden;
    padding: 0!important;
    margin: 0!important;
}

.bottomNotes {
    left: 0!important;
    right: 0!important;
    bottom: 0!important;
}

page {
    padding: 0!important;
    visibility: visible;
    margin: 0!important;
    box-shadow: none!important;
}

.noPrint {
        display: none;  
}

page[size="A4"] {  
  width: 245mm!important;
    height: 336mm!important;
        padding: 0!important;
}

.a4Div {
    height: 321mm!important;
}



    
 
}
