#content {
    padding-top: 9em;
    padding-bottom: 8em;
    position: relative;
    min-height: 100vh;
}

h5 {
    font-size: 1em;
}

/* JS initializeGreyOutEveythingButSelect()  */
body.only-dialog * {
    pointer-events: none;
    /*opacity: 0.6;*/
}
/*body.only-dialog input, body.only-dialog select, body.only-dialog textarea {*/
/*    background-color: lightgrey;*/
/*}*/
body.only-dialog .selected-box * {
    pointer-events: all;
    /*opacity: 1;*/
}
body.only-dialog .selected-box input, body.only-dialog .selected-box select, body.only-dialog .selected-box textarea {
    background-color: white;
}
.selected-box{
    box-shadow: 0 0 0 99999px rgba(0, 0, 0, .2);
    z-index: 1000;
    position: relative;
}
/*  Fin JS initializeGreyOutEveythingButSelect() */


/* AJAX LOADING */
#overlay {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.2;
    filter: alpha(opacity=20);
    z-index: 2000000;
}
#loading {
    width: 50px;
    height: 57px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -28px 0 0 -25px;
}

/* Overlay sans spinner, en arrière plan de la pop up de chat par ex. */
#greyOverlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0.2;
    filter: alpha(opacity=20);
    z-index: 900;
}

.blink {
    -webkit-animation: blinker 2000ms linear infinite;
            animation: blinker 2000ms linear infinite;
    pointer-events: none;
}
@-webkit-keyframes blinker {
    50% { opacity: 0.5; }
}
@keyframes blinker {
    50% { opacity: 0.5; }
}
.blink input, .blink select {
    background-color: lightgoldenrodyellow;
}

.disabled-ajax-reload {
    /*background-color: lightgrey;*/
    pointer-events: none;
    opacity: 0.7;
}

.modal-form, .modal-show {
    cursor: pointer;
}

.modal-dialog {
    max-width: 600px;
}

.input-no-border input, .input-no-border textarea, .input-no-border select {
    border: 0;
}

textarea.resize-none {
    resize: none;
}

.btn-primary, .btn-primary:visited {
    background-color: #29304F;
    border-color: #29304F;
    color: white;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
    background-color: #343e65;
    border-color: #343e65;
    color: white;
}

.btn-warning, .btn-warning:visited {
    background-color: #fc8728;
    border-color: #fc8728;
    color: white;
}
.btn.btn-warning:hover, .btn.btn-warning:focus {
    background-color: #FA8003;
    border-color: #FA8003;
    color: white;
}
.text-blue, a.text-blue, a.text-blue:hover, a.text-blue:focus, a.text-blue:visited, h5.text-blue {
    color: #29304F;
}
.text-light-blue, a.text-light-blue, a.text-light-blue:hover, a.text-light-blue:focus, a.text-light-blue:visited, h5.text-light-blue {
    color: #2a50fc;
}
.badge-border-blue {
    color: #29304F;
    background-color: white;
    border: 1px solid #29304F;
}
.bg-blue {
    background-color: #29304F;
}
.bg-light-blue {
    background-color: #545a72;
}
.bg-light-grey {
    background-color: #d4d6dc;
}
.bg-orange {
    background-color: #FA8003;
}
.header-box.bg-orange .text-primary {
    color: white !important;
}
.header-box.bg-orange .text-warning {
    color: white !important;
}
.tl-days .valid-date.bg-orange-day {
    background-color: #FA8003;
    color: white;
}
.bg-light-orange, .table .bg-light-orange, .tl-days.bg-light-orange, .blue-border-block-sm.bg-light-orange {
    background-color: #fff9f3;
}
.bg-medium-orange, .tl-days.bg-medium-orange, .blue-border-block-sm.bg-medium-orange, .bg-visible-translator, .blue-border-block-sm.bg-visible-translator {
    background-color: #FEF2E6;
}
.bg-medium-blue, .blue-border-block-sm.bg-medium-blue, .bg-visible-proofreader, .blue-border-block-sm.bg-visible-proofreader {
    background-color: #BCC1CB;
}
.bg-deep-blue, .blue-border-block-sm.bg-deep-blue, .bg-visible-client, .blue-border-block-sm.bg-visible-client,
.bg-visible-client.bg-visible-translator, .blue-border-block-sm.bg-visible-client.bg-visible-translator,
.bg-visible-client.bg-visible-proofreader, .blue-border-block-sm.bg-visible-client.bg-visible-proofreader,
.bg-visible-client.bg-visible-proofreader.bg-visible-translator, .blue-border-block-sm.bg-visible-client.bg-visible-proofreader.bg-visible-translator
/* Si visible par client, on affiche la couleur client même si visible par d'autres */
{
    background-color: #9298A6;
}

.text-light-orange {
    color: #FEE6CD;
}

a, a:hover, a:focus, a:visited {
    text-decoration: none;
    color: inherit;
}
a.decorated, a.decorated:hover, a.decorated:focus, a.decorated:visited {
    text-decoration: underline;
}

.ajax-reload-container {

}
.ajax-reload {

}

/* Anne */

/* fonts +++++++++++++++++++++*/
body {
    font-family: "Raleway", sans-serif;
    color: #29304f;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* deco pages +++++++++++++++++*/
/* .container::before,
.container::after {
    content: "";
    background-color: #f58020;
    display: block;
    width: 0.6em;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    position: absolute;
}
.container::before {
    height: 3em;
    top: 0;
}

.container::after {
    height: 8em;
    bottom: 0;
} */

#content::before,
#content::after {
    content: "";
    background-color: #f58020;
    display: block;
    width: 0.6em;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    position: absolute;
}
#content::before {
    height: 3em;
    top: 0;
}

#content::after {
    height: 8em;
    bottom: 0;
}

/* navbar +++++++++++++++++++ */

.navbar-ivm {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 3em;
    z-index: 1001;
}

/* up menu */

.up-menu {
    font-size: .8em;
    color: #29304f;
}

.up-menu i {
    line-height: 1;
    color: #29304f;
}

/*.profile-button i {*/
/*    font-size: 1.5em;*/
/*}*/
.fa.fa-nav {
    font-size: 1.5em;
}


.up-menu a:hover i {
    color: #f58020;
}

/* logo */
.logo-trad-express {
    display: block;
    max-width: 350px;
}

.logo-trad-express img {
    width: 100%;
}

/* menu ivm */
.menu-ivm-icon {
    height: 40px;
}

.menu-ivm li a {
    width: 4em;
    display: inline-block;
}

.menu-ivm li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 70%;
    background-color: orange;
    vertical-align: middle;
}

.menu-ivm a:hover {
    transition: all 300ms ease;
    transform: translateY(5px);
}

/* button ++++++++++++++++++++ */
.btn-ivm,
.btn-ivm:active,
.btn-ivm:visited {
  background-color: white;
  border-radius: 10px;
  color: rgb(41, 41, 41);
  font-size: 1em;
}

.btn-ivm:hover {
  background-color: white !important;
  color: rgb(41, 41, 41) !important;
  transform: scale(1.05);
  transition: all 300ms ease;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
  -webkit-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
  -moz-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
}

/* links */
a, a:hover, a:focus, a:active {
    text-decoration: none;
}
.a-ivm-orange {
    color: #f58020;
}
.a-ivm-orange:hover {
    color: white;
}

/* page de connexion et 2fa */
.bg-connexion {
    background-image: url(../images/bg_forest.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.connexion-card {
    background-color: #29304f;
    border-radius: 50px;
    color: white;
}
.connexion-card .card-body {
    padding: 2em;
}
.connexion-form .form-control {
    background-color: #f58020;
    color: white;
    text-align: center;
    margin: 1em 0;
    border-radius: 1.5rem;
    border:none;
}

.connexion-form .form-control::-webkit-input-placeholder {
    color: rgba(255,255,255,0.5);
}

.connexion-form .form-control::-moz-placeholder {
    color: rgba(255,255,255,0.5);
}

.connexion-form .form-control:-ms-input-placeholder {
    color: rgba(255,255,255,0.5);
}

.connexion-form .form-control::-ms-input-placeholder {
    color: rgba(255,255,255,0.5);
}

.connexion-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}
.connexion-form .form-control:focus {
    border: none;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
    -webkit-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
    -moz-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
}

.connexion-form {
    margin: 0 auto;
}

.logo-connexion {
    width: 5em;
    margin-bottom: 1em;
}

.connexion-card h5 {
    font-weight: 600;
}

/* page-projet */
.page-projet h2,
.large-title {
    text-transform: uppercase;
    font-weight: 200;
    /*margin-bottom: 2rem;*/
    /*margin-top: 2rem;*/
}

/* page projet 1 */

.plus-orange {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 35%;
}

.plus-orange:hover {
    transition: all 300ms ease;
    -webkit-filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.63));
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.63));
    transform: scale(1.5);
}

.text-demande-trad {
    color: #f58020;
    font-size: .8em;
}

.liste-en-cours {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    height: 400px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.liste-en-cours .titre-en-cours {
    text-align: center;
    font-size: 1.3em;
    font-weight: 400;
    height: 100%;
    width: 65px;
}

.titre-en-cours p {
    display: inline-block;
    text-transform: uppercase;
    margin: 0 .5rem;
}

.titre-en-cours .project-number {
    color: #f58020;
    font-weight: 700;
    font-size: 1.3em;
    margin: 0;
}

.titre-en-cours {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.liste-en-cours li {
    display: flex;
    flex-shrink: 0;
    position: relative;
}

/* accordion liste projets */

.titre-en-cours, .overlay-on-click {
    cursor: pointer;
}

.titre-en-cours.collapsed:hover{
    transition: all 300ms ease;
    transform: translateY(-5px);
}

.titre-en-cours:not(.collapsed) {
    background-color: #29304f !important;
    color: white;
}

.project-detail.show::before {
    content: '';
    display : inline-block;
    height : 0;
    width : 0;
    border-top : 12px solid transparent;
    border-bottom : 12px solid transparent;
    border-left : 20px solid #29304f;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.project-detail {
    display: flex;
    flex-direction: column;
    scroll-margin: 65px;
}

.project-detail-ivm {
    width: 535px;
}

.project-info > div,
.project-delivery {
    text-align: center;
}

.project-info {
    flex-grow: 1;
}

.project-info,
.project-delivery {
    padding: 5px 25px 10px 25px;
    margin: 0;
    width: 250px;
}
.project-info {
    padding: 10px;
}

.project-info:hover .project-info-titre h5{
    color: #f58020;
}

.picto-sm {
    width: 65px;
}
.picto-info {
    width: 30px;
}

.picto-delivery {
    width: 65px;
    /*margin-top: -50px;*/
}

.picto-info,
.picto-delivery {
    margin-bottom: 0.25em;
}

.project-detail h5 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: .9em;
    margin-bottom: 0;
}

.delivery-date {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1em;
    color: #f58020;
}

#slideLeft,
#slideRight {
    cursor: pointer;
}
#slideLeft:hover,
#slideRight:hover {
    cursor: pointer;
    transition: all 300ms;
}

#slideLeft:hover {
    transform: translateX(-5px);
}

#slideRight:hover {
    transform: translateX(5px);
}

/* +++++++++++++++++++++ page index +++++++++++++++++++++++++++++++++++++*/
/* colonne en cours IVM */
.on-going-ivm {
    background-color: #EEEEF1;
    border-radius: 40px;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
    position: relative;
    min-height: 400px;
}
/* finished projects column */
.finished-column {
    max-width: 250px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    background-color: #feecd9;
    border-radius: 40px;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
    position: relative;
    min-height: 400px;
}
.top-overlapping-icon {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Conteneur principal */
.projects-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 25px;
    padding: 20px;
    background-color: #EEEEF1;
    max-width: 650px;
}

/* Carte projet */
.project-card {
    display: flex;
    align-items: center;
    background-color: #D9D9DF;
    color: #29304f;
    border-radius: 12px;
    position: relative;
    min-height: 57px;
    /*overflow: hidden; !* Important pour que le border-radius fonctionne avec le numéro *!*/
    transition: transform 0.2s ease;
}
.project-card.greyed {
    background-color: #ffffff;
    color: #dcdcdc;
}
.project-card:hover {
    transform: translateY(-2px);
}

.project-card.big-card {
    height: 80px;
    min-width: 400px;
}
.project-card.big-card .project-title {
    padding: 12px 35px 12px 10px;
    font-size: 18px;
}
.project-card.big-card .project-number {
    height: 80px;
    font-size: 26px;
}

/* Numéro du projet - Style input-group */
.project-number {
    width: 50px;
    min-height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
    background-color: #29304f;
    color: #f58020;
    border-radius: 12px 0 0 12px;
    margin: 0;
    padding: 0;
}

/* Numéro grisé */
.project-card.greyed .project-number {
    background-color: #d1d1d6;
    color: #ffffff;
}

/* Informations du projet */
.project-title {
    /*flex: 1;*/
    /*display: flex;*/
    /*flex-direction: column;*/
    padding: 8px 35px 8px 10px;
    font-size: 14px;
    /*background-color: #D9D9DF;*/
    font-weight: 600;
    text-transform: uppercase;
}

/* Badge de chapitre */
.project-chapter-badge {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    width: 24px;
    height: 24px;
    background-color: #f58020;
    color: #ffffff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}
.project-chapter-badge.visible {
    display: flex;
}

/* Badge "urgent" */
.project-urgent-badge {
    position: absolute;
    transform: translateX(50%);
    right: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
    }
}

.chapter-selector-btn {
    width: 36px;
    height: 36px;
    background-color: #FEE9D6;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}
.chapter-selector-btn.active {
    background-color: #f58020;
}

/* Conteneur projets livrés */
.delivered-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    background-color: #FEECD9;
    max-width: 200px;
}
.delivered-container .card {
    border-radius: 12px;
}
.delivered-container .card-header {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
/* Badge de chapitre projet livré */
.delivered-chapter-badge {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #f58020;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

/* +++++++++++++++++++++ FIN page index +++++++++++++++++++++++++++++++++++++*/


.project-grid {
    width: 120px;
    margin: 0 auto;
}

.project-grid-item {
    width: 55px;
    height: 25px;
}

.project-grid-item p{
    font-size: .9rem !important;
}

.project-grid-item.hover-glisse:nth-child(odd):hover {
    transition: all 300ms ease;
    transform: translateX(-5px);
}

/* +++++++++++++++++++++ page edit project +++++++++++++++++++++++++++++++++++++*/

/* background */
.bg-edit {
    background-image: url(../images/points_bleus.png), url(../images/traduction-gris.png);
    background-repeat: no-repeat, no-repeat;
    background-size: 16%, 25%;
    background-position-x: -5%, 90%;
    background-position-y: 100%, 100%;
}

.bg-index {
    background-image: url(../images/points_bleus.png);
    background-repeat: no-repeat;
    background-size: 350px;
    background-position-x: 105%;
    background-position-y: 110%;
}
.bg-show {
    background-image: url(../images/traduction-gris.png);
    background-repeat: no-repeat;
    background-size: 25%;
    background-position-x: 90%;
    background-position-y: 100%;
}

/* colonne gauche */
.config-trad-file h5 {
    text-transform: uppercase;
    color: #f58020;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 1em;
}

.rounded-input-box input {
    border: 2px solid #29304f;
    border-radius: 40px;
    background-color: white;
    color: #29304f;
    height: 64px;
}

.padded-focus-box .focus-box {
    padding: 0 1rem 1rem 1rem;
}

.rounded-box {
    border-radius: 10px;
    border: 1px solid #29304f;
}
.header-box {
    height: 90px;
    border-radius: 10px;
    border: 1px solid #29304f;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
}
.header-box-orange {
    height: 90px;
    border: #f58020;
    background-color: #f58020;
    color: white;
}

.config-category-btn a,
.consigne-trad-file,
.fichier-source-file,
.blue-border-block {
    border-radius: 10px;
}

.config-title-file input {
    text-align: center;
    font-size: 1.3em;
}

.config-title-file input:hover {
    background-color: #d4d6dc;
}

#project_deliveryDate {
    width: 160px;
}

#project_deliveryDate:hover {
    background-color: #d4d6dc;
}

.config-category-btn a.btn-light:hover {
    background-color: #d4d6dc;
    border: 2px solid #29304f;
}

.config-category-btn a.btn-secondary,
.config-category-btn a.btn-secondary:hover {
    background-color: #29304f;
    border: 2px solid #29304f;
    color: white;
}

/* fichier à traduire sélectionné */
.config-title-file.selected-box {
    border-radius: 20px;
}

.config-title-file.selected-box input {
    background-color: #d4d6dc !important;
    border: 2px solid #29304f;
}

.config-title-file.selected-box input:focus {
    box-shadow: none;
}
.config-title-file.selected-box .save-buttons {
    margin-top: 1em;
}

/* buttons */

#bootstrap-modal .btn-close:hover,
#bootstrap-modal .btn-close:focus {
    box-shadow: none;
}

#link_submit,
#add_attachment_submit,
#project_status_submit {
    background-color: #f58020;
    color: white;
    border: none;
    font-size: 1em;
}

.selected-box .save-buttons button:hover,
#link_submit:hover,
#add_attachment_submit:hover,
#project_status_submit:hover {
    transform: scale(1.05);
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
    -webkit-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
    -moz-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
}

.config-title-file.selected-box .save-buttons a,
.consigne-trad-file .selected-box .save-buttons a,
#link_submit + .btn,
#add_attachment_submit + .btn,
#project_status_submit + .btn {
    background-color: white;
    border: none;
    color: #29304f;
    font-size: 1em;
    font-weight: 500;
}

.config-title-file.selected-box .save-buttons a:hover,
.consigne-trad-file .selected-box .save-buttons a:hover,
#link_submit + .btn:hover,
#add_attachment_submit + .btn:hover,
.project_status_submit + .btn {
    color: #f58020;
    background-color: white;
}

/* colonnes UPLOAD/URGENT/CONFIDENTIEL */
.upload-colonne img {
    width: 140px;
}

.upload-colonne img:hover,
.hover-bigger:hover,
img.img-md:hover {
    transform: scale(1.05);
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -webkit-filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.63));
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.63));
    transform: scale(1.1);
}

img.img-md {
    width: 80px;
    margin-bottom: 1em;
}

/* language */
.language-square {
    width: 40px;
    height: 40px;
    margin-top: 0.4em;
}
a .language-square {
    cursor: pointer;
}

.language-square-checked {
    background-color: #f58020;
}

.language-square-unchecked {
    background-color: #feecd9;
}
.language-square-checked-blue {
    background-color: #29304f;
}

.language-square-unchecked-blue {
    background-color: #DFE0E4;
}

.language-letters {
    text-transform: uppercase;
    color: #f58020;
    font-weight: 800;
    text-align: center;
}

.text-primary {
    color: #29304f !important;
}
.text-warning {
    color: #f58020 !important;
}
.border-warning {
    border-color: #f58020 !important;
}
.border-blue {
    border-color: #29304F !important;
}

a .language-square:hover,
a .language-letters:hover .language-square{
    color: #f58020 !important;
    transform: translateY(-5px);
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3);
    -webkit-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3);
}

a .language-letters:hover, a .language-letters:visited {
    color: #f58020;
    font-weight: 900;
}

/* consigne */

.blue-border-block,
.consigne-trad-file,
.fichier-source-file {
    border: 2px solid #29304f;
    background-color: white;
    color: #29304f;
    padding: 8px;
}

.consigne-trad-file,
.fichier-source-file {
    word-wrap: anywhere;
}

.consigne-column {
    border-left: 2px solid #f58020;
}

.consigne-picto {
    width: 30px;
    margin-top: 0.5em;
    opacity: .5;
}

.consigne-picto:hover {
    opacity: 1;
    transform: translateY(-3px);
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
}
.picto-list-link {
    width: 25px;
    margin-left: -.5em;
}

.focus-box.selected-box {
    border-radius: 10px;
}

/* consigne sélectionné */
.blue-border-block .focus-box.selected-box textarea,
.blue-border-block .focus-box.selected-box textarea:focus
.consigne-trad-file .focus-box.selected-box textarea,
.consigne-trad-file .focus-box.selected-box textarea:focus {
    background-color: white;
    box-shadow: none;
}

.blue-border-block .focus-box.selected-box .save-buttons,
.consigne-trad-file .focus-box.selected-box .save-buttons {
    padding: 1em;
}

.consigne-trad-file .decorated,
.fichier-source-file .decorated {
    color: #29304f;
}

.consigne-trad-file .decorated:hover,
.consigne-trad-file .decorated:focus,
.fichier-source-file .decorated:hover,
.fichier-source-file .decorated:focus {
    color: #f58020;
}

.fa-hover-orange:hover {
    color: #f58020;
}

/* colonne droite ++++++++++++++++++++++++++++++++ */
.info-trad-file {
    border-left: 2px solid #f58020;
    min-width: 220px;
}

.translation-state h6,
.devis-colonne h6 {
    font-weight: 300;
    margin-bottom: 1.5em;
}

.translation-state h6 strong {
    font-weight: 600;
}

.down-triangle-orange {
    height : 0;
    width : 0;
    border-top : 10px solid #f58020;
    border-right : 10px solid transparent;
    border-left : 10px solid transparent;
    margin: 0 auto;
}
.down-triangle-orange.text-danger {
    border-top : 10px solid #DC3545;
}

.translation-state .title-block-project {
    color: white;
    font-weight: 400;
}

.translation-state .title-block-project p {
    /*display: inline-block;*/
    padding-left: 8px;
    padding-right: 8px;
    text-transform: uppercase;
    margin: 0;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

.running-translation .title-block-project {
    background-color: #29304f;
}

.delivered-translation .title-block-project {
    background-color: #f58020;
}

.translation-state .num-block-project {
    font-size: 1.3em;
    font-weight: 800;
}

.running-translation .num-block-project {
    color: #f58020;
}

.delivered-translation .num-block-project {
    color: #29304f;
}

.hover-glisse:hover {
    transition: all 300ms ease;
    transform: translateX(5px);
}

/* devis */
.devis-colonne h6 {
    text-transform: uppercase;
}

.picto-devis {
    width: 100px;
    -webkit-filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
}

/* +++++++++++++++++++ calendrier ++++++++++++++++++++++++++ */

/* timeline calendrier */

.tl-prev-month,
.tl-next-month {
    text-align: center;
    text-transform: uppercase;
    color: white !important;
    display: inline;
    vertical-align: middle;
    padding: 0 6px 0 6px;
    width: 36px;
}

.tl-prev-month {
    background-color: #29304F ;
    border-radius: 20px 0 0 20px;
}

.tl-next-month {
    background-color: #bfc1ca;
}
.tl-next-month.rounded-corner-right {
    border-radius: 0 20px 20px 0;
 }

.tl-prev-month:hover {
    color: white;
    transition: all 300ms ease;
    transform: scaleX(1.2) translateX(-3px);
}

.tl-next-month:hover {
    color: white;
    transition: all 300ms ease;
    transform: scaleX(1.2) translateX(3px);
}

.tl-days {
    background-color: #eaeaed;
    width: 322px;
    height: 400px;
    padding: 25px;
    flex-grow: 0;
}

.tl-days .no-valid-date {
    background-color: #eaeaed !important;
    color: #eaeaed !important;
    cursor: default;
}

.tl-days span:not(.sticker-cal) {
    width: 35px;
    height: 35px;
    line-height: 38px;
}

.tl-days .valid-date {
    background-color: white;
    color: #d4d6dc;
    border-radius: 0;
    font-size: 18px;
    font-family: sans-serif;
    font-weight: 200;
    text-align: center;
    padding: 0;
    position: relative;
}

.tl-days span:not(:nth-of-type(5n+5)):not(.sticker-cal) {
    margin-right: 20px;
}

.tl-days span:nth-of-type(-n+20):not(.sticker-cal) {
    margin-bottom: 40px;
}

.tl-legende {
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 0 20px 20px 0;
    border: 1px solid #eaeaed;
}

.tl-legende ul {
    height: 100%;
}

.tl-legende img {
    width: 25px;
}

.tl-legende p {
    font-size: .5em;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
}

.sticker-cal {
    width: 40px;
    height: 34px;
    color: white;
    position: absolute;
    z-index: 10;
    margin-top: -21px;
    top: 0;
    left: 0;
    font-size: 13px;
    line-height: 22px;
    font-weight: 700;
    text-align: center;
    padding: 2px;
    background-repeat: no-repeat;
    /*background-size: contain;*/
    background-size: 40px 34px;
    cursor: pointer;
    -webkit-filter: drop-shadow(2px -1px 2px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(2px -1px 2px rgba(0, 0, 0, 0.5));
}

.bg-ordered {
    background-image: url(../images/carre-bleu.png);
}
.bg-translate {
    background-image: url(../images/carre-orange.png);
}
.bg-proofread {
    background-image: url(../images/carre-saumon.png);
}
.bg-delivered {
    background-image: url(../images/carre-gris.png);
}

.sticker-cal.bg-proofread, .sticker-cal.bg-delivered {
    color: #29304F;
}

/* dead line calendrier */
.dl-cal {
    justify-content: center;
}

.dl-cal .tl-days {
    width: 282px;

}

.dl-cal span:not(:nth-of-type(5n+5)) {
    margin-right: 10px !important;
}

.dl-cal span:nth-of-type(-n+20) {
    margin-bottom: 20px !important;
}

.dl-cal .no-valid-date {
    background-color: #FFF9F3 !important;
    color: #FFF9F3 !important;
}
.month-deadline {
    color: #BFC1CA;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
    padding-top: 20px;
    font-weight: 700;
    font-size: 1em;
    letter-spacing: 1px;
}
.dl-cal .month-deadline {
    display: inherit;
    color: #29304F;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
    padding-top: 20px;
    font-weight: 700;
    font-size: 1.4em;
    letter-spacing: 1px;
}
.dl-cal span:not(:nth-of-type(5n+5)) {
    margin-right: 10px !important;
}

.dl-cal span:nth-of-type(-n+20) {
    margin-bottom: 20px !important;
}

.dl-cal .month-deadline {
    color: #29304F;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
    padding-top: 35px;
    font-weight: 700;
    font-size: 1.4em;
    letter-spacing: 1px;
}

/* +++++++++++++ page show ++++++++++++++++*/
#verticalProjectAndDelivery {
    height: 100%;
    width: 65px;
}

#verticalProjectAndDelivery p:not(.show-date-delivery) {
    text-transform: uppercase;
    font-size: 1.3em;
    font-weight: 500;
    display: inline-block;
    vertical-align: middle;
    line-height: 28px;
}

#verticalProjectAndDelivery .project-number {
    color: #fc8728;
    font-size: 1.8em !important;
    font-weight: 600 !important;
}

#blueVerticalTitleSideBox {
    height: 330px;
}

.show-picto-delivery {
    width: 100%;
}

.show-date-delivery {
    color: white;
}

.project-status-line {
    /*position: relative;*/
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 15px;
    z-index: 2;
    width: 500px;
    height: 90px;
}
.slim .project-status-line {
    /*padding: 10px 20px;*/
    margin-left: auto;
    margin-right: auto;
    width: 400px;
}

.project-status-line p {
    font-size: .7em;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    margin-bottom: .6em;
    min-height: 3em;
}

.project-status-line img {
    width: 30px;
    display: block;
    margin: 0 auto;
}

.project-status-line div {
    width: 4em;
    z-index: 8;
}

.progress-bar-status {
    width: 73%;
    height: 2px;
    z-index: 1;
    margin: -25px auto 0 auto;
    background-color: #fc8728;
    position: relative;
}
.slim .progress-bar-status {
    width: 60%;

}

.container-status {
    position: relative;
    max-width: 500px;
}

.page-voir h5  {
    text-transform: uppercase;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #fc8728;
}
.page-voir h5.text-blue  {
    color: #29304F;
}

/* CHAT MESSAGES  */
#chatMessageContainerIvm {
    border: 3px solid #29304F;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}
#chatMessageContainerIvm .chat-message-list {
    width: inherit;
    max-height: 480px;
}

#chatMessageContainer {
    display: none;
    z-index: 2100;
    /*opacity: 0;*/
    position: absolute;
    border-radius: 15px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /*box-shadow: 0 0 0 99999px rgba(0, 0, 0, .2);*/
}

#chatMessageContainer.always-visible {
    display: block;
    position: inherit;
}

.chat-message-list {
    width: 450px;
    max-height: 400px;
    overflow: auto;
    display: flex;
    flex-direction: column-reverse;
}
.free-width .chat-message-list {
    width: inherit;
    max-height: inherit;
}
.chat-message {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: .8rem;
    /* width: 90%; */
    margin-left: auto;
    margin-right: auto;
}
.chat-message.chat-message-own {
    justify-content: flex-end;
}
.chat-message.chat-message-own .chat-message-icon {
    order: 2;
}
.chat-message.chat-message-own .chat-message-content {
    order: 1;
}
.chat-message.chat-message-own .chat-message-body {
    margin-right: 0;
    margin-left: auto;
}
.chat-message.chat-message-own .chat-message-footer {
    text-align: right;
}
.chat-message-content {
    width: 80%;
}
.chat-message-icon {
    width: 10%;
}
.chat-message-body {
    background-color: #f4f4f6;
    padding: 8px;
    border-radius: 15px;
    width: fit-content;
}
.chat-message-footer {
    color: dimgrey;
}
.icon-chat {
    width: 35px;
}
.chat-submit {
    width: 25px;
    height: 25px;
}
#chat_message_content {
    border: none;
}
.notificationButton {
    position: relative;
}
#notificationBox p{
    margin-bottom: .6rem;
}
#notificationBox {
    font-size: .8em;
    display: none;
    z-index: 1100;
    /*opacity: 0;*/
    position: absolute;
    max-width: max-content;
    max-height: 600px;
    overflow-y: auto;
    top: 140px;
    right: 75px;
    border-radius: 5px 0px 5px 5px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}
#notificationBox span.badge:hover {
    background-color: #f58020 !important;
}
.notification-user-badge {
    background-size: cover;
    background-image: url("../../assets/images/rond-bleu.png");
    width: 25px;
    height: 25px;
    color: white;
    font-size: 1em;
    text-transform: uppercase;
    text-align: center;
}
.orange-user-badge {
    background-size: contain;
    background-image: url("../../assets/images/rond-orange.png");
    width: 25px;
    height: 25px;
    color: white;
    font-size: 1em;
    text-transform: uppercase;
    text-align: center;
}

#searchPopup {
    font-size: .8em;
    display: none;
    z-index: 1100;
    /*opacity: 0;*/
    position: absolute;
    width: 500px;
    max-height: 600px;
    overflow-y: auto;
    top: 85px;
    right: 75px;
    border-radius: 20px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}
#searchBox {
    border: 0;
}
#searchBox::placeholder {
    color: #c2c2c2;
}

.close-button {
    cursor: pointer;
}
#chatMessagesButton.red-dot:before, #chatMessagesButtonIvm.red-dot:before {
    position: absolute;
    /*left: 40px;*/
    content: '';
    background-color:#FF0000;
    border-radius:50%;
    /*opacity:0.5;*/
    width: 15px;
    height: 15px;
    pointer-events: none;
}

/* .selected-week-day {
    background-color: #fc8728;
} */
a.sorting-column {
    color: #fc8728;
}
.list-action-icon {
    padding-left: 20px;
}
.list-action-icon-sm {
    padding-left: 3px;
    padding-right: 3px;
}

.card.card-blue {
    border: 2px solid #29304f;
}

.rotate-text {
    transform: rotate(-90deg);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.rotate-justify-left {
    justify-content: start !important;
}

.parent-rotate-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-big {
    font-size: 2em;
}
.text-small {
    font-size: 0.8em;
}
.text-medium {
    font-size: 0.9em;
}

.blue-box {
    background-color: #29304f;
    height: 40px;
    color: white;
}
.blue-box.light {
    background-color: #dadeff;
    color: #29304f;
}

.orange-box {
    background-color: #fc8728;
    height: 40px;
    color: white;
}
.orange-box.light {
    background-color: #feecd9;
    color: #fc8728;
}
.square-sm {
    width: 40px;
    height: 40px;
}
.square-xs {
    width: 20px;
    height: 20px;
    font-size: .7rem;
}


.bg-orange-dark {
    background-color: #feecd9;
}

#accordionProject {
    /*max-width: 450px;*/
    overflow-x: scroll;
    scroll-behavior: smooth;
}
#accordionProject.open {
    /*max-width: 796px;*/
}
#accordionProject::-webkit-scrollbar {
    display: none;
}
#accordionProject {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.bg-grey {
    background-color: #eaeaed;
}

.bg-half-grey {
    background: linear-gradient(90deg, rgba(255,255,255,0) 50%, rgb(234, 234, 237) 50%);
}

.week-days a {
    width: 50px;
    height: 50px;
    background-color: white;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    color: #eaeaed;
    margin: 5px;
}

.selected-week-day a {
    background-color: #29304F;
    color: white;
}

.img-md-still {
    width: 100px;
}

.img-sm-still {
    width: 80px;
}

.img-big {
    width: 100px;
}

.img-xxxs {
    height: 25px;
}
.img-xxs {
    width: 20px;
}
.img-xs {
    width: 33px;
}
.img-xm {
    width: 45px;
}
.img-sm-s {
    width: 60px;
    z-index: 2;
}
.img-sm {
    width: 70px;
}
.chat-button-user.img-sm {
    width: 70px;
    height: 70px;
}

.img-lg {
    width: 140px;
}
.img-xxl {
    width: 165px;
}

.week-days a:hover {
    -webkit-filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.1));
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.1));
    color: #dfe0e4;
}

.orange-title {
    text-transform: uppercase;
    margin-top: 1.5em;
    margin-bottom: 1em;
    color: #fc8728;
}

.notif-badge, .comment-badge { /*  Je commente tout ça car sinon le badge ne disparaît pas quand il ne contient pas de texte  */
    /*width: 25px;*/
    /*height: 25px;*/
    /*line-height: 20px;*/
    /*vertical-align: middle;*/
    /*display: inline-block !important;*/
    /*padding: 0;*/
    /*color: white;*/
    /*border-radius: 50%;*/
    left: 70%;
}
.file-badge {
    top: 4px;
    left: -10px;
    z-index: 2;
}
.file-badge-lower {
    top: 20px;
}

.top-right {
    top: -8px;
    right: -8px;
}
.right-0 {
    right: 0;
}
.width-min-content {
    width: min-content;
}

.notification-button {
    cursor: pointer;
}

/* glossaire */

.glossary-form select,
.glossary-form .select2-selection,
.glossary-form input:not(.form-check input),
.glossary-form textarea {
    border: 1px solid #29304F;
    box-shadow: none !important;
    border-radius: 40px;
    padding: 12px 20px;
}
.glossary-form select, .glossary-form input {
    min-height: 70px;
}
.select2-container {
    min-height: 70px;
}

.xxs-title {
    text-transform: uppercase;
    color: #fc8728;
    font-size: .8rem;
}

.ref-table th:nth-child(-n+2),
.ref-table td:nth-child(-n+2) {
    background-color: #dfe0e4;
}

.ref-table th:not(:nth-child(-n+2)),
.ref-table td:not(:nth-child(-n+2)) {
    background-color: #feecd9;
}

.img-button {
    width: 100px;
    margin: 0 auto;
}

.orange-title-button {
    text-transform: uppercase;
    color: #fc8728;
}


/* Customize the label (the container) */
.checkbox-custom-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    /*font-size: 22px;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-custom-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkbox-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    margin-top: 0.4em;
    background-color: #FEECD9;
}

/* On mouse-over, add a grey background color */
.checkbox-custom-container:hover input ~ .checkbox-custom {
    background-color: #ffe4c5;
}

/* When the checkbox is checked, add a blue background */
.checkbox-custom-container input:checked ~ .checkbox-custom {
    background-color: #FA8003;
}

/*!* Create the checkbox-custom/indicator (hidden when not checked) *!*/
/*.checkbox-custom:after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    display: none;*/
/*}*/

/*!* Show the checkbox-custom when checked *!*/
/*.checkbox-custom-container input:checked ~ .checkbox-custom:after {*/
/*    display: block;*/
/*}*/

/*!* Style the checkbox-custom/indicator *!*/
/*.checkbox-custom-container .checkbox-custom:after {*/
/*    left: 9px;*/
/*    top: 5px;*/
/*    width: 5px;*/
/*    height: 10px;*/
/*    border: solid white;*/
/*    border-width: 0 3px 3px 0;*/
/*    -webkit-transform: rotate(45deg);*/
/*    -ms-transform: rotate(45deg);*/
/*    transform: rotate(45deg);*/
/*}*/


.ref-table th,
.ref-table td {
    margin-right: 10px;
}

.ref-table {
    border-spacing: 5px 0;
    border-collapse: separate;
}

.ref-table thead {
    border-color: transparent;
}

.page-link {
    color: black;
}
.active > .page-link, .page-link.active {
    color: white;
    background-color: #FA8003;
    border-color: #FA8003;
}
.page-link:hover {
    color: black;
    background-color: var(--bs-pagination-hover-bg);
    border-color: var(--bs-pagination-hover-border-color);
}
.page-item.active > .page-link:hover {
    color: black;
    background-color: #ffe4c5;
    border-color: #ffe4c5;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search {
    display: inline;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    display: inline;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    display: inline-flex;
    background-color: #ffe4c5;
}
.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #FA8003;
    min-height: 70px;
}
.select2-container--bootstrap-5 .select2-selection {
    min-height: 70px;
}
.select2-dropdown.select2-dropdown--below {
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
    padding-bottom: 40px;
    border-color: #FA8003;
    /*padding-top: 40px;*/
}
.select2-dropdown.select2-dropdown--above {
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    border-color: #FA8003;
    padding-top: 40px;
}

.greyed, .archived {
    color: lightgrey;
}
img.greyed, .file-list.greyed, .chat-button-user.greyed, img.archived, .file-list.archived, .chat-button-user.archived, .target-files-visibility-toggle.greyed > img {
    opacity: .2;
}

.fs-7 {
    font-size: .9rem !important;
}
.fs-8 {
    font-size: .75rem !important;
}

.blue-border {
    border-color: #29304F !important;
    border-width: 2px !important;
}

.cursor-pointer {
    cursor: pointer;
}
.toggle-target {
    font-size: 1em;
    color: #29304F;
    text-transform: none;
    display: none;
    z-index: 1200;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    background-color: white;
    position: absolute;
    top: -50px;
    left: 30px;
    border-radius: 5px 0px 5px 5px;
    padding: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}


.caret-off::before {
    display: none;
}
.caret-off::after {
    display: none;
}
.margin-3rem {
    margin-bottom: -3rem;
}

.mt-4-5 {
    margin-top: 2rem !important;
}

.p-6 {
    padding-bottom: 6rem;
}
.datepicker td, .datepicker th {
    width: 30px;
    /*height: 30px;*/ /* Fait planter le datepicker   */
    /*font-size: 14px;*/
    /*border: 1px solid #eee;*/
    color: #29304F;
}

.datepicker table tr td.active.active {
    background-image: linear-gradient(to bottom,#FA8003, #FA8003);
}
/*}*/
/*.datepicker table tr td.old, .datepicker table tr td.new {*/
/*    color: #ccc;*/
/*}*/
/*.previous:hover, .backward:hover, .forward:hover, .next {*/
/*    background: #eee;*/
/*    color: #fff;*/
/*}*/
/*.previous:hover, .backward:hover, .forward:hover, .next {*/
/*    background: #ccc;*/
/*    color: #fff;*/
/*}*/
.datepicker {
    padding: 10px;
    box-shadow: 4px 4px 5px -1px rgba(0,0,0,0.4);
}

.max-height-md {
    max-height: 500px;
    overflow-y: scroll;
    /*scroll-margin: 50px;*/
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.max-height-sm {
    max-height: 400px;
    overflow-y: scroll;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.max-height-md::-webkit-scrollbar, .max-height-sm::-webkit-scrollbar {
    display: none;
}

.h-65 {
    height: 65px;
}

.ps-6 {
    padding-left: 4.5rem;
}
.ps-7 {
    padding-left: 6rem;
}

@media (min-width: 1600px) {
    .px-xxl-7 {
        padding-right: 6rem !important;
        padding-left: 6rem !important;
    }
    .px-xxl-9 {
        padding-right: 10rem !important;
        padding-left: 10rem !important;
    }
}

@media (min-width: 1400px) {
    .float-end-xxl {
        float: right;
        flex-direction: column;
        justify-content: center;
        align-items: center !important;
    }
}

#chatButtons {
    cursor: pointer;
    right: -100px;
    width: 100px;
    top: 0;
}
#chatButtons.chat-buttons-up {
    top: 0px;
}
.chat-button-user {
    margin-bottom: 1em;
    background-size: cover;
    background-image: url("../../assets/images/bulle bleue.png");
    width: 40px;
    height: 40px;
    color: white;
    font-size: 1em;
    text-transform: uppercase;
}
.toggle-target-chat-users {
    position: absolute;
    display: none;
    z-index: 1200;
    background-color: transparent;
    box-shadow: none;
    top: 0px;
    left: 80px;
}

.toggle-target-chat-users {
    transform: scale(0);
    transition: all 1s;
}

.toggle-target-chat-users.animate {
    transform: scale(1);
}
.faded .img-sm {
    filter: grayscale(100%) brightness(2);
    transition: all .6s;
}
.faded .but-this .img-sm {
    filter: grayscale(0%) brightness(1);
}
tr.faded > td {
    filter: grayscale(100%) brightness(2);
}

.input-orange {
    border-radius: 0;
    color: white;
    background-color: #FA8003;
    width: 178px;
    font-weight: 700;
    padding-left: 25px;
}
.input-orange:placeholder-shown {
    background-color: #FEECD9;
    border-color: #FEECD9;
}
.input-orange::placeholder {
    color: #FA8003;
}

.img-100 {
    width: 100px;
}

.row-with-middle-line, .row-with-middle-line > td {
    position: relative;
    z-index: 2;
}
.row-with-middle-line:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    border-top: 1px solid #29304F;
    background: #29304F;
    width: 100%;
    transform: translateY(-50%);
}
.table-align-middle > tbody > tr > td {
    vertical-align: middle;
}
.table-files > tbody > tr > td {
    /*padding: 1rem;*/
    padding: 0 1rem;
    word-wrap: anywhere;
}
.table-source-files > tbody > tr > td {
    padding: .8rem;
    border: 0;
}


.blue-border-block-sm {
    border: 1px solid #29304f;
    border-radius: 1rem;
    background-color: white;
    color: #29304f;
    padding: 3px 10px;
    margin: 2px 0;
}
.grey-block-xs {
    /*border: 1px solid #29304f;*/
    border-radius: .5rem;
    background-color: #c0c5d2;
    color: white;
    padding: 2px 5px;
    font-size: .84rem;
    width: max-content;
}

.orange-pipe {
    width: 1px;
    margin: 2px 0;
    border: 1px solid #ffad5c;
}
.p-sm {
    padding:  0.35rem;
}

.th-image {
    text-align: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 70px;
}
.toggle-selector > img {
    pointer-events: none;
}

.highlight {
    font-weight: 700;
    color: #FA8003;
}

.pointer-info {
    cursor: help;
}

.light-rotate:hover,
#chatButtons:not(.faded) .light-rotate-but:hover {
    transform: rotate(7deg);
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
}
.hover-bigger-noshadow:hover {
    transform: scale(1.1);
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
}
.full-rotate:hover {
    transform: rotate(120deg);
    transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
}
.back-to-top {
    color: #f58020;
    font-size: 55px;
    float: right;
    opacity: .5;
}
.back-to-top:hover {
    opacity: 1;
    transform: translateY(-5px);
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
}

.btn-huge{
    padding-top:20px;
    padding-bottom:20px;
}

.hide {
    display: none;
}
.badge.bg-orange {
    color: white;
}
a.badge.bg-secondary {
    color: white;
}
.bg-light-green {
    background-color: #edffed;
}

#flashes {
    display: none;
    width: fit-content;
    min-width: 33%;
    position: sticky;
    top: 90px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    z-index: 150;
}
#flashes .alert {
    padding-left: 40px;
    padding-right: 40px;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.63);
}

.mw-100 {
    min-width: 100px;
}

#concurrentAccess {
    display: none;
    position: sticky;
    bottom: 90px;
    font-size: .8em;
    padding: 15px;
    width:140px;
    margin-right: 10px;
    min-height: 80px;
    margin-left:auto;
    z-index: 15000;
    border: 2px solid #f58020;
    border-radius: 10px;
    background-color: #424242;
    color: #f58020;
}
.select2-results__option:empty {
    height: 40px;
}

.select2-fs-3 .select2-selection__rendered  {
    font-size: 1.5em;
}

.cadenas {
    position: absolute;
    top: 0px;
    right: 0px;
}
.cadenas-offset {
    position: absolute;
    top: -23px;
    right: -23px;
}
.download-img {
    background-image: url(../images/download.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 33px;
    height: 33px;
}
.cadenas-file:hover {
    background-image: url(../images/cadenas_orange.png);
}

.set-time-btn {
    background-size: cover;
    background-image: url("../../assets/images/rond-bleu.png");
    height: 70px;
    width: 70px;
    color: white;
    font-size: 2.9em;
    text-align: center;
    vertical-align: middle;
}

#qualityInterventionPopup {
    /*font-size: .8em;*/
    z-index: 1050;
    /*opacity: 0;*/
    display: none;
    position: fixed;
    top: 25px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 900px;

    /*width: fit-content;*/
    /*transform: translateX(-50%);*/
    /*left: 50%;*/

    width: 1200px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;

    border-radius: 10px 0px 10px 10px;
    /*padding: 25px;*/
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}
.datepicker {
    z-index: 1056 !important;
}
.ajax-message {
    color: red;
    font-weight: bold;
}
.invalid-feedback {
    margin-bottom: 2em;
}
.opacity-60 {
    opacity: 0.6;
}

.dropzone {
    border: 3px solid #fc8728;
    border-radius: 10px;
}
.dz-error .dz-image {
    border: 1px solid red;
}
.dropzone .dz-preview .dz-progress {
    border: 2px solid #29304F !important;
}
.dropzone .dz-preview .dz-progress .dz-upload {
    background-color: #fc8728 !important; /*  progress bar */
    background: inherit;
}
.dropzone .dz-error-mark svg g g {
    fill: #c00;
}

.collapsibleDiv {
    position: relative;
}
.fixed-height-collapse {
    max-height: 200px;  /* Set the max height for the div */
    overflow: hidden;   /* Hide content that exceeds the height */
}
.full-height-collapse {
    max-height: none;   /* Allow full content when expanded */
}
.fade-collapse {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)); /* Fading effect */
    pointer-events: none; /* Allow clicks to pass through */
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease;
}
.fixed-height-collapse .fade-collapse {
    opacity: 1; /* Show the fade effect when folded */
}
.btn-fw-lg {
    width: 180px;
}
.btn.faded {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.link-button {
    /* Remove default button appearance */
    -webkit-appearance: none; /* For Webkit browsers */
    -moz-appearance: none;    /* For Mozilla browsers */
    appearance: none;

    /* Reset default button styles */
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;

    /* Inherit font styles from parent */
    font: inherit;
    color: inherit; /* Inherit text color, or set a specific link color */

    /* Add link-like characteristics */
    text-decoration: underline; /* Add underline */
    cursor: pointer;          /* Change cursor to pointer on hover */
    display: inline;          /* Make it behave like an inline element */
}

/* Optional: Add hover effect for a more link-like interaction */
.link-button:hover {
    transform: scale(1.05);
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -webkit-filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.63));
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.63));
    transform: scale(1.1);
}

.collapse-toggle .caret::after {
    display: inline-block;
    content: "";
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    padding: 4px;
    transform: rotate(45deg);
    transition: transform 0.2s ease-in-out;
}

/* Quand ouvert */
.collapse-toggle:not(.collapsed) .caret::after {
    transform: rotate(-135deg);
}

.edition-task-card {
    border: 1px solid #29304F;
    /*border-radius: 10px;*/
    background-color: white;
}
.edition-task-card .card-header {
    background-color: #D9D9DF;
    padding: 15px;
    color: #29304F;
    font-weight: 700;
}
textarea.auto-resize {
    overflow: hidden;
    resize: none;
}
