.btn.opti-btn-mini {
    padding: 3px 6px;
    /* margin: 3px; */

}

.showLabel{
    /* display: flex; 
    align-items: center;
    justify-content: flex-end; */
    padding:10px; 
    font-size: 1rem;
    text-align : right;
    vertical-align: middle;
}
.showValue{
    /* display: flex;  
    align-items: center;*/
    padding:10px; 
    font-size: 1rem;
    padding-left:30px;
    font-weight: bold;
}
.active, .active:hover, .active:focus {
    color: black;
    /* box-shadow: 0 4px 20px 0 rgb(0 0 0 / 14%), 0 7px 10px -5px rgb(60 72 88 / 40%); */
    background-color: rgba(255, 255, 255, .2);
}
/* form  */
.card.forum.card-main-response .card-footer{
    display: flex;
    flex-flow: column;
}
.card.forum .card-icon{
    padding: 10px !important;
    display: flex;
    align-items: center;
}
html{
    scroll-behavior:smooth  ; /* scroll behavior */
}
.table-responsive{ 
     padding: 6px;/* temporary fix  */
}
.card.forum.card-response{
    border: 1px solid rgba(128, 128, 128, 0.514);
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.card.forum.card-main-response .card-body{

}
.card.forum.card-response, .card.forum.card-response .card-body{
    padding-right: 0;
    margin-right: 0;
    box-shadow: none;
    border-radius: none;
    margin-bottom: 2px;
    /* padding-bottom: 2px; */
}
.card.forum .query-content{
    display: flex;
    flex-flow: column;
}
.card.forum h4{
    font-weight: 500;
}
.card.forum.card-main-response p, .card.forum.card-response p, .card.forum.card-query p, .card-text-field{
    font-weight: 300;
    font-size: 15px;
    font-family: 'Roboto Slab', serif;
}
.card.forum .query-info{
    font-family: "Roboto Slab"; /*Nunito*/
    font-size: 15px;
    color: gray;
    margin-right: 10px;
    width: fit-content;
}
.card-text-field{
    padding: 8px;
    margin-bottom: 15px;
    border-radius: 8px;
    background: rgba(128, 128, 128, 0.068);
}
.card-text-field p{
    margin: 0;
}
.query-info-container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    /* background: rebeccapurple; */
}
.query-info-container .container-right{
    display: flex;
    flex-flow: column;
    margin-left: 6px;
}
/* .rep-main-info{
    display: flex;
    align-items: center;
} */
.query-info-container .container-left{
    display: flex;
    flex-flow: column;
    align-items: right;
}

.card.forum.card-query:hover, .card-response[valideresponse="1"] {   /*.card.forum.card-response:hover*/
    background:  rgba(128, 255, 213, 0.342) ; /* query hover */
    cursor: pointer;
}
.card-header-icon.forum{
    display: flex;
}

.forum-card-right{
    display:flex;
    flex-flow: row;
    /* justify-content: start; */
    justify-content: end;
    align-items: center;
    margin: 5px 0;
    width: 100%;
    overflow-x:auto ;
}
.forum-card-right::-webkit-scrollbar {
    height: 5px;
  }
  .forum-card-right::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }
   
.forum-card-right::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 6px;
  }
.forum-badges-container{
    display: inline-flex;
    border-radius: 6px;
}
.forum-response-info-container{
    display: inline-flex;
    height: fit-content;
    color: black;

}
.forum-response-info-container > span {
    padding: 0 6px ;
}
.forum-response-info-container > a {
    cursor: pointer;
}
.forum-badges-container > span, .forum-badges-container > a{
    margin: 3px;
}
.multiple-badges-container > a:first-child{
    margin-left: 0;
}
.forum-solved-badge{
    position: absolute;
    top: 50%;
    left: 70px ;
}
.message-count{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    margin-left: 3px;
}
.message-count > span{
    display: flex;
    justify-content: center;
    align-items: center;
}
.message-count > span:last-child{
    margin-left: 3px;
}

.forum-user-avatar{
    width: 50px;   
    border-radius: 50%;
    height: auto;
}
.action-mw-3{
    min-width: 48px;
    max-width: 48px;
    text-align: center;
}
.action-mw-5{
    min-width: 96px;
    max-width: 96px;
    text-align: center;
}
.action-mw-7{
    min-width: 112px;
    max-width: 112px;
    text-align: center;
}
.action-mw-9{
    min-width: 144px;
    max-width: 144px;
    text-align: center;
}
.action-mw-11{
    min-width: 11em;
    max-width: 11em;
    text-align: center;
}
.action-mw-13{
    min-width: 169px;
    max-width: 169px;
    text-align: center;
}
.formOnRead-mw{
    min-width: 190px;
    max-width: 190px;
    text-align: right;
}
.formOnReadLinkTable-mw{
    min-width: 120px;
    max-width: 120px;
    text-align: center;
}
.numCol-mw{
    min-width: 51.2px;
    max-width: 51.2px;
}

  /* attemp to fix nav click issue with css //TODO moha*/
  .wizard-navigation li a{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%; 
        padding: 12px;
    }
    .wizard-navigation .nav-pills > li{
        padding: 0;
    }
.wizard-navigation li a:hover {
    border: none;
}

/* Déplacement des lignes d'un tableau avec glisser-déposer */

#linearForm tr{
    cursor: move;
}
.drag-over {
    /* background-color: #8cffc7; */
    /* border-top: 3px solid #27E0C0; Ligne colorée au-dessus */
    border: 2px dashed #27E0C0; /*f0ad4e;*/
}
.dropped {
    border: 5px dashed #27E0C0; /*f0ad4e;*/
    transform: translateY(20px); 
    transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
    /* transform: scale(1.05);*/
}
table, tr {
    transition: all 0.3s ease;
}


.blinking {
    animation: blink 0.5s infinite;
}
.textUnderline {
    text-decoration: underline;
}

/* for textCorrection */

.tcr{
    color: red;
}
.tcu{
    color: red;text-decoration: underline;
}

.tclt{
    color: red;text-decoration: line-through;
}












@media (min-width: 576px) {
    .forum-badges-container{
      max-width: 100%;
    }
}
@media (min-width: 768px) {
    .forum-card-right{
        /* justify-content: end; */
    }
    .query-info-container .container-left, .query-info-container .container-right{
        flex-flow: row wrap;
    }
}
@media (min-width: 992px) {

}
@media (min-width: 1200px) {

}

.hover-zoom:hover {
    z-index: 999999999;
    transform: scale(5); 
}
.hover-pointer:hover {
    cursor: pointer; 
}

.material-symbols-outlined {
    font-variation-settings:
      'FILL' 0,
      'wght' 400,
      'GRAD' 0,
      'opsz' 48;
}
.cursor-pointer {
    cursor: pointer;
}
.highlight {
    transition: background-color 0.7s ease;
    font-weight: bold;
}
.active-button {
    outline: 1px solid;
   /*  box-shadow: 0 0 5px orange;
    border-radius: 8px; */
}

.table-responsive {
    max-height: 800px;   /* adapte selon ton besoin */
    overflow-y: auto;   /* indispensable */
    position: relative; /* nécessaire pour perfectScrollbar */
}
.icon-rtl{
    vertical-align:middle;
    margin-left:7px;
}
.icon-ltr{
    vertical-align:middle;
    margin-right:7px;
    margin-left:-2px;
}

.math-n {
    font-style: italic;
    font-family: "Times New Roman", "Georgia", serif; /* police avec italique agréable */
    /* font-weight: 900; */
    /* font-size: 1.4rem; ajuste la taille */
  }
  


/*================= sort table =====================*/
  th { cursor: pointer; user-select: none; position: relative; padding-right: 50px; }
  .sort-indicator {
    position: absolute; right: 5px; top: 80%; transform: translateY(-50%);
    display: flex; align-items: center; gap: 0px; font-size: 16px; pointer-events: none;
  }
  .sort-order {
    display: inline-block; min-width: 16px; text-align: center;
    font-size: 12px; line-height: 16px; font-weight: 600;
  }
  .style-1{
    background-color: red;
    color: rgb(144, 7, 7);
  }
  .style-2{
    background-color: rgb(224, 203, 46);
    color: rgb(121, 107, 2);
  }
  .style-3{
    background-color: #09ccac;
    color: #0b574a;
    border: 1 solid #0b574a;
    /* border-radius: 100%; */
  }
  .style-4{
    background-color: rgb(22, 156, 85);
    color: rgb(3, 88, 42);
  }