body{
    font-size: 0.9rem;
}
a{
    color:#e53520;
}
a:hover {
    color: #AC2B36;
}
.btn-primary {
    background-color: #e53520;
    border-color: #e53520;
}
.btn-primary:hover {
    background-color: #AC2B36;
    border-color: #AC2B36;
}
.page-item.active .page-link {
    background-color: #e53520;
    border-color: #e53520;
}
.page-link {
    color: #e53520;
}
.page-link:hover {
    color: #AC2B36;
}

.card{
    width: 100%;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #e53520;
}

.card.draggable {
    margin-bottom: 1rem;
    cursor: grab;

}
.card.draggable:hover {
    background-color: rgba(229,145,0, 0.5)!important;
}

.droppable {
    background-color: #e53520;
    min-height: 120px;
    margin-bottom: 1rem;
}

.bg-ouvert, .bg-sent{
    background-color: #4da1ff;
    color: #fff;
}
.bg-en_cours, .bg-ready{
    background-color: #16a106;
    color: #fff;
}
.bg-livre, .bg-preparation{
    background-color: #fa852b;
    color: #fff;
}
.bg-termine{
    background-color: #e53520;
    color: #fff;
}
.bg-backlog{
    background-color: rgba(47, 63, 31, 0.4);
    color: #fff;
}
.bg-redred{
    background-color: red;
    color: #fff;
}
.bg-black{
    background-color: black;
    color: #fff;
}

.fc-sat.fc-day,
.fc-sun.fc-day {
    background-color: #e9e9e9;
}

[data-inputmask-alias=numeric]{
    text-align: left!important;
}

@media (min-width: 768px){
    /*mettre label inline*/
    .label-inline .form-group .custom-file > label,
    .label-inline .form-group > label {
        display: inline-block;
        float: left;
        width: 200px;
        text-align: right;
        padding-right: 20px;
    }

    .label-inline .form-group .form-control {
        display: inline-block;
        width: calc(100% - 200px);
    }

    .label-inline .select2-container {
        display: inline-block;
        width: calc(100% - 200px)!important;
    }

    .label-inline .input-group {
        display: inline-flex;
        width: calc(100% - 200px);
    }

    .label-inline .custom-file-label {
        display: inline-block;
        width: calc(100% - 200px)!important;
        float: none;
        position: relative;
    }
    .label-inline .custom-file-input {
        position: absolute;
        top: 0;
        left: 0;
        width: calc(100% - 200px);
        margin-left: 200px;
    }
    .label-inline .preview{
        padding-left: 200px;
    }
    .label-inline .desc{
        margin-left: 200px;
        display: inline-block;
    }
}

.form-group .desc{
    font-size: 13px;
    color: gray;
}
.badge-sm{
    padding: 2px 5px;
    border-radius: 5px;
    white-space: nowrap;
}

.table-header-sticky > table > thead > tr > th{
    background-color: #e53520;
    color: #fff;
    position: sticky;
    top: -1px;
    z-index: 1;
}
.table-header-sticky {
    overflow-y: scroll;
    height: 600px;
}

[class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link.active, [class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: #e7e7e7;
    color: #e53520;
}
.nav-pills .nav-link:not(.active):hover {
    color: #e53520;
}

.maxi-datatable .tablefilter{
    display: block;
    max-width: 200px;
}

.gantt-wrapper {
    height: 550px
}
.gantt-toolbar{
    background-color: #e53520;
}
.custom-file-label{
    padding-right: 80px!important;
}

span.loadtime{
    float: right;
    background: black;
    color: white;
    padding: 0 5px;
    font-family: monospace;
    margin: 0 10px 10px 0;
}

.color-white{
    color: #fff!important;
}

.ajax-processing{
    position: relative;
}
.ajax-processing:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 10;
    opacity: 0.5;
    background: rgba(255,255,255,0.9) url('../img/loader.gif') center center no-repeat;
}


/*import action delete cols/rows*/
#file-xls-content-wrapper table tr,
#file-xls-content-wrapper table tbody tr td,
#file-xls-content-wrapper table thead tr th{
    position: relative;
}
#file-xls-content-wrapper table tr a.remove-row{
    position: absolute;
    top: calc( 50% - 7px );
    left: -18px;
    width:15px;
    height:15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-items: center;
    align-content: center;
    border-radius: 50%;
    border: 1px grey solid;
    background-color:#fff;
    cursor: pointer;
}

#file-xls-content-wrapper table tbody tr a.remove-col,
#file-xls-content-wrapper table thead tr a.remove-col{
    position: absolute;
    top: -20px;
    left: calc( 50% - 7px );
    width:15px;
    height:15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-items: center;
    align-content: center;
    border-radius: 50%;
    border: 1px grey solid;
    background-color:#fff;
    cursor: pointer;
}

#file-xls-content-wrapper table tr a.remove-row i,
#file-xls-content-wrapper table tbody tr a.remove-col i,
#file-xls-content-wrapper table thead tr a.remove-col i{
    font-size: 8px;
    font-weight: bold;
    color: #000;

}

#file-xls-content-wrapper table tr a.remove-row:hover i,
#file-xls-content-wrapper table tbody tr a.remove-col:hover i,
#file-xls-content-wrapper table thead tr a.remove-col:hover i{
    color: #e53520;
}

img.table-avatar {
    border-radius: 50%;
    display: inline;
    width: 2.5rem;
}
.status-tasks-wrapper{
    padding: 10px;
    margin: 10px 0;
}
.status-tasks-wrapper.en_cours{
    background: #dfefdf;
}

.status-tasks-wrapper.ouvert{
    background: #a9adb2;
}

.scrollbar-inner > .scroll-element.scroll-x{
    top: 0;
}

.gantt-panel .time-panel .time-table-activity.parent-activity .parent-activity-bar,
.gantt-panel .time-panel .time-table-activity[id^=timeTableRow_jalon] .parent-activity-bar,
.gantt-panel .time-panel .time-table-activity[id^=timeTableRow_jalon] .select-content{
    background-color: #877e7e;
}
.gantt-panel .time-panel .time-table-activity[id^=timeTableRow_jalon] .top-right-triangle,
.gantt-panel .time-panel .time-table-activity.parent-activity .top-right-triangle,
.gantt-panel .time-panel .time-table-activity[id^=timeTableRow_jalon] .top-left-triangle,
.gantt-panel .time-panel .time-table-activity.parent-activity .top-left-triangle{
    border-top-color: #877e7e;
}
.gantt-panel .time-panel .time-table-activity[id^=timeTableRow_task-open] .parent-activity-bar,
.gantt-panel .time-panel .time-table-activity[id^=timeTableRow_task-open] .select-content{
    background-color: #a8a8a8;
    border-color: #877e7e;
}
.gantt-tooltip{
    position: absolute!important;
}

.gantt-panel .time-panel .time-table-activity.parent-activity .select-content{
    background-color: transparent;
}


a.loading *{
    opacity: 0;
}
a.loading{
    background: #fff url(../img/loader.gif) center center no-repeat;
    display: inline-block;
    background-size: cover;
}

.dropdown-menu li a{
    width: 100%;
    display: inline-block;
}

.alert-success {
    color: black;
    background: #daf9e1;
    border-color: #23923d;
}
.alert-danger {
    color: #721c24;
    background: #efd1cd;
    border-color: #d32535;
}
.user-evaluation-wrapper{
    max-width: 160px;
    width: 160px;
    min-width: 160px;
}
.evaluation-form-wrapper{
    margin-top: 20px;
    padding-top: 20px;
}
.evaluation-wrapper .post{
    border-bottom: 1px solid rgba(0,0,0,.1);
    margin-bottom: 10px;
}
.evaluation-wrapper .post,
.evaluation-form-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.evaluation-wrapper .comment-text{
    width: 100%;
}
.evaluation-wrapper{

    margin-left: 50px;
    margin-bottom: 20px;
}
.starrr-wrapper .description {
    color: #6c757d;
    font-size: 13px;
    margin-top: -3px;
}
.starrr-wrapper{
    margin: 0 10px;
    min-width: 200px;
}
.user-evaluation-wrapper{
    margin-right : 20px;
}
.starrr[data-readonly="true"]{
    pointer-events:none!important;
}

.critere-wrapper{
    border: 1px #9b9b9b solid;
    border-radius: 5px;
    padding: 10px;
    background: #F4F6F9;
    margin-bottom: 20px;
}

.kanban-tasks .starrr a{
    font-size: 14px;
}
.maxi-datatable .starrr a{
    font-size: 12px;
}

.no-wrap{
    white-space: nowrap;
}

.timeline-item .entity-type-wrapper{
    margin-left: 10px;
    text-decoration: underline;
    color: #e53520;
}

.event-calendar-mini .fc-scroller{
    overflow: inherit!important;
    height: auto!important;
}
.event-calendar-mini{
    /*position: fixed;
    width: auto;
    margin-right: 20px;
    margin-left: -20px;*/
}
.event-calendar-mini tr:first-child>td>.fc-day-grid-event {
    border-radius: 50%;
    width: 22px;
    height: 23px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
}
.event-calendar-mini .fc-toolbar h2 {
    font-size: 1em;
}

.fc-today span.fc-day-number {
    color: #e53520!important;
    font-weight: bold;
}

@media (min-width: 768px){
    .sidebar-mini.sidebar-collapse .sidebar-clock{
        margin-left: -10px;
        -webkit-animation-name: fadeOut;
        animation-name: fadeOut;
        -webkit-animation-duration: .3s;
        animation-duration: .3s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        visibility: hidden;
    }
}

a.loading-odoo{
    background: #fff;
}
a.loading-odoo > span{
    background: #fff url(../img/loader.gif) center center no-repeat;
    display: inline-block;
    background-size: contain;
    text-indent: -10000px;
    width: 40px;
    height: 28px;
}

.table-selected > tbody > tr:hover,
.table-selected > tbody > tr.selected {
    background-color: rgba(80, 214, 146, 0.62);
}

.kanban-tasks {
    padding: 0;
    list-style: none;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: 0.8rem;
}
.kanban-tasks .kanban-column-item {
    padding: .5rem;
    border-radius: 1rem;
}
.kanban-tasks .kanban-column-item >.card,
.kanban-tasks .kanban-column-item >.card  > .card-body > .col-draggable > .dropzone:last-child,
.kanban-tasks .kanban-column-item >.card .col-draggable{
    height: 100%;
    flex-shrink: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.backlog-wrapper{
    margin-top: 20px;
}
.kanban-column-item{
    width:300px;
    flex:0 0 300px;
}
.scrum-board-wrapper .backlog-wrapper .kanban-column-item{
    width:100%;
}
.scrum-board-wrapper{
    padding: 0;
    list-style: none;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: .5rem;
}
.other-jalon-wrapper .scrollbar-inner{
    display: flex;
    margin-top: 10px
}
.other-jalon-wrapper .scroll-wrapper{
    width:100%;
    height: 100%;
}

.card.draggable .card-body a{
    -webkit-user-select: none; /* Safari 3.1+ */ -moz-user-select: none; /* Firefox 2+ */ -ms-user-select: none; /* IE 10+ */ user-select: none; /* Standard syntax */ user-drag: none; -webkit-user-drag: none;
}

.project_progress{
    white-space: nowrap;
}
.ztree li span.button.switch.level0 {visibility:hidden; width:1px;}
.ztree li a.level0 .button.edit{visibility:hidden; width:1px;}
.ztree li ul.level0 {padding:0; background:none;}
.ztree li span.button.add {margin-left:2px; margin-right: -1px; background-position:-144px 0; vertical-align:top; *vertical-align:middle}
.ztree li span.button.addArticle {margin-left:2px; margin-right: -1px; background-position:-111px -32px; vertical-align:top; *vertical-align:middle}


.info-box-content h1{
    font-size: 1rem;
}
@media (min-width: 768px){
    .info-box-content h1{
        font-size: 1.5rem;
    }
}

.calendar-table{
    overflow: hidden;
}
.calendar-table thead th{
    position: relative;
    text-align: center;
}
.calendar-table .vertical-date-calendar{
    transform: rotate(-90deg);
    position: absolute;
    left: -17px;
    white-space: nowrap;
    bottom: 15px;
    font-size: 11px;
    font-weight: normal;
}
.calendar-table tbody td{
    position: relative;
}
.calendar-table .calendar-today-line{
    width: 3px;
    height: 300px;
    display: block;
    position: absolute;
    background: green;
    left: 0;
    top: 0;
    z-index: 10;
}
.calendar-table .calendar-pan{
    display: block;
    background: #e53520;
    height: 90%;
    position: absolute;
    margin: 5px 0;
    width: 0%;
    left: 0;
    top: 0;
}


.progress-bar {
    position: relative;
}

.progress-bar2 {
    position: absolute;
    right: 0;
    top: 0;
    height: 7px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;

    background-image: repeating-linear-gradient(45deg, #cfcfcf 6px,
    #fff 8px,
    transparent 10px,
    transparent 13px);

    transition: width .6s ease;
}

.badge{
    white-space: nowrap;
}

.table{
    border-radius: 5px;
    box-shadow: 0 2px 15px rgb(0 0 0 / 8%);
    font-size: 0.8rem;
}
.sidebar-dark-danger .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-danger .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #c4c4c4;
    color: #fff;
}

.bordered{
    border: 1px solid #ced4da;
}
.progress {
    border-radius: 5px;
}
.text-dark{
    color: #706c6c!important;
}

.dropzone {
    border: 2px dashed #e4e2e2;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    font: 10px normal arial;
    color: #bbb;
}
.hidden {
    display: none;
}
.card.draggable.hidden + .dropzone{
    display: none;
}

.search-highlight{
    background: #ffd726!important;
    padding:0;
    font-size: inherit;
    font-weight: inherit;
    border-radius: 0;
    color: #000;
}
.open-detail-link:hover:after{
    content:"\f00e";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    padding-left: 5px;
}
.table-striped-manual tbody tr.odd {
    background-color: rgba(0,0,0,.05);
}
td.td-active {
    background: #A5A5A5;
}
td.td-active a{
    color: #fff!important;
}
tr.tr-consommation-details {
    background: #A5A5A5;
    color: #fff;
}
tr.tr-consommation-details > td{
    padding: 0;
}


.pulse-button {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    font-size: 13px;
    font-weight: light;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: -1px;
    color: white;
    border: none;
    border-radius: 50%;
    background: #5a99d4;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0.5);
    -webkit-animation: pulse 1.5s infinite;
}

.pulse-button:hover {
    -webkit-animation: none;
}

@-webkit-keyframes pulse {
    0% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }
    70% {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
    }
    100% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
    }
}
help{
    display: none!important;
}
.bouton-tendance {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

tr[class*="tr-child-"]{
    background-color: #dcdedd !important
}
tr[class*="tr-child-"][class*="-phase-"]{
    background-color: rgba(96, 96, 96, 0.54) !important
}
tr.phase-open{
    background-color: #d5f4e3!important;
}
tr.service-open{
    background-color: #c0c0c0 !important;
}
.link-not-red{
    color: #212529!important;
}
.link-not-red:hover{
    text-decoration: underline;
}
.scrollbar-height-200 .scroll-wrapper{
    height:250px!important;
}

.truncate .hideicon{
    display: none;
}
.truncate {
    height: 40px;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
    padding-right: 20px;
}
.truncate:after {
    content: '...';
}
.truncate.truncated {
    white-space: initial;
    height: auto;
}
.truncate.truncated .hideicon{
    display: block;
}
.truncate.truncated .helpicon{
    display: none;
}

.helpicon, .hideicon {
    right: 0;
    top:0;
    position: absolute;
}

.btn-plus-small{
    padding: 2px 6px;
    font-size: 12px;
}

.merge-select-btn-close{
    display: flex;
    margin-right: 10px;
}
.merge-select-btn-close > select.bordered{
    border-right: none;
    border-radius: 0.25rem 0 0 0.25rem;
    text-align: left!important;
    max-width: 150px;
}
.merge-select-btn-close > a.bordered{
    border-left: none;
    border-radius: 0 0.25rem 0.25rem 0;
}

.rte-content img {
    max-width: 100%;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dt-buttons,
.dataTables_wrapper .dataTables_filter{
    display: inline;
}
.dataTables_wrapper .dataTables_filter{
    float: right;
}
.dataTables_wrapper .dt-buttons button{
    color: #1f2d3d;
    padding: 0.25rem 0.5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    background-color: #ffc107;
    border-color: #ffc107;
    box-shadow: none;
    border:0;
}
.dataTables_wrapper .dt-buttons{
    padding-left: 10px;
}

.table th{
    background: #c6c6c6;
}

@media (max-width: 768px){
    .departement-filter-wrapper select{
        max-width: 80px!important;
    }
    .departement-filter-wrapper .btn{
        padding: 5px;
    }
}