#tarifsApf{
  overflow: auto;
}
#tarifsApf button.main { position: absolute; top: 5px; right: 5px; width: 30px; height: 30px; }
#tarifsApf table.OTreeView tr.level_1 td.treeCell,#tarifsApf table.OTreeView tr.level_2 td.treeCell,
#tarifsApf table.OTreeView tr.level_3 td.treeCell,#tarifsApf table.OTreeView tr.level_4 td.treeCell{
  display: table-cell;
  width: auto;
  padding: 0;
}
#tarifsApf table.OTreeView tr td {
  /* display: inline-flex; */
  justify-content: space-between;
  vertical-align: middle;
}
#tarifsApf table.OTreeView tr.level_1 td{
  width: calc(100% - 25px);
  padding: 5px 0 5px 25px;
  font-size: 2.2em;
  font-weight: 700;
}

#tarifsApf table.OTreeView tr.level_2 td{
  width: calc(100% - 40px);
  padding: 5px 0 5px 40px;
  font-size: 1.75em;
  font-weight: 600;
  text-align: center;
}

#tarifsApf table.OTreeView tr.level_3 td{
  width: calc(100% - 55px);
  padding: 5px 0 5px 55px;
  font-size: 1.5em;
  font-weight: 500;
  text-align: end;
  background-color: #EEE;
}

#tarifsApf table.OTreeView tr.level_4 td{
  width: calc(100% - 80px);
  padding: 5px 0 5px 80px;
  font-size: 14px;
  text-align: end;
  background-color: #FFF;
  color:#000;
  border-bottom: 1px solid #aaa;
}

#tarifsApf table.OTreeView tr td input{
  width: 65px;
  padding:2px;
}

#tarifsApf table.OTreeView tr td input[name="prixu"] {
  width: 50px;
  text-align:right;
}

#tarifsApf table.OTreeView tr td .reset{
	padding:4px;
	margin:2px;
}
#tarifsApf table.OTreeView tr.level_1 td .reset{
  display: none;
}
.Btn_tarifsApf{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-around;
  padding: 10px;
  width: 250px;
}
#tarifsApf table.OTreeView tr td table { width:100%; }
#tarifsApf table.OTreeView tr.level_1 td table { width: calc(100% - 60px); }
#tarifsApf table.OTreeView tr td table td {
	border-bottom:none!important;
	background:none; 
}
#tarifsApf table.OTreeView tr td table td.saisie {
	padding:2px;
	width:85px;
    font-size: 12px;
    vertical-align: top;
    font-weight: normal;
}
#tarifsApf table.OTreeView tr td table tr.titre { display:none; }
#tarifsApf table.OTreeView tr.level_1 td table tr.titre { display:table-row; }

#tarifsApf table.OTreeView tr.level_1 td table {
  padding: 0 18px 0 0;
}
