
/* ===================================================================
 * SELF-HOSTED WEBFONT
 * =================================================================*/
/* open-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
  url('fonts/open-sans-v34-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/open-sans-v34-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
  url('fonts/open-sans-v34-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/open-sans-v34-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
  url('fonts/open-sans-v34-latin-600.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-600italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/open-sans-v34-latin-600italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
  url('fonts/open-sans-v34-latin-600italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/open-sans-v34-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
  url('fonts/open-sans-v34-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-700italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/open-sans-v34-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
  url('fonts/open-sans-v34-latin-700italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?iuzvmc');
  src:  url('fonts/icomoon.eot?iuzvmc#iefix') format('embedded-opentype'),
  url('fonts/icomoon.ttf?iuzvmc') format('truetype'),
  url('fonts/icomoon.woff?iuzvmc') format('woff'),
  url('fonts/icomoon.svg?iuzvmc#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-images:before {
  content: "\e90e";
}
.icon-equalizer:before {
  content: "\e992";
}
.icon-cog:before {
  content: "\e994";
}
.icon-bin1:before {
  content: "\e9ac";
}
.icon-earth:before {
  content: "\e9ca";
}
.icon-link:before {
  content: "\e900";
}
.icon-arrow-right:before {
  content: "\e901";
}
.icon-book:before {
  content: "\e902";
}
.icon-file-text:before {
  content: "\e908";
}
.icon-stack:before {
  content: "\e90a";
}
.icon-folder:before {
  content: "\e90c";
}
.icon-tag:before {
  content: "\e90d";
}
.icon-wrench:before {
  content: "\e910";
}
.icon-quote-left:before {
  content: "\e914";
}
.icon-quote-right:before {
  content: "\e915";
}
.icon-music:before {
  content: "\e916";
}
.icon-star1:before {
  content: "\e917";
}
.icon-refresh:before {
  content: "\e918";
}
.icon-menu:before {
  content: "\f0ca";
}
.icon-profile:before {
  content: "\e90f";
}
.icon-youtube:before {
  content: "\e91c";
}
.icon-close:before {
  content: "\e913";
}
.icon-chevron-down:before {
  content: "\e906";
}
.icon-external:before {
  content: "\e909";
}
.icon-person:before {
  content: "\e80b";
}
.icon-user:before {
  content: "\e90b";
}
.icon-search:before {
  content: "\e919";
}
.icon-pencil:before {
  content: "\f040";
}
.icon-address-card:before {
  content: "\f2bb";
}
.icon-comment:before {
  content: "\f075";
}
.icon-comments:before {
  content: "\f086";
}
.icon-hand:before {
  content: "\f0a4";
}
.icon-gamepad:before {
  content: "\f11b";
}
.icon-puzzle:before {
  content: "\f12e";
}
.icon-rss-square:before {
  content: "\f143";
}
.icon-check-square:before {
  content: "\f14a";
}
.icon-pencil-square:before {
  content: "\f14b";
}
.icon-external-link-square:before {
  content: "\f14c";
}
.icon-envelope-square:before {
  content: "\f199";
}
.icon-minus:before {
  content: "\f068";
}
.icon-plus:before {
  content: "\f067";
}
.icon-send:before {
  content: "\f1d8";
}
.icon-deaf:before {
  content: "\f2a4";
}
.icon-heart:before {
  content: "\f004";
}
.icon-star:before {
  content: "\f005";
}
.icon-mail:before {
  content: "\e905";
}
.icon-twitter:before {
  content: "\e907";
}
.icon-facebook:before {
  content: "\e903";
}
.icon-discord:before {
  content: "\e91a";
}
.icon-instagram:before {
  content: "\e921";
}
.icon-twitch:before {
  content: "\e91b";
}
.icon-feed:before {
  content: "\f09e";
}
.icon-squared-minus:before {
  content: "\e91d";
}
.icon-squared-plus:before {
  content: "\e91e";
}
.icon-megaphone:before {
  content: "\e91f";
}
.icon-modern-mic:before {
  content: "\e920";
}/* Custom properties */
:root {
  --c-black: #333;
  --c-white: #fff;
  --c-primary-A: #488ecc;
  --c-primary-B: #ff8c00;
  --c-primary-C: #24b453;
  --c-primary-D: #c80000;
  --c-bg-A: #e3eef7;
  --c-bg-B: #cfe2f2;
  --c-bg-C: #1c6db5;
  --c-bg-D: #b35c00;
  --c-bg-E: #0f8535;
  --w-main: 122rem;
  --c-theme: var(--c-primary-A);
}

/* Couleurs */
.theme-ff {
  --c-theme: var(--c-primary-A);
}

.theme-site {
  --c-theme: var(--c-primary-B);
}

.theme-dossier {
  --c-theme: var(--c-primary-C);
}

.theme-square-enix {
  --c-theme: var(--c-primary-D);
}

html {
  font-size: 0.625em;
  box-sizing: border-box;
  scroll-behavior: smooth;
  line-height: 1.5;
}

body {
  overflow-x: hidden;
  margin: 0;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  color: var(--c-black);
  background-color: var(--c-bg-B);
  -webkit-text-size-adjust: none;
}

ul, ol {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  border-color: #000000;
}

abbr,
acronym {
  border-bottom: 0.1rem dotted;
  cursor: help;
  text-decoration: none;
}

code {
  background: #eee;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}

td img {
  max-width: none;
}

blockquote {
  margin: 0 0 1.5em;
  padding: 0 0 0 1em;
  border-left: 3px solid #cfe2f2;
}

blockquote > *:last-child {
  margin-bottom: 0;
}

button:not(:disabled),
details > summary {
  cursor: pointer;
}

button {
  -webkit-appearance: none;
}

span[lang] {
  font-style: italic;
}

/* ===================================================================
 * INITIALISATION
 * =================================================================*/

.clear {
  clear: both;
}

.invisible {
  display: none;
}

.visuallyhidden {
  position: absolute;
  width: 0.1rem;
  height: 0.1rem;
  margin: -1px;
  padding: 0;
  clip: rect(0 0 0 0);
  border: 0;
  overflow: hidden;
}

.alignleft {
  text-align: left;
}

.alignright {
  text-align: right;
}

.aligncenter {
  text-align: center;
}

.clearfix:before,
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  overflow: hidden;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/*
a img {
  border-width: 0;
}
*/
/* ===================================================================
 * LAYOUT
 * =================================================================*/

.innerCenter {
  width: 100%;
  max-width: var(--w-main);
  margin: 0 auto;
  position: relative;
}

.main-wrapper {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  box-sizing: border-box;
  overflow: hidden;
}

@media screen and (min-width: 56.3125em) {
  .main-wrapper {
    display: grid;
    max-width: var(--w-main);
    grid-template-areas: 'nav content aside';
    grid-template-columns: minmax(10rem, 26rem) minmax(32rem, 62rem) minmax(20rem, 28rem);
    gap: 3rem;
    margin: 3rem auto 0;
    background-color: var(--c-white);
  }

  .main-nav {
    grid-area: nav;
    max-width: 26rem;
  }
}

.main-content {
  padding: 1.5rem 1.5rem 3rem;
  background-color: #fff;
}

@media screen and (max-width: 56.25em) {
  .main-content {
    max-width: 62rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 56.3125em) {
  .main-content {
    grid-area: content;
    position: relative;
    max-width: 62rem;
    padding: 1.5rem 0 3rem;
  }
}

.main-aside {
  background-color: var(--c-bg-A);
}

@media screen and (min-width: 56.3125em) {
  .main-aside {
    grid-area: aside;
    max-width: 29.5rem;
    padding-left: 1.5rem;
  }
}
@media (min-width: 56.3125em) {
  .collapsible-nav-main-btn {
    display: none;
  }
}

@media (max-width: 56.25em) {
  .collapsible-nav-main {
    display: grid;
    grid-template-rows: min-content 0fr;
    transition: all 0.3s;
  }

  .collapsible-nav-main.is-expanded {
    grid-template-rows: min-content 1fr;
  }

  .collapsible-nav-main-btn {
    display: block;
    width: 4.4rem;
    height: 4.4rem;
    padding: 0;
    font-size: 2.6rem;
    line-height: 1;
    color: #fff;
    background-color: transparent;
    border-width: 0;
  }

  .collapsible-nav-main-content {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    background-color: #2b2b2b;
    color: #fff;
  }

  .is-expanded > .collapsible-nav-main-content {
    visibility: visible;
    opacity: 1;
  }

  .collapsible-nav-main-inner {
    padding: 1rem 1.5rem;
  }

  .collapsible-nav-main a {
    color: inherit;
  }
}

@media (max-width: 56.25em) {
  .nav-main-inner {
    padding: 1rem 0;
  }
}

/* ===================================================================
 * SOUS-MENU (MOBILE)
 * =================================================================*/

@media (max-width: 56.25em) {
  .collapsible-submenu {
    display: grid;
    grid-template-rows: min-content 0fr;
    transition: all 0.3s;
  }

  .collapsible-submenu.is-expanded {
    grid-template-rows: min-content 1fr;
  }

  .collapsible-submenu-btn {
    display: block;
    line-height: 1.25;
    padding: 1rem 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    background-color: #2b2b2b;
    color: #fff;
    border-width: 0;
    text-align: start;
  }

  .collapsible-submenu-content {
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    /*background-color: #2b2b2b;*/
    /*color: #fff;*/
    /*margin-top: 1px;*/
  }

  .is-expanded > .collapsible-submenu-content,
  [open] > .collapsible-submenu-content {
    visibility: visible;
    opacity: 1;
  }

  .collapsible-submenu-inner {
    padding: 1rem 1.5rem;
  }
}

.collapsible-nav-secondary-btn {
  display: none;
  width: 100%;
  text-align: start;
  padding: 0;
  background-color: transparent;
  color: inherit;
  border-width: 0;
}

/* Menu secondaire - mobile */
@media (max-width: 56.25em) {
  .collapsible-nav-secondary {
    display: grid;
    grid-template-rows: min-content 0fr;
    transition: all 0.3s;
  }

  .collapsible-nav-secondary.is-expanded {
    grid-template-rows: min-content 1fr;
  }

  .collapsible-nav-secondary-content {
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
  }

  .collapsible-nav-secondary-btn {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
  }

  .is-expanded > .collapsible-nav-secondary-content {
    visibility: visible;
    opacity: 1;
  }
}

.collapsible-nav-secondary-btn .icon {
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
}

.collapsible-nav-secondary-btn[aria-expanded='false'] .icon-minus {
  display: none;
}

.collapsible-nav-secondary-btn[aria-expanded='true'] .icon-plus {
  display: none;
}

@media (min-width: 56.3125em) {
  .collapsible-nav-secondary-btn .icon {
    display: none;
  }
}
/* Menu - mobile */
@media (max-width: 56.25em) {
  .menu--main > .menu > .menu-item--expanded {
    display: grid;
    grid-template-rows: min-content 0fr;
    transition: all 0.3s;
  }

  .menu--main > .menu > .menu-item--expanded.is-expanded {
    grid-template-rows: min-content 1fr;
  }

  .menu--main .menu-link.no-link {
    background-color: transparent;
    color: var(--c-white);
    border-width: 0;
  }

  .menu--main .submenu {
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
  }

  .menu--main .is-expanded > .submenu {
    visibility: visible;
    opacity: 1;
  }
}

/* Menu - desktop */
@media (min-width: 56.3125em) {
  .menu--main > .menu {
    display: flex;
    align-items: baseline;
  }

  .menu--main > .menu > .menu-item.menu-site {
    position: relative;
  }

  .menu--main > .menu > .menu-item--expanded {
    display: grid;
    grid-template-rows: min-content 0fr;
    transition: all 0.3s;
  }

  .menu--main > .menu > .menu-item--expanded.is-expanded {
    grid-template-rows: min-content 1fr;
  }

  .menu--main > .menu > .menu-item > .menu-link {
    display: flex;
    align-items: center;
    padding: 0 2rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    text-decoration: none;
  }

  .menu--main .menu-link-underline {
    display: block;
    padding: 1.3rem 0;
    line-height: 1;
    background-image: linear-gradient(var(--c-theme), var(--c-theme));
    background-repeat: no-repeat;
    background-position-x: 0;
    background-position-y: 100%;
    background-size: 0 4px;
    transition: all 0.3s;
  }

  .menu--main > .menu > .menu-item > .menu-link:hover .menu-link-underline,
  .menu--main > .menu > .menu-item > .menu-link:focus .menu-link-underline {
    background-size: 100% 4px;
  }

  .menu--main > .menu > .menu-item > .menu-link .icon {
    margin-left: 0.5rem;
    font-size: 1rem;
  }

  .menu--main ul {
    list-style: none;
  }

  .menu--main a,
  .menu--main button {
    background-color: transparent;
    border-width: 0;
    border-radius: initial;
    -webkit-appearance: none;
  }

  .menu--main .submenu {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    z-index: 5;
    padding: 0.5rem;
    white-space: nowrap;
    list-style: none;
    background-color: var(--c-white);
    border-top: 4px solid var(--c-theme);
    border-radius: 0 0 5px 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    /* collapsible */
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
  }

  .menu--main .is-expanded > .submenu {
    visibility: visible;
    opacity: 1;
  }

  .menu--main .submenu .sous-section {
    overflow: hidden;
    break-inside: avoid-column;
    margin: 0 0.75rem 1.5rem;
    border: 2px solid var(--c-primary-A);
    border-radius: 0.4rem;
  }

  .menu--main .submenu .sous-section-titre {
    padding: 0.5rem 1rem;
    font-size: 1.6rem;
    background: var(--c-primary-A);
    color: var(--c-white);
  }

  .menu--main .submenu a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: 600;
    color: #181819;
  }

  .menu--main .submenu a:hover,
  .menu--main .submenu a:focus {
    text-decoration: underline;
    text-decoration-thickness: 1px;
  }

  .submenu-site {
    columns: 2;
  }

  .submenu-ff {
    columns: 4;
    padding: 0.5rem 0 1rem;
  }

  .submenu-dossier {
    columns: 4;
    padding: 1rem 0;
    column-gap: 0;
  }
}

/* Menu - mobile (.menu--account + .menu--main) */
@media (max-width: 56.25em) {
  .nav-main {
    padding-bottom: 5.5rem;
  }

  .nav-main .menu > .menu-item > .menu-link {
    position: relative;
    display: block;
    padding: 1rem 1.5rem 1rem 4rem;
    text-align: left;
    font-size: 1.6rem;
    font-weight: 600;
  }

  .nav-main .menu-link .icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    margin: 0;
    font-size: 0.8em;
    transition: all 0.3s;
  }

  .nav-main .is-expanded .menu-link .icon {
    transform: translateY(-50%) rotate(0deg);
  }

  .nav-main .submenu {
    padding-left: 3rem;
  }

  .nav-main .is-expanded > .submenu {
    border-top: 1px solid #666;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #666;
  }

  .nav-main a {
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 0.5rem 1rem;
  }

  .nav-main .submenu li {
    list-style: none;
  }

  .nav-main .menu-dossier .submenu {
    padding-top: 0;
  }

  .nav-main .submenu .sous-section-titre {
    font-weight: 600;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 1.6rem;
  }

  .nav-main .submenu .sous-section-liste {
    padding-left: 1rem;
    margin-left: 1rem;
    border-left: 2px dashed currentColor;
  }
}

@media (max-width: 56.25em) {
  /* Masquer les menus de gauche sur mobile pour afficher leur variante dans la navigation principale */
  .section-ff,
  .section-dossier {
    display: none;
  }
}

@media (min-width: 56.3125em) {
  /* Masquer les menus de la navigation principale sur desktop pour afficher leur variante dans la colonne gauche */
  .menu-dossier {
    display: none !important;
  }

  /* Masquer le menu FF de la colonne gauche... */
  .section-ff {
    display: none;
  }
}

.menu--account .menu-item--expanded {
  position: relative;
  display: grid;
  grid-template-rows: min-content 0fr;
  color: #fff;
  transition: all 0.3s;
}

.menu--account .menu-item--expanded.is-expanded {
  grid-template-rows: min-content 1fr;
}

.menu--account .menu-link.no-link {
  color: inherit;
  background-color: transparent;
  border-width: 0;
  transition: all 0.3s;
}

@media (min-width: 56.3125em) {
  .menu--account .menu-link.no-link {
    min-height: 3rem;
    font-weight: 700;
  }

  .menu--account .menu-link.no-link .icon {
    font-size: 0.8rem;
    margin-left: 0.5rem;
  }

  .menu--account .menu-link.no-link:hover,
  .menu--account .menu-link.no-link:focus,
  .menu--account .menu-link.no-link.is-expanded {
    background-color: #2678b9;
  }
}

.menu--account .menu-item--expanded > .submenu {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.menu--account .menu-item--expanded.is-expanded > .submenu {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 56.3125em) {
  .menu--account .menu-item--expanded > .submenu {
    position: absolute;
    top: 100%;
    right: 0;
    padding: 0 1rem;
    font-size: 1.3rem;
    background-color: var(--c-white);
    border-top: 4px solid var(--c-primary-A);
    border-radius: 0 0 5px 5px;
  }
}

.menu--account li {
  list-style: none;
}

@media (min-width: 56.3125em) {
  .menu--account a {
    position: relative;
    display: block;
    white-space: nowrap;
    color: var(--c-black);
    text-decoration: none;
    line-height: 2;
    margin-left: -1rem;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    transition: all 0.3s;
  }

  .menu--account li:not(:first-child) a {
    border-top: 1px solid #ddd;
  }

  .menu--account a:hover,
  .menu--account a:focus {
    padding-left: 1.9rem;
    padding-right: 0.1rem;
  }

  .menu--account a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background-color: var(--c-primary-A);
    transition: all 0.3s;
  }

  .menu--account a:hover::before,
  .menu--account a:focus::before {
    width: 4px;
  }
}
/* ===================================================================
 * HEADER
 * =================================================================*/

.header {
  position: relative;
  z-index: 1;
  background-color: #181819;
  border-bottom: 4px solid var(--c-primary-A);
}

.header::after {
  content: '';
  display: block;
  max-width: 144rem;
  margin: 0 auto;
  aspect-ratio: 1440 / 230;
  background: url(/toulal/v8/include/css/images/top-banniere.png) center / cover no-repeat #181819;
}

.header-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--w-main);
  min-height: 6rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 56.3125em) {
  .header-wrapper {
    align-items: flex-end;
    padding-top: 3rem;
    /*padding-bottom: 3rem;*/
  }

  .header-navigation {
    margin-right: -2rem;
  }
}

/* ===================================================================
 * LIENS EVITEMENT
 * =================================================================*/

@media print {
  .skip-link {
    display: none;
  }
}

.skip-link {
  position: absolute;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link a {
  position: fixed;
  top: -200px;
  z-index: 2;
  font-size: 1em;
  font-weight: 700;
  display: inline-block;
  padding: 0.5em;
  background: #2b2b2b;
  color: #fff;
  text-decoration: underline;
}

.skip-link a:focus,
.skip-link a:active {
  top: 0;
}


/* ===================================================================
 * LOGO
 * =================================================================*/

.site-logo {
  max-width: 14rem;
}

@media (min-width: 56.3125em) {
  .site-logo {
    max-width: 20rem;
  }
}

.site-logo img {
  display: block;
  padding: 1.5rem 0;
}

.site-logo h1 {
  margin: 0;
}

.site-logo a {
  display: block;
  background-image: linear-gradient(var(--c-primary-A), var(--c-primary-A));
  background-repeat: no-repeat;
  background-position-x: 0;
  background-position-y: 100%;
  background-size: 0 4px;
  transition: all 0.3s;
}

.site-logo a:hover,
.site-logo a:focus {
  background-size: 100% 4px;
}

/* ===================================================================
 * NAVIGATION STRUCTURE
 * =================================================================*/

@media (min-width: 56.3125em) {
  .navigation-top {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 1rem;
    /*bottom: 0;*/
    left: 0;
    display: flex;
    justify-content: flex-end;
  }

  .navigation-top::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    margin-left: -50vw;
    bottom: 0;
    width: 100vw;
    background-color: #1f1f1f;
    border-bottom: 1px solid;
    /*border-top: 1px solid;*/
  }
}
/* ===================================================================
* FOOTER
* =================================================================*/

/* SCENE */
@media screen and (max-width: 56.25em) {
  #scene {
    display: none;
  }
}

#scene::before {
  content: '';
  display: block;
  max-width: var(--w-main);
  height: 9rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: url(/toulal/v8/include/css/images/footer/spr-ombre.jpg) 50% 100% no-repeat transparent;
  background-size: 100% auto;
}

/* FOOTER */
.footer {
  position: relative;
  font-size: 1.4rem;
  background-color: #1F1F1F;
}

@media screen and (max-width: 56.25em) {
  .footer-wrapper {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
  }

  .footer-wrapper > * {
    padding: 1.5rem;
  }
}

@media screen and (min-width: 56.3125em) {
  .footer-wrapper {
    display: flex;
    max-width: var(--w-main);
    margin: 0 auto;
    padding: 2rem 1.5rem;
  }

  .footer-liens.partenaires {
    flex-basis: 40%;
  }

  .footer-liens.rapides {
    flex-basis: 40%;
  }

  .footer-liens.contact {
    flex-basis: 20%;
  }
}

.footer-titre {
  font-weight: 600;
  margin: 0 0 1rem;
  font-size: 1.8rem;
  color: #FFFFFF;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
}

.footer a {
  color: #bfd8ed;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

/* Copyright */
.footer-copyright {
  margin: 0;
  padding: 1rem 0;
  text-align: center;
  color: #FFFFFF;
  background-color: #0E0E0F;
}

@media screen and (max-width: 480px) {
  .footer-copyright span {
    display: block
  }
}

/* Retour en haut de page */
.back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  background-color: var(--c-primary-A);
  color: var(--c-white);
  border-radius: 0.3rem;
  border-width: 0;
  opacity: 0;
  transition: all 0.3s;
}

.back-top.show {
    opacity: 1;
}

.back-top.sticky {
  position: fixed;
  bottom: 1.5rem;
  top: initial;
}

.back-top .icon {
  display: block;
  transform: rotate(-90deg);
}

@media screen and (max-width: 56.25em) {
  .back-top {
    position: absolute;
    right: 1.5rem;
    top: -1.5rem;
  }
}

@media screen and (min-width: 481px) {
  .back-top {
    width: 4.4rem;
    height: 4.4rem;
  }
}/* ===================================================================
 * COLONNE GAUCHE
 * =================================================================*/

.colonneGauche .section {
  margin-bottom: 1.5rem;
}

.colonneGauche .section:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 56.25em) {
  .colonneGauche .section-sommaire {
    max-width: 65rem;
    margin: 0 auto;
  }
}

@media screen and (min-width: 56.3125em) {
  .colonneGauche .section::after {
    content: '';
    display: block;
    height: 2.4rem;
    background: url(/toulal/v8/include/css/images/bg-section.png) 0 100% no-repeat var(--c-white);
  }
}

.colonneGauche .section-titre {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 4.8rem;
  padding: 1rem 0.5rem 1rem 1.5rem;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-white);
  background-color: #0D2030;
  box-sizing: border-box;
}

@media screen and (max-width: 56.25em) {
  .colonneGauche .section-sommaire {
    padding: 1.5rem;
  }

  .colonneGauche .section-sommaire .section-titre {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 4rem;
    border-radius: 0.4rem;
    overflow: hidden;
  }
}

.colonneGauche .section-sommaire-titre {
  display: block;
  font-size: 1.4rem;
}

@media screen and (min-width: 56.3125em) {
  .colonneGauche span.section-sommaire-titre {
    display: none;
  }
}

.colonneGauche .sous-section:not(:last-child) {
  margin-bottom: 2rem;
}

.colonneGauche .sous-section-titre {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.colonneGauche .sous-section-liste {
  padding: 0 0 0 1rem;
  border-left: 2px dashed #2678b9;
}

.colonneGauche .section-contenu {
  padding: 1.5rem 0 1.5rem 1.5rem;
  background: var(--c-bg-A);
}

.colonneGauche ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.4rem;
}

.colonneGauche .sous-section ul.ff {
  padding: 0;
}

.colonneGauche a {
  color: #096BB9;
  text-decoration: none;
  font-weight: 600;
}

.colonneGauche a:hover {
  color: var(--c-black);
  text-decoration: underline;
}
/* ===================================================================
 * COLONNE DROITE
 * =================================================================*/

.colonneDroite {
  padding: 3rem 1.5rem;
}
@media screen and (max-width: 56.25em) {
  .colonneDroite {
    max-width: 62rem;
    margin: 0 auto;
  }
}

@media screen and (min-width: 56.3125em) {
  .colonneDroite {
    padding: 0;
  }
}

.colonneDroite a {
  color: #a3ccf4;
  text-decoration: none;
}

.colonneDroite a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.colonneDroite img {
  display: block;
}

.colonneDroite ul {
  list-style: none outside none;
  margin: 0;
  padding: 0;
}

.colonneDroite .section {
  margin: 0 0 1.5rem;
  color: #FFFFFF;
  background: #292E33;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.colonneDroite .section:last-child {
  margin-bottom: 0;
}

.colonneDroite .social {
  padding: 1.5rem 0 0 1.5rem;
}

.colonneDroite .online .section-contenu,
.colonneDroite .jukeBox .section-contenu {
  padding: 1rem;
}

.colonneDroite .online .section-contenu p:first-child {
  margin-top: 0;
}

/* COLONNE DROITE - Toolbar accessibilite */
#toolbar {
  padding: 1.5rem 0;
}

/* COLONNE DROITE - Titres */
.colonneDroite h3,
.colonneDroite .section-titre {
  margin: 0;
  padding: 1rem 0 1rem 40px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.334em /*16/12*/;
  font-weight: 500;
  color: #FFFFFF;
}

.colonneDroite .actuellement .section-titre {
  background: url(/toulal/v8/include/css/images/pictoColActuellement.png) 14px 14px / 14px auto no-repeat #181819;
}

.colonneDroite .online .section-titre {
  background: url(/toulal/v8/include/css/images/pictoColOnline.png) 12px 14px / 18px auto no-repeat #181819;
}

.colonneDroite .images .section-titre {
  background: url(/toulal/v8/include/css/images/pictoColImage.png) 12px 14px / 18px auto no-repeat #181819;
}

.colonneDroite .jukeBox .section-titre {
  background: url(/toulal/v8/include/css/images/pictoColJukebox.png) 13px 14px / 1.5rem auto no-repeat #181819;
}

/* COLONNE DROITE - Section Actuellement */
.actuellementSlide,
.actuellementSolo,
.actuellementslide,
.actuellementsolo {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.listeActuellement {
  height: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

.itemActuellement {
  float: left;
  margin-left: 0;
}

.imageActuellement {
  display: block;
  width: 100%;
  height: auto;
}

.flecheActuellementGauche {
  width: 13px;
  height: 26px;
  border: 0;
  position: absolute;
  top: 52px;
  left: 2px;
}

.flecheActuellementDroite {
  width: 13px;
  height: 26px;
  border: 0;
  position: absolute;
  top: 52px;
  right: 2px;
}

.actuellementTrois {
  width: 300%;
}

.actuellementTiers {
  width: 33.33%;
}

.actuellementQuatre {
  width: 400%;
}

.actuellementQuart {
  width: 25%;
}

.actuellementCinq {
  width: 500%;
}

.actuellementCinquieme {
  width: 20%;
}

/* COLONNE DROITE - Section Online */
.onlineRow {
  margin: 1em 0 0;
  overflow: hidden;
}

.onlineRow:first-child {
  margin: 0;
}

#mosaique {
  margin-left: -4px;
  margin-right: -4px;
  text-align: center;
  position: relative;
}

#mosaique li {
  display: block;
  float: left;
  width: 25%;
  height: 48px;
  line-height: 48px;
  margin: 0 0 12px;
  border: 0 none;
  position: absolute;
}

#mosaique li img {
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  vertical-align: bottom;
}

/* COLONNE DROITE - Section Images */
.section.images img {
  width: 100%;
  box-sizing: border-box;
}
figure {margin: 0;}
figcaption {
    font-style: italic;
}
.no-icon::after {
    content: none;
}

.no-wrap {
    white-wpace: nowrap;
}

.cesure {
    hyphens: auto;
}

.content a,
.content a:active {
  color: #2678B9;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  transition: all 0.3s;
}

a.invert {
  text-decoration: none;
}

a.invert:hover,
a.invert:focus {
  text-decoration: underline;
}

.content a:visited {
  color: #4226B9;
}

.content a:hover,
.content a:focus {
  color: #000000;
  text-decoration: none;
}

.content h1 { margin: 0 0 1em;     padding: 0; line-height: 1.2; font-size: 3rem; font-weight: 700; }
.content h2 { margin: 1.5em 0 1em; padding: 0; line-height: 1.2; font-size: 2.4rem; font-weight: 700; clear: both; }
.content h3 { margin: 1.5em 0 1em; padding: 0; line-height: 1.2; font-size: 2rem; font-weight: 700; clear: both; }
.content h4 { margin: 1.5em 0 1em; padding: 0; line-height: 1.2; font-size: 1.8rem; font-weight: 700; clear: both; }
.content h5 { margin: 1.5em 0 1em; padding: 0; line-height: 1.2; font-size: 1.6rem;font-weight: 700; clear: both; }

/* Fil d'Ariane */
.accueil #ariane {
  display: none;
}
#ariane          { color: #666; }
#ariane a:link,
#ariane a:visited,
#ariane a:active { font-weight: 400; font-size: 1.3rem; color: #666; text-decoration: none; }
#ariane a:hover  { text-decoration: underline; }
#ariane .active  { color: #333333; }

/* Sections de page : informations, commentaires... */
.content .auteur a { color: #333333; }
.content h2.section      { background: url(/toulal/v8/include/css/images/content-sectionh2.png) 0 -34px repeat-x transparent; }
.content h2.section span { background: url(/toulal/v8/include/css/images/content-sectionh2.png) 0 0 no-repeat #FFFFFF; padding: 0 0.5rem 0 25px; }

.content .articleEntete { margin: 0 0 2em; padding: 0 0 1em; border-bottom: 0.1rem solid #e1e1e1; }
.content .articleInfo { color: #666666; margin: -2.5em 0 0; }

.content .commentaire            { margin: 0 0 1.5em; overflow: hidden; }
.content .commentaire .image     { width: 70px; float: left; overflow: hidden; line-height: 60px; text-align: center; }
.content .commentaire .image img { max-width: 60px; max-height: 60px; margin: 0 1em 0 0; vertical-align: middle; }
.content .commentaire .texte     { width: 381px; float: left; word-wrap: break-word; }
.content .commentaire .infos     { margin: 0; font-weight: bold; }
form[name="commentaire"] input[type="radio"] { margin-right: 0.1rem; }
form[name="commentaire"] td { padding: 3px 0; }

.content .addthis_toolbox { height: 39px; }

.content .notif        { margin-bottom: 18px; padding: 14px; border-radius: 4px; border-width: 0.1rem; border-style: solid; }
.content .notif.succes { color: #468847; background-color: #dff0d8; border-color: #d6e9c6; }
.content .notif.erreur { color: #b94a48; background-color: #f2dede; border-color: #eed3d7; }
.content .notif p       { margin: 0 3rem 0 0;  }
.content .notif .fermer { float: right; font-size: 2rem; font-weight: bold; text-decoration: none; color: #000000; opacity: 0.4; }

/* Picto loupe */
/*
.content .img_gauche:hover > a, #content .img_gauche_avecsoustitre:hover > a,
.content .img_droite:hover > a, #content .img_droite_avecsoustitre:hover > a,
.content .img_seule:hover > a, #content .img_seule_avecsoustitre:hover > a,
.content .img_soustitre:hover > a {
    position:relative;
}

.content .img_gauche:hover > a:after, #content .img_gauche_avecsoustitre:hover > a:after,
.content .img_droite:hover > a:after, #content .img_droite_avecsoustitre:hover > a:after,
.content .img_seule:hover > a:after, #content .img_seule_avecsoustitre:hover > a:after,
.content .img_soustitre:hover > a:after {
    display: inline-block;
    content: url(/design/004-toulal/loupe.png);
    position: absolute;
}
*/

.content a.bouton {
  display: inline-block;
  padding: 1rem 2rem;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  color: var(--c-white);
  background: #2678B9;
  border-radius: 0.4rem;
  transition: all 0.2s;
}
.content a.bouton.medium {
  padding: 0.8rem 1.2rem 0.7rem;
}
.content a.bouton.small {
  min-width: 0;
  padding: 0.8rem 1.2rem 0.7rem;
  font-size: 1.2rem;
  line-height: 1;
  border-radius: 0.2rem;
}
.content a.bouton:hover {
  text-decoration: none;
  background: #2166a3;
}

.content a.bouton.rouge {
  background: #cc484a;
}
.content a.bouton.rouge:hover {
  background: #b62e30;
}

.content a.externe::after,
.content a[target="_blank"]:not([class*="fancy"]):not([class*="image"])::after {
  content: "";
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  width: 12px;
  height: 12px;
  margin-left: 3px;
  background: url(/toulal/v8/include/css/images/lien-externe.png) 0 0 / 12px auto no-repeat transparent;
}
.content a.externe:hover::after,
.content a[target="_blank"]:not([class*="fancy"]):hover::after {
  background-image: url(/toulal/v8/include/css/images/lien-externe-survol.png)
}
.content a.bouton.externe::after,
.content a.bouton[target="_blank"]:not([class*="fancy"])::after {
  background-image: url(/toulal/v8/include/css/images/lien-externe-blanc.png);
}

#boutons-partage { text-align: center; }
#boutons-partage img { width: 3rem; height: auto; margin: 0 0.5rem; }

/* Gestion des médias */
.content div[data-oembed-url] {
  margin: 0 0 1.5rem;
  padding: 0;
  text-align: center;
}

.content div[data-oembed-url] > div {
  display : inline-block;
  max-width: 100% !important; /* Un important, pour contrer le style imposé par ckeditor... */
}

/* Construction flex */
.row {
  display: flex;
  margin-left: -10px;
  margin-right: -10px;
}
.align-bottom {
  align-items: flex-end;
}
.no-shrink {
  flex-shrink: 0;
}
.row [class*=col] {
  padding-left: 1rem;
  padding-right: 1rem;
}
.col-10 {
  width: 10%;
}
.col-20 {
  width: 20%;
}
.col-30 {
  width: 30%;
}
.col-40 {
  width: 40%;
}
.col-50 {
  width: 50%;
}
.col-60 {
  width: 60%;
}
.col-70 {
  width: 70%;
}
.col-80 {
  width: 80%;
}
.col-90 {
  width: 90%;
}
.col-100 {
  width: 100%;
}

@media (max-width: 56.25em) {
    .row {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .row [class*=col] {
        width: 100%;
    }
}

.article_dernieresActus a {
  text-decoration: none;
}

.article_dernieresActus a:hover,
.article_dernieresActus a:focus {
  text-decoration: underline;
}

/* ===================================================================
 * Nouveautés v9
 * =================================================================*/
.width100 { max-width: 100px; }
.width200 { max-width: 200px; }
.width300 { max-width: 300px; }
.width400 { max-width: 400px; }
.margin-0 { margin: 0 !important; }
.margin-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0 !important; }
.mt-10 { margin-top: 1rem !important; }
.mt-20 { margin-top: 2rem !important; }
.mt-30 { margin-top: 3rem !important; }
.mt-40 { margin-top: 4rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 1rem !important; }
.mb-20 { margin-bottom: 2rem !important; }
.mb-30 { margin-bottom: 3rem !important; }
.padding-0 { padding: 0 !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.d-block { display: block; }
.border, .bordure { border: 0.1rem solid #333; }
.position-relative { position: relative; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.italic, .font-italic { font-style: italic; }
.bold, .strong { font-weight: bold; }
.nowrap { white-space: nowrap; }

/* Lire aussi */
.content .lireAussi {
  background-color: var(--c-bg-A);
  border-left: 2px solid #2678B9;
  padding: 0.65em 1em 0.5em;
}
.content .lireAussi strong {
  text-transform: uppercase;
}
.content .lireAussi a {
  border-bottom: none;
  background: none;
}
.content .lireAussi a:hover, .lireAussi a:focus {
  color: #040B10;
}
.content .lireAussi a:hover {
  text-decoration: underline;
}
.content .lireAussi a:focus {
  outline: 0.1rem dotted #040B10;
  outline-offset: 0.2em;
}

/* Vidéo responsive */
.video {
  position: relative;
  margin: 3rem auto;
}
.video::before {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  padding: 0 0 56.25%; /* 16/9 magique*/
  position: relative;
}
.video.old::before {
  padding: 0 0 75%; /* 4/3 magique*/
}
.video iframe,
.video embed,
.video video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* Dates de sortie */
.datesSortie {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.datesSortie > div {
  min-width: 20rem;
  margin: 0 1rem;
}

.datesSortie table {
  width: 100%;
  margin-bottom: 0;
  margin-top: 2em;
}

/* @todo */
.content-section-title::after {
  content: '';
  width: 4rem;
  height: 0.4rem;
  background: var(--c-theme);
  display: block;
  margin-top: 0.3rem;
}

/* ===================================================================
 * CONTENU - COMMENTAIRES
 * =================================================================*/
form[name="commentaire"] legend { width: auto; }
.commentaire .smiley {  }
.commentaire .smiley { overflow: hidden; }
.commentaire .smiley span { display: block; float: left; width: 23px; }
.commentaire .smiley input { margin: 3px 0.1rem 0; }

.content ul.commentaire_liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.commentaire_liste .commentaire_item {
  display: flex;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid #d1d1d1;
}
ul.commentaire_liste .commentaire_item:first-child {
    padding-top: 0;
    border-width: 0;
}
.commentaire_item .avatar {
  flex-shrink: 0;
  width: 6.5rem;
  padding-right: 1rem;
}
.commentaire_item .description {
  position: relative;
  flex-grow: 1;
}
.commentaire_item .moderation {
  position: absolute;
  right: 0;
  bottom: 0;
}
.commentaire_item .commContenu.avecModeration {
  padding-bottom: 1.5rem;
  font-size: 1.3rem;
  line-height: 1.4;
}

/* ===================================================================
* SONDAGES
* =================================================================*/

.sondage                            { display: flex; flex-direction: column; margin: 0 0 1em; position: relative; }
@media screen and (min-width: 56.3125em) {
  .sondage {
    flex-direction: row;
  }
  .sondage img {
    width: 30%;
    object-fit: cover;
    flex-shrink: 0;
  }
}
.sondage p                          { margin: 0; }
.sondage label                      { display: block; min-height: 28px; line-height: 1.2; margin: 0.5rem 0 1rem; cursor: pointer; }
.sondage label:last-child           { margin: 0; }
.sondage label input                { float: left; margin: 0.1rem 0.8rem 1.5rem 0; }
.sondage_div                        { flex-grow: 1; min-height: 18.2rem; padding: 1rem; }
.sondage_div strong                 { display: block; font-weight: 700; margin: 0 0 1.5rem 0; }
.sondage_div > div                  { display: none; min-height: 28px; margin: 0 0 9px 18px; }
.sondage_div > div:last-child       { margin-bottom: 0; }
.sondage_div > div > div            { width: 0; height: 27px; overflow: visible !important; background: #95c9ff; margin: 0; padding: 0; }
.sondage_actif                      { background: var(--c-bg-A); }
.sondage_actif::before              { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: var(--c-bg-A); }
.sondage_inactif                    { background: #E3E3E3; }
.sondage_inactif::before            { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; background: #E3E3E3; }
.sondage_inactif > div > div        { background: #BBBBBB; }

/* ===================================================================
* GUIDE CODAGE
* =================================================================*/

.guide-code-detail {
  border: 1px solid #272822;
  border-radius: 3px;
  overflow: hidden;
}

.guide-code-btn {
  position: relative;
  display: block;
  padding: 1rem;
  font-weight: 700;
  color: #ddd;
  background: #272822;
  cursor: pointer;
}

summary.guide-code-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #ddd;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-radius: 3px;
}

[open] summary.guide-code-btn::after {
  transform: translateY(-50%) rotate(-180deg);
}

.guide-code-content {
  margin: 0;
  border-top: 1px solid #666;
}

.guide-code-content code {
  border-radius: 0;
}

.guide-code-result {
  width: calc(100% + 2rem);
  margin-left: -1rem;
  padding: 0 1rem;
  border: 1px solid #777;
  border-radius: 3px;
  box-sizing: border-box;
}

/* ===================================================================
 * CONTENU - STYLES REDACTIONNELS
 * =================================================================*/

.h2 { font-family: Arial, Helvetica, sans-serif; /*font-size: 1.334em;*/ font-weight: normal; text-align: center; }
.h3 { font-family: Arial, Helvetica, sans-serif; /*font-size: 1.167em;*/ font-weight: normal; }
.h4 { font-family: Arial, Helvetica, sans-serif; /*font-size: 1em;*/     font-weight: normal; text-align: right; }
.h5 { font-family: Arial, Helvetica, sans-serif; /*font-size: 1em;*/     font-weight: normal; }
.h6 { font-family: Arial, Helvetica, sans-serif; /*font-size: 1em;*/     font-weight: normal; text-align: center; }
.big { font-size: 1.834em; }

.content .titre_avec_icone     { margin: 0; padding: 1.5rem 0 0; }
.content .titre_avec_icone p   { display: inline-block; font-weight: bold; vertical-align: middle; }
.content .titre_avec_icone img { margin: 0; padding: 0 0.5rem 0 0; }

.content p          { margin: 0 0 1.5rem; padding: 0; }
.content q::before  { content: "« "; }
.content q::after   { content: " »"; }
.content pre        { font-family: 'consolas', monospace; }
.content code       { font-family: 'consolas', monospace; }
.img_droite + p,
.img_droite + ul,
.img_droite + ol     { clear: both; }
.content dl dt      { margin: 0; font-weight: 700; }
.content dl dd      { margin: 0 0 1em; }
.content dl dd + dd { margin-top: -1em; }
.content dl.ligne dt {
  float: left;
  clear: left;
  width: 20%;
}
.content dl.ligne dd {
  float: left;
  width: 80%;
  margin-bottom: 0;
}
.content dl.ligne {
  overflow: hidden;
}
.content iframe     { margin: 0 0 1.5rem; padding: 0; max-width: 100%; }

.content hr          { clear: both; width: 85%; height: 4px; border-top: 2px solid #cfe2f2; border-right: none; border-bottom: none; border-left: none; margin: 2em auto 2em; }
.content .centrer    { text-align: center; }
.content .italic   { font-style: italic; }
.content .underline   { text-decoration: underline; }
.content .bold       { font-weight: bold; }
.content [lang] { font-style: italic; }

.content .img_gauche               { width: calc(50% - 1rem); float: left;  margin: 1.5rem 0 2rem; padding: 0; text-align: right; clear: left; }
.content .img_droite               { width: calc(50% - 1rem); float: right; margin: 1.5rem 0 2rem; padding: 0; text-align: left; }
.content .img_seule                { display: block; margin: 3rem 0; padding: 0; text-align: center; clear: right; }
.content .img_seule.centre75       { max-width: 75%; margin-left: auto; margin-right: auto; }
.content .bordure                  { border: 0.1rem solid #000; }
.content .bloc                     { display: block !important; }
.content .vignette180x30           { float: left; margin-right: 0.5rem; }

.content .img_tiers_gauche         { width: 31%; float: left;  margin: 0 0 1.5rem;    padding: 0; position: relative; text-align: center; clear: left; }
.content .img_tiers_centre         { width: 31%; float: left;  margin: 0 1.5rem 1.5rem; padding: 0; position: relative; text-align: center; }
.content .img_tiers_droite         { width: 31%; float: right; margin: 0 0 1.5rem;    padding: 0; position: relative; text-align: center; clear: right; }
.content .img_gauche_avecsoustitre { width: calc(50% - 1rem); float: left;  margin: 1.5rem 0 0.5rem; padding: 0; text-align: right; }
.content .img_droite_avecsoustitre { width: calc(50% - 1rem); float: right; margin: 1.5rem 0 0.5rem; padding: 0; text-align: left; }
.content .img_seule_avecsoustitre  {                              margin: 0; padding: 0; text-align: center; }
.content .img_soustitre            { clear: both; font-style: italic; margin: 0 0 1.5rem; padding: 0; text-align: center; }
.content .img_loupe                { position: absolute; bottom: 2px; left: 0; }
.content div[class^='img_'] a     { position: relative; }
.content div[class^='img_'] a img { /*border: 0.1rem solid #000000;*/ }
.content div[class^='img_'] a img.img_loupe { border-width: 0; }

/* YOUPI FLEX */
.content ul[class^="auto-"],
.content > div[class^="auto-"],
.article_contenu > [class^="auto-"],
#a_prev > div[class^="auto-"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem -7px;
  padding: 0;
}
.content ul[class^="auto-"] > *,
.content div[class^="auto-"] > * {
  display: block;
  box-sizing: border-box;
  padding: 7px;
}
.content img {
  height: auto !important;
}
.content [class^="auto-"] img {
  display: block;
  margin: 0 auto;
}
.content [class^="auto-"] .img_seule,
.content [class^="auto-"] .auto-seule {
  width: 100%;
}
.auto-quadruple > * {
  width: 25%;
}
.auto-triple > * {
  width: 33.33%;
}
.auto-double > * {
  width: 50%;
}
.auto-seule > * {
  width: 100%;
}

.content [class^="auto-"] .img_seule,
.content [class^="auto-"] .auto-seule {
  width: 100%;
}
.content [class^="auto-"] .auto-demi {
  width: 50%;
}
.content [class^="auto-"] .auto-2tiers {
  width: 66.66%;
}
.content [class^="auto-"] .auto-tiers {
  width: 33.33%;
}
.content [class^="auto-"] .auto-quart {
  width: 25%;
}
.content [class^="auto-"] .auto-3quart {
  width: 75%;
}

@media (max-width: 480px) {
  .auto-triple > *,
  .auto-quart > * {
    width: 50%;
  }
}

/*
@media (max-width: 640px) {
    [class^="auto-"] {
        flex-direction: column;
        align-items: center;
    }
    [class^="auto-"] > * {
        width: auto !important;
    }
    .m-auto-double > * {
        width: 50%;
    }
    .m-auto-triple > * {
        width: 33.33%;
    }
}
*/


/* Temporaire : forcer les nouvelles vignettes (300px) aux dimensions de la v8 */
/*.content img[width="300"] { width: 208px !important; height: auto !important; }*/
/*.content img[width="300"][height="210"] { width: 200px !important; }*/
/*.content [class^="auto"] img[width="300"] { width: auto !important; }*/

.imgtxt {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-column-gap: 1.5rem;
    margin: 2rem 0;
}

.cadre > .imgtxt {
    margin-top: 0;
    margin-bottom: 0;
}

.cadre > .imgtxt + p {
    margin-top: 2rem;
}

.imgtxt > * h2,
.imgtxt > * h3 {
    font-size: 1.8rem;
    margin: 0 0 1.5rem;
}

.imgtxt ul + h2,
.imgtxt ol + h2 {
    margin-top: 1.5rem;
}

.imgtxt a {
    text-decoration: none;
}

.imgtxt a:hover,
.imgtxt a:focus {
    text-decoration: underline;
}

@media (max-width: 30rem) {
    .imgtxt.m-seul {
        grid-template-columns: 1fr;
        grid-row-gap: 1.5rem;
    }
}

.content .imgul         { margin: 0 0 1.5rem; text-align: center; }
.content .imgul img     { display: inline-block; vertical-align: middle; }
.content .imgul ul      { display: inline-block; margin: 0; padding: 0 0 0 3rem; text-align: left; vertical-align: middle; }
.content .imgul ul li   { list-style-type: none; padding-bottom: 0; }
.content .imgtitreul    { clear: both; margin: 0 0 1.5rem; overflow: hidden; }
.content .imgtitreul img    { float: left; }
.content .imgtitreul h4     { display: inline-block; margin: 0; padding: 0 0 0 1.5rem; }
.content .imgtitreul ul     { display: inline-block; margin: 0; padding: 0 0 0 1.5rem; }
.content .imgtitreul ul li  { list-style-type: none; padding-bottom: 0; }

.content .titreimgtxt                 { overflow: hidden; padding: 0 0 1.5rem; }
.content .titreimgtxt > p:first-child { background: none #CFE2F2; font-weight: bold; margin: 0 0 1em; padding: 2px 0; text-align: center; }
.content .titreimgtxt > p:last-child  { margin: 0; }
.content .titreimgtxt > img, #content .titreimgtxt > a > img            { float: left; margin: 3px 1.5rem 0.5rem 0; }

.content .retour    { clear: both; margin: 0; padding: 1.5rem 0 0; text-align: center; }

.content ul         { margin: 0; padding: 0 0 0 17px; }
.content ul > li    { margin: 0; padding: 0 0 1rem; }
.content ol         { padding: 0 0 0 2rem; list-style-position: outside; }
.content ol > li    { margin: 0; padding: 0 0 1rem; }
.content li ul,
.content li ol      { margin-top: 1rem; }
.content ol ol      { list-style-type: lower-alpha; }
.content ul.listeNue,
.content ul.presentation { padding: 0; list-style: none; }
.content ul.listeNue li,
.content ul.presentation li { padding: 0; }
.content ul.serree li,
.content ol.serree li { padding-bottom: 0; }
.content ul.listeEnLigne {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: center;
  padding: 0;
}

.content ul.listeEnLigne li {
  list-style: none;
}

/* Vidéo responsive */
.fnd-video { position: relative; margin-bottom: 2em; }
.fnd-video::before { content: ""; display: block; width: 100%; height: 0; padding-bottom: 56.25%; position: relative; }
.fnd-video embed, .fnd-video iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }

/* Ajouts specifiques - FFXII */
#content .ff12_chasse_img { float: left; padding: 9px 7px 0.5rem 0.5rem; }

/* Ajouts specifiques - FFXI, FFXIV */
.toggle-info table,
.info-panel table { margin: 0; }
.toggle-info td img { display: block; }
.info-panel {
  padding-top: 1rem;
}
.toggle-info h2 {
  margin: 0;
  padding: 0.1rem 1rem;
}

/* Ajouts specifiques - Galeries */
table a[rel=gallery] img {
  max-width: 140px;
  max-height: 100px;
}

/* Ajouts spécifiques - menus déroulants (ff14) */
.toggle-info,
.info-panel {
  cursor: pointer;
}

/* Spécifique - FFVII - CRISISCORE (voir pour généraliser)*/
.collapsible {
  margin: 1rem 0;
}

.collapsible-cta {
  cursor: pointer;
  font-weight: 700;
}
.collapsible-cta:hover {
  text-decoration: underline;
}

.collapsible-content {
  margin-top: 1rem;
  padding: 1.5rem 1.5rem 2rem;
  font-size: 1em;
  background: #F9FCFF;
  border: 0.1rem solid #A0C4E4;
}

/* Spécifique - THEATRHYTHM FF - FINAL BAR LINE */
.tff-fbl .grade {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 1em;
  min-height: 1em;
  padding: 0.3em;
  line-height: 1;
  font-weight: 700;
}

.tff-fbl .grade.easy {
  background-color: #f0b300;
}

.tff-fbl .grade.normal {
  color: #fff;
  background-color: #0089b1;
}

.tff-fbl .grade.hard {
  color: #fff;
  background-color: #a60100;
}

.tff-fbl .grade.extreme {
  color: #fff;
  background-color: #7e3888;
}

/* FF1 - Statistiques de boss */
dl.stats-boss {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
}

dl.stats div,
dl.stats-boss div {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    column-gap: 1rem;
    padding-bottom: 0.3rem;
    margin-top: 0.3rem;
    background-size: 100% 0.3rem;
    background-position: 0 100%;
    background-image: linear-gradient(#cfe2f2,#cfe2f2);
    background-repeat: no-repeat;
    break-inside: avoid;
}

dl.stats-boss div.double {
    grid-column: span 2;
}

dl.stats div dt,
dl.stats-boss div dt {
    padding-left: 0.5rem;
    background-color: var(--c-bg-A);
    border-radius: 0 0.5rem 0 0;

}

dl.stats dd,
dl.stats-boss dd {
    margin: 0;
}

dl.stats-boss.seul {
    grid-template-columns: auto;
}

dl.stats-boss.seul div {
    grid-template-columns: auto 1fr;
}

dl.stats {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 30rem) {
    dl.stats.double {
        columns: 2;
        column-gap: 1.5rem;
    }
}


/* ===================================================================
 * CONTENU - SOMMAIRE
 * =================================================================*/

.sommaire {
    padding: 1rem 1.5rem;
    margin: 0 0 1.5em;
    background-color: #f1f2f3;
}

@media screen and (min-width: 30em) {
    .sommaire {
        padding: 2rem 2.5rem 1rem;
    }
}

.sommaire h2 {
    margin: 0 0 0.5em;
    padding-bottom: 0.5em;
    font-size: 2rem;
    border-bottom: 1px solid #d1d2d3;
}

.sommaire ul {
    list-style: none;
    padding: 0;
}

.sommaire ul img {
    margin-right: 0.5rem;
}

.sommaire ul a {
    color: currentColor;
    text-decoration: none;
}

.sommaire ul a:hover,
.sommaire ul a:focus {
    text-decoration: underline;
}

/* Spécificités */

ul.ff3-armes-sommaire {
    columns: 3;
    column-gap: 1.5rem;
}

@media screen and (max-width: 56.25em) {
  ul.ff3-armes-sommaire {
    columns: 2;
  }
}

ul.ff3-armures-sommaire {
    columns: 2;
    column-gap: 1.5rem;
}

/* ===================================================================
 * CONTENU - NAVIGATION CHAPITRES
 * =================================================================*/

/* Structure du bloc de navigation :

<nav role="navigation" aria-label="Pagination" class="navigation">
    <ul>
        <li><a href="#" title="Page 1 (active)" class="active">1</a></li>
        <li><a href="#" title="Page 2">2</a></li>
        <li><a href="#" title="Page 3">3</a></li>
    </ul>
</nav>

*/
.navigation {
  margin-bottom: 2rem;
  padding: 7px 1rem;
  text-align: center;
  background-color: #f2f4f5;
  clear: both;
}
.navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 !important;
}
.navigation li {
  list-style: none;
  padding: 0 !important;
}
.navigation li a {
  display: block;
  min-width: 3rem;
  padding: 0 0.5em;
  text-align: center;
  color: #333333 !important;
  font-weight: 700;
  border-radius: 4px;
  line-height: 3rem;
  text-decoration: none;
  border: 0.1rem solid #cbcbcb;
  transition: all 0.3s;
  box-sizing: border-box;
}
.navigation li a:hover,
.navigation li a:focus {
  background-color: #ffffff;
  text-decoration: underline;
}
.navigation li a.active {
  color: #ffffff !important;
  background-color: #2976bb;
  border-color: #2976bb;
}

/* ===================================================================
 * CONTENU - TABLEAUX
 * =================================================================*/

table {
  min-width: 30%;
  max-width: 100%;
  /*clear: both;*/
  font-size: 1.2rem;
  margin: 0 0 1em;
}

table table {
  margin: 0;
}

table.Tab       { border-color: #A0C4E4; border-style: solid; }
table td.TabHA  { background-color: #A0C4E4; border-style: none; font-weight: bold; text-align: center; height: 2rem; }
table td.TabHA1 { background-color: #CFE2F2; border-style: none; text-align: center; height: 2rem; }
table td.TabHA2 { background-color: #CFE2F2; border-color: #A0C4E4; border-style: solid none none;       text-align: center; height: 2rem; }
table td.TabHB1 { background-color: #CFE2F2; border-color: #A0C4E4; border-style: solid none none;       text-align: center; height: 2rem; }
table td.TabHB2 { background-color: #CFE2F2; border-color: #A0C4E4; border-style: solid none none solid; text-align: center; height: 2rem; }
table td.TabHB3 { background-color: #CFE2F2; border-color: #A0C4E4; border-style: none;                  text-align: center; height: 2rem; }
table td.TabHB4 { background-color: #CFE2F2; border-color: #A0C4E4; border-style: none none none solid;  text-align: center; height: 2rem; }
table td.TabHB5 { background-color: #FFFFFF; border-color: #A0C4E4; border-style: solid none none solid; text-align: center; height: 2rem; }
table td.TabHB6 { background-color: #CFE2F2; border-color: #A0C4E4; border-style: solid none none;       text-align: center; height: 2rem; }
table td.TabHB7 { background-color: #FFFFFF; border-color: #A0C4E4; border-style: none none none solid;  text-align: center; height: 2rem; }
table td.Tab1   { background-color: #F9FCFF; border-color: #A0C4E4; border-style: solid none none;       text-align: center; }
table td.Tab2   { background-color: #F9FCFF; border-color: #A0C4E4; border-style: solid none none solid; text-align: center; }
table td.Tab3   { background-color: #F9FCFF; border-color: #A0C4E4; border-style: none;                  text-align: center; }
table td.Tab4   { background-color: #F9FCFF; border-color: #A0C4E4; border-style: none none none solid;  text-align: center; }
table td.Tab5   { background-color: #F9FCFF; border-color: #A0C4E4; border-style: solid none none solid; text-align: center; }

.tableau {
  border-collapse: collapse;
  border-color: #A0C4E4;
  border-spacing: 0;
  border-style: solid;
  border-width: 0 0 1px 1px;
  margin: 2rem auto;
  padding: 0;
}

.tableau .grand_titre,
.tableau caption   {
  background-color: #A0C4E4;
  border-color: #A0C4E4;
  border-style: solid;
  border-width: 0.1rem 0.1rem 0 0;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
  padding: 0.5em;
  font-size: 1.167em;
}
.tableau .titre,
.tableau th        { background-color: #CFE2F2; border-color: #A0C4E4; border-style: solid; border-width: 0.1rem 0.1rem 0 0; font-weight: normal; height: 2rem; text-align: center; }
.tableau td        { background-color: #F9FCFF; border-color: #A0C4E4; border-style: solid; border-width: 0.1rem 0.1rem 0 0; margin: 0; padding: 3px; text-align: center; }
.tableau .justifie { text-align: justify; }
.tableau .gauche   { text-align: left; }
.tableau .centre   { text-align: center; }
.tableau .droite   { text-align: right; }
.tableau .haut     { vertical-align: top; }
.tableau .milieu   { vertical-align: middle; }
.tableau .bas      { vertical-align: bottom; }
.tableau.reinit td { text-align: left; vertical-align: top; }

.tableau .w10 { width: 10%; }
.tableau .w20 { width: 20%; }
.tableau .w30 { width: 30%; }
.tableau .w40 { width: 40%; }
.tableau .w50 { width: 50%; }
.tableau .w60 { width: 60%; }
.tableau .w70 { width: 70%; }
.tableau .w80 { width: 80%; }
.tableau .w90 { width: 90%; }

.tableau .w25 { width: 25%; }
.tableau .w33 { width: 33%; }
.tableau .w66 { width: 66%; }
.tableau .w75 { width: 75%; }

.background_tableaux_fond_titre { background: none repeat scroll 0 0 #CFE2F2; }

/* Tableau responsive */
.fnd-table { overflow-x: scroll; position: relative; width: 100%; }
.fnd-table table { min-width: 600px; }

table.gauche { margin-right: auto; }
table.droite { margin-left: auto; }
table.centre { margin: 0 auto; }
table.large  { min-width: 100%; }

.table-container {
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  overflow: auto;
}

.table-container table {
  margin-top: 0;
  margin-bottom: 0;
  min-width: 45rem;
}

@media screen and (min-width: 56.3125em) {
    .table-container table {
      width: 100%;
    }
}

/* ===================================================================
 * CONTENU - MISES EN AVANT
 * =================================================================*/

/* Chapô en tête d'article */
.accroche {
  font-family: 'open sans', Arial, Helvetica, sans-serif;
  font-size: 1.334em;
  font-style: italic;
}
.cadre {
  margin: 0 0 1.5em;
  padding: 1em;
  border: 3px solid #cfe2f2;
}
.cadre h2:first-child,
.cadre h3:first-child {
  margin-top: 0;
}
.cadre div:last-child,
.cadre p:last-child,
.cadre ul:last-child,
.cadre ol:last-child,
.cadre ul:last-child li:last-child,
.cadre ol:last-child li:last-child {
  margin-bottom: 0;
}
.aplat {
  margin: 0 0 1.5em;
  padding: 1em 1.3em 1.3em;
  background-color: var(--c-bg-A);
}
.aplat h2,
.aplat h3:first-child,
.aplat .h2 {
  margin-top: 0.2em;
  text-align: center;
  font-size: 1.334em;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.aplat h2::after,
.aplat h3:first-child::after,
.aplat .h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 0.1rem;
  margin: 1em auto;
  background-color: #555;
  opacity: 0.5;
}
.aplat div:last-child,
.aplat p:last-child,
.aplat ul:last-child,
.aplat ol:last-child,
.aplat ul:last-child li:last-child,
.aplat ol:last-child li:last-child {
  margin-bottom: 0;
}

blockquote.big {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.334em;
  font-weight: 600;
  font-style: italic;
  text-align: center;
  padding-left: 0;
  border-left: 0;
}
blockquote.big p::before { content: '« '; }
blockquote.big p::after { content: ' »'; }
blockquote.big .author { margin-top: -0.5em; }
blockquote.big .author::before,
blockquote.big .author::after { content: none; }

/* ===================================================================
 * CONTENU - INTERVIEWS
 * =================================================================*/
.interview {
  margin: 0 0 1.5em;
  padding: 0 0 0 1em;
  border-left: 3px solid #cfe2f2;
}
.interview .question {
  font-weight: 400;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.083em;
}
.interview h2:first-child,
.interview h3:first-child {
  margin-top: 0;
}
.interview div:last-child,
.interview p:last-child,
.interview ul:last-child,
.interview ol:last-child,
.interview ul:last-child li:last-child,
.interview ol:last-child li:last-child {
  margin-bottom: 0;
}

/* ===================================================================
 * CONTENU - ACCORDEON
 * =================================================================*/

.accordeon {
  display: grid;
  grid-template-rows: min-content 0fr;
  transition: all 0.3s;
}

.accordeon.is-expanded {
  grid-template-rows: min-content 1fr;
}

.accordeon-btn {
  display: block;
  line-height: 1.25;
  padding: 1rem 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  background-color: #CFE2F2;
  border-width: 0;
  text-align: start;
}

.accordeon-content {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  background-color: #CFE2F2;
  margin-top: 1px;
}

.is-expanded > .accordeon-content,
[open] > .accordeon-content {
  visibility: visible;
  opacity: 1;
}

.accordeon-inner,
details .accordeon-content {
  padding: 1rem 1.5rem 0;
}

/* ===================================================================
 * CONTENU - SPOILER
 * =================================================================*/
.spoiler {
  margin: 0 0 1.5em;
  padding: 1em;
  border: 3px solid #cfe2f2;
}
.spoiler .js-btn-spoiler {
  display: inline-block;
  min-width: 100px;
  padding: 0.8rem 1.5rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  text-decoration: none;
  font-weight: 700;
  color: #FFFFFF;
  background: #488ECC;
  border: none;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}
.spoiler .js-btn-spoiler:hover,
.spoiler .js-btn-spoiler:focus {
  text-decoration: none;
  background: #2166a3;
}
.spoiler .js-btn-spoiler span {
  font-style: italic;
}
.spoiler .js-btn-spoiler::before {
  content: none;
}
.spoiler .js-btn-spoiler:hover, .spoiler .js-btn-spoiler:focus {
  text-decoration: underline;
  color: #fff;
  background-color: #215c91;
}
.spoiler .js-block-spoiler {
  margin-top: 1em;
}
.spoiler .js-block-spoiler :last-child {
  margin-bottom: 0;
}

/* ===================================================================
 * CONTENU - MOG-POSTE
 * =================================================================*/

td.LettreTitre { border-style: none; font-family: 'Grand Hotel', cursive; font-size: 19px; text-align: center; }
td.LettreBody  { border-style: none; font-family: 'Grand Hotel', cursive; font-size: 19px; text-align: left; }


/* ===================================================================
* PARTAGE
* =================================================================*/

#boutons-partage{ margin-left: auto; margin-right: auto; width: 150px; }


/* ===================================================================
 * CONTENU - ARTWORKS
 * =================================================================*/

.list-artwork {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.5rem;
}

.item-artwork {
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-artwork img {
    display: block;
}

/* ===================================================================
* CKEDITOR
* =================================================================*/

#content.body_content_ckeditor {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0;
  float: none;
  text-align: start;
}

/* Boutons custom dans modale */
a.cke_dialog_ui_button.helpButton {
  background-image: linear-gradient(to bottom, #179ad7, #0b69b1);
  border-color: #0a62a6 #0a62a6 #004d92;
  color: #fff;
}

a.cke_dialog_ui_button.helpButton:active {
  border-color: #0a568c;
}

a.cke_dialog_ui_button.helpButton:hover {
  border-color: #095b99 #095b99 #004785;
  background: #1488be;
  background: linear-gradient(to bottom, #1488be 0, #0a5d9c 100%);
}

a.cke_dialog_ui_button.helpButton > span {
  font-weight: bold;
  text-shadow: 0 -1px 0 #0c5583;
}

/* Largeur modale */
.cke_dialog {
  min-width: 0;
}

/* Affichage du placeholder de l'iframe */
.body_content_ckeditor .video::before {
  content: none;
}

.body_content_ckeditor .video .cke_iframe {
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 56.25%;
  background-color: #333;
  border: none;
}

/* ===================================================================
 * Accueil
 * =================================================================*/

.accueil-actualite,
.accueil-agenda,
.accueil-maj,
.accueil-sondage {
  margin-top: 2em;
}

.accueil-edito a,
.accueil-actualite a,
.accueil-agenda a,
.accueil-maj a,
.accueil-sondage a {
  text-decoration: none;
}

@media (max-width: 56.25em) {
    .accueil-edito a,
    .accueil-actualite a,
    .accueil-agenda a,
    .accueil-maj a,
    .accueil-sondage a {
      margin-top: 1rem;
    }
}

.accueil-actualite .entete,
.accueil-agenda .entete,
.accueil-maj .entete,
.accueil-sondage .entete {
    margin-bottom: 1.5rem;
}

@media (min-width: 56.3125em) {
    .accueil-actualite .entete,
    .accueil-agenda .entete,
    .accueil-maj .entete,
    .accueil-sondage .entete {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
    }
}

.content h2.bloc-accueil {
  margin: 0;
}

.accueil-edito h2.bloc-accueil {
  margin-bottom: 2rem;
}

.accueil-actualite .entete .rss img {
  margin-left: 0.25em;
  background: url(/toulal/v8/include/css/images/rss.png) 0 0 / 12px auto no-repeat transparent;
  opacity: 0.8;
}

.accueil-actualite .entete .rss a:focus img,
.accueil-actualite .entete .rss a:hover img {
  opacity: 1;
}

.accueil-agenda-content {
  max-height: 30.5rem;
  overflow-y: scroll;
  scroll-snap-type: block;
}

.voirTout {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: 700 !important;
  color: #fff !important;
  background: #2678B9;
  border-radius: 3px;
  transform: translateY(-2px);
}

.voirTout:hover,
.voirTout:focus {
  text-decoration: underline;
}

.accueil-maj li {
  padding-bottom: 0;
}

.accueil-maj h3 {
  margin: 0 0 0.5em;
  font-size: 1.8rem;
}

.accueil-maj .auteur {
  margin: 0;
  font-weight: 700;
}

.accueil-maj .imgtxt p {
  margin-bottom: 0;
}
/* ===================================================================
 * CONTENU - FORMULAIRES
 * =================================================================*/

input,
button {
  font-family: inherit;
}

.content fieldset,
.fieldset {
  margin: 1.5rem 0;
  padding: 1.5rem 1.5rem 2rem;
  font-size: 1em;
  background: #F9FCFF;
  border: 0.1rem solid #A0C4E4;
}

.content legend,
.content .legend {
  margin: -1.5rem -1.5rem 1.5rem;
  padding: 0.5em 1em;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2C3C4C;
  background: #CFE2F2;
}

.content legend {
  float: left;
  width: calc(100% - 5px);
  max-width: inherit;
}

.content fieldset.noborder {
  margin: 0 0 2em;
  padding: 0;
  border: none;
}

.content fieldset.noborder legend {
  padding: 0;
  font-size: 1em;
  background: none;
  border: none;
}

.content fieldset.noborder p {
  margin: 0;
}

.content fieldset.noborder label {
  cursor: pointer;
}

.formulaire .entete {
  font-size: 1.167em;
}

.formulaire .contenu {
  padding: 1rem;
  background: #F9FCFF;
  border: 0.1rem solid #A0C4E4;
}

/*
.formulaire fieldset {
    margin: 1.5rem 0;
    padding: 1.5rem 1.5rem 2rem;
    background: #F9FCFF;
    border: 1px solid #A0C4E4;
    border-radius: 1rem;
}
.formulaire legend {
    padding: 0.25em 1em;
    font-size: 1.25em;
    font-weight: 700;
    color: #2C3C4C;
    background: #CFE2F2;
}
*/
.formulaire .noborder label {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
}

.formulaire p {
  clear: both;
}

.formulaire label {
  display: block;
  font-weight: bold;
  color: #2C3C4C;
  margin: 0 0 7px;
}

.formulaire input[type="text"],
.formulaire input[type="password"],
.formulaire input[type="date"],
.formulaire textarea,
.formulaire select {
  box-sizing: border-box;
  max-width: 419px;
  height: 3em;
  padding: 0 1em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  color: #2C3C4C;
  border: 0.1rem solid #A0C4E4;
  background-color: #FFFFFF;
  border-radius: 3px;
}

.formulaire textarea {
  max-width: 419px;
  height: auto;
  resize-x: none;
  padding-top: 0.75em;
  line-height: 1.5;
}

.formulaire .large {
  width: 100%;
}

.formulaire .simili-input {
  display: inline-block;
  box-sizing: border-box;
  max-width: 419px;
  height: 3em;
  line-height: 2.8em;
  padding: 0 1em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  color: #2C3C4C;
  border: 0.1rem solid #A0C4E4;
  background-color: #FFFFFF;
  border-radius: 3px;
}

.formulaire select {
}

.formulaire select option {
  padding-left: 0.5rem;
}

.formulaire .case {
  display: block;
}

.formulaire .case label {
  display: inline;
  font-weight: normal;
  margin-right: 1.5rem;
}

.formulaire .case input {
  margin: 0 3px 0 0;
  border-width: 0;
}

.formulaire .action {
  clear: both;
  text-align: right;
  margin-bottom: 0;
}

.formulaire > p.action {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

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

form input[type="submit"],
.formulaire .submit {
  display: inline-block;
  min-width: 100px;
  padding: 8.5px 2rem 9px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  color: #FFFFFF;
  background: #488ECC;
  border: none;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}

form input[type="submit"]:hover,
form input[type="submit"]:focus,
.formulaire .submit:hover,
.formulaire .submit:focus {
  text-decoration: none;
  background: #2166a3;
}

.ie7 .formulaire fieldset {
  position: relative;
  margin-top: 1em;
  padding-top: 2em;
}

.ie7 .formulaire legend {
  position: absolute;
  top: -0.5em;
  left: 0.5em;
}

.champ0011 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-align: left;
  text-decoration: none;
  color: #2678B9;
  background-color: #F9FCFF;
  border: 0.1rem solid #A0C4E4;
}

.champ0012 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-align: left;
  text-decoration: none;
  color: #2678B9;
  background-color: #F9FCFF;
  border: 0 none;
  margin: 0;
  padding: 0;
}

.champ0013 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-align: left;
  text-decoration: none;
  color: #2678B9;
  background-color: #F9FCFF;
  border: 0 none;
}

.champ002 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  color: #2678B9;
  background-color: #F9FCFF;
  border: 0.1rem solid #A0C4E4;
}

.champerror {
  /*color: #B92626 !important;*/
  background-color: #FFF9F9 !important;
  border: 0.1rem solid #E69696 !important;
}

input:disabled {
  color: #B9B9B9;
  background: none #F7F5F1;
  border: 0.1rem solid #E6E6E6;
}

div.selecteur {
  position: absolute;
  height: 100px;
  margin: 0;
  background: none #F9FCFF;
  overflow: auto;
  border-color: #A0C4E4;
  border-style: none solid solid;
  border-width: 0.1rem;
  border-right: 0.1rem solid #A0C4E4;
}

div.selecteur ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

div.selecteur li {
  color: #2678B9;
  cursor: pointer;
  height: 1rem;
  overflow: hidden;
  padding: 0.5rem 3px;
  text-align: left;
}

div.selecteur li.selected {
  background: none repeat scroll 0 0 #A0C4E4;
  color: #FFFFFF;
}

.obligatoire {
  color: #B92626;
}

.form_message {
  padding: 1em;
  margin: 0 0 2em;
  border: 0.1rem solid grey;
  border-radius: 2px;
}

.content .form_message a {
  color: #333333;
}

.form_error {
  background-color: #FFF9F9 !important;
  border: 0.1rem solid #E69696 !important;
}

.form_error p:last-child {
  margin-bottom: 0;
}

.form_success {
  color: #155724;
  background-color: #d4edda !important;
  border-color: #c3e6cb !important;
}

.form_success p {
  margin-bottom: 0;
}

/* QUIZ VISUEL */
.formulaire .groupeQuestion.quizVisuel {
  padding: 1rem;
}

.formulaire .groupeQuestion.quizVisuel legend {
  width: calc(100% + 2rem);
  margin: -10px -10px 1rem;
  box-sizing: border-box;
}

/* ===================================================================
* ADMINISTRATION
* =================================================================*/

form[name="postage"] {
  margin-left: -5px;
  margin-right: -5px;
}

input[value="Prévisualiser"],
input[value="Modifier"],
input[value="Noter comme vue"] {
  width: auto !important;
}
.content .list-profil {
  margin: 0;
}

@media (min-width: 481px) {
  .content .list-profil {
    display: grid;
    grid-template-columns: 15rem auto;
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 1.5rem;
    grid-row-gap: 1rem;
  }

  .content .list-profil-definition {
    margin-bottom: 0;
  }
}

@media (max-width: 56.25em) {
  .header-social {
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background-color: #1f1f1f;
    border-top: 1px solid var(--c-black);
  }
}

@media (min-width: 56.3125em) {
    .header-social {
        position: relative;
        margin-right: 1rem;
        padding-right: 1.1rem;
        font-size: 1.8rem;
    }

    .header-social::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 1.8rem;
        background-color: var(--c-white);
    }
}

@media (max-width: 56.25em) {
  .header-social {
    font-size: 2.4rem;
  }
}

.header-social li {
  list-style: none;
}

.header-social a {
  display: flex;
  width: 4.4rem;
  height: 4.4rem;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--c-white);
  transition: all 0.3s;
}

@media (min-width: 56.3125em) {
  .header-social a {
    width: 3rem;
    height: 3rem;
  }
}

.header-social .icon-youtube {
  font-size: 0.8em;
}

.header-social a:hover,
.header-social a:focus {
  background-color: #2678b9;
}

.header-social-list {
  display: flex;
  justify-content: flex-end;
}/* ===================================================================
 * LIGHTBOX ALERTE
 * =================================================================*/

#lightalertOverlay     { display: none; position: absolute; left: 0; top: 0; margin: 0; padding: 0; background-color: #000000; opacity: 0.85; filter : alpha(opacity=85); z-index: 9999; }
#lightalert            { display: none; position: absolute; width: 30%; margin: 0; padding: 1.5rem 1.5rem 3rem; font-weight: normal; text-align: center;
  background: none #FFFFFF; border-radius: 1rem; z-index: 10000; }
#lightalert h1         { margin: 0; padding: 1.5rem; color: #000000; font-size: 25px; font-weight: bold; }
#lightalert span       { margin: 0 0 1.5rem; padding: 1.5rem 3rem; color: #000000; font-size: 2rem; font-weight: bold; border-radius: 0.5rem 0.5rem 0.5rem 0.5rem; cursor: pointer;  }
#lightalert span:hover { background: none #F3F3F3; }
#lightalert p          { margin: 0 0 1.5rem; padding: 1.5rem; }

/* ===================================================================
* FANCYBOX
* =================================================================*/

.fancybox-hide { visibility:hidden; }

/* Trophées */
.trophee-container {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
}
.trophee-left img {
  max-width: 100%;
}
