/* couleur 1 #7ca840, en plus clair #eeffde*/
/* couleur 2 #1EA2A1, en plus clair #eeffde*/
/* couleur 3 #0E5553, en plus clair #eeffde*/
/* region PATRIE Theme */
h1,
.h4 {
    color: #0E5553;
}

/* ---------- Default link ----------  */
a                   { color: rgba(30, 162, 161, 0.75); }
.text-white a, a.text-white { color: #fff; text-decoration: underline; }
a:hover             { color: #7ca840; }
.text-white a:hover, a.text-white:hover { text-decoration: none; }
a.link-fx::before   { background-color:#7ca840; }

/* ---------- Global class ----------  */
.nowrap { white-space: nowrap; }
.full-width { width: 100%; }

/* ---------- Button Patrie ----------  */
.btn { max-width: 100%; }
.btn-patrie         { color: #fff; background-color: #7ca840; border-color: #7ca840; }
.btn-patrie:hover   { color: #7ca840; background-color: #fff; border-color: #7ca840; }
.btn-patrie:focus, .btn-patrie.focus        { box-shadow: 0 0 0 0.2rem rgba(124, 168, 64, 0.5); }
.btn-patrie.disabled, .btn-patrie:disabled  { color: #fff; background-color: #7ca840; border-color: #7ca840; }
.btn-patrie:not(:disabled):not(.disabled):active, .btn-patrie:not(:disabled):not(.disabled).active { color: #7ca840; background-color: #eeffde; border-color: #7ca840; }
.show > .btn-patrie.dropdown-toggle { color: #fff; background-color: #eeffde; border-color: #7ca840; }
.btn-patrie:not(:disabled):not(.disabled):active:focus, .btn-patrie:not(:disabled):not(.disabled).active:focus,
.show > .btn-patrie.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(124, 168, 64, 0.5); }

/* ---------- Button Patrie v2----------  */
.btn-patrie-2         { color: #fff; background-color: #1ea2a1; border-color: #1ea2a1; }
.btn-patrie-2:hover   { color: #1ea2a1; background-color: #fff; border-color: #1ea2a1; }
.btn-patrie-2:focus, .btn-patrie-2.focus        { box-shadow: 0 0 0 0.2rem rgba(30, 162, 161, 0.5); }
.btn-patrie-2.disabled, .btn-patrie-2:disabled  { color: #fff; background-color: #1ea2a1; border-color: #1ea2a1; }
.btn-patrie-2:not(:disabled):not(.disabled):active, .btn-patrie-2:not(:disabled):not(.disabled).active { color: #1ea2a1; background-color: #eeffde; border-color: #1ea2a1; }
.btn-patrie-2:not(:disabled):not(.disabled):active:focus, .btn-patrie-2:not(:disabled):not(.disabled).active:focus { box-shadow: 0 0 0 0.2rem rgba(30, 162, 161, 0.5); }

/* ---------- Button Patrie v3----------  */
.btn-patrie-3         { color: #fff; background-color: #0e5553; border-color: #0e5553; }
.btn-patrie-3:hover   { color: #0e5553; background-color: #fff; border-color: #0e5553; }
.btn-patrie-3:focus, .btn-patrie-3.focus        { box-shadow: 0 0 0 0.2rem rgba(14, 85, 83, 0.5); }
.btn-patrie-3.disabled, .btn-patrie-3:disabled  { color: #fff; background-color: #0e5553; border-color: #0e5553; }
.btn-patrie-3:not(:disabled):not(.disabled):active, .btn-patrie-3:not(:disabled):not(.disabled).active { color: #0e5553; background-color: #eeffde; border-color: #0e5553; }
.btn-patrie-3:not(:disabled):not(.disabled):active:focus, .btn-patrie-3:not(:disabled):not(.disabled).active:focus { box-shadow: 0 0 0 0.2rem rgba(14, 85, 83, 0.5); }

.btn-danger:hover { color: #d26a5c; background-color: #fff; border-color: #d26a5c; }


/* ---------- Button Outline Patrie ----------  */
.btn-outline-patrie         { color: #7ca840; border-color: #7ca840; }
.btn-group-toggle .btn-outline-patrie:hover, .btn-outline-patrie:hover { color: #fff; background-color: #7ca840; border-color: #7ca840; }
.btn-outline-patrie:focus, .btn-outline-patrie.focus        { box-shadow: 0 0 0 0.2rem rgba(70, 195, 123, 0.5); }
.btn-outline-patrie.disabled, .btn-outline-patrie:disabled  { color: #7ca840; background-color: transparent; }
.btn-outline-patrie:not(:disabled):not(.disabled):active, .btn-outline-patrie:not(:disabled):not(.disabled).active,
.show > .btn-outline-patrie.dropdown-toggle { color: #fff; background-color: #7ca840; border-color: #7ca840; }
.btn-outline-patrie:not(:disabled):not(.disabled):active:focus, .btn-outline-patrie:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-patrie.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(70, 195, 123, 0.5); }

.btn-outline-patrie-2         { color: #1EA2A1; border-color: #1EA2A1; }
.btn-outline-patrie-2:hover   { color: #fff; background-color: #1EA2A1; border-color: #1EA2A1; }
.btn-outline-patrie-2:focus, .btn-outline-patrie.focus        { box-shadow: 0 0 0 0.2rem rgba(30, 162, 161, 0.5); }
.btn-outline-patrie-2.disabled, .btn-outline-patrie:disabled  { color: #1EA2A1; background-color: transparent; }
.btn-outline-patrie-2:not(:disabled):not(.disabled):active, .btn-outline-patrie-2:not(:disabled):not(.disabled).active,
.show > .btn-outline-patrie-2.dropdown-toggle { color: #fff; background-color: #1EA2A1; border-color: #1EA2A1; }
.btn-outline-patrie-2:not(:disabled):not(.disabled):active:focus, .btn-outline-patrie-2:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-patrie-2.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(30, 162, 161, 0.5); }
/*  rgba(30, 162, 161, 0.5) */

.btn-outline-patrie-3         { color: #0e5553; border-color: #0e5553; }
.btn-outline-patrie-3:hover   { color: #fff; background-color: #0e5553; border-color: #0e5553; }
.btn-outline-patrie-3:focus, .btn-outline-patrie.focus        { box-shadow: 0 0 0 0.2rem rgba(14, 85, 83, 0.5); }
.btn-outline-patrie-3.disabled, .btn-outline-patrie:disabled  { color: #0e5553; background-color: transparent; }
.btn-outline-patrie-3:not(:disabled):not(.disabled):active, .btn-outline-patrie-3:not(:disabled):not(.disabled).active,
.show > .btn-outline-patrie-3.dropdown-toggle { color: #fff; background-color: #0e5553; border-color: #0e5553; }
.btn-outline-patrie-3:not(:disabled):not(.disabled):active:focus, .btn-outline-patrie-3:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-patrie-3.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(14, 85, 83, 0.5); }
/* ---------- Button Outline Patrie ----------  */

/* ---------- Button Outline toggle Patrie ----------  */
.btn-group-toggle .btn-outline-patrie { color: #575757; }
.btn-group-toggle .btn-outline-patrie.active { color: #7ca840;  }
.btn-group-toggle .btn-outline-patrie.focus, .btn-group-toggle .btn-outline-patrie.active.focus { box-shadow: none; }
    /* ---------- Button Leaf Patrie ----------  */
.btn-leaf1 { border-radius: 50px 0 50px 0; }
.btn-leaf2 { border-radius: 0 50px 0 50px; }
.btn-leaf1, .btn-leaf2 { padding: 10px 37px; }

/* ---------- Custom Checkbox Patrie ----------  */
.custom-control-patrie.custom-control-input ~ .custom-control-label::before { top: 0.5rem; }
.custom-control-patrie.custom-control-input ~ .custom-control-label::after { top: 0.5rem; }
.custom-control-patrie.custom-control-input:checked ~ .custom-control-label::before { color: #fff; border-color: #7ca840; }
.custom-control-patrie.custom-control-input:checked ~ .custom-control-label::before,
.custom-control-patrie.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { background-color:#7ca840; }
.custom-control-patrie.custom-control-input:checked ~ .custom-control-label::before { border-color:#7ca840; }


.custom-control-patrie .custom-control-input:checked ~ .custom-control-label::before { border-color:#7ca840; background-color:#7ca840;}

/* ---------- Custom Switch Patrie ----------  */
.custom-switch.custom-switch-patrie.custom-long-switch input.custom-control-input:checked + label.custom-control-label:before { background-color: #7ca840; }
.custom-switch-patrie .custom-control-input:checked ~ .custom-control-label::before { border-color: #3f5259 ; }


/* ---------- Datatable Paginator ----------  */
.pagination .page-item.active .page-link { color: #7ca840; border-color: #7ca840; }

/* ---------- Header Block Patrie ----------  */
#block-header-panel.block-header { height: 46.4px; background: #1EA2A1/*#333645*/; padding: 0.2rem 1rem; }
#block-header-panel.block-header > .block-title { color: #fff/*#7ca840*/; }
#block-header-panel.block-header .item-patrie { width: auto; height: auto; font-weight: bold; padding-right: 10px; padding-left: 10px; }
#block-header-panel.block-header .item-patrie i { color: #fff; font-size: 1.2rem; margin-right: 5px; top: 0; }
#block-header-panel.block-header .item-patrie.btn-block-option .si { top:0; }

/* ---------- TOP BAR ----------  */
#top-bar {
    background-color: #0E5553;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
    position: fixed;
    top: 0;
    left: 0;
    height: 32px;
    right: 0;
    z-index: 1032;
}
#page-container {
    margin-top: 32px;
}
#page-container.page-header-fixed #page-header,
#sidebar {
    top: 32px;
}
#page-container.page-header-fixed #page-header { z-index: 1031;  }
#sidebar { z-index: 1032;  }

#top-bar ul.top-bar-section {
    list-style: none;
    margin: 0;
    padding: 0;
}
#top-bar ul.top-bar-section li {
    display: block;
    line-height: 32px;
    padding: 0 13px;
    float: left;
    color: #fff;
}
#top-bar ul.top-bar-section li a {
    color: #fff;
}
#top-bar ul.top-bar-section li a:hover {
    color: #7CA840;
}
@media (max-width: 480px) {
    .display-no-xxs {
        display:none !important;
    }
}

/* ---------- File manager tree node ----------  */
.jstree-node span.label { border-radius: 1rem; border-color: #fff; padding: 0 0.2rem; background-color: #7ca840; color:#fff; }

/* ---------- Side nav ----------  */
.nav-main-link .nav-main-link-icon { color: #0E5553; }
.nav-main-link.active .nav-main-link-name  { color: #0E5553; font-weight: bold; text-decoration: underline; }
.nav-main-submenu { padding-left : 0; }
.nav-main-submenu .nav-main-item .nav-main-link { padding-left : 2.875rem; }

/* ---------- Js Tree Proton theme ----------  */
.jstree-proton .jstree-clicked { background: #3f5259; color: #ffffff; box-shadow: inset 0 0 1px #3f5259; }
.jstree-proton .jstree-hovered { background: #7ca840; color: #ffffff; box-shadow: inset 0 0 1px #7ca840; }

/* ---------- Bootstrap Tabs ----------  */
.nav-tabs-block .nav-link:hover,
.nav-tabs-block .nav-link:focus {
    color: #7ca840; background-color: #f9f9f9;
}
.nav-tabs-block .nav-link.active,
.nav-tabs-block .nav-item.show .nav-link {
    color: #7ca840; background-color: #fff; border-bottom: 2px solid #7ca840;
}
/* --- nested nav-tabs ---*/
.tab-pane .nav-tabs-block .nav-link:hover,
.tab-pane .nav-tabs-block .nav-link:focus {
    color: #1ea2a1;
}
.tab-pane .nav-tabs-block .nav-link.active,
.tab-pane .nav-tabs-block .nav-item.show .nav-link {
    color: #1ea2a1; border-bottom: 2px solid #1ea2a1;
}
.tab-pane .flex-column .nav-link img { max-width: 100%; }
.nav-pills .nav-link {
    margin-bottom: 5px;
    text-align: center;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #7ca840;
}
.nav-pills-blocks .tab-content {
    background-color: #f9f9f9;
    padding: 1.25rem;
}
.nav-pills-blocks .tab-content.tab-content-transaction {
    padding : 0;
}

ul.nav-tabs li img {
    max-height: 50px;
}


/* ---------- Custom button in header block ----------  */
.block-options .btn-block-option.item { float: left; margin-left: 0.2rem; }

/* ---------- Custom loader header ----------  */
#page-header-loader i {
    color: #7ca840;
}

/* ---------- Custom loader Page ----------  */
#page-loader {
    background-color: rgba(245, 245, 245, 1);
}#page-loader:after {
    background-color: #7ca840;
}

/* ---------- Custom loader block ----------  */
#page-loader-content {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fff;
    z-index: 999998;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

#page-loader-content.show {
    -webkit-transform: translateY(0);
    transform: translateY(0);
 }

#page-loader-content.hide {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

#page-loader-content::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    margin-top: -30px;
    margin-left: -30px;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background-color: #7ca840;
    content: '';
    z-index: 999999;
    -webkit-animation: page-loader .9s infinite ease-in-out;
    animation: page-loader .9s infinite ease-in-out;
}

/* ---------- Table -------- */
.table:not(.table-bordered) tbody tr:first-child th, .table:not(.table-bordered) tbody tr:first-child td {
    border-top: none;
}
table.table th {
    vertical-align: middle;
}

.bg-primary-dark-op {
    /*background-color: rgba(62, 74, 89, 0.5) !important;*/
    background-color: rgba(145, 168, 64, 0.3) !important
}



.custom-radio .custom-control-input:checked ~ .custom-control-label::before,
.wizard-patrie #bar .progress-bar,
.wizard-patrie .nav-pills .nav-link.active {
    background-color: #7CA840;
}
.wizard-patrie a.nav-link.active .badge-step i {
    color: #7CA840;
}
.custom-control-patrie .custom-control-label::before {
    background-color: #eeffde;
    border-color: #7CA840;

}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #7CA840;
}

/* region menu */
#page-container #sidebar .content-header {
    padding-left: 1.10rem;
    padding-right: 1.10rem;
}
#page-container #sidebar .smini-hide { font-size: 14px; color: #0E5553; }
#page-container.sidebar-dark #sidebar {
    background-color: #1EA2A1;
    color: #fff;
}
#page-container.sidebar-mini #sidebar .content-header {
    padding-left: 3px;
}
#page-container.sidebar-dark #sidebar .nav-main-link,
#page-container.sidebar-dark #sidebar .nav-main-link i {
    color: #fff;
}
#page-container.sidebar-dark #sidebar .nav-main-link.active {
    background-color: #0E5553;
}
#page-container.sidebar-dark #sidebar .nav-main-link.active .nav-main-link-name {
    color: #fff;
    font-weight: bold;
}
/*#page-container.sidebar-dark #sidebar .nav-main-link:hover,*/
/*#page-container.sidebar-dark #sidebar .nav-main-link:hover i,*/
/*#page-container.sidebar-dark #sidebar .nav-main-link:hover .nav-main-link-name {*/
/*    color: #7ca840;*/
/*}*/
.sidebar-dark #sidebar .nav-main-heading {
    color: rgba(255, 255, 255, 0.6);
}
.page-header-dark #page-header .text-dual, .sidebar-dark #sidebar .text-dual {
    color: #1EA2A1 !important
}
.page-header-dark #page-header a.text-dual:hover, .sidebar-dark #sidebar a.text-dual:hover {
    color: #0E5553 !important;
}
/* endregion menu */
.text-underline { text-decoration: underline; }
/* endregion PATRIE Theme */

/* region Bourse */
.patrie-color1 {
    color: #7ca840;
}
.patrie-color2 {
    color: #1EA2A1;
}
.patrie-color3 {
    color: #0E5553;;
}
a.text-dark:hover {
    color: #7ca840 !important;
}
a.text-dark.link-fx:before {
    background-color: #7ca840;
}

.text-patrie-1 {
    color: #7ca840  !important; /* #46c37b; */
}
.text-primary,
.status-btn.active {
    color: #7ca840 !important; /* #46c37b; */
}
.status-btn.inactive {
    color: #ff6b6b;
}
span.active {
    font-weight: 700;
    color: #7ca840 !important;
}
span.inactive {
    text-decoration: line-through;
}
table tfoot.modifications-date-line td,
.modifications-date-line {
    font-size: 0.7rem;
    text-align: right;
}

table ul.flex-list {
    list-style: none;
    -moz-column-count: 3;
    column-count: 3;
    -moz-column-gap: 40px;
    column-gap: 40px;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
}
table ul.flex-list li {
    width: 150px;
    flex-basis: 150px;
    flex-grow: 1;
    margin-bottom: 8px;
}
/* region transaction status */
.icon-ok,
.icon-ok:before {
    color: #008405 !important;
}
.icon-buy,
.icon-buy:before  {
    color: #1EA2A1 !important;
}
.icon-sell,
.icon-sell:before  {
    color: #7ca840 !important;
}
.icon-pendingexternaction,
.icon-pendingexternaction:before,
.icon-sell-pending,
.icon-sell-pending:before,
.icon-buy-pending,
.icon-buy-pending:before {
    color: #c7aa00 !important;
}
.icon-pendinguseraction,
.icon-pendinguseraction:before {
    color: #da4800 !important;
}
.icon-ko,
.icon-ko:before  {
    color: red !important;
}
.icon-buy,
.icon-sell,
.timeline-event i,
.td-icon i {
    font-size: 1.2rem;
}
.icon-buy.fa-lite, .icon-sell.fa-lite { font-size: 0.8rem; }

/* endregion transaction status */
/* region transaction historique */
#historicTab .timeline-event-block {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}
#historicTab .timeline-event-block .block-header {
    border-bottom: 1px solid rgba(0,0,0,.125);
}
#historicTab .timeline-event {
    margin-bottom: 30px;
}
#historicTab .timeline-event .block .block-title,
#historicTab .timeline-event .block .block-options {
    color: #0e5553;
}
#historicTab .timeline-event .block .block-content {
    padding: 3px;
    padding-left: 20px;
}
#historicTab .timeline-event .block .block-content p {
    margin-bottom: 0.75rem;
}

.block.block-themed .block-options .timeline-event-time.block-options-item { color: #7ca840;/* color: #fff;*/ }
/*.timeline-centered .timeline-event:not(:last-child) { margin-bottom: 2rem; }*/
.timeline-event .block-content { padding-top: 0.5rem;}
/* endregion transaction historique */
/* endregion Bourse */

/* region popup */
.modal {
    z-index: 1041; /* Si + passe devant la gallerye photo (dans la popup transformation de vente en transaction) */
}
.modal .block-title {
    text-transform: none;
}
@media (min-width: 576px) {
    .modal-form-fadein .modal-dialog { max-width: 90%;}
}
.modal-xxl {
    max-width: 90%;
}
@media (max-width: 1024px) {
    .modal-xxl {
        max-width: 95%;
    }
}
/* endregion popup */

/* region gain de place */
/*.content.content-full {*/
/*    padding: 10px 30px;*/
/*}*/
/*.content-header {*/
/*    height: 40px;*/
/*}*/
#page-container.page-header-fixed #main-container   { padding-top: 40px; }

.breadcrumb                                         { padding: 0; }
#main-container > .bg-body-light > .block-themed    { margin-bottom: 0; }
@media (min-width: 768px){
    .content {
        padding-right: 14px;
        padding-left: 14px;
    }
    #page-header .content-header {
        padding-right: 14px;
        padding-left: 14px;
    }
}
/* endregion gain de place */

/*region hack font size */
/* ---------- Form ----------  */
legend.legend-required::before,
label.required:not(.form-check-label)::before {
    content:"*";
    color: darkred;
    position: absolute;
    left: 4px;
}
label.required.form-check-label::before {
    content:"*";
    color: darkred;
    /*margin-left: 4px;*/
    position: absolute;
    left: -10px;
}
/*.col-form-label                                                         { white-space: nowrap; }*/ /* Ne convient pas aux popups avec form... */
form .help-block                                                        {  }
form .help-block:after { clear: left;}

.form-check-input  {
    accent-color:  #0e5553;
}

.dataTables_wrapper, label, select , .form-control, .col-form-label     { font-size: 0.8rem; }
div.dataTables_wrapper div.dataTables_info                              { clear: none; margin-left: 15px; padding-top: 0.3em; }
div.dataTables_wrapper div.dataTables_length                            { margin-left: 5px; }
.dataTables_wrapper .select-checkbox i                                  { font-size: 1.4em; margin-top: 40%; }
/* ---------- Table ----------  */
.table thead th                                     { font-size: 0.8rem; text-transform: capitalize; }
.table tbody td , .font-size-sm, .table tbody th    { font-size: 0.8rem !important; }
/*endregion hack font size */

/*region datatables*/
tr.selected {
    background-color: rgba(203, 238, 218, 0.5) !important;
}
.dataTable tr td.dt-break {
    word-break: break-all;
}
table.dataTable thead th, table.dataTable thead td {
    padding: 8px;
}
table.dataTable > thead > tr > th {
    vertical-align: middle;
}
body.modal-open .modal form .col-sm-3 { /* Surcharge du design des popups */
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}
body.modal-open .modal form .col-sm-9 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}
table.dataTable tfoot tr td {
    border-top: 1px solid #111;
    border-right: 0;
}
table.dataTable tfoot tr td.tf-sum {
    text-align: right;
}

table.datatable th { text-align: center; }

.table .thead-dark-patrie th {
    color: #333645;
    background-color: #ccc;
    border-color: rgba(204, 204, 204, 0.8);
    /*background-color: #333645;*/
    /*border-color: rgba(51, 54, 69, 0.8);*/
}
.table tfoot.thead-dark-patrie th {
    background-color: #eee;
    border-color: rgba(238, 238, 238, 0.05);
    color: #333645;
}

.panel-parameters {
    background-color: #f9f9f9;
    padding: 10px 8px;
}

.bg-flat-dark-op {
    background-color: #fff !important; color: #7ca840 !important; border-color: #7ca840!important;
}

/* .bg-flat-dark-op:hover      { background-color: #fff !important; color: #008d86 !important; border-color: #008d86!important;   } */

.bg-flat-dark-op i { color: #7ca840 !important;  }
.block.block-themed .btn-block-option { opacity: 1; }

    /*
    .table-small tr td {
        padding: 1px 3px;
        font-size: 13px;
    }
    .dataTable tr td.dt-nowrap {
        white-space: nowrap;
    }

    table.dataTable tbody th.focus, table.dataTable tbody td.focus { background-color: #70b9eb; border: none; box-shadow: inset 0 0 1px 1px #0e5553; }
    */

/* Custom table hover / select */
/*
.table-hover .table-row-select, .table-hover .table-row-select:hover {
    box-shadow: 0px 2px 0 rgba(29,117,179,0.2);
    -webkit-box-shadow: 0px 2px 0 rgba(29,117,179,0.2);
    -moz-box-shadow: 0px 2px 0 rgba(29,117,179,0.2);
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    background-color: #d7ebf9;
    background: linear-gradient(to left, #d7ebf9, #fff);
}

.table-hover .table-row-select td, .table-hover .table-row-select th, .table-hover .table-row-select:hover > td, .table-hover .table-row-select:hover > th {
    background-color: transparent;
    color: #1d75b3;
}
*/
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: none;
    border: solid 1px white;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.page-item.active:hover a.page-link {
    border-color: #3f5259;
}
.datatable thead tr th.th-actions {
    text-align: center;
}

.datatable thead tr .th-picture {
    text-align: center;
}


table.dataTable tbody td .btn-sm.btn-patrie {
    width: 32px;
    padding: 2px;

}
table.dataTable tbody td.details-control,
table.dataTable tbody td.td-icon {
    padding: 2px;
    text-align: center;
}
table.dataTable tbody td.details-control {
    background: url('../media/details_open.png') no-repeat center center;
    cursor: pointer;
}
table.dataTable tbody tr.shown td.details-control {
    background: url('../media/details_close.png') no-repeat center center;
}

.dt-body-center {
    text-align: center;
}
table.table table.table {
    margin-bottom: 0;
}
table.table table.table td {
    padding: 2px;
}

table.datatable button {
    white-space: nowrap;
}
/*endregion datatables*/

/* region content zone */
.top-action-row {
    width: 100%;
    text-align: center;
}
.top-action-row a,
.top-action-row button {
    margin-bottom: 5px;
}
#form-content h4 {
    margin-bottom: 3px;
}

/* endregion content zone */

/* region formulaire */
label.error {
    display: block;
    color: #ff4040;
}
form { word-wrap: break-word; }
/* region jQueryCollection */
.form-list-vertical-items { display: flex; flex-direction: column;  flex-wrap: nowrap; }
.form-list-vertical-items > div  { display: flex; flex-direction: row; flex-wrap: nowrap; align-self: flex-start; align-items: center; padding: 4px 8px; }
.form-list-vertical-items > div > div.row { display: inline-block; height: 100%; }
.form-list-vertical-items > div > div.row:not(:first-child) { padding-left: 30px; }
.form-list-vertical-items > div > div.row > label, .form-list-vertical-items > div > div.row > div { display: inline-block; width: auto; max-width: none; vertical-align: top;}
.form-list-vertical-items > div > div:last-child { display: flex; flex-direction: row; flex-wrap: nowrap; align-self: flex-start; min-width: 125px; }
.form-list-vertical-items .form-group select { margin: 0;}
.uniq-entity > legend{ padding-bottom: calc(0.375rem + 11px); }
.form-group-collection { padding-top: 10px; min-width: 50%; margin-bottom: 0; /* Important formulaire de création de compte */}
.form-list-items > div { border-bottom: 1px solid #ebebeb !important; margin-bottom: 15px; padding-bottom: 10px; width: 100%; }
.form-list-vertical-items > div > div:last-child {
    padding-left: 5px;
}
.form-list-vertical-items div > .btn-sm:not(:first-child),
.form-list-items div > .btn-sm:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}
.form-list-vertical-items div > .btn-sm:not(:last-child),
.form-list-items  div > .btn-sm:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* --- Horizontal ---*/
.form-list-horizontal-items { width: auto; display: block !important; }
.form-list-horizontal-items > div { width: max-content; display: inline-block; border-right: 1px solid #ebebeb !important; margin: 0 10px 15px 0; padding: 0 10px 0 0; border-bottom: none !important; }
.form-list-horizontal-items > div > div { width: auto; display: inline-block; margin-right: 5px; vertical-align: top; height: auto; }
/* endregion jQueryCollection */

.form-group input:not(.form-check-input), .form-group select { margin: auto; }

.horizontal-form { display: flex; }
.horizontal-form > label { margin-right: 10px; white-space: nowrap; padding-top: 3px; }

/* Comment By Fred Uncommented By Stéphanie => spécialized .custom-control-inline !*/
.custom-control-inline.custom-radio label:before,
.custom-control-inline.custom-radio label:after {
   /* margin-top: calc(0.375rem + 1px); */
    margin-bottom: calc(0.375rem + 1px);
}
legend {
    font-weight: 600;
}
legend a {
    color: #575757;
}
form .content-heading {
    width: 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding-top: 0.5rem;
}
form .form-group:hover .border-bottom {
    width: 80%;
    border-bottom-color: #7ca840 !important;
}


form .form-group input.input-xs     { width: 33%; margin-left: 0; }
form .form-group input.input-small  { width: 50%; margin-left: 0; }
form .form-group input.input-medium { width: 66%; margin-left: 0; }
form .form-group input.input-large  { width: 75%; margin-left: 0; }
input.custom-control-small + .input-group button,
input.custom-control-small {
    height: 28px;
}
.select2-dropdown {
    z-index: 1053;
}
.btn-outline-secondary,
.select2-container--default .select2-selection--single,
form input.input-spinner + .input-group input {
    border: 1px solid #eeeeee;
}
form input.input-spinner + .input-group input {
    border-radius: 4px;
}
.select2-container--default .select2-selection--single {
    height: 33px;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: block;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #7ca840;
    border : solid 1px #0E5553;
    margin-bottom: 0;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice span.select2-selection__choice__remove {
    color: #0E5553;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice span.select2-selection__choice__remove:hover {
    color: #333;
}
select.state-error[multiple] + .select2-container--default .select2-selection--multiple,
select[aria-invalid="true"][multiple] + .select2-container--default .select2-selection--multiple {
    background: #f0c6bd none repeat scroll 0 0;
    border-color: #e9a89a;
}

/* region toggles */
.custom-switch.custom-long-switch input.custom-control-input + label i:before {
    position: absolute;
    z-index: 999;
    left: 28px;
    top: 1px;
    font-weight: bold;
    font-style: initial;
}
.custom-switch.custom-long-switch label.custom-control-label,
.custom-switch.custom-long-switch label.custom-control-label:before {
    background-color: transparent;
    width: 100px;
}
.custom-switch.custom-long-switch input.custom-control-input:checked + label.custom-control-label:before {
    background-color: #0e5553;
}
.custom-switch.custom-long-switch label.custom-control-label:after {
    left: 8px;
}
.custom-switch.custom-long-switch input.custom-control-input:checked ~ label.custom-control-label:after {
    left: 70px;
}
.custom-switch.custom-long-switch.switch-active i:before {
    content: 'INACTIFS';
}
.custom-switch.custom-long-switch.switch-active input.custom-control-input:checked + label i:before {
    content: 'ACTIFS';
    color: white;
}
.custom-switch.custom-long-switch.switch-full-delivery label.custom-control-label:before {
    width: 125px;
}
.custom-switch.custom-long-switch.switch-full-delivery input.custom-control-input:checked ~ label.custom-control-label::after {
    left: 95px;
}
.custom-switch.custom-long-switch.switch-full-delivery i:before {
    content: 'ECHELONNEE';
}
.custom-switch.custom-long-switch.switch-full-delivery input.custom-control-input:checked + label i:before {
    content: 'COMPLETE';
    color: white;
}
/* endregion toggles */
input.number {
    text-align: right;
}
input.small {
    max-width: 150px;
    margin: unset;
}
/* region file */
form .custom-file-label {
    overflow: hidden;
}
form .custom-file-label:after {
    content: 'Parcourir';
}
div.input-preview { display: inline-block; position: relative; }
img.admin-edit-img {
    max-width: 100px;
    max-height: 100px;
    display: block;
    margin-right: 5px;
}
div.input-preview a.removeFileBtn {
    cursor: pointer;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.75em;
    color: red;
}
/* endregion file */

/* region chosen */
select.select-small + .chosen-container {
    min-width: 200px;
    max-width: 30%;
}
select.select-medium + .chosen-container {
    min-width: 300px;
    max-width: 45%;
}
.chosen-container ul.chosen-results li.icon {
    color: #444 !important;
}
.chosen-container ul.chosen-results li.icon.highlighted {
    color: #fff !important;
}
.chosen-container ul.chosen-results li.icon:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}
.chosen-container-single a.chosen-single {
    box-shadow: none;
    background: transparent;
    height: 34px;
    line-height: 30px;
}
.chosen-container-active.chosen-with-drop a.chosen-single {
    background: transparent;
}
.chosen-container-active.chosen-with-drop .chosen-single div b,
.chosen-container-single a.chosen-single div b {
    background-position-y: 5px;
}
/* endregion chosen */

/* region clockpicker */
.clockpicker-popover.left.clockpicker-align-bottom {
    margin-top: 140px;
}
.clockpicker-popover .text-primary {
    color: #7ca840 !important;
}
.clockpicker-canvas-bg {
    fill: #aeeae6;
}
.clockpicker-canvas-bearing, .clockpicker-canvas-fg {
    fill: #7ca840;
}
.clockpicker-canvas line {
    stroke: #7ca840;
}
input.timepicker {
    /*max-width: 120px;*/
}
input.timepicker.form-control[readonly] {
    background-color: inherit;
}
input.timepicker.state-error.form-control[readonly] {
    background: #f0c6bd none repeat scroll 0 0;
}
/* endregion clockpicker */

/* region input-group */
.input-group {
    position: relative;
}
.input-group .icon-append {
    position: absolute;
    z-index: 1052;
    top: 6px;
    right: 10px;
    font-size: 18px;
    border-left: 1px solid #c0c2c7;
    padding-left: 8px;
    height: 20px;
}
.input-group .icon-append + input {
    padding-right: 46px;
}
/* endregion input-group */
/* region validation */
.state-error, .form-control.form-control-alt.state-error,
div.chosen-container.state-error > a,
.state-error > div.chosen-container > ul {
    background: #f0c6bd none repeat scroll 0 0;
    border-color: #e9a89a;
}
.state-success,
div.chosen-container.state-success > a,
.state-success > div.chosen-container > ul {
    /*background: #cae1bd none repeat scroll 0 0;*/
    border-color: #82b964;
}
/* endregion validation */

/* region produit */
form .form-group label.label-fix-width-caracteristique { /* ICI responsive KO... voir pourquoi col-sm ne fonctionne pas comme souhaité */
    min-width: 250px;
}
form .form-group label.label-fix-width-caracteristique + div {
    display: inline-table;
}
/*@media(max-width:600px) {*/
    /*form .form-group label.label-fix-width-caracteristique {*/
        /*min-width: inherit;*/
        /*width: 100%;*/
    /*}*/
    /*form .form-group label.label-fix-width-caracteristique + div {*/
        /*display: inline-block;*/
        /*width: 100%;*/
    /*}*/
/*}*/
form #recapitulatif-produit-template {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 0;
}
form #recapitulatif-produit-template > li {
    width: 33%;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
form #recapitulatif-produit-template ul.characteristic-list > li:first-child {
    list-style: none;
}
form #recapitulatif-produit-template ul.characteristic-list > li span { min-width: 260px; display: inline-block; }
/* endregion produit */

.datepicker.datepicker-dropdown .datepicker-days table tr td.disabled,
.datepicker.datepicker-dropdown .datepicker-days table tr td.disabled:hover {
    color: #d0d0d0;
}
.datepicker.datepicker-dropdown.datepicker-orient-bottom {
    margin-top: 37px;
}
.datepicker.datepicker-dropdown.datepicker-orient-top {
    margin-top: 31px;
}

.input-daterange {
    min-width: 250px;
    max-width: 400px;
}
.input-daterange label.error + label.error {
    display: none !important;
}

/* region candlestick*/
.candlestick-wrapper.candlestick-contents {
    height: 26px;
}
.candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-toggle {
    height: 26px;
    top: 0!important;
    background-color: #e9e9e9;
    border: 1px solid #E8E8E8;
}
.candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-nc,
.candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-off,
.candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-on {
    height: 30px;
}
.candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-nc:after,
.candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-off:after,
.candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-on:after {
    line-height: 26px;
}
.candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle,
.candlestick-wrapper.candlestick-contents .candlestick-bg.off .candlestick-toggle {
    background-color: #1EA2A1;
}
.candlestick-wrapper.candlestick-contents .candlestick-bg.default .candlestick-nc:after {
    color: #575757;
}

.distributedCharge-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.default .candlestick-toggle {
    width: 30px;
    left: 133px !important;
}
.distributedCharge-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle {
    left: 171px !important;
}
.distributedCharge-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-nc {
    left: 135px;
    width: 25px;
}
.distributedCharge-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.off .candlestick-toggle,
.distributedCharge-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-off,
.distributedCharge-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle,
.distributedCharge-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-on {
    width: 135px !important;
}

.chevronsPlots-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents {
    width: 240px;
}
.chevronsPlots-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.default .candlestick-toggle {
    width: 35px;
    left: 110px !important;
}
.chevronsPlots-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle {
    left: 145px !important;
}
.chevronsPlots-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-nc {
    left: 98px;
    width: 38px;
}
.chevronsPlots-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.off .candlestick-toggle,
.chevronsPlots-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-off,
.chevronsPlots-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle,
.chevronsPlots-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-on {
    width: 100px !important;
}

.yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents {
    width: 200px;
}
.yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.default .candlestick-toggle {
    width: 30px;
    left: 85px !important;
}
.yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle {
    left: 110px !important;
}
.yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-nc {
    left: 80px;
    width: 25px;
}
.yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.off .candlestick-toggle,
.yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-off,
.yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle,
.yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-on {
    width: 90px !important;
}

.nbEntrees-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents {
    width: 140px;
}
.nbEntrees-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.default .candlestick-toggle {
    width: 30px;
    left: 55px !important;
}
.nbEntrees-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle {
    left: 80px !important;
}
.nbEntrees-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-nc {
    left: 60px;
    width: 25px;
}
.nbEntrees-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.off .candlestick-toggle,
.nbEntrees-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-off,
.nbEntrees-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle,
.nbEntrees-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-on {
    width: 60px !important;
}

.xl-candlestick .candlestick-wrapper.candlestick-contents {
    width: 240px;
}
.xl-candlestick .candlestick-wrapper.candlestick-contents .candlestick-bg.default .candlestick-toggle {
    width: 35px;
    left: 110px !important;
}
.xl-candlestick:not(.avoid-choiceAll) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle {
    left: 140px !important;
}
.xl-candlestick .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-nc {
    left: 95px;
    width: 38px;
}
.xl-candlestick:not(.avoid-choiceAll) .candlestick-wrapper.candlestick-contents .candlestick-bg.off .candlestick-toggle,
.xl-candlestick:not(.avoid-choiceAll) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-off,
.xl-candlestick:not(.avoid-choiceAll) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle,
.xl-candlestick:not(.avoid-choiceAll) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-on {
    width: 100px !important;
}

.xl-candlestick.avoid-choiceAll .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle {
    left: 120px !important;
}
.xl-candlestick.avoid-choiceAll .candlestick-wrapper.candlestick-contents .candlestick-bg.off .candlestick-toggle,
.xl-candlestick.avoid-choiceAll .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-off,
.xl-candlestick.avoid-choiceAll .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle,
.xl-candlestick.avoid-choiceAll .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-on {
    width: 120px !important;
}

/* region responsive */
@media (max-width: 1150px) {
    .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-nc::after,
    .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-off::after,
    .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-on::after {
        font-size: 11px;
    }

    /* Oui / Non */
    .yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents {
        width: 150px;
    }
    .yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-nc,
    .yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.default .candlestick-toggle {
        width: 20px;
        left: 65px !important;
    }
    .yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.off .candlestick-toggle,
    .yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-off,
    .yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle,
    .yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg .candlestick-on {
        width: 70px !important;
    }
    .yesNo-candlestick:not(.xl-candlestick) .candlestick-wrapper.candlestick-contents .candlestick-bg.on .candlestick-toggle {
        left: 80px !important;
    }
}
/* endregion responsive */

/* region errors */
.candlestick-wrapper.candlestick-contents > div.candlestick-bg.error-candlestick {
    border-color: #d26a5c;
}
/* endregion errors */
/* endregion candlestick*/
/* region rangeslider */
.rangeslider {
    min-width: 200px;
}
.rangeslider .irs.irs--round .irs-handle {
    border-color: #F7941D;
}
.rangeslider .irs.irs--round .irs-from,
.rangeslider .irs.irs--round .irs-to,
.rangeslider .irs.irs--round .irs-single {
    /*background : #F7941D;*/
    background : transparent;
    border: solid 2px #F7941D;
    color: #575757;
}
.rangeslider:not(.rangeslider-down) .irs.irs--round .irs-from::before,
.rangeslider:not(.rangeslider-down) .irs.irs--round .irs-to::before,
.rangeslider:not(.rangeslider-down) .irs.irs--round .irs-single::before {
    border-top-color: #F7941D;
}
.rangeslider .irs.irs--round .irs-handle {
    border-color: #F7941D;
    /*border-color: #7ca840;*/
}
.rangeslider .irs.irs--round .irs-bar {
    background: linear-gradient(to right, #3f5259, #7ca840 );
}
/* region down */
.rangeslider.rangeslider-down .irs.irs--round .irs-from::before,
.rangeslider.rangeslider-down .irs.irs--round .irs-to::before,
.rangeslider.rangeslider-down .irs.irs--round .irs-single::before {
    top: -8px;
    /*border:3px solid transparent;*/
    border-bottom-color: #F7941D;
    border-top-color: white;
}
.rangeslider.rangeslider-down .irs-from,
.rangeslider.rangeslider-down .irs-to,
.rangeslider.rangeslider-down .irs-single,
.rangeslider.rangeslider-down .irs--round .irs-min,
.rangeslider.rangeslider-down .irs--round .irs-max {
    top: 28px;
}
.rangeslider.rangeslider-down .irs--round .irs-line,
.rangeslider.rangeslider-down .irs--round .irs-bar {
    top: 10px;
}
.rangeslider.rangeslider-down .irs--round .irs-handle {
    top: 0;
}

.irs.irs--round .irs-bar, .irs.irs--round .irs-from, .irs.irs--round .irs-to, .irs.irs--round .irs-single { background: #1EA2A1; }
.irs.irs--round .irs-handle { border-color: #1EA2A1; }

.irs.irs--round .irs-line {
    background: #0E5553;
}
/* endregion down */
/* endregion rangeslider */

.form-control::placeholder {
    opacity: 0.7;
}
.control-number-patrie { text-align: center !important; color: #7ca840; }

label.label-with-tooltip::after,
legend.label-with-tooltip::after {
    content: "\f059";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 3px;
}

form .custom-checkbox .col-form-label {
    font-weight: 600;
    margin-right: 50px;
}
form .custom-checkbox .col-form-label:hover,
form .custom-radio .col-form-label:hover {
    cursor: pointer;
}
form .custom-checkbox-right.custom-control-lg {
    padding-left: 0;
    padding-right: 2.5rem;
}
form .custom-checkbox .col-form-label:before,
form .custom-checkbox .col-form-label:after {
    left: unset;
    right: -25px;
    top: 0.5rem
}
form .checkbox-inline .custom-checkbox {
    display: inline-block;
}
form input.input-primary { background-color: rgb(92, 128, 209); color:#fff; font-weight: bold;  font-size: 1rem; }
form input.input-secondary { background-color: rgba(92, 128, 209, 0.6); color:#fff; font-weight: bold;  font-size: 1rem; }
form input[type="number"] { text-align: right; }

form .input-group button {
    line-height: 1;
}
form .slider-number .input-group button {
    height: auto;
}
form .js-tooltip.js-tooltip-enabled {
    float: left;
    margin-right: 8px;
}
form input.font-weight-bold {
    font-weight: 1000 !important;
}

/* region errors */
input.invalid-feedback {
    display: block;
}
/* endregion errors */

input.form-control,
form td,
form span,
form strong {
    -webkit-transition: background-color 1s linear;
    -ms-transition: background-color 1s linear;
    transition: background-color 1s linear;
}
.changed-highlighted {
    background-color: rgba(30, 162, 161, 0.51);
}

form button.btn.finish.d-none {
    display: inline-block !important;
}

.input-group-append a {
    cursor: pointer;
}

form#login-form {
    width: 400px;
}
@media (max-width: 1400px) {
    form#login-form {
        width: 350px;
    }
}
@media (max-width: 1250px) {
    form#login-form {
        width: 300px;
    }
}
@media (max-width: 767px) {
    #loginpage .border-right {
        border-right: none !important;
    }
}
/* endregion formulaire */

/* region generic */
.hidden { display: none; }
.text-area-zone     { display: block; border: 1px dashed #575757; padding: 12px 6px; }
.align-content-top * { vertical-align: top !important; }
.badge-hard { text-transform: uppercase; font-weight: bold; }
.badge-light { background-color: #ced4da  !important; color: #fff; }
table .badge { font-size: 100%; }
.badge-patrie { background-color: #7ca840; color: #fff; font-weight: bold; }
.badge-patrie-light { background-color: #7ca840;  color: #fff; font-weight: bold; }
.badge-patrie-inv { background-color: #fff; color: #7ca840; border:1px solid #7ca840; font-weight: bold; }
.badge-patrie-medium { background-color: rgba(30, 162, 161,.75); color: #fff; font-weight: bold; }
.badge-patrie-hard { background-color: #0E5553; color: #fff; font-weight: bold; }
.tab-pane .block .block-content { padding: 20px; }
.heading-line:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    border-top: 2px solid #eee;
    left: auto;
    top: 58%;
    right: 0;
}
.heading-line {
    position: relative;
    text-align: center;
}
.heading-line * {
    background-color: #fff;
    position: relative;
    display: inline-block;
}
@media(min-width: 992px) {
    ul.list-group-horizontal-lg li {
        margin-right: 8px;
    }
}
@media(min-width: 768px) {
    ul.list-group-horizontal-md li {
        margin-right: 8px;
    }
}
.odd { background-color: #f9f9f9; }
.line-through {
    text-decoration: line-through;
}
/* endregion generic */

.ui-tooltip {
    z-index: 1070;
    /*min-width: 100px;*/
    /*min-height: 40px;*/


}

.tooltip ul.list-tooltip {
    text-align: left;
    font-size: 11px;
    margin-top: 6px;
}

/*.tooltip-inner {*/
/*    max-width: 200px;*/
/*    padding: .25rem .75rem;*/
/*    color: #fff;*/
/*    text-align: center;*/
/*    background-color: rgba(0,0,0,.9);*/
/*    border-radius: 0;*/
/*}*/

/* region wizard-patrie */
.wizard-patrie #progress-zone {
    position: relative;
}
.wizard-patrie #progress-zone button i {
    vertical-align: top;
    font-size: 22px;
}
.wizard-patrie #progress-zone button {
    position: absolute; padding: 4px; margin: 0; line-height: 0.8; color: #7ca840;
    top: -10px;
}
.wizard-patrie #progress-zone button:not(.disabled):hover {
    color: #ffffff;
}
.wizard-patrie #progress-zone button.disabled:hover {
    color: #333;
}
.wizard-patrie #progress-zone .next {
    right: 0;
}
.wizard-patrie #progress-zone .progress { height: 14px;/* margin-left: 60px; margin-right: 70px;*/ }

.wizard-patrie .wizard .nav-item .nav-link                  { opacity: 0.6;  }
.wizard-patrie .wizard .nav-item .nav-link:hover            { opacity: 0.8; }
.wizard-patrie .wizard .nav-item .nav-link.active           { color: #7CA840; background-color: #ffffff; opacity: 1; height: 100%; }
.wizard-patrie .wizard .nav-item .nav-link.active:hover     {  opacity: 1; }
.wizard-patrie .wizard .nav-item img                        { width: 110px;}
.wizard-patrie .wizard .nav-item i                          { font-size: 68px; }
.wizard-patrie .wizard .nav-item .nav-link em               { display: block; position: relative; top: -10px; color: #333; font-size: 1rem; }
.wizard-patrie .wizard .nav-item .nav-link.active em        { color: #7CA840; }
.wizard-patrie .wizard .nav-item.disabled .nav-link         { opacity: 0.6; color: #aaa; }
.wizard-patrie .wizard .nav-item.disabled .nav-link em      { color: #aaa; }
.wizard-patrie .wizard .nav-item.disabled .nav-link:hover   { opacity: 0.6; }
.wizard-patrie .wizard .nav-link                            { border-bottom-left-radius: 0; border-bottom-right-radius: 0; position: relative; }

/*.wizard a:before {*/
/*    width: 0;*/
/*    height: 0;*/
/*    border-top: 74px inset transparent !important;*/
/*    border-bottom: 74px inset transparent !important;*/
/*    border-left: 74px solid #F5F5F5 !important;*/
/*    position: absolute;*/
/*    content: "";*/
/*    top: 0;*/
/*    left: 0;*/

/*}*/

.wizard-patrie.configurator-page .wizard a {
    margin-right: 30px;
    padding-left: 2px;
    padding-right: 2px;
}

.wizard-patrie.configurator-page .wizard a:after {
    width: 0;
    height: 0;
    opacity: 0.6;
    border-top: 74px inset transparent !important;
    border-bottom: 74px inset transparent !important;
    border-left: 24px solid transparent !important;
    position: absolute;
    content: "";
    top: 0;
    right: -60px;
    z-index: 200;
}

.wizard-patrie.configurator-page .wizard a.active:after {
    border-left: 60px solid #FFFFFF !important; opacity: 1;
}


.wizard-patrie .wizard .nav-item .nav-link em.mobile {
    position: absolute; text-align: center; top: 50%; right: 0; left: 0; -ms-transform: translateY(-50%); transform: translateY(-50%);
    display: none;
}

.text-canvas-helper .btn        { position: absolute; right: 0; }
.canvas-container canvas        { max-width: 100%; }

#main-container > .content > .configurator-page { margin-top: 180px;}
#main-container > .content > .configurator-page-sell { margin-top: 0;}


@media(max-width:1200px) {
    .wizard-patrie.configurator-page .wizard a { height: 175px; }
    .wizard-patrie.configurator-page .wizard a:after {
        right: -40px;
        border-top: 88px inset transparent !important;
        border-bottom: 88px inset transparent !important;
    }
    .wizard-patrie.configurator-page .wizard a.active:after { border-left-width: 40px !important; }

    .wizard-patrie .wizard .nav-item .nav-link em   { font-size:0.8rem; }
    .wizard-patrie .wizard .nav-item i              { font-size: 50px; }
    .wizard-patrie .wizard .nav-item img            { width: 90px; }
}

/*@media (max-width: 992px) {*/
/*    .wizard-patrie .wizard .nav-item .nav-link em   { font-size:0.7rem; }*/
/*    .wizard-patrie .wizard .nav-item i              { font-size: 45px; }*/
/*}*/



@media only screen and (min-width: 992px) and (max-width: 1200px) {

    #main-container > .content > .configurator-page { margin-top: 150px;}
    #main-container > .content > .configurator-page-sell { margin-top: 0;}

    .wizard-patrie .wizard .nav-item { flex-basis: 14%;  }
    .wizard-patrie .wizard .nav-item , .wizard-patrie.configurator-page .wizard a    { height: 120px;}
    .wizard-patrie.configurator-page .wizard a.active::after {
        right: -30px;
        border-left-width: 30px !important;
        border-top: 60px inset transparent !important;
        border-bottom: 60px inset transparent !important;
    }

}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    #main-container .fixed-top { left: 0; margin-left: 14px;}
    #main-container > .content > .configurator-page { margin-top: 260px;}
    #main-container > .content > .configurator-page-sell { margin-top: 0;}


    .wizard-patrie .wizard .nav-item { flex-basis: 25%;  }
    .wizard-patrie.configurator-page .wizard a { margin-right: 2px;}
    .wizard-patrie .wizard .nav-item , .wizard-patrie.configurator-page .wizard a    { height: 120px;}
    .wizard-patrie.configurator-page .wizard a.active::after { display: none; }

}


@media only screen and (min-width: 576px) and (max-width: 767px) {

    #main-container .fixed-top { left: 0; margin-left: 14px;}
    #main-container > .content > .configurator-page { margin-top: 250px;}
    #main-container > .content > .configurator-page-sell { margin-top: 0;}

    .wizard-patrie a.nav-link .badge-step i { font-size: 28px; }
    .wizard-patrie a.nav-link .badge-step img { width: 50px;   }
    .wizard-patrie .wizard .nav-item { flex-basis: 25%;  }
    .wizard-patrie.configurator-page .wizard a { margin-right: 2px;}
    .wizard-patrie .wizard .nav-item .nav-link em   { display: none; }
    .wizard-patrie .wizard .nav-item .nav-link em.mobile { display: block }
    .wizard-patrie.configurator-page .wizard a.active::after { display: none; }
    .wizard-patrie .wizard .nav-item , .wizard-patrie.configurator-page .wizard a    { height: 100px;}
    .wizard-patrie .wizard .nav-item .nav-link em.mobile { padding-top: 15%; }
    .wizard-patrie #progress-zone .progress { height: 8px }
}

@media only screen and (max-width: 576px) {

    #main-container .fixed-top { left: 0; margin-left: 14px;}
    #main-container > .content > .configurator-page { margin-top: 180px;}
    #main-container > .content > .configurator-page-sell { margin-top: 0;}

    .wizard-patrie a.nav-link .badge-step  { display: none; }
    .wizard-patrie.configurator-page .wizard a.active::after { display: none; }
    .wizard-patrie .wizard .nav-item , .wizard-patrie.configurator-page .wizard a    { height: 60px;}
    .wizard-patrie .wizard .nav-item { flex-basis: 25%;  }
    .wizard-patrie .wizard .nav-item .nav-link { margin-right: 2px;}
    .wizard-patrie .wizard .nav-item .nav-link em   { display: none; }
    .wizard-patrie .wizard .nav-item .nav-link em.mobile { display: block;}
    .wizard-patrie #progress-zone .progress { height: 8px }

    .text-canvas-helper { display: none !important; }

}


.wizard .nav-item:last-child a:after            { border: none !important; }


.block-header.block-header-black                { background-color: #0E5553;  color: #fff; border-color: #7ca840; }
.block-header.block-header-black span.badge     { background-color:#fff; color: #0E5553;  }
    /* endregion wizard-patrie */

/* region cart */

.bg-header .content.content-full { padding-bottom: 0.5rem; padding-top: 3rem; }

.bg-primary-dark-op {
    /*background-color: rgba(62, 74, 89, 0.5) !important;*/
    /*background-color: rgba(30, 162, 161, 0.3) !important;*/
    /*background-color: rgba(14, 85, 83, 0.3) !important;*/
    background-color: rgba(176, 171, 91, 0.3) !important;
}

table.cart-list tbody td.card-img .img-thumb    { display: inline-block; padding: 0; }
table.cart-list tbody td.card-img               { width: 100px; }
table.cart-list tbody td.card-img img           { width: 100%; }
table.cart-list tbody .pallet-condition         { position: relative; top: -5px; float: right;  }
table.table tbody tr td ul.characteristic-list  { padding-left:0; padding-top: 8px; }
table.cart-list tbody .characteristic-list li   { list-style: none; display: inline; padding: 8px 6px; white-space: nowrap; }
table.cart-list tbody td h5                 {
    border-bottom: 1px solid #7ca840; color: #7ca840;;
    /*background-color: rgba(124, 168, 64, 0.1); */
    padding: 2px 0;
}
table.cart-list tbody td h5 span            { font-size: 0.9rem; }
/*.separator { margin: 8px 0; padding: 10px 6px; border-top:1px solid #7ca840; }*/

    /* endregion cart */

/* region background */
.bg-patrie-light { background-color: #7ca840; }
.bg-patrie-medium { background-color: rgba(30, 162, 161,.75); }
.bg-patrie-hard { background-color: #0E5553; }
/* endregion background */

/* region footer */
footer .copyright { line-height: 35px; }
footer .block-title div { display: inline-block; text-align: center; margin-right: 12px; font-size: 1.1rem; line-height: 1.2rem;  }
footer .block-title div small { line-height:1.2rem; font-size: 0.9rem;  }
/* endregion footer */

.block.block-rounded {
    border-radius: 50px 0 50px 0;
}

.bg-header {
    background-image: url('../media/piles_palettes.jpg');
    background-size: cover;
}

/* region legend */
.legend {
    font-size: 90%;
}
/* endregion legend */

/* region SimilarProduct */
.block-similar-product {

}

.block-similar-product .card-header-img {
    height: 140px; overflow: hidden;
}
.block-similar-product .card-header-img img { }
.block-similar-product h5 { margin-bottom: 0.25rem; }
.block-similar-product .card-footer button { width: 100%;}
.block-similar-product .card-body {
    padding-bottom: 0; padding-top: 0;
}
/* endregion SimilarProduct */

.modal-content .card-body {
    padding: 10px;
}

.table-qty td i { float: left; }
.table-lot caption { text-align: center; background-color: #eee; font-weight: bold;  }
img.thundmail { width: 50px; }



.files-collection { list-style: none; }
.files-collection li {
    float:left; margin: 2px 5px;
}
.files-collection li a { display: block; float:left;   background-image: url('../media/computer-icons-document-file-format-pdf-100x100.png'); background-position: top center; background-repeat: no-repeat;
    width: 120px; height: 130px;  border: 1px dashed transparent; border-radius: 5px; }
.files-collection li a:hover { border: 1px dashed #0E5553; }
.files-collection li span { display: block; margin-top: 110px; }

/* region toast */
.toast {
    background-color: #ffffff;
}
/* endregion toast */

.tagify {
    min-width: 338px;
}
.tagify .tagify__input { margin: 0; }

.flex-filter { display: flex; flex-direction: row;  flex-wrap: wrap; margin-right: 120px; row-gap: 10px; justify-content: space-around; }

.flex-filter .filter-row-divider {
    display: inline-block;
    align-self: stretch;
    width: 1px;
    min-height: 1em;
    background-color: #6c757d;
    opacity: .25;
    margin-right: 14px;
    margin-left: 14px;
}

.flex-filter .horizontal-form label { margin-bottom: 0; }

.flex-filter .form-group { margin-bottom: 0; }

canvas.chartjs {
    min-height: 0; max-height: none;
    position: relative; top: 0; bottom: 0; left: 0; right: 0;
}