body[data-layout-sidebar-color="brand"] .left-side-menu #sidebar-menu {
    padding-top: 2px;
}

body[data-layout-sidebar-color="brand"] .left-side-menu #sidebar-menu .menu-title {
    text-align: center;
    font-weight: bold;
}

body[data-layout-sidebar-color="brand"][data-sidebar-size="default"] .left-side-menu #sidebar-menu > ul > li > a {
    margin: 5px;
    padding-right: 10px;
    padding-left: 14px;
}

/* region typo */
.logo-font {
    font-family: Century;
}

.nowrap {
    white-space: nowrap !important;
}

.style-italic {
    font-style: italic;
}
.underline {
    text-decoration: underline;
}
.ml-1 {
    margin-left: .375rem !important;
}
.margin-left {
    margin-left: 10px;
}
/* endregion typo */

/* region header */
.navbar-custom {
    display: flex;
}
#header-container {
    display: flex;
}
/* endregion header */

/*region footer */
footer.footer {
    padding: 7px 14px;
}
footer.footer img {
    max-height: 50px;
}
footer.footer span {
    line-height: 50px;
}
.auth-fluid-form-box footer.footer span {
    line-height: 5px;
}
footer.footer .footer-links {
    padding-right: 10px;
}
/*endregion footer */

.ribbon-shape {
    line-height: 20px;
}

/* region parsley */
form select.parsley-error + span.select2 span.select2-selection {
    border-color: #f1556c;
}
form input[type="hidden"] + ul.parsley-errors-list {
    display: none;
}
.was-validated .form-control.parsley-error:focus,
.was-validated .form-control.parsley-error {
    border-color: #f1556c;
    padding-right: calc(1.5em + .9rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f1556c'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f1556c' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .225rem) center;
    background-size: calc(.75em + .45rem) calc(.75em + .45rem);
}
div.data-parsley-validation-group.parsley-error {
    outline: 2px dashed #f1556c;
    outline-offset: 8px;
}
form.was-validated div.data-parsley-validation-group.parsley-error .form-control:valid {
    border-color: #ced4da;
    padding-right: inherit;
    background-image: none;
}
form.was-validated div.data-parsley-validation-group.parsley-error .form-check-input:valid {
    border-color: rgba(0,0,0,.25);
}
form.was-validated div.data-parsley-validation-group.parsley-error .form-check-input:valid ~ .form-check-label {
    color: var(--bs-card-color);
}
form.was-validated input.parsley-error.included-validator[type="hidden"] + ul.parsley-errors-list {
    display: block;
}
.parsley-errors-list > li.parsley-atleastone {
    margin-top : 8px;
}
.tasklist li .parsley-errors-list > li {
    border: none;
    padding: 0 0 0 20px;
}
.toggle-tax-amount.data-parsley-validation-group + ul.parsley-errors-list li.parsley-atleastone {
    /*content: "Ce champ est requis";*/ /* Ne marche pas */
    display: none;
}
/* endregion parsley */

/* region form */
.col-form-label,
table label.required {
    position: relative;
}
legend.legend-required:before,
label.required:not(.form-check-label):before {
    content: "*";
    color: darkred;
    position: absolute;
    left: 4px;
}
table label.required {
    margin-left: 8px;
}
table label.required:before {
    left: -8px !important;
}

.bootstrap-touchspin .input-group-btn.input-group-prepend button {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}
.bootstrap-touchspin .input-group-btn.input-group-append button {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

input.js-datepicker {
    max-width: 110px !important;
    height: 38px;
}

@media (max-width: 1200px){
    .no-display-on-little,
    .no-display-input-icon-on-little .input-group-text {
        display: none;
    }
    .no-display-input-icon-on-little input {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }
}
/* endregion form */

/* region chosen */
.chosen-container-active.chosen-with-drop .chosen-single div::after,
.chosen-container-single .chosen-single div::after {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
/* endregion chosen */

/* region Badge */
.badge-resize {
    font-size: 100%;
}
.badge {
    letter-spacing: 3px;
}
/* endregion Badge */

/* region produit */
span.pdt-color {
    height: 20px;
    width: 20px;
    background-color: #ced4da;
    border: 2.5px solid #ced4da;
    border-radius: 50%;
    display: inline-block;
    vertical-align: bottom;
}
span.pdt-color-blanc {
    background-color: #fff;
}
span.pdt-color-rouge {
    background-color: #813641;
}
span.pdt-color-rose {
    background-color: #e3c0c4;
}
span.pdt-color-orange {
    background-color: #fc8000;
}
span.pdt-color-noire {
    background-color: #111;
}
span.pdt-color-gris {
    background-color: #999;
}
span.pdt-color-brune {
    background-color: #5e1a15;
}
span.pdt-color-blonde {
    background-color: #F7D37E;
}
span.pdt-color-ambre {
    background-color: #c06441;
}
span.pdt-color-blouge {
    background: linear-gradient(110deg, #fff 50%, #813641 50%);
}
span.pdt-color-blancdeblancs {
    background: linear-gradient(110deg, #fff 45%, #333 53%, #fff 55%);
}
span.pdt-color-blancdenoirs {
    background: linear-gradient(110deg, #fff 50%, #111 50%);
}
/* endregion produit */

/* region buttons */
.btn-label {
    margin-right: 0;
}
/* endregion buttons */

.container-fluid {
    padding: 0;
}
.content-page {
    padding-left: 0;
    padding-right: 0;
}

.tasklist li.task-medium {
    border-left-color: #5f122f;
}
.tasklist li {
    border: none;
}
.tasklist > li {
    background-color: var(--bs-secondary-bg);
    border: 1px solid var(--bs-gray-300);
}

.v-align-bottom {
    vertical-align: bottom;
}
.v-align-middle {
    vertical-align: middle;
}

/* region datatable */
.action-icon {
    line-height: normal;
}
.dataTables_scrollHead th {
    vertical-align: middle;
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: center;
}
div.dataTables_wrapper div.dataTables_filter label {
    width: 100%;
}
div.dataTables_wrapper div.dataTables_filter label input {
    width: 100%;
    border: solid 2px;
    text-align: center;
    margin-left: 0;
}
div.dataTables_wrapper div.dataTables_filter label input.form-control::placeholder {
    color: #848484;
}
div.dataTables_wrapper div.dataTables_filter label input.form-control:focus::placeholder {
    color: #c6c6c6;
}

table.dataTable {
    margin-top: 1px !important;
}

table.dataTable tbody th.dt-body-right,
table.dataTable tbody td.dt-body-right,
table.dataTable tbody td.dt-body-right input {
    text-align: right;
}

table.dataTable tbody th.dt-body-center,
table.dataTable tbody td.dt-body-center,
table.dataTable tbody td.dt-body-center input {
    text-align: center;
}

.card-body table.dataTable thead th {
    color: #fff;
}

.dataTables_length .chosen-container {
    width: auto!important;
    max-width: 100%;
    min-width: 120px;
    text-align: center;
}
.dataTables_length .chosen-container .chosen-single span {
    margin-right: 2rem;
}

table.table-bordered.dataTable thead tr:first-child th,
table.table-bordered.dataTable thead tr:first-child td {
    border-color: transparent;
}
.table-sm > :not(caption) > * > * {
    padding: 5px;
}

.dataTable tbody .chosen-container .chosen-drop .chosen-results .active-result:not(.highlighted) {
    display: none;
}
/* Sauf pour la table des factures */
table#vinifacture-table.dataTable tbody .chosen-container .chosen-drop .chosen-results .active-result:not(.highlighted) {
    display: inherit;
}

table.dataTable.table-sm .sorting::after,
table.dataTable.table-sm .sorting_asc::after,
table.dataTable.table-sm .sorting_desc::after,
table.dataTable.table-sm .sorting::before,
table.dataTable.table-sm .sorting_asc::before,
table.dataTable.table-sm .sorting_desc::before {
    top: 0;
}

table.dataTable tr:hover .text-warning {
    color: #ffe79e !important;
}
/* endregion datatable */

/*region modal */
.modal-footer {
    display: block;
    text-align: right;
}
/*endregion modal */

img.profil-fournisseur-logo {
    max-width: 150px;
    max-height: 150px;
}

/* region tabs */
ul.navtab-bg .nav-link {
    margin: 0;
}
/* endregion tabs */

/* region tippy */
.tippy-popper .tippy-tooltip[data-animatefill] {
    background-color: #333 !important;
}
/* endregion tippy */

/* region client */
ul#adresseLivraison-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
ul#adresseLivraison-list li.list-group-item {
    flex: 1 1 50%;
}
/* endregion client */