@media (max-width: 767px) {
    h1 {
        font-size: 17px;
    }
    
    .btn-primary.blk-inv {
        padding: 10px;
        font-size: 14px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 7px 10px 0 rgba(183, 192, 206, 0.2);
    }

    .navbar-collapse a, .navbar-collapse i {
        color: #000;
    }

    .navbar-toggler {
        float: right;
        text-align: right;
    }

    .header {
        background-color: #fff;
        padding: 10px 0;
    }

    .header-socials i {
        line-height: normal;
    }

    .navbar-toggler {
        padding: 0 20px;
        /* font-size: 40px; */
        line-height: 1;
        color: #000;
        background-color: transparent;
        border: 0;
        border-radius: 0;
    }

    .navbar-toggler i {
        color: #000;
        font-size: 30px;
    }

    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        box-shadow: none;
        border: 0;
    }

    .navbar {
        padding: 0 10px;
    }

    .navbar-nav {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border: 0;
    }

    .navbar .navbar-content .navbar-nav {
        display: block;
    }

    .navbar .navbar-content .navbar-nav .nav-item {
        position: relative;
        margin-left:0px;
        margin-right: 0;
        display: -webkit-flex;
        display: block;
        -webkit-align-items: center;
        align-items: center;
        font-size: 15px;
        min-width: 100%;
        line-height: initial;
    }

    .navbar .navbar-content .navbar-nav .nav-item .nav-link {
        color: #535353;
        padding: 0;
        display: block;
        margin-bottom: 10px;
    }

    .navbar .navbar-content .navbar-nav .nav-item.active .nav-link {
        padding-bottom: 0px;
        vertical-align: middle;
        display: inline-block;
    }

    .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;
        padding-left: 0px !important;
        width: 100% !important;
        min-height: auto;
        text-align: left;
        float: left;
        border-right: 0;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .outstanding-collections-table tbody td {
        padding-left: 15px !important;
    }

    .table td:first-child {
        border-top:2px solid #495057 !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 {
        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;
    }

    .media {
        margin-bottom: 20px;
    }

    .red-icon i {
        font-size: 30px;
        line-height: 55px;
    }

    .card .card-body {
        padding: 0;
    }

    .login img {
        width: 90%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar .navbar-content {
        width: 100%;
    }

     .navbar-collapse {
        position: absolute;
        top: 115%;
        left: auto;
        right: 0;
        width: 50%;
        background-color: #fff;
        box-shadow: 0 7px 10px 0 rgba(183, 192, 206, 0.2);
    }

    .navbar-collapse a, .navbar-collapse i {
        color: #000;
    }

    .header-socials i {
        line-height: normal;
    }

    .navbar-toggler {
        padding: 0 20px;
        /* font-size: 40px; */
        line-height: 1;
        color: #000;
        background-color: transparent;
        border: 0;
        border-radius: 0;
        text-align: right;
        float: right;
    }

    .navbar-toggler i {
        color: #000;
        font-size: 30px;
    }

    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        box-shadow: none;
        border: 0;
    }

    .navbar {
        padding: 0 10px;
    }

    .navbar-nav {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border: 0;
    }

    .navbar .navbar-content .navbar-nav {
        display: block;
    }

    .navbar .navbar-content .navbar-nav .nav-item {
        position: relative;
        margin-left:0px;
        margin-right: 0;
        display: -webkit-flex;
        display: block;
        -webkit-align-items: center;
        align-items: center;
        font-size: 15px;
        min-width: 100%;
        line-height: initial;
    }

    .navbar .navbar-content .navbar-nav .nav-item .nav-link {
        color: #535353;
        padding: 0;
        display: block;
        margin-bottom: 10px;
    }

    .navbar .navbar-content .navbar-nav .nav-item.active .nav-link {
        padding-bottom: 0px;
        vertical-align: middle;
        display: inline-block;
    }

    .main-wrapper .page-wrapper {
        margin-left: -0.75rem;
    }

    .red-icon i {
        font-size: 30px;
        line-height: 50px;
    }
}