﻿.sticky-sidebar.sellrecord-sticky-sidebar {
    top: 4.3125rem;
}

.custom-badge {
    max-width: 7rem;
    text-align: center;
}

.max-content {
    max-width: max-content;
}

.w-3rem {
    width: 3rem;
}
.custom-dropdown-btn{
    cursor: text !important;
}
.custom-dropdown-btn::after{
    display: none;
}
.custom-dropdown {
    /* top: -1.5rem !important; */
    max-height: 15rem;
    min-height: max-content !important;
    overflow: hidden;
    /* border-radius: 0 0 0.375rem 0.375rem; */
    z-index: 10000;
    top: -2.55rem !important;
}

.dropdown-toggle{
    border: 1px solid var(--falcon-input-border-color);
    height: 2.5rem;
}

.custom-dropdown div {
    overflow: auto;
    max-height: 13.75rem;
    padding-bottom: 1.25rem;
}

.custom-dropdown input{
    margin-top: -2px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-dropdown div::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #b6c1d2;
}

/* Track */

.custom-dropdown div::-webkit-scrollbar-track {
    background: #f1f1f150;
}

/* Handle */

.custom-dropdown div::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */

.custom-dropdown div::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.custom-dropdown .dropdown-item {
    padding: .75rem 1rem;
}

.custom-add-btn {
    margin-bottom: 0.2rem;
    height: 2.5rem;
    width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-toggle{
    padding: .5rem 1rem;
}


.sticky-sidebar.sellrecord-sticky-sidebar {
    top: 4.3125rem;
}

.custom-badge {
    max-width: 7rem;
    text-align: center;
}

.max-content {
    max-width: max-content;
}

.w-3rem {
    width: 3rem;
}

.custom-pagination {
    color: var(--falcon-btn-falcon-default-color);
    background-color: var(--falcon-btn-falcon-background);
    border-color: var(--falcon-btn-falcon-background);
    -webkit-box-shadow: var(--falcon-btn-falcon-box-shadow);
    box-shadow: var(--falcon-btn-falcon-box-shadow);
    width: 2rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.2rem;
    cursor: pointer;
}

.custom-pagination.active{
    color: #2c7be5;
}

@media only screen and (max-width: 600px) {
    .mt-sm-3 {
        margin-top: 1rem !important;
    }
}

.custom-overflow-auto{
    overflow-x: auto;
}

.custom-overflow-auto::-webkit-scrollbar{
    width: .25rem;
    height: .25rem;
}

.custom-overflow-auto::-webkit-scrollbar-thumb{
    visibility: visible !important;
    background-color: #00000010;
    border-radius: 12px;
}

.max-w-7rem{
    max-width: 7rem;
}

.btn-falcon-default:hover, [data-list] .page:hover, .btn-falcon-default:focus, [data-list] .page:focus{
    border-color: var(--falcon-input-border-color);
}

.item-button{
    height: 200px;
    width: calc(25% - 1rem);
}

@media only screen and (max-width: 1440px) {
    .item-button{
        width: calc(33.33% - 1rem);
    }
}

@media only screen and (min-width: 1200px) {
    .qty-btns-wrapper button {
        font-size: 1.2vw;
    }
}

@media only screen and (max-width: 993px) {
    .item-button{
        width: calc(25% - 1rem);
    }
}

@media only screen and (max-width: 700px) {
    .item-button{
        width: calc(50% - 1rem);
    }
}

.item-button small{
    overflow-y: auto;
}

.item-button small::-webkit-scrollbar {
    width: 5px;
}

.item-button small::-webkit-scrollbar-track {
    border-radius: 4px;
    background: #f1f1f1;
}

.item-button small::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.items-wrapper{
    max-height: calc(100vh - 23rem) !important;
    overflow-y: auto;
}

.items-wrapper::-webkit-scrollbar {
    width: 5px !important;
}

.items-wrapper::-webkit-scrollbar-track {
    border-radius: 6px;
    background: #f1f1f1;
}

.items-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

.content{
    box-sizing: border-box !important;
    min-height: calc(100vh - 3.5rem) !important;
}

.modal-footer .btn{
    zoom: 140%;
}

.btn-sm.h-auto.py-1.dropdown-toggle::after{
    top: .85rem !important;
}

.blazored-modal-content {
  /* height: 100vh; */
  overflow-y: auto;
  overflow-x: hidden;
}

.bm-header, .blazored-modal-header{
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    margin-bottom: 0;
    width: 100%;
    padding-bottom: .5rem;
    border-bottom: 1px solid #cdcdcd;
}

.bm-header button, .blazored-modal-close{
    background: #fefefe;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 1.25rem;
    border-radius: 50%;
    border: none;
    outline: none;
    margin: 0;
}

.blazored-modal-close:hover{
    background-color: #efefef;
}

.blazored-modal-close span{
    text-transform: uppercase;
    font-size: 1.75rem !important;
    margin-top: -.25rem;
    content: "X";
}

.custom-modal-sm{
    max-width: 600px !important;
}

.custom-modal-lg {
    width: 800px;
}

.blazored-modal-scrollable {
    max-height: calc(96% - 1rem);
}

.custom-modal-xl {
    width: 1200px;
}

.custom-modal-fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: unset;
    max-height: unset;
    margin-top: 0 !important;
}

.custom-modal-fullscreen .content{
    min-height: calc(100vh - 6.25rem) !important;
}

@font-face {
    font-family: 'barcode';
    font-style: normal;
    font-weight: normal;
    src: url(../font/BarcodeFont.ttf) format('truetype');
}

.barcode{
    font-family: 'barcode' !important;
}
