/*@font-face {
  	font-family: "DejaVuSans";
  	src: url("../fonts/dejavu-sans/dejavusans-webfont.woff2") format("woff2"),
        url("../fonts/dejavu-sans/dejavusans-webfont.woff") format("woff");
    font-display: swap;
}
@font-face {
  	font-family: "DejaVuSansBold";
  	src: url("../fonts/dejavu-sans/dejavusans-bold-webfont.woff2") format("woff2"),
        url("../fonts/dejavu-sans/dejavusans-bold-webfont.woff") format("woff");
    font-display: swap;
}
@font-face {
  	font-family: "DejaVuSerif";
  	src: url("../fonts/dejavu-serif/dejavuserif-webfont.woff2") format("woff2"),
        url("../fonts/dejavu-serif/dejavuserif-webfont.woff") format("woff");
    font-display: swap;
}*/

@font-face {
  	font-family: "AlegreyaBlack";
  	src: url("../fonts/alegreya/alegreya-black-webfont.woff2 ") format("woff2"),
    font-display: swap;
}

@font-face {
  	font-family: "AlegreyaItalic";
  	src: url("../fonts/alegreya/alegreya-italic-webfont.woff2 ") format("woff2"),
    font-display: swap;
}

@font-face {
  	font-family: "AlegreyaRegular";
  	src: url("../fonts/alegreya/alegreya-regular-webfont.woff2 ") format("woff2"),
    font-display: swap;
}

@font-face {
  	font-family: "AlegreyaBold";
  	src: url("../fonts/alegreya/alegreya-bold-webfont.woff2 ") format("woff2"),
    font-display: swap;
}


@font-face {
  	font-family: "CodystarRegular";
  	src: url("../fonts/codystar/codystar-regular-webfont.woff") format("woff"),
    font-display: swap;
}

@font-face {
  	font-family: "CodystarLight";
  	src: url("../fonts/codystar/codystar-light-webfont.woff") format("woff"),
    font-display: swap;
}
@font-face {
  	font-family: "Liberation";
  	src: url("../fonts/liberation/LiberationSerif-Regular-webfont.woff") format("woff");
    font-display: swap;
}
@font-face {
  	font-family: "OpenSans";
  	src: url("../fonts/open-sans/opensans-regular-webfont.woff2") format("woff2"),
        url("../fonts/open-sans/opensans-regular-webfont.woff") format("woff");
    font-display: swap;
}
@font-face {
  	font-family: "OpenSansBold";
  	src: url("../fonts/open-sans/opensans-bold-webfont.woff2") format("woff2"),
        url("../fonts/open-sans/opensans-bold-webfont.woff") format("woff");
    font-display: swap;
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  font-family: 'OpenSans', sans-serif;
  margin: 0;
  /*background-color: #f2f2f2;*/
  background-color: #fff;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}
body.voile {
  background-color: rgba(242, 242, 242, .8);
}
body.template-default, body.template-episode {
  overflow-y: auto;
}
.template-default section {
  padding: 2rem;
}
.note {
  font-family: 'Liberation', sans-serif;
}
.text-container {
  font-size: .7em;
  padding: 0 .2rem;
  background-color: #fff;
}
.motif .text-container {
  font-family: 'OpenSansBold', sans-serif;
  font-size: 25px;
  color: #b5ffe8;
}
.text-container a, .menu-episode a, #article-list a {
  text-decoration: none;
  color: #000;
}
.cadre a, .article .page a {
  font-size: 90%;
  color: #000;
}
.cadre .bouton-copie a.vers-formulaire {
  font-size: 100%;
  display: inline-block;
  width: 100%;
}
.bold-leger, .bouton-page {
  font-family: 'OpenSansBold';
  font-weight: 400;
}
.texte img:not(.picto), .texte .iframe {
  max-width: 100%;
  margin: 1rem 0;
}
ul {
  list-style: '- ';
}
strong {
  font-family: 'OpenSansBold';
  font-weight: 500;
}
.cadre .texte p, .page .texte p {
  display: inline-block;
  background: none;
  width: 100%;
}
/*.texte p:not(.sommaire-ep-auteur) .blanc {
  background-color: #fff;
}*/
/* EXCEPTIONS AU BLANC */
.texte .iframe p .blanc {
  background: none;
}

a.ext::after {
  content: url('../images/external-link-alt.svg');
  display: inline-block;
  width: 6px;
  position: relative;
  top: 0;
  margin: 0;
  margin-left: 3px;
  transform: translateY(-5px);
}
.texte a, .note a {
  color: inherit;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  text-decoration-skip-ink: none;
}


/*********/
/* CARTE */
/*********/
main {
  /*height: 100vh;*/
  position: relative;
  height: 100%;
  width: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../images/fond_cosmo.jpg');
  display: flex;}
  /*background-image:
    linear-gradient(to right, #ece7e7 1px, transparent 1px),
    linear-gradient(to bottom, #ece7e7 1px, transparent 1px);
  display: flex;
}*/
#container_drag {
  position: relative;
  height: 100%;
  /*height: 0;
  width: 0;
  margin: auto;
  overflow: visible !important;*/
}
#carte {
  position: relative;
  width: 10000px;
  height: 10000px;
  /*background-color: #fff;*/
  /*cursor: url('../images/curseur-grue.png') 32 5, move;*/
}
#voile {
  position: fixed;
  top: -100%;
  left: -100%;
  background-color: rgba(242, 242, 242, .8);
}
#voile.show {
  z-index: 9996;
  width: 300%;
  height: 300%;
}
.container {
  position: absolute;
  cursor: pointer;
  z-index: 1;
}
.container.inactif {
  pointer-events: none;
}
.container.hide, .container.hide-plus, .container.hide.hide-plus.devant {
  opacity: 0;
}
.container.hide.devant, .container.hide.show-saison {
  opacity: 1;
}
.bloc-pan {
  position: fixed;
  top: 0;
  left: 0;
}
.bloc-pan.block {
  z-index: 9999;
  width: 100%;
  height: 100%;
}

/**********/
/* Bulles */
/**********/
.bulle {
  z-index: 9999;
  touch-action: unset;
  position: fixed;
  top: 0;
  left: 0;
}
.phone .bulle {
  z-index: 10001
}
.bulle.open {
  width: 100vw;
  height: 100vh;
}
.cadre-wrapper {
  display: flex;
  position: absolute;
  padding: 40px 0 40px;
  margin: 2rem;
  width: calc(100% - 350px);
  max-width: 650px;
  min-height: 100px;
  max-height: calc(100% - 4rem);
  background-color: #e8e8e8;
  /*overflow: hidden;*/
  border: solid 1px;
  transform: translate(0);
}
.cadre-wrapper.devant {
  background-color: var(--bg-col);
}
/*.cadre-wrapper {
  background-color: var(--bg-colinactive);
}*/
/*.cadre-wrapper.devant, .template-episode .cadre-wrapper, .template-episode main {
  background: rgb(255, 241, 241);
}
.cadre-wrapper.pas-episode {
  margin: 3rem 30%;
  max-height: calc(100% - 6rem);
}
.cadre-wrapper.script.devant {
  background: rgb(184, 250, 184);
}
.cadre-wrapper.script {
  background: rgb(200, 226, 200);
}
.cadre-wrapper.motif.devant {
  background: rgb(205, 184, 250);
}
.cadre-wrapper.motif {
  background: rgb(204, 197, 219);
}
.cadre-wrapper.projet.devant {
  background: rgb(129, 199, 247);
}
.cadre-wrapper.projet {
  background: rgb(169, 192, 208);
}
.cadre-wrapper.visio.devant {
  background: rgb(251, 153, 153);
}
.cadre-wrapper.visio {
  background: rgb(214, 171, 171);
}
.cadre-wrapper.evenements.devant {
  background: rgb(164, 195, 255);
}
.cadre-wrapper.evenements {
  background: rgb(151, 168, 201);
}
.cadre-wrapper.contributions.devant {
  background: rgb(251, 246, 185);
}
.cadre-wrapper.contributions {
  background: rgb(222, 221, 207);
}*/
.cadre-wrapper.petit, .cadre-wrapper.script.petit, .cadre-wrapper.motif.petit, .cadre-wrapper.projet.petit, .cadre-wrapper.visio.petit, .cadre-wrapper.evenements.petit {
  background: #fff !important;
}

/*
.cadre-wrapper.petit {
  background: rgba(236, 228, 228, .75);
}
.cadre-wrapper.script.petit {
  background: rgba(200, 226, 200, .75);
}
.cadre-wrapper.motif.petit {
  background: rgba(204, 197, 219, .75);
}
.cadre-wrapper.projet.petit {
  background: rgba(169, 192, 208, .75);
}
.cadre-wrapper.visio.petit {
  background: rgba(214, 171, 171, .75);
}
.cadre-wrapper.evenements.petit {
  background: rgba(151, 168, 201, .75);
}
*/
.phone .cadre-wrapper, .phone .cadre-wrapper.pas-episode:not(.petit) {
  margin: 0;
  width: 100%;
  min-width: unset;
  max-height: 100%;
}
.phone .cadre-wrapper:not(.petit), .phone .cadre-wrapper.pas-episode:not(.petit) {
  top: 0 !important;
  left: 0 !important;
}

.cadre-wrapper.petit {
  position: fixed;
  bottom: 10px;
  min-width: unset;
  min-height: unset;
  width: 80px;
  height: 30px;
  padding: 0;
  padding-top: 30px;
  margin: 2px;
  transform: translate(0)!important;
  top: unset!important;
  overflow: hidden;
}
.cadre-wrapper.petit::after {
  content: attr(data-petit);
  position: absolute;
  top: 5px;
  left: 0;
  width: calc(100% - 20px);
  font-size: .8em;
  text-align: center;
}
.img-thumb {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 150px;
}
.img-thumb img {
  width: 100%;
}
.petit .img-thumb {
  display: none;
}

.cadre {
  max-height: 100%;
  width: 100%;
  overflow: hidden auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  margin: 0 1.5rem 0 calc(3rem + 6px);
  padding-right: 1.5rem;
  padding-top: 0;
  z-index: 1;
}
.cadre::-webkit-scrollbar {
  width: 6px;
  background: #f0f0f0;
}
.cadre::-webkit-scrollbar-thumb {
  background: #cdcdcd;
}
.cadre::-webkit-scrollbar-thumb:hover {
  background: #8a8686;
}
.phone .cadre {
  padding-bottom: 2rem;
}
/*.cadre * {
  width: 100%;
}*/
.cadre .en-tete {
  margin-bottom: 15px;
}
.cadre .texte {
  font-size: 90%;
  margin-top: 20px;
}
.cadre h2, .cadre h3, .cadre h4, .cadre h5, .cadre h6, .cadre p {
  display: inline;
  background-color: #fff;
  line-height: 1.6;
}
.cadre p.ep-auteur {
  display: inline-block;
  margin: 0;
}
.cadre h2.ep-title {
  display: inline-block;
  background: none;
  width: 100%;
  margin: 2rem 0 0.8rem;
}
.contributions .cadre h2.ep-title, .evenements .cadre h2.ep-title {
  margin-top: 0;
}
.cadre h2.ep-title p {
  background-color: #fff;
  margin: 0;
}
.contributions .cadre .ep-subtitle p, .evenements .cadre .ep-subtitle p {
  background-color: #e8e8e8;
  color: var(--colepnum);
}
.devant.contributions .cadre .ep-subtitle p, .devant.evenements .cadre .ep-subtitle p {
  background-color: var(--bg-col);
}


.cadre .img-container {
  display: inline-block;
  width: 100%;
  margin: 0;
  text-align: center;
  background-color: #e8e8e8;
}
.deblanchi {
  background-color: #e8e8e8;
}
.devant .cadre .img-container, .devant .deblanchi, .page .deblanchi {
  background-color: var(--bg-col);
}

/*.cadre .bold-leger {
  font-family: 'OpenSans', sans-serif;
  font-weight: 600;
}*/

.cadre.encadre .ep-title p, .ep-title p, .ep-auteur, .page h2 {
  border: solid 2px;
  padding: 0 .3rem;
}


/* pas-episodes */
.pas-episode .cadre .ep-title {
  font-family: 'OpenSansBold', sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.4;
}
.pas-episode .cadre img, .pas-episode .cadre .iframe {
  margin-top: 20px;
}
.evenements .title-wrapper {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: solid;
}
.cadre .evenements .texte {
  margin-top: 3rem;
}
/****************/

.auteurs-fonctions {
  position: relative;
  padding: 50px 0 35px;
  margin-top: 10px;
  border-top: solid;
}
.auteurs-fonctions::after {
  content: '';
  display: inline-block;
  position: absolute;
  bottom: -2px;
  width: 20px;
  border: solid 1px;
}
.ep-title {
  font-size: 1.3em;
}
.ep-auteur, .ep-subtitle, p.ep-num {
  font-size: 1em;
}
.fonction-wrapper {
  line-height: 1.2;
}
.fonction-wrapper:nth-of-type(1) {
  margin-top: .1rem;
}
p.ep-fonction {
  font-size: .75em;
  line-height: 1;
  font-family: 'OpenSansBold', sans-serif;
  font-weight: 400;
  margin: 0;
}
.reponse h3, .form-wrapper .texte p {
  font-size: 1.2em;
}
p.ep-num {
  /*font-size: .9em;*/
  color: var(--colepnum);
  background: none;
}
.cadre-wrapper.saisons .ep-num {
  text-transform: lowercase;
}

.croix, .fleche-cadre, .fleche-page {
  width: 36px;
  height: 36px;
  cursor: pointer;
  position: absolute;
  top: 2px;
  right: 2px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  justify-content: center;
}
.bar {
  display: inline-block;
  position: absolute;
  width: 50%;
  height: 2.5px;
  background: #000;
  border-radius: 20px;
}
.bar:nth-of-type(1) {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.bar:nth-of-type(2) {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.fleche-cadre {
  right: 40px;
  width: 30px;
}
.petit:not(.article-main) .croix {
  display: none;
}
.petit .fleche-cadre {
  height: 100%;
  width: 20px;
  right: 0;
  top: 0;
  transform: rotate(180deg);
}
.fleche-cadre .bar, .fleche-page .bar {
  position: relative;
  width: 50%;
}
.fleche-cadre .bar:nth-of-type(1) {
  left: 5px;
}
.croix:hover .bar, .fleche-cadre:hover .bar, .fleche-page:hover .bar {
  background: rgb(120,120,120);
}
.fleche-page {
  right: unset;
  left: 10px;
  width: 30px;
}
.fleche-page .bar:nth-of-type(1) {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  left: 2px;
}
.fleche-page .bar:nth-of-type(2) {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
  left: -3px;
}
.fleche-page.reduction {
  -webkit-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg);
}
.petit .fleche-page.reduction {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}
.saison-titre-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.fleche-page.fleche-saison {
  position: relative;
  top: 0;
  left: 0;
}
.fleche-saison.open {
  transform: rotate(180deg);
}

.desktop .deplace-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  cursor: grab;
}
.petit .deplace-wrapper {
  pointer-events: none;
}
.desktop .deplace {
    box-sizing: border-box;
    position: absolute;
    top: 7px;
    left: 10px;
    cursor: -webkit-zoom-grab;
    cursor: grab;
    display: block;
    transform: scale(var(--ggs,1));
    width: 14px;
    height: 14px;
    box-shadow:
        -6px -6px 0 -4px,
        6px 6px 0 -4px,
        6px -6px 0 -4px,
        -6px 6px 0 -4px
}
.desktop .deplace::after,
.desktop .deplace::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 22px;
    height: 2px;
    border-left: 8px solid;
    border-right: 8px solid;
    transform: rotate(-45deg);
    bottom: 6px;
    left: -4px
}
.desktop .deplace::before {
    transform: rotate(45deg)
}
.bouton-copie {
  margin-top: 1rem;
  text-align: center;
}
.bouton-copie .button {
  width: 100%;
}
.copy-result {
  font-size: 80%;
  margin-top: .5rem;
}
/*.article .page .bouton-copie a, .cadre .bouton-copie a {
  font-size: 11px;
}*/

/* IFRAME */
.cadre .iframe {
  position: relative;
  display: flex;
  /*height: 158px;*/max-width: 561px;max-height: 320px;
  background-size: cover;
  background-repeat: no-repeat;
}
@media only screen and (min-width: 880px) {
  .cadre .iframe {
    height: calc(17vw + 2rem);
  }
}
.confirmation {
  position: absolute;
  width: 100%;
  max-width: 100%;
  height: 100%;
  /*background-color: rgba(202, 204, 204, .5);*/
  background-size: cover;
  border-radius: 10px;
  /*padding: 0.5rem;*/
  display: flex;
  justify-content: center;
  align-items: center;
}
.confirmation .rgpd {
  position: absolute;
  width: 75%;
  color: #fff !important;
  font-size: .75em;
  font-weight: 300;
  text-align: center;
  line-height: 1.5;
  word-spacing: -0.024;
}
/*.confirmation:hover {
  background-color: rgba(120, 122, 122, .8);
}*/
.confirmation .rgpd p {
  display: inline;
  background-color: #000;
}
.confirmation.disparait {
  z-index: -1;
  opacity: 0;
}
.cadre iframe {
  border: none;
  width: 100%;
}


/*********/
/* Pages */
/*********/
.page {
  z-index: 10000;
  position: fixed;
  left: 100%;
  top: 0;
  width: 50%;
  height: 100vh;
  margin: 0;
  padding: 30px 0 30px;
  background-color: var(--bg-col);
  box-shadow: #515151 0 0 0;
  overflow: hidden;
  transition: left 1s, box-shadow 1s;
}
.phone .page, .phone #manifeste {
  width: 100%;
}
.phone .page.show, .phone #manifeste.show {
  left: 0;
}
.page-wrapper {
  max-height: 100%;
  overflow: hidden auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}
.page-wrapper::-webkit-scrollbar {
  width: 6px;
  background: #f0f0f0;
}
.page-wrapper::-webkit-scrollbar-thumb {
  background: #cdcdcd;
}
.page-wrapper::-webkit-scrollbar-thumb:hover {
  background: #8a8686;
}
.page-wrapper.petite-page {
  padding: 0 1rem 2rem 4rem;
  margin-right: 1rem;
}
.page-wrapper.grande-page {
  padding: 0 6rem 2rem;
  padding-right: calc(4rem - 6px);
  margin-right: 2rem;
}
.phone .page-wrapper.grande-page {
  padding: 0 4rem 2rem;
  padding-right: calc(2rem - 6px);
}
#saisons, #hors-saisons, .page-secondaire {
  width: 280px;
}
.phone #saisons, .phone #hors-saisons, .phone .page-secondaire {
  width: 75%;
}
.page.show {
  box-shadow: #515151 0 0 50px;
  left: 50%;
  transition: left 1s, box-shadow 1s;
}
#saisons.show, #hors-saisons.show, .page-secondaire.show {
  left: calc(100% - 280px);
}
.phone #saisons.show, .phone #hors-saisons.show, .phone .page-secondaire.show {
  left: 25%;
}
.page.show.petit, #saisons.show.petit, #hors-saisons.show.petit, .page-secondaire.show.petit {
  left: calc(100% - 50px);
}
.menu-saison ul {
  height: 0;
  overflow: hidden;
}
.menu-saison ul.show {
  height: auto;
}
/*.fleche-wrapper {
  position: absolute;
  top: 5px;
  left: 10px;
  width: 17px;
}
.fleche-page {
  position: relative;
  margin-left: 17px;
  margin-top: 2px;
  width: 2px;
  height: 16px;
  background-color: #333333;
}
.fleche-page:before, .fleche-page:after {
  content: '';
  display: block;
  position: absolute;
}
.fleche-page:before {
  width: 11px;
  height: 2px;
  top: 7px;
  left: -15px;
  background-color: #333333;
}
.fleche-page:after {
  width: 0;
  height: 0;
  left: -5px;
  top: 5px;
  border-top: solid 3px transparent;
  border-right: solid 3px transparent;
  border-bottom: solid 3px transparent;
  border-left: solid 3px #333333;
}
.petit .fleche-page {
  transform: rotate(180deg);
  margin-left: 0;
}*/
.bouton-page, .menu-episode, .fleche-page, .menu-formulaire {
  cursor: pointer;
}
/*#contribuer .bouton-page {
  position: static;
  font-size: unset;
  font-family: 'OpenSans';
}*/

.page article {
  line-height: 1.6;
}
.page ul, .page ol {
  padding-left: 0;
}
#saisons ul, #hors-saisons ul, #evenements ul, #contribuer ul {
  list-style: none;
}
.menu-saison ul {
  margin-top: .3rem;
}
.page h2, .page p {
  display: inline;
  background-color: #fff;
}

#mentions h2, #mentions p {
  background: none;
}
#mentions .texte h2 {
  display: block;
}
.page header {
  margin: calc(3rem - 30px) 0 3rem;
}
.page h2 {
  font-size: 2em;
}
.page.page-secondaire h2 {
  font-size: 1.5em;
  padding: 0 .2rem;
  line-height: 1.6;
}


/* PAGE ARCHIFICTIONS */
#archifiction .texte {
  font-family: 'OpenSans', sans-serif;
  font-weight: 400;
}


/* TEMPORAIRE !!! (bouton "mentions légales")*/
#archifiction .bouton-wrapper {
  text-align: right;
}
.bouton-page.mentions {
  font-family: 'OpenSans';
  font-size: .9em;
  font-style: italic;
  position: relative;
}


/********/
/* MENU */
/********/
.menu-principal {
  z-index: 9997;
  position: fixed;
  top: 0;
  right: 8%;
  height: 100%;
  width: 16%;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.menu-principal .bouton-page {
  display: inline-block;
  font-size: 20px;
  background: #fff;
  opacity: 1;
  border: solid 1px #000;
  pointer-events: auto;
  margin: 5px 0;
  padding: 0 .3em;
}
.voile .menu-principal .bouton-page {
  opacity: .1;
}
.menu-principal .bouton-page.hide {
  opacity: 0;
}
/* MENU MOBILE */
.custom-wrapper {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.custom-toggle {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  display: none;
}
a.custom-toggle {
  -webkit-transform-origin: center;
          transform-origin: center;
}
.custom-toggle.x {
  width: 3.5rem;
  height: 3rem;
}
#toggle p {
  margin: 0;
  font-size: 1rem;
  -webkit-transform: translateY(5px);
          transform: translateY(5px);
}
.custom-toggle .bar {
  background-color: #fff;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 100px;
  position: absolute;
  top: calc(1.5rem + 2px);
  right: 14px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transform: rotate(0);
          transform: rotate(0);
}
.custom-toggle .bar:first-child {
  -webkit-transform: translateY(-6px);
  transform: translateY(-6px);
}
.custom-toggle.x .bar {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.custom-toggle.x .bar:first-child {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
@media screen and (max-width:48em) {
  .custom-wrapper {
    overflow: hidden;
    height: 3rem;
    width: 3rem;
    background-color: rgba(0, 0, 0, .3);
    top: 5px;
    right: 5px;
    pointer-events: auto;
    justify-content: center;
    align-items: flex-start;
  }
  .custom-wrapper.open {
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
  }
  .custom-toggle {
    display: block;
    z-index: 99;
  }
  header nav {
    height: 100vh;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .menu-list.flex-row {
    flex-direction: column;
    padding-left: 0;
  }
}
/**********************************/







#saisons nav {
  line-height: 1.2;
}
.menu-saison {
  margin-top: 1rem;
}
.menu-saison-titre {
  font-family: 'OpenSansBold';
  font-weight: 600;
  font-size: 1.1em;
  border: solid 1px;
  cursor: pointer;
  padding: 0 .3rem;
  text-transform: lowercase;
}
.menu-evenements .menu-saison-titre {
  text-transform: lowercase;
}
.menu-saison-titre:hover, .menu-saison-titre.selected {
  border-width: 2px;
}
.menu-episode:not(.sommaire-episode) {
  font-size: .9em;
  padding: .3rem 0 .3rem 0;
}
.menu-episode:hover, .menu-formulaire:hover {
  font-family: 'OpenSansBold';
}
.menu-saison-titre:hover {
  border-width: 2px;
}
#saisons .menu-episode {
  width: calc(70px + .6rem);
}
#hors-saisons .menu-episode {
  width: calc(107px + .6rem);
}
.menu-episode:not(.menu-evenements, .sommaire-episode) span {
  display: inline-block;
  padding-left: .3rem;
}
.page:not(.page-secondaire) .menu-episode span {
  width: 100%;
}
.menu-formulaire {
  list-style: none;
  margin-bottom: .5rem;
}
.menu-formulaire.selected .titre-form-wrapper, .menu-episode .selected, .menu-saison-titre.selected, .menu-saison-titre.selected-in {
  background-color: #fff;
}
.selected.menu-formulaire .titre-form-wrapper span, .article .page .selected.menu-article p, .menu-evenements .selected.titre-form-wrapper span {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#script .selected.menu-formulaire .titre-form-wrapper span {
  background-color: #b8fab8;
}
#motif .selected.menu-formulaire .titre-form-wrapper span {
  background-color: #cdb8fa;
}
#evenements .menu-episode .selected.titre-form-wrapper span {
  background-color: #a4c3ff;
  padding: 0;
  text-transform: lowercase;
}
#contribuer .menu-episode .selected.titre-form-wrapper span {
  background-color: #fbf6b9;
  padding: 0;
  text-transform: lowercase;
}
#projet .selected.menu-formulaire .titre-form-wrapper span {
  background-color: #81c7f7;
}
#visio .selected.menu-formulaire .titre-form-wrapper span {
  background-color: #fb9999;
}
/*#script .menu-formulaire.selected span, #fondation .menu-formulaire.selected span {
  background-color: #000;
}*/

/*************/
/* SOMMAIRES */
/*************/
/* Menu */
.sommaire-titre-wrapper {
  display: inherit;
}
/* Fenêtres */
.sommaire-episode {
  display: flex;
}
.sommaire-ep-titre {
  width: 110px;
}
.sommaire-ep-titre .blanc {
  padding-right: 3px;
}
.sommaire-ep-infos {
  width: calc(100% - 110px);
}
.cadre .texte .sommaire-ep-titres-wrapper p {
  display: inline;
  line-height: 1.2;
}
.sommaire-titres-separateur {
  background-color: #fff;
}
.sommaire-ep-auteur {
  margin-top: .5rem;
  margin-bottom: 2.5rem;
}

/**********************/
/* FORMULAIRES/SCRIPT */
/**********************/
.reponses-script {
  margin-top: 25px;
}
.reponse {
  margin: 1rem 0;
}
.reponse .texte {
  margin-top: 10px;
}

#script #contact {
  display: none;
}
.form-wrapper {
  margin-top: 3rem;
}
#contact {
  margin-top: 1rem;
}
.form-field {
  margin: .5rem 0;
}
.pure-form.long, .form-spacer, .form-field.captcha, .buttons, .notices {
  width: 80%;
  min-width: 240px;
}
.notices {
  padding-left: 15px;
}
.pure-form.long {
  padding: 3px;
  border: solid #000 1px;
}
input {
  height: 27px;
}
textarea {
  height: 170px;
}

.form-spacer {
  line-height: 1;
}
.form-spacer p {
  font-size: 8pt;
  margin-bottom: 25px;
  /*line-height: 1;*/
}
.form-wrapper .bouton-page {
  position: relative;
  font-family: inherit;
  font-size: inherit;
  font-style: italic;
}
.form-field.captcha {
  margin-bottom: 10px;
  height: 0;
  font-size: 9pt;
  overflow: hidden;
}
.form-field.captcha.show {
  height: auto;
}
.captcha .form-data {
  display: flex;
}
.captcha .radio {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}
.captcha .radio input {
  margin: 0;
  margin-right: .2rem;
}
.form-result p {
  margin: .2rem 0;
}
.buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.button, .cadre .button a, .article .page .button a, .template-article .button.retour {
  text-align: left;
  font-size: 13.33px;
}
.button {
  margin: 1rem 0;
}
.bouton-copie a span {
  padding-right: 1rem;
}
.bouton-copie a.ext::after {
  left: -1rem;
}
.button span {
  display: inline-block;
  cursor: pointer;
  margin: 0 0 .5rem 0;
  border: solid #000 1px;
  border-radius: unset;
  background-color: #fff;
  padding: 1px .3rem 3px;
}




/*************/
/* FONDATION */
/*************/
.fondation-img {
  position: absolute;
  top: -4rem;
  left: -5rem;
}


/****************************************/
/* PAGES AUTONOMES EPISODES ET ARTICLES */
/****************************************/
.template-episode .note-container h2 {
  font-size: 1.2em;
}
.template-episode main, .template-blog main {
  display: flex;
  justify-content: center;
}
.template-episode .bouton-copie a, .template-article .bouton-copie a {
  display: none;
}
.template-episode nav, .template-blog nav, .template-article aside nav, .template-article .retour {
  text-align: center;
}
.template-episode nav a, .template-blog nav a, .template-article aside nav a {
  font-size: 14px;
}
.template-article .article-main .croix:not(.croix-image) {
  display: none;
}
.template-article #article-list .menu-article {
  cursor: auto;
}
.retour {
  display: none;
}
.template-article .retour {
  display: block;
  margin-top: 1rem;
}
.template-article #article-list .retour {
  text-decoration: underline;
  line-height: 1.2;
}
.template-article .title-wrapper .retour {
  margin: 0;
  margin-bottom: 1rem;
  text-align: left;
}
.template-article .title-wrapper .retour a {
  color: #000;
}

/************/
/* ARTICLES */
/************/
.bulle-article {
  position: fixed;
  top: 0;
}
.bulle-article.open {
  z-index: 10001;
  width: 100%;
  height: 100%;
}
.article-main {
  position: absolute;
  left: 10%;
  display: flex;
  height: 100%;
  width: 90%;
  background-color: #fff;
  transition: left 1s;
}
.article-main.hide {
  left: 100%;
}
.article-main article {
  position: relative;
  left: -6rem;
  width: 100%;
  padding: 3rem 6rem;
  padding-left: 12rem;
  margin-right: 6rem;
  margin-top: 1.5rem;
  overflow: hidden auto;
  scrollbar-width: thin;
  display: flex;
  flex-flow: row wrap;
  scroll-behavior: smooth;
  transition: left 1s;
}
.article-main article::-webkit-scrollbar {
  width: 6px;
  background: #f0f0f0;
}
.article-main article::-webkit-scrollbar-thumb {
  background: #cdcdcd;
}
.article-main article::-webkit-scrollbar-thumb:hover {
  background: #8a8686;
}
.article-main.petit article {
  left: 0;
}

.article .title-wrapper {
  width: 100%;
  padding-bottom: 2rem;
  border-bottom: solid;
}
.article .content-wrapper, .article .note-container.bas {
  width: 700px;
  max-width: calc(100% - 100px - 3rem);
}
.article .note-container.aside {
  position: relative;
  top: 5rem;
  margin-left: 3rem;
  width: calc(100% - 700px - 3rem);
  min-width: 100px;
  max-width: 175px;
}
.article .note, .article .ref {
  color: #919191;
}
.article .note.noir, .article .ref.noir {
  color: #000;
}
.article .note {
  font-size: 14px;
  line-height: 1.2;
  color: #919191;
}
.article .aside .note {
  margin: 0 0 1rem;
  position: absolute;
}
.article-main .ep-title, .article-main .ep-title p, .article-main .ep-subtitle {
  margin: 0;
}
.article-main .ep-title {
  font-size: 1.8em;
}
.article-main .ep-title p {
  display: inline;
}
.article-main .ep-subtitle {
  font-size: 1.1em;
}
.article-main .texte {
  margin-top: 5rem;
  line-height: 1.5;
}

/*.article-main .texte a, .article .note a {
  color: inherit;
  text-decoration: none;
}*/
.article-img-wrapper {
  position: relative;
}
.article-main .texte .img-container {
  position: absolute;
  opacity: 0;
  transform: translate(0);
  pointer-events: none;
  cursor: grab;
}
.phone .article-main .texte .img-container {
  position: fixed;
  z-index: 1000000;
}
.article-main .croix.croix-image {
  position: absolute;
  top: 16px;
  right: 0;
  /*background: radial-gradient(circle, rgba(0,0,0,.6) 0%, rgba(255,255,255,0) 100%);*/
}
/*.croix-image .bar:first-of-type::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  transform: rotate(90deg);
  box-shadow: #000 0 0 5px;
}
.croix-image .bar:first-of-type {
  box-shadow: #000 0 0 5px;
}*/
.croix-image .bar {
  background: #fff;
}
.article-main .texte img {
  max-width: 600px;
  max-height: 600px;
}
.lien-pdf a {
  display: inline-block;
  width: 100%;
  margin-top: 1rem;
}
@media only screen and (max-width: 700px) {
  .article-main .texte img {
    max-width: 350px;
    max-height: 350px;
  }
}
.phone .article-main .texte img {
  max-width: 350px;
  max-height: 400px;
}
.article-main .texte .img-container.show {
  opacity: 1;
  z-index: 1000000;
  width: auto;
  pointer-events: auto;
}
.avant-image {
  text-decoration: underline;
  cursor: pointer;
}
/*.picto-wrapper {
  position: relative;
  margin: 15px;
}
.picto {
  max-height: 20px;
}
.picto-wrapper img:not(.picto) {
  position: fixed;
  width: 0;
  max-width: unset;
  opacity: 0;
}
.picto-wrapper img.show:not(.picto) {
  opacity: 1;
  z-index: 1;
  width: auto;
}*/

.galerie {
  display: flex;
  flex-flow: row wrap;
}
.galerie .img-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 10px 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.texte .img-wrapper img {
  max-width: unset;
  min-width: 100%;
  min-height: 100%;
}

/*.article-main aside .page-wrapper {
  overflow: visible;
}*/
.article .page {
  background-color: #e1e1e1;
  position: relative;
  padding: 2.5rem;
  padding-right: 1.25rem;
}
.article-main aside.page {
  position: absolute;
  left: 50%;
  width: 50%;
  padding: 4rem 6rem;
  box-shadow: #515151 0 0 50px;
}
.article-main aside.page .page-wrapper {
  height: 100%;
}
.article-main aside.page .page-wrapper {
  padding-right: 3rem;
}
.article-main aside.page .wrapper {
  position: relative;
  padding: 11rem 0 5rem;
  min-height: 100%;
}
.article-main.petit aside.page {
  left: calc(100% - 50px);
}
.article-main .croix {
  position: fixed;
  top: 0;
  right: 65px;
  height: 30px;
}
.article .ep-num, .article .bouton-page {
  margin: 5px 0;
}
.article .ep-num {
  text-align: right;
  position: absolute;
  top: 0;
}
.article .ep-num span {
  padding: 0 .2rem;
  border: solid 1px;
}
.article .page p, .ep-liens a {
  display: inline-block;
  background: none;
  width: 100%;
}
.article .article-citation .citation-conteneur {
  line-height: 1.2;
  background-color: #fff;
  font-size: 14px;
}
.article-citation {
  padding: 0 1.5rem;
}
.article .article-citation p {
  display: inline;
  font-size: 13px;
}
.article p.ep-fonction, .article .page p:not(.bouton-page) span, .article .ep-resume {
  font-size: .8em;
}
.article .page p.ep-auteur {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}
.article .page p.ep-auteur span {
  display: inline-block;
  font-family: 'OpenSansBold', sans-serif;
  font-size: 1.7rem;
  border: solid 2px;
  padding: 0 .3rem;
}
.article p.ep-fonction {
  font-size: 1em;
  margin: 0 0 4rem;
}
.article .ep-biographie {
  font-size: 1.1rem;
  line-height: 1.2;
}
.article .ep-biographie, .article .ep-resume {
  margin: 0 0 1.5rem;
}
.article .ep-resume p {
  display: inline;
  background-color: #fff;
  line-height: 1.1;
  margin: 0;
}
.article .ep-resume p::after {
  content: '';
  display: block;
  margin: 2.5px 0;
}
.article .ep-resume p:last-child::after {
  content: '';
  display: block;
  margin: 0;
}
.article p.ep-liens {
  font-style: italic;
  margin: 0;
}
.article p.ep-liens a {
  text-decoration: none;
}
/*.article .inwrapper {
  padding: 0 2.25rem 1rem 1rem;
}*/
.article .en-tete {
  border-bottom: solid;
}
article .ep-liens {
  border-top: dashed  #cdcdcd;
}

.article .page p span, .menu-article.selected *, #article-list h3 {
  color: #000;
  background-color: #fff;
  display: inline;
}
.menu-article .titre-form-wrapper p {
  display: inline;
}
.article .bouton-page {
  position: absolute;
  font-family: 'OpenSans', sans-serif;
  bottom: 0;
  left: 0;
  font-size: .9rem;
}
.article .bouton-page span {
  border: solid 1px;
  padding: 0 .2rem;
}

#article-list {
  width: 18%;
}
#article-list.show {
  left: 82%;
}
#article-list h3 {
  font-size: 1.3em;
}
#article-list ul {
  list-style: none;
  padding: 0;
}
.menu-article * {
  margin: 0;
}
.menu-article {
  margin: 4px 0;
  font-size: .9em;
  cursor: pointer;
}
.menu-article p {
  background-color: unset;
}
.selected.menu-article p {
  background-color: #e1e1e1;
}


/*********/
/* NOTES */
/*********/
mark {
  background: none;
}
.backref, .backnote {
  color: var(--note-col);
}
.rappel {
  display: block;
  text-transform: capitalize;
}

.cadre .note-container {
  margin-top: 2rem;
  font-size: .9em;
}
.ref {
  margin-left: -1px;
}
.ref sup {
  line-height: 80%;
}
.ref, .note {
  cursor: pointer;
}
#manifeste .ref, #manifeste .note {
  opacity: .8;
}
.note-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.note-container ul a {
  color: inherit;
  word-break: break-all;
}

/***************/
/* MODE MOBILE */
/***************/
@media only screen and (max-width: 1024px) {
  .article .content-wrapper, .article .note-container.bas {
    width: 384px;
    max-width: unset;
  }
  .article .note-container.aside {
    display: none;
  }
}
@media only screen and (max-width: 48em) {
  #saisons.show, #hors-saisons.show, .page-secondaire.show {
    left: 25%
  }
  #saisons, #hors-saisons, .page-secondaire {
    width: 75%
  }
  /*.bulle {
    z-index: 10001;
  }*/
  .cadre-wrapper, .cadre-wrapper.pas-episode:not(.petit) {
    margin: 0;
    width: 419px;
    max-width: 100%;
    min-width: unset;
    max-height: 100%;
  }
  .cadre-wrapper:not(.petit) {
    top: 0 !important;
    left: 0 !important;
  }
  .cadre .iframe {
    height: calc(40vw + 2rem);
  }

  /* ARTICLES */
  .article-main {
    left: 0;
    width: 100%;
  }
  .article-main article {
    left: 0;
    padding: 3rem 3rem;
    padding-right: 1.5rem;
    margin-right: 1.5rem;
    width: calc(100% - 50px);
    transition: width .5s;
  }
  .article-main aside.page {
    left: 5rem;
    width: calc(100% - 5rem);
    padding-left: 50px;
    padding-right: 25px;
  }
  .article-main.petit aside.page {
    box-shadow: unset;
  }
  .article-main aside .page-wrapper {
    padding-right: 25px;
  }
  .article .content-wrapper, .article .note-container.bas {
    width: 100%;
  }
  #article-list {
    width: calc(100% - 5rem);
  }
  #article-list.show {
    left: 5rem;
  }
}


.cadre h2.ep-title, .article-main .ep-title, .cadre h2.ep-title p, .article-main .ep-title p {
  line-height: 1.2;
}
.cadre h2.ep-title p, .article-main .ep-title p {
  padding: .3rem;
  display: inline-block;
}
.article-main .ep-subtitle {margin-top: .8rem}
.cadre.encadre .ep-title p, .ep-title p, .page h2 {border: solid 3px}

h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: 600;
  margin: 0;
}
p {
  margin-top: 0;
}
