:root {
    --bc-blue: #4fbdc3;
    --bc-blue-hover: #3fadb3;
    --bc-blue-focus: #2f9da3;
    --bc-blue-disabled: #ddd;
    --bc-red: #eb594a;
    --bc-red-hover: #db493a;
    --bc-red-focus: #cb392a;
    --bc-red-disabled: #ddd;
    --ldc-orange: #DAA520;
    --edc-blue: #4682b4;
    --edc-green: #5AAA41;
    --edc-green-hover: #4A9A31;
    --edc-green-focus: #3A8A21;
    --edc-green-disabled: #ddd;
    --edc-green-light: #ECFAD1;
    --light-warning: #f0e68c;
}

@-webkit-keyframes rotating {
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}
.rotating {
    animation: rotating 2s linear infinite;
}

.managerLogo {
    margin-top: 16px;
    margin-bottom: 16px;
}

.tableSearch {
    width: 100%;
    border: solid 1px white;
    padding: 6px;
}

.t-7 {
    font-size: 0.7em;
}
.t-8 {
    font-size: 0.8em;
}
.t-9 {
    font-size: 0.9em;
}

a.nav-link, a.dropdown-item {
    cursor:pointer;
}

.text-bce-red, .rowFundingAmount {
    color: var(--bc-red)!important;
}
.text-edc-green {
    color: var(--edc-green)!important;
}
.text-edc-blue {
    color: var(--edc-blue)!important;
}
.text-bce-blue {
    color: var(--bc-blue)!important;
}
.text-gray {
    color: #808080;
}
.text-light {
    color: #aaa;
}
.text-light-warning {
    color: var(--light-warning);
}
.bg-light-warning {
    background-color: var(--light-warning);
}
.watermark{
    position: absolute;
    right:10px;
    top:10px;
    color:#eee;
}

.message {
    padding: 6px;
    border: solid 1px lightgray;
    border-radius: 6px;
}

.fullwidth .message {
    width: 100%;
}

a.path {
    color: #ccc;
}
a.path:hover {
    text-decoration: none;
    color: #aaa;
}
.dropdown-menu-right{
    float:right;
    margin-left:5px;
}
div.documentTotal {
    width: 30%;
    margin-left:auto;
}
div.documentTotal.it-100 {
    width: 100%;
}
div.documentTotal>div {
    display:grid;
}
div.documentTotal>div div.label {
    grid-column:1/2;
    grid-row:1;
    font-weight: bold;
    text-align: left;
}
div.documentTotal>div div.value {
    grid-column:2/2;
    grid-row:1;
    text-align: right;
}

.uploadZone div.card-body{
    font-size: 0.9em;
}
.uploadZone>a {
    text-align: center;
    font-style: italic;
    color: #999;
    cursor:pointer;
    border:solid 6px #fff;
    border-radius: 6px;
    transition: 1s;
}
.uploadZone>a:hover{
    text-decoration: none;
    background:#e5e5e5;
    border-color:#ccc;
}
.uploadZone a.card-body>i {
    display:block;
}
.uploadZone input[type=file] {
    display:none;
}

.rowCalculation, .documentCalculation {
    font-size: 0.8em;
}
.rowCalculation span.calcItem, .documentCalculation span.calcItem {
    display:inline-flex;
    flex-direction:column;
    white-space:nowrap;
}
.rowCalculation span>span, .documentCalculation span>span{
    padding: 0 2px;
    border:solid 1px gray;
    border-radius: 6px;
}
.rowCalculation span>span:first-child, .documentCalculation span>span:first-child {
    background: #afeeee;
    color:#000;
    margin-bottom: 2px;
}
.rowCalculation span>span:last-child, .documentCalculation span>span:last-child {
    background: #8fbc8f;
    color:#fff;
    text-align: center;
}

.card-header.pending {
    background: #dfa000!important;
    color: #fff!important;
}

.edit-filters{
    background: #fdfdfd;
    font-family: "Courier New", serif;
}

/********************** Manage menu list **********************************************/
ul.manage, ul.manage li ul {
    list-style:none;
    margin:0;
    padding:0;
}
ul.manage>li {
    display: block;
    clear: both;
    color:#B5B7C6;
    border-bottom: solid 1px #B5B7C6;
}
ul.manage li ul li a {
    display:flex;
    flex-direction: column;
    align-items: center;
    color:#858796;
    width:100%;
}
ul.manage li ul li a:hover {
    text-decoration: none;
    color:#454756;
}
ul.manage li ul li {
    width: 100px!important;
    float: left;
    margin-right: 20px;
    margin-top: 16px;
    margin-bottom: 26px;
    text-align: center!important;
    font-size: 0.8em;
}
ul.manage li ul li i {
    display: block;
    clear:both;
    font-size: 1.6em;
    margin-bottom: 6px;
}
/********************** Integer Toggle ************************************************/
.integerToggle a.minBtn:hover, .integerToggle a.maxBtn:hover {
    text-decoration: none;
}

/********************** Bouton save ***************************************************/
#grpSave img.waiting, #grpSave div.message {
    display:none;
}
.floatActionButton{
    position:absolute;
    right:25px;
    bottom:10px;
    opacity:0.5;
}
.floatActionButton:hover{
    opacity: 1!important;
}
#grpSave {
    float:right;
    text-align: right;
    width:60%;
}

#moreFiltres {
    font-size: 0.7em;
    display:block;
    width:100%;
    text-align: right;
}

#setFiltres, #resetFiltres {
    width:100%;
    margin-top: 16px;
}

.buttonListSearch:hover {
    text-decoration: none;
}
.buttonList .text:hover{
    cursor: pointer;
}
.buttonList input.text.disabled{
    background: #eaecf4;
    cursor: not-allowed;
}
.buttonList .input-group-append a.disabled{
    cursor: not-allowed;
}
/********************** Tagify ********************************************************/
.tags-look .tagify__dropdown__item{
    display: inline-block;
    vertical-align: middle;
    border-radius: 3px;
    padding: .3em .5em;
    border: 1px solid #CCC;
    background: #F3F3F3;
    margin: .2em;
    font-size: .85em;
    color: black;
    transition: 0s;
}

.tags-look .tagify__dropdown__item--active{
    border-color: black;
}

.tags-look .tagify__dropdown__item:hover{
    background: lightyellow;
    border-color: gold;
}

.tags-look .tagify__dropdown__item--hidden {
    max-width: 0;
    max-height: initial;
    padding: .3em 0;
    margin: .2em 0;
    white-space: nowrap;
    text-indent: -20px;
    border: 0;
}
/********************** Fulltext Item *************************************************/
.ftItem {
    display: flex;
    align-items: flex-start;
    cursor:pointer;
}
.ftItem>div {
    align-self: center;
    padding:0;
}
.ftItem .ftIcon {
    /*background: red;*/
    text-align: center;
}
.ftItem .ftIcon>i {
    font-size:1.6em;
    border:solid 1px gray;
    background:#eee;
    border-radius: 50%;
    padding-top:6px;
    width:40px;
    height:40px;
    overflow: hidden;
}
.dropdown-item.active .ftItem .ftIcon>i, .ftItem:hover .ftIcon>i{
    background:#555;
}
.ftItem .ftText {
    /*background: green;*/
    padding-left:6px;
}
.ftItem .ftText>span {
    display:block;
}
.ftItem .ftText>span:first-child{
    font-size:1em;
}
.ftItem .ftText>span:last-child{
    font-size:0.8em;
}
/********************** Bootstrap *****************************************************/
a.shadow{
    transition:0.3s;
}
a.shadow:hover{
    text-decoration:none;
    background:#eee;
}
.progressText {
    position:absolute;
    width:100%;
    text-align:center;
    top:0;
    line-height:20px;
    color:#555;
    font-weight:bold;
}
#accordionSidebar {
    background-image: url("../img/logo_left.png");
    background-position: right bottom 20px;
    background-repeat: no-repeat;
}
.topbar {
    background-image: url("../img/wine_line.png");
    background-position: top 50% right 30%;
    background-repeat: no-repeat;
}
.badge {

}
.t-09{
    font-size:0.9em;
}
.t-08{
    font-size:0.8em;
}
.t-07{
    font-size:0.7em;
}
.t-06{
    font-size:0.6em;
}
.t-05{
    font-size:0.5em;
}
.t-0 {
    font-size: 1em;
}
.t-5 {
    font-size: 1.5em;
}
.t-10 {
    font-size: 2em;
}
.t-40 {
    font-size: 3em;
}
.dialogTitle {
    font-size: 1.2em;
    color: #aaa;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 12px;
    border-bottom: solid 1px #ddd;
}
.input-sm {
    height: 30px;
    line-height: 30px;
    font-size: 0.9em;
}
h1>.badge {
    margin-left: 6px;
    font-size: 0.4em;
    vertical-align: top;
    margin-top:6px;
}
.row.rowTitle {
    background: rgba(79, 189, 195, 0.2);
    margin: 0;
    padding: 5px;
}

.card-header input.search {
    background: none;
    border: none;
}

.btn-bce-blue {
    color: #fff;
    background-color: var(--bc-blue);
    border-color: var(--bc-blue);
}

.btn-bce-blue:hover {
    color: #fff;
    background-color: var(--bc-blue-hover);
    border-color: var(--bc-blue-hover);
}

.btn-bce-blue:focus, .btn-bce-blue.focus {
    color: #fff;
    background-color: var(--bc-blue-focus);
    border-color: var(--bc-blue-focus);
    box-shadow: 0 0 0 0.2rem rgba(105, 136, 228, 0.5);
}

.btn-bce-blue.disabled, .btn-bce-blue:disabled {
    color: #fff;
    background-color: var(--bc-blue-disabled);
    border-color: var(--bc-blue-disabled);
}

.btn-bce-blue:not(:disabled):not(.disabled):active, .btn-bce-blue:not(:disabled):not(.disabled).active,
.show > .btn-bce-blue.dropdown-toggle {
    color: #fff;
    background-color: var(--bc-blue-focus);
    border-color: var(--bc-blue-focus);
}

.btn-bce-blue:not(:disabled):not(.disabled):active:focus, .btn-bce-blue:not(:disabled):not(.disabled).active:focus,
.show > .btn-bce-blue.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(105, 136, 228, 0.5);
}

.btn-bce-red {
    color: #fff;
    background-color: var(--bc-red);
    border-color: var(--bc-red);
}

.btn-bce-red:hover {
    color: #fff;
    background-color: var(--bc-red-hover);
    border-color: var(--bc-red-hover);
}

.btn-bce-red:focus, .btn-bce-red.focus {
    color: #fff;
    background-color: var(--bc-red-focus);
    border-color: var(--bc-red-focus);
    box-shadow: 0 0 0 0.2rem rgba(235, 89, 74, 0.5);
}

.btn-bce-red.disabled, .btn-bce-red:disabled {
    color: #fff;
    background-color: var(--bc-red-disabled);
    border-color: var(--bc-red-disabled);
}

.btn-bce-red:not(:disabled):not(.disabled):active, .btn-bce-red:not(:disabled):not(.disabled).active,
.show > .btn-bce-red.dropdown-toggle {
    color: #fff;
    background-color: var(--bc-red-focus);
    border-color: var(--bc-red-focus);
}

.btn-bce-red:not(:disabled):not(.disabled):active:focus, .btn-bce-red:not(:disabled):not(.disabled).active:focus,
.show > .btn-bce-red.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(235, 89, 74, 0.5);
}

.btn-edc-green {
    color: #fff;
    background-color: var(--edc-green);
    border-color: var(--edc-green);
}

.btn-edc-green:hover {
    color: #fff;
    background-color: var(--edc-green-hover);
    border-color: var(--edc-green-hover);
}

.btn-edc-green:focus, .btn-edc-green.focus {
    color: #fff;
    background-color: var(--edc-green-focus);
    border-color: var(--edc-green-focus);
    box-shadow: 0 0 0 0.2rem rgba(36, 87, 21, 0.5);
}

.btn-edc-green.disabled, .btn-edc-green:disabled {
    color: #fff;
    background-color: var(--edc-green-disabled);
    border-color: var(--edc-green-disabled);
}

.btn-edc-green:not(:disabled):not(.disabled):active, .btn-edc-green:not(:disabled):not(.disabled).active,
.show > .btn-edc-green.dropdown-toggle {
    color: #fff;
    background-color: var(--edc-green-focus);
    border-color: var(--edc-green-focus);
}

.btn-edc-green:not(:disabled):not(.disabled):active:focus, .btn-edc-green:not(:disabled):not(.disabled).active:focus,
.show > .btn-edc-green.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(36, 87, 21, 0.5);
}

.btn-group-sm > .btn, .btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
}

.btn-group-sm > .btn + .dropdown-toggle-split, .btn-sm + .dropdown-toggle-split {
    padding-right: .375rem;
    padding-left: .375rem
}

.btn-circle.btn-sm, .btn-group-sm > .btn-circle.btn {
    height: 1.8rem;
    width: 1.8rem;
    font-size: .75rem;
}

.btn-group-sm > .btn-icon-split.btn .icon, .btn-icon-split.btn-sm .icon {
    padding: .25rem .5rem
}

.btn-group-sm > .btn-icon-split.btn .text, .btn-icon-split.btn-sm .text {
    padding: .25rem .5rem
}

.btn-group-xs > .btn, .btn-xs {
    padding: .20rem .2rem;
    font-size: .675rem;
    line-height: 1.2;
}

.btn-group-xs > .btn + .dropdown-toggle-split, .btn-xs + .dropdown-toggle-split {
    padding-right: .275rem;
    padding-left: .275rem
}

.btn-circle.btn-xs, .btn-group-xs > .btn-circle.btn {
    height: 1.2rem;
    width: 1.2rem;
    font-size: .55rem;
}

.btn-group-xs > .btn-icon-split.btn .icon, .btn-icon-split.btn-xs .icon {
    padding: .25rem .5rem
}

.btn-group-xs > .btn-icon-split.btn .text, .btn-icon-split.btn-xs .text {
    padding: .25rem .5rem
}

.bg-bce-blue {
    color: #fff;
    background-color: #777;
}

.bg-ldc-blue {
    color: #555;
    background-color: var(--ldc-orange);
}

.bg-ldc-orange {
    color: #555;
    background-color: var(--ldc-orange);
}

.text-orange {
    color: var(--ldc-orange);
}

.stats-boxes > a {
    cursor: pointer;
    transition: 0.2s;
    color: #555 !important;
    margin-bottom: 12px!important;
}

.stats-boxes > a:hover {
    background: #f9f9f9;
    text-decoration: none;
}

.colData label:not(.form-check-label) {
    display: block;
    clear: both;
    margin: 0;
    font-size: 0.7em;
    color: #aaa;
}

.colData input:not(.form-check-input), .colData select, .colData textarea {
    border: solid 1px lightgray;
    border-radius: 2px;
}

input:required, select:required {
    background-color: var(--edc-green-light);
}
input:disabled{
    background: #eee;
}

.colData .row {
    margin-bottom: 10px;
}

.colData.fullwidth input, .colData.fullwidth select, .fullwidth input, .fullwidth select, .fullwidth textarea {
    width: 100%;
}

.colData.float > div {
    float: left;
}

.colData.float > div:not(:last-child) {
    margin-right: 6px;
}

.sameHeight input, .sameHeight select {
    height:25px;
}

.cardSearch {
    margin-bottom: 6px;
}

.cardSearch input:focus, .cardSearch input:active, .cardSearch input:enabled, .cardSearch input:valid {
    border: none !important;
}

.input-group .form-control:last-child {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.check-list {
    width: 100%;
    height: auto;
    max-height: 100px;
    overflow: auto;
}
.check-list.vouchers-list {
    max-height: 250px;
}
.check-list label {
    font-size:1em;
    color:#000;
    float:none;
}

/*********************** Datatables *********************************************************/
.dataTables_filter {
    display: none !important;
}

.dataTables_filter, .dt-buttons {
    display: none !important;
}

table.dataTable tbody tr {
    cursor: pointer;
    transition: 0.7s;
}

table.dataTable tbody tr:hover {
    background: #DAA52020 !important;
}

table.dataTable tbody tr.selected {
    background: var(--ldc-orange) !important;
}

table.dataTable tbody tr.selected td {
    box-shadow: none !important;
}
table.dataTable.valign tbody td {
    vertical-align: middle!important;
}
table.dataTable tbody tr td.servicesAmount {
    background: var(--edc-green-light);
}
table.dataTable tbody tr td.servicesAmountTotal {
    background: var(--edc-green);
    color:#fff;
}
table.dataTable tbody tr td:not(.align-middle) {
    vertical-align: top!important;
}
div.dataTables_info{
    font-size: 0.8em;
    color:#999;
    padding:3px;
    background: #eee;
    width:100%;
}

div.rowtag{
    border: solid 1px gray;
    background: #eee;
    padding: 1px 5px;
    border-radius: 6px;
    font-size: 0.8em;
    white-space: nowrap;
}
div.rowtag i{
    margin-right: 6px;
}
table.dataTable {
    table-layout: fixed;
}

tbody tr.even {
    background: #eee!important;
}
thead th.base {
    background: #ffc000!important;
    color: #fff!important;
}
thead th.initial {
    background: #0070C0!important;
    color: #fff!important;
}
thead th.surveillance {
    background: #8ea9db!important;
    color: #fff!important;
}