*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
nav{
    background-color: rgb(42, 42, 42);
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav h1{
    font-size: 2rem;
}
nav a{
    text-decoration: none;
    display: inline-block;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
}
nav a img{
    width: 30px;
}
nav button{
    background-color: transparent;
    border: none;
    padding: 7px;
}
nav button:hover{
    border-radius: 50%;
    background-color: rgb(84, 84, 84);
}
nav button img{
    width: 35px;
}
nav .maindropdown{
    position: absolute;
    top:75px;
    right: 0px;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 0 5px grey;
    min-width: 150px;
    text-align: center;
    display: none;
    z-index: 5;
    overflow: hidden;
}
nav .maindropdown a{
    color: black;
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    width: 150px;
    justify-content: flex-start;
    text-align: left;
    border-radius: 0px;
}
nav .maindropdown a:hover{
   border-left: 10px solid rgb(84, 84, 84);
}
nav .maindropdown a img{
    width: 20px;
}
nav div{
    display: flex;
    align-items: center;
    gap: 10px;
}
nav .searchinp{
    position: relative;
}
nav .searchinp input{
    background-color: rgb(84, 84, 84);
    border-radius: 12px;
    box-shadow: inset 0 0 5px lightgrey;
    padding: 10px;
    margin: 5px;
    width: 300px;
    color: white;
    font-weight: bold;
    outline: none;
}
nav .searchresult{
    position: absolute;
    top: 100%;
    right: 0px;
    border-radius: 10px;
    min-width: 300px;
    max-height: 300px;
    overflow-y: auto;
    background-color: rgb(84, 84, 84);
    box-shadow: 0 0 5px grey;
    z-index: 8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translate(-3px, -8px);
    scrollbar-width: thin;
}
nav .searchresult a{
    background-color: transparent;
    font-weight: bold;
    color: whitesmoke;
    padding: 10px;
}
.searchresult p{
    padding: 10px;
    margin: 5px;
}


.toptab{
    display: flex;
    grid-template-columns: 50% 50%;
    justify-content: center;
    background-color: rgb(84, 84, 84);
}
.toptab a{
    width: 100%;
    display: block;
    text-decoration: none;
    color: black;
    padding: 10px;
    margin: 10px;
    font-size: 1.25rem;
    text-align: center;
    box-shadow: 0 0 5px lightgrey;
    border-radius: 10px;
    background-color: white;
}
.toptab .activetab{
    border-radius: 0px;
    box-shadow: inset 0 5px 5px lightgrey;
    transform: translate(0px, 12px);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 900;
}


.centerbox{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 50px;
    background-color: rgb(42, 42, 42);
    border-radius: 20px;
    color: white;
}
.centerbox h3{
    font-size: 2rem;
    font-weight: bold;
}
.centerbox input{
    padding: 10px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    box-shadow: inset 0 0 5px grey;
    width: 300px;
}
.centerbox button{
    background-color: white;
    color: black;
    font-weight: 900;
    margin: 10px;
    padding: 10px 30px;
    border-radius: 25px;
}

.landscapepage{
    padding: 30px;
    padding-top: 5px;
    position: relative;
    height: 85vh;
    overflow: auto;
}


.dashpage{
    display: grid;
    grid-template-columns: 15% 84%;
    gap: 10px;
    background-color: whitesmoke;
}
.sidepanel{
    background-color: white;
    box-shadow: 0 0 5px grey;
    background-color: rgb(84, 84, 84);
    border-bottom-right-radius: 20px;
    height:90vh;
    overflow: hidden;
}
.sidepanel a{
    text-decoration: none;
    padding: 10px;
    color: white;
    font-weight: bold;
    /* border-bottom: 1px solid white; */
    display: block;
}
.sidepanel .activetab{
    background-color: rgb(42, 42, 42);
}
.sidepanel a p{
    margin: 5px;
}
.mainpanel{
    margin: 10px;
}


.flexdiv{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}
.flexdiv .look{
    display: flex;
    gap: 10px;
    align-items: center;
}
.look a{
    color: black;
}
.flexdiv hr{
    height: 30px;
    margin: 10px;
    color: black;
}
.flexdiv h3{
    font-weight: bold;
}
.flexdiv a{
    text-decoration: none;
    display: inline-block;
    background-color: rgb(231, 231, 231);
    padding: 5px;
    border-radius: 5px;
}
.flexdiv a img{
    width: 20px;
}
.flexdiv button{
    text-decoration: none;
    display: inline-block;
    background-color: rgb(231, 231, 231);
    padding: 5px;
    border-radius: 5px;
    border: none;
}
.flexdiv button img{
    width: 20px;
}
.ocrdet{
    border: 0.5px solid lightgrey;
    padding: 10px;
    border-radius: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
    background-color: white;
}
.ocrdet img{
    width: 120px;
}
.ocrdet td{
    padding: 5px;
}



.gridlook{
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    gap: 10px;
}
.gridlook .buybox{    
    background-image: linear-gradient( rgb(231, 231, 231), rgb(255, 255, 255));
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgb(84, 84, 84);
    min-height: 125px;
    align-content: center;
}
.gridlook .buybox:hover{
    background-image: linear-gradient(rgb(255, 255, 255), rgb(231, 231, 231));
    color: white;
    box-shadow: 0 0 5px grey;
    border: none;
}
.gridlook .buybox a{
    display: block;
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 25px;
}
.gridlook .actbtnhold{
    display: none;
    gap: 10px;
    justify-content: center;
}
.gridlook .buybox:hover .actbtnhold{
    display: flex;
}

.gridlook .actbtnhold a{
    text-decoration: none;
    display: inline-block;
    background-color: whitesmoke;
    padding: 3px;
    margin: 5px;
    border-radius: 5px;
    box-shadow: 0 0 5px grey;
    border: 0.5px solid lightgrey;    
}
.gridlook .actbtnhold a:hover{
    box-shadow: none;
}
.gridlook .actbtnhold a img{
    width: 18px;
}
.gridlook .actbtnhold button{
    text-decoration: none;
    display: inline-block;
    background-color: whitesmoke;
    padding: 3px;
    margin: 5px;
    border-radius: 5px;
    box-shadow: 0 0 5px grey;
    border: 0.5px solid lightgrey;
}
.gridlook .actbtnhold button img{
    width: 18px;
}
.gridlook .actbtnhold button:hover{
    box-shadow: none;
}

.datetray{    
    display: flex;
    gap: 10px;
    margin: 8px;
    padding: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}
.datetray a{
    text-decoration: none;
    display:block;
    background-color: rgb(84, 84, 84);
    color: white;
    padding: 8px;
    border-radius: 8px;
    font-weight: bold;
    width: max-content;
}
.datetray a.selecteddate{
    font-size: 1.2rem;
    background-color: white;
    color: black;
    box-shadow: 0px -2px 3px grey;
    transform: translate(0px, 8px);
}
.ordersection{
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}
.dateheader{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: rgb(84, 84, 84);
    color: white;
}
.dateheader button{
    border-radius: 50%;
    border: none;
    padding: 5px;
}
.dateheader button img{
    width: 20px;
}

.datatable{
    border-radius: 10px;
    overflow: hidden;
}
.datatable table{
    width: 100%;
    border-collapse: collapse;    
}
.datatable table tr th{
    min-width: max-content;
    text-align: left;
}
.datatable table tr th .orderimg{
    width: 120px;
}
.datatable table tr td{
    min-width: max-content;
    position: relative;
}

.datatable th{
    background-color: rgb(42, 42, 42);
    color: white;
    padding: 8px;
    text-align: center;
}
.datatable td{
    padding: 5px;
    text-align: left;
    background-color: white;
}
.ordertable{    
    scrollbar-width: thin;    
    overflow-x: scroll;
}
.ordertable td{
    border: 0.5px solid lightgrey;
}
.ordertable td a{
    color: black;
    margin: 3px;
}
.ordertable td button{
    margin: 3px;
    font-size: 1rem;
    text-align: left;
}
.datatable tbody tr .fixed{
    background-color: rgb(84, 84, 84);
    color: white;
    position: sticky;
    left: 0;
}
.datatable tbody tr .fixed p{
    text-align: left;
    margin: 3px;
}
.datatable tbody th:first-child{
    position: sticky;
    left: 0;
    z-index: 3;
    text-align: left;
    width: 8%;
}
.datatable thead th:first-child{
    position: sticky;
    left: 0;
    z-index: 3;
    background-color: rgb(42, 42, 42);
}
.datatable thead th:last-child{
    position: sticky;
    right: 0;
    z-index: 3;
    background-color: rgb(42, 42, 42);
}
.datatable tbody td:last-child{
    position: sticky;
    right: 0;
    z-index: 3;
    width: 8%;
}
/* .datatable tbody td:last-child a{
    margin: 8px;
    padding: 5px;
    border-radius: 5px;
    box-shadow: none;
    color: black;
    font-weight: bold;
    font-size: 0.8rem;
} */
.datatable td .actqtybtn{
    position: absolute;
    top: 5px;
    right: 5px;
}
.datatable td a{
    text-decoration: none;
    display: inline-block;
    background-color: whitesmoke;
    padding: 3px;
    border-radius: 5px;
    box-shadow: 0 0 5px grey;
    border: 0.5px solid lightgrey;    
}
.datatable td a:hover{
    box-shadow: none;
}
.datatable td a img{
    width: 18px;
}
.datatable td .actqtybtn span{
    display: none;
    position: absolute;
    top: 0px;
    left: 100%;
    z-index: 8;
    padding: 3px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 5px lightgrey;
    border: 0.5px solid lightgrey;
}
.datatable td .actqtybtn:hover span{
    display: block;
}

.datatable td button{
    text-decoration: none;
    display: inline-block;
    background-color: whitesmoke;
    padding: 3px;
    border-radius: 5px;
    box-shadow: 0 0 5px grey;
    border:  0.5px solid lightgrey;
}
.datatable td button:hover{
    box-shadow: none;
}
.datatable td button img{
    width: 18px;
}
.datatable tbody td.lastcell{
    text-align: right;
    padding-right: 20px;    
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: end;
    width: 100%;
}

.datatable td .dcdet{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    background-color: rgb(92, 151, 47);
    border-radius: 5px;
}
.datatable td .dcdet .dcname{
    box-shadow: none;
    border: none;
    background-color: transparent;
    color: white;
    font-weight: bold;
    width: max-content;
    font-size: 0.9rem;
}
.datatable td .dcdet .dcname:hover{
    text-decoration: underline;
}
.datatable td .dcdet a{
    color: black;
    font-size: 0.8rem;
    width: max-content;
}
.datatable td .aname{
    color: black;
    box-shadow: none;
    background-color: transparent;
    border: none;
}
.datatable td .billqty{
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.datatable td .billqty img{
    width: 20px;
}
.datatable td .billqty span{
    display: none;
    position: absolute;
    top: 0px;
    left: 50%;
    z-index: 8;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 5px lightgrey;
    padding: 5px;
    width: 200px;
    height: max-content;
}
.datatable td .billqty:hover span{
    display: block;
}
.datatable tr.shipped{
    background-color: palegreen;
}
.datatable tr.shipped td{
    background-color: transparent;
}
.datatable tr.shipped td:last-child{
    background-color: white;
}
.datatable .pagination{
    background-color: transparent;
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.datatable .pagination a{
    text-decoration: none;
    color: white;
    background-color: #313638;
    padding: 8px;
    border-radius: 5px;    
    align-items: center;
}

.repqtytable{
    border-radius: 10px;
    border-top: 0.5px solid black;
    overflow: hidden;
    margin-bottom: 10px;
}
.repqtytable table{
    width: 100%;
    border-collapse: collapse;
    
}
.repqtytable td{
    text-align: center;
    padding: 5px;
    border: 0.5px solid black;
}
.repqtytable th{
    text-align: center;
    padding: 5px;
    background-color: grey;
    color: white;

}

.hiddenelement{
    display: none;
}
.errspan{
    font-size: 0.8rem;
    color: red;
}
.formelement{
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 5px grey;
}
.formelement td{
    padding: 5px;
    text-align: left;
}
.formelement td:first-child{
    text-align: right;
}

.formelement .verti{
    vertical-align: top;
    padding-top: 20px;
}
.formelement input{
    padding: 10px;
    width: 300px;
    border-radius: 5px;
    border: none;
    box-shadow: inset 0 0 5px grey;
}
.formelement input[type='checkbox']
{
    width: 20px;
    height: 20px;
}
.formelement input[type='radio']
{
    width: 20px;
    height: 20px;
}
.formelement input[type='file']
{
    box-shadow: none;
}
.formelement input:read-only{
    opacity: 0.3;
    outline: none;
}
.formelement select{
    padding: 10px;
    width: 300px;
    border-radius: 5px;
    border: none;
    box-shadow: inset 0 0 5px grey;
}
.formelement select:disabled{
    opacity: 0.5;
    outline: none;
}
.formelement textarea{
    padding: 10px;
    border-radius: 5px;
    border: none;
    box-shadow: inset 0 0 5px grey;
    width: 300px;
    height: 150px;
}
.formelement button{
    background-color: black;
    color: white;    
    font-size: 15px;
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
}
.formelement a{
    text-decoration: none;
    display: inline-block;
    background-color: black;
    color: white;    
    font-size: 15px;
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
}
.formelement .sizeholder{
    display: flex;
    gap: 10px;
}
.formelement .sizeholder p{
    background-color: rgb(84, 84, 84);
    color: white;
    padding: 10px;
    border-radius: 10px;
}
.formelement .topvertd{
    vertical-align: top;
}
.formelement .editordimg{
    width: 150px;
}
.formelement .searchinp{
    position: relative;
}
.formelement .searchinp input{
    padding: 10px;
    width: 300px;
    border-radius: 5px;
    border: none;
    box-shadow: inset 0 0 5px grey;
}
.formelement .searchresult{
    position: absolute;
    top: 100%;
    right: 0px;
    border-radius: 10px;
    min-width: 300px;
    max-height: 300px;
    overflow-y: auto;
    background-color: rgb(84, 84, 84);
    box-shadow: 0 0 5px grey;
    z-index: 8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translate(-3px, -8px);
    scrollbar-width: thin;
}
.formelement .searchresult a{
    background-color: transparent;
    font-weight: bold;
    color: whitesmoke;
    padding: 10px;
}
.formelement .chosenlabel{
    width: 120px;
}
.datatable{
    width: 100%;
    border-collapse: collapse;
}
.datatable td input{
    width: 100%;
    min-width: 100px;
}

.formpage{
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(211, 211, 211, 0.5);
    z-index: 6;
}
.formpage .formelement{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 25px;
    text-align: center;
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: thin;
}
.gridimghold{
    display: flex;
    gap: 20px;
    align-items: start;
    margin: 10px auto;
    max-width: 1000px;
    height: 60vh;
    flex-wrap: wrap;
    justify-content: center;
}
.gridimghold div{
    position: relative;
}
.gridimghold div img{
    width: 150px;
}
.gridimghold div .imgact{
    position: absolute;
    top: 5px;
    right: 5px;

}

.bckbtn{
    background-color: black;
    color: white;
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    padding: 8px;
    margin: 3px;
}
.hiddenwarn{
    display: none;
    color: red;
    opacity: 0.6;
}
.generatepage{
    padding: 10px;
    border-radius: 10px;
}
.dcsec{    
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 0 5px lightgrey;
}
.dcsec .flexdiv{
    background-color: rgb(84, 84, 84);
    color: white;
    padding: 10px;
}
.dcsec .dcholder{
    padding: 10px;
}
.dcsec .dcholder table{
    width: 100%;
    border-collapse: collapse;
}
.dcsec .dcholder table th{
    background-color: rgb(42, 42, 42);
    color: white;
    padding: 8px;
}
.dcsec .dcholder table td{
    padding: 8px;
    text-align: center;
    background-color: white;
    border: 0.5px solid lightgrey;
}
.dcsec .dcholder table td a{
    background-color: white;
    color: black;
    text-decoration: none;
    border: 0.5px solid lightgrey;
    padding: 5px;
    border-radius: 5px;
}
.dcsec .dcholder table td input{
    width: 100%;
}
.dcsec .dcholder table td select{
    width: 100%;
}
.generatepage .excessqty{
    color: red;
    text-align: center;
}



.createtable{
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
    display: none;
    border-collapse: collapse;
    box-shadow: 0 0 5px lightgrey;
    width: 100%;
}
.createtable td{
    padding: 5px;
    background-color: white;
    border-bottom: 0.5px solid lightgrey;
}
.createtable th{
    background-color: rgb(84, 84, 84);
    color: white;
    padding: 8px;
}
.createtable .lastcell{
    text-align: right;
}
.createtable input{
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: none;
    box-shadow: inset 0 0 5px grey;
}
.createtable input[type='checkbox']
{
    width: 20px;
    height: 20px;
}
.createtable input[type='file']
{
    box-shadow: none;
}
.createtable select{
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: none;
    box-shadow: inset 0 0 5px grey;
}
.createtable button{
    background-color: whitesmoke;
    font-size: 15px;
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    box-shadow: 0 0 5px lightgrey;
}
.createtable td button img{
    width: 20px;
}


.finalbtn{
    text-align: center;
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, 0%);
    background-color: white;
    width: 100%;
    box-shadow: 0 0 5px grey;
}
.finalbtn button{
    background-color: rgb(42, 42, 42);
    color: white;
    font-weight: bold;
    font-size: 25px;
    border-radius: 5px;
    padding: 8px;
    margin: 10px;
}
.finalbtn button:disabled{
    opacity: 0.5;
}
button:disabled{
    opacity: 0.5;
}

.route{
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 8;
}
.route a{
    display: inline-block;
    text-decoration: none;
    color: black;
    font-size: 0.8rem;
    margin: 5px 10px;
}
.route a:hover{
    text-decoration: underline;
}


.pagenums{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.pagenums a{
    text-decoration: none;
    background-color: rgb(84, 84, 84);
    color: white;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
}
.pagenums .active{
    background-color: rgb(42, 42, 42);
    border: 2px solid rgb(84, 84, 84);
    color: white;
    padding: 10px;
}
.pagenums button{
    text-decoration: none;
    background-color: rgb(84, 84, 84);
    color: white;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
}
.pagenums button.active{
    background-color: rgb(42, 42, 42);
    border: 2px solid rgb(84, 84, 84);
    color: white;
    padding: 10px;
}


.searchdiv{
    width: 90%;
    display: flex;
    gap: 5px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 10px;
}
.searchdiv .inpdiv{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}
.searchdiv input{
    width: 300px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: inset 0 0 5px grey;
    border: none;
    outline: none;
    margin-right: 10px;
}
.searchdiv label{
    margin-left: 10px;
}
.searchdiv button{
    margin: 20px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
}
.search-container {
    position: relative;
    display: inline-block;
}
.search-container input {
    padding: 10px;
    margin: 10px;
    padding-left: 40px; /* Space for the icon */    
    outline: none;
    border-radius: 15px;
    border: none;
    box-shadow: inset 0 0 5px lightgrey;
    max-width: 300px;
    width: 100%;
    margin-top: 3px; 
}
.search-container select {
    padding: 10px;
    margin: 10px;
    padding-left: 40px; /* Space for the icon */    
    outline: none;
    border-radius: 15px;
    border: none;
    box-shadow: inset 0 0 5px lightgrey;
    max-width: 300px;
    width: 100%;
}
.inpdiv select {
    padding: 10px;
    margin: 10px; /* Space for the icon */   
    margin-top: 3px; 
    outline: none;
    border-radius: 15px;
    border: none;
    box-shadow: inset 0 0 5px lightgrey;
    max-width: 300px;
    width: 100%;
}
.inpdiv label{
    padding-left: 12px;
}
.search-icon {
    position: absolute;
    left: 15px;
    top: 40%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}
.searchresult{
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: 83%;
    right: 0%;
    z-index: 13;
    background-color: white;
    border-radius: 5px;
    padding: 3px;
    width: max-content;
}
.searchresult button{
    background-color: rgb(84, 84, 84);
    color: white;
    border-radius: 5px;
    border: none;
    padding: 8px;
    text-align: left;
}
.datesandsearch{
    display: grid;
    grid-template-columns: 80% 20%;
}
.expbtn{
   display: flex;
    gap: 10px;
    align-items: center; 
}
.expbtn:hover{
    background-color: lightgrey;
    border: none;
}
.expbtn img{
    width: 15px;
}




.openpo{
    padding: 5px;
    box-shadow: inset 0 0 5px grey;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
    margin: 5px 10px;
}
.openpo a{
    text-decoration: none;
    color: white;
    background-color: black;
    font-weight: bold;
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
}














.dcview *{
    font-family: 'Courier New', Courier, monospace;
}
.narrow{
    margin: 20px auto;
    max-width: 1000px;
}
.ocrpage{
    border: 0.5px solid lightgrey;
    padding: 5px;
    border-radius: 10px;
}
.ocrpage .datatable td{
    text-align: center;
}
.ocrpage .datatable td:first-child{
    text-align: left;
}
.dcview{            
    border-collapse: collapse;
    border: 0.5px solid black;
    background-color: white;    
    text-transform: uppercase;
}
.dcheader{
    display: flex;
    justify-content: space-between;
}
.dcheader p{    
    padding: 3px;
}
.ourdetail{
    border: 0.5px solid black;
    padding: 3px;
    border-left: none;
    border-right: none;
}
.ourdetail p{
    font-size: 0.8rem;
}
.ourdetail p b{
    font-size: 1.5rem;
}
.knitdet{
    border: 0.5px solid black;
    padding: 5px;
    border-right: none;
}
.knitdet p{    
    font-size: 0.8rem;
    line-height: 15px;
}
.knitdet table{
    padding: 0px;
}
.dcview th{
    text-align: center;
}
.dcview td .formstyle{
    max-width: 180px;
    overflow-x: auto;
}
.dcview td .formstyle input{
    width: auto;
    max-width: 150px;
}
.compdetail{
    display: grid;
    grid-template-columns: 50% 50%;
}
.ourdetail .compadd span{
    display: grid;
    grid-template-columns: 10% 90%;
    align-items: center;
    padding: 3px;
}
.ourdetail .compadd div img{
    width: 50px;
}
.compadd table{
    padding: 0px;    
}
.compadd td,th{
    padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 0.8rem;
    line-height: 15px;
    text-align: left;
    vertical-align: top;
}
.compadd p{    
    line-height: 15px;    
}
.compadd p b{
    line-height: 20px;
    font-size: 1.25rem;
}
.compadd td img{
    width: 50px;
}
.knitdet td,th{
    padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 0.8rem;
    line-height: 15px;
    text-align: left;
    vertical-align: top;
}
.knitdet p{    
    line-height: 15px;
}
.knitdet p b{    
    line-height: 20px;
}
.knitdet td img{
    width: 50px;
}
.dcdet{
    display: grid;
    grid-template-columns: 50% 50%;    
}
.dcdet table{
    display: table-column;
    padding-left: 10px;
    padding-right: 10px;
}
.dcdet td{
    padding: 0px; 
    text-align: left;   
}
.dccontent{
    margin-top: 2px;
}
.dccontent table{
    width: 100%;
    border-collapse: collapse;
    border: 0.5px solid lightgrey;
}
.dccontent th{
    border: 0.5px solid black;
    padding: 5px;
    text-align: center;
}
.dccontent td{
    border: 0.5px solid black;
    padding: 3px;
    text-align: center;
}
.dccontent td:first-child{
    border-left: none;
}
.dccontent th:first-child{
    border-left: none;
}
.dccontent td:last-child{
    border-right: none;
}
.dccontent th:last-child{
    border-right: none;
}
.dccontent td .formstyle{
    text-align: left;
}
.dccontent td p{
    line-height: 18px;
}
.dccontent .imgtd *{
    display: inline;
    margin-right: 10px;
    /* align-items: center;
    justify-content: center;
    gap: 10px; */

}
.dcimageview{
    display: grid;
    grid-template-columns: 50% 50%;
    text-align: left;
    border-bottom: 0.5px solid black;
}
.dcimageview div{
    padding: 5px;
    border-bottom: 0.5px solid black;
}
.dcimageview div:nth-child(odd){
    border-right:0.5px solid black;
}
.dcimageview p{
    text-decoration: underline;
}
.dcimageview img{
    width: 150px;
}
.dcremark{   
    padding: 3px;
    border-top: 0.5px solid black;
}
.dcremark p{
    text-indent: 20px;
}
.knitauth{
    padding: 3px;
    border: 0.5px solid black;
    height: 80px;
    display: flex;
    justify-content: space-between;
    border: none;
    border-top: 0.5px solid grey;
}
.lasttd{
    position: relative;
}

.dccontent .modifiers{
    position: absolute;
    left: 95%;
    top: 0px;
    display: flex;    
    gap: 5px;
    visibility: hidden;
    align-items: center;
}
.dccontent .modifiers a{
    width: max-content;    
}
.dccontent tr:hover .modifiers{
    visibility: visible;
}
.modifiers button img{
    width: 15px;
    height: 15px;
}
.dccontent .taxdet{
    display: grid;
    grid-template-columns: 50% 50%;
    justify-items: end;
}
.taxdet table{
    width: 75%;
    border-top: none;
}
.taxdet td{
    width: 100px;
    border-top: none;
}

.absform{
    position: absolute;
    top: 2px;
    right: -20px;
    vertical-align: baseline;
    display: flex;
    gap: 10px;
    align-items: center;
}
.absform button{
    padding: 3px;
    border-radius: 5px;
    visibility: hidden;
    border: none;
    background-color: #dedede;
    color: black;
}
.absform button:hover{
    border: 0.5px solid black;
    box-shadow: 1px 1px 5px black;
}
.absform button img{
    width: 15px;
    height: 15px;
}
.lasttd:hover .absform button{
    visibility: visible;
}

.printbtn{
    text-align: center;
}
.printbtn button{
    background-color: rgb(42, 42, 42);
    color: white;
    font-weight: bold;
    padding: 5px;
    border: none;
    border-radius: 5px;
}













.ddarea{
    width: 100%;
    height: 100px;
    border: 3px dashed lightgray;
    border-radius: 10px;
    background-color: white;
}
.ddarea p{
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    color: grey;
}
.progressbar{
    width: 95%;   
    margin: 8px;
    height: 10px;    
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 5px black;
}
.progressbarfill{
    height: 100%;
    width: 25%;
    background-color: lightslategray;
}





.storepanel{
    display: grid;
    grid-template-columns: 13% 86%;
    justify-content: space-between;
}
.storeside{    
    height: 80vh;
}
.storeside a{
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
    border: 0.5px solid grey;
}
.storeside a:hover{
    box-shadow: 0 0 10px grey;
}
.storeside .activetab{
    background-color: #313638;
    color: white;
}

.storemain{
    padding: 15px;
}

.trimholder{
    margin: 20px auto;
    max-width: 95%;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.trimholder .atrim{    
    background-image: linear-gradient( rgb(231, 231, 231), rgb(255, 255, 255));
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgb(84, 84, 84);
    min-height: 125px;
    width: 200px;
    align-content: center;
    display: block;
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 25px;
}
.trimholder .atrim:hover{
    background-image: linear-gradient(rgb(255, 255, 255), rgb(231, 231, 231));
    box-shadow: 0 0 5px grey;
    border: none;
}
.flextrim{    
    width: 100%;
    padding: 8px;
    box-shadow: inset 0 0 5px grey;
    overflow-x: scroll;
    border-radius: 10px;
    scrollbar-width: thin;
}
.flextrim div{
    display: flex;
    gap: 10px;
    align-items: center;
}
.flextrim a{
    padding: 5px 25px;
    margin: 5px;
    border: 0.5px solid grey;
    text-decoration: none;
    color: black;
    background-color: whitesmoke;
    box-shadow: 0 0 5px grey;
    border-radius: 5px;
    width: max-content;
    height: -webkit-fill-available;
    align-content: center;
    text-align: center;
    font-weight: bold;
}
