body,
main {
    height: 100%;
}


.tabulator-tableholder::-webkit-scrollbar {
    width: 8px;               /* width of the entire scrollbar */
  }
  
  .tabulator-tableholder::-webkit-scrollbar-track {
    background: #ffffff;        /* color of the tracking area */
  }
  
  .tabulator-tableholder::-webkit-scrollbar-thumb {
    background-color: rgb(213, 0, 0, 1);    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    border:1px solid #ffffff;  /* creates padding around scroll thumb */
  }

  .tabulator .tabulator-header {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    border-bottom: 1px solid #FFFFFF;
    background-color: #FFFFFF;
    color: #555;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

.tabulator-tableholder {
    border-bottom: 0px solid #cecece;
}

.tabulator {
    position: relative;
    border: 0px solid #FFFFFF;
    background-color: #FFFFFF;
    font-size: 14px;
    text-align: left;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

.tabulator .tabulator-footer .tabulator-calcs-holder {
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    background: #f3f3f3!important;
    border-bottom: 0px solid #aaa;
    border-top: 0px solid #aaa;
    overflow: hidden;
}

.tabulator .tabulator-footer {
    border-top:0px solid #999;
    background-color: #e6e6e6;
    color: #555;
    font-weight: 700;
    white-space: nowrap;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

tr,
td,
th { 
    border: 0px !important;
    border-collapse: collapse;
    border-radius: 0px !important;
}

.sidenav li.active,
.sidenav li.active a.collapsible-header {
    background-color: #d50000 !important;
    color: white !important;
}

th,
td {
    padding: 0px !important;
}

.jsgrid-grid-header,
.jsgrid-grid-body {
    overflow: auto;
}

.jsgrid-alt-row>.jsgrid-cell {
    background-color: #c8c8c8 !important;
}

.jsgrid-header-sort-asc:before {
    border-width: 0 5px 5px;
    border-color: transparent transparent white !important;
}

.sidenav-overlay {
    z-index: 1;
}

.sidenav li li a.sub-heading {
    border-bottom: 1px solid;
    border-color: #b4b4b4;
}

.chart {
    height: 200px;
}

.spinner-white-only {
    border-color: white !important;
}

.card-stats .card-content {
    padding: 5px !important;
    min-height: 140px;
}

.card-stats-title {
    font-size: 1.2rem;
}

.card-stats .preloader-wrapper {
    margin-top: 20px;
}

.card-stats-title .mdi {
    margin-right: 5px;
    font-size: 24px;
}

#sales-overview .card-stats-number {
    font-size: 2.5rem;
    line-height: 1.5rem;
    margin: 0.5rem auto 1rem auto;
    font-weight: 500;
}

#ism-overview .card-stats-number {
    font-size: 3rem;
    line-height: 2rem;
    margin: 1.5rem auto 1rem auto;
    font-weight: 500;
}

.card-stats-sub {
    font-size: 0.7rem !important;
}

.card-stats-sub .col {
    padding: 0;
    margin: auto;
}

.progress {
    /*margin-top: 100px;
  margin-bottom: -100px;*/
    background-color: rgba(255, 255, 255, 0.25) !important;
}

.indeterminate {
    background-color: white !important;
}

.login-form-text {
    vertical-align: middle;
    line-height: 2;
    font-size: 20px;
    font-smooth: never;
    -webkit-font-smoothing: none;
}

.login-form-text .mdi {
    vertical-align: middle;
    line-height: 2;
    font-size: 20px;
    font-smooth: never;
    -webkit-font-smoothing: none;
}

.dropdown-content li {
    height: 25px;
    line-height: 20px;
    min-height: auto !important;
}

.dropdown-content li>a,
.dropdown-content li>span {
    color: #d50000 !important;
    line-height: 20px;
    padding: 5px 5px;
    min-height: auto !important;
}

#ismOptions .select-dropdown.dropdown-content li.selected,
#ismOptions .select-dropdown.dropdown-content li.selected>span {
    color: white !important;
    background-color: #d50000 !important;
    /* min-height: auto !important; */
}

#ismOptions .select-dropdown li.disabled,
#ismOptions .select-dropdown li.disabled.selected,
#ismOptions .select-dropdown li.disabled.selected>span,
#ismOptions .select-dropdown li.disabled>span,
#ismOptions .select-dropdown li.optgroup {
    color: #424242 !important;
    background-color: #d4d4d4 !important;
    line-height: 20px;
    padding: 5px 5px;
    /* min-height: auto !important; */
}

/*.card.grey.lighten-2 {
border-radius: 25px;
background: transparent;
box-shadow: 6px 6px 14px 0 rgba(0, 0, 0, 0.2),
-8px -8px 18px 0 rgba(255, 255, 255, 0.55);
}*/

/*.card-border-wrap {
padding: 1rem;
position: relative;
background: linear-gradient(45deg, #ffffff, #e0e0e0);
padding: 3px;
border-radius: 20px;
}*/

/*Tabulator CSS*/

.tabulator-row-odd {
    background-color: #c6c6c6;
}

.tabulator-header,
.tabulator-col-content {
    background-color: #d50000;
    color: white;
    font-weight: 400;
    font-size: 0.95em;
    font-style: italic;
}

.tabulator-row:hover {
    background-color: #D50000  !important;
    color: white !important;
}

.divider {
    background-color: #b1b1b1 !important;
}

.tabulator-responsive-collapse,
.tabulator-responsive-collapse:hover {
    background-color: white !important;
}

.modal.bottom-sheet {
    max-height: 70% !important;
}

.tabulator-calcs-bottom .tabulator-cell {
    background-color: #607d8b;
    color: white;
    font-weight: 400;
    font-style: italic;
}


/*FV9 Tabulator CSS*/

.calendar-container .tabulator,
.calendar-container .tabulator .tabulator-header .tabulator-col,
:exclude(.funnelContainer)  {
    background-color: #ffffff00 !important;
    border: 1px solid white !important;
    color: white !important;
}

.calendar-container .tabulator,
.calendar-container .tabulator-row,
.calendar-container .tabulator .tabulator-tableHolder .tabulator-table {
    background-color: #ffffff00 !important;
}

.calendar-container .tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row,
.calendar-container .tabulator .tabulator-footer .tabulator-calcs-holder,
.calendar-container .tabulator .tabulator-footer .tabulator-calcs-holder {
    background-color: #ffffff00 !important;
    background: #ffffff00 !important;
}

.calendar-container .tabulator-row {
    color: white !important;
    border-bottom: 1px solid white !important;
}

.calendar-container .tabulator-row-odd {
    background-color: #c6c6c600;
}

.calendar-container .tabulator .tabulator-footer,
.calendar-container .tabulator-header,
.calendar-container .tabulator-col-content {
    background-color: #d5000000 !important;
    color: white !important;
}

.calendar-container .tabulator-calcs-bottom .tabulator-cell {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
}

.calendar-container .tabulator .tabulator-footer,
.calendar-container .tabulator .tabulator-footer .tabulator-calcs-holder {
    border-top: 0px solid #ffffff !important;
}

.calendar-container .row-total {
    font-weight: 700 !important;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.calendar-container .tabulator-row .tabulator-cell {
    border-color: #ffffff !important;
    
}

/* .tabulator-cell,
:exclude(.funnelContainer)  {
    font-size: 12px !important;
} */

.calendar-container .tabulator-row:hover {
    background-color: #ffffff1e !important;
}

.calendar-container .tabulator-responsive-collapse,
.calendar-container .tabulator-responsive-collapse:hover {
    background-color: rgba(255, 255, 255, 0) !important;
}

.modal.bottom-sheet {
    max-height: 70% !important;
}

.calendar-container .tabulator-cell {
    background-color: #607d8b00;
    color: white;
    border-color: white !important;
}

.container {
    max-width: 1440px !important;
}

@media only screen and (min-width: 993px) {
    .container {
        width: 85% !important;
    }
}

.modal {
    max-height: 80% !important;
}

.modal.bottom-sheet {
    max-width: 100% !important;
}

.popup-gallery img {
    margin-right: 5px;
}

.img-loader,
.img-loader:before,
.img-loader:after {
    background: #ffffff;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}

.img-loader {
    color: #ffffff;
    text-indent: -9999em;
    margin: 88px auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.img-loader:before,
.img-loader:after {
    position: absolute;
    top: 0;
    content: "";
}

.img-loader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.img-loader:after {
    left: 1.5em;
}

@-webkit-keyframes load1 {
    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

@keyframes load1 {
    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

.callstats .call-stat-card {
    padding-left: 5px;
    padding-right: 5px;
}

.callstats .call-stat-card .card-content {
    padding: 10px;
}

.card .card-action:last-child {
    border-radius: 0 0 0px 0px;
}

.callstats .card .card-action {
    background-color: inherit;
    border-top: 1px solid rgba(160, 160, 160, 0.2);
    position: relative;
    padding: 0px 0px;
}

.mdi {
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.09);
}

@media only screen and (min-width: 360px) {
    .flow-text {
        font-size: 1.2rem;
    }
    .callstats .stat-name {
        font-size: 1.2rem;
    }
    .callstats .stat-count {
        font-size: 1.2rem;
    }
}

@media only screen and (min-width: 390px) {
    .flow-text {
        font-size: 1.224rem;
    }
}

@media only screen and (min-width: 420px) {
    .flow-text {
        font-size: 1.248rem;
    }
}

@media only screen and (min-width: 450px) {
    .flow-text {
        font-size: 1.272rem;
    }
}

@media only screen and (min-width: 480px) {
    .flow-text {
        font-size: 1.296rem;
    }
    .callstats .stat-count {
        font-size: 2rem;
    }
}

@media only screen and (min-width: 510px) {
    .flow-text {
        font-size: 1.32rem;
    }
}

@media only screen and (min-width: 540px) {
    .flow-text {
        font-size: 1.344rem;
    }
}

@media only screen and (min-width: 570px) {
    .flow-text {
        font-size: 1.368rem;
    }
}

@media only screen and (min-width: 600px) {
    .flow-text {
        font-size: 1.392rem;
    }
    .tabulator-col-title,
:exclude(.funnelContainer)  {
        font-size: 8px;
    }
}

@media only screen and (min-width: 630px) {
    .flow-text {
        font-size: 1.416rem;
    }
}

@media only screen and (min-width: 660px) {
    .flow-text {
        font-size: 1.44rem;
    }
}

@media only screen and (min-width: 690px) {
    .flow-text {
        font-size: 1.464rem;
    }
}

@media only screen and (min-width: 720px) {
    .flow-text {
        font-size: 1.488rem;
    }
}

@media only screen and (min-width: 750px) {
    .flow-text {
        font-size: 1.512rem;
    }
}

@media only screen and (min-width: 780px) {
    .flow-text {
        font-size: 1.536rem;
    }
    .tabulator-col-title,
:exclude(.funnelContainer)  {
        font-size: 12px;
    }
}

@media only screen and (min-width: 810px) {
    .flow-text {
        font-size: 1.56rem;
    }
}

@media only screen and (min-width: 840px) {
    .flow-text {
        font-size: 1.584rem;
    }
}

@media only screen and (min-width: 870px) {
    .flow-text {
        font-size: 1.608rem;
    }
}

@media only screen and (min-width: 900px) {
    .flow-text {
        font-size: 1.632rem;
    }
}

@media only screen and (min-width: 930px) {
    .flow-text {
        font-size: 1.656rem;
    }
}

@media only screen and (min-width: 990px) {
    .tabulator-col-title,
:exclude(.funnelContainer)  {
        font-size: 8px;
    }
}

@media only screen and (min-width: 1201px) {
    .flow-text {
        font-size: 1.68rem;
    }
    .callstats .stat-name {
        font-size: 0.68rem;
        height: 30px;
    }
    .callstats .stat-count {
        font-size: 1.2rem;
    }
}

@media only screen and (min-width: 1400px) {
    .flow-text {
        font-size: 1.68rem;
    }
    .callstats .stat-name {
        font-size: 0.75rem;
        height: 30px;
    }
    .callstats .stat-count {
        font-size: 1.5rem;
    }
    .tabulator-col-title,
:exclude(.funnelContainer)  {
        font-size: 12px;
    }
}

@media only screen and (min-width: 1600px) {
    .flow-text {
        font-size: 1.68rem;
    }
    .callstats .stat-name {
        font-size: 1rem;
    }
    .callstats .stat-count {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 360px) {
    .flow-text {
        font-size: 1.2rem;
    }
}


/*Pickers*/


/*DatePicker*/

.datepicker-container.modal-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
}

.input-field .modal {
    max-width: 350px;
}

.datepicker-date-display {
    background-color: #d50000;
    flex: 0 1 120px;
}

@keyframes jiggle {
    0% {
        transform: none;
    }
    25% {
        transform: rotateZ(2deg);
    }
    75% {
        transform: rotateZ(-2deg);
    }
    100% {
        transform: none;
    }
}

@keyframes flickerAnimation {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.03, 1.03);
    }
    100% {
        transform: scale(1, 1);
    }
}

@-o-keyframes flickerAnimation {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.03, 1.03);
    }
    100% {
        transform: scale(1, 1);
    }
}

@-moz-keyframes flickerAnimation {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.03, 1.03);
    }
    100% {
        transform: scale(1, 1);
    }
}

@-webkit-keyframes flickerAnimation {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.03, 1.03);
    }
    100% {
        transform: scale(1, 1);
    }
}

.modal.bottom-sheet {
    max-height: 90% !important;
}

/* .tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left,
:exclude(.funnelContainer)  {
    border-right: 1px solid #aaa !important;
} */

/* .tabulator-row .tabulator-frozen.tabulator-frozen-left,
:exclude(.funnelContainer)  {
    border-right: 1px solid #aaa !important;
} */

.swal2-select {
    width: auto;
    min-width: 50%;
    max-width: 100%;
    padding: .375em .625em;
    background: inherit;
    color: inherit;
    font-size: 1.125em;
}

.select-wrapper input.select-dropdown {
    margin-top: 7px;
}

/* .tabulator .tabulator-tableholder .tabulator-table,
:exclude(.funnelContainer)  {
    position: relative;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0);
    white-space: nowrap;
    overflow: hidden;
    color: #333;
} */

.menu-title {
    font-size: 20px;
    font-weight: 400 !important;
    font-style: italic;
}

/* .tabulator,
:exclude(.funnelContainer)  {
    position: relative;
    border: 1px solid #FFF;
    background-color: #FFF;
    font-size: 14px;
    text-align: left;
    overflow: hidden;
    -webkit-transform: translatez(0);
    -moz-transform: translatez(0);
    -ms-transform: translatez(0);
    -o-transform: translatez(0);
    transform: translatez(0);
} */

.card-overview-stocklister>div>div>p>i,
.card-overview-stocklister>div>div>div.stats-container>a>h4>span,
.card-overview-stocklister>div>div>p,
.card-stats-title,
.card-stats-title>i,
.stat-count {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* .card,
.tabulator,
:exclude(.callstats),
:exclude(.funnelContainer)  {
    background: transparent;
    box-shadow: 6px 6px 14px 0 rgba(0, 0, 0, 0.2), -8px -8px 18px 0 rgba(255, 255, 255, 0.55);
} */

.card {
    padding: 4px 30px 20px;
}

/* .tabulator,
:exclude(.funnelContainer)  {
    border-radius: 0px;
    border-width: 0px;
} */

.callstats .card .card-action {
    background-color: inherit !important;
    border-top: 1px solid rgba(160, 160, 160, 0.2);
    position: relative;
    padding: 0px 0px;
    color: white !important;
    font-size: 14px;
}

.callstats .card .col {
    padding: 2px;
}

#left-report>div>div,
#right-report>div>div {
    padding: 0px;
}

.percentage-small {
  font-size: 10px; /* Adjust the font size as needed */
}

.chart-container {
    padding: 0px !important;
}

.chart-container > .card-title {
    padding-top: 10px !important;
}

/* .tabulator .tabulator-header .tabulator-col {
    display: inline-flex;
    position: relative;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 1px solid #d00 !important;
    background: #e6e6e6;
    text-align: left;
    vertical-align: bottom;
    overflow: hidden;
} */

.loader-onestock  {
    animation: rotate 1s infinite;  
    height: 50px;
    width: 50px;
  }
  
  .loader-onestock:before,
  .loader-onestock:after {   
    border-radius: 50%;
    content: '';
    display: block;
    height: 20px;  
    width: 20px;
  }
  .loader-onestock:before {
    animation: ball1 1s infinite;  
    background-color: #607d8b;
    box-shadow: 30px 0 0 #d50000;
    margin-bottom: 10px;
  }
  .loader-onestock:after {
    animation: ball2 1s infinite; 
    background-color: #d50000;
    box-shadow: 30px 0 0 #607d8b;
  }
  
  @keyframes rotate {
    0% { 
      -webkit-transform: rotate(0deg) scale(0.8); 
      -moz-transform: rotate(0deg) scale(0.8);
    }
    50% { 
      -webkit-transform: rotate(360deg) scale(1.2); 
      -moz-transform: rotate(360deg) scale(1.2);
    }
    100% { 
      -webkit-transform: rotate(720deg) scale(0.8); 
      -moz-transform: rotate(720deg) scale(0.8);
    }
  }
  
  @keyframes ball1 {
    0% {
      box-shadow: 30px 0 0 #d50000;
    }
    50% {
      box-shadow: 0 0 0 #d50000;
      margin-bottom: 0;
      -webkit-transform: translate(15px,15px);
      -moz-transform: translate(15px, 15px);
    }
    100% {
      box-shadow: 30px 0 0 #d50000;
      margin-bottom: 10px;
    }
  }
  
  @keyframes ball2 {
    0% {
      box-shadow: 30px 0 0 #607d8b;
    }
    50% {
      box-shadow: 0 0 0 #607d8b;
      margin-top: -20px;
      -webkit-transform: translate(15px,15px);
      -moz-transform: translate(15px, 15px);
    }
    100% {
      box-shadow: 30px 0 0 #607d8b;
      margin-top: 0;
    }
  }

  .tabulator .tabulator-footer .tabulator-page-size {
    border: 1px solid #aaa;
    border-radius: 3px;
    display: inline-block;
    margin: 0 5px;
    padding: 2px 5px;
    width: 70px;
    height: 25px;
}

.btn-floating {
    font-size: 22px;
    outline: 0;
    text-align: center;
}

#modal-stock-item-edit {
    overflow-y: visible !important;
}

#modal-stock-item-edit .modal-content {
    overflow-y: visible !important;
}



.tight-collection {
    margin: 0px;
}

.tight-collection-item {
    padding: 5px 5px !important;
    font-size: 14px;
}

.tabs .tab a:hover, .tabs .tab a.active {
    background-color: transparent;
    color: #D50000;
    font-weight: 700;
}

#px_table_tabs_tabs {
    overflow: hidden;
}

#px_table_tabs {
    padding: 0 !important;
}

#px_table_tabs .row .col {
    padding: 0 !important;
}

.px_week_table_container {
    padding: 0 !important;
}

.tabs .indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: #D50000;
    will-change: left, right;
}

#px_table_tabs {
    margin-top: 5px;
    margin-bottom: 30px !important;
}