/*
 page map :

      main 
      -> nav                            [ see navbar.css ]
      -> carousel                       [ see carousel.css ]

      -> focus-article.html
        -> text-container-scrollbag
          -> text-container             [ see diaporama.css and calitem.css ]

   OR -> focus-rubrique.html
        -> text-container-scrollbag
          -> text-container

   OR -> focus-evenements.html
        -> event-container-scrollbag
           -> event-container           [ see timeline.css and calitem.css ]

 */
@import url("navbar.css");
@import url("carousel.css");
@import url("timeline.css");
@import url("diaporama.css");
@import url("calitem.css");
/*
 * fonts
 */
@font-face {
  font-family: "MegrimMedium";
  src: url("../font/MegrimMedium.ttf") format("truetype");
  font-weight: normal;
  font-size: normal;
  /* src: url("/assets/fonts/megrim/7c7ebbace2b20afe253743b779da3044/c7bb56ac0f25b99edffbab43ba943e45/MegrimMedium.ttf") format("truetype"); */ }

@font-face {
  font-family: "CantarellRegular";
  src: url("../font/CantarellRegular.otf") format("opentype");
  font-weight: normal;
  font-size: normal;
  /* src: url("https://fontlibrary.org//assets/fonts/cantarell-v16/0afecc13809b395e9ce7bb1521ef7e86/83fa1e1010051cebe952d6ba958434f6/CantarellRegular.otf") format("opentype"); */ }

@font-face {
  font-family: "AveriaRegular";
  src: url("../font/AveriaRegular.ttf") format("truetype");
  font-weight: normal;
  font-size: normal;
  /* src: url("https://fontlibrary.org/assets/fonts/averia/dc61396d0f8e3b0130933b1227022c20/912c25a8d8247523a59280df83f09841/AveriaRegular.ttf") format("truetype"); */ }

/*
 * page-wide tweaks
 */
.spip-admin-float {
  z-index: 1040 !important;
  right: 50% !important; }

a, a:hover {
  color: #05c4ff; }

span.ony {
  font-family: 'MegrimMedium';
  font-weight: bold;
  font-size: 1.3em; }

.img-fluid {
  margin: 3px; }

dl.spip_documents_center {
  text-align: center; }

table {
  width: calc(100% - 2em);
  margin: 0 1em; }

blockquote {
  font-style: italic;
  margin-left: 3em; }

blockquote cite {
  display: block;
  text-align: right;
  font-style: normal;
  padding-right: 5em; }

span.badge-warning {
  background-color: transparent;
  color: #ffc107;
  border: 1px solid; }

.btn-secondary {
  background-color: #ffc107;
  color: black; }

.btn-secondary:hover {
  background-color: rgba(255, 193, 7, 0.7);
  color: black; }

body {
  background-color: black; }

/* 
 * text-container - see also diaporama.css and timeline.css
 */
.text-container-scrollbag {
  position: absolute;
  top: 0;
  right: 0;
  max-height: 100vh;
  width: 100vw;
  padding-top: calc(100vh - 8em);
  font-family: 'AveriaRegular';
  font-size: 1.1em;
  overflow-y: scroll;
  mask-image: linear-gradient(to bottom, black calc(100% - 3em), transparent calc(100% - 1em)); }

.text-container-scrollbag::after {
  content: " ";
  display: block;
  height: 2.5em;
  width: 100%; }

.text-container {
  display: flex;
  flex-direction: column; }

.text-container > section {
  width: 90vw;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 1em; }

@media (min-width: 768px) {
  /* bootstrap-sm */
  .text-container > section {
    width: 45vw;
    margin-left: 50vw; }
  /* Even sections will have a trapeze appended : */
  .text-container > section:nth-child(2n)::after {
    content: "";
    display: block;
    margin-bottom: -4em;
    margin-left: -1em;
    border-top: 3.05em solid rgba(0, 0, 0, 0.8);
    border-left: 45vw solid;
    color: transparent; }
  /* Odd sections will have a trapeze prepended starting with the 3rd : */
  .text-container > section:nth-child(2n+3)::before {
    content: "";
    display: block;
    margin-top: -4em;
    margin-left: -1em;
    border-bottom: 3.05em solid rgba(0, 0, 0, 0.8);
    border-right: 45vw solid;
    color: transparent; }
  /* Odd sections will have a trapeze appended starting with the 3rd : */
  .text-container > section:nth-child(2n+3)::after {
    content: "";
    display: block;
    margin-bottom: -4em;
    margin-left: -1em;
    border-top: 3.05em solid rgba(0, 0, 0, 0.8);
    border-right: 45vw solid;
    color: transparent; }
  /* Even sections will have a trapeze prepended starting with the 2nd : */
  .text-container > section:nth-child(2n+4)::before {
    content: "";
    display: block;
    margin-top: -4em;
    margin-left: -1em;
    border-bottom: 3.05em solid rgba(0, 0, 0, 0.8);
    border-left: 45vw solid;
    color: transparent; }
  /* The last section will have nothing appended : */
  .text-container > section:last-child::after {
    display: none; }
  .text-container > section.left {
    margin-left: 5vw; } }

.text-container > section > .titre {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* get back the margin excess of the title section. */
  margin-bottom: -1em; }

.text-container > section > .titre > button {
  margin-left: auto; }

.text-container > section > .titre > span.badge {
  margin-left: 1em;
  align-self: start;
  flex-basis: min-content; }

.text-container-after {
  height: 5vh; }

#dates {
  display: flex;
  align-items: center;
  margin-top: 0.5em;
  padding: 1em;
  background-color: rgba(255, 255, 255, 0.2); }

.auteur {
  margin-top: 1.5em; }

.modal {
  background-color: rgba(255, 255, 255, 0.2); }

.modal-content {
  background-color: black;
  color: white; }

/*
 * event-container - see also timeline.css
 */
.event-container-scrollbag {
  display: flex;
  align-items: center;
  padding-top: calc(100vh - 6em);
  color: white;
  margin-left: 3vw; }

.event-container {
  position: relative; }

.event-container::after {
  content: "";
  display: block;
  height: 6em; }

.event-container > div {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1em;
  max-width: 25em; }

.event-title {
  display: flex;
  padding: 15px; }

.event-description {
  padding: 0.5em;
  font-family: "AveriaRegular";
  font-size: 1.1em; }

/*
 * footer - not in use anymore
 */
.footer-footprint {
  background-color: transparent;
  content: "";
  display: block;
  height: 25vh;
  width: 100vw; }

.footer {
  position: fixed;
  bottom: 0;
  height: 25vh;
  width: 120vw;
  z-index: -2; }
