.challan_main {
    padding-top: 10px;
    padding-right: 5px;
    padding-left: 7px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: small;
    background-color: rgb(247, 243, 237);
    margin-top: 30px;
}

.challan_main:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);

}

/* main heading  */

h4 {
    display: grid;
    grid-template-columns: minmax(50px, 1fr) auto minmax(50px, 1fr);
    align-items: center;
    text-align: center;
    gap: 40px;
    font-size: medium;
}

h4::before,
h4::after {
    content: "";
    border-top: 6px double;
}

@media (max-width: 400px) {
    h4 {
        font-size: 2.5rem;
    }
}


.fl-table {
    border-radius: 5px;
    font-size: 15px;
    font-weight:normal;
    border: none;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    background-color: rgba(231, 226, 226, 0.301);
    
 
}

.fl-table td{
    text-align: right;
    padding: 8px;
    font-weight: bold;

}
.fl-table th {
    text-align: right;
    padding: 8px;
    position: sticky;
    top:0
   
   
  
}

.fl-table td {
    border-right: 2px solid #f8f8f8;
    font-size: 12px;
}

.fl-table thead th {
    color: #ffffff;
    background: #2b6e6e;
}

.fl-table thead th:nth-child(odd) {
    color: #ffffff;
    background: #324960;
}

.fl-table tr:nth-child(even) {
    background: #f8f8f8;
}

@media (max-width: 767px) {
    .fl-table {
        display: block;
        width: 100%;
    }
    .table-wrapper:before {
        content: "Scroll horizontally >";
        display: block;
        text-align: right;
        font-size: 11px;
        color: white;
        padding: 0 0 10px;
    }
    .fl-table thead,
    .fl-table tbody,
    .fl-table thead th {
        display: block;
    }
    .fl-table thead th:last-child {
        border-bottom: none;
    }
    .fl-table thead {
        float: left;
    }
    .fl-table tbody {
        width: auto;
        position: relative;
        overflow-x: auto;
    }
    .fl-table td,
    .fl-table th {
        padding: 20px 0.625em 0.625em 0.625em;
        height: 60px;
        vertical-align: middle;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        width: 120px;
        font-size: 13px;
        text-overflow: ellipsis;
        position: sticky;
    }
    .fl-table thead th {
        text-align: left;
        border-bottom: 4px solid#474545;
    }
    .fl-table tbody tr {
        display: table-cell;
    }
    .fl-table tbody tr:nth-child(odd) {
        background: none;
    }
    .fl-table tr:nth-child(even) {
        background: transparent;
    }
    .fl-table tr td:nth-child(odd) {
        background: #bbbbbb;
        border-right: 4px solid #474545;
    }
    .fl-table tr td:nth-child(even) {
        border-right: 4px solid #474545;
    }
    .fl-table tbody td {
        display: block;
        text-align: right;
    }
    
}

ul {
    counter-reset: checked;
  }
  
  td input:checked {
    counter-increment: checked;
  }
  
  .count:after {
    content: counter(checked);
  }
