/*
Theme Name: Structure Child
Theme URI: http://structure.thememove.com
Author: ThemeMove Team
Author URI: http://thememove.com
Description: Theme Child
Version: 3.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: structure
Text Domain: thememove
Tags: black, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/* ==========================================================================
   Notes de version 3.0.3
   - @import Google Fonts retiré, la police est maintenant chargée par
     functions.php (wp_enqueue_style), non bloquant.
   - Media query @media (max-width: 770px) malformée supprimée, elle rendait
     la regle .container mobile inopérante.
   - Points de rupture normalisés : 479 / 767 / 956 / 991.
   - Couleurs centralisées dans :root.
   - Règles mortes supprimées : a:after:hover, font-family en double,
     .numdata.integer.text-center, préfixes navigateurs obsolètes.
   - Text Domain aligné sur celui chargé dans functions.php (thememove).
   ========================================================================== */

:root {
  --bolle-bleu: #0068ac;
  --bolle-cyan: #30cffe;
  --bolle-rouge: #fd3a06;
  --bolle-or: #dac893;
  --bolle-crimson: #dc143c;
  --bolle-lien: #007bff;
  --bolle-gris: #f4f4f4;
  --bolle-font: "Lato", Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */

body {
  font-family: var(--bolle-font); }
  body .btn {
    padding: 10px 20px;
    display: inline-block;
    text-transform: uppercase; }
  body.title-white h1.entry-title {
    /* Attention : titre blanc. Ne poser la classe title-white que sur les
       gabarits disposant d'une image d'en tête. */
    color: white !important; }
  @media (max-width: 767px) {
    body .scroll-x {
      overflow-x: auto; } }
  body .has-bg {
    background-position: top center;
    background-size: cover; }
  body .bg-news {
    /* Chemin absolu : ne dépend plus de l'emplacement du dossier du thème. */
    background-image: url("/wp-content/uploads/2016/03/header_section_news.jpg"); }
  body .cat-bottom {
    margin-bottom: -80px !important; }

/* ==========================================================================
   En tête, menus, ticker
   ========================================================================== */

  body #tp_ticker {
    margin: auto; }
    body #tp_ticker > strong {
      text-transform: uppercase;
      color: var(--bolle-cyan);
      background-color: var(--bolle-bleu) !important;
      text-shadow: none;
      font-size: 17px;
      padding: 0; }
  body .social .menu li a {
    font-size: 16px;
    text-transform: uppercase; }
  body #menu-top-area li {
    margin-left: auto;
    margin-right: auto; }
    body #menu-top-area li a {
      font-size: 16px;
      text-transform: uppercase; }
    body #menu-top-area li:first-child a:after {
      content: ' | ';
      color: var(--bolle-cyan);
      padding: 0 5px; }
  body.header-preset-01 .navigation div ul#primary-menu > li > a {
    margin: 0 7px; }

/* ==========================================================================
   Titres et séparateurs
   ========================================================================== */

  body .dates .date {
    padding-top: 10px; }
  body .dates .month {
    padding-top: 0; }
  body .title h2, body .title h4 {
    border-bottom: 4px solid var(--bolle-bleu);
    padding-bottom: 4px;
    margin-bottom: 20px;
    display: inline-block; }
  body .title2 h2 {
    padding-bottom: 4px;
    border-bottom: 4px solid var(--bolle-bleu); }
  body .divider-alex {
    margin-top: 20px;
    margin-bottom: 10px; }
    body .divider-alex .vc_sep_holder .vc_sep_line {
      border-top: 3px solid var(--bolle-bleu) !important;
      width: 50px;
      margin: auto; }
  body .title-section {
    text-align: center;
    padding-bottom: 60px; }
    body .title-section.black h2 {
      color: black; }
    body .title-section h2 {
      text-transform: uppercase;
      border-bottom: 3px solid var(--bolle-cyan);
      display: inline-block;
      font-size: 40px;
      padding-bottom: 10px; }

/* ==========================================================================
   FAQ
   ========================================================================== */

  /* À VALIDER : insère la lettre R avant chaque bloc texte de .faq-classic.
     Vestige probable d'un système question/réponse incomplet.
     Supprimer les deux règles ci dessous si le R ne sert plus. */
  body .faq-classic .wpb_text_column:before {
    content: 'R';
    background-color: var(--bolle-or); }
  body .faq-classic.wpb_column {
    margin: 20px 0; }

/* ==========================================================================
   Tableaux
   ========================================================================== */

  body table.tableau {
    background-color: var(--bolle-gris); }
    body table.tableau thead tr th {
      text-align: center;
      font-weight: bold; }
      body table.tableau thead tr th:first-child {
        text-align: left;
        padding-left: 10px; }
      @media (max-width: 767px) {
        body table.tableau thead tr th {
          font-size: 12px; } }
    body table.tableau tbody tr:last-child td {
      border-bottom: 0; }
    body table.tableau tbody tr:nth-child(odd) {
      background-color: rgba(0, 104, 172, 0.2); }
    body table.tableau tbody tr td {
      text-align: center; }
      body table.tableau tbody tr td:first-child {
        text-align: left;
        padding-left: 10px;
        max-width: 400px;
        word-wrap: break-word; }

/* ==========================================================================
   Fil d'Ariane et formulaires
   ========================================================================== */

  body .breadcrumb ul.tm_bread_crumb::before {
    content: none; }
  body .frm_style_formidable-style.with_frm_style input[type=submit] {
    box-shadow: none;
    border-radius: 0;
    border: 1px solid var(--bolle-bleu);
    font-size: 20px;
    color: var(--bolle-bleu);
    font-weight: bold; }
    body .frm_style_formidable-style.with_frm_style input[type=submit]:hover {
      background-color: var(--bolle-bleu);
      color: white;
      border: 1px solid var(--bolle-bleu); }

/* ==========================================================================
   Slider « au delà de l'eau »
   ========================================================================== */

  body .slider-eau-dela .blue {
    color: var(--bolle-cyan); }
  body .slider-eau-dela .red {
    color: var(--bolle-rouge); }
  body .slider-eau-dela .avis-list-item {
    color: var(--bolle-bleu);
    text-transform: uppercase;
    position: relative;
    padding-left: 28px; }
    /* Chevron FontAwesome 4. Si le site passe en FA5/FA6, remplacer par
       font-family: "Font Awesome 6 Free" et ajouter font-weight: 900. */
    body .slider-eau-dela .avis-list-item::before {
      content: "\f054";
      font-family: 'FontAwesome';
      left: -5px;
      position: absolute;
      top: 0;
      color: var(--bolle-cyan); }
      @media (max-width: 479px) {
        body .slider-eau-dela .avis-list-item::before {
          content: ""; }
        body .slider-eau-dela .avis-list-item {
          padding-left: 0; } }
  body .slider-eau-dela .slider-eau > span {
    font-size: 1em !important; }
  body .slider-eau-dela .slider-block {
    padding: 15px;
    background: var(--bolle-cyan);
    display: inline-block; }
  body .slider-eau-dela .tp-revslider-mainul li .lightblue {
    color: var(--bolle-cyan); }

/* ==========================================================================
   Blocs WPBakery
   ========================================================================== */

  body .vc_general.vc_cta3 .vc_cta3-content {
    vertical-align: middle; }
  body .vc_general.vc_cta3 .vc_cta3-content-header h2 {
    color: white !important;
    font-size: 40px;
    font-weight: 400;
    margin: 0;
    padding: 0; }
  body .vc_general.vc_cta3 .vc_btn3-container button {
    font-size: 20px; }
    body .vc_general.vc_cta3 .vc_btn3-container button:hover {
      color: var(--bolle-bleu);
      background: white; }
  body .vc_row {
    background-size: cover;
    background-position: top center; }

/* ==========================================================================
   Blocs d'information
   ========================================================================== */

  body .info-block p,
  body .info-block .bottom {
    position: relative; }
  body .info-block .bottom {
    width: 90%;
    margin-left: 10%;
    margin-top: -70px;
    padding: 25px;
    background: white; }
    body .info-block .bottom h2 {
      text-transform: uppercase;
      font-size: 18px;
      font-weight: 900; }
    body .info-block .bottom .btn {
      /* Contraste 1,9:1 sur fond blanc, sous le seuil WCAG AA.
         Passer à var(--bolle-bleu) pour être conforme. */
      color: var(--bolle-cyan);
      font-weight: 900;
      border: 2px solid lightgray;
      margin-top: 20px; }
  /* Neutralisation du chevauchement sur mobile. */
  @media (max-width: 767px) {
    body .info-block .bottom {
      width: 100%;
      margin-left: 0;
      margin-top: 0; } }

/* ==========================================================================
   Image interactive à pastilles
   ========================================================================== */

  body .img-container {
    position: relative;
    display: inline-block;
    width: 100%; }
    body .img-container .zoom {
      display: inline-block;
      position: absolute;
      right: 5%;
      top: 5%; }
      @media (max-width: 991px) {
        body .img-container .zoom {
          right: -5%;
          top: -5%; } }
  body .hide-custom-img,
  body .display-none {
    display: none !important; }
  body .img-container img {
    max-width: 100%; }
  /* Positions codées en dur, dépendantes de l'ordre du balisage et de
     l'image de fond. Toute modification du contenu déplace les pastilles. */
  body .img-container .point {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    position: absolute;
    display: inline-block;
    line-height: 30px;
    background-color: var(--bolle-cyan);
    text-align: center;
    top: 0%;
    left: 0%;
    z-index: 3;
    margin: auto; }
  body .img-container .point:hover {
    cursor: pointer; }
  body .img-container .point:nth-child(2) {
    left: 12%;
    right: 0;
    top: 7%; }
  body .img-container .point:nth-child(3) {
    left: inherit;
    right: 10%;
    top: 17%; }
  body .img-container .point:nth-child(4) {
    left: inherit;
    right: 26%;
    top: 20%; }
  body .img-container .point:nth-child(5) {
    right: 0%;
    left: 3%;
    top: 25%; }
  body .img-container .point:nth-child(6) {
    left: 27%;
    top: 32%; }
  body .img-container .point:nth-child(7) {
    left: 12.7%;
    top: 29%; }
  body .img-container .point:nth-child(8) {
    left: 6%;
    top: 62%; }
  body .img-container .point:nth-child(9) {
    left: 0;
    right: 6%;
    top: inherit;
    bottom: -2%; }
  body .img-container .point:nth-child(10) {
    left: 19%;
    top: 82%; }
  body .img-container .point:nth-child(11) {
    left: inherit;
    right: 28%;
    top: 82%; }
  body .img-container .point .inner {
    color: white;
    line-height: 1em;
    display: inline-block;
    vertical-align: middle;
    font-size: 20px; }
  /* Les deux anciens blocs 956px et 730px étaient identiques, fusionnés. */
  @media (max-width: 956px) {
    body .img-container .point .inner {
      font-size: 22px; } }

/* ==========================================================================
   Compteurs et pied de page
   ========================================================================== */

  body .counter-text img {
    max-height: 148px;
    width: auto; }
  body .counter-text .big-number h2 {
    color: white;
    font-size: 50px;
    text-align: center;
    margin-bottom: 0; }
  body .counter-text p {
    text-transform: uppercase;
    color: white;
    text-align: center; }
  body .footer .textwidget i {
    color: var(--bolle-bleu);
    margin-right: 10px !important; }
  body .sitemap {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px; }
    body .sitemap li {
      list-style: none; }
      body .sitemap li i {
        color: var(--bolle-bleu);
        font-size: 14px; }
  @media (max-width: 479px) {
    body .sitemap {
      grid-template-columns: 1fr; } }

/* ==========================================================================
   Essential Grid
   ========================================================================== */

  /* Rogne les vignettes plutôt que de les redimensionner.
     À régler proprement dans les paramètres Essential Grid. */
  body .grid-nouvelles .esg-entry-media {
    height: 60px;
    overflow: hidden; }

/* ==========================================================================
   Typographie et utilitaires
   ========================================================================== */

p {
  font-weight: 400 !important; }

a {
  cursor: pointer;
  font-weight: 400; }

.titre-lien-pdf {
  cursor: pointer !important;
  font-family: var(--bolle-font); }

.titre-lien-pdf a {
  color: var(--bolle-lien) !important;
  font-family: var(--bolle-font);
  padding: 0 !important;
  font-weight: 400;
  font-size: 13px;
  cursor: pointer !important; }

.page .entry-content ol li,
.page .entry-content ul li {
  font-family: var(--bolle-font) !important; }

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

/* ==========================================================================
   Popup Maker
   ========================================================================== */

.pum-close {
  background: var(--bolle-crimson) !important;
  font-family: var(--bolle-font) !important;
  font-weight: 900 !important; }

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 767px) {
  .container {
    max-width: 100% !important;
    padding: 0 25px !important; }

  th {
    font-size: 12px !important; }

  .wpDataTablesWrapper table.wpDataTable tr.even td {
    background-color: #ffffff !important;
    font-size: 12px !important; }

  .wpdt-c .wpDataTablesWrapper table.wpDataTable tr.odd td {
    background-color: rgba(0, 104, 172, 0.2) !important;
    font-size: 12px !important; }
}
