/*  Bleu =  #385275

    bleu2 : 1a3f67

    Rouge : #e3491b

    Grise : #b0b6b9

    Grise2 : #959595
*/

/* body,div,h1,a,button{

    font-size: 1.2rem;
    font-weight: 500;
} */

.container2 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.myspinner {
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hide-dom {
    display: none;
}

.bg-primary {
    background-color: #385275 !important;
}

table,
tr td,
tr th {
    font-size: 0.8rem !important;
}

ul li {
    font-size: 0.9rem !important;
}

.no-decoration,
.no-decoration:hover {
    text-decoration: none;
}

.min-text {
    font-size: 0.7rem;
}

.list-group-item.active {
    z-index: 2;
    color: #ffffff;
    background-color: #385275;
    border-color: #1a3f67;
}

.btn-bleu1 {
    background-color: #385275 !important;
    color: aliceblue !important;
    border-radius: 8px;
    font-size: 1rem;
}

.btn-red {
    background-color: #e3491b !important;
    color: aliceblue !important;
    border-radius: 8px;
    font-size: 1rem;
}

.btn-green {
    background-color: #00b300 !important;
    color: aliceblue !important;
    border-radius: 8px;
    font-size: 1rem;
}

.rm-active {
    color: #a52d08;
    font-size: larger;
    background-color: rgb(218, 199, 199);
    border-radius: 5px;
}

.border-bottom {
    border-color: #385275;
}

.txt-bleu1 {
    color: #385275 !important;
}

.txt-red {
    color: #e3491b !important;
}

.txt-black {
    color: black;
}

.btn-bleu1:hover {
    background-color: #0953b4 !important;
    color: aliceblue;
    border-radius: 8px;
    font-size: 1.05rem;
}

.bg-bleu1 {
    background-color: #385275 !important;
    color: #ffffff !important;
}

.bg-blue-l {
    background-color: #dde4ee;
}

.bg-bluelight {
    background-color: rgba(32, 107, 196, 0.05);
    color: #206bc4 !important;
    border-color: #c7daf0;
}

.txt-bleu {
    color: #206bc4 !important;
}

.bg-green-light {
    background-color: #e6ffe6;
}

.bg-bluelight {
    color: #e6eeff;
}

.btn-sm {
    border-radius: 5px;
}

.selectable tbody tr {
    cursor: pointer;
}

.selectable .selected-item {
    background-color: #ddd9d9 !important;
    color: #385275;
    font-weight: 600;
}

.selectable .selected-item a {
    color: #385275;
}

.cursor-wait {
    cursor: wait !important;
}

.error {
    color: red;
}

.feather-trash,
.feather-x-circle,
.fa-times-circle {
    color: red;
}

.fa-times-circle,
.fa-check-circle {
    font-size: 1.2rem;
}

.feather-edit-2,
.feather-check-circle,
.fa-check-circle {
    color: green;
}

.feather-refresh-cw {
    color: coral;
}

.field-refdoc {
    border: solid 1px #b0b6b9 !important;
    margin-bottom: 5vh;
}

.field-refdoc legend small {
    color: #385275;
    font-size: small;
    font-weight: 800;
}

.table-sticky > thead > tr > th,
.table-sticky > thead > tr > td {
    background: #009688;
    color: #fff;
    top: 0px;
    position: sticky;
}

.table-height {
    height: 320px;
    display: block;
    overflow: scroll;
    width: 100%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td {
    border: 1px solid #ddd;
}

/* Modal customization */
.custom-modal-header {
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #385275;
    text-align: center;
    padding: auto;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#rskActiviteFormModal {
    z-index: 1060;
}

.custom-modal-header h5 {
    font-size: 1.2rem;
    color: #ffffff;
    text-align: center !important;
}

/* RISQUE CSS */

.carto-risk-tb tr th {
    text-align: center;
    color: #080c11;
}

.carto-risk-tb tr td {
    text-align: left;
    font-size: 0.8rem;
}

.critic-width {
    width: 30px !important;
}

.critic-niveau-width {
    width: 50px !important;
}

.tb-nopad tr td {
    padding: 1px;
    margin: 1px;
}

.mod {
    background-color: yellow !important;
}

.crit {
    background-color: red !important;
}

.elev {
    background-color: orange !important;
}

/* TB INDICATEUR CSS */

.tb-indicateur .card .card-header {
    color: #385275 !important;
}

.tb-indicateur .card {
    border-radius: 20px;
    cursor: pointer;
}

.tb-indicateur .card-title {
    color: #385275;
    font-size: 1rem;
}

.tb_indicator_icon {
    color: #a52d08;
}

.tb-indicateur .card-body {
}

/* Paln d'action */
.card-plan-action {
    cursor: pointer !important;
}

.card-plan-action .card {
    border-radius: 10px !important;
}

.card-plan-action .card:hover {
    border-radius: 20px !important;
    background-color: #eee;
}

.hide-form {
    display: none;
}

/**
* CSS
**/
/* CSS pour fixer l'en-tête du tableau */

.maine {
    max-height: 100vh;
}

.table-list-content {
    max-height: 80vh; /* Maximum height of 50% of the viewport height */
    overflow-y: auto;
    /* Ajustez la hauteur selon vos besoins */
}

.table-list-content-70 {
    max-height: 70vh; /* Maximum height of 50% of the viewport height */
    overflow-y: auto;
    /* Ajustez la hauteur selon vos besoins */
}

/*
.table-list-content {
    position: relative;
    overflow: auto;
    height: 80vh;
    /* Ajustez la hauteur selon vos besoins *
}*/

.table-list-content-55 {
    position: relative;
    overflow: auto;
    height: 55vh;
    /* Ajustez la hauteur selon vos besoins */
}

.table-list-content-40 {
    position: relative;
    overflow: auto;
    height: 40vh;
    /* Ajustez la hauteur selon vos besoins */
}

.table-list-content2-55 {
    max-height: 50vh; /* Maximum height of 50% of the viewport height */
    overflow-y: auto; /* Add a scrollbar if content overflows */
    /* Ajustez la hauteur selon vos besoins */
}

.table thead {
    position: sticky;
    top: 0;
    z-index: 1;
    /* Assurez-vous que l'en-tête reste au-dessus du contenu */
}

.apx-legend-position-right {
    width: 250px;
}

.head {
    background-color: #009688;
    border: solid 1px !important;
}

.table thead tr th {
    border: solid 1px !important;
}

#planningPosteForm {
    z-index: 5000;
}

/*---------------------*/
/* scroll box */

.side-module-scrollbox {
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    min-height: 80vh;
    overflow-y: scroll;
}

.box-profil-module,
.side-user-scrollbox {
    display: flex;
    flex-direction: column;
    max-height: 70vh;
    min-height: 60vh;
    overflow-y: scroll;
}

/* WIZARD */

.display-none {
    display: none;
}

.multi-wizard-step p {
    margin-top: 12px;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard {
    display: table;
    position: relative;
    width: 100%;
}

.multi-wizard-step button[disabled] {
    filter: alpha(opacity=100) !important;
    opacity: 1 !important;
}

.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    content: " ";
    width: 100%;
    height: 1px;
    z-order: 0;
    position: absolute;
    background-color: #fefefe;
}

.multi-wizard-step {
    text-align: center;
    position: relative;
    display: table-cell;
}

.wizard-tab-input {
    font-size: 0.9rem;
    padding-left: 0px;
    padding-right: 0px;
}

.stepwizard {
    /*  padding-top: 20px; */
    background-color: #b0b6b9;
    border-radius: 20px;
}

/* Error planing budget control */

.error-budget-line {
    border: solid 2px red !important;
}

.selected-budget-line {
    border: solid 2px rgb(55, 110, 33) !important;
}

.amount-indicator {
    margin-top: 0 !important;
    font-size: 0.8rem !important;
    color: #b0b6b9;
}

/*
.choices {
    z-index: 1000 !important;
}

.choices__list {
    z-index: 1000 !important;

.choices__dropdown {
    z-index: 1000 !important;
}
*/


 .item {
    /* position: relative; */
   /*  padding: 20px;
    background-color: #f0f0f0;
    margin: 10px;
    border-radius: 5px; */
    transition: background-color 0.3s ease;
}

.trash-icon {
   /*  position: absolute; */
    top: 10px;
    right: 10px;
    color: red;
    font-size: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.item:hover .trash-icon {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}
