.header ul, .footer ul{
    list-style: none;
}

.header ul li{
    display: inline-block;
    margin-left:5px;
}
  
.header ul li a, .footer ul li a{
    text-decoration:unset;
}

#dialog{
    position: fixed;
    top :15%;
    background-color: white;;
    left:15%;
    overflow:auto;
    z-index: 10000;
    min-width: 60%;
    min-height:25%;
    transition-property: opacity;
    transition-duration: 1s;
    border-radius: 20px;
   box-shadow: 5px 5px 15px 5px grey;
   border:1px solid grey;
  }
  
  #rightDialog{
    position: fixed;
    top:0px; 
    right:0px;
    width:400px !important;
    background-color: white; 
    z-index:9999;
    height:calc(100%);
    overflow :auto;
    border-left:1px solid grey;
  }

  #leftDialog{
    position: fixed;
    top:0px; 
    left:0px;
    width:400px !important;
    background-color: white; 
    z-index:9999;   
    height:calc(100%);
    border-right:1px solid grey;
    overflow :auto;
  }
  
   #fullDialog{
    position: fixed;
    top:0px; 
    left:0px;
    width:100% ;
    background-color: white; 
    z-index:9999;   
    height:calc(100%);
    border-right:1px solid grey;
    overflow : auto;
  }
  
#DialogTitle{
    color: white;
    padding :10px;
    top:0px;
    font-size: 15px;
    text-align: center;
    cursor: move;
  }
  
  #dialog #DialogContent{
    padding :15px;
    max-height: 800px;
    overflow:auto;
    filter: alpha(opacity='70');
  }

  #DialogRighContent .container{
      width:100% !important;
  }
  
  .dialogContent, #DialogTitle{
  }
  
  .dialogContent .link{
      font-size:14px;
  }
  #divResult {
    z-index: 10040;
    position: absolute;
    height: 200px;
    padding: 5px;
    border: 1px solid grey;
    border-radius: 6px 6px 6px 6px;
    overflow: auto;
    background: none repeat scroll 0 0 white;
}

#divResult ul {
    text-align: left;
}

.txtEditor{
    border:1px solid grey;
    width:100%;
    min-height: 150px;
}

.txtEditor .toolBar{
    border-bottom:1px solid grey;
    width:100%;
    min-height : 35px;
    padding:1px;
}

.txtEditor .toolBar div {
    display: inline-block;
    border : 1px solid #bebebe;
    border-radius: 5px;
    cursor: pointer;
    width :auto;
    padding:5px;
    text-align: center;
}

.txtEditor .inputArea{
    min-height:100px;
}

.txtEditor ul {
    padding:revert;
}

.txtEditor ul li{
    list-style: unset;
}

.txtEditor table tr td{
  border :1px solid grey;
  height:30px;
  width: 30px;
}

.mainContent {
    min-height: 69vh;
}

.width100{
    width:100%;
}/* Variables principales */
:root {
  --primary-color: #6a0dad;   /* Violet principal */
  --secondary-color: #8e44ad; /* Violet secondaire */
  --tertiary-color: #9b59b6;  /* Violet tertiaire */
  --background-color: #000000;
  --text-color: #ffffff;
  --shadow-color: rgba(0,0,0,0.5);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fira Code', monospace;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Exemple pour les titres */
h1, h2, h3 {
  font-family: 'Fira Code', monospace;
  font-weight: 500; /* Poids de la police (300 à 700) */
}

/* Liens */
a {
  font-family: 'Fira Code', monospace;
  color: var(--text-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header & Footer */
header, footer {
  background: var(--primary-color);
  color: var(--text-color);
  text-align: center;
  padding: 1rem;
}
header nav a {
  margin: 0 10px;
}

/* === Containers === */

.full-seco,.full-first, .full-terc {
margin-bottom: 30px;
}

.full-seco {
  background: linear-gradient(135deg, #111, var(--primary-color));
  padding: 2rem;
  border-left: 6px solid var(--primary-color);
}
.full-first {
  background: #111;
  padding: 2rem;
  border-top: 6px solid var(--secondary-color);
}
.full-terc {
  background: linear-gradient(90deg, #000, #222);
  padding: 2rem;
  border-bottom: 6px solid var(--tertiary-color);
}

/* === Containers FULL === */
.full-seco {
  background: linear-gradient(135deg, #0d0d17, #1a1a2e); /* sombre avec nuance violette */
  padding: 2rem;
  border-left: 6px solid var(--primary-color);
}

.full-first {
  background: linear-gradient(135deg, #121212, #2a1f3d); /* sombre avec nuance secondaire */
  padding: 2rem;
  border-top: 6px solid var(--secondary-color);
}

.full-terc {
  background: linear-gradient(135deg, #1a0f1f, #332244); /* sombre avec nuance tertiaire */
  padding: 2rem;
  border-bottom: 6px solid var(--tertiary-color);
}

/* === Blocks === */
.block-first, .block-seco, .block-terc {
  background: #1a1a1a;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Différenciation visuelle */
.block-first { border-left: 5px solid var(--primary-color); }
.block-seco { border-left: 5px solid var(--secondary-color); }
.block-terc { border-left: 5px solid var(--tertiary-color); }

/* Effets hover */
.block-first.block-hover:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px var(--primary-color);
}
.block-seco.block-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px var(--secondary-color);
}
.block-terc.block-hover:hover {
  transform: rotate(-1deg);
  box-shadow: 0 6px 12px var(--tertiary-color);
}
/* Nuances de fond */
.block-first { 
  background: #1a1a2e; /* gris très foncé violacé */
  border-left: 5px solid var(--primary-color); 
}
.block-seco { 
  background: #2a1f3d; /* gris violacé plus doux */
  border-left: 5px solid var(--secondary-color); 
}
.block-terc { 
  background: #332244; /* gris-violet chaud */
  border-left: 5px solid var(--tertiary-color); 
}

/* Effets hover */
.block-first.block-hover:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px var(--primary-color);
}
.block-seco.block-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px var(--secondary-color);
}
.block-terc.block-hover:hover {
  transform: rotate(-1deg);
  box-shadow: 0 6px 12px var(--tertiary-color);
}


/* === Table avec class .grid === */
table.grid {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  box-shadow: 0 4px 8px var(--shadow-color);
}
.grid th {
  background: var(--primary-color);
  color: var(--text-color);
  padding: 0.8rem;
  text-align: left;
}
.grid td {
  background: #111;
  padding: 0.8rem;
  border-bottom: 1px solid #222;
}
.grid tr:hover td {
  background: #1f1f1f;
}


.header{
    color:white;
}

#nav-menu-container {
  float: right;
  margin: 0 0 0 0;
}

.nav-menu-container {
    text-align: right;
}

/* ===== MAIN CONTENT ===== */
.mainContent {
  min-height: calc(100vh - 120px);
  padding: 40px 0;
}

a:hover {
    text-decoration: none;
}