@charset "UTF-8";
/**
 * Styles globaux : layout (grid body/main), scroll smooth, composants communs (scroll-top, titres, flex, chat),
 * surcharges DSFR, messages flash, formulaire, etc. Chargé depuis app.js.
 */
body, html {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

:root {
  scroll-behavior: smooth;
}

main {
  position: relative;
}

.fr-content-media {
  margin: 0 !important;
}

.fr-fi--xl:after, .fr-fi--xl:before {
  --icon-size: 3rem !important;
}

.scroll-top {
  position: absolute;
  top: 120vh;
  bottom: 2rem;
  right: 0.5rem;
}

.scroll-top__link {
  position: fixed;
  right: 0;
  top: 90vh;
  text-decoration: none;
  border-radius: 0.25rem;
  background-color: #eeeeee;
  padding: 5px;
  color: #000000;
  font-weight: 700;
  opacity: 0.8;
  border: 2px solid white;
}

a.scroll-top__link:hover {
  opacity: initial;
  background-color: #f6f6f6 !important;
  --underline-hover-width: var(--underline-max-width) !important;
}

.scroll-top-visible {
  animation: fadeInRight 1s cubic-bezier(0.77, 0, 0.175, 1) 1;
}

.scroll-top-invisible {
  animation: fadeOutRight 1s cubic-bezier(0.77, 0, 0.175, 1) 1;
}

.title-page {
  margin-top: 1.5rem !important;
  margin-bottom: 3rem !important;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: normal;
}

.flex-middle {
  display: flex;
  align-items: center;
}

#content-no-message, #content-need-auth, #content-loading-chat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.text-center {
  text-align: center;
}

.text-lowercase {
  text-transform: lowercase;
}

.fr-content-media {
  margin: 0 !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.td-text-center {
  text-align: center !important;
}

/* Ne pas oublier de rajouter le nombre de ligne voulues sur l'élement
   exemple : style="--nb-ligne:2;" affichera sur 2 lignes
*/
.text-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-line-clamp: var(--nb-ligne);
  -webkit-box-orient: vertical;
  white-space: normal;
}

.fr-btn--loading {
  color: transparent !important;
  pointer-events: none;
  position: relative;
}
.fr-btn--loading::after {
  animation: spin-rotate 500ms infinite linear;
  border: 2px solid var(--text-inverted-blue-france);
  border-radius: 9999px;
  border-right-color: transparent;
  border-top-color: transparent;
  content: "";
  display: block;
  height: 1em;
  width: 1em;
  left: calc(50% - 0.5em);
  top: calc(50% - 0.5em);
  position: absolute !important;
  mask-image: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.fr-btn--loading.fr-btn--close::after, .fr-btn--loading.fr-btn--display::after, .fr-btn--loading.fr-btn--fullscreen::after, .fr-btn--loading.fr-btn--secondary::after, .fr-btn--loading.fr-btn--tertiary::after, .fr-btn--loading.fr-btn--tertiary-no-outline::after {
  border-left-color: var(--text-action-high-blue-france);
  border-bottom-color: var(--text-action-high-blue-france);
}
.fr-btn--loading.fr-btn:disabled::after {
  border-left-color: var(--text-disabled-grey);
  border-bottom-color: var(--text-disabled-grey);
}

.spinner {
  width: 30px;
  height: 30px;
  border: 4px solid var(--text-default-error);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: spin-rotate 1s linear infinite;
}

@keyframes spin-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.cst-img__div-flex-center {
  display: flex;
  justify-content: center;
}

.cst-border {
  border-color: black;
  border-radius: 10px 10px;
}

.cst-badge-footer-viewer {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.cst-badge-flux-direct {
  color: #FFFFFF;
  background-color: #ce0500;
}

.cst-badged-title {
  color: var(--grey-850-200);
  left: 50%;
  padding: 5px 10px;
}

.cst-back-light-radius {
  opacity: 0.8;
  border-radius: 15px;
}

.cst-background-blue-ecume-main {
  background-color: var(--blue-ecume-main-400);
}

.cst-text-grey-1000 {
  color: var(--grey-1000-50) !important;
}

.cst-nav__item--align-right {
  margin-left: auto;
}

.cst-badge-flux {
  border-radius: 10px;
  line-height: 1.75rem !important;
}

.fr-callout-bottom-blue-france {
  box-shadow: var(--border-default-blue-france) 0px -3px 0px inset !important;
}

.cst-callout-bottom-live {
  box-shadow: #e1000f 0px -3px 0px inset !important;
}

.fr-callout-without-padding-top-bottom {
  padding: 1rem 3rem !important;
}

.cst-accordion-table {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
  padding-bottom: 0 !important;
  margin: 0 -0.5rem !important;
}

.cst-text-live {
  color: #e1000f;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.cst-pagination__container .fr-pagination {
  display: flex;
  justify-content: center;
}

.cst-badges-group--right {
  right: 0 !important;
  left: auto !important;
}

.cst-badges-group--bottom {
  bottom: 0 !important;
  top: auto !important;
}
.cst-badges-group--bottom .fr-badge {
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
}

.fr-hr-or::before,
.fr-hr-or::after {
  flex: 1;
}

.cst-notice__html {
  display: flex;
  align-items: flex-start;
}
.cst-notice__html::before {
  margin-top: 0.125rem;
}
.cst-notice__html .cst-notice__content {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cst-notice__html .cst-notice__content > :last-child {
  margin-bottom: 0;
}
.cst-notice__html .cst-notice__content p {
  margin-top: 0;
}

.cst-modal-actuality-dialog::before, .cst-modal-actuality-dialog::after {
  flex: 0 0 1rem;
  height: 1rem;
}
.cst-modal-actuality-dialog .fr-modal__body {
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
}
.cst-modal-actuality-dialog .fr-modal__content:last-child {
  margin-bottom: 1.5rem;
}

.cst-modal-actuality__intro {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 -2rem 2rem;
  padding: 1.5rem 2rem;
}
.cst-modal-actuality__intro .fr-modal__title {
  margin-bottom: 0.5rem;
}

.cst-modal-actuality__pictogram {
  flex: 0 0 auto;
}

.cst-modal-actuality__close {
  min-width: 12rem;
  justify-content: center;
}

.cst-actuality-description {
  overflow-wrap: anywhere;
}
.cst-actuality-description > * {
  margin-top: 0;
  margin-bottom: 0;
}
.cst-actuality-description > * + * {
  margin-top: 1rem;
}
.cst-actuality-description > h2,
.cst-actuality-description > .fr-callout,
.cst-actuality-description > .fr-callout + * {
  margin-top: 2.5rem;
}
.cst-actuality-description > h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cst-actuality-description > h2 [class*=fr-icon-] {
  flex: 0 0 auto;
  color: var(--text-action-high-blue-france);
}
.cst-actuality-description > h2 [class*=fr-icon-]::before {
  --icon-size: 1.75rem;
}
.cst-actuality-description img {
  max-width: 100%;
  height: auto;
}

.cst-chat-messages__day {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0 0 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-default-grey);
  background-color: var(--background-lifted-grey);
  color: var(--text-mention-grey);
}
.cst-chat-messages__day:first-letter {
  text-transform: uppercase;
}

.cst-chat-messages {
  margin: 0 0 2rem;
  padding: 0;
}

.cst-chat-message {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}
.cst-chat-message:hover {
  background-color: var(--background-alt-grey);
}

.cst-chat-message__avatar {
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--cst-avatar-color, var(--background-contrast-grey));
  color: var(--text-title-grey);
  font-weight: 700;
}

.cst-chat-message__body {
  min-width: 0;
}

.cst-chat-message__time {
  color: var(--text-mention-grey);
}

.cst-chat-message__text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 47.99em) {
  .cst-modal-actuality__intro {
    margin: 0 -1rem 1.5rem;
    padding: 1rem;
  }
  .cst-modal-actuality__pictogram {
    display: none;
  }
}
.fr-icon-copy-line::before,
.fr-icon-copy-line::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .55-.45 1-1 1H4a1 1 0 0 1-1-1l.003-14c0-.552.45-1 1-1H7ZM5.003 8 5 20h10V8H5.003ZM9 6h8v10h2V4H9v2Z%27/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .55-.45 1-1 1H4a1 1 0 0 1-1-1l.003-14c0-.552.45-1 1-1H7ZM5.003 8 5 20h10V8H5.003ZM9 6h8v10h2V4H9v2Z%27/%3E%3C/svg%3E");
}

.cst-label-with-info {
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
}
