@media (max-width: 767px) {
    .sidebar-brand img {
        width: 50%;
        height: auto;
        margin-top: 0;
        margin-left: 10px;
    }

    .sidebar .sidebar-header .sidebar-toggler {
        cursor: pointer;
        width: 80px;
    }

    h1 {
        font-size: 17px;
    }

    h2, .h2 {
        font-size: 25px;
    }
    
    .btn-primary.blk-inv {
        padding: 10px;
        font-size: 14px;
    }

    .table td img {
        width: 60%;
        height: auto;
    }

    .download-pdf a {
        color: #151519;
        font-size: 15px;
    }

    .input-group-text i {
        font-weight: 600;
        font-size: 16px;
    }

    /* .table tr {
        border-bottom: 2px solid rgb(72, 70, 70);
    } */

    table thead {
        display: none;
    }

    table tr {
        /* display: block; */
        border-top: 2px solid lightgray;
        text-align: left;
    }
    .table tbody td.align-middle {
        line-height: 80px;
    }

    .table tbody td {
        display: block;
        text-align: left;
        max-width: none !important;
        width: 100% !important;
        text-align: left;
        float: left;
        border-right: 0;
    }

    .outstanding-collections-table tbody td {
        padding-left: 15px !important;
    }

    .table td:first-child {
        border-top: 1px solid #000 !important;
    }

    .users-table td:first-child {
        border-top: 0!important;
    }

    .users-table td:last-child {
        border-bottom: 2px solid #495057 !important;
    }

    table td:before {
        content: attr(data-label);
        display: block;
        width: 100%; 
        font-weight: 700;
        text-align: left;
        margin-bottom: 10px;
    }

    .table-action i, .table-action i:hover {
        color: #000;
        font-size: 20px !important;
        width: auto;
        display: inline-block;
        vertical-align: middle;
        line-height: 30px;
        text-align: left !important;
    }

    .table-action, .table-action:hover {
        color: #000;
        text-align: left!important;
        margin-right: 13px;
    }

    #gas-container p>span, .supplier-sku-data-card h4>span {
        width: 100%;
        display: block;
        text-align: left!important;
        float: left!important;
    }

    .med-card::-webkit-scrollbar, .short-card::-webkit-scrollbar, .lrg-card::-webkit-scrollbar {
        background-color: transparent;
    }

    .close-icon {
        right: 15px;
    }

    hr {
        margin: 20px 0;
    }

    .med-card {
        padding-right: 2px;
    }

    .med-card::-webkit-scrollbar, .short-card::-webkit-scrollbar, .lrg-card::-webkit-scrollbar {
        width: 5px;
    }

    .med-card::-webkit-scrollbar-thumb, .short-card::-webkit-scrollbar-thumb, .lrg-card::-webkit-scrollbar-thumb {
        background-color: #231F20;
        outline: none;
        border-radius: 5px;
    }

    .modal {
        position: fixed;
        top: 15%;
        left: auto;
        z-index: 999999;
        display: none;
        width: 100%;
        height: 100%;
        overflow: hidden;
        outline: 0;
    }

    .modal.show .modal-dialog {
        transform: none;
        margin: auto;
    }

    .modal-content {
        width: 85%;
        margin: auto;
        z-index: 9999999999;
    }

    .canvas-div, canvas, iframe {
        height: auto!important;
        width: 100%!important;
    }

    .lrg-numbers {
        min-height: 150px;
        margin-bottom: 30px;
    }

    .lrg-numbers h5 {
        font-size: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .dashboard-blocks .card-body h4 {
        line-height: 30px;
    }

    .dashboard-blocks .card-body .h6 {
        font-size: 14px;
    }

    .sidebar {
        width: 240px!important;
        height: 100%;
        position: fixed;
        left: 50px!important;
        visibility: visible;
        margin-left: -253px;
    }

    .sidebar-folded:not(.open-sidebar-folded) .sidebar {
        width: 70px;
    }

    .main-wrapper .page-wrapper {
        margin-left: 40px;
        width: 94%;
    }

    .sidebar .sidebar-header {
        height: 60px;
        padding: 0 12px 0 20px;
        width: 240px;
    }

    .sidebar .sidebar-header .sidebar-toggler {
        cursor: pointer;
        width: 60px;
    }

    .sidebar-open .sidebar {
        margin-left: -50px;
    }

    .sidebar-brand img {
        width: 55%;
    }

    .table thead th {
        font-size: 14px;
        font-weight: 500;
        max-width: 100px !important;
        text-wrap: auto;
    }

    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        border-collapse: collapse;
    }

    td {
        text-wrap: auto;
    }

    .table-actions {
        text-align: center;
    }

    .download-link {
        line-height: 50px;
    }

    .download-link i {
        font-size: 15px;
        vertical-align: middle;
        padding-right: 5px;
    }

    .table .download-link {
        line-height: 20px;
        font-size: 11px;
    }

    .dashboard-blocks h4>span, .supplier-sku-data-card h4>span {
        width: 100%;
        display: block;
        text-align: left!important;
        float: left!important;
    }

    .canvas-div, canvas, iframe {
        height: auto!important;
        width: 100%!important;
    }

    .lrg-numbers h5 {
        font-size: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .sidebar-brand img {
        width: 70%!important;
    }

    .table-actions {
        text-align: center;
    }

    .table thead th {
        font-size: 14px;
        font-weight: 500;
        max-width: 100px !important;
        text-wrap: auto;
    }

    .canvas-div, canvas {
        height: auto!important;
        width: 100%!important;
    }

    .sidebar-dark.sidebar-folded .brand-logo {
        text-align: center;
        margin: auto;
        display: none;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    h4, .h4 {
        font-size: 18px;
    }

    .sidebar-brand img {
        width: 60%;
    }

    .sidebar .sidebar-header .sidebar-toggler {
        cursor: pointer;
        width: 90px;
    }

    .table-action, .table-action:hover {
        margin-right: 6px;
    }

    .table-actions {
        text-align: center;
        min-width: 130px;
    }

    .table thead th {
        font-size: 14px;
        font-weight: 500;
        max-width: 100px !important;
        text-wrap: auto;
    }

    .canvas-div, canvas, iframe {
        height: auto!important;
        width: 100%!important;
    }
}
@media (min-width: 1390px) and (max-width: 1600px) {
    .canvas-div, canvas, iframe {
        height: auto!important;
        width: 100%!important;
    }

}