

/** SCROLLBAR **/

::-webkit-scrollbar {
    width: 4px; /* width of the entire scrollbar */
    height: 4px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--first-color-light); /* color of the tracking area */
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: var(--first-color);
    border-radius: 20px; /* roundness of the scroll thumb */
  }


body {
    background-color: #f5f5f5;
}

#wrapper {
    display: flex;
}


h1.titre{
    border-left: 5px solid var(--first-color);
    padding-left: 10px;
    margin-bottom: 30px;
    width: 100%;
    text-align: left;
}

h1.dashboardTitle{
    color: var(--first-color);
    width: 100%;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.highlight{
    color: var(--first-color);
}

.greenText {
    color: rgba(0,200,0,1);
}
.redText {
    color: #dc011f;
}

.table tr {
    transition: all 0.5s;
}

.table tbody tr:hover{
    background-color: #e9e9e9;
}

.table {
    font-size: 0.8em;
}



.userAvatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color : var(--first-color-light);
    color: white;
    font-weight: bold;
    width: 40px;
    height: 40px;
}

.userInitials {
    margin-top: 0;
    margin-bottom: 0;
}

/** Popup **/

.popup-container {
    position: fixed;
    top: 70px;
    left: 10px;
    z-index: 9999;
}

.popup {
    margin-top: 10px;
}

.popup-validate {
    position: relative;
    z-index: 999;
    width: 90%;
    padding: 20px;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;

    -webkit-animation: slide 0.5s forwards;
    -webkit-animation-delay: 0s;
    animation: slide 0.5s forwards;
    animation-delay: 0s;
}

.popup-error {
    position: relative;
    z-index: 999;
    padding: 20px;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;

    -webkit-animation: slide 0.5s forwards;
    -webkit-animation-delay: 0s;
    animation: slide 0.5s forwards;
    animation-delay: 0s;
}

@-webkit-keyframes slide {
    0% { left : -50px; }
    50% { left: 40px; }
    100% { left: 10px;}
}

@keyframes slide {
    0% { left : -50px; }
    50% { left: 40px; }
    100% { margin-left: auto; margin-right: auto;}
}


/** menu **/

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");

:root{
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #aec3b0;
    --first-color-light: #124559;
    --white-color: #F7F6FB;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
}
*,::before,::after{
    box-sizing: border-box;
}
body{
    position: relative;
    margin: var(--header-height) 0 0 0;
    padding: 0 1rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s;
}

a{
    text-decoration: none
}

.header{
    border-bottom: 2px solid #e9e9e9; 
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s;
}

.header_toggle{
    color: var(--first-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.header_img{
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.5s;
    border: 2px solid var(--first-color-light);
}

.header_img:hover{
    border: 2px solid var(--first-color);
}

.header_img img{
    width: 40px;
}

.l-navbar{
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed);
}

.nav{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    overflow-y: auto;
}

.nav_logo, .nav_link{
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 1.5rem;
}

.nav_logo{
    margin-bottom: 2rem;
}

.nav_logo-icon{
    font-size: 1.25rem;
    color: var(--white-color);
}

.nav_logo-name{
    color: var(--white-color);
    font-weight: 700;
}

.nav_link{
    position: relative;
    color: var(--first-color-light)
    ;margin-bottom: 0.8rem;
    transition: .3s;
    font-size: 0.8em;
}

.nav_link:hover{
    color: var(--white-color);
}

.nav_icon{
    font-size: 1rem;
}

.show{
    left: 0;
}

.body-pd{
    padding-left: calc(var(--nav-width) + 1rem);
}

.active{
    color: var(--white-color);
}

.active::before{
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: 32px;
    background-color: var(--white-color);
}

.height-100{
    height:100vh;
}

/** A mettre dans le fichier css Mobile **/
@media screen and (min-width: 768px){
    body{
        margin: calc(var(--header-height) + 1rem) 0 0 0;
        padding-left: calc(var(--nav-width) + 2rem);
    }
    
    .header{
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem);
    }
    
    .header_img{
        width: 40px;
        height: 40px;
    }
    
        
    .header_img img{
        width: 45px;
    }
    
    .l-navbar{
        left: 0;
        padding: 1rem 1rem 0 0;
    }
    
    .show{
        width: calc(var(--nav-width) + 156px);
    }
    
    .body-pd{
        padding-left: calc(var(--nav-width) + 188px);
    }
}


/** Connexion **/

h1.titre-connexion {
    margin: 10px auto;
    text-align: center;
}

.loginForm{
    width: 100%;
    background-color: #fafafa;
    border-radius: 10px;
    padding: 30px;
}

.loginButton {
    background-color: var(--first-color);
    border:1px solid var(--first-color);
}

.loginButton:hover{
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}

.mdpOublie{
    color: var(--first-color-light);
    text-decoration: underline;
    transition: all 0.5s;
    cursor: pointer;
}


.dark-bg-module {
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.5);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top:0;
    left:0;
    text-align: center;
}

.form-mdpOublie{
    width: 90%;
}

.card-header{
    background-color: var(--first-color)!important;
}

.pinBloc .legende{
    text-align: center;
    color: var(--first-color-light);
    font-size: 0.9em;
}

.fullScreenPin {
    display: none;
}

.saveStatut {
    text-align: center;
    font-size: 0.8em;
    padding: 5px;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    width: 150px;
    margin-bottom: 5px;
}

.pinTabs {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-left: 15px;
    margin-top: 20px;
    max-width: 100%;
    position: relative;
}

.pinTabs .tab {
    padding: 4px;
    border-top: 1px solid #e9e9e9;
    border-left: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-right: 5px;
    transition: all 0.5s;
    cursor: pointer;
    min-width: 145px;
    background-color: white;
}

.pinTabs .tab:hover{
    background-color: var(--first-color);
    color: white;
}

.pinTabs .activePinTab{
    background-color: var(--first-color);
    color: white;
}

.tabNavigation{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    position: absolute;
    right: 10px;
    top: 5px;
}

.tabNavigation i{
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.5s;
}

.tabNavigation i:hover{
    color: var(--first-color);
}

.tabNavigation .disabled{
    color: #808285;
    cursor: not-allowed;
    padding: 0px;
}

.tabNavigation .disabled:hover{
    color: #808285;
}


/*** Content **/

#wrapper #content-wrapper {
    background-color: #f8f9fc;
    width: 100%;
    overflow-x: hidden;
}

#content-wrapper {
    padding-top: 30px;
    width: 100%;
}


/** DASHBOARD **/

.dashboard {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 50px;
}


a.item-dashboard {
    background-color: var(--first-color);
    color: white;
    width: 100%;
    border-radius: 20px;
    height: 400px;
    padding: 30px;
    font-family: Arial;
    font-weight:900;
    text-transform: uppercase;
    font-size: 4em;
    line-height: 0.9em;
    border: 2px solid var(--first-color);
    transition: all 0.5s;
    display: block;
    margin: 0;
    margin-top: 10px;
    text-align: left;
}

a.item-dashboard:hover{
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}

.wikiBloc::after {
    content: "\ebf8";
    font-family: boxicons!important;
    font-weight: 400;
    font-size: 2em;
    line-height: 2em;
    text-align: right;
}

.pagesBloc::after {
    content: "\edbd";
    font-family: boxicons!important;
    font-weight: 400;
    font-size: 2em;
    line-height: 2em;
    text-align: right;
}

.catBloc::after {
    content: "\edcb";
    font-family: boxicons!important;
    font-weight: 400;
    font-size: 2em;
    line-height: 2em;
    text-align: right;
}

.ctaContainer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ctaDashboard {
    background-color: var(--first-color);
    color: white;
    font-weight: bold;
    font-size: 1.0em;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: all 0.5s;
    cursor: pointer;
    display: block;
    border-radius: 10px;
    border: 1px solid var(--first-color);
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    width: 25%;
}

.ctaDashboard:hover{
    color: var(--first-color);
    background-color: rgba(0,0,0,0);
    
}




/**** PAGES.PHP ****/

.pages {
    width: 90%;
    margin: 0 auto;
}

.container-editor {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0 auto;
    flex-wrap: wrap;
    flex-direction: column;
}


.optn-sidebar {
    width: 100%;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #e9e9e9;
    font-family: var(--body-font);
    color: white;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 40px;
}

.optn-sidebar h4 {
    font-size: 0.7em;
    color: black;
    border-bottom: 1px solid #e9e9e9;
}

.titre-optn-sidebar {
    font-family: var(--body-font);
    font-size: 1em;
    border-bottom: 1px solid #e9e9e9;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
    padding-bottom: 10px;
    color: white;
    background-color: var(--first-color);
    padding: 10px;
}

.content-optn-sidebar {
    padding: 10px;
}

.categories {
    border: 1px solid #e9e9e9;
    width: 100%;
    margin: 0 auto;
    height: 150px;
    overflow-y: scroll;
    color: black;
}

.categories ul {
    padding-left: 0;
}

.categories ul li {
    list-style-type: none;
    padding: 3px;
    border-bottom: 1px solid #f5f5f5;
    color: #343a40;
    transition: all 0.5s;
}

.categories ul li:hover{
    background-color: white;
    color: var(--first-color-light);
}

.categories ul li label {
    cursor: pointer;
}

.treeInfos{
    font-size: 0.6em;
    color: var(--first-color-light);
    padding-left: 5px;
}

.selected-categories {
    border: 1px solid #e9e9e9;
    width: 100%;
    margin: 10px auto;
    height: auto;
    overflow-y: scroll;
    color: black;
    background-color: rgba(0,200,0,0.2);
}

.selected-categories ul {
    padding-left: 0;
}

.selected-categories ul li {
    list-style-type: none;
    padding: 3px;
    border-bottom: 1px solid #f5f5f5;
    color: #343a40;
    transition: all 0.5s;
}

.selected-categories ul li:hover{
    background-color: white;
    color: var(--first-color-light);
}

.categselected-categoriesories ul li label {
    cursor: pointer;
}




.add-categorie{
    background-color: var(--first-color);
    border: 1px solid var(--first-color);
    color: white;
    border-radius: 5px;
    width: 100%;
    padding: 10px;
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: all 0.5s;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
}

.add-categorie:hover {
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}

.forbidden{
    background-color: grey;
    border: 1px solid darkgrey;
    color: white;
    border-radius: 5px;
    width: 100%;
    padding: 10px;
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: all 0.5s;
    font-weight: 600;
    text-align: center;
    cursor: forbidden;
}

.container-bouton-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bouton {
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    padding: 5px;
    width: 49%;
    transition: all 0.5s;
    margin-left: 5px;
    margin-right: 5px;
}

.bouton:hover {
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}

hr {
    color: var(--first-color);
    width: 40%;
    margin: 20px auto;
}


.blocNotifCreation p {
    color: black;
    text-align: center;
    text-decoration: underline;
}

.blocNotifCreation .checkbox-item{
    text-align: center;
    display: flex;
    justify-content: center;
}

.blocNotifCreation .blocSelectEnvoi {
    display: none;
    margin-top: 15px;
    padding: 5px;
}

.blocNotifCreation .listeEnvoi{
    display: none;
}


.envoi {
    border: 1px solid #e9e9e9;
    width: 100%;
    margin: 0 auto;
    height: 150px;
    overflow-y: scroll;
    color: black;
}

.envoi ul {
    padding-left: 0;
}

.envoi ul li {
    list-style-type: none;
    padding: 3px;
    border-bottom: 1px solid #f5f5f5;
    color: #343a40;
    transition: all 0.5s;
}

.envoi ul li label {
    cursor: pointer;
}

.usersList li{
    cursor: pointer;
}


.onglets{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid #e9e9e9;
    padding: 0px;
}

.onglets .onglet{
    border-left: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
    cursor:pointer;
    padding: 5px;
    font-size: 0.8em;
    transition: all 0.5s;
}

.onglets .onglet:hover{
    background-color: var(--first-color-light);
    color: white;
}

.ongletActif {
    background-color: var(--first-color-light);
    color: white;
}

.usersList li {
    font-size: 0.9em;
}

.rolesList li {
    font-size: 0.9em;
}

.rolesList .toSend {
    background-color: var(--first-color);
    color: var(--first-color-light);
}

.usersList .toSend {
    background-color: var(--first-color);
    color: var(--first-color-light);
}




.prev {
    width: 49%;
    background-color: var(--first-color-light);
    border: 1px solid var(--first-color-light);
    color: white;
    font-size: 0.8em;
}

.sauv {
    background-color: var(--first-color);
    border: 1px solid var(--first-color);
    color: white;
    font-size: 0.8em;
    border-radius: 5px;
}

.sauv-verrouille {
    background-color: #e9e9e9;
    color: #f5f5f5;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    font-size: 0.8em;
    cursor: not-allowed;
}

.cancel {
    background-color: #dc011F;
    border: 1px solid #dc011f;
    font-size: 0.8em;
    color: white;
}

.cancel:hover {
    color: #dc011F;
}


.edit {
    background-color: var(--first-color);
    border: 1px solid var(--first-color);
    color: white;
    font-size: 0.8em;
    border-radius: 5px;
}

.edit-verrouille {
    background-color: #e9e9e9;
    color: #f5f5f5;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    font-size: 0.8em;
    cursor: not-allowed;
}


.content {
    width: 100%;

}

.content textarea {
    height: 85vh;
    border: 1px solid var(--first-color-light);
}

/** Modification outils tinyMCE ***/

.tox .tox-toolbar--scrolling {
    flex-wrap: wrap!important;
}

.pages input[type="text"]{
  padding: 5px; 
  height: 40px; 
  width: 100%;
  border-radius: 5px;
  border: 2px solid var(--first-color-light);
  margin-bottom: 10px;
  font-family: var(--body-font);
}


input[type="text"]::placeholder{
    color: rgba(0,0,0,0.2);
}

input[type="text"]:hover{
    border: 1px solid var(--first-color-light);
}

input[type="text"]:focus-visible{
    border: 1px solid var(--first-color-light);
}

/** FORMULAIRE AJOUT **/

.fond-formulaire{
    display: none;
    background-color: rgba(0,0,0,0.5);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.formulaire-categorie {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 95%;
    max-height: 80vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

.formulaire-categorie .dropdown{
    width: 100%;
}

.formulaire-categorie .dropbtn{
    width: 100%;
}

.formulaire-categorie .dropdown-content{
    width: 100%;
}

.formulaire-categorie #searchCatInput{
    width: 100%;
}


.formulaire-categorie .selected-cat{
    width: 100%;
    background-color: rgba(0,0,0,0);
    color: var(--first-color-light);
    text-align: center;
    font-size: 1.2e;
    border: 1px solid var(--first-color-light);
    font-weight: bold;
}
.formulaire-categorie .selected-cat:before{
    content: '';
}

.formulaire-categorie table {
    border: 1px solid #e9e9e9;
}

.formulaire-categorie th {
    border-left: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
    text-align: center;
    padding: 10px;
}

.formulaire-categorie td {
    border-left: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
    text-align: center;
    padding: 10px;
}

.formulaire-categorie td.role{
    text-align: left;
}

.formulaire-categorie .nom-categorie {
    margin-bottom: 30px;
}

.formulaire-categorie .cat-parent {
    margin-bottom: 30px;
}

.formulaire-categorie .titre-droits {
    font-size: 1.2em;
    margin-bottom: 10px;
    padding-left: 5px;
    border-left: 5px solid var(--first-color);
}

.add-categorie-verrouille {
    background-color: #e9e9e9;
    color: #f5f5f5;
    background-color: var(--first-color-light);
    border: 1px solid var(--first-color-light);
    color: white;
    border-radius: 5px;
    width: 100%;
    padding: 10px;
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: all 0.5s;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    cursor: not-allowed;
}

/** POST.PHP **/

.post{
    width: 100%;
    margin: 30px auto 100px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.post hr{
    width: 100%;
    margin: 30px 0;
}

.post-titre {
    width: 100%;
}

.captionBloc {
    font-size: 0.8em;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.history{
    background-color: var(--first-color);
    color: white;
    border: 1px solid var(--first-color);
    cursor: pointer;
    transition: all 0.5s;
    font-size: 1.2em;
    border-radius: 5px;
    padding: 5px;
    margin-left: 5px;
}

.history:hover {
    color: var(--first-color);
    background-color: rgba(0,0,0,0);
}

.container-sidebar {
    width: 90%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    border-top: 1px solid var(--first-color-light);
    padding-top: 20px;
}

.container-sidebar .table {
    font-size: 1em;
}

.tree-sidebar{
    width: 100%;
    border-top: 1px solid #e9e9e9;
    background-color: white;
    border-radius: 5px;
    overflow:hidden;
    padding-bottom: 10px;
    min-width: 250px;
    border: 1px solid #e9e9e9;
}

.titre-tree-sidebar {
    font-family: var(--body-font);
    font-size: 1em;
    border-bottom: 1px solid #e9e9e9;
    text-align: center;
    font-weight: 600;
    padding-bottom: 10px;
    color: white;
    background-color: var(--first-color);
    padding: 10px;
}

.tree-sidebar .boutonCat{
    background-color: var(--first-color);
    color: white;
    padding: 5px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    z-index: 12;
}

.tree-sidebar .boutonCat:hover:before{
    padding-right: 10px;
}

.tree-sidebar .boutonCat:before{
    content: "\eb29";
    font-family: boxicons!important;
    padding-left: 5px;
    padding-right: 5px;
    color: white;
    padding-left: 10px;
    transition: all 0.2s;
    font-size: 0.8em;
}

.tree-sidebar .boutonCat:after{
    content: "\ed3b";
    font-family: boxicons!important;
    color: white;
    padding-left: 10px;
    transition: all 0.5s;
}

.tree-sidebar .boutonCat:hover:after{
    content: "\ed35";
}

.minTree {
    margin-bottom: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: -13px;
    border-radius: 5px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-top: none;
    display: none;
}

.minTree .linkCat{
    margin-bottom: 0px; 
    color: black; 
    transition: all 0.5;
}

.minTree .currentCat{
    color: var(--first-color);
    font-weight: bold;
}


.minTree .linkCat:hover{
    color: blue!important;  
}


.auth-sidebar {
    width: 100%;
    border-top: 1px solid #e9e9e9;
    background-color: white;
    border-radius: 5px;
    overflow:hidden;
    padding-bottom: 10px;
    min-width: 250px;
    border: 1px solid #e9e9e9;
    margin-top: 20px;
}

.auth-sidebar hr{
    color: var(--first-color);
    text-align: center;
    margin: 30px auto;
    
}

.auths {
    padding: 10px;
}

.auths .caption {
    color: var(--first-color);
    background-color: #f5f5f5;
    padding: 5px;
    border: 1px solid #e9e9e9
}

.auths .authLink {
    text-align: center;
    display: block;
    margin-bottom: 10px;
    text-decoration: underline;
}

.auths .authLink i {
    text-decoration: underline;
}


.post-container {
    width: 100%;
}

.toDoList{
    list-style-type: none;
}

.toDoList input[type="checkbox"]{
 margin-right: 5px;
}

.toDoLigne {
    font-size: 1.2em;
}

.post-infos {
    width: 100%;
}

.post-date {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.date-mobile {
    display: block;
}

.post .bloc-boutons-edition{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.post .bouton-edition{
    background-color: var(--first-color);
    color: white;
    padding: 10px 15px;
    border: 1px solid var(--first-color);
    border-radius: 5px;
    font-size: 1em;
    margin-left: 5px;
    margin-right: 5px;
    transition: all 0.5s;
    cursor: pointer;
}

.post .bouton-edition:hover{
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}


.post .bouton-suppression, .bouton-suppression-definitive{
    background-color: #dc011f;
    color: white;
    padding: 10px 15px;
    border: 1px solid #dc011f;
    border-radius: 5px;
    font-size: 1em;
    margin-left: 5px;
    margin-right: 5px;
    transition: all 0.5s;
    cursor:pointer;
}

.post .bouton-suppression:hover, .bouton-suppression-definitive:hover{
    background-color: rgba(0,0,0,0);
    color: #dc011f;
}


.post .bouton-retour{
    background-color: var(--first-color-light);
    color: white;
    padding: 10px 15px;
    border: 1px solid var(--first-color-light);
    border-radius: 5px;
    font-size: 1em;
    margin-left: 5px;
    margin-right: 5px;
    transition: all 0.5s;
    cursor:pointer;
}

.post .bouton-retour:hover{
    background-color: rgba(0,0,0,0);
    color: var(--first-color-light);
}

.post .bouton-partage {
    background-color: var(--first-color-light);
    color: white;
    padding: 10px 15px;
    border: 1px solid var(--first-color-light);
    border-radius: 5px;
    font-size: 1em;
    margin-left: 5px;
    margin-right: 5px;
    transition: all 0.5s;
    cursor:pointer;
}

.post .bouton-partage:hover{
    background-color: rgba(0,0,0,0);
    color: var(--first-color-light);
}


.bookmarkIcon{
    width: 20px;
    height: 20px;
    display: inline;
    color: #e6a900;
    cursor: pointer;
    transition: all 0.5s;
}

.bookmarkIcon::after{
    font-family: boxicons!important;
    content: '\e9eb';
}

.bookmarkIcon:hover::after{
    font-family: boxicons!important;
    content: '\ece0';
}

.bookmarkChecked::after{
    font-family: boxicons!important;
    content: '\ece0'!important;
}

.bookmarkChecked:hover::after{
    font-family: boxicons!important;
    content: '\e9eb'!important;
}


.bookmarkIcon:hover{
    color: #e6a900;
} 

.pinIcon{
    width: 20px;
    height: 20px;
    display: inline;
    color: #e6a900;
    cursor: pointer;
    transition: all 0.5s;
    color: green;
    font-size: 1em;
}

.pinIcon::after{
    font-family: boxicons!important;
    content: "\ebbb";
}

.pinIcon:hover::after{
    font-family: boxicons!important;
    content: '\ee70';
}

.pinChecked::after{
    font-family: boxicons!important;
    content: '\ee70'!important;
}

.pinChecked:hover::after{
    font-family: boxicons!important;
    content: '\ebbb'!important;
}

.container-cat-tree {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 10px;
}


/* toggle-pill-color */

.container-checkbox{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.checkbox-item{
    margin-left: 10px;
}

.label-item{
    margin-right: 10px;
}

.toggle-pill-color input[type="checkbox"] {
  display: none;
}
.toggle-pill-color input[type="checkbox"] + label {
  display: block;
  position: relative;
  width: 3em;
  height: 1.6em;

  border-radius: 1em;
  background: #e84d4d;
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  -webkit-transition: background 0.1s ease-in-out;
  transition: background 0.1s ease-in-out;
}
.toggle-pill-color input[type="checkbox"] + label:before {
  content: "";
  display: block;
  width: 1.2em;
  height: 1.2em;
  border-radius: 1em;
  background: #fff;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 0.2em;
  top: 0.2em;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.toggle-pill-color input[type="checkbox"]:checked + label {
  background: #47cf73;
}
.toggle-pill-color input[type="checkbox"]:checked + label:before {
  box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
  left: 1.6em;
}
/* toggle-pill-color end */


/** CSS Historique modifs */

.popup-background {
    position: fixed; 
    z-index: 999; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    background-color: rgba(0,0,0,0.5); 
    margin: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.table-background{
    background-color: white; 
    border-radius: 10px; 
    width: 95%;
    height: 400px; 
    overflow: scroll-y; 
    padding: 20px;
}

.table-background h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
    padding-left: 5px;
    border-left: 5px solid var(--first-color);
}

/** WIKI **/

.wiki {
    width: 100%;
    margin: 30px auto;
    
}

.container-wiki {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
}


.wiki-content{
    text-align: center;
    width: 70%;
    margin-top: -30px;
}

.search {
    text-align: center;
}

input[type="text"].searchbar {
    width: 95%;
    margin: 10px auto;
    background-color: #ffffff;
    border: 1px solid #E9E9E9;
    padding: 10px;
    font-size: 1.1em;
    border-radius: 10px;
}

.trashLink {
    position: fixed;
    top: 70px;
    right: 0;
    color: white;
    padding: 5px 10px 5px 10px ;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 20px;
    background-color: var(--first-color);
    border: 1px solid var(--first-color);
    transition: all 0.5s;
}

.trashLink:hover {
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}


/*** Dropdown width search **/

/* Dropdown Button */
.dropbtn {
    background-color: var(--first-color);
    border: 1px solid var(--first-color);
    color: white;
    border-radius: 5px;
    padding: 7px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.5s;
    margin-top: 10px;
  }
  
  /* Dropdown button on hover & focus */
  .dropbtn:hover, .dropbtn:focus {
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
  }
  
  /* The search field */
  #searchCatInput {
    box-sizing: border-box;
    background-image: url('searchicon.png');
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 14px 20px 12px;
    border: none;
    border-bottom: 1px solid #ddd;
  }
  
  /* The search field when it gets focus/clicked on */
  #searchCatInput:focus {outline: 3px solid #ddd;}
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 230px;
    border: 1px solid #ddd;
    z-index: 1;
    max-height: 400px;
    overflow-y: scroll;
    overflow-x: clip;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  
  /* Links inside the dropdown */
  .dropdown-content p {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin-bottom: 0px;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content p:hover {background-color: #f1f1f1}


  /*********/



.filterSelect {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: var(--first-color);
    color: white;
    border: 1px solid #e9e9e9;
    padding: 10px;
    font-size: 1.1em;
    border-radius: 10px;
    left: 0px;
    position: relative;
}


.container-selected-cats {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 20px;
}

.selected-cat {
    background-color: var(--first-color-light);
    color: white;
    border-radius: 5px;
    padding: 5px;
    text-align: left;
    margin-right: 10px;
    margin-top: 10px;
}

.selected-cat:before{
    content: '\ec8d';
    font-family: boxicons!important;
    color: white;
    cursor: pointer;
    padding-left: 5px;
    transition: all 0.5s;
    font-size: 1.1em;
}

.selected-cat:hover:after{
    color: rgba(200,0,0,1);
    
}

.wikiHeadLigne {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    margin-bottom:10px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 3px solid #e9e9e9;
    font-size: 0.8em;
}

.wikiHeadTitre {
    font-weight: bold;
    color: black;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
    width: 50%;
    margin-top: 10px;
    padding-bottom: 5px;
}

.wikiHeadTitre:hover {
    color: var(--first-color);
}

.wikiHeadCat {
    font-weight: bold;
    color: black;
    text-align: center;
    transition: all 0.5s;
    width: 50%;
    padding-bottom: 5px;
}


.wikiHeadCreateur {
    font-weight: bold;
    color: black;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
    width: 50%;
    border-top: 1px solid #e9e9e9;
    padding-top: 5px;
    padding-bottom: 5px;
}

.wikiHeadCreateur:hover {
    color: var(--first-color);
}


.wikiHeadDate{
    font-weight: bold;
    color: black;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
    width: 50%;
    border-top: 1px solid #e9e9e9;
    padding-top: 5px;
    padding-bottom: 5px;
}

.wikiHeadDate:hover {
    color: var(--first-color);
}


.sortFilter {
    color: var(--first-color);
}


.wikiLigne{
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    margin-bottom:10px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e9e9e9;
    flex-wrap: wrap;
}

a.wikiLigne {
    color: black;
    transition: all 0.5s;
}

a.wikiLigne:hover {
    background-color: var(--first-color);
    color: white;
}



.wikiTitre {
    width: 30%;
    font-weight: bold;
    font-size: 1.1em;
    text-align: left;
    width: 50%;
    font-size: 1em;
    padding-bottom: 5px;
}


.wikiCat {
    width: 30%;
    text-align: left;
    font-size: 0.8em;
    width: 50%;
    padding-bottom: 5px;
}

.wikiCreateur {
    width: 20%;
    text-align: left;
    width: 50%;
    font-size: 0.9em;
    border-top: 1px solid #e9e9e9;
    padding-top: 5px;
}

.wikiDate {
    width: 20%;
    width: 50%;
    font-size: 0.9em;
    border-top: 1px solid #e9e9e9;
    padding-top: 5px;
    text-align: left;
}

.viewMore {
    margin: 0 auto 40px auto;
    background-color: white;
    border-radius: 15px;
    color: var(--first-color);
    padding: 10px;
    width: 300px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s;
}

.viewMore:hover {
    background-color: var(--first-color-light);
    color: white;
}

.noMore {
    background-color: #e9e9e9;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid white;
}


/** CATEGORIES.PHP **/

.cats{
    width: 100%;
    margin: 30px auto;
    text-align: center;
}

.container-cat {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
}

.cat-sidebar {
    width: 25%;
    min-width: 150px;
    background-color: white;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
    margin: 0 auto;
    margin-bottom: 20px;
}


.viewType {
    display: flex;
    width: 80%;
    margin: 20px auto;
    justify-content: center;
}

.viewType .icon {
    text-align: center; 
    width: 50px;
}

.viewType i {
    font-size: 1.9em;
}

.viewMode {
    text-align: center;
}

.viewMode .highlight {
    color: var(--first-color-light);
}


/* toggle-pill */

.container-checkbox{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.checkbox-item{
    margin-left: 10px;
    margin-right: 10px;
}

.toggle-pill input[type="checkbox"] {
  display: none;
}
.toggle-pill input[type="checkbox"] + label {
  display: block;
  position: relative;
  width: 3em;
  height: 1.6em;

  border-radius: 1em;
  background-color: #e9e9e9;
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  -webkit-transition: background 0.1s ease-in-out;
  transition: background 0.1s ease-in-out;
}
.toggle-pill input[type="checkbox"] + label:before {
  content: "";
  display: block;
  width: 1.2em;
  height: 1.2em;
  border-radius: 1em;
  background: #fff;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 0.2em;
  top: 0.2em;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.toggle-pill input[type="checkbox"]:checked + label {
    background-color: rgba(0,200,0,0.5);
}
.toggle-pill input[type="checkbox"]:checked + label:before {
  box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
  left: 1.6em;
}
/* toggle-pill end */

.main-cat-tree {
    font-size: 0.9em;
    padding: 10px;
    margin-bottom: 0;
    transition: all 0.5s;
    cursor: pointer;
}

.main-cat-tree:hover{
    background-color: #f5f5f5;
}

.main-cat-tree::before {
    font-family: boxicons;
    content : "\ea4a";
}

.tree-folder {
    color: var(--first-color-light);
    margin-right: 2px;
    font-size: 1.2em;
}

.tree-item {
 text-align: left;
 padding: 10px;
 transition: all 0.5s;
 cursor: pointer;
}

.tree-item a {
    color: black;
}

.tree-item a:hover{
    text-decoration: underline;
}

.tree-item:hover{
    background-color: #f5f5f5;
}

.tree-item .chevron {
    display: inline;
    padding: 3px;
    margin-right: 3px;
}

.tree-item .locked{
    cursor:not-allowed;
}


.tree-item .chevron:hover{
    background-color: #e9e9e9;
}

.cat-main {
    width: 70%;
}

.breadCrumb{
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.breadCrumbLink{
    color: var(--first-color);
    font-weight: bold;
}

.breadCrumbLink:hover{
    text-decoration: underline;
    cursor: pointer;
}

.cat-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.cat-content .addCat{
    background-color: white;
    padding: 10px 20px 10px 20px;
    border-radius: 5px;
    font-size: 1.5em;
    color: var(--first-color);
    transition: all 0.5s;
    cursor: pointer;
    border: 1px solid #e9e9e9;
    margin-bottom: 10px;
}

.cat-content .addCat:hover{
    background-color: var(--first-color);
    color: white;
}


.blocCat {
    background-color: white;
    width: 100%;
    border-radius: 5px;
    padding: 20px;
    transition: all 0.5s;
    cursor:pointer;
    margin-bottom: 10px;
    border: 1px solid #e9e9e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.blocCat:hover{
    background-color: var(--first-color-light);
}

.emptyCat {
    margin-left: 30px;
}

.catTitre {
    width: calc(100% - 50px);
    font-weight: bold;
    font-size: 1.1em;
    text-align: left;
}

.catTitre .name {
    color: var(--first-color);
}

.catTitre .tile {
    display: block;
    background-color: #f5f5f5;
    border: 1px solid #d0d4d8;
    border-radius: 5px; 
    font-size: 0.9em;
    padding: 5px;
    margin-left: 10px;
    margin-top: 5px;
}

.catTitre .getPosts {
    color: var(--first-color);
}

.catTitre .getPosts:hover .tile {
    border: 2px solid var(--first-color);
    color: var(--first-color-light);
}

.containerButtons{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 35px;
}

.catButton {
    background-color: var(--first-color);
    border: 1px solid var(--first-color);
    color: white;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    width: 30px;
    height: 30px;
    transition: all 0.5s;
    margin-top: 5px;
}

.catButton.bookmark{
    background-color: rgba(0,0,0,0);
    color: #e6a900;
    border:1px solid #e6a900;
}

.catButton.bookmark:hover{
    background-color: #e6a900;
    color: white;
}

.catButton.bookmarked{
    background-color: #e6a900;
    border:1px solid #e6a900;
    color: white;
}

.catButton.bookmarked:hover{
    color: rgba(0,0,0,0);
    background-color: rgba(0,0,0,0);
}

.catButton.delete{
    background-color: #dc011f;
    border: 1px solid #dc011f;
    cursor: pointer;
}


.catButton:hover {
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}

.catButton:hover.delete{
    color: #dc011f;
}

.containerPath{
    width: 100%;
    text-align: left;
    padding-left: 15px;
    font-size: 0.8em;
    margin-top: 15px;
    margin-bottom: 0px;
}

.containerPath .treeInfos{
    font-size: 1em;
}

.catSelect .treeInfosFilter{
    font-size: 0.7em;
    color: var(--first-color-light);
}

.treeInfosFilter{
    font-size: 0.7em!important;
    color: #343a40;
    padding-left: 5px;
}

.wikiLigne:hover .nombreArticles, .wikiLigne:hover .highlight {
    color: white;
}


/**** cat.php (Page d'édition d'une catégorie) ***/

.cat{
    width: 90%;
    margin: 30px auto;
}

.cat-form #titre-cat{
    width: 100%;
}

.cat-form select{
    width: 300px;
    margin-top: 10px;
}

.cat .titre-droits {
    font-size: 1.2em;
    margin-bottom: 10px;
    padding-left: 5px;
    border-left: 5px solid var(--first-color);
    text-align: left;
    margin-top: 20px;
}

.bloc-droits {
    width: 100%;
    overflow-x: scroll;
}

.lineName {
    width: 30%;
}

.editCat {
    width: 100%;
    margin: 0 auto;
}


/**** ROLES.PHP ****/


.roles{
    width: 90%;
    margin: 30px auto 100px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}


.add-role{
    background-color: var(--first-color);
    border: 1px solid var(--first-color);
    color: white;
    border-radius: 5px;
    width: 300px;
    padding: 10px;
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.5s;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
}

.add-role:hover {
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}


.roles-container {
    width: 100%;
}

.roleHeadLigne{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    margin-bottom:10px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 3px solid #e9e9e9;
    flex-wrap: wrap;
}

.roleHead {
    font-weight: bold;
    color: black;
    transition: all 0.5s;
    font-size: 0.9em;
    padding-left: 10px;
}

.roleHeadNom {
    width: 45%;
}

.roleHeadRang {
    width: 20%;
}

.roleHeadActions {
    width: 35%;
}

.roleLigne {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    margin-bottom: 15px;
    border-radius: 15px;
    flex-wrap: wrap;
}

.roleCell {

}

.roleNom{
    width: 45%;
    padding-left: 10px;
    font-weight: bold;
    color: var(--first-color);
    font-size: 0.9e;
}

.roleRang {
    width: 20%;
    padding-left: 15px;
}

.roleActions {
    width: 35%;
}


.actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.disabled {
    color: #808285;
    font-style: italic;
    padding-top: 10px;
    padding-bottom: 10px;
}


.actions .delete {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dc011f;
    color: white;
    border: 1px solid #dc011f;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s;
    height: 40px;
    width: 40px;
    font-size: 1.2em;
    margin: 0 5px;
}

.actions .delete:hover{
    background-color: rgba(0,0,0,0);
    color: #dc011f;
}

.actions .edit {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--first-color);
    color: white;
    border: 1px solid var(--first-color);
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.5s;
    height: 40px;
    width: 40px;
    font-size: 1.2em;
    margin: 0 5px;
}

.actions .edit:hover{
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}

.actions .view {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--first-color-light);
    color: white;
    border: 1px solid var(--first-color-light);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s;
    height: 40px;
    width: 40px;
    font-size: 1.2em;
    margin: 0 5px;
}

.actions .view:hover{
    background-color: rgba(0,0,0,0);
    color: var(--first-color-light);
}

/*** Page utilisateurs.php ***/

.users{
    width: 90%;
    margin: 30px auto 100px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.users .search {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

/* The search field */
  #searchRoleInput {
    box-sizing: border-box;
    background-image: url('searchicon.png');
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 14px 20px 12px;
    border: none;
    border-bottom: 1px solid #ddd;
  }

  .container-selected-roles {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
    margin-bottom: 20px;
}

.selected-role {
    background-color: var(--first-color-light);
    color: white;
    border-radius: 5px;
    padding: 10px;
    text-align: left;
    margin-right: 10px;
}

.selected-role:after{
    content: '\ec8d';
    font-family: boxicons!important;
    color: white;
    cursor: pointer;
    padding-left: 10px;
    transition: all 0.5s;
    font-size: 1.1em;
}

.selected-role:hover:after{
    color: rgba(200,0,0,1);
    
}

.add-user{
    background-color: var(--first-color);
    border: 1px solid var(--first-color);
    color: white;
    border-radius: 5px;
    width: 300px;
    padding: 10px;
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.5s;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
}

.add-user:hover {
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}


.item-user{
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.userHeadLigne {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    margin-bottom:10px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 3px solid #e9e9e9;
    flex-wrap: wrap;
}

.userHead {
    font-weight: bold;
    color: black;
    transition: all 0.5s;
    font-size: 0.8em;
    width: 33%;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}


.userHeadPseudo {
    font-weight: bold;
    color: black;
    transition: all 0.5s;
}

.userHeadMail {
    display: none;
}

.userHeadRoles {
    width: 50%;
    border-top: 1px solid #e9e9e9;
}

.userHeadDate {
    width: 50%;
    border-top: 1px solid #e9e9e9;
}

.userHeadActions {
    display: none;
}

.filterItem {
    cursor: pointer;
}

.filterItem:hover {
    color: var(--first-color);
}

.sortFilter {
    color: var(--first-color);
}

.userLigne {
    padding: 5px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    margin-bottom: 15px;
    border-radius: 15px;
    flex-wrap: wrap;
}

.userOneLigne {
    text-align: center;
    width: 100%;
}


.userCell {
    margin-top: 10px;
    min-width: 25%;
    text-align: center;
}

.userPseudo {
    color: var(--first-color);
    font-weight: bold;
    padding-left: 10px;
}

.userMail {
    display: none;
}

.userRoles {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    padding-left: 10px;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #e9e9e9;
}

.roleTile{
    background-color: var(--first-color);
    color: white;
    font-size: 0.7em;
    padding: 5px;
    margin-right: 5px;
    border-radius: 5px;
    margin-top: 5px;
}

.userDate {
    width: 50%;
    font-size: 0.9em;
    padding-right: 10px;
    border-top: 1px solid #e9e9e9;
    text-align: center;
}

.userActions {
    width: 100%;
    margin-top: 15px;
}

.userActions.actions {
    justify-content: center!important;
}




.addUser {
    margin-bottom: 5px;
    margin-top: 5px;
}

.titreUserBloc {
    font-size: 1.4em;
    text-align: center;
}

.formulaire-categorie .titre-user {
    font-size: 1.2em;
    margin-bottom: 20px;
    margin-top: 20px;
    padding-left: 5px;
    border-left: 5px solid var(--first-color);
}

.formulaire-categorie .required::after {
    content: '*';
    color: red;
    margin-left: 10px;
    font-size: 1.1em;
}

.formulaire-categorie .selectedRoles{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 15px;
}

.form {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.item-form {
    margin-right: 10px;
    width: 100%;
}

.itemRole {
    background-color: var(--first-color);
    color: white;
    padding: 5px;
    font-size: 1.1em;
    margin-right: 5px;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 3px;
    cursor: pointer;
}

.itemRole:after {
    font-family: boxicons!important;
    content: "\ec8d";
    color: white;
    margin-left: 5px;
    cursor: pointer;
    transition: all 0.5s;
}

.itemRole:hover:after {
    color: red;
}



/*** afficher_utilisateur.php - Fiche Utilisateur ****/

.user{
    width: 95%;
    margin: 30px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.user .titre {
    width: 100%;
}

.infosUser {
    width: 100%;
    margin-top: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #e9e9e9;
}

.infosUser .userField{
    font-weight: bold;
}

.infosUser .userValue{
    color: var(--first-color);
    width: 75%;
}

.infosUser .password:after{
    content: 'Modifier le mot de passe';
    color: blue;
    color: #808285;
    text-decoration: underline;
    transition: all 0.5s;
    margin-left: 20px;
    cursor: pointer;
}


.postsUser{
    width: 100%;
    margin-top: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #e9e9e9;
}

.bookMarksUser{
    width: 100%;
    margin-top: 20px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #e9e9e9;
}

.bookMarksUser .bookMarkButtonContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.bookMarkButtonContainer .bookMarkButton {
    border: 1px solid #e9e9e9;
    color: var(--first-color);
    font-size: 1em;
    padding: 10px;
    margin-right: 5px;
    margin-left: 5px;
    transition: all 0.5s;
    cursor: pointer;
    border-radius: 5px;
}

.bookMarkButtonContainer .bookMarkButton:hover {
    background-color: var(--first-color);
    color: white;
}

.bookMarkButtonContainer .bookMarkButton.selected{
    background-color: var(--first-color);
    color: white;
}



.passwordForm {
    width: 30%;
    min-width: 400px; 
}

.formulaire-categorie .caption {
    color: var(--first-color);
    background-color: #f5f5f5;
    padding: 5px;
    border: 1px solid #e9e9e9;
    width: 100%;
    font-size: 0.8em;
    margin-bottom: 5px;
    text-align: center;
    display: block;
}

.formulaire-categorie .caption-error {
    color: #b02a37;
    background-color: #f8d7da;
    padding: 5px;
    border: 1px solid #f1aeb5;
    width: 100%;
    font-size: 0.8em;
    margin-bottom: 5px;
}


/** Page de modificaiton des autorisations d'une page **/


/** Légende icones  **/
.bloc-legende{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: 15px;
}

.item-legende{
    width: 100%;
    font-size: 1em;
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px;
    border-radius: 10px;
}

.item-legende .catRight{
    opacity: 0.5;
}


.authIcon{
    cursor:pointer;
    font-size: 1.2em;
}

.authButton {
    width: 100%;
    margin: 30px auto;
}

.catHeritage {
    opacity: 0.5;
}

.deleteSpecialAuth {
    cursor: pointer;
    background-color: red;
    border:1px solid red;
    padding: 5px;
    color: white;
    border-radius: 5px;
}

.deleteSpecialAuth:hover{
    background-color: rgba(0,0,0,0);

    color: red;
}

.containerUserResults {
    height: 100;
    min-height: 100px;
    max-height: 100px;
    overflow-y: scroll;
}

.containerUserResults td {
    cursor: pointer;
}


td.userName {
    text-align: left!important;
}

.deleteAuthLine {
    color: red;
    cursor: pointer;
    transition: all 0.5s;
}

.deleteAuthLine:hover {
    color: black;
}

/*** PAGE settings.php ***/

.settings {
    width: 95%;
    margin: 30px auto 100px auto;
    flex-wrap: wrap;
}

.settings h2 {
    width: 100%;
    font-size: 1.3em;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 10px;
    padding-left: 5px;
    border-left: 5px solid var(--first-color);
}

.siteInput {
    margin-bottom: 15px;
}

.colors {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.mainColor {
    width: 45%;
    margin-bottom: 20px;
}

.secondColor {
    width: 45%;
    margin-bottom: 20px;
}

.colorCircle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid #e9e9e9;
    margin: 10px auto;
}

.colorCircle.main{
    background-color: var(--first-color);
}

.colorCircle.second{
    background-color: var(--first-color-light);
}

.colorName {
    text-align: center;
}

.colorInput{
    display: inline;
}

.default {
    background-color: #dc011f;
    color: white;
    padding: 3px;
    border-radius: 5px;
    border: 1px solid #dc011f;
    transition: all 0.5s;
    cursor:pointer;
    margin-right: 10px;
}

.default:hover{
    background-color: rgba(0,0,0,0);
    color: #dc011f;
}

.siteInfos {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}


/*** Assistant d'installation ****/

/*** Chargement ***/
@-webkit-keyframes honeycomb {
  0%,
  20%,
  80%,
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  30%,
  70% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes honeycomb {
  0%,
  20%,
  80%,
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  30%,
  70% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.honeycomb {
  height: 24px;
  position: absolute;
  top: calc(50vh - 72px);
  left: calc(50vw - 12px);
  width: 24px;
  display: none;
}

.honeycomb div {
  -webkit-animation: honeycomb 2.1s infinite backwards;
  animation: honeycomb 2.1s infinite backwards;
  background: var(--first-color-light);
  height: 12px;
  margin-top: 6px;
  position: absolute;
  width: 24px;
}

.honeycomb div:after, .honeycomb div:before {
  content: '';
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  position: absolute;
  left: 0;
  right: 0;
}

.honeycomb div:after {
  top: -6px;
  border-bottom: 6px solid var(--first-color-light);
}

.honeycomb div:before {
  bottom: -6px;
  border-top: 6px solid var(--first-color-light);
}

.honeycomb div:nth-child(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  left: -28px;
  top: 0;
}

.honeycomb div:nth-child(2) {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
  left: -14px;
  top: 22px;
}

.honeycomb div:nth-child(3) {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
  left: 14px;
  top: 22px;
}

.honeycomb div:nth-child(4) {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
  left: 28px;
  top: 0;
}

.honeycomb div:nth-child(5) {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  left: 14px;
  top: -22px;
}

.honeycomb div:nth-child(6) {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
  left: -14px;
  top: -22px;
}

.honeycomb div:nth-child(7) {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
  left: 0;
  top: 0;
}

/*****/

.installContent {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.installTitle{
    font-family: Arial;
    width: 100%;
    text-align: center;
}

.installSubTitle{
    color: var(--first-color);
    font-size: 1.6em;
    margin-top: 20px;
    text-align: center;
}

.installForm {
    background-color: white;
    border: 1px solid #e9e9e9;
    width: 90%;
    margin: 30px auto;
    padding: 30px;
    border-radius: 5px;
}

.installForm label{
    font-size: 1em;
    color: #4723D9;
    font-weight: bold;
}

.installBddButton{
    background-color: var(--first-color);
    color: white;
    border: 1px solid var(--first-color);
    padding: 15px;
    border-radius: 10px;
    transition: all 0.5s;
    cursor: pointer;
    width: 200px;
    text-align: center;
    margin: 0 auto;
}

.installBddButton:hover{
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}

.nextStepButton{
    background-color: var(--first-color);
    color: white;
    border: 1px solid var(--first-color);
    padding: 15px;
    border-radius: 10px;
    transition: all 0.5s;
    cursor: pointer;
    width: 350px;
    text-align: center;
    margin: 0 auto;
}

.nextStepButton:hover{
    background-color: rgba(0,0,0,0);
    color: #4723D9;
}


.connectionStatus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    background-color: #e9e9e9;
    margin: 10px auto;
    padding: 20px;
    border-radius: 20px;
}

.iconStatus {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    border: 4px solid var(--first-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.messageStatus {
    width: 80%;
    padding: 20px;
    font-weight: bold;
}

.optionsForm {
    display: none;
}

.userForm {
    display: none;
}

.deleteInstallButton {
    margin-top: 5px;
    background-color: var(--first-color);
    padding: 10px;
    color: white;
    width: 300px;
    transition: all 0.5s;
    border:1px solid var(--first-color);
    text-align: center;
    border-radius: 10px;
    cursor:pointer;
}

.deleteInstallButton:hover{
    background-color: rgba(0,0,0,0);
    color: var(--first-color);
}

/** Page erreur BDD */

.blocErrorBdd {
    background-color: white;
    padding: 50px;
    margin: 0 auto;
    border: 1px solid #e9e9e9;
    color: blue;
}

