@font-face {
    font-family: 'DINish';
    src: url('../../fonts/DINish-Regular.woff2') format('woff2'),
        url('../../fonts/DINish-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
 
}

@font-face {
    font-family: 'DINish';
    src: url('../../fonts/DINish-Bold.woff2') format('woff2'),
        url('../../fonts/DINish-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;

}

a {color:#6FB865;}

a:hover {opacity:0.5;}

body {background-color: #15502D;}

body, p, h1, h2, h3, h4, h5, h6, tp-caption, div {
    font-family: 
		'DINish',
        -apple-system, /* macOS and iOS */
        BlinkMacSystemFont, /* macOS Safari */
        "Segoe UI", /* Windows */
        Roboto, /* Android */
        Oxygen-Sans, /* Linux */
        Ubuntu, /* Linux */
        Cantarell, /* Linux */
        "Helvetica Neue", /* macOS older versions */
        Arial, /* Backup for sans-serif */
        sans-serif; /* Fallback font */
}

h1,h2,h4 {color: #6FB865;}
h3,h5,h6, p {color: #15502D;}


hr {
    opacity: 100;
  border: none;
  border-top: 3px solid #E9DFC2;
  color: #E9DFC2;
  overflow: visible;
  text-align: center;
  height: 3px;
}

.hrB {
    opacity: 100;
  border: none;
  border-top: 3px solid #ffffff;
  color: #ffffff;
  overflow: visible;
  text-align: center;
  height: 3px;
}

.bgGF {background-color: #15502D; }
.bgW { background-color: #ffffff !important; }   
.bgB { background-color: #E9DFC2 !important; }


.colorG {color:#6FB865 !important;}
.colorGF {color:#15502D !important;}
.colorB { color: #E9DFC2 !important; }

.borderB { border-color: #E9DFC2; }


.btn-primary {
  --bs-btn-bg: #6FB865;
  --bs-btn-border-color: #6FB865;
  --bs-btn-hover-bg: #15502D;
  --bs-btn-hover-border-color:#15502D ;
  --bs-btn-active-bg: #6FB865;
  --bs-btn-active-border-color: #6FB865;
}
.nav-link {
    color: #E9DFC2;
    --bs-nav-link-color: #fff;
    --bs-nav-link-hover-color:#6FB865;
}
.nav-link-hover-color {color: #ffffff;}

.custom-toggler .navbar-toggler {border-color: #E9DFC2; color: #E9DFC2;}
.custom-toggler .navbar-toggler-icon-bg {background-image:url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28233, 223, 194, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e) ;}


.img-250 { 
  width: 250px;
  height: auto;
  margin: 20px;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 1000px;
    position: relative;
}

.parallax-caption {
    position: absolute;
    top: 20px;
}

.parallax-1 {background-image: url('../../img/foreuse-geoterra.jpg');}
.cache {display: none;}
.espaceH {height: 32px;}
.BGForeuse {background-image: url('../../img/foreuse-geoterra.jpg'); background-repeat: no-repeat;}
.BGgeothermie {background-image: url('../../img/geothermie-geoterra.jpg'); background-repeat: no-repeat;}
.BGgaia {background-image: url('../../img/forage-gaia.jpg'); background-repeat: no-repeat;}
@media (min-width: 1400px) {
    .BGForeuse {background-image: url('../../img/foreuse-geoterra-1400.jpg'); background-repeat: no-repeat;}
    .BGgeothermie {background-image: url('../../img/geothermie-geoterra-1400.jpg'); background-repeat: no-repeat;}
    .BGgaia {background-image: url('../../img/forage-gaia-1400.jpg'); background-repeat: no-repeat;}
    .espaceH {height: 320px;}
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .BGForeuse {background-image: url('../../img/foreuse-geoterra-1200.jpg'); background-repeat: no-repeat;}
    .BGgeothermie {background-image: url('../../img/geothermie-geoterra-1200.jpg'); background-repeat: no-repeat;}
    .BGgaia {background-image: url('../../img/forage-gaia-1200.jpg'); background-repeat: no-repeat;}
    .espaceH {height: 320px;}
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .BGForeuse {background-image: url('../../img/foreuse-geoterra-992.jpg'); background-repeat: no-repeat;}
    .BGgeothermie {background-image: url('../../img/geothermie-geoterra-992.jpg'); background-repeat: no-repeat;}
    .BGgaia {background-image: url('../../img/forage-gaia-992.jpg'); background-repeat: no-repeat;}
    .espaceH {height: 200px;}
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .BGForeuse {background-image: url('../../img/foreuse-geoterra-768.jpg'); background-repeat: no-repeat;}
    .BGgeothermie {background-image: url('../../img/geothermie-geoterra-768.jpg'); background-repeat: no-repeat;}
    .BGgaia {background-image: url('../../img/forage-gaia-768.jpg'); background-repeat: no-repeat;}
    .espaceH {height: 110px;}
}
@media (min-width: 100px) and (max-width: 767.98px) {
    .BGForeuse {background-image: none;}
    .BGgeothermie {background-image: none;}
    .BGgaia {background-image: none;}
    .espaceH {height: 32px;}
    .cache {display: inline;}
}


/* Carousel heading */
.heading {
  display: block;
  text-align: center;
}

/* Container for the entire carousel */
.multi-carousel-container {
  cursor: grab;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

/* Cursor styles for dragging */
.multi-carousel-container.dragging,
#multiCarousel.dragging {
  cursor: grabbing;
}

/* Wrapper for all slides */
.multi-carousel-inner {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual slide */
.multi-carousel-item,
.clone {
  box-sizing: border-box;
  flex: 0 0 33.333333%;
  padding: 0 5px;
  position: relative; /* Essential for item-number positioning */
}

/* Control buttons */
.multi-carousel-control-prev,
.multi-carousel-control-next {
  align-items: center;
  background-color: #15502D 80%;
  border: none;
  color: rgb(0, 0, 0);
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  position: absolute;
  text-decoration: none;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
  width: 40px;
  z-index: 10;
}

.multi-carousel-control-prev:hover,
.multi-carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.multi-carousel-control-prev {
  left: 10px;
}

.multi-carousel-control-next {
  right: 10px;
}

/* hauteur du container image */
.img-container {
  border-radius: 1.5rem;
  height: var(--carousel-height, 5vh);
  overflow: hidden;
  position: relative;
}

/* Image styling */
.img-container img,
#carouselInner img {
  width: 80%;
  height: auto;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
  user-drag: none;
  -webkit-user-drag: none;
  transition: transform 0.5s ease;
}

#carouselInnerCard img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
  user-drag: none;
  -webkit-user-drag: none;
  transition: transform 0.5s ease;
}

.img-container:hover img {
  transform: translateZ(0) scale(1.02);
}


/* Carousel cursor styling */
#multiCarousel {
  cursor: grab;
  touch-action: pan-y;
}

/* Disable text selection during drag */
#multiCarousel.dragging {
  user-select: none;
  -webkit-user-select: none;
}

/* Responsive adjustments for screens smaller than 720px (45em) */
@media (max-width: 45em) {
  .multi-carousel-item, .clone {flex: 0 0 100%; }
  }


/* Footer */
  #footer a {
    color: #E9DFC2;
}
  #footer p{
    color: #E9DFC2;
}
.p-footer {
  line-height: 2em;
}