*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
img{
    max-width: 100%;
}
a{
    text-decoration: none;
    color: #555;
}
a.light{
    color:#eee;
}
input,textarea,select{
    display: block;
    width: 100%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: 7px;
    outline: none;
}
button{
    outline: none;
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #666;
    border-radius: 3px;
    background-color: #eee;
    cursor: pointer;
}
button:disabled{
    cursor: initial;
}
.primeBtn{
    background-color: rgb(255, 55, 0);
    color: #fff;
    border-color: transparent;
}
.primeBtn:disabled{
    opacity: .5;
}
.btn-cont, .inp-cont{
    padding: 10px;
}
.btn-cont{
    display: flex;
    align-items: center;
}
.btn-cont.right-btn{
    justify-content: flex-end;
}
.btn-cont.center-btn{
    justify-content: center;
}
header{
    background-color: rgb(255, 102, 0);
    padding: 0 10px;
}
.header-cont{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
}
.header-cont a, .header-cont p{
    font-size: 12px;
    padding: 3px 8px;
    color: #eee;
    border: 1px solid #eee;
    border-radius: 10px;
}
.logo{
    max-width: 180px;
}
.title{
    text-align: center;
    font-weight: initial;
    margin: 7px auto;
    color: #333;
}
.form-cont{
    max-width: 600px;
    margin: auto;
}
main{
    padding: 8px;
}
.container{
    max-width: 1100px;
    margin: auto;
}
.warning{
    color: #f00;
    font-size: 12px;
    margin-top: 5px;
}
.success{
    color: rgb(0, 187, 0);
    margin-top: 5px;
}
/* dashboard */
.db-item-cont{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}
.db-item-cont a{
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    padding: 20px 18px;
    border: 1px solid #242424;
    color: #777;
    letter-spacing: 2px;
}
.db-link{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-direction: column;
    width: 100%;
    border-radius: 7px;
}
.db-link i{
    font-size: 36px;
}
.flex{
    display: flex;
    width: 100%;
}
.flexACenter{
    align-items: center;
}
.flexJCenter{
    justify-content: center;
}
.flexJSB{
    justify-content: space-between;
}
.jsBox{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .4);
    padding: 10px;
    overflow-x: auto;
}
.jsBoxClose{
    background-color: #ffffff;
    width: 40px;
    height: 40px;
    position: fixed;
    top: 20px;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    border: 1px solid #333;
    transition: .2s;
    cursor: pointer;
}
.jsBoxClose:hover{
    background-color: #dedede;
}
.jsBoxClose:active{
    transform: translateX(-50%) scale(.95);
}
.jsBoxContent{
    margin-top: 70px;
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
}
.itemSF{
    padding-top: 10px;
    background-color: #dedede;
}
.bold{
    font-weight: bold;
}
.small{
    font-size: small;
}
.billItemCont, .addedItemCont{
    max-width: 600px;
    margin: auto;
    padding: 10px;
}
.billItemIndiv{
    padding: 7px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    background-color: #fff;
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.billItemIndiv:last-child{
    border: none;
}
.invoiceCont{
    background-color: #dddddd;
    border: 5px solid #ccc;
    border-radius: 10px;
    margin-top: 10px;
}
.itemTable{
    overflow: auto;
    width: 100%;
    border: 1px solid #333;
    border-collapse: collapse;
    text-align: left;
}
.itemTable tr{
    border: 1px solid #333;
}
.itemTable tr td,.itemTable tr th{
    min-width: 80px;
    border: 1px solid #333;
    padding: 6px;
}
.itemTable tr td:first-child,.itemTable tr th:first-child{
    width: 90%;
}
.invFooter{
    padding: 10px;
}
.billList{
    padding: 10px 0;
}
.billListIndiv{
    border-radius: 7px;
    padding: 10px 15px;
    background-color: #ddd;
    margin-bottom: 10px;
}
.mary10{
    margin-bottom: 10px;
    margin-top: 10px;
}
.marb10{
    margin-bottom: 10px;
}
#invIdCont{
    display: inline-block;
    margin-left: 10px;
}
.idStatus span{
    border-radius: 10px;
    padding: 3px 15px;
    background-color: rgb(150, 255, 22);
    display: inline-block;
    margin-right: 5px;
    color: #333;
}
.idStatus span.pub{
    background-color: rgb(152, 255, 164);
}
.idStatus span.draft{
    background-color: rgb(255, 152, 152);
}
.stockc{
    max-width: 600px;
    margin: auto;
}
.c_det{
    background-color: #eee;
}
.red{
    color: #f00 !important;
}
.green{
    color: #0f0 !important;
}
.listTable{
    width: 100%;
}
.listTable tr:nth-child(odd){
    background-color: #eee;
}
.listTable td, .listTable th{
    padding: 10px;
    border: none;
}