/*Import de la police Lexend*/
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
body {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px;
}

/*
Variables de couleur
changer les couleurs ici si besoin
*/
:root{
    --main-black: #343738;
    --main-blue: #4949BD;
    --main-hover: #494993;
    --main-green: #398339;
    --main-grey: #5B616B;
    --main-red: #DA393E;
    --white: #fff;

    --second-black: #464646;
    --second-blue: #E3E3FF;
    --second-red: #AF191A;
    --second-green: #266c26;

    --blue-card-title: #005596;
}



/*Page login 26/02/2025*/

.login-Container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*CSS pour le container de gauche*/
.login-Container-left{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    height: 100dvh;
    background-size: cover;
    background-position: center;
}

.login-left-img{
    width: 100%;
    padding: 40px 60px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-left-img p{
    color: var(--white);
    font-weight: bold;
}

.login-left-text{
    color: var(--white);
    font-family: 'Lexend', sans-serif;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-left-title{
    font-weight: bold;
    font-size: clamp(1em, 7vw, 8em);
    line-height: normal;
    white-space: nowrap;
    margin: 0;
}

.login-left-text2{
    color: var(--main-black);
    font-family: 'Lexend', sans-serif;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-height: max-content;
}

.login-left-title2{
    font-weight: bold;
    font-size: clamp(2em, 6vw, 7em);
    text-align: center;
    line-height: normal;
    margin: 0;
    width: 100%;
    max-height: max-content;
}

.container-responsive-login{
    display: flex;
    flex-direction: column;
    flex: 1;
}



.login-left-info{
    padding: 0 60px;
    color: var(--white);
    width: 100%;
    display: flex;
    justify-content: space-between;
    text-align: center;
}


.login-left-info a{
    color: var(--white);
    transition: underline .5s;
}

.login-left-info a:hover{
    text-decoration: underline;
}

@media screen and (max-width: 1260px) {
    .login-left-info{
        align-items: center;
        flex-direction: column-reverse;
    }
}




/*CSS pour le container de droite*/
.login-Container-right{
    width: 50%;
    /* padding: 100px 200px; */
    padding: clamp(20px, 3vh, 100px) clamp(0px, 10vw, 500px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100dvh;
}

.login-content-right{
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
    flex: 1;
}

.login-Title{
    font-family: 'Lexend', sans-serif;
    color: var(--main-black);
    font-weight: bold;
    margin-bottom: clamp( 10px,1vw,100px);
    font-size: clamp(1.5em, 4vw, 3em);
}

#login-form{
    display: flex;
    flex-direction: column;
}

.login-Button-btn {
    margin: auto 0;
    background: var(--main-blue);
    color: white;
    font-weight: bold;
    width: 100%;
    height: 55px;
    padding: 0 1em;
    line-height: 2em;
    font-size: clamp(1.125em, 1.5vw, 1.5em);
    border-style: none;
    border-radius: 15px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    transition: all 0.5s;
    margin-top: 30px;
}

.login-Button-btn:hover{
    box-shadow: none;
    -webkit-box-shadow: none;
    background-color: var(--main-hover);
}

.control.login-Button {
    text-align: center;
}

input#email, input#password {
    border-color: #999;
}

.is-focused input {
    background: #FFFCC8 !important;
}

.login-textfield{
    color: var(--main-black) !important;
    font-size: 1em !important;
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.login-textfield input{
   border: 1.5px solid var(--main-black);
   border-radius: 10px;
   padding: 10px;
   height: clamp(40px, 4vw, 55px);
}

.login-textfield label{
    margin-bottom: 10px;
}

.login-passcheck{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--main-black);
    margin-top: 15px;
    gap: 15px;
    flex-wrap: wrap;
}

.message-body{
    color: var(--second-red);
    margin-top: 5px;
}
.form-check-label{
    color: var(--main-black);
    transition: color .2s;
}

.form-check-label:hover{
    color: var(--main-blue);
}

.pass-forget{
    color:#4D4D4D;
    transition: color .2s;
}
.pass-forget:hover{
    color: var(--main-blue);
}

.form-check{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.form-check .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0;
}

.form-check .form-check-input:checked {
    background-color: var(--main-blue);
    border-color: var(--main-blue);
}

.nav-item {
    width: max-content;
    border: 1px solid var(--main-black);
    border-radius: 5px;
    color: var(--main-black);
    font-weight: bold;

}

.nav-item navbarDropdown{
    color: var(--main-black);
}

.login-lang-button{
    display: flex;
    justify-content: end;
}

.login-left-info2{
    display: none;
}

/*responsive connexion/reset mdp*/
@media screen and (max-width: 768px) {
    .login-Container-left{
        display: none;
    }

    .login-Container{
        width: 100%;
    }

    .login-Container-right{
        flex: 1;
        justify-content: start;
    }

    .login-content-right {
        gap: 0;
    }

    .login-left-info2{
        color: var(--main-black);
        margin-top: 55px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .login-left-info2 p{
        color: var(--main-black);
    }


    .login-left-info2 a{
        color: var(--white);
        transition: underline .5s;
    }

    .login-left-info2 a:hover{
        text-decoration: underline;
    }
}

@media screen and (min-width: 769px){
    .login-left-text2{
        display: none;
    }

}



/*CSS pour la page de demande de reset mot de passe*/
.login-instruction{
    color: var(--main-black);
    font-size: 1em;
    margin-bottom: 0;
}

.back-home{
    display: flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    position: relative;
    transition: all .3s;
}
.back-home a{
    display: flex;
    align-items: center;
}
.back-home p{
    margin: 0;
}

.back-home span::after {
    content: "";
    position: absolute;
    left: 6px;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
  }

  .back-home span:hover::after {
    width: 100%;
  }

  .back-home:hover p{
    color: var(--main-blue);
  }


.back-home a{
    color: var(--main-black);
}

.back-home:hover a{
    color: var(--main-blue);
}

.back-home img{
    transition: all .3s;
}

.back-home:hover img{
    filter: brightness(0) saturate(100%) invert(29%) sepia(62%) saturate(1471%) hue-rotate(217deg) brightness(89%) contrast(93%);
}


.back-home img{
    transform: rotate(180deg);
}

.reset-pswd{
    gap: 26px;
}

.reset-pswd h1{
    font-size: clamp(1.5em, 2.5vw, 3em);
    max-width: 468px;
    display: -webkit-box;
    margin-bottom: 10px;
}

/*CSS pour la page token de reset mot de passe*/

.error-msg{
    color: #AF191A;
}


/*code actuel de la page login*/
header {
    position: relative;
    z-index: 10;
    font-family: "Lexend", sans-serif;
    color: var(--main-black);
}


/*↓↓⚠ CCS ACTUEL ATTENTION ⚠↓↓*/
/*ça c pour le titre accueil  */
h1 {
    font-size: 2em;
    margin-bottom: 0.6em;
}

/*le a sert pour la création de projet*/
a {
    color: var(--main-blue);
    text-decoration: none;
}

p {
    font-size: 16px;
}

/*Page d'accueil*/
/*CSS POUR LE HEADER*/
#navbarNav {
    height: 120px;
    font-size: 1.09em;
    font-weight: 300;
}

ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.container-navbar-header{
    display: flex;

}

.container-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    margin: 0 30px;
}

.header-navbar{
    position: sticky;
    top: 0; /* L’élément reste collé en haut de son parent */
    background-color: #252525!important;
    z-index: 1000;
    border-bottom: 1px solid black;
}

@media screen and (max-width: 2200px) {
    #navbarNav {
        height: 0px;
    }

    .logo{
        height: 8vh;
        max-height: 60px;
    }
}

.resp-hidden{
    display: none;
  }

/* media queries pour adapter */


.navbar-nav-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    font-size: clamp(0.875em, 1vw, 1.376145em);
    flex: 1;
    gap: 125px;
    color: var(--white);
}
.logo-embed{
    display: none;
}
@media screen and (max-width: 1280px) {
    .navbar-nav-header{
        gap: 0px;
    }

    .container-header{
        margin: 0 0px;
        padding: 0 30px;
    }
}

@media screen and (max-width: 480px) {

    .logo-full{
        display: none;
    }
    .logo-embed{
        display: block;
        width: 40px;
    }

    .logo-embed img{
    padding: 10px 0;
    }


}



.navbar-nav-elm{
    display: flex;
    gap: 50px;
}

.nav-item-header a {
    color: var(--main-black);
    position: relative;
  }

  .nav-item-header a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
  }

  .nav-item-header a:hover::after {
    width: 100%;
  }


/* @media (max-width: 992px) {
    #navbarNav {
        height: 150px;
        font-size: 1.09em;
        font-weight: 300;
    }
} */

.navbar-brand {
    padding: 0px !important;

}

.navbar-inverse {
    background-color: #ffffff;
}

.logo {
    display: inline;
    vertical-align: top;
    height: 72px;
}

.all-coms-one-com {
    margin-left: 10px;
}

li#langFlag {
    list-style: none;
}

a.nav-link {
    padding: 10px 15px !important;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 5px;
}

a.nav-link.active {
    color: #FFFFFF !important;
}



/*card accueil*/
.site-Index{
    margin: 0 30px;
}

@media screen and (max-width: 1024px) {
    .site-Index{
        margin: 0 25px;
    }
}

@media screen and (max-width: 768px) {
    .site-Index{
        margin: 0 10px;
    }
}


@media screen and (max-width:480px) {
    .projet-Creation,.projet-Modification{
        font-size: 0.875em;
    }
}

.site-Index h1, h2{
  font-size: 0.875em;
  font-family: "Lexend", sans-serif;
  color: var(--main-black);
  margin: 0;
}

.site-Index h1{
  padding-top: 20px;
}

.statut-title{
    display: flex;
    align-items: center;
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .statut-title{
        flex-direction: column;
        align-items: start;
        margin-bottom: 20px;
    }
}

.site-Index h2{
  font-size: calc(clamp(2em, 5vw,3em) * 0.7);
  font-weight: bold;
  margin: 24px 0 25px ;
  text-wrap: nowrap;
}


.site-Index-grille{
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 50px);
    padding-bottom: 100px;
}


@media screen and (min-width: 768px) {
    .site-Index-grille {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (min-width: 1024px) {
    .site-Index, .container-header{
        margin: 0 30px;
    }

    .site-Index-grille {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (min-width: 1680px) {
    .site-Index{
        grid-template-columns: repeat(3, 1fr);
        max-width: 1620px;
        margin: 0 auto;
    }

    .container-header{

    }
}


.container-card{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.container-card a{
    min-height: calc(240px * 0.85);
}



.row:not(.normal) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}

.row2:not(.normal) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.row:not(.normal) > [class*="col-"] {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.htmlpage .row:not(.normal) > [class*="col-"] {
    flex-direction: row;
}

.row2:not(.normal) > [class*="col-"] {
    padding: 10px;
}

/*Partie statut des projets*/

.site-Index .flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 15px 0;
}

.site-Index .flex-row h2 {
    margin: 0;
}

.site-Index .flex-row nav {
    flex: 1 0 auto;
    text-align: center;
}

.site-Index .flex-row nav a {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}


/*Partie Mes projets Card*/

.card {
    position: relative;
    min-height: 100%;
    transition: box-shadow 0.3s;
    border-radius: 1em;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-content{
    background-color: var(--white);
    color: var(--main-black);
    border-radius: 13px;
    padding: 24px 24px 0px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-content-diapo{
    background-color: var(--white);
    color: var(--main-black);
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bar-color {
    width: 100%;
    /*height: 32px;*/
    height: 0;
    border-radius: 13px 13px 0 0 !important;
    background-color: transparent !important;
}



.card2 {
    background-color: rgba(128,128,128,0.1);
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: box-shadow 0.3s;
    -webkit-box-shadow: 0 6px 15px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 6px 15px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 6px 15px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
}

.card2:hover {
    position: relative;
    width: 100%;
    height: 100%;
    transition: box-shadow 0.3s;
    border-radius: 10px;
    -webkit-box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
}

.card:hover {
    position: relative;
    width: 100%;
    height: 100%;
    transition: box-shadow 0.3s;
    -webkit-box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
}



.site-Index .projet-Nom {
    margin-bottom: 10px;
    font-size: clamp(1.125em, 1.5em, 2em);
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Nombre maximum de lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: normal;
    color: var(--blue-card-title);
    font-weight: 700;
}

.container-info{
    color: var(--second-black);
     flex-grow: 1; /* Prend toute la hauteur restante à l'intérieur de card-content */
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.container-crea-modif{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.projet-Client {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.projet-Client p {
    margin: 0;
}

.client-square{
    width: 6px;
    height: 17px;
    background-color: var(--main-blue);
}



a.row.col-lg-4 {
    color: #FFFFFF;
}

.number-diapos {
    width: 60px;
    height: 60px;
    background: #268ce3;
    margin-right: 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: 700;
    font-family: sans-serif;
}


/*STOP*/

/*page unique projet*/


/* Breadcrumbs */

.breadcrumbs{
    /*padding-top: 20px;*/
    padding-top: 0.5em;
    margin-left: 15px;
}

.main-breadcrumbs{
    margin-left: 0;
}

.breadcrumbs-item {
    display: inline;
    margin-right: 22px;
    position: relative;
    font-size: 14px;
    text-decoration: underline;
}

.breadcrumbs li + li::before {
    content: "";
    position: absolute;
    top: 3px;
    left: -16px;
    width: 6px;
    height: 10px;
    background-image: url("../images/next.png");
    background-size: 8px 10px;
    background-repeat: no-repeat;
    background-position: center;
}

.breadcrumbs {
    font-family: 'Lexend', sans-serif;
    /*margin-top : -1rem;*/
    /*margin-left: -5rem;*/
}

.breadcrumbs-link {
    color: var(--main-black);
    transition: opacity 0.5s;
}

.breadcrumbs-item .active,
.breadcrumbs-link:hover,
.breadcrumbs-link:focus {
    font-size: 14px;
    color: var(--main-blue);
}


/* Fin breadcrumbs */

.sidebar-nav.bottom {
    position: fixed;
    bottom: 0;
    top: 50px;
    background: #DDD;
    z-index: 10;
    left: initial;
    right: 0;
    overflow-y: auto;
    width: 16% !important;
    padding: 0;
}


/*Page aperçu d'un projet*/

.projet-view, .actor-view{
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 30px;
}



.projet-view-container{
    display: flex;
    background-color: var(--white);
    padding: 30px 35px;
    margin: 42px 0 0 15px;
    border-radius: 1em 0 0 1em;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25);
    min-height: fit-content;
    gap: 20px;
}


.projet-view-container p{
    margin: initial;
}

.projet-view-container h2{
    font-family: 'Lexend', sans-serif;
    font-weight: bold;
    font-size: 2.5em;
}
.projet-view-left{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.projet-view-left h2{
    font-size: 1.5em;
    line-height: normal !important;
}

.projet-view-left p{
    margin: 0;
}





.storyboard-title{
    font-size: clamp(1.2em, 2em, 3em);
    margin: 40px 0 20px;
    font-weight: bold;
    font-family: 'Lexend', sans-serif;
}

@media screen and (max-width: 720px) {

    .storyboard-title{
        margin: 15px 0  ;
    }

}

@media screen and (max-width: 425px) {

    .projet-view{
    padding: 0 15px;
    }

}

.projet-seq-container{
    display: flex;
    background-color: var(--white);
    flex: 1;
    padding: 30px 35px;
    margin: 42px 0 0 0px;
    border-radius: 1em 0 0 1em;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25);
    min-height: fit-content;
    gap: 20px;
}




.statut-projet-blue, .statut-projet-green ,.statut-projet-grey{
    font-family: 'Lexend', sans-serif;
    font-weight: bold;
    font-size: 1.3em;
}

.statut-projet-blue p {
    margin: initial!important;
}


.statut-projet-blue{
    color: var(--main-blue);
}

.statut-projet-green{
    color: var(--main-green);
}

.statut-projet-grey{
    color: var(--main-grey);
}

.projet-left-info{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.projet-left-info span{
    font-weight: bold;
}

.projet-left-info p{
    margin: 0;
}

.projet-view .projet-statut {
    text-align: center;
    text-transform: uppercase;

}


.projet-view-right {
    background-color: var(--second-blue);
    flex: 1;
    border-radius: 0 1em 1em 0;
    width: 100%;
    display: flex;
    padding: 30px 35px;
    margin: 42px 0 0 0;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

.view-right-btn{
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;

    flex: 1;
    padding: 10px 15px;
    gap: 15px;
}



.view-right-btn a, .view-right-btn button{
    font-family: 'Lexend', sans-serif;
    font-size: 1em;
}

/*CSS pour les boutons de la view du projet*/
.projet-view-btn{
    background-color: transparent;
    border: none;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    transition: all .3s;
    color: var(--main-black);
}

#statut-button {
    background-color: #4949BD;
}

#statut-button img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(102deg) brightness(106%) contrast(100%);
}

#statut-button .projet-view-btn {
    color: var(--white);
}

#statut-button:hover{
    background-color: #5f5fbf;
}

.modal-footer .projet-view-btn{
    background-color: var(--main-red);
    color: var(--white);
    text-align: center;
    padding: 16px 0 16px;
    justify-content: center;
    width: fit-content;
}

.modal-footer .projet-view-btn:hover{
    background-color: var(--second-red);
}

.projet-view-btn:hover img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(46%) saturate(0%) hue-rotate(349deg) brightness(106%) contrast(101%);
}


.view-btn-statut, .view-btn-actors,
.view-btn-media, .view-btn-edit,.view-btn-restore,
.view-btn-delete{
    display: flex;
    gap: 20px;
    width: 100%;
    padding: 10px 15px;
    border-radius: 50px;
    color: var(--main-black);
    transition: all .3s;
}

/* Boutons de droites view sequence */
.projet-view-right:has(.view-btn-sequence) {
    min-width: 140px;
    width: max-content;
    flex: none;
}

.view-right-btn:has(.view-btn-sequence) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px 15px;
    padding: 0;
    justify-items: center;
}

.view-btn-sequence {
    width: max-content;
    padding: 0;
    border: none;
}

.projet-view-seq .right-btn-img {
    width: 40px;
    height: 40px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-btn-sequence:hover .right-btn-img {
    background-color: var(--main-blue);
    transition: all .3s;
}

.view-btn-sequence:hover .right-btn-img img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(102deg) brightness(106%) contrast(100%);
}

.view-btn-sequence button[data-bs-target="#suppressionSequenceModal"]:hover .right-btn-img {
    background-color: var(--second-red);
}

/* Bouton pleine largeur dans la grille 2x3 */
.projet-view-seq .btn-full-width {
    grid-column: 1 / -1;
    width: 100%;
}

/* On force le lien cliquable à s'étirer */
.projet-view-seq .btn-full-width .projet-view-btn {
    width: 100%;
    justify-content: center;
}

/* On transforme le rond en un grand bouton large */
.projet-view-seq .btn-full-width .right-btn-img {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media screen and (max-width: 1024px) {
    .right-btn-img {
        display: flex !important;
    }

    .projet-view-right:has(.view-btn-sequence) {
        min-width: 100%;
    }

    .view-right-btn:has(.view-btn-sequence) {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Texte affiché quand hoover */
.custom-hover-label {
    position: relative;
}

.custom-hover-label::after {
    content: attr(data-label);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--main-black);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 0.85em;
    font-family: 'Lexend', sans-serif;

    opacity: 0;
    visibility: hidden;
    margin-right: 20px;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 100;
}

.custom-hover-label:hover::after {
    opacity: 1;
    visibility: visible;
    margin-right: 5px;
}

.view-btn-actors a, .view-btn-edit a,.view-btn-restore a{
    color: var(--main-black);
    font-weight: normal;
}

.right-btn-img{

    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    padding: 10px;
}


.projet-view-seq .right-btn-img img {
    width:  100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.view-btn-statut button, .view-btn-media button{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    color: var(--main-black);
}

.view-btn-statut button img{
    transform: rotate(90deg);
}

#dd-statut{
    width: 95%;
    inset: initial !important;
    transform: translate3d(0px, 36px, 0px) !important;
}
.dd-item{
    transition: all .3s;
    font-size: 1em;
}

.dd-item:hover{
    background-color:rgb(232, 232, 232);
}



/*Hover des boutons*/

.view-btn-statut:hover, .view-btn-actors:hover,
.view-btn-media:hover, .view-btn-edit:hover, .view-btn-restore:hover{
    background-color: var(--main-blue);
}

.view-btn-delete:hover {
    background-color: var(--second-red);
}

.view-btn-statut:hover .right-btn-img,
.view-btn-actors:hover .right-btn-img,
.view-btn-media:hover .right-btn-img,
.view-btn-edit:hover .right-btn-img,
.view-btn-delete:hover .right-btn-img
{

}

.view-btn-statut:hover .right-btn-img img,
.view-btn-actors:hover .right-btn-img img,
.view-btn-media:hover .right-btn-img img,
.view-btn-edit:hover .right-btn-img img,
.view-btn-delete:hover .right-btn-img img,
.view-btn-restore:hover .right-btn-img img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(17%) saturate(2%) hue-rotate(278deg) brightness(111%) contrast(101%);
}

.right-btn-content img{
    width: 21px;
}

.view-btn-statut:hover button, .view-btn-media:hover button,
.view-btn-delete:hover button{
  color: var(--white);
}

.view-btn-media:hover a, .view-btn-edit:hover a, .view-btn-restore:hover,
.view-btn-actors:hover a,.view-btn-actors:hover button{
  color: var(--white);
}

.view-btn-restore{
    background-color: transparent;
    border: none;
}
.view-btn-actors:hover img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7490%) hue-rotate(224deg) brightness(99%) contrast(102%);
}

.view-btn-statut:hover img, .view-btn-media:hover button{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(102deg) brightness(106%) contrast(100%);
}


/*media querie pour les boutons view projet*/
@media screen and ( max-width:1280px) {

    .projet-view-right{
       min-width: 365px;

    }

    .view-right-btn a, .view-right-btn button{
        font-size: 1em;
    }

    .view-right-btn{
        padding: 10px 15px;
    }

    #dd-statut{
        font-size: 1em;
    }

}

/*accordéon pour les utilisateurs du projet*/

.accordion h2{
    font-family: 'Inter', sans-serif;
}

.accordion-button{
    background-color: var(--second-blue) !important;
    color: var(--main-black);
    font-size: 1em;
}


.list-users-project {
    margin: 5px 0 !important;
    font-size: 1em !important;
}

@media screen and ( max-width:1024px) {

    .right-btn-img{
        display: none;
    }

    .projet-view-right{
        min-width: 165px;
    }

    .view-right-btn a, .view-right-btn button{
        font-size: 1em;
    }

    .view-right-btn{
        padding: 10px 15px;

    }

    #dd-statut{
        transform: translate3d(-8px, 36px, 0px) !important;
    }

    .dd-item{
        margin: 0px 0;
        padding: 10px;
        transition: all .3s;
    }

    .accordion-button{
        font-size: 0.875em !important;
    }


    .list-users-project p{
        font-size: 0.875em !important;
    }

}


/* à supprimer ? */
.btn {
    margin-bottom: 10px !important;
    text-transform: uppercase;
}

.btn-2 {
    margin-bottom: 0px !important;
    text-transform: uppercase;
    height: 100%;
    border: 1px solid var(--main-blue);
}


/*partie Storyboard dans la page s*/



.add-storyboard{
    background-color: var(--main-blue);
    font-family: 'Lexend', sans-serif;
    width: max-content;
    font-family: 'Inter', sans-serif;
    border: none;
    color: var(--white) ;
    border-radius: 1em;
    width: fit-content;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    margin-bottom: 30px;
    transition: all .3s;
}

.btn-add-storyboard img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(81%) saturate(2%) hue-rotate(111deg) brightness(111%) contrast(101%);
    transition: all .3s;
}

.btn-add-storyboard{
    width: 100%;
    padding: 15px 30px;
    color: white;
    font-size: 1em;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all .3s;
}

@media screen and (max-width:768px) {
    .btn-add-storyboard{
        font-size: 0.875em;
        padding: 10px 15px;
    }
}

.add-storyboard:hover{
    background-color: var(--second-blue);
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

.add-storyboard:hover a{
    color: var(--main-black);
}

.add-storyboard:hover img{
    filter: none;
}


.list-storyboard{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 150px;
}

.single-storyboard{
    background-color: var(--white);
    min-height: 100px;
    display: flex;
    width: 100%;
    padding: 20px 40px;
    border-radius: 1em;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    transition: all .3s;
}

.single-storyboard-content h3{
    font-size: clamp(1.25em, 1.4em, 1.5em);
    font-family: 'Inter', sans-serif;
    line-height: normal;
    color: var(--main-black);
}

.list-storyboard a{
    width: 100%;
    display: flex;
    color: var(--main-black);
}

.single-storyboard:hover {
    background-color: var(--second-blue);
}

.single-storyboard-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.single-storyboard-content h3{
    width: 50%;
    margin: 0;
    font-weight: 600;
}

.storyboard-Creation, .storyboard-Modif, .storyboard-statut{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    color: var(--main-black);
}

@media screen and (max-width:1024px) {
    .single-storyboard{
        padding: 10px 20px;
    }
    .single-storyboard-content h3{
        width: 40%;
    }


    .storyboard-Creation, .storyboard-Modif, .storyboard-statut{
        font-size: 0.875em;
    }
}

.projet-view .storyboard-Lang {
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 50%;
}

/*Media querie pour la page projet partie storyboard*/

@media screen and (max-width:635px) {
    .single-storyboard-content{
        flex-direction: column;
        gap: 10px;
        position: relative;
    }

    .single-storyboard-content h3{
        width: 100%;
        text-align: center;
    }
    .storyboard-Creation, .storyboard-Modif{
        flex-direction: row;
    }
    .storyboard-Lang{
        display: flex;
        justify-content: end;
        width: 100%;
    }
    .projet-view .storyboard-Lang {
        position: absolute;
        top: 65%;
        right: 0px;
    }
}

/*Switch slider */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 27px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "✕";
    height: 23px;
    width: 23px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}


/*Input group*/
.input-group {
    display: flex;
    align-content: stretch;
    gap: 20px;
}

.input-group > input {
    flex: 1 0 auto;
}

/*end input group*/

input:checked + .slider {
    background-color: #2fc223;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2fc223;
}

input:checked + .slider:before {
    content: "✓";
    -webkit-transform: translateX(23px);
    -ms-transform: translateX(23px);
    transform: translateX(23px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Fin switch slider */

.projet-view .add-storyboard .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 270px;
    font-size: 1.7rem;
}


.switch .slider, .card, .projet-view .storyboard-Lang, .login-Body .login-Container .login-Button .login-Button-btn, .login-Body .login-Container {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.projet-view .storyboard-Lang img {
    width: 100%;
    height: 100%;
    display: block;
}



a.show {
    background: var(--white);
    color: var(--main-black);
}

.nav-link:hover{
    background-color: white;
    color: var(--main-black);
}

.nav-link:focus{
    background-color: white;
    color: var(--main-black);
}



ul.profil {
    right: 0 !important;
    left: auto !important;
    width: fit-content;
}

.table-bloom {
    /*width: 100%;*/
    border-collapse: separate;
    border-spacing: 0.6em;
}

.table-bloom th {
    border-radius: 0.5em;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.4);
}

.table-bloom td {
    border-radius: 0.5em;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.4);
}

.headcol {
    color: white;
    font-size: 1em;
}

/*Couleurs de fond pour boutons - si non-selectionnes*/


.color-orange {
    color: #EE7E33;
}

.color-yellow {
    color: #FDC503;
}



.color-purple {
    color-color: #9C27B0;
}

/*Couleurs de fond pour boutons - si selectionnes*/

.background-grey {
    color: #FFFFFF;
    background-color: #757575;
}

.bg-grey {
    color: #FFFFFF;
    background-color: #757575;
}


.background-red {
    color: #FFFFFF;
    background-color: #E53935;

}

.bg-red {
    color: #FFFFFF;
    background-color: #E53935;
}

.background-orange {
    color: #FFFFFF;
    background-color: #EE7E33;

}

.bg-orange {
    color: #FFFFFF;
    background-color: #EE7E33;

}

.background-orange:hover {
    color: #FFFFFF;
    background-color: #a9571f;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    transform: translate(-0.5%, -0.5%);
}

.background-yellow {
    color: #FFFFFF;
    background-color: #FDC503;
}

.bg-yellow {
    color: #FFFFFF;
    background-color: #FDC503;
}

.background-yellow:hover {
    color: #FFFFFF;
    background-color: #9b7900;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    transform: translate(-0.5%, -0.5%);
}

.background-green {
    color: #FFFFFF;
    background-color: #43A047;
}


.bg-green {
    color: #FFFFFF;
    background-color: #43A047;
}


.background-purple {
    color: #FFFFFF;
    background-color: #9C27B0;
}

.bg-purple {
    color: #FFFFFF;
    background-color: #9C27B0;
}

.background-purple:hover {
    color: #FFFFFF;
    background-color: #4b1356;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    transform: translate(-0.5%, -0.5%);
}


/*CSS pour les cards des projets*/

.filtres{
    width: 100%;
    display: flex;
    gap: 35px;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
    color: var(--main-black);
    font-size: clamp(12px, 3vw, 14px);
}

@media screen and (max-width: 768px) {

    .filtres{
        gap: 5px;
    }

    .filtres a img{
        display: none;
    }

}




.filtres .background-blue{
    color: white;
    /*border: 1.5px solid var(--main-black);*/
}

.filtres .background-green{
    color: white;
    /*border: 1.5px solid var(--main-black);*/
}
.filtres .background-grey{
    color: white;
    /*border: 1.5px solid var(--main-black);*/
}
.filtres .background-red{
    color: white;
    /*border: 1.5px solid var(--main-black);*/
}

/* .filtres img{
    filter: brightness(0) saturate(100%) invert(98%) sepia(100%) saturate(8%) hue-rotate(123deg) brightness(102%) contrast(102%);
} */

.background-blue {
    color: #FFFFFF;
    background-color: var(--main-blue);
    padding: 6px 12px;
    border-radius: 1em;
    display: flex;
    gap: 10px;
}
.background-blue img,.background-green img, .background-grey img, .background-red img{
    filter: brightness(0) saturate(100%) invert(98%) sepia(100%) saturate(8%) hue-rotate(123deg) brightness(102%) contrast(102%);
}

.btn-duppli{
    background-color: var(--main-green);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all .3s;
}

.btn-duppli:hover{
    background-color: var(--second-green);
    color: white;
}


.main-btn-confirm{
    background-color: var(--main-green);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    transition: all .3s;
}

.main-btn-confirm:hover{
    background-color: var(--second-green);
    color: white;
}

.main-btn-cancel{
    background-color: var(--main-red);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    transition: all .3s;
}

.main-btn-cancel:hover{
    background-color: var(--second-red);
    color: white;
}


.main-btn-blue{
    background-color: var(--main-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    transition: all .3s;
}


.main-btn-blue:hover{
    background-color: var(--second-blue);
    color: var(--main-black);
}

.background-green{
    color: #FFFFFF;
    background-color: var(--main-green);
    padding: 6px 12px;
    border-radius: 1em;
    display: flex;
    gap: 10px;
}

.background-grey{
    color: #FFFFFF;
    background-color: var(--main-grey);
    padding: 6px 12px;
    border-radius: 1em;
    display: flex;
    gap: 10px;
}

.background-red{
    color: #FFFFFF;
    background-color: var(--main-red);
    padding: 6px 12px;
    border-radius: 1em;
    display: flex;
    gap: 10px;
}

.background-extra-element1, .background-extra-element2, .background-extra-element3, .background-extra-element4{
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px;
    border-radius: 0 1em;
    width: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-extra-element1{
    background-color: var(--main-blue);
}

.background-extra-element2{
   background-color: var(--main-green);
}

.background-extra-element3{
   background-color: var(--main-grey);
}

.background-extra-element4{
   background-color: var(--main-red);
}

/* .background-green:hover {
    color: #FFFFFF;
    background-color: #246c27;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    transform: translate(-0.5%, -0.5%);
}

.background-grey:hover {
    color: #FFFFFF;
    background-color: #3a3a3a;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    transform: translate(-0.5%, -0.5%);
}

.background-red:hover {
    color: #FFFFFF;
    background-color: #91221f;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    transform: translate(-0.5%, -0.5%);
}*/

.body-bg{
    background-color: #f4f4f4;
    min-height: 100vh;
}

.bg-blue {
    color: #FFFFFF;
    background-color: #1E88E5;
}


.color-blue, .color-green, .color-grey, .color-red {
    color: var(--main-black);
    background-color: var(--main-blue);
    padding: 6px 12px;
    border-radius: 1em;
    background-color: var(--white);
    font-weight: 600;
    transition: all.3s;
    display: flex;
    gap: 10px;
    /*border: 1.5px solid var(--main-black);*/
}

@media screen and (max-width: 480px) {
    .color-blue, .color-green, .color-grey, .color-red,
    .background-blue, .background-green, .background-red, .background-grey{
        padding: 10px 15px;
    }

}

@media screen and (max-width: 768px) {
    .color-blue, .color-green, .color-grey, .color-red,
    .background-blue, .background-green, .background-red, .background-grey{
        padding: 5px 15px;
        font-size: 0.875em;
    }

}

.color-blue img, .color-green img, .color-grey img, .color-red img {
    transition: filter .3s;
}

.color-blue:hover{
    background-color: var(--main-blue);
    color: var(--white);
   box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.color-green:hover{
    background-color: var(--main-green);
    color: var(--white);
   box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.color-grey:hover{
    background-color: var(--main-grey);
    color: var(--white);
   box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.color-red:hover{
    background-color: var(--main-red);
    color: var(--white);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.color-blue:hover img, .color-green:hover img, .color-grey:hover img, .color-red:hover img{
    filter: brightness(0) saturate(100%) invert(98%) sepia(100%) saturate(8%) hue-rotate(123deg) brightness(102%) contrast(102%);
}

.square-blue{
    background-color: var(--main-blue);
}

.square-green{
    background-color: var(--main-green);
}

.square-grey{
    background-color: var(--main-grey);
}

.square-red{
    background-color: var(--main-red);
}

/*effet d'hover pour les cards de l'accueil*/
.background-blue:hover {

}

/*Pour la page taxonomie de bloom*/
th.background-grey {
    background-color: #757575;
}

th.background-red {
    background-color: #E53935;
}

th.background-orange {
    background-color: #EE7E33;
}

th.background-yellow {
    background-color: #FDC503;
}

th.background-green {
    background-color: #43A047;
}

th.background-purple {
    background-color: #9C27B0;
}

th.background-blue {
    background-color: #1E88E5;
}


.newproject {
    border-radius: 1em;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.3s;
    color: #1E88E5;
    font-size: 1.2em;
    width: 100%;
    height: calc(240px * 0.85);
    background-color: var(--white);
}

.newproject:hover {
    -webkit-box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.3s;
}

.newproject-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.newproject-content img{
  width: 50px;
}

.newproject-content h3{
  font-weight: bold;
  text-transform: uppercase;
  color: var(--main-black);
  font-size: 1.2em;
}



/*Tableau page gestion de projet*/

.table-gp {
    text-align: center;
}

.table-gp .table-odd:nth-child(6n) {
    background-color: grey;
}

.responsive-table li {
    border-radius: 3px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.responsive-table .table-header {
    background-color: #e7f1ff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.responsive-table .table-row {
    background-color: #fff;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.1);
}

.responsive-table .col-1 {
    text-align: center;
    flex-basis: 25%;
}

.responsive-table .col-2 {
    text-align: center;
    flex-basis: 25%;
}

.responsive-table .col-3 {
    text-align: center;
    flex-basis: 25%;
}

.responsive-table .col-4 {
    text-align: center;
    flex-basis: 25%;
}

@media all and (max-width: 767px) {
    .responsive-table .table-header {
        display: none;
    }

    .responsive-table li {
        display: flex;
        flex-direction: column;
    }

    .responsive-table .col {
        flex-basis: 100%;
    }

    .responsive-table .col {
        display: flex;
        padding: 10px 0;
    }

    .responsive-table .col:before {
        color: #6c7a89;
        padding-right: 10px;
        content: attr(data-label);
        text-align: end;
    }
}



/*Page diapo*/

.wrapper {
    width: 100%;
    overflow: auto;
}

.breadcrumbs-left {
    float: left;
}

.buttons-right {
    float: right;
}

/*Fin page diapo*/
.sidebar-button-diapo{

}

/* Commentaires */

#navbar-comm .navbar-primary-menu {
    height: 100%;
}

#navbar-comm .navbar-primary-menu li {
    display: flex;
    flex-direction: column;
}

/* Remonte les anciens messages en HAUT de la liste */
#navbar-comm .commentaires-part {
    order: 1;
    flex-grow: 1;
    padding-top: 20px;
    width: 100%;
}

/* Empêche le texte de déborder de la bulle de chat */
#navbar-comm .comm-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word; /* Force le mot à se couper s'il est trop long */
    max-width: 100%;
}

#navbar-comm .commentaires-form {
    order: 2;
    position: sticky;
    bottom: 0;
    background-color: #dee1dc;
    margin-bottom: 0 !important;
    padding: 15px 10px 30px 10px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    z-index: 10;
}



/*Collapse commentaires*/

.btn-group-comm{
    display: flex;
    justify-content: end;
    gap: 10px;
}
.btn-group-comm a{
    border: none!important;
    gap: 10px;
}

@media screen and (max-width: 1550px) {
    .comment-remove {

    }

    .comment-remove #deleteIconComment {
        font-size: 14px;
    }

    .navbar-primary {
        /*background-color: #343838;*/
        background-color: #dee1dc;
        bottom: 0px;
        right: 0px;
        position: fixed;
        top: 60px;
        width: 320px;
        height: 100vh;
        z-index: 1000;
        overflow: auto;
        scrollbar-color: #343838 #343838;
        scrollbar-width: thin;
        -webkit-transition: all 0.1sease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        transition: all 0.1sease-in-out;
    }

    .navbar-primary.collapsed {
        width: 20px;
    }

    .navbar-primary.collapsed .glyphicon {
        font-size: 22px;
    }

    .navbar-primary.collapsed .nav-label {
        display: none;
    }

    /*.btn-expand-collapse {*/
    /*    !*position: absolute;*!*/
    /*    display: block;*/
    /*    right: 0px;*/
    /*    bottom:0;*/
    /*    width: 100%;*/
    /*    padding: 8px 0px 20px 0px;*/
    /*    !*border-top:solid 1px #666;*!*/
    /*    color: grey;*/
    /*    font-size: 20px;*/
    /*    text-align: center;*/
    /*}*/
    /*.btn-expand-collapse:hover,*/
    /*.btn-expand-collapse:focus {*/
    /*    background-color: #222;*/
    /*    color: white;*/
    /*}*/
    /*.btn-expand-collapse:active {*/
    /*    background-color: #111;*/
    /*}*/
    .navbar-primary-menu,
    .navbar-primary-menu li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .navbar-primary-menu li a {
        display: block;
        text-align: left;
    }

    .navbar-primary-menu li a .glyphicon {
        margin-right: 6px;
    }

    .navbar-primary-menu li a:hover .glyphicon {
        color: orchid;
    }

    .main-content {
        margin-top: 60px;
        margin-right: 200px;
        padding: 20px;
    }

    .collapsed + .main-content {
        margin-right: 60px;
    }

    .collapsed + .main-content2 {
        margin-right: 60px;
    }

    .card-dark-commentaire {
        background-color: var(--white)!important;
        width: 90%;
    }

    .card-light-commentaire {
        background-color: var(--white)!important;
        width: 90%;
    }

    /*Pas fonctionnel pour le moment*/
    /*.open-menu{*/
    /*    width: 80px;*/
    /*    height: 100%;*/
    /*    position: fixed;*/
    /*    right: 0;*/
    /*    top: 0;*/
    /*    background-color: #343838;*/
    /*}*/
    .navbar-primary.collapsed #bouton-collapse {
        width: 20px;
        height: 70px;
        padding: 0 2px;
        position: fixed;
        right: 20px;
        top: 240px;
        z-index: 2;
        background-color: #252525;
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
    }

    .navbar-primary #bouton-collapse {
        width: 20px;
        height: 70px;
        padding: 0 2px;
        position: fixed;
        right: 320px;
        top: 240px;
        z-index: 2;
        background-color: #252525;
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
    }

    .navbar-primary #arrowIconComment {
        color: var(--white);
        position: absolute;
        left: 3px;
        top: 22px;
        -webkit-transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;
    }
}

.comment-remove {
    display: block;
    height: 24px;
    width: 24px;
    text-align: center;
    line-height: 24px;
    border: 1px solid var(--second-red);
    position: absolute;
    top: -10px;
    right: -10px;
    color: white;
    border-radius: 50%;
    background-color: var(--white);
    transition: color 0.3s, background 0.3s;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
}

.comment-remove img{
    width: 11px;
    filter: brightness(0) saturate(100%) invert(24%) sepia(54%) saturate(6774%) hue-rotate(347deg) brightness(68%) contrast(102%);

}

.comment-remove:hover{
    background-color: var(--second-red);
}

.comment-remove:hover img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(30%) saturate(27%) hue-rotate(125deg) brightness(107%) contrast(107%);
}

.comment-remove #deleteIconComment {
    font-size: 14px;
}
@media screen and (min-width: 1551px) {

    .navbar-primary.collapsed {
        width: 20px;
    }

    .navbar-primary.collapsed .glyphicon {
        font-size: 22px;
    }

    .navbar-primary.collapsed .nav-label {
        display: none;
    }

    /*.btn-expand-collapse {*/
    /*    !*position: absolute;*!*/
    /*    display: block;*/
    /*    right: 0px;*/
    /*    bottom:0;*/
    /*    width: 100%;*/
    /*    padding: 8px 0px 20px 0px;*/
    /*    !*border-top:solid 1px #666;*!*/
    /*    color: grey;*/
    /*    font-size: 20px;*/
    /*    text-align: center;*/
    /*}*/
    /*.btn-expand-collapse:hover,*/
    /*.btn-expand-collapse:focus {*/
    /*    background-color: #222;*/
    /*    color: white;*/
    /*}*/
    /*.btn-expand-collapse:active {*/
    /*    background-color: #111;*/
    /*}*/
    .navbar-primary-menu,
    .navbar-primary-menu li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    /* .navbar-primary-menu li a {
        display: block;
        padding: 5px 10px;
        text-align: left;
    } */

    .btn-resolve{
        background-color: var(--second-blue);
    }

    .btn-resolve:hover{
        background-color: var(--main-blue);
    }
    .btn-resolve:hover svg{
        filter: brightness(0) saturate(100%) invert(99%) sepia(100%) saturate(0%) hue-rotate(156deg) brightness(103%) contrast(100%);
    }

    .navbar-primary-menu li a .glyphicon {
        margin-right: 6px;
    }

    .navbar-primary-menu li a:hover .glyphicon {
        color: orchid;
    }

    .main-content {
        margin-top: 0px;
        margin-right: 145px;
        padding: 10px;
    }

    .collapsed + .main-content {
        margin-right: 60px;
    }

    .collapsed + .main-content2 {
        margin-right: 60px;
    }

    .card-dark-commentaire {
        background-color: rgba(0, 0, 0, 0.2) !important;
        width: 90%;
    }

    .card-light-commentaire {
        /* background-color: rgba(255, 255, 255, 0.205) !important; */
        background-color: var(--white) !important;
        width: 90%;
    }

    /*Pas fonctionnel pour le moment*/
    /*.open-menu{*/
    /*    width: 80px;*/
    /*    height: 100%;*/
    /*    position: fixed;*/
    /*    right: 0;*/
    /*    top: 0;*/
    /*    background-color: #343838;*/
    /*}*/

    .navbar-primary {
        /*background-color: #343838;*/
        background-color: #dee1dc;
        border-left: 1px #343838 solid;
        bottom: 0px;
        right: 0px;
        position: fixed;
        top: 60px;
        width: 420px;
        height: 100vh;
        z-index: 1000;
        overflow: auto;
        scrollbar-color: #343838 #343838;
        scrollbar-width: thin;
        -webkit-transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;

    }


    .navbar-primary.collapsed #bouton-collapse {
        width: 20px;
        height: 70px;
        padding: 0 2px;
        position: fixed;
        right: 20px;
        top: 240px;
        z-index: -2;
        background-color: #252525!important;
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
        -webkit-transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;
    }

    .navbar-primary #bouton-collapse {
        width: 20px;
        height: 70px;
        padding: 0 2px;
        position: fixed;
        right: 420px;
        top: 240px;
        z-index: 2;
        background-color: #252525;
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;

    }

    .navbar-primary #arrowIconComment {
        color: var(--white);
        position: absolute;
        left: 3px;
        top: 22px;
        -webkit-transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;
    }
}

.left-align {
    float : left;
}

.right-align {
    float : right;
    padding-right: -10%;
}

.commentaire-card {
    border-radius : 15px;
    background-color: red;
}



.commentaires-form p{
    color: var(--main-black);
    font-size: 1.5em;
    font-family: 'Lexend', sans-serif;
}


.commentaire_texte{
    min-height: 120px;
}
/*Fin collapse commentaires*/



/* Début media manager */
.images_add{
    border-radius: 5px;
    width: 100px;
    height: 100px;
    object-fit: cover;
    aspect-ratio: 1/1;
    margin: 0.75rem;
}

.images_scroll_horizontal{
    overflow-y:scroll;
    height:65dvh;
    display: flex;
    justify-content: center;
}


/* BS */
.m-4 {
    margin: 1rem;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.inputfile + label {
    font-size: 1.25em;
    font-weight: 700;
    color: #555;
    background-color: #eee;
    display: inline-block;
    padding: 7px;
    border-radius: 5px;

}

.inputfile:focus + label,
.inputfile + label:hover {
    background-color: grey;
    color: white;
}

.inputfile + label {
    cursor: pointer; /* "hand" cursor */
}


.images_uploaded:hover{
    cursor: pointer;
    transition: box-shadow 0.3s;
    border-radius: 10px;
    -webkit-box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
}

/*Fin media manager*/


.list-users-project{
    list-style-type: none;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}



/*Graphique fenetre*/
#windowa .dn-menu {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1000;
    /*display: none;*/
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

.dn-menu.show {
    display: block;
}

.dn-item {
    list-style: none;
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dn-item:hover, .dn-item:focus {
    color: #1e2125;
    text-decoration: none;
    background-color: #f8f9fa;
}

.bg-danger{
    background-color: var(--main-red)!important;
    color: white;
    transition: background-color .3s;
}

.bg-danger:hover{
    background-color: var(--second-red)!important;
     color: white!important;
}

/*Page formulaire de création*/

.create-blade{
    display: flex;
    flex-direction: column  ;
    max-width: 1620px;
    margin: 0 auto;
    padding-left: clamp(1rem, 5vw, 3rem);
    padding-right: clamp(1rem, 5vw, 3rem);
}


.create-blade ul{
    font-family: 'Lexend', sans-serif;
}

.create-blade h2{
    font-size: 2em;
    font-weight: bold;
    margin: 8px 0 15px 0;
}

.create-blade span{
    color: var(--main-blue);
}

.create-form-container{
    display: flex;
    max-width: 1620px;
    justify-content: center;
    align-items: center;
}

.create-form-left{
    width: 650px;
    max-width: 650px;
    font-family: 'Lexend', sans-serif;
    display: flex;
    flex-direction: column;
    align-self: start;
    gap: 20px;
    color: var(--main-black);
    padding-bottom:30px ;
}

.create-form-left form{
    background-color: var(--white);
    padding: 20px 35px;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 1em;
}

.create-form-left .form-container input{
    border: 1.5px solid var(--main-blue);
}
.create-form-left .form-container textarea{
    border: 1.5px solid var(--main-blue);
}

.create-textarea{
    height: 34.17px;
}

.create-form-left .form-container select{
    border: 1.5px solid var(--main-blue);
}

.form-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#proj-create-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#proj-create-row .div1 input{
    width: 316px;
}

@media screen and (max-width: 700px) {
    #proj-create-row {
        flex-direction: column;
    }

    #proj-create-row .div1 input{
        width: 100%;
    }

}

.create-select{
    min-height: 110px;
}

.container-create-btn{
    display: flex;

}

.container-create-btn{
    display: flex;
}

.btn-save{
    transition: all .3s;
}

.btn-save:hover{
    background-color: var(--second-blue);
    color: var(--main-black);
}

.container-create-actor a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--white);
    transition: all .3s;
}

.container-create-actor:hover a{
    background-color: var(--second-blue);
    color: var(--main-black);
}

.main-btn{
    background-color: var(--main-blue);
    font-family: 'Lexend', sans-serif;
    height: 45px;
    width: fit-content;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    font-weight: bold;
    border: none;
    color: var(--white) ;
    border-radius: 13px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    padding: 6px 12px;
    transition: all .3s;
}

.main-btn:hover{
    background-color: var(--second-blue);
    color: var(--main-black);
}

.create-form-right{
    flex: 1;
    display: flex;
    justify-content: center;
    align-self: center;
}

.create-form-right img{
    width: 30vw;
    max-width: 590px;
}


@media screen and ( max-height: 756px){

._create-project{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    column-gap: 35px;
    height: fit-content;
    grid-template-rows: 70px 70px 1fr;
}


.div3 {
    grid-column: span 2 / span 2;
}

.div4 {
    grid-row-start: 3;
}

.div5 {
    grid-row-start: 3;
}

}

@media screen and (max-width:356px) {
    .create-form-left form{
        font-size: 0.75em;
    }
}

@media screen and (max-width:520px) {
    .create-blade h2{
        font-size: 1em;
        margin: 0;
    }



    .div3 {
        grid-column: span 2 / span 2;
    }

    .div4 {
        grid-column: span 2 / span 2;
        grid-row-start: 3;
    }

    .div5 {
        grid-column: span 2 / span 2;
        grid-row-start: 4;
    }

    .create-form-left form{
        padding: 20px 15px;
    }
}



/*CSS pour le formulaire de création pour les storyboard - certaines
    classes sont identiques au formulaire de création
*/

._storyboard-form{

}


@media screen and (max-height: 845px) {
    ._storyboard-form{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 10px;
    }


}


/*CSS pour le formulaire des séquences pour les séquence - certaines classes sont
    identiques au formulaire de création*/

.div6-seq{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.div6-el1 textarea, .div6-el2 textarea{
    min-height: 100px;
}
.div3-seq {
        grid-column: span 2 / span 2;
    }
@media screen and (max-height:755px) {
    ._sequence-form{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    grid-template-rows: 70px 90px 140px;
}

.div3-seq{
    grid-column: span 2 / span 2;
}



.div6-seq{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    height: 100px;
    gap: 8px;
}

.div6-seq textarea{
    height: 80px;
}

.div6-el1{
    width: 50%;
    flex-wrap: wrap;
}

.div6-el2{
    width: 50%;
    flex-wrap: wrap;
}

.div6-seq{
    margin-top: 15px;
}
}
.div5-seq{
    grid-column: span 2 / span 2;
}
@media screen and (max-width:674px) {
     .create-form-left form{
        font-size: 0.75em;
    }
    ._sequence-form{
        grid-template-rows: 70px 90px 140px 100px;
    }
        .div6-seq{
        display: flex;
        flex-direction: column;
    }

    .div6-el1, .div6-el2{
        width: 100%
    }

}


/*formulaire pour les acteurs */
._form-actors{
    gap: 10px;
}

@media screen and (max-height:755px) {
    ._form-actors{
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(4, 1fr);
                gap: 8px;

        }
}

@media screen and (max-width:425px) {
    ._form-actors{
        display: flex;
        flex-direction: column;
    }
}




/*cache la cignone du formulaire*/
@media screen and (max-width: 1260px) {
    .create-form-right{
        display: none;
    }
}
/*page acteur*/

.actor-view h2{
    font-size: 2em;
    font-weight: bold;
    margin: 48px 0px 72px;
}
.container-create-actor{
    width: max-content;
}
.container-actors{
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 10px;
    justify-content: flex-start;
    align-content: flex-start;
    width: fit-content;
}

.container-actors a{
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    padding: 10px 20px;
    text-align: center;
    min-width: min-content;
    transition: all .3s;
    color: var(--main-black);
}

.container-actors a:hover{
    background-color: var(--second-blue);
}

.container-edit-actor {
    width: max-content;
}
.container-edit-actor a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--white);
    transition: all .3s;
    width: 210px;
}

.container-edit-actor:hover a{
    background-color: var(--second-blue);
    color: var(--main-black);
}
.actor-table{
    margin-top: 50px;
}

.table-striped>tbody>tr:nth-of-type(odd)>*{
    --bs-table-accent-bg: var(--second-blue);
}


/*Page single storyboard*/

.statut-storyboard-blue{
    font-family: 'Lexend', sans-serif;
    font-weight: bold;
    font-size: 2em;
    margin-top: 10px;
}

/*page séquence*/

.list-sequences{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 150px;
}


.projet-view-seq{
    max-width: 1420px;
    margin: 0 auto;
}

.projet-view-seq .projet-view-container{

}

@media screen and (max-width: 1280px) {
    .projet-view-seq .projet-view-container{
        margin-right: 205px
    }
}

.container-seq{
    margin: 0 0 0 15px;
}

.container-btn-seq{
    display: flex;
    gap: 20px;
}

.modal-header h1{
    font-family: 'Lexend', sans-serif;
 }

 #commentaire_texte_r{
     margin-top: 10px;
 }

.field-commentaire-texte{
    font-family: 'Lexend';
    color: var(--main-black);
}

.field-commentaire-texte textarea{
    height: 100px;
    font-size: 0.875em;
}

.container-commentaires{
    display: flex;
    flex-direction: column;
    margin: 30px 20px;
    padding-bottom: 10px;
}
.btn-comm{
    background-color: var(--white);
    width: max-content;
    gap: 5px;
    display: flex;
    width: max-content;
    align-self: flex-end;
    border-radius: 8px;
    transition: all .3s;
}
.btn-comm img{
    filter: brightness(0) saturate(100%) invert(16%) sepia(9%) saturate(330%) hue-rotate(149deg) brightness(94%) contrast(82%);
}

.btn-comm-submit {
    font-family: "Inter", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--main-black);
    margin: 0;
    border: none;
    background-color: inherit;
    width: 100%;
    display: flex;
    gap: 10px;
    border-radius: 8px;
    padding: 5px 8px;
}

.btn-add-comm{
    font-family: "Inter", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--white);
    background-color: var(--main-blue);
    margin: 0;
    padding: 10px 15px;
}

.btn-comm-submit:hover{
    color: var(--main-black);
}

.btn-comm:hover{
    background-color: var(--second-blue);
}

.btn-comm img{
   transition: all .3s;
}
.btn-comm-submit img{
    filter: brightness(0) saturate(100%) invert(16%) sepia(9%) saturate(330%) hue-rotate(149deg) brightness(94%) contrast(82%);
}

.btn-comm:hover .btn-comm-submit{
    color: var(--main-black);
}

.all-comm{

    transition: all .3s;
    font-size: 0.725em;
}

.all-comm a{
    padding: 0;
}

.all-comm a{
    color: var(--main-black);
    transition: all .3s;
}

.all-comm:hover a{
    text-decoration: underline;
}

.card-content-comm{
    border: 1.5px solid var(--second-blue);
    width: 100%;
    box-shadow: none;
    border-radius: 15px;
    color: var(--main-black);
}


.commentaires-part{
    margin-top : 50px;
    padding-bottom : 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    align-items: center;
    gap: 20px;
}

.card-comments {
    position: relative;
    width: 90%;
    height: 100%;
    transition: box-shadow 0.3s;
    border-radius: 10px;
}

.card-content-comm{
    padding: 10px;
}

.comm-content{
    display: flex;
    flex-direction: column;
}

.rep-comm{
    color: var(--main-black);
    font-style: italic;
    border: none;
    background-color: transparent;
    font-size: 0.75em;
    padding: 0;
}

.rep-comm:hover{
    text-decoration: underline;
}

.rep-comm u{
    text-decoration: none;
}

.container-btn-rep{
    display: flex;
    flex-direction: column;
    align-items: end;
}

.container-btn-rep small{
    font-size: 0.625em;
}

.btn-confirm-delete:hover{
    background-color: var(--second-red);
    color: var(--white);
}

.btn-answer:hover{
    background-color: var(--second-blue);
}

/*Partie sur la page des diapos*/



/*Media queries page sequence*/

@media screen and (max-width:935px) {
    .projet-seq-container{
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .container-seq, .projet-seq-container{
        margin: 0 40px 0 15px;
    }

    .projet-seq-container{
        padding: 30px 15px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 502px) {
    .container-btn-seq{
        flex-direction: column;
        margin-bottom: 30px;
    }
    /* .add-storyboard{
        margin-bottom: 0;
    } */
}

/*css pour la page des exports des voix*/

.container-export{
    max-width: 1620px;
    margin: 0 auto;
}

.title-voice h2{
    font-size: clamp(2em, 2em, 3em);
    font-weight: bold;
    margin: 48px 0px 30px;
}

.container-btn-export{
    display: flex;
    gap: 20px;
}

.btn-export,.btn-refresh{
    border: 1.5px solid var(--main-blue);
    border-radius: 10px;
    background-color: var(--white);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--main-blue);
    text-transform: uppercase;
    font-weight: bold;
    transition: all .3s;
    width: max-content;
}

.btn-export:hover{
    color: var(--main-blue);
}

.btn-export:hover, .btn-refresh:hover{
    background-color: var(--second-blue);
}

.btn-export:disabled{
    background-color: rgb(210, 210, 210);
    cursor: not-allowed;
}

@media screen and (max-width:1680px) {
    .container-export{
        margin: 0 0;
        padding: 0 40px;
    }
}

@media screen and (max-width:1024px) {
    .title-voice h2{
        margin: 24px 0px 30px;
    }
}

.container-export-format{
    display: flex;
    justify-content: space-evenly;
}

.export-format-title{
    font-size: 1.125em;
}

/*page gestion de projet*/
.gestion-view{
    max-width: 1620px;
    margin: 0 auto;
}

.gestion-breadcrumbs{
    padding-left: 10px;
}

.gestion-title{
    font-size: clamp(1.5em, 5vw, 3em);
    margin: 40px 0;
    font-weight: bold;
    font-family: 'Lexend', sans-serif;
    padding-left: 10px;
}

.container-col-gestion{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}
.gestion-left{
    width: 50%;
}

.gestion-right{
    width: 48%;
}

@media screen and (max-width:1024px) {
    .gestion-title{
        margin: 40px 0px 20px;
    }

    .container-col-gestion{
        flex-direction: column;
    }
    .gestion-left{
        width: 100%;
    }

    .gestion-right{
        width: 100%;
    }
}

/*CSS modal générer une séquence*/
.modal-generate{
    font-family: 'Inter', sans-serif;
}
.modal-header h2{
    font-size: 1.5em!important;
    font-weight: 500;
}
.modal-header legend{
    font-weight: 500!important;
}

#objectif-texte, .generate-textearea{
    min-height: 80px;
}

/*CSS pour les questions*/
.container-question{
    max-width: 1620px;
    margin: 0 auto;
    display: flex;
    padding: 0 20px;
    padding-bottom: 150px;
    gap: 40px;
    position: relative;
}

.question-title{
    font-size: clamp(1.5em, 2em, 3em);
    font-weight: bold;
    font-family: 'Lexend', sans-serif;
    max-width: 1620px;
    margin: 0 auto;
    padding:  20px 20px 20px;
}

.question-title span{
    color: var(--main-blue);
}

.container-question form label{
    font-size: 1.5em;
}

/*Question instructions*/
.guide {
    border: 2px solid var(--main-blue);
    border-radius: 30px;
    background-color: var(--white);
    padding: 20px;
    font-family: 'Inter', sans-serif;
    color: #333;
    width: 55%;
    height: fit-content;
    flex: 1;
  }

  .guide-section {
    margin-bottom: 20px;
  }

.guide h2{
    font-size: 1.7em;
    line-height: normal;
  }

@media screen and (max-width:1100px){
    .guide h2{
        font-size: 1.5em;
      }
}
@media screen and (max-width:769px){
    .guide h2{
        font-size: 1.25em;
      }
}
@media screen and (max-width:767px){
    .guide {
        display: none;
      }

      .container-question{
        width: 100%;
      }

      .form-question{
        width: 100%;
        flex: 1;
      }

      .question-title{
        padding: 20px 20px;
        line-height: normal;
      }
}

.guide-section h3 {
    color: var(--main-blue);
    margin-bottom: 10px;
    font-family: 'Lexend', sans-serif;
    font-size: 1.25em;
}

.guide-section ul {
    padding-left: 20px;
}

.guide-section li {
    margin-bottom: 8px;
}

.true {
    color: #4A90E2;
    font-weight: bold;
}

.false {
    color: #D0021B;
    font-weight: bold;
}

.guide-box {
    background-color: #E8F0FE;
    padding: 15px;
    border-radius: 8px;
}

.guide-section h3,.guide-section p{
    margin: 0;
}

.form-question{
    font-family: 'Lexend', sans-serif;
    display: flex;
    gap: 20px;
    color: var(--main-black);
    position: relative;
    width: 45%;
}

.form-question form{
    background-color: var(--white);
    padding: 30px 35px;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    font-size: 1em;
    flex: 1;
    height: max-content;
    position: sticky;
    top: 166px;
    left: 0;
}

.form-question form label{
    font-size: 1em;
    margin-bottom: 7px;
}

.form-question form h3{
    font-size: 1.25em;
    margin: 0;
}

.form-question input{
    border: 1.5px solid var(--main-blue);
}

.form-question  textarea{
    border: 1.5px solid var(--main-blue);
}

.form-question select{
    border: 1.5px solid var(--main-blue);
}

.form-question form button{
    display: flex;
    justify-content: end;
}

.container-qcm-reponse{
    display: flex;
    height: max-content;
    width: 100%;
    align-items: center;
    height: 100%;
    margin-bottom: 10px;
}

.qcm-reponse-left{
    width: 70%;

}

.qcm-reponse-left textarea{
    height: 50px;
    margin-bottom: 0;
}


.qcm-reponse-right{
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.qcm-bonne-reponse{
    display: flex;
    flex-direction: column;
}

.qcm-buttons{
    display: flex;
    gap: 20px;
}

.qcm-minus{
    display: flex;
    gap: 5px;
    align-items: center;
}

.qcm-minus img{
    filter: brightness(0) saturate(100%) invert(95%) sepia(5%) saturate(19%) hue-rotate(229deg) brightness(106%) contrast(104%);
}

.question-save{
    display: flex;
    align-items: center;
    gap: 5px;
}

.question-save img{
    transition: all .3s;
}

.question-save:hover img{
    filter: brightness(0) saturate(100%) invert(18%) sepia(10%) saturate(261%) hue-rotate(149deg) brightness(95%) contrast(87%);
}

.message-header, .message-body ul li{
    color: var(--second-red);
}

@media screen and (max-width:1230px) {
    .container-qcm-reponse{

    }
    .qcm-buttons{
        flex-direction: column;
        justify-content: start;
        align-items: start;
        align-self: start;
    }

    .form-question form{
        padding: 30px 15px;
    }

    .qcm-reponse-left{
        width: 100%;
    }

    .qcm-reponse-right{
        width: 100%;
        flex: 1;
        align-items: center;
        gap: 20px;
        justify-content: start;
        flex-direction: row;
        margin-top: 5px;
    }
    .qcm-reponse-right label{
        margin-bottom: 0!important;
    }

    .container-qcm-reponse{
        flex-direction: column;
    }

    .qcm-bonne-reponse{
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
}



/*Id 7 drag and drop*/

._drag-drop{
    gap: 50px;
}

._depot{
    align-items: start;
}

.saisie-txt{
    flex-direction: column;
    align-items: start;
}

._drag{
    width: 50%;
    padding: 0!important;
}
._drag textarea, ._depot textarea{
    padding: .375rem .75rem;
    height: 50px;
}

.sep-drag{
    display: none;
}

@media screen and (max-width:1230px) {
    ._drag-drop{
        gap: 0;
    }
    ._drag {
        width: 100%;
    }
    ._depot{
        flex-direction: column;
        gap: 0;
        align-items: start;
    }

    .sep-drag{
        display: block;
        height: 1px;
        width: 100%;
        background-color: var(--main-blue);
        margin-top: 10px;
    }
}


.saisie-txt input{
        width: 100%;
        padding: .375rem .75rem;
        border-radius: .375rem;
        outline: none;
}
.saisie-txt input[type=text]:focus {
    outline: 3.5px solid #bddbff;
  }

.breadcrumbs-edit-question{
    max-width: 1620px;
    margin: 0 auto;
    padding: 20px 20px 0px;
}

.create-blade .breadcrumbs{
    margin-left: 0;
}

.left-secproj{
    width: 60%;
}
.text-secondary{
    text-align: center;
    margin: 0 auto  ;
    color: var(--main-red);
}
.text-secondary small i{

    color: var(--main-red);
}

@media screen and (max-width: 935px) {
    .projet-view-container{
        flex-direction: column;
        padding: 30px 15px;
        position: relative;
    }
    .projet-view-left{
        width: 100%;
    }
    .left-secproj{
        width: 100%;
    }

    .accordion{
       width: 100%;
    }

}


/*CSS page accessibilité*/

.acces-view{
    max-width: 1620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    font-family: 'Lexend', sans-serif;
}

.container-access{
    display: flex;
    margin: 0 15px;
    gap: 15px;
}

.access-left{
    width: 40%;
}

.access-left h1{
    font-family: 'Lexend', sans-serif;
}

.access-left p span{
    font-weight: bold;
}

.access-right{
    width: 60%;
}

.access-left-content{
    width: 100%;

}

.access-left-ex p{
    margin: 0;
}

.access-left-content li{
    list-style: inside;
    padding: 0 0 0 15px;
}

.access-left-content img{
    width: 100%;
    margin: 20px 0;
}

.access-right {

  padding: 20px;
  border-radius: 12px;
  border: 2px solid #ccc;
  max-width: 700px;
  margin: auto;
  font-family: sans-serif;
}

.access-right .table-access {
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-family: 'Lexend', sans-serif;
}

.access-right .table-bordered td {
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  width: 100%;
  display: flex;
justify-content: space-between;
}

.access-right .table-bordered tr:nth-child(odd) {
  background-color: #ffffff;
  color: var(--main-black);
  font-weight: normal;
  border-radius: 10px;
}

.access-right .table-bordered tr:nth-child(even) {
  background-color: #5b50d6;
  color: white;
  font-weight: normal;
   border-radius: 10px;
}

.table-access tbody{
    display: flex;
    flex-direction: column;
    gap: 6px;
}


.container-profil, .container-reset-pwd{
    max-width: 1620px;
    margin: 0px auto;
    font-family: 'Lexend', sans-serif;
}

@media screen and (max-width:1680px) {
    .container-profil, .container-reset-pwd{
    display: flex;
    flex-direction: column;
    margin: 0px 25px;
    }
}

@media screen and (max-width:768px) {
    .container-profil{
    display: flex;
    flex-direction: column;
    margin: 0px 20px;
    }
}

.container-profil h1{
    font-family: 'Lexend', sans-serif;
}

.main-btn-reset{
    background-color: var(--main-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    transition: all .3s;
}

.main-btn-reset:hover{
    background-color: var(--second-blue);
    color: var(--main-black);
}


.container-reset-pwd .create-form-container .create-form-left{
    gap: 0;
    align-self: center;
}

.container-reset-pwd .create-form-container .create-form-left h1{
    margin: 8px 0 15px 0;
}


.container-form-generate{
    display: flex;
    gap: 10px;
    width: 100%;
}

.container-form-generate .mb-3{
    width: 50%;
}

.wrapper_bloom .cell{
    border: 1px solid var(--main-black);
    border-radius: 4px;
    margin: 3px;
    display: flex;
    align-items: center;
    transition: background-color .3s;
}

.wrapper_bloom .cell:hover{
    background-color: var(--second-blue);
}

.rs-flex {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: stretch;
    align-items: stretch !important;
    flex-wrap: wrap;
}

.form-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column;
}
.form-tools > * {
   width: 100%;
}

.form-tools .btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    background-color: var(--main-blue);
    color: white;
    transition: all .3s;
    width: fit-content;
}

.form-tools .btn:hover {
    background-color: var(--second-blue);
    color: var(--main-black);
}

/* Permet au texte d'avertissement de prendre toute la largeur sous la grille 2x3 */
.projet-view-right:has(.view-btn-sequence) .text-secondary {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}

/* Légende flottante */

.floating-legend {
    position: fixed;
    top: 110px;
    right: 20px;
    z-index: 1050;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    min-width: 250px;
}

.floating-legend-btn {
    background-color: var(--main-blue);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-family: 'Lexend', sans-serif;
    border-radius: 12px;
    transition: border-radius 0.3s ease;
}

/* Retire l'arrondi du bas quand le menu est ouvert */
.floating-legend-btn[aria-expanded="true"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Fait pivoter la flèche vers le bas quand on ouvre la légende */
.floating-legend-btn svg {
    transition: transform 0.3s ease;
}
.floating-legend-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.floating-legend-body {
    padding: 5px 10px;
    max-height: 400px;
    overflow-y: auto;
}

.floating-legend-body .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    padding: 10px;
    background: transparent;
}

/* --- COMPOSANT : BARRE D'AVANCEMENT --- */
.stork-progress-wrapper {
    padding-top: 12px;
    padding-bottom: 4px;
    width: 30%;
    gap: 6px;
    flex-shrink: 0;
}

.stork-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--main-black);
}

.stork-progress-track {
    background-color: #e3e3ff;
    border-radius: 6px;
    height: 8px;
    width: 100%;
    overflow: hidden;
}

.stork-progress-fill {
    background-color: var(--main-green);
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
