:root {
    --bouton-border: #d1d1e2;
    --bouton-bg: #d3ffcc;
    --bouton-texte: #0800ff;
    --bouton-border-hover: #f00;
    --bouton-bg-hover: #4cf2a4;
    --bouton-texte-hover: #f00;
    --bouton-radius: 3px;
    
    --voyant-bg: #fcfff4;
    --voyant-bg-fin: #b3bead;
    --voyant-cercle: #222;
    --voyant-cercle-fin: #45484d;
    --voyant-actif: #00bf00;
    --voyant-actif-fin: #009400;
    
    --toggle-off: #f7d570;
    --toggle-on: #1c9f7a;
    --toggle-texte: #fff;
    
    /*
    --fiche-bg: #fff;
    --fiche-bg-header: #f8f8f8;
    --fiche-bg-secondaire: #fafafa;
    --fiche-bg-badge: #f0f0f0;
    --fiche-border: #d8dee5;
    --fiche-border-ligne: #edf0f2;
    --fiche-border-input: #cbd3da;
    --fiche-border-focus: #7a9cff;
    --fiche-texte: #555;
    --fiche-texte-label: #666;
    --fiche-texte-secondaire: #777;
    --fiche-texte-leger: #888;
    --fiche-header: #eef3f7;
    --fiche-header-table: #f7f9fb;
    --fiche-hover: #f8fbfd;
    --fiche-radius: 8px;
    --fiche-font: 13px;
    --fiche-padding: 12px;
    */
}



.boutons_icone {
    transition: all .15s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding: 6px;
    min-width: 34px;
    cursor: pointer;
    border: 1px solid var(--bouton-border);
    border-radius: var(--bouton-radius);
    background: var(--bouton-bg);
    color: var(--bouton-texte);
    font: bold 12px Verdana, Geneva, sans-serif;
    height: 32px;
}
.boutons_icone:hover {
    border-color: var(--bouton-border-hover);
    background: var(--bouton-bg-hover);
    color: var(--bouton-texte-hover);
    box-shadow: 0 1px 1px rgba(0,0,0,.5);
}

/* =========================================================
   TOGGLE OUI/NON - CREDIT/DEPENSE
   ========================================================= */
.toggle input { display: none; }
.toggle label {
    display: block;
    position: relative;
    width: 150px;
    height: 30px;
    overflow: hidden;
    cursor: pointer;
    background: var(--toggle-off);
    border-radius: 15px;
    font-family: sans-serif;
}
.toggle label::before,
.toggle label::after {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    transition: left .2s ease;
}
.toggle label::before { content: attr(data-off); left: 0; }
.toggle label::after { content: attr(data-on); left: 100%; color: var(--toggle-texte); }
.toggle input:checked + label { background: var(--toggle-on); }
.toggle input:checked + label::before { left: -100%; }
.toggle input:checked + label::after { left: 0; }

/* =========================================================
   VOYANT ROND
   ========================================================= */
input[type="checkbox"],
input[type="radio"].roundedOne {
    margin: 7px -2000px 0;
}
.roundedOne {
    position: relative;
    width: 28px;
    height: 28px;
    margin: 2px auto;
    border-radius: 50%;
    background: linear-gradient(to bottom, var(--voyant-bg), #dfe5d7 40%, var(--voyant-bg-fin));
    box-shadow: inset 0 1px 1px #fff, 0 1px 3px rgba(0,0,0,.5);
}
.roundedOne label {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 50%;
    background: linear-gradient(to bottom, var(--voyant-cercle), var(--voyant-cercle-fin));
    box-shadow: inset 0 1px 1px rgba(0,0,0,.5), 0 1px 0 #fff;
}
.roundedOne label::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    opacity: 0;
    border-radius: 50%;
    background: linear-gradient(to bottom, var(--voyant-actif), var(--voyant-actif-fin));
    box-shadow: inset 0 1px 1px #fff, 0 1px 3px rgba(0,0,0,.5);
}
.roundedOne label:hover::after { opacity: .3; }
.roundedOne input[type="checkbox"]:checked + label::after { opacity: 1; }



.emoji{
    font-size: 15px;
    border: 1px solid #43aad3;
    display: inline-flex;
    height: 35px !important;
    width: 35px !important;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}
.emoji:hover{
    border: 2px solid red;
}








/*
.btn_vide:hover{
    animation-name: wave-animation;
    animation-duration: 3.0s;
    animation-iteration-count: infinite;
    transform-origin: 70% 70%; 
}
@keyframes wave-animation {
0% {
transform: rotate( 0.0deg)
}
10% {
transform: rotate(14.0deg)
}
20% {
transform: rotate(-8.0deg)
}
30% {
transform: rotate(14.0deg)
}
40% {
transform: rotate(-4.0deg)
}
50% {
transform: rotate(10.0deg)
}
60% {
transform: rotate( 0.0deg)
}
100% {
transform: rotate( 0.0deg)
}
}
*/



.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;

  height: 30px;
  margin: 5px 2px;
  padding: 0 7px;

  font: inherit;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;

  color: #242424;
  background: #f0f0f0;
  border: 0;
  border-radius: 6px;

  text-shadow: 0 1px #fff;
  cursor: pointer;

  box-shadow:
    inset 0 1px #f4f4f4,
    0 1px #efefef,
    0 2px #ececec,
    0 2px #e0e0e0,
    0 3px #dedede,
    0 3px #dcdcdc,
    0 3.8px #cacaca,
    0 3.8px 8px #cecece;

  transition: 0.15s ease;
}
button.bouton {
    appearance: none;
    -webkit-appearance: none;
}
.bouton:active {
  transform: translateY(3.6px);

  box-shadow:
    inset 0 0.5px #f4f4f4,
    0 0.5px #efefef,
    0 1px #ececec,
    0 2px #e0e0e0,
    0 2px #dedede,
    0 2.2px #dcdcdc,
    0 2.6px #cacaca,
    0 2.6px 6px #cecece;
}




.bouton.selectionne{
    max-width: 200px;
     background-color: #c8eafe;
    width: 100%;
    text-align: center;
}
.bouton { overflow: hidden; }
.bouton input { display: none !important; }
.bouton label {
    display: block;
    width: 100%;
    height: 30px;
    color: #242424;
    cursor: pointer;
    position: relative;
    font-family: sans-serif;
}
.bouton label::before,
.bouton label::after {
    position: absolute;
    width: 100%;
    line-height: 30px;
}
.bouton label::before {
    content: attr(data-off);
    left: 0;
}
.bouton label::after {
    content: attr(data-on);
    left: 100%;
}
.bouton:has(input:checked) {
    background: var(--bouton-bg);
}
.bouton input:checked + label::before {
    left: -100%;
}
.bouton input:checked + label::after {
    left: 0;
}


























.btn_vide,
.btn_vide {
    all: unset;
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    /*margin-right: 10px;*/
}

/* =========== BOUTON REMPLACEMENT SELECT =========== */
#menuNavigation{
    position:absolute;
    opacity:0.01;         /* pas 0 ! */
    cursor:pointer;
    z-index:2;
    /*
    top:0;
    left:-35px;          
    width:90px;
    height:48px;
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    */

}
.bouton_icone{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:35px;
    height:28px;
    border:1px solid #888;
    border-radius:4px;
    background:#f0e299;
    box-shadow:0 1px 2px rgba(0,0,0,.2);
    padding:4px;
}







.bouton_icone:hover{
    background:#e8e8e8;
}

.bouton_icone:active{
    background:#dcdcdc;
    transform:scale(.97);
}






    .btn_principal {
        transition: all 0.15s ease-in-out;
        display: inline-block;
        cursor: pointer;
        min-width: 35px;
        border: 1px solid #fff0;
        font-size: 12px;
        color: #000;
        border-radius: 5px;
        
        
        
        
    }    
  


.toggler:hover,
.toggler:focus,
.toggler:active {
    text-decoration: none;
}        
    .btn_principal:hover {
        color: #f00;
        border: 1px solid #f00;
        background-color: #4cf2a4;
        box-shadow: 0px 01px 1px rgba(0, 0, 0, 0.5);
    }
     .btn_principal :visited {
         color:#fff;
     } 
     .btn_principal :active {
         color:#fff;
     } 



    input,  select, textarea{
        padding:3px;
        background-color:#FFF3F3;
        border:1px solid #B1ADE6;
        border-radius:5px;
        width:100%;
        box-shadow:1px 1px 2px #C0C0C0 inset;    
    }


.btn-vignette{
    width:100%;
    padding:0;
    border:none;
    background:none;
    cursor:pointer;
    text-align:center;
}

.image_relief{
    width:100%;
    display:block;
    border:3px solid transparent;
    border-radius:8px;
    transition:.2s;
}

.btn-vignette:hover .image_relief{
    border-color:red;
}

.vignettes.selected .image_relief{
    border-color:red;
    box-shadow:0 0 8px rgba(255,0,0,.4);
}