html {
    font-size: 14px;
}

#sidebar-menu ul li a {
    font-size: 12px !important;
}

#sidebar-menu ul li ul.sub-menu li a {
    font-size: 12px !important;
}

@media (max-width: 1366px) {
    html {
        font-size: 11px;
    }

    #sidebar-menu ul li a {
        font-size: 11px !important;
    }

    #sidebar-menu ul li ul.sub-menu li a {
        font-size: 11px !important;
    }
}

.navbar-header {
    height: 50px !important;
    padding: 0 !important;
}

.navbar-header .header-item {
    height: -webkit-fill-available !important;
    height: 100% !important;
}

.vertical-menu {
    width: 230px !important;
    top: 50px !important;
}

.main-content {
    margin-left: 230px;
}

.page-content {
    padding: calc(35px + 24px) calc(24px / 2) 60px calc(24px / 2) !important;
}

.footer {
    left: 230px !important;
}

.vertical-collpsed .footer {
    left: 70px !important;
}

input + .input-group-text {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem
}

.js-datepicker + label, .js-datetimepicker + label {
    z-index: 3 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.toast {
    width: auto !important;
    max-width: 100em !important;
}

.btn-xs {
    padding: 1px 5px;
    font-size: .85em;
}

.tr-borderless th, .tr-borderless td {
    border-style: none;
}

fieldset, legend {
    all: revert;
}

fieldset {
    padding: 0.75em 0 !important;
    border-top: 1px solid #dee2e6 !important;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.avatar img {
    display: block;
}

.avatar {
    position: relative;
    display: inline-block;
}

.avatar-5xl {
    width: 10.5rem;
    height: 10.5rem;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered .select2-selection__placeholder {
    color: #495057;
}

select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

.select2-selection {
    background: #eee;
    box-shadow: none;
}

.select2-selection--single {
    height: calc(3.5rem + 2px) !important;
    font-size: .8125rem !important;
    padding-top: 1.625rem !important;
    padding-bottom: .625rem !important;
}

.select2-selection--multiple {
    min-height: calc(3.5rem + 2px) !important;
    font-size: .8125rem !important;
    padding-top: 1.625rem !important;
}

.select2-selection__arrow {
    display: none;
}

.select2-selection__clear {
    right: 2.5rem !important;
    background-size: 0.6rem !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    font-size: .8125rem !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]
{
    background-color: #0d6efd !important;
    color: #fff !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
    font-size: .8125rem !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    font-size: .8125rem !important;
    line-height: 1 !important;
    color: var(--bs-body-color); !important;
    background-color: var(--bs-light) !important;
    border: 0 !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    width: 0.6rem;
    height: 0.6rem;
    background-size: 0.6rem !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__group {
    color: var(--bs-secondary); !important;
}

.select2 {
    width:100% !important;
}

.form-floating > label {
    z-index: 3 !important;
}

.v-m {
    vertical-align: middle;
}

.w-40 {
    width: 40% !important;
}

.w-35 {
    width: 35% !important;
}

.w-30 {
    width: 30% !important;
}

.w-20 {
    width: 20% !important;
}

.w-15 {
    width: 15% !important;
}

.w-10 {
    width: 10% !important;
}

.w-5 {
    width: 5% !important;
}

.datepicker {
    z-index: 1100 !important;
}

.text-dfranquias-red {
    color: #9D1E2F !important;
}

.text-dfranquias-orange {
    color: #F78F20 !important;
}

.text-dfranquias-bege {
    color: #FFBB7C !important;
}

.bg-dfranquias-red {
    background-color: #9D1E2F !important;
}

.btn-dfranquias-red {
    color: #fff;
    background-color: #9D1E2F;
    border-color: #9D1E2F;
}

.btn-dfranquias-red:hover {
    color: #fff;
    background-color: #830c10;
}

.btn-outline-dfranquias {
    color: #9D1E2F
}

.btn-outline-dfranquias:hover {
    color: #fff;
    background-color: #9D1E2F;
}

.btn-check:active+.btn-outline-dfranquias, .btn-check:checked+.btn-outline-dfranquias, .btn-outline-dfranquias.active, .btn-outline-dfranquias.dropdown-toggle.show, .btn-outline-dfranquias:active {
    color: #fff;
    background-color: #9D1E2F;
    border-color: #9D1E2F;
}

.border-dfranquias-red {
    border-color: #9D1E2F !important;
}

.border-dfranquias-orange {
    border-color: #F78F20 !important;
}

.border-dfranquias-bege {
    border-color: #FFBB7C !important;
}

.btn-check:active+.btn-outline-dfranquias, .btn-check:checked+.btn-outline-dfranquias, .btn-outline-dfranquias.active, .btn-outline-dfranquias.dropdown-toggle.show, .btn-outline-dfranquias:active {
    color: #fff;
    background-color: #9D1E2F;
    border-color: #9D1E2F;
}

.ui-autocomplete {
    max-height:90px;
    overflow-y: auto;
    overflow-x: hidden;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 1510 !important;
    float: left;
    display: none;
}

.franchise-data {
    width: 215px;
    height: 44px;
    border-radius: 3px;
    background-color: var(--bs-light) !important;
}

body[data-style-mode=dark] .vertical-menu {
    background: #262b3c !important;
}

body[data-style-mode=dark] #sidebar-menu ul li a:not(.active) {
    color: var(--bs-body-color) !important;
}

body[data-style-mode=dark] #sidebar-menu ul li a:not(.active):hover {
    color: #556ee6!important;
}

body[data-layout=horizontal] .page-content {
    margin-top: 0 !important;
}

#sidebar-menu ul li a:not(.active):hover {
    color: #556ee6!important;
}

.page-title-box {
    padding-top: .5rem;
    padding-bottom: .75rem;
}

.noti-icon .badge {
    position: absolute;
    top: 20px;
    right: 4px;
}

.datepicker-years .focused {
    background: 0 !important;
}

.form-check-flex, .form-check-flex-lg {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-check-flex label, .form-check-flex-lg label {
    margin-bottom: 0 !important;
    padding-left: .5rem !important;
    cursor: pointer;
}

.form-check-flex-lg input {
    height: 1.125rem !important;
    width: 1.125rem !important;
    cursor: pointer;
}

/*LAYOUT DO PDV*/
#search-product-query:focus {
    outline: none;
    border-color: #9D1E2F;
    box-shadow: 0 0 5px rgba(157, 30, 47, 0.6);
}

.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap
}

.timeline-steps .timeline-step {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 1rem
}

@media (min-width:768px) {
    .timeline-steps .timeline-step:not(:last-child):after {
        content: "";
        display: block;
        border-top: 2px solid #3b82f6;
        width: 4.8125rem;
        position: absolute;
        left: 7.5rem;
        top: 10px
    }

    .timeline-steps .timeline-step:not(:first-child):before {
        content: "";
        display: block;
        border-top: 2px solid #3b82f6;
        width: 4.8125rem;
        position: absolute;
        right: 7.5rem;
        top: 10px
    }

    .timeline-steps .timeline-content {
        width: 10rem;
        text-align: center
    }

    .timeline-steps .timeline-content .inner-circle {
        border-radius: 1.5rem;
        height: 1rem;
        width: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #3b82f6
    }

    .timeline-steps .timeline-content .inner-circle:before {
        content: "";
        background-color: #3b82f6;
        display: inline-block;
        height: 3rem;
        width: 3rem;
        min-width: 3rem;
        border-radius: 6.25rem;
        opacity: .5
    }

    .input-group > .amount-received:focus {
        outline: none;
        border-color: #9D1E2F;
        box-shadow: 0 0 5px rgba(157, 30, 47, 0.6);
    }

    .btn-outline-dfranquias-red-pdv:hover {
        color: #fff;
        background-color: #E3BCC0;
        border-color: #E3BCC0;
    }

    .btn-check:checked + .btn-outline-dfranquias-red-pdv,
    .btn-check:active + .btn-outline-dfranquias-red-pdv, .btn-outline-dfranquias-red-pdv:active, .btn-outline-dfranquias-red-pdv.active, .btn-outline-dfranquias-red-pdv.dropdown-toggle.show {
        color: #fff;
        background-color: #E3BCC0;
        border-color: #E3BCC0;
    }

    .btn-outline-dfranquias-red-pdv:disabled, .btn-outline-dfranquias-red-pdv.disabled {
        color: #E3BCC0;
        background-color: transparent;
    }

    .badge-shortcut {
        background-color: #9D1E2F !important;
        color: #FFF;
        width: 50px !important;
    }

    .top-10-vh {
        top: 10vh !important;
    }

    .card-payment {
        height: 67vh !important;
    }

    .card-payment-methods {
        height: 67vh !important;
    }

    .watermark-df {
        height: 33vh !important;
    }

    .product-description {
        width: 120px !important;
    }

    .product-price {
        font-weight: 800 !important;
    }

    .category-size {
        width: 85px !important;
    }

    .ellipsis {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .product-image {
        height: 70px !important;
        width: 100px !important;
        box-sizing: border-box;
        aspect-ratio: 9/6 auto;
        object-fit: cover;
    }

    .product-tag {
        position: absolute;
        top: 0px !important;
        right: 0px !important;
        width: 53px !important;
    }

    .product-grid-tag {
        position: absolute;
        top: 0px !important;
        right: 0px !important;
        width: 50px !important;
    }

    .product:hover {
        transform: scale(1.02);
    }

    .custom-scroll::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        border-radius: 0;
        background-color: #F4F4F4;
    }

    .custom-scroll::-webkit-scrollbar {
        width: 6px;
        background-color: #F4F4F4;
    }

    .custom-scroll::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
        background-color: #B4B4B4;
    }

    #item-list li.active {
        background: #DCEDFC;
        color: #4e4e4e;
        font-weight: bold;
    }

    .btn-keyboard {
        color: #333333;
        background: rgba(116, 120, 141, 0.25);
        cursor: default;
    }

    .pdv-card-shadows {
        box-shadow: 3px 3px 5px rgb(0 0 0 / 15%);
        border-radius: 5px;
    }

    .baloon {
        display: inline-block;
        padding: 3px 11px;
        background-color: #d31721;
        border-radius: 5px;
        color: #fff;
        font-weight: bold;
        font-size: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 99;
        top: 18px;
        left: 12px;
        position: absolute;
    }

    .baloon::after {
        content: '';
        position: absolute;
        top: -5px;
        left: 2px;
        border-width: 0 10px 10px 10px;
        border-style: solid;
        border-color: transparent transparent #d31721 transparent;
    }

    .discount-baloon {
        display: inline-block;
        padding: 3px 11px;
        background-color: #d31721;
        border-radius: 5px;
        color: #fff;
        font-weight: bold;
        font-size: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 99;
        top: 18px;
        left: 163px;
        position: absolute;
    }

    .discount-baloon::after {
        content: '';
        position: absolute;
        top: -5px;
        left: 2px;
        border-width: 0 10px 10px 10px;
        border-style: solid;
        border-color: transparent transparent #d31721 transparent;
    }

    .toggle-active {
        color: #fff !important;
        background-color: #cf5a5a !important;
        border-color: #c35555 !important;
        -webkit-box-shadow: 0 0 0 .15rem rgba(246, 128, 128, .5) !important;
        box-shadow: 0 0 0 .15rem rgba(246, 128, 128, .5) !important;
    }

    .car-discount .cart-subtotal {
        height: 20px;
        padding: 0;
        margin: 0;
        color: red;
        font-weight: bold;
        background: #fff1f1;
    }
}

.proof-item-list {
    max-height: 38vh !important;
}

.col-price-table-product {
    flex: 0 0 auto;
    max-width: 100%;
    min-width: 0;
    width: 225px;
}

.col-product-description {
    max-width: 100%;
}

.col-price-table-product .input-group {
    max-width: 140px;
    margin: 0 auto;
}

@media (max-width: 1920px) {
    .vh-pdv {
        height: 88vh !important;
    }

    .product-list {
        max-height: calc(74vh - 0vh) !important;
        height: auto !important;
        position: absolute;
    }

    .product {
        cursor: pointer;
        width: 120px !important;
        height: 120px !important;
        transition: transform 0.1s ease;
    }

    .category-size {
        width: 110px !important;
    }

    .cart-item-list {
        max-height: 56vh !important;
        height: 56vh !important;
    }

    .groups {
        max-height: 11vh !important;
        height: auto !important;
    }

    .group-item {
        width: 99px !important;
    }

    .col-price-table-product {
        flex: 0 0 auto;
        max-width: 100%;
        min-width: 0;
        width: 195px;
    }

    .col-product-description {
        max-width: 100%;
    }

    .col-price-table-product .input-group {
        max-width: 140px;
        margin: 0 auto;
    }
}

.table-responsive-custom .row {
    flex-wrap: nowrap !important;
    min-width: max-content;
}

@media (max-width: 1750px) {
    .col-price-table-product {
        width: 180px;
    }

    .col-status-product {
        max-width: 75px;
    }
}

@media (max-width: 1550px) {
    .col-price-table-product {
        width: 150px;
    }
}

@media (max-width: 1366px) {
    .vh-pdv {
        height: 88vh !important;
    }

    .product-list {
        max-height: calc(72vh - 0vh) !important;
        height: auto !important;
        position: absolute;
    }

    .product {
        cursor: pointer;
        width: 120px !important;
        height: 120px !important;
        transition: transform 0.1s ease;
        border: 1px solid #eeeeee !important;
    }

    .category-size {
        width: 85px !important;
    }

    .cart-item-list {
        max-height: 45vh !important;
        height: 51vh !important;
    }

    .groups {
        max-height: 8vh !important;
        height: auto !important;
    }

    .group-item {
        width: 99px !important;
    }
}

@media (max-width: 1280px) {
    .col-price-table-product {
        width: 125px;
    }
}

@media (max-height: 470px) {
    .vh-pdv {
        height: 83vh !important;
    }

    .product-list {
        max-height: calc(59vh - 0vh) !important;
        height: auto !important;
        position: absolute;
    }

    .product {
        cursor: pointer;
        width: 120px !important;
        height: 120px !important;
        transition: transform 0.1s ease;
        border: 1px solid #eeeeee !important;
    }

    .cart-item-list {
        max-height: 35vh !important;
        height: 35vh !important;
    }

    .groups {
        max-height: 12vh !important;
        height: auto !important;
    }

    .group-item {
        width: 99px !important;
    }
}

.rounded-top-left {
    border-top-left-radius: .5rem;
}

.rounded-top-right {
    border-top-right-radius: .5rem;
}

.rounded-bottom-left {
    border-bottom-left-radius: .5rem;
}

.rounded-bottom-right {
    border-bottom-right-radius: .5rem;
}

.apexcharts-title-text {
    font-size: 1rem !important;
}

.apexcharts-legend-series {
    margin-top: 1.5rem !important;
    display: flex;
    align-items: center;
}

.apexcharts-legend-text {
    font-size: .8125rem !important;
    line-height: 1 !important;
}

.apexcharts-legend-marker {
    margin-right: .5rem !important;
}

.datepicker table tr td.new, .datepicker table tr td.old,
.datepicker table tr td.new, .datepicker table tr td.new {
    color: var(--bs-body-color) !important;
}

.tempus-dominus-widget.light {
    color: var(--bs-body-color) !important;
    background-color: var(--bs-body-bg) !important;
}

.tempus-dominus-widget.light .date-container-days div:not(.no-highlight) {
    color: var(--bs-body-color) !important;
}

.tempus-dominus-widget.light .date-container-days div:not(.no-highlight).old,
.tempus-dominus-widget.light .date-container-days div:not(.no-highlight).new {
    color: var(--bs-body-color) !important;
    opacity: .6;
}

.tempus-dominus-widget.light .date-container-days .dow {
    color: var(--bs-body-color) !important;
}

.tempus-dominus-widget.light .date-container-days div:not(.no-highlight):hover, .tempus-dominus-widget.light .toolbar div:hover, .tempus-dominus-widget.light .date-container-days div:not(.no-highlight):hover, .tempus-dominus-widget.light .date-container-decades div:not(.no-highlight):hover, .tempus-dominus-widget.light .date-container-months div:not(.no-highlight):hover, .tempus-dominus-widget.light .date-container-years div:not(.no-highlight):hover, .tempus-dominus-widget.light .time-container-clock div:not(.no-highlight):hover, .tempus-dominus-widget.light .time-container-hour div:not(.no-highlight):hover,
.tempus-dominus-widget.light .time-container-minute div:not(.no-highlight):hover,
.tempus-dominus-widget.light .time-container-second div:not(.no-highlight):hover {
    background-color: var(--bs-light) !important;
}

.tempus-dominus-widget.light .date-container-days div:not(.no-highlight, :hover).active {
    color: white !important;
}

.accordion-button-left::after {
    order: -1;
    margin-right: 1.5rem;
    margin-left: 0
}

.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    color: #50a5f1;
    background-color: rgba(80, 165, 241, .30) !important;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 2px;
}

.label-soft {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    color: #34c38f;
    background-color: rgba(40, 167, 69, 0.25) !important;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 2px;
}

.hide {
    display: none !important;
}

#cart-menu button:not(#button-more) {
    width: 80px;
}

/* Buttons width */
.btn-w-4 {
    width: 4rem;
}

.btn-w-6 {
    width: 6rem;
}

.btn-w-8 {
    width: 8rem;
}

.btn-w-10 {
    width: 10rem;
}

.btn-w-12 {
    width: 12rem;
}

.btn-w-14 {
    width: 14rem;
}

.btn-w-16 {
    width: 16rem;
}

.btn-w-18 {
    width: 18rem;
}

.btn-w-20 {
    width: 20rem;
}

.custom-table-fixed {
    table-layout: fixed;
    width: 100%;
}

.custom-table-fixed th, .custom-table-fixed td {
    width: 20%;
}

.font-weight-700 {
    font-weight: 700;
}

.font-size-26 {
    font-size: 26px!important;
}

.modal-keyboard {
    width: 40%;
    margin: 0 auto;
}

label.required:after {
    content: " *";
    color: red;
}

.form-check-label:after {
    content: "" !important;
}
.ts-wrapper.form-select {
    display: flex !important;
}

.ts-wrapper.form-select > .ts-control {
    border: none!important;
    padding: unset !important;
    box-shadow: none !important;
    background: none !important;
}

.ts-wrapper.form-select > .ts-control,
.ts-wrapper.form-select > .ts-control input,
.ts-wrapper.form-select > .ts-dropdown {
    font-size: .8125rem !important;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
}

.ts-wrapper.form-select > .ts-control {
    font-size: .8125rem !important;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
}

.ts-wrapper.form-select > .ts-control > .clear-button {
    right: calc(8px - 6px)!important;
}

.form-floating-btn {
    height: calc(3.5rem + 2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

table.table.dataTable.table-hover>tbody>tr:hover>* {
    box-shadow: none !important;
    background-color: var(--bs-table-hover-bg);
    color: var(--bs-table-hover-color);
}

.orange-900 {
    background-color: #e65100;
}