/* Palette de l'habillage. Contrastes vérifiés (RGAA 3.2 et 3.3) : voir
   documentation/modernisation-ui.md. */
:root {
  --brand: #0000AF;
  --brand-hover: #00008C;
  --brand-soft: #F2F4FB;
  /* Menu blanc comme les cartes, détaché par un filet et une ombre ; le bandeau de titre
     des pages intérieures, au-dessus, est teinté pour ne pas se confondre avec lui. */
  --menu-bg: #FFFFFF;
  --menu-hover: #E8EEFA;
  --menu-border: #CFD8E8;
  --menu-shadow: 0 4px 14px rgba(0, 0, 40, 0.08);
  --band-bg: #EEF2FA;
  --surface: #FFFFFF;
  --surface-subtle: #F6F8FC;
  --border: #DCE2F0;
  --text: #1E2430;
  --text-muted: #4B5565;
  --cta-green: #0F7B55;
  --cta-green-hover: #0B6143;
  --date-accent: #B00000;
  --footer-bg: #363839;
  --footer-link: #5CD0FF;
  --focus-ring: #003D99;
  --barre-connexion: 52px;
}

/* Repli avant la mesure par js/base.js : la barre est plus haute sur mobile. */
@media (max-width: 767.98px) {
  :root {
    --barre-connexion: 63px; } }

/* Bootstrap 5 container-xl width adjustment to mimic BS3 1170px @ ≥1200px */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1170px;
  }
}

/* RGAA P1 : lien d'évitement + focus visible */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: #003d99;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  outline: 3px solid #fff;
  outline-offset: 2px;
}
/* Double anneau : lisible sur fond clair et sur bandeaux foncés (formulaire / footer) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 0;
  box-shadow: 0 0 0 6px #003d99;
}
/* Bootstrap redéfinit le focus de ses composants : même double anneau pour eux. */
.btn:focus-visible,
.nav-link:focus-visible,
.navbar-toggler:focus-visible,
.form-control:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 0;
  box-shadow: 0 0 0 6px var(--focus-ring);
}
.page-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #222;
}
.page-intro {
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0 0 1.25rem;
  color: #444;
}
.mobile-product-title {
  margin: 0;
  font-weight: 600;
  /* Comme un titre : avec l'interligne du corps, la barre fixe masquait davantage
     le haut de la page sur petit écran. */
  line-height: 1.3;
}
/* Cible du lien d'évitement (<main>, qui commence après les barres) : pas d'anneau sur un
   grand conteneur, un liseré en haut du contenu marque l'endroit au clavier. */
#contenu-principal:focus {
  outline: none;
}
main#contenu-principal:focus-visible {
  box-shadow: inset 0 4px 0 var(--brand);
}

.h1, .h2, .h3, h1, h2, h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.3;
  color: inherit;
}

.h3, h3 {
  font-size: 24px;
}

/* Remove underline in footer and regions/content like before */
.bandeau-footer a {
  text-decoration: none;
}
.bandeau-footer a:hover,
.bandeau-footer a:focus {
  text-decoration: underline;
}
/* Liens du texte soulignés au repos : le bleu seul se distingue mal du texte (RGAA 10.6). */
.bandeau-content a:not(.button):not(.btn) {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bandeau-content a:hover,
.bandeau-content a:focus {
  text-decoration: underline;
}

/* Center and soften navbar toggler buttons */
.navbar-header .navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
@charset "UTF-8";
/**
* SASS Style 
* Date : 22/03/2016
* Auteur : Gaël DIGARD @lannion 
*
*/
/** IMPORTS **/
html,
body {
  margin: 0;
  padding: 0; }

/*** Mixin ***/
/** HELPERS **/
.text-align_center {
  text-align: center; }

.text-align_right {
  text-align: right; }

.text-align_justify {
  text-align: justify; }

.display_none {
  display: none; }

.margin-top_5prct {
  margin-top: 5%; }

.margin-top_10prct {
  margin-top: 10%; }

.text-decoration_underline {
  text-decoration: underline; }

.color_white {
  color: white; }

body {
  font: 16px/1.5 "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text); }

.text-bold {
  font-weight: bold; }

/* Tailles proposées par l'éditeur, relatives au texte qui les entoure. */
.text-small {
  font-size: 0.875em; }
.text-large {
  font-size: 1.25em; }
.text-xlarge {
  font-size: 1.5em; }
  
img {
  max-width: 100%; }

.p404 .bandeau-footer {
  margin-top: 0 !important; }
.p404 h1 {
  font-size: 300px;
  font-size: clamp(120px, 40vw, 300px);
  font-weight: 300; }
.p404 h2 {
  font-size: 60px;
  font-weight: 300; }
.p404 h3 {
  font-size: 40px;
  font-weight: 300;
  padding-bottom: 3%;
  padding-top: 3%;
  text-shadow: 0px 0px 5px white; }
.p404 a {
  color: black;
  text-decoration: underline; }

.ml-10-mm {
  margin-left: 10mm; }

.mt-15 {
  margin-top: 15px; }

.mt-0 {
  margin-top: 0px !important; }

.text-white {
  color: #FFFFFF; }

.text-black {
  color: #000000; }

.text-red {
  color: #B00000; }

.text-red2 {
  color: #C9302C; }

.bg-red2 {
  background-color: #C9302C; }

.text-green2 {
  color: #016B61; }

.text-bleu2 {
  color: #31ccec; }

.text-bleu3 {
  color: #2097fd; }

.text-bleu4 {
  color: #005FCC; }

.text-bleu5 {
  color: #4A5EC0; }

.text-bleu6 {
  color: #5E95BA; }

.text-brown2 {
  color: #795548; }

/* Palette de l'éditeur (outil Couleur) : contraste d'au moins 4,5:1 sur blanc. */
.text-bleu-charte {
  color: #0000AF; }

.text-orange {
  color: #B45309; }

.text-gris-fonce {
  color: #4B5565; }

.text-gray2 {
  color: #8a8a8a; }

.btn-success { background-color: #016B61; border: none; }
.btn-success:hover { background-color: #118A0F; border: none; }

.faq-categorie .confirm {
  display: inline-block;
  background-color: #016B61; }
.faq-categorie .img-seconnecter {
  height: 24px;
  width: 105px; }
.faq-categorie .img-seconnecter-2 {
  height: 21px;
  width: 92px; }
.faq-categorie .img-premiereconnexion {
  height: 16px;
  width: 162px; }
.faq-categorie .img-loupe {
  height: 26px;
  width: 25px; }
.faq-categorie .img-bouton-liste {
  background-color: white;
  color: #333333;
  cursor: default;
  font-family: sans-serif,arial,verdana,trebuchet ms;
  font-size: 13px;
  height: 22px;
  width: 45px; }
.faq-categorie .img-outils {
  background-color: white;
  color: #333333;
  cursor: default;
  font-family: sans-serif,arial,verdana,trebuchet ms;
  font-size: 13px;
  height: 20px;
  width: 53px; }
.faq-categorie .img-ajouterconcession {
  height: 31px;
  width: 120px; }
.faq-categorie .img-informationsconcession {
  height: 25px;
  width: 139px; }
.faq-categorie .img-contacts {
  height: 26px;
  width: 66px; }
.faq-categorie .img-facturation {
  height: 25px;
  width: 79px; }
.faq-categorie .img-enregistrer {
  height: 31px;
  width: 83px; }
.faq-categorie .img-modeles {
  height: 26px;
  width: 81px; }
.faq-categorie .img-mesdocuments {
  height: 26px;
  width: 134px; }
.faq-categorie .img-administration {
  height: 24px;
  width: 28px; }
.faq-categorie .img-modelededocument3douest {
  height: 26px;
  width: 157px; }
.faq-categorie .img-actesetcourriers {
  height: 23px;
  width: 108px; }
.faq-categorie .img-afficherpdf {
  height: 28px;
  width: 84px; }
.faq-categorie .img-enregistrerdansdocuments {
  height: 27px;
  width: 166px; }
.faq-categorie .img-corbeille {
  height: 26px;
  width: 25px; }
.faq-categorie .img-modifier {
  height: 32px;
  width: 82px; }
.faq-categorie .img-changerdemplacement {
  height: 31px;
  width: 140px; }
.faq-categorie .img-corbeille {
  height: 26px;
  width: 25px; }
.faq-categorie .img-procedures {
  height: 30px;
  width: 83px; }
.faq-categorie .img-historique {
  height: 27px;
  width: 76px; }
.faq-categorie .img-nouvelleinhumation {
  height: 25px;
  width: 138px; }
.faq-categorie .img-personnesinhumees {
  height: 22px;
  width: 125px; }
.faq-categorie .img-exhumer {
  height: 29px;
  width: 114px; }
.faq-categorie .img-valider {
  height: 29px;
  width: 54px; }
.faq-categorie .img-outils2 {
  height: 20px;
  width: 53px; }
.faq-categorie .img-modecreation {
  height: 19px;
  width: 97px; }
.faq-categorie .img-modifieremplacement {
  height: 207px;
  width: 203px; }
.faq-categorie .img-enregistrer2 {
  height: 24px;
  width: 77px; }
.faq-categorie .img-modemodification {
  height: 20px;
  width: 119px; }
.faq-categorie .img-modifier2 {
  height: 25px;
  width: 67px; }
.faq-categorie .img-supprimer {
  height: 23px;
  width: 77px; }
.faq-categorie .img-crayon {
  height: 29px;
  width: 33px; }
.faq-categorie .img-coueleursurleplan {
  height: 27px;
  width: 94px; }
.faq-categorie .img-enregistrer3 {
  height: 27px;
  width: 70px; }
.faq-categorie .img-accepterdedeplacerlesdefunts {
  height: 21px;
  width: 229px; }
.faq-categorie .img-enregistrer4 {
  height: 30px;
  width: 76px; }
.faq-categorie .img-ajouterouprendreunephoto {
  height: 29px;
  width: 158px; }

button.confirm {
  display: inline-block;
  border-radius: 0; }
.confirm.blue {
  display: inline-block;
  background-color: #3f51b5; }
.confirm.blue2 {
  display: inline-block;
  background-color: #4A5EC0; }
.confirm.blue3 {
  display: inline-block;
  background-color: #2196f5; }
.confirm.blue4 {
  display: inline-block;
  background-color: #5bc0de; }
.confirm.indigo {
  display: inline-block;
  background-color: #5974d9; }
.confirm.red {
  display: inline-block;
  background-color: #D9534F; }
.confirm.red2 {
  display: inline-block;
  background-color: #F44336; }
.confirm.white {
  display: inline-block;
  background-color: #FFFFFF; }
.confirm.green {
  display: inline-block;
  background-color: #016B61; }
.confirm.green2 {
  display: inline-block;
  background-color: #5cb85c; }
.confirm.green3 {
  display: inline-block;
  background-color: #4cb050; }
.confirm.teal {
  display: inline-block;
  background-color: #019587; }
.confirm.warning {
  display: inline-block;
  background-color: #ff9800; }
.confirm.dark {
  display: inline-block;
  background-color: #333; }
.confirm.dark2 {
  display: inline-block;
  background-color: #000000; }
.confirm.gray {
  display: inline-block;
  background-color: #dee2e6; }
.indent-10mm {
  margin-left: 10mm; }

.test {
  font-weight: bold; }

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

.navbar-header {
  width: auto; 
  padding: 0 10px
}
.navbar-header .navbar-toggle,
.navbar-header .navbar-toggler {
    background: #dedede;
    margin-left: 0px;
    margin-right: 0px;
    z-index: 2; }
    .navbar-header .navbar-toggle span.icon-bar,
    .navbar-header .navbar-toggler span.icon-bar,
    .navbar-header .navbar-toggler .navbar-toggler-icon,
    .navbar-header .navbar-toggler i {
      background: transparent;
      color: gray;
      font-size: 20px; }
.navbar-header .navbar-toggler.mobilebtns i {
  color: var(--brand); }

.navbar-collapse .logo {
  font-size: 26px;
  margin: 10px 0;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit; }

#titre {
  color: white;
  font-size: 28px;
  margin-top: 0;
  position: relative;
  text-align: center;
  width: 100%; }

#image_container {
  text-align: center; }
  #image_container img {
    width: 100%; }

button, .btn,
.form-control,
input {
  border-radius: 0; }

/**
    bandeau applat de couleurs
**/
.navbar-collapse {
  color: #FFF;
  font: 15px "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
  .navbar-collapse h1 {
    font-size: 26px;
    margin: 10px 0; }
  .navbar-collapse img {
    height: 23px;
    margin-top: -5px;
    margin-right: 6px; }
  .navbar-collapse a {
    color: #FFF; }
.navbar-collapse .login {
  margin: 0;
  text-align: right;
  font-size: 15px; }
    .navbar-collapse .login .btn {
      font-size: 15px; }
  .navbar-collapse .help,
  .navbar-collapse .fa-question-circle {
    top: 7px;
    font-size: 23px;
    height: 23px;
    margin-right: 18px;
    margin-left: 14px; }

.bandeau-form {
  background: #0000AF;
  position: fixed;
  z-index: 5;
  width: 100%;
  top: 0;
  padding: 0; }

/* La ligne de l'en-tête n'est pas dans un conteneur : sa gouttière débordait de 12 px.
   La gouttière nulle retire marges et retraits : la photo garde toute la largeur. */
.bandeau-header .row {
  --bs-gutter-x: 0; }

.bandeau-header {
  background: #0000AF;
  padding-top: var(--barre-connexion);
  background-size: contain; }

/* Accueil : photo plafonnée et dégagée ; seul le titre est posé sur une bande bleu nuit
   pleine largeur (au moins 4,5:1 sur toute la largeur, même sur une photo blanche). */
#image_container {
  position: relative; }
  #image_container img {
    display: block;
    /* Un titre sur deux lignes (bande d'environ 90 px) laisse encore la photo visible au-dessus. */
    min-height: 145px;
    max-height: 210px;
    object-fit: cover; }
/* Calque sans fond au-dessus de la photo et de la bande : il porte l'anneau de focus du lien,
   que la photo cacherait. */
#image_container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: none; }
#image_container:focus-within::after {
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--focus-ring); }

#texte_bandeau {
  color: #FFFFFF;
  font-size: 1.55rem;
  font-weight: 600;
  left: 0;
  line-height: 1.25;
  position: absolute;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
  z-index: 1; }
/* Bande derrière le titre : sa hauteur plus 14 px au-dessus et 12 en dessous, fondue sur 22 px
   vers le haut. Réservée à la photo d'accueil : le bandeau compact des pages intérieures
   utilise aussi #texte_bandeau. */
#image_container #texte_bandeau {
  bottom: 0;
  padding: 14px 0 12px;
  background: rgba(0, 0, 95, 0.8); }
#image_container #texte_bandeau::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 22px;
  background: linear-gradient(0deg, rgba(0, 0, 95, 0.8), rgba(0, 0, 95, 0));
  pointer-events: none; }

/* Pages intérieures : le nom du produit en texte, sur fond teinté pour rester distinct du menu blanc. */
.bandeau-header--compact {
  background: var(--band-bg);
  border-bottom: 1px solid var(--menu-border); }
.bandeau-header--compact #texte_bandeau {
  position: static;
  margin: 0;
  padding: 10px 0;
  color: var(--brand);
  font-size: 1.05rem;
  line-height: 1.3;
  text-transform: none; }
/* Même retrait que le contenu, qui en gagne un sous 1200 px. */
@media (max-width: 1200px) {
  .bandeau-header .container-xl {
    padding-left: 29px; } }
/* La barre mobile, sous 768 px, affiche déjà le nom (#titre) : le bandeau compact
   le répéterait. */
@media (max-width: 767.98px) {
  .bandeau-header--compact {
    border-bottom: 0; }
  .bandeau-header--compact #texte_bandeau {
    display: none; } }
/* Sous 576 px la photo de l'accueil est masquée, son titre avec elle. */
@media (max-width: 575.98px) {
  #texte_bandeau {
    display: none; } }

/* Menu collé sous la barre de connexion, au-dessus du contenu. */
.bandeau-menu {
  position: sticky;
  top: var(--barre-connexion);
  z-index: 4;
  background: var(--menu-bg);
  border-bottom: 1px solid var(--menu-border);
  box-shadow: var(--menu-shadow);
  width: 100%; }

/* Ensure inner wrappers fill the fixed heights for vertical centering */
.bandeau-form .container,
.bandeau-form .container-xl,
.bandeau-form .container-inner,
.bandeau-form .row,
.bandeau-form .col-md-12,
.bandeau-form .navbar-header,
.bandeau-form #login-form-container,
.bandeau-menu .container,
.bandeau-menu .container-xl,
.bandeau-menu .container-inner,
.bandeau-menu .row,
.bandeau-menu .col-md-12,
.bandeau-menu nav#menu {
  height: auto;
}

/* Flex center header content (togglers, logo/title, login button) */
.bandeau-form .navbar-header,
.bandeau-menu nav#menu {
  display: flex;
  align-items: center;
}

.bandeau-form .navbar-header .navbar-toggler {
  height: 45px;
  width: 45px;
  margin-top: 0;
  margin-bottom: 0;
}

/* Logo/text and login areas centered vertically */
.navbar-collapse .logo,
.navbar-collapse .login {
  display: flex;
  align-items: center;
  height: 100%;
}
.navbar-collapse .logo a {
  text-decoration: none; }
.navbar-collapse .logo img {
  max-height: 32px;
  height: auto;
}

/* De l'air entre le menu et le titre de page. Porté par le conteneur intérieur : 404.php,
   dont le fond est posé sur .bandeau-content, n'a pas ce conteneur. */
.bandeau-content .container-inner {
  padding-top: 1.5rem; }

.bandeau-content {
  min-height: 400px;
  /* Longues adresses et « ajout/suppression » : coupés plutôt que de déborder à 320 px. */
  overflow-wrap: break-word; }
  .bandeau-content h5 {
    font-weight: 600;
    margin: 2rem 0 1rem 0; }

/* Vidéos des régions (largeur fixe dans le HTML) : jamais plus larges que la colonne.
   Sur petit écran la hauteur suit la largeur ; au-delà, les dimensions saisies sont
   gardées. Les cartes de « Nos clients » ne sont pas visées. */
.bandeau-content iframe[src*="youtube"] {
  max-width: 100%; }
@media (max-width: 575.98px) {
  .bandeau-content iframe[src*="youtube"] {
    height: auto;
    aspect-ratio: 16 / 9; }
  /* Les intégrations existantes sont en 400 × 300. */
  .bandeau-content iframe[src*="youtube"][width="400"][height="300"] {
    aspect-ratio: 4 / 3; } }

.bandeau-bottom {
  position: relative;
  display: none;
  background: #51708E;
  width: 100%;
  padding-top: 0.5%; }

a {
  color: #0000af; }

.espacement {
  margin-bottom: 2.5rem; }

.bandeau-footer {
  background: var(--footer-bg);
  color: #fff;
  margin-top: 2%; }
  .bandeau-footer a {
    color: var(--footer-link); }
  /* Liens mêlés au texte blanc (téléphone, courriel, dernière ligne) : soulignés, la
     couleur seule ne suffit pas (RGAA 10.6). */
  .bandeau-footer a.text-decoration_underline,
  .bandeau-footer .last-line a {
    text-decoration: underline; }

.login-form {
  margin: 0.5%;
  color: white;
  font-size: 15px; }
  .login-form input {
    border: 0; }
    .login-form input.form-input {
      margin-right: 10px;
      padding-left: 5px; }
  .login-form label.mylabel {
    margin-right: 10px;
    white-space: nowrap;
    font-weight: 300; }
  .login-form label.checkbox {
    font-weight: 300;
    cursor: pointer;
    margin-right: 20px; }
  .login-form input.form-control {
    border-radius: 4px; }

/* 3. Arrondis des boutons de l'habillage (les pastilles .confirm restent droites) */
.bandeau-form .btn,
#se_connecter,
.login-form .form-submit,
.button {
  border-radius: 6px; }

/* Sur une ligne : à l'étroit à côté des boutons SSO, il doublait la hauteur de la barre. */
#se_connecter {
  white-space: nowrap;
  flex-shrink: 0; }

/* À l'étroit, seul le logo du fournisseur d'identité rétrécit : l'icône d'aide garde sa
   place et rien ne déborde sur le logo du site. */
.navbar-collapse .login .text_aide {
  flex-shrink: 0; }
.navbar-collapse .login.container-compte-img {
  flex-shrink: 1;
  min-width: 0; }

/* Connexion : vert bordé de blanc, contrasté sur le bandeau bleu (RGAA 3.3) */
#se_connecter,
.login-form .form-submit {
  background-color: var(--cta-green);
  color: #FFFFFF;
  font-weight: 600;
  border: 1px solid #FFFFFF; }
#se_connecter:hover,
#se_connecter:active,
.login-form .form-submit:hover,
.login-form .form-submit:active {
  background-color: var(--cta-green-hover);
  color: #FFFFFF;
  border-color: #FFFFFF; }

.nav-pills > li + li {
  margin-left: 0; }

/* Bootstrap 5 nav-link sizing to resemble BS3 menu height */
nav#menu .nav-link {
  padding: 0 15px;
  font-size: 15px;
  line-height: 42px;
}

/* Barre de connexion sur une ligne (seuil md de Bootstrap) */
@media (min-width: 768px) {
  .bandeau-form .navbar-header,
  .bandeau-form .navbar-collapse { align-items: center; }
  .bandeau-form .navbar-collapse .logo { margin: 0; }
  .bandeau-form .navbar-collapse .login { margin: 0; }
  .bandeau-form .login-form { margin: 0; }
  .bandeau-form .login-form input.form-input { height: 32px; padding-top: 4px; padding-bottom: 4px; }  
}

/* Barre d'environ 52 px en bureau : 38 px de boutons et 7 px de part et d'autre. */
.bandeau-form .navbar-collapse {
  padding: 7px 0;
}
/* La gouttière verticale du formulaire classique n'était pas compensée. */
.bandeau-form .login-form {
  --bs-gutter-y: 0; }

a[href*="mailto:"] {
  color: #0000af; }

nav#menu {
  margin-left: 0;
  margin-right: 0; }
  nav#menu a {
    color: var(--text);
    font-weight: 500;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
    nav#menu a:focus, nav#menu a:hover {
      color: var(--brand);
      background: var(--menu-hover); }
    /* Onglet actif : couleur, graisse et soulignement, pas la seule couleur (RGAA 3.1) */
    nav#menu a.active {
      color: var(--brand);
      font-weight: 600;
      background: transparent;
      border-bottom-color: var(--brand); }

.button {
  background: #0000AF;
  color: white;
  font-size: 15px;
  border: 0;
  padding: 5%;
  font-weight: 600;
  text-align: center;
  padding: 1% 2%;
  display: inline-block;
  text-decoration: none !important; }
  .button.rounded {
    border-radius: 15px;
    padding: 6px 12px 8px; }
  .button.devis, .button.demo {
    min-width: 205px;
    margin: 1%; }
  .button.reverseColors, .button.lien3douest {
    background: white;
    border: 1px solid #0000AF;
    color: #0000AF; }
  .button.lienwebluma {
    background: white;
    border: 1px solid #8E43F0;
    color: #8E43F0; }
  .button.margintop {
    margin-top: 50px; }

section.links_to_services {
  text-align: center; }
  section.links_to_services img {
    border: 0;
    margin: 0.6%; }
  section.links_to_services a {
    text-decoration: none; }

.acces-demo {
  margin-top: 17px; }

.hover:hover {
  opacity: 0.5; }
/* Un bouton à moitié transparent se lit comme désactivé. */
.button.hover:hover {
  opacity: 1;
  filter: brightness(0.92); }
.button.reverseColors.hover:hover,
.button.lien3douest.hover:hover {
  background: var(--brand-soft);
  filter: none; }

a.button.hover > span {
  color: white; }

/** FAQ : accordéon, le bouton est créé par js/base.js hors édition **/
ul.faq-categorie {
  list-style: none;
  padding-left: 0; }
/* Le retrait est porté par la question entière : réponses, texte nu et mode édition
   (sans bouton) restent alignés sur le titre. Le bouton le compense. */
ul.faq-categorie > li {
  border-bottom: 1px solid var(--border);
  padding: 2px 12px; }
ul.faq-categorie > li > h4 > button.faq-toggle {
  margin: 0 -12px;
  width: calc(100% + 24px); }
ul.faq-categorie li h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600; }
ul.faq-categorie li h4 button.faq-toggle {
  display: block;
  width: 100%;
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 6px;
  padding: 8px 36px 8px 12px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease; }
ul.faq-categorie li h4 button.faq-toggle:hover {
  background: var(--brand-soft);
  color: var(--brand); }
ul.faq-categorie li h4 button.faq-toggle[aria-expanded="true"] {
  color: var(--brand); }
ul.faq-categorie li h4 button.faq-toggle::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease, border-color 0.15s ease; }
ul.faq-categorie li h4 button.faq-toggle[aria-expanded="true"]::after {
  border-color: var(--brand);
  transform: translateY(-30%) rotate(-135deg); }

@media (prefers-reduced-motion: reduce) {
  nav#menu a,
  ul.faq-categorie li h4 button.faq-toggle,
  ul.faq-categorie li h4 button.faq-toggle::after {
    transition: none; } }

.h3 {
  font-size: 23px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.3;
  color: inherit;
  display: block; }

/** Fil d'actualités : accueil seul (classe posée par views/content.php). Sélecteurs
    descendants : en ?edit, Jodit intercale un conteneur. **/
.fil-actualites h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--date-accent); }
/* Les titres existants portent leur propre rouge : <font> ou la classe de l'éditeur. */
.fil-actualites h3 font,
.fil-actualites h3 .text-red2 {
  color: var(--date-accent); }
/* Filet entre deux entrées, ni sous « Actualités » ni sur un h3 final vide. Règle à part :
   un navigateur sans :has() l'ignore sans perdre le reste. */
.fil-actualites h3 ~ h3:has(+ *) {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border); }
.fil-actualites blockquote {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  padding: 0.9rem 1.15rem;
  border-radius: 8px;
  margin: 1rem 0 1.25rem;
  color: var(--text); }
/* Open Sans 500 n'est pas chargée : rendu en 400, le bloc entier en gras s'allège. */
.fil-actualites blockquote .text-bold {
  font-weight: 500; }

/* Ancienne règle du site : le pied de page du portail (.bandeau-footer) est maintenant
   un <footer>, il garde sa propre mise en page. */
footer:not(.bandeau-footer) {
  text-align: center;
  margin: 1%; }

.visite,
.adresse,
p.about {
  line-height: 24px; }

ul.nos-produits {
  list-style: none;
  padding-left: 0; }
  ul.nos-produits li {
    margin: 0 0 0.35rem 0; }

.horaires {
  margin-top: 10px; }

.colored-line {
  margin-top: 2%;
  border-bottom: 2px solid #2d3335; }

.last-line {
  margin-top: 0px;
  padding-top: 2%;
  padding-bottom: 2%;
  text-align: center;
  border-top: 1px solid #4f5455; }

.obs {
  unicode-bidi: bidi-override;
  direction: rtl;
  cursor: pointer; }

.navbar-header .navbar-toggle.mobilebtns,
.navbar-header .navbar-toggler.mobilebtns {
  background: white;
  color: var(--brand);
  border: 0;
  width: 45px;
  height: 45px; }

.bordered-blue {
  border: 1px solid #0000AF; }

.bordered-dark-blue {
  border: 1px solid #0000AF; }

.bg-dark-blue {
  background: #0000AF; }

/* Haut de l'encart aligné sur celui du titre de page. */
#contact {
  margin-top: 0; }

/* Cartes d'aide et de démonstration harmonisées avec le site vitrine 3douest.com :
   liseré haut bleu charte, contour léger, coins arrondis et ombre douce.
   Sélecteur qualifié car Cimetière a un doublon id="demo" sur son bouton. */
#contact.bordered-blue,
#demo.bordered-dark-blue {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.07); }
#contact.bordered-blue {
  padding-top: 14px;
  padding-bottom: 14px; }
/* Padding horizontal Bootstrap conservé sur #demo pour garder les 2 boutons côte à côte à 1200 px. */
#demo.bordered-dark-blue {
  padding-top: 4px;
  padding-bottom: 10px; }

#demo h2,
#contact h2 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: bold;
  margin: 10px 0;
  color: #0000AF; }

#demo h2 {
  margin-top: 20px;
  color: #0000AF; }

/* Colonne d'aide à 5/12 : les deux boutons de démo restent côte à côte vers 1200 px,
   y compris avec le libellé plus long d'Agenda. */
#demo .button.demo {
  margin-left: 2px;
  margin-right: 2px; }

.login.container-compte {
  margin: 0;
  padding: 0 0 0 10px; }
  .login.container-compte a {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    /* Un libellé sur plusieurs lignes agrandit le bouton au lieu d'en déborder. */
    min-height: 35px;
    line-height: 1.25;
    text-align: center;
    padding: 0 10px 0 38px;
    display: inline-block;
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none; }
    .login.container-compte a > span {
      text-transform: none;
      flex: 1; }
    .login.container-compte a > i {
      position: absolute;
      left: 10px;
      font-size: 17px;
      top: 50%;
      margin-top: -0.5em; }
    .login.container-compte a:hover {
      color: #FFFFFF;
      background: rgba(255, 255, 255, 0.25);
      border-color: #FFFFFF; }

.text_aide {
  text-decoration: none !important; }

.container-compte-img {
  padding: 0 15px;
}

.container-compte-img a {
  width:100%!important;
  height:33px;
  background-color: none;
}
.sso-provider-logo {
  width: 100%;
  height: 33px;
  display: block;
  object-fit: contain;
  object-position: center;
  background-color: #fff;
}

/** Media query **/

@media only screen and (max-width: 1200px) {

.bandeau-content .container-inner>.row {margin-right: 0; margin-left: 0; padding-left:5px; padding-right:5px;}
    
.bandeau-form .row {--bs-gutter-x: 0!important;margin:  0; padding:0}  
.bandeau-form .row .row {--bs-gutter-x: 0!important;margin:  0; padding:0}
.bandeau-form .row>* {margin:  0; padding:0}
}

@media only screen and (max-width: 767.98px) {

  .bandeau-form { padding: 9px 0; }

  .login-form {
    font-size: 12px; }

  .form-inline .form-group {
    width: 30%; }

  .bandeau-form {
    min-height: 63px; } }


@media only screen and (max-width: 767px) {
  .navbar-collapse .login{
    min-width: 200px;
  }
}

@media only screen and (max-width: 570px) {

  #titre {
    font-size: 19px; 
  }  
  
  .bandeau-form .row {--bs-gutter-x: 0!important;margin:  0; padding:0}  
  .bandeau-form .row .row {--bs-gutter-x: 0!important;margin:  0; padding:0}
  .bandeau-form .row>* {margin:  0; padding:0}

  .bandeau-header * {
    padding-left:  0; 
    padding-right:0;
    margin:  0;
    --bs-gutter-x: 0!important;
  }

  .bandeau-menu * {
    box-sizing: border-box;
    max-width: 100%;
  }

  .bandeau-menu > .container-xl > .container-inner > .row > div {
    padding: 0
  }
  .bandeau-menu .row {
    margin: auto;
  }
  
  .bandeau-menu .container-xl{
    padding: 0;--bs-gutter-x: 0!important;
  }
}    

@media only screen and (max-width: 510px) {
  #titre {
    font-size: 17px; 
    padding: 0 5px;
  } 
  #menu ul {
      flex-direction: column;
  }
  nav#menu a {
    border-bottom: 0;
    border-left: 3px solid transparent;
  }
  nav#menu a.active {
    border-left-color: var(--brand);
    background: var(--menu-hover);
  }
  .bandeau-form * {
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 431px) {

  #login-form-container .login.container {
    flex-direction: column;
  }
  
  #login-form-container .login.container > button {
    width: 100%;
    margin-top:15px;
  }

  #login-form-container .login.container .login {
    margin-top: 20px;
    width: 100%;        
    justify-content: center;
  }

  #login-form-container .login.container .login:not(.container-compte-img) a {
    width: 100%;
    justify-content: center;
  }

  .login.container-compte {
    padding-left: 0;
  }
  #login-form-container .login.container .login.container-compte-img,
  #login-form-container .login.container .login.container-compte-img:hover,
  #login-form-container .login.container .login.container-compte-img:active,
  #login-form-container .login.container .login.container-compte-img:focus {
    background: none!important;
    padding:0!important;
  }
}

@media (max-width: 767.98px) {
  .bandeau-menu {
    border-bottom: 0;
    box-shadow: none; }
  #mainmenu {
    border-bottom: 1px solid var(--menu-border); } }

/* Lien d'évitement, ancres et focus au clavier : rien ne glisse sous les deux barres. */
#contenu-principal,
.page-title,
.bandeau-content [id],
.bandeau-content a,
.bandeau-content button,
.bandeau-footer a {
  scroll-margin-top: calc(var(--barre-connexion) + 56px); }

/* Fenêtre basse, dont le zoom 400 % : les barres reprennent leur place dans la page
   (RGAA 10.4 et 10.11). */
@media (max-height: 500px) {
  .bandeau-form,
  .bandeau-menu {
    position: static; }
  .bandeau-header {
    padding-top: 0; }
  #contenu-principal,
  .page-title,
  .bandeau-content [id],
  .bandeau-content a,
  .bandeau-content button,
  .bandeau-footer a {
    scroll-margin-top: 0; } }
