/*!
 * Start Bootstrap - Agency v5.2.2 (https://startbootstrap.com/template-overviews/agency)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-agency/blob/master/LICENSE)
 */
@font-face {
  font-family: 'CreatoDisplay';
  src: url('font/CreatoDisplay-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'CreatoDisplay';
  src: url('font/CreatoDisplay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'CreatoDisplay';
  src: url('font/CreatoDisplay-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'CreatoDisplay';
  src: url('font/CreatoDisplay-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* utilisation */
body {
  overflow-x: hidden;
  font-family: 'CreatoDisplay', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  margin: 0px;
}
@keyframes pulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.4; }
  100% { opacity: 1; }
}
html {
  overflow-x: hidden;
}
/** {
  outline: 1px solid red;
}*/
#mainNav,
#mainNav * {
  box-sizing: border-box;
}

#mainNav {
  background-color: #0095B5;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

#mainNav > .container,
#mainNav .container {
  max-width: 100%;
}

#mainNav .navbar-toggler {
  font-size: 12px;
  padding: 10px 12px;
  text-transform: uppercase;
  color: white;
  border: 0;
  background-color: transparent;
  position: relative;
  right: auto;
  margin-left: auto;
  line-height: 1.1;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 1);
}

#mainNav .navbar-nav .nav-item .nav-link.active {
  color: rgba(255, 255, 255, 0.5) !important;
}

#mainNav .navbar-brand,
#mainNav .navbar-toggler,
#mainNav .navbar-collapse,
#mainNav .navbar-nav {
  max-width: 100%;
}

#mainNav .navbar-nav .nav-item .nav-link {
  white-space: normal;
  word-break: break-word;
}

/* Desktop */
@media (min-width: 992px) {
  #mainNav {
    padding-top: 15px;
    padding-bottom: 16px;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    background-color: #0095B5;
    font-weight: 500;
  }

  #mainNav .navbar-brand {
    font-size: 1.75em;
    transition: all 0.3s;
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 0.5em 1em 0.2em !important;
  }

  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #0095B5;
  }

  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
    padding: 12px 0;
  }
}

/* Mobile / tablette */
@media (max-width: 991.98px) {
  #mainNav {
    left: 0;
    right: 0;
  }

  #mainNav .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  #mainNav .navbar-brand,
  #mainNav .navbar-toggler,
  #mainNav .navbar-collapse {
    min-width: 0;
  }

  #mainNav .navbar-brand {
    flex: 1 1 auto;
    display: inline-block;
    max-width: calc(100% - 90px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }

  #mainNav .navbar-toggler {
    flex: 0 0 auto;
    float: none;
    margin-top: 0;
    margin-right: 0;
    margin-left: 10px;
  }

  #navbarResponsive {
    flex: 0 0 100%;
    clear: both;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  #mainNav .navbar-nav {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #mainNav .nav-item {
    width: 100%;
    max-width: 100%;
  }

  #mainNav .nav-link {
    display: block;
    width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 0.75rem 0;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===== Social Desktop ===== */
.social-drawer {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 900;
  width: auto;
  max-width: 100%;
}

.social-toggle {
  display: none;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  background: #0095B5;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===== Social Mobile ===== */
@media (max-width: 768px) {
  .social-drawer {
    top: auto;
    bottom: 16px;
    right: 16px;
    transform: none;
    z-index: 900;
    width: auto;
    max-width: 100%;
  }

  .social-toggle {
    display: flex;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #0095B5;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    padding: 0;
  }

  .social-links {
    position: absolute;
    right: 0;
    bottom: 62px;
    display: flex;
    flex-direction: column;
    gap: 10px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .social-drawer.open .social-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .social-links a {
    width: 46px;
    height: 46px;
  }
}

.back-to-top {
  position: absolute;
  right: 20px;
  bottom: 20px;

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  text-decoration: none;

  font-size: 18px;
  font-weight: bold;

  color: #fff;
  background: #0095B5;

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: #007a94;
}
section {
  position: relative;
}

.blink {
  animation: pulse 1.5s 6; /* 6 répétitions puis stop */
}

/* Pop-up (modale) */
.popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* fond sombre */
  align-items: center;
  justify-content: center;
}

.popup-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  position: relative;
}

.popup h2 {
  margin-top: 0;
}

.popup-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}
    /* ============================================= */
    /* 🎨 BULLE RESPONSIVE + ANIMATION ADAPTÉE */
    /* ============================================= */

#bubble-wrapper {
  position: relative;
  width: min(95%, 1200px);
  margin: 40px auto;
}

.word-container {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: clamp(6px, 1.5vw, 12px);

  padding: clamp(20px, 4vw, 40px);

  background: linear-gradient(135deg, #0095b5, #ea515e36, #ecf0c4c4, #fce7f3e0);
  background-size: 400% 400%;
  animation: bubbleMorph 10s ease-in-out infinite,
             gradientShift 20s ease-in-out infinite;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  overflow: hidden;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.word-container.active {
  opacity: 1;
  pointer-events: auto;
}

.word {
  display: inline-block;
  font-weight: bold;
  line-height: 1.2;
  user-select: none;
}

/* Animation principale */
@keyframes bubbleMorph {
  0%   { border-radius: 50px 80px 60px 40px; }
  25%  { border-radius: 70px 40px 90px 60px; }
  50%  { border-radius: 90px 50px 50px 90px; }
  75%  { border-radius: 40px 100px 80px 50px; }
  100% { border-radius: 50px 80px 60px 40px; }
}

/* Dégradé animé */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 📱 MOBILE—cacher totalement la bulle
@media (max-width: 600px) {
  #word-container {
    display: none !important;
  }
  #presse {
  padding: 30px 0;
}
}*/

/* Masquer sur mobile */
@media (max-width: 768px) {
  #bubble-wrapper {
    display: none;
  }
}

p {
  line-height: 1.75;
}

 
a {
  color: white;
}

a:hover {
  color: white;
  
} 

.ellesetils {
    color:   #0095B5;
    margin-top: 35px !important;
    margin-bottom: 35px !important;
}

.white-color {
     color: white !important;
}

.bg-color1 {
 background-color:#475e89
}
.bg-color2 {
 background-color:#b83d41
}
.bg-color3 {
 background-color:#80294c
}
.bg-color4 {
 background-color:#0095B5
}
.bg-color5 {
 background-color:#b83d41
}
.bg-color6 {
 background-color:#a27225
}
.bg-color7 {
 background-color:#70296a
}
.bg-color8 {
 background-color:#BCCF00
}
.bg-color9 {
 background-color:#004c52
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold !important;
  
}

.page-section {
  padding: 100px 0;
}

section#financement  h2.section-heading {
      margin-bottom: 50px;
}

section#projet  h2.section-heading {
      margin-bottom: 50px;   
}
section#presse {
	width: 100%;
}

section#presse h4 {
      color: white;
}

section#presse  h2.section-heading {
      margin-bottom: 50px;
      color: #ffffff;
      margin-top: 50px;
}

section#projet  .telecharger2 {
      margin-bottom: 50px;
}

.page-section h2.section-heading {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 100px;
}

.page-section h3.section-subheading {
  font-size: 16px;
  font-weight: bold !important;
  font-style: normal;
  margin-bottom: 50px !important;
  text-transform: none;
}


section#projet {
  background: white;

}

section#projet .telecharger {
  color: #0095B5;
}


section#nous-soutenir h3.section-subheading {
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  section {
    padding: 150px 0;
  }
}

::-moz-selection {
  background: #28A645;
  text-shadow: none;
}

::selection {
  background: #28A645;
  text-shadow: none;
}

img::-moz-selection {
  background: transparent;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

.btn {
  
  font-weight: bold !important;
}

.btn-xl {
  font-size: 18px;
  padding: 20px 40px;
}

#myBtn {	
    display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border-color: white;
  background-color: #7b9f35;
  color : white;
}

#myBtn:hover, #myBtn:active, #myBtn:visited, #myBtn:focus {	
  border-color: #28A645;
  background-color: white;
  color : #28A645;
}


button.btn-primary {
  background-color: transparent;
  border-color: white;
  border:1.5px #ffffff solid;
  padding: 5px 20px;
  color: white;
}

.btn-primary {
  background-color: transparent;
  border-color: white;
  border:1.5px #ffffff solid;
  padding: 5px 20px;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.1rem #D3D7CF !important;
}

.portfolio-modal .btn-primary:active, .portfolio-modal .btn-primary:focus, .portfolio-modal .btn-primary:hover {
   background-color: white !important;
    border-color:black !important;
  color: black !important;
}

section#nous-soutenir .btn-primary:active, section#nous-soutenir .btn-primary:focus, section#nous-soutenir .btn-primary:hover {
   background-color: white !important;
    border-color: white !important;
  color: #7b9f35 !important;
}

section#contact .btn-primary:active, section#contact .btn-primary:focus, section#contact .btn-primary:hover {
     background-color: white !important;
    border-color: white !important;
  color: #7e2a48 !important;
}



.detprog {
    padding-top: 15px;
}

.detprog h5 {
    font-size: 1em;
    text-align: center;
    background-color: #D3D7CF;
    padding: 5px
}

.js-scroll-trigger {
    cursor: pointer;
}

.ml-auto{ 
    margin-right: auto;
}
header.masthead {
  text-align: center;
  color: white;
  margin:4vw 0 0 0;
  padding:0;
}

header.masthead .container {
position: absolute;
top: 0px;
min-width: 100%;
}

header.masthead .intro-text .intro-lead-in {
  font-size: 22px;
  font-style: italic;
  line-height: 22px;
  margin-bottom: 25px;
  
}

.avant-titre {
font-size: 1.3rem;
font-weight: 400;
line-height: 2.3rem;
}


header.masthead .intro-text .avant-titre {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase !important;
}

#collectif {
    margin-top: -90px;
    margin-bottom: 35px;
    background-color: #f8f9fa;
    padding: 30px;
    position: relative;
}

#collectif .container {
position: absolute;
}

/*.portfolio-modal p {
display: none;
}*/
    

section#candidat h3.section-subheading {
    padding-top: 0px;
    padding-bottom:40px;
    font-style: normal;
}

#candidat {
    background-color: white !important;
    padding-bottom: 0px;
}

#candidat .section-heading {
margin-bottom: 15px;
}

#candidat h4 {
padding-bottom: 15px;
}

.team_sous-titre {
    font-weight: 400 !important;
    text-align: center !important;
}

.team_titre {
    font-weight: bold !important;
    padding-bottom: 30px;
    text-align: center !important;
    font-size: 1.3rem;
}

.modal-body .liste {
color: #7e2a48;
}

.modal-body .liste p:first-child {
margin-bottom: 0px;
}

#portfolioModal27 .modal-content {
background-color: transparent;
}

#portfolioModal27 .closemod .btn-primary {
background-color: grey;
color: white;
}
#portfolioModal27 .modal-dialog {
    max-width: 50vw;
}
#portfolioModal30 a {
color: #7e2a48;
}

#portfolioModal28 .modal-dialog {
    max-width: 50vw;
}

#portfolioModal28 a {
color: #7e2a48;
}

#portfolioModal29 .appel {
color: white;
text-align: center;
font-style: bold;
background-color: #7e2a48;
}

#portfolioModal29 .appel:hover {
color: #7e2a48;
text-align: center;
font-style: bold;
background-color: white;
}

#portfolioModal29 table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
}

#portfolioModal29 td {
  text-align: left;
  padding: 16px;
  width: 66%;
}

#portfolioModal29 th {
  text-align: center;
  padding: 16px;
  background-color: #ffffff;
}

#portfolioModal29 img {
  margin-bottom: -100px;
  margin-top: 20px;
}

#portfolioModal29 tr:nth-child(even) {
  background-color: #f2f2f2;
}

#nos-soutiens {
    margin-bottom: 40px;
}


@media (min-width: 768px) {
  header.masthead .intro-text {
    padding-top: 7vw;
    text-shadow: 1px 1px 10px #000;
  }
  header.masthead .intro-text .intro-lead-in {
    font-size: 3vw;
    text-shadow: 1px 1px 10px #000;
    font-style: normal;
    line-height: 3vw;
    margin-bottom: 25px;
    
  }
  header.masthead .intro-text {
    font-size: 4vw;
    font-weight: bold !important;
    line-height: 4vw;
    margin-bottom: 3vw;
    
  }
  header.masthead .intro-text .intro-heading0{
  margin-bottom: 50px;
}

header.masthead .intro-text .intro-heading1{
  margin-bottom: 10px;
}

header.masthead .intro-text .intro-heading2{
  margin-bottom: 24px;
}
}

@media (min-width: 1200px) {
  .container {
    max-width: 1400px !important;
  }
}

@media (max-width: 414px) {
   header.masthead {
    margin-top: 55px;
    padding-bottom: 0px;
  }
    
    header.masthead .intro-text {
    padding-top: 70px;
    font-size: 20px;
    font-weight: bold !important;
    line-height: 23px;
    text-shadow: 2px 2px 2px grey;
  }
  header.masthead .intro-text .intro-lead-in {
    font-size: 15px;
    text-shadow: 2px 2px 2px grey;
    font-style: italic;
    line-height: 20px;
  }
    header.masthead .intro-text .avant-titre {
    font-size: 12px;
    text-shadow: 2px 2px 2px grey;
    font-style: normal;
    line-height: 20px;
    }
header.masthead .intro-text .intro-heading0 {
    margin-bottom: 20px;
  }
  header.masthead .intro-text .intro-heading1 {
    margin-bottom: 0px;
    margin-top: 10px;    
  }
  header.masthead .intro-text .intro-heading2 {
    margin-bottom:10px;
  }
  #nous-soutenir h2 {
   font-weight: 500 !important;   
}
.page-section {
  padding: 50px 0;
}
  }
  .notracking {
   display: none;   
  }
  
  .footer .shadow-medium {
   box-shadow : none;     
  }
 
.portfolio-modal .close-modal {
   display: none !important; 
}

.modal-dialog {
  width: auto;
  max-width: 90vw;
}

.modal-dialog h2 {
  font-size: 1.4em !important;
}

.service-heading {
  margin: 15px 0;
  text-transform: none;
}

#portfolio .portfolio-item {
  right: 0;
  margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(254, 209, 54, 0.9);
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
  opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
  background-color: #fff;
}

#portfolio .portfolio-item .portfolio-caption h4 {
  margin: 0;
  text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  
}

#portfolio * {
  z-index: 2;
}

@media (min-width: 767px) {
  #portfolio .portfolio-item {
    margin: 0 0 30px;
  }
}

.tout .col-md-4:hover ~ .col-md-4 {
    opacity : 0.3;    
}

/* .programme-modal */
.annonce {
    
    margin-top: 40px;
    font-size: 1.7rem;
}

.programme-modal .col-md-4 h4 {
  line-height: 1.5rem;
  font-size: 1.3rem;
} 

.programme-modal .col-lg-12 {
	color: #fff;
    margin-bottom: 20px;
    padding-top: 20px;
}
.programmeModal .closemod .btn-primary:hover {
    color: white;
}
/*  programmeModal1 .btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: white;
  border-color: white !important;
  color: #28A645 !important;
}*/

#programmeModal1 h4, #programmeModal1 h5, #programmeModal1 span, #programmeModal1 .closemod .btn-primary {
color: #475e89;    
}

#programmeModal1 .closemod .btn-primary {
border-color: #475e89;
}

#programmeModal1 .closemod .btn-primary:hover {
    background-color:  #475e89;
}

/*  programmeModal2 */

#programmeModal2 h4, #programmeModal2 h5, #programmeModal2 span, #programmeModal2 .closemod .btn-primary {
color: #b83d41;    
}

#programmeModal2 .closemod .btn-primary {
border-color: #b83d41;
}

#programmeModal2 .closemod .btn-primary:hover {
    background-color:  #b83d41;
}

/*  programmeModal3 */

#programmeModal3 h4, #programmeModal3 h5, #programmeModal3 span, #programmeModal3 .closemod .btn-primary  {
color: #80294c;    
}

#programmeModal3 .closemod .btn-primary {
border-color: #80294c;
}

#programmeModal3 .closemod .btn-primary:hover {
    background-color:  #80294c;
}

/*  programmeModal4 */

#programmeModal4 h4, #programmeModal4 h5, #programmeModal4 span, #programmeModal4 .closemod .btn-primary {
color: #136678;    
}

#programmeModal4 .closemod .btn-primary {
border-color: #136678;
}

#programmeModal4 .closemod .btn-primary:hover {
    background-color:  #136678;
}

/*  programmeModal5 */

#programmeModal5 h4, #programmeModal5 h5, #programmeModal5 span, #programmeModal5 .closemod .btn-primary {
color: #b83d41;    
}

#programmeModal5 .closemod .btn-primary {
border-color: #b83d41;
}

#programmeModal5 .closemod .btn-primary:hover {
    background-color:  #b83d41;
}

/*  programmeModal6 */

#programmeModal6 h4, #programmeModal6 h5, #programmeModal6 span, #programmeModal6 .closemod .btn-primary {
color:  #a27225;    
}

#programmeModal6 .closemod .btn-primary {
border-color:  #a27225;
}

#programmeModal6 .closemod .btn-primary:hover {
    background-color:   #a27225;
}

/*  programmeModal7 */

#programmeModal7 h4, #programmeModal7 h5, #programmeModal7 span, #programmeModal7 .closemod .btn-primary {
color: #70296a;    
}

#programmeModal7 .closemod .btn-primary {
border-color: #70296a;
}

#programmeModal7 .closemod .btn-primary:hover {
    background-color:  #70296a;
}

/*  programmeModal8 */

#programmeModal8 h4, #programmeModal8 h5, #programmeModal8 span, #programmeModal8 .closemod .btn-primary {
color: #7b9f35;    
}

#programmeModal8 .closemod .btn-primary {
border-color: #7b9f35;
}

#programmeModal8 .closemod .btn-primary:hover {
    background-color:  #7b9f35;
}

/*  programmeModal9 */

#programmeModal9 h4, #programmeModal9 h5, #programmeModal9 span, #programmeModal9 .closemod .btn-primary {
color: #004c52;    
}

#programmeModal9 .closemod .btn-primary {
border-color: #004c52;
}

#programmeModal9 .closemod .btn-primary:hover {
    background-color:  #004c52;
}


.programme-modal .img-bulle {
position: relative;    
}

.programme-modal .feuillage {
position: absolute;  
bottom:0px;
right:0px;
}

.programme-modal .img-img {
position: absolute;  
top:100px;
left:200px;
}

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

/*#portfolioModal0 .modal-dialog {
  max-width: 100vw;
}*/

.portfolio-modal  h4, .portfolio-modal h3 {
  text-align: center;
}

#portfolioModal31 .modal-body h1 {
  text-align: center;
}

#portfolioModal31 .modal-body h4 {
  text-align: left;
  padding-top: 15px;
}

.portfolio-modal .modal-body{
  padding: 20px 14px;
  line-height: 1.6;
}

.portfolio-modal .modal-body p{
  max-width: 100%;
  margin-bottom: 1rem;
  margin-left: 0;
  padding-left: 0;
  text-indent: 0;
}

.portfolio-modal .modal-content {
  padding: 0;
}

.portfolio-modal .modal-content h2 {
  font-size: 3em;
  margin-bottom: 15px;
}

.portfolio-modal .modal-content p {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
  font-size: 16px;
  font-style: italic;
  margin: 20px 0 30px;
  
}

.portfolio-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content button {
  cursor: pointer;
}

.closemod {
  text-align:center;
  padding-top: 30px;
}

.closemod .btn-primary, .closemod .btn-primary:active, .closemod .btn-primary:visited {
border-color: grey;
color: grey;
}

.portfolio-modal .close-modal {
  position: fixed;
  top: 35px;
  right: 60px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background-color: transparent;
}

.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}
 
       #breton {
            display:none;
        } 
        
        #breton:target {
            display:block
        }
        
        #francais:target {
            display:block
        }
        
        .drapeau {
        width: 3vw;
        }


/*.portfolio-modal .flags a:hover {
  opacity: 0.3;
}

.portfolio-modal .flags {
  position: fixed;
  top: 45px;
  right: 60px;
  cursor: pointer;
}

.portfolio-modal .flags img {
  margin-right: 15px;
}*/
.portfolio-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 75px;
  margin-left: 35px;
  /* IE 9 */
  transform: rotate(45deg);
  background-color: #212529;
}

.portfolio-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 75px;
  /* IE 9 */
  transform: rotate(90deg);
  background-color: #212529;
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}


.timeline:before {
  position: absolute;
  top: 0;
  bottom: 300px;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: '';
  background-color: #e9ecef;
}

.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}

.timeline > li:after, .timeline > li:before {
  display: table;
  content: ' ';
}

.timeline > li:after {
  clear: both;
}

.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
}

.timeline > li .timeline-sub {
     margin: auto;
     font-size: 9px;
}

.timeline > li .timeline-image h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4 {
  margin-top: 0;
  color: inherit;
}

.timeline .timeline-heading {
  margin-bottom: 20px;
}

.timeline .timeline-heading h4.subheading {
  text-transform: none;
}


.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 10px;
}

.timeline-image h4 {
   text-transform: lowercase; 
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 11px;
    line-height: 18px;
    margin-top: 16px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
  
  .timeline > li .timeline-sub {
     margin: auto;

}
}

@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }
  
  .timeline > li .timeline-sub {
     margin: auto;
     font-size: 1.1vw;
}
}

@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
  .timeline > li .timeline-sub {
     margin: auto;
     font-size: 1.1vw;
}
}

.center-gutters {
margin-left: auto;
margin-right: auto;    
}

.center-gutters .team-member p {
text-align: left;    
}

.team-member {
  margin-bottom: 20px;
  text-align: center;
}

.team-member img:hover {
  cursor: pointer;
  opacity: .5;
}

/* Pop */
@-webkit-keyframes hvr-pop {
  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
}
@keyframes hvr-pop {
  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
}
.hvr-pop {
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hvr-pop:hover, .hvr-pop:focus, .hvr-pop:active {
  -webkit-animation-name: hvr-pop;
  animation-name: hvr-pop;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  cursor: pointer;
}



.team-member img {
  width: 225px;
  height: 225px;
  border: 7px solid rgba(0, 0, 0, 0.1);
  opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

 .team-member h4 {
  margin-top: 25px;
  margin-bottom: 0;
  text-transform: none;
}

.telecharger a {
  margin-top: 25px;  
  color: #0095B5 !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
}

.telecharger {
  margin-bottom: 45px !important;
}

section#financement .telecharger span {
  color: white;
}


section#nous-soutenir.fa-download, section#nous-soutenir.telecharger {
 color: white;   
}

.fa-credit-card {
color: #7b9f35;    
}

.fa-map-marker, .fa-times {
padding-right: 10px;    
}

.cheque {

background-color: #7e2a48;
}

input[type=checkbox] {
 transform: scale(1.5);
}
section#nous-soutenir {
	/*background-color: #28A645;*/
	color: #242f40;
	width: 100%;
}

section#contact {
	background-color: #0095B5;
	color: #ffffff;
	width: 100%;
}

section#contact .section-heading {
  color: #fff;
}

section#contact .form-group {
  margin-bottom: 25px;
}

section#contact .form-group input,
section#contact .form-group textarea {
  padding: 20px;
}

section#contact .form-group input.form-control {
  height: auto;
}

section#contact .form-control:focus {
  border-color: #28A645;
  box-shadow: none;
}

section#contact ::placeholder, section#nous-soutenir ::placeholder {
	font-weight: 700;
	color: #939aa2c7;
}
.form-control {
	line-height: 1 !important;    
}

.file-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: sans-serif;
}

.file-upload input[type="file"] {
  display: none; /* on cache le vrai champ */
}

.file-upload label {
  background-color: #0077cc;
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  max-width: 200px;
  transition: background 0.2s;
}

.file-upload label:hover {
  background-color: #005fa3;
}

#nomFichier {
  font-size: 0.9em;
  color: #333;
}

#contact h5 {
font-size: 0.9rem;    
}

#nous-soutenir h5 {
font-size: 0.9rem;    
}

#contact span {
font-size: 0.9rem; 
font-weight: 300;   
}

#nous-soutenir span {
font-size: 0.9rem;
font-weight: 300;
}

#soutienForm  textarea {
	line-height: 1.75;
    display: none;
}

section#contact .form-group textarea {
	line-height: 1.75 !important;
}

section#contact textarea.form-control {
	height: 175px !important;
}

section#contact .form-group input, section#contact .form-group textarea, section#nous-soutenir .form-group input, section#nous-soutenir .form-group textarea {
	padding: 10px;
}
.item-label:before {
    content: "_";
    color: #BCCF00;
}

.item-label {
font-weight: 500 !important;
}

section#contact ::-webkit-input-placeholder {
  font-weight: bold !important;
  color: #ced4da;
  
}

section#contact :-moz-placeholder {
  font-weight: bold !important;
  color: #ced4da;
  
}

section#contact ::-moz-placeholder {
  font-weight: bold !important;
  color: #939aa2c7;
  
}

section#contact :-ms-input-placeholder {
  font-weight: bold !important;
  color: #ced4da;
  
}

.footer .rencontre {
    position: relative;
   font-size: 1.2em;
   padding: 15px;
     color: white;
}

.footer .rencontre span {
    font-weight: bold;
}
    
/* .footer iframe {
    margin-top: 20px;
    border: 0;
    height: 260px;
    width: 340px;

}*/

.footer .copyleft{
  padding: 20px;
}

.footer .mentions-legales { 
   cursor: pointer;
   text-decoration: underline;
   font-weight: bold;
}

.footer .mentions-legales:hover {
   text-decoration: none;
}

.footer {
  text-align: left;
  min-height: 400px;
  padding-top: 30px;
}

.footer ul.quicklinks {
  font-size: 90%;
  line-height: 40px;
  margin-bottom: 0;
  text-transform: none;
}

.shadow-medium {
	padding-top: 30px;
	padding-left: 30px;
}

/* Centrer le modal verticalement */
.modal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Empêcher la page derrière de défiler
.modal-open {
    overflow: hidden !important;
}*/

/* Le modal s'adapte à la taille du contenu */
.modal-dialog.modal-tout {
    width: auto !important;
    max-width: none !important;
    margin: 0 auto !important;
}

/* Pas de fond, bordures ou ombres */
.modal-tout .modal-content {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* == WRAPPER IMAGE == */
/* Desktop : pas de scroll interne */
.image-wrapper {
    max-width: 95vw;
    max-height: 95vh;
    overflow: hidden;
}

/* Image : taille réelle sauf si dépasse l'écran */
.modal-image {
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 95vh;
    display: block;
    margin: auto;
}

/* Neutralisation éventuelle de img-fluid Bootstrap */
.modal-tout img.modal-image {
    max-width: none !important;
}

/* == Mobile : autoriser le scroll vertical uniquement ici == */
@media (max-width: 768px) {
    .image-wrapper {
        max-height: 90vh;
        overflow-y: auto;      /* scroll vertical */
        overflow-x: auto;      /* scroll horizontal activé */
    }

    .modal-image {
        max-width: none !important;  /* empêche la réduction forcée */
        max-height: none !important; /* laisse l’image scrolable */
    }
}

/* Fix scroll modal (Bootstrap) */
.modal-dialog-scrollable {
  height: calc(100% - 1rem); /* ou 3.5rem sur desktop si tu veux */
}

@media (min-width: 576px) {
  .modal-dialog-scrollable {
    height: calc(100% - 3.5rem);
  }
  .portfolio-modal .modal-body{
    padding: 32px 20px;
  }
}

@media (max-width: 575.98px){
  .portfolio-modal .modal-body{
    font-size: 0.95rem;
  }
  .portfolio-modal img.rounded-circle{
    width: 120px;
    height: 120px;
    object-fit: cover;
  }
  .portfolio-modal h3{
    font-size: 1.35rem;
    margin-top: 0.5rem;
  }
  .portfolio-modal h4{
    font-size: 1.1rem;
  }
}

.modal-dialog-scrollable .modal-content {
  max-height: 100%;
  overflow: hidden; /* important : empêche le contenu de dépasser */
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto; /* le scroll DOIT être ici */
  -webkit-overflow-scrolling: touch;
}
.pdf-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.pdf-frame {
  width: 100%;
  height: 85vh;
  min-height: 500px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .pdf-frame {
    height: 100vh;
    min-height: 100vh;
  }
}
