.newbutton {
    background: #177E89 !important;
    color: #fff !important;
    border: 1px solid #0F5057 !important;
}

.groupbycat {
    background: #598381 !important;
    color: #fff !important;
    border: 1px solid #426160 !important;
}

.changelevel {
    background: #8E936D !important;
    color: #fff !important;
    border: 1px solid #717557 !important;
}

h3 {
    margin-bottom: 0px;
    margin-top: 0px;
    background: #eee;
    font-size: 0.92em;
    padding: 0.5em;
}

.soustotal-dropdown {
    display: none;
    position: absolute;
    padding-block-start: 0;
    padding: 15px;
    background-color: #f1f1f3;
    border: 1px solid #e0e0e0;
    z-index: 10000;
    text-align: left;
    right: 0;
    border-radius:5px;
    box-shadow: 5px 5px 20px #AAA;
}

.soustotal-dropdown > li {
	list-style: none
}
.soustotal-dropdown a {color:#2d2d2d!important;}

/* Elément flottant affiché pendant le déplacement d'un bloc (drag & drop via .moveblock) :
   il contient une copie de toutes les lignes du bloc pour qu'on les voie bouger ensemble */
.soustotal-drag-helper {
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    pointer-events: none; /* le survol doit cibler la ligne en dessous, pas le clone flottant */
}
.soustotal-drag-helper td {
    padding: 4px 6px;
    overflow: hidden;
    white-space: nowrap;
    background: #fff;
}

/* Pointillés autour de chaque ligne du bloc dans l'élément flottant, pour bien
   montrer ce qui est en train d'être déplacé */
.soustotal-blockdrag > td {
    border-top: 1px dashed #177E89 !important;
    border-bottom: 1px dashed #177E89 !important;
    background-color: rgba(23, 126, 137, 0.08) !important;
}
.soustotal-blockdrag > td:first-child {
    border-left: 1px dashed #177E89 !important;
}
.soustotal-blockdrag > td:last-child {
    border-right: 1px dashed #177E89 !important;
}

/* Zone de dépose : l'espace qui s'ouvre à l'endroit survolé, à la taille du bloc déplacé */
tr.ui-state-highlight {
    background-color: rgba(23, 126, 137, 0.12) !important;
    border: 1px dashed #177E89 !important;
}