#sale_details ~ button.btn.btn-info {
    font-size: 22pt;
    padding: 1px 0;
    width: 40px;
    line-height: normal;
    margin-right: 5px;
}
input[type="number"].form-control {
    padding-right: 0;
}
.promo-list {
    padding: 0 10px;
    max-height: 215px;
    overflow-y: auto;
}
.promo-list::-webkit-scrollbar {
    width: 7px;
}

.promo-list::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.promo-list::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}
div#promo-sale {
    position: absolute;
    width: calc(25% - 25px);
    right: 15px;
    top: 10px;
}
div#button-list-sale {
    background: #17a2b8;
    width: 50px;
    height: 50px;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    right: 40px;
    z-index: 1;
    border-radius: 5px 5px 0 0;
    font-size: 14pt;
    box-shadow: 0 0 11px rgb(0 0 0 / 20%);
}
div#list-product-sale:hover div#total-item {
    top: 30px;
}
div#list-product-sale:hover {
    transform: translateY(0);
    padding: 30px 30px 20px;
}
div#total-item {
    position: absolute;
    right: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
    display: flex;
    transition: all 0.5s ease;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    top: 19px;
    z-index: 2;
}
@media only screen and (min-width: 600px) {
    #sale_details .row > div:nth-child(1) {
        flex: 0 0 30%;
        max-width: 30%;
    }
    #sale_details .row > div:nth-child(2) {
        max-width: 12%;
        flex: 0 0 12%;
    }
    #sale_details .row > div:nth-child(3) {
        max-width: 8%;
        flex: 0 0 8%;
    }
    #sale_details .row > div:nth-child(4) {
        max-width: 16%;
        flex: 0 0 16%;
    }
    #sale_details .row > div:nth-child(5) {
        max-width: 10%;
        flex: 0 0 10%;
    }
    #sale_details .row > div:nth-child(6) {
        max-width: 14%;
        flex: 0 0 14%;
    }
    #sale_details .row > div:nth-child(7) {
        max-width: 10%;
        flex: 0 0 10%;
    }
}
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
    top: 50%;
    left: 5px;
    height: 1em;
    width: 1em;
    margin-top: -9px;
    display: block;
    position: absolute;
    color: white;
    border: 0.15em solid white;
    border-radius: 1em;
    box-shadow: 0 0 0.2em #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: "Courier New", Courier, monospace;
    line-height: 1;
    content: "" !important;
    background-color: #0275d8;
    transform: rotate(180deg);
}
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:after,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:after {
    content: "";
    position: absolute;
    left: 11.5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    color: #000;
    line-height: 1;
    z-index: 1;
    width: 7px;
    height: 7px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:after,
table.dataTable.dtr-inline.collapsed
    > tbody
    > tr.parent
    > th.dtr-control:after {
    margin-top: 3px;
    transform: translateY(-50%) rotate(225deg);
}
div#list-product-sale h3 {
    font-weight: bold;
    font-size: 18pt;
}
div#list-product-sale {
    position: fixed;
    bottom: 0;
    right: 40px;
    background: #fff;
    width: 400px;
    padding: 20px 30px 30px;
    box-shadow: 0 0 11px rgb(0 0 0 / 10%);
    transition: all 0.5s ease;
    border-radius: 30px 30px 0 0;
    transform: translateY(calc(100% - 68px));
    border: 2px solid #007bff;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
}
/* width */
div#list-product-sale::-webkit-scrollbar {
    width: 10px;
}

/* Track */
div#list-product-sale::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
div#list-product-sale::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
div#list-product-sale::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.table td,
.table th {
    padding: 0.75rem;
    vertical-align: top;
    border-bottom: 1px solid #dee2e6;
    border-top: 0;
}
.list-total-sale td {
    padding: 9px 0px;
}
div#item-list td {
    padding: 9px 0px;
}
div#item-list {
    max-height: calc(90vh - 350px);
    overflow-y: auto;
}
/* width */
div#item-list::-webkit-scrollbar {
    width: 10px;
}

/* Track */
div#item-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
div#item-list::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
div#item-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}
div#purchase_details ~ button,
#details ~ button {
    /*width: 39px;
    font-size: 22pt;
    padding: 0;
    line-height: normal;
    margin-right: 7px;
    */
}

@media (max-width: 767px) {
    .content-wrapper {
        padding: 10px 10px !important;
    }
    #purchase_details > .row:last-child,
    #details > .row:last-child {
        border: 0 !important;
    }
    #purchase_details > .row,
    #details > .row {
        border-bottom: 1px solid #dee2e6 !important;
        padding-top: 15px;
    }
    aside.main-sidebar {
        min-height: auto !important;
        max-height: 100vh;
        overflow-y: auto;
    }
    .content-wrapper {
        min-height: calc(100vh - 115px) !important;
    }
    .number_itt {
        position: relative !important;
        margin-left: 6px !important;
        margin-top: -10px !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
        border-radius: 50%;
    }
}
