/*****************/
/* BOUTONS MODES */
/*****************/
.boutons-modes {
    z-index: 10;
    position: fixed;
    left: 0;
    top: calc(50vh - calc(2 * 23px) - calc(2.5 * 1rem));
}
/*.creation-site-internet .boutons-modes {
    background-color: #ffffff80;
}*/
/*@media screen and (max-width: 48em) {
    .boutons-modes {
        background-color: #ffffff80;
        display: none;
    }
    .open .boutons-modes {
        display: flex;
    }
}*/
.bouton-mode {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 23px;
    height: 23px;
    margin: 1rem .5rem;
    cursor: pointer;
}
.bouton-mode img {
    position: absolute;
    width: 100%;
    height: auto;
    transition: transform 1s;
}
.mode-sombre .bouton-mode.sombre, .dyslexia-mode .bouton-mode.dyslexique, .mode-accessible .bouton-mode.accessible {
    filter: drop-shadow(#e6bf51 1px 1px 3px);
}
.mode-sombre .bouton, html:not(.mode-accessible) .creation-site-internet .bouton-mode:not(.dyslexique), html:not(.mode-accessible) .creation-site-internet .croix-modes {
    filter: brightness(0) invert(1);
}
html:not(.mode-accessible) .creation-site-internet .bouton-mode.dyslexique {
    color: #fff;
}
.bouton-mode.sombre img:hover {
    transform: rotate(120deg);
}
.bouton-mode .img-clair {
    display: none;
}
/*html:not(.mode-sombre) .bouton-mode:hover .img-clair {
    display: inline-block;
    top: 5px;
    right: -15px;
    transform: rotateX(60deg) rotateY(-40deg);
    filter: url('#noiseFilter');
    pointer-events: none;
}*/
.mode-sombre .bouton-mode .img-sombre {
    display: none;
}
/*.mode-sombre .bouton-mode:hover .img-sombre {
    display: inline-block;
    bottom: -15px;
    transform: rotateX(60deg);
    filter: url('#noiseFilter') brightness(0) invert(1);
    pointer-events: none;
}*/
.mode-sombre .bouton-mode .img-clair {
    display: inline-block;
}

.bouton-mode.dyslexique {
    position: relative;
    font-family: "OpenDyslexic";
}
.dyslexia-mode .bouton-mode.dyslexique {
    font-family: 'LibreFranklin' !important;
}
.bouton-mode.dyslexique:hover::before, body.creation-site-internet .bouton-mode.dyslexique:hover::before {
    content: 'Utiliser une font dyslexique';
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 10px;
    width: 180px;
    padding: .5em;
    font-size: .75em;/* 12px */
    text-align: center;
    color: #fff;
    background-color: #000000d6;
    border-radius: 5px;
    pointer-events: none;
}
.dyslexia-mode .bouton-mode.dyslexique:hover::before {
    content: 'Utiliser une font classique';
    position: absolute;
}

.bouton-mode.accessible:hover img {
    transform: scale(1.3);
}
.mode-accessible .bouton-mode.accessible {
    transform: rotate(180deg);
}

body:not(.article) .bouton-mode.impression, body.galerie .bouton-mode.sombre, body.creation-site-internet .bouton-mode.sombre, body.galerie-element .bouton-mode.sombre, .dyslexia-mode .bouton-mode.sombre, .mode-accessible .bouton-mode.sombre {
    opacity: .3;
    cursor: auto;
    pointer-events: none;
}
.croix-modes {
    z-index: 2;
    width: 40px;
    height: 55px;
    cursor: pointer;
    position: absolute;
    top: -40px;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .croix-modes .bar {
    display: inline-block;
    position: absolute;
    width: 15px;
    height: 2px;
    border-radius: 1.5px;
    left: 5px;
  }
  .croix-modes .bar {
    background: #000;
  }
  .croix-modes:hover .bar {
    background: rgb(77, 77, 77);
  }
  .mode-sombre .croix-modes .bar {
    background: #fff;
  }
  .mode-sombre .croix-modes:hover .bar {
    background: rgb(200,200,200);
  }
  .croix-modes .bar:nth-of-type(1) {
    transform: rotate(45deg);
  }
  .croix-modes .bar:nth-of-type(2) {
    transform: rotate(-45deg);
  }
  .ferme .croix-modes .bar:nth-of-type(1) {
    transform: rotate(0deg);
  }
  .ferme .croix-modes .bar:nth-of-type(2) {
    transform: rotate(-90deg);
  }

.ferme .bouton-mode {
    display: none;
}

@media only screen and (max-width: 55em) {
    .dyslexia-mode .blog-list[class*="pure-u"], .mode-accessible .blog-list[class*="pure-u"] {
        max-width: 100%;
    }
}

/***************/  
/* MODE SOMBRE */
/***************/

  /*@media (prefers-color-scheme: dark) {
    body, .article .pure-g [class*="pure-u"], .sidebar[class*="pure-u"] {
      color: #fefefe !important;
    }
    .voile {
      background-color: #1c1c1e !important;
    }
    img {
      filter: grayscale(20%) !important;
    }
    a {
      color : #5fa9ee !important;
    }
  }*/
.mode-sombre body, .mode-sombre .footer p, .mode-sombre .article .pure-g [class*="pure-u"], .mode-sombre .sidebar[class*="pure-u"], .mode-sombre .main-nav a {
    color: #fefefe;
}
.mode-sombre #footer-back {
    display: none;
}
.mode-sombre .pure-menu-fixed, .mode-sombre footer {
    background-color: #292929;
    box-shadow: none;
}
.mode-sombre .voile, .mode-sombre #content-wrapper {
    background-color: #1c1c1e !important;
}
.mode-sombre img {
    filter: grayscale(20%);
}
.mode-sombre a {
    color : #ffc635;
}
.mode-sombre a.ext::after, .mode-sombre .footer-contact img {
    filter: brightness(0) invert(1);
}
.mode-sombre a:hover {
    color : #5fa9ee;
}
.mode-sombre #titre_blog .titre::before {
    background: #ffc635;
}
.mode-sombre #interactif #opacite, .mode-sombre #interactif #bg {
    display: none;
}
.mode-sombre .bouton-site {
    background-color: #5b5a5ab0;
}
.mode-sombre .petit .bouton-site:hover {
    color: #fefefe;
}
.mode-sombre .croix-form .bar {
    background: rgb(223, 223, 223);
}

/* BLOG */
.mode-sombre .texte, .mode-sombre .texte a {
    color: #000;
}
/* ARTICLE */
.mode-sombre #content-wrapper {
    background-image: none !important;
}
.mode-sombre .voile {
    background: none !important;
}
.mode-sombre .ref a {
    color: #000;
}
.mode-sombre .backnote, .mode-sombre .backref {
    opacity: .8;
}
.mode-sombre .backnote.opaque, .mode-sombre .backref.opaque {
    opacity: 1;
}
.mode-sombre .ref .couleur1 {
    box-shadow: inset 0 -1.5em 0 0px #faf595;
}
.mode-sombre .ref .couleur2 {
    box-shadow: inset 0 -1.5em 0 0px #95f5fa;
}
.mode-sombre .ref .couleur3 {
    box-shadow: inset 0 -1.5em 0 0px #fa95ef;
}
.mode-sombre .ref .couleur4 {
    box-shadow: inset 0 -1.5em 0 0px #98fa95;
}
.mode-sombre .dialo .note .backnote, .mode-sombre .cairn .note .backnote {
    color: #fff;
}

/* ETHIKMO */
.mode-sombre #presentation a, .mode-sombre #commentaires a p {
    opacity: .8;
}
.mode-sombre #presentation a:hover, .mode-sombre #commentaires a p:hover {
    opacity: 1;
}
.mode-sombre a[href="#c1"], .mode-sombre a[href="#c7"], .mode-sombre a[href="#c13"], .mode-sombre a[href="#c19"] {
    -webkit-box-shadow: inset 0 -1.5em 0 0px #faf595;
    box-shadow: inset 0 -1.5em 0 0px #faf595;
}
.mode-sombre a[href="#c4"], .mode-sombre a[href="#c10"], .mode-sombre a[href="#c16"], .mode-sombre a[href="#c22"] {
    -webkit-box-shadow: inset 0 -1.5em 0 0px #98fa95;
    box-shadow: inset 0 -1.5em 0 0px #98fa95;
}
.mode-sombre a[href="#c2"], .mode-sombre a[href="#c8"], .mode-sombre a[href="#c14"], .mode-sombre a[href="#c20"] {
    -webkit-box-shadow: inset 0 -1.5em 0 0px #95f5fa;
    box-shadow: inset 0 -1.5em 0 0px #95f5fa;
}
.mode-sombre a[href="#c5"], .mode-sombre a[href="#c11"], .mode-sombre a[href="#c17"], .mode-sombre a[href="#c23"] {
    -webkit-box-shadow: inset 0 -1.5em 0 0px #a095fa;
    box-shadow: inset 0 -1.5em 0 0px #a095fa;
}
.mode-sombre a[href="#c3"], .mode-sombre a[href="#c9"], .mode-sombre a[href="#c15"], .mode-sombre a[href="#c21"] {
    -webkit-box-shadow: inset 0 -1.5em 0 0px #fa95ef;
    box-shadow: inset 0 -1.5em 0 0px #fa95ef;
}
.mode-sombre a[href="#c6"], .mode-sombre a[href="#c12"], .mode-sombre a[href="#c18"], .mode-sombre a[href="#c24"] {
    -webkit-box-shadow: inset 0 -1.5em 0 0px #fa9d95;
    box-shadow: inset 0 -1.5em 0 0px #fa9d95;
}
  
/* EDITO */
.mode-sombre .esthete .edito1 .sous-partie1 .titre {
    text-shadow: 1px 1px 1px #75ffff;
}
.mode-sombre .esthete .edito1 .sous-partie3 .titre {
    text-shadow: 5px 5px 1px #000;
}

/* ASSISTANCE */
.mode-sombre #assistance .checkboxes label::before {
    border: 1px solid #fff;
}
.mode-sombre #assistance input, .mode-sombre #assistance textarea {
    color: #000;
}


/*******************/
/* MODE ACCESSIBLE */
/*******************/
@font-face {
    font-family: "Luciole";
    src: url("../fonts/luciole/Luciole-Regular.woff2") format("woff2");
    font-display: swap;
}
html.mode-accessible, .mode-accessible main p, .mode-accessible main h1, .mode-accessible main h2, .mode-accessible main h3, .mode-accessible main h4, .mode-accessible main h5, .mode-accessible #sidebar, .mode-accessible .blog-list[class*="pure-u"], .mode-accessible .pure-g [class*="pure-u"], .mode-accessible .main-nav a, .mode-accessible .main-nav .services-web, .mode-accessible .bouton-site, .mode-accessible .main-nav ul li.bouton-site-menu, .mode-accessible .main-nav .formulaire-menu a, .mode-accessible .formulaire-bouton-site, .mode-accessible .legende, .mode-accessible .legende .lien a, .mode-accessible .legende .lien, .mode-accessible .main-nav .pure-menu-item span {
    font-family: 'Luciole' !important;
}
.mode-accessible .main-nav, .dyslexia-mode .main-nav {
    font-size: .85rem;
}
.mode-accessible #interactif, .mode-accessible css-doodle, .mode-accessible .bordure svg {
    display: none;
}
.mode-accessible #content-wrapper, .mode-accessible #footer-back, .mode-accessible .voile {
    background: none !important;
}
.mode-accessible .fleurs {
    top: unset !important;
    bottom: 0;
    width: 300px;
    opacity: .2;
}
.mode-accessible #ombre {
    transform: none !important;
}
.mode-accessible #blog .texte {
    background: none !important;
    border: solid;
    border-radius: 35px;
}

.mode-accessible #bouton-site.petit {
    width: 145px;
    height: 75px;
}
.mode-accessible .petit .bouton-site {
    width: 145px;
    height: 75px;
    padding: 8px 25px;
    font-size: 1rem;
}


 
/* CRÉATION SITES */
.mode-accessible .modular .main-nav ul li {
    text-shadow: none;
}
@media screen and (max-width:48em) {
    .mode-accessible body.modular .pure-menu-item.premier {
        color: #000;
    }
    .mode-accessible body.modular .custom-toggle .bar {
        background-color: #000;
    }
    .mode-accessible body.modular .open .pure-menu-item.premier {
        color: #fff;
    }
    .mode-accessible body.modular .open .custom-toggle .bar {
        background-color: #fff;
    }
}
@media screen and (min-width:48em) {
    .mode-accessible .main-nav a, .mode-accessible .main-nav li.premier, .mode-accessible .modular .services-web {
        color: #000;
    }
}
.mode-accessible #module0 {
    background-color: #f0f0f0;
}
.mode-accessible #onclick .presentation {
    height: auto !important;
}
.mode-accessible #module0 .creation {
    position: relative;
    opacity: 1 !important;
    top: 350px !important;
    left: 0 !important;
    font-size: inherit !important;
    margin: .5em 0;
    cursor: pointer;
    pointer-events: auto;
}
.mode-accessible body.modular .cadre {
    display: none;
}
.mode-accessible #onclick {
    z-index: 1;
    top: 0;
    overflow-y: auto;
    background: none;
}
.mode-accessible #onclick .cadre {
    display: block;
    position: relative;
    height: auto;
    padding: 5rem 0;
}
#onclick .presentation {
    display: none;
    position: relative;
    top: 0;
    opacity: 1;
    background: none;
}
.mode-accessible #onclick .presentation {
    display: block;
    width: 100%;
    max-width: 1024px;
    left: 0 !important;
}
.mode-accessible #onclick .presentation span {
    font-size: 1.4rem;
}
/*.mode-accessible #onclick .presentation path {
    fill: #000;
    stroke: #000;
}*/
.mode-accessible .conteneur-legende {
    position: relative;
    top: unset;
    padding: 3rem 0;
    opacity: 1;
}
.mode-accessible .lien, .mode-accessible .legende p, .mode-accessible .legende a, .mode-accessible .images {
    color: #000 !important;
    opacity: 1;
    pointer-events: auto !important;
}
.mode-accessible .lien {
    margin-top: 0;
}
@media screen and (max-width:863px) {
    .mode-accessible #onclick .presentation {
        margin-bottom: 3rem;
    }
    .mode-accessible .legende {
        padding-bottom: 0;
    }
    .mode-accessible .legende .lien {
        top: 0;
    }
}
.mode-accessible .bouton-anim {
    display: inline-block;
    cursor: pointer;
    position: relative;
    margin-top: 1rem;
    padding: 0 .5rem;
    border: solid 1px;
    border-radius: 10px;
}
.mode-accessible .boite picture:nth-child(1) img:not(.anim) {
    opacity: 1 !important;
}
.mode-accessible .boite img.anim {
    animation-delay: 0s !important;
}
.mode-accessible .boite img.anim-pause {
    animation-play-state: paused !important;
}
.mode-accessible .forum-des-reves-tetus_img .bouton-anim, .mode-accessible .rmg_img .bouton-anim {
    display: none;
}


/* GALERIE */
.mode-accessible .item-inside h2:not(.titre-etiquette), .mode-accessible .galerie-element .item-inside h1:not(.titre-etiquette) {
    top: -60px;
    left: 0;
    writing-mode: initial;
}
.mode-accessible .item-inside h2, .mode-accessible .item-inside h2 a, .mode-accessible .galerie-element .item-inside h1 {
    text-shadow: none;
}


/*******************/
/* MODE DYSLEXIQUE */
/*******************/
@font-face {
    font-family: "OpenDyslexic";
    src: url("../fonts/open_dyslexic/opendyslexicalta-regular-webfont.woff2") format("woff2"),
    url("../fonts/open_dyslexic/opendyslexicalta-regular-webfont.woff") format("woff");
    font-display: swap;
}
html.dyslexia-mode, .dyslexia-mode main p, .dyslexia-mode main h1, .dyslexia-mode main h2, .dyslexia-mode main h3, .dyslexia-mode main h4, .dyslexia-mode main h5, .dyslexia-mode #sidebar, .dyslexia-mode .blog-list[class*="pure-u"], .dyslexia-mode .pure-g [class*="pure-u"], .dyslexia-mode .main-nav a, .dyslexia-mode .main-nav .services-web, .dyslexia-mode .bouton-site, .dyslexia-mode .main-nav ul li.bouton-site-menu, .dyslexia-mode .main-nav .formulaire-menu a, .dyslexia-mode .formulaire-bouton-site, .dyslexia-mode .legende, .dyslexia-mode .legende .lien a, .dyslexia-mode .legende .lien, .dyslexia-mode .main-nav .pure-menu-item span, .dyslexia-mode #module0 .creation {
    /*font-size: 150%;
    letter-spacing: 0.35ch;
    word-spacing: 1.225ch;*/ /* 3.5x letter-spacing */
    font-variant-ligatures: none; /* explicitly disable ligatures */
    font-family: "OpenDyslexic" !important;
}
.dyslexia-mode #interactif .option-titre {
    font-size: .8em;
}
.dyslexia-mode #police {
    display: none;
}
  /*.dyslexia-mode main {
    line-height: 2.0;
  }
  .dyslexia-mode main p {
    font-family: "OpenDyslexic" !important;
    margin-top: 3.5em;
  }*/

