div.mainmenu.releveclient{
    background-image: url(../../releveclient/img/releveclient.png) !important;
}
#releveclient .tdqtytable {
    width: 15px !important;
	white-space: nowrap;
}
#releveclient .tdlabeltable {
    width: 60% !important;
}
#releveclient .tdamounttable {
    width: 25% !important;
	white-space: nowrap;
}
#releveclient .boldtext {
    /*font-weight: bold;*/
}


table#releveclient  td{
    border-right: 1px solid #ddd !important;
}
#releveclient tr.list_total td {
    border-right: 0px !important;
}
table#releveclient tr.trcolor {
/*    background: #fafafa !important;*/
    line-height: 24px;
}

table#releveclient tr.trnocolor {
/*    background: #ffff !important;*/
}

.extrafields_releveclient span.select2{
	width: 100% !important;
}

#releveclient tr.soustotal{
	background: #299429;
	background: #a9d08e;
}

#releveclient tr.soustotal td{
	color: #000;
	font-weight: bold;
}

#releveclient tr.totalglobal{
	background: #ffc000;
}

#releveclient tr.totalglobal td{
	color: #000;
	font-weight: bold;
}

#releveclient td.colorsold 
,.releveclient .colorsold 
{
    color: red !important;
    font-weight: bold;
}
#releveclient .colorsold.negativeamount
{
    color: #5eae0a !important;
}

#releveclient td.tablines{
    padding: 0px !important;
    border-bottom: 0px;
    border-right: 0px !important;
}

#releveclient td.tablines table{
	border-collapse: collapse;
    width: 100%;
}

table#releveclient td.lines_fact, table#releveclient th.lines_fact{
	padding: 0px !important;
	border-bottom: 0px !important;
}

table#releveclient td.lines_fact table, table#releveclient th.lines_fact table{
	width: 100%;
    margin: 0px;
	border-top: 0px !important;
}

table#releveclient td.lines_fact, table#releveclient th.lines_fact{
	border-right: 0px !important;
}
tr.societe_extras_portailreleveuser 
,td .editfielda[href*="&attribute=portailreleveuser"]
{
    display: none;
}



.fichehalfleft.splitqty{
  width: 48%;
}

.splitqty table{
  border: 1px solid #ddd;
}

.splitqty table tr:first-child{
    background: #ffc000 !important;
    width: 48%;
}

.splitqty table tr:first-child{
  /*color: #fff;*/
}

.splitqty table tr:last-child{
  background: #fff;
}


.splitqty table td{
    border-right: 1px solid #ddd !important;
}

#qtybycatg{
    display: inline-block;
}

#qtybycatg table tr:first-child{

    background: #a9d08e;
}
/*
#releveclient td.noborder{ border: 0px !important}
#releveclient td.allborder{ border: 1px solid #000}
#releveclient td.toptd{ border-top: 1px solid #000}
#releveclient td.firsttd{border-left: 1px solid #000;}
#releveclient td.lasttd{border-right: 1px solid #000;}
#releveclient td.bottomtd{ border-bottom: 1px solid #000}*/


#stclient div.scrollreleveclient{
    overflow-y: scroll;
/*    display: block;*/
/*    width: 100%;*/
    max-height: calc(100vh - 500px);
    min-height: 300px;
}

/*#stclient table:has(tbodydiv.scrollreleveclient){
    display: block;
    empty-cells: show;
}

#stclient table:has(tbodydiv.scrollreleveclient) tr{
    display: table;
    width: 100%;
}

#stclient table#releveclient thead, #stclient table#releveclient tbody.totalreleveclient{
    display: block;
}

#stclient table#releveclient thead tr, #stclient table#releveclient tbody.totalreleveclient tr{
    width: 100%;
    display: table;
}*/

#stclient div.scrollreleveclient thead tr.firsthead  {
    position: sticky;
    height: 22px !important;
    top: 0px;
}

#stclient div.scrollreleveclient tr.trsticky {
    position: -webkit-sticky;
    position: sticky;
    height: 22px !important;
    bottom: 0px;
}

#stclient .widthdate{
    width: 6%;
    max-width: 6%;
}
#stclient .widthlabel{
    width: 17%;
    max-width: 17%;
}
#stclient .widthrefsupl{
    width: 8%;
    max-width: 8%;
}
#stclient .widthproduct{
    width: 33%;
    max-width: 33%;
}
#stclient .widthreglemnt{
    width: 64%;
    max-width: 64%;
}
#stclient .widthamount{
    width: 10%;
    max-width: 10%;
}
/*#stclient .widthqty{
    width: 6%;
    max-width: 6%;
}
#stclient .widthpu{
    width: 10%;
    max-width: 10%;
}*/
#stclient .widthlabel_ef{
    width: 13%;
    max-width: 13%;
}
#stclient .widthrefsupl_ef{
    width: 8%;
    max-width: 8%;
}
#stclient .widthproduct_ef{
    width: 24%;
    max-width: 24%;
}
#stclient .widthreglemnt_ef{
    width: 40%;
    max-width: 40%;
}
#stclient .widthamount_ef{
    width: 9%;
    max-width: 9%;
}
#stclient .invoice_paid{
    font-weight: 600;
    color: #33d133;
}
#stclient .invoice_nopaid{
    font-weight: 600;
    color: #f95d5d;
}
#stclient .currencyfactur {
    font-weight: 600;
    color: #306ad5;
}
#stclient .etatfacture {
/*    float: right;*/
}

#stclient table#releveclient tr.tr_reglement td {
    background-color: #DFFFDA !important;
}

#stclient table#releveclient tr.tr_reglement td.reglement{
    text-align: left !important;
    padding-left: 38px;
}

#stclient table#releveclient td.amountavoir {
    color: #f75518;
}

table#releveclient td.totalcurrency {
    background: #fff !important;
    border: 0px !important;
}

table#releveclient tr.oddeven td {
    border-right: 1px solid #ddd;
}

table#releveclient tr.tr-prods td {
    background-color: #e7f7cf;
}
table#releveclient td.tr-catgs {
    background-color: #fff4e0;
}
table#releveclient tr.tr-catgs.tr-total td {
    background-color: #ebebeb;
}
table#releveclient tr.lasttotal td, #creanceclient tr.lasttotal td {
    color: #000;
    font-weight: bold;
    background: #a8d08d; 
}
table#releveclient tr.creditanterieur td, #creanceclient tr.creditanterieur td {
    color: #000;
    font-weight: bold;
    background: #00b0f0; 
}

table th.titledeletepaymnet{
    background-color: #f7072e;
}

tr.liste_titre.firstheadpayment {
    background-color: #f4f4f4;
    color: black !important;
}

div.titledeletepaymnet {
    border: 0px solid;
    background-color: red;
    padding: -15px;
    font-weight: bold;
    padding: 7px 8px 7px 8px;
}

#stclient div.scrollreleveclientraisondelete{
    overflow-y: scroll;
    max-height: calc(100vh - 300px);
}

#stclient div.scrollreleveclientraisondelete thead tr.firsthead  {
    position: sticky;
    height: 22px !important;
    top: 0px;
}

#stclient div.scrollreleveclientraisondelete tr.liste_total {
    position: -webkit-sticky;
    position: sticky;
    height: 22px !important;
    bottom: 0px;
}
table#releveclient .total-recap td{
    background-color: #e7f7cf !important;
}

#detteclient li.pagination span{
    padding: 0px;
}