/* GLOBAL STYLES
-------------------------------------------------- */


a.nav-link {
  text-decoration:none;
}

@font-face {
  font-family: Mistral;
  src: url("/IMG/font/MISTRAL.TTF");
}

@font-face {
  font-family: Impact;
  src: url("/IMG/font/impact.ttf");
}

body{
    padding-top: 116px;
    scroll-behavior: smooth;
}

.bg-clip{
  background-color:#000;
  background-size: cover;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.smt {
  scroll-margin-top: 116px;
}

sup {
  font-weight:bold;
}

h1 {
  margin-top:2rem;
  margin-bottom:2rem!important;
}

.lead {
  font-size:1.4rem;
}

.cat-index {
  font-weight:bold;
}

.full-height {
  height:100%;
}

.full-width {
  width:100%;
}

.img-full {
  height:auto;
  max-width:100%;
}

.img-part {
  height:auto;
  max-width:90%;
}

.logo {
  max-height:200px;
  width:auto;
  max-width:300px;
}

strong {
  color:var(--bs-primary-text-emphasis);
}

a:hover .sublink {
  color:var(--bs-secondary-text-emphasis);
}

a.img-map {
  position:absolute;
}
a:hover.img-map {
  background-color:var(--bs-secondary);
  opacity:0.1;
}

.fn-info {
  text-decoration: underline dotted rgb(127, 127, 127, 127);
}
.fn-info:hover {
  text-decoration: underline solid grey;
}

a.discret {
  color:inherit;
  text-decoration: none !important;
  cursor: help;
}

.text {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.blog-post-meta {
  font-size:0.9rem;
  opacity:0.8;
}

.shadowed-whitebox{
    box-shadow: 0px 10px 10px #00000055;
    background-color:var(--bs-secondary-bg);
    margin-bottom: 2rem;
    padding:1rem;
}

.article-head, .article-foot{
  background-color:var(--bs-secondary-bg-subtle);
  padding: 1rem;
  min-height:130px;
  display:grid;
  align-items: center;
}

.article-body{
  background-color:var(--bs-light);
  border-left: solid var(--bs-secondary-bg-subtle) 0.5rem;
  border-right: solid var(--bs-secondary-bg-subtle) .5rem;
  padding: 3rem;
}

.ecotitre-blanc{
  color:white;
}

.ecotitre{
  background: linear-gradient(to left, #8c5b2c, #e1a33f, #8c5b2c);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.ecotitre, .ecotitre-blanc{
  font-weight:normal;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.etroit{
  max-width: 600px;
}

.outline-white{
  text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
}
.outline-black{
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.encadre {
  font-weight:bold;
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  text-align:center;
  background-color:var(--bs-tertiary-bg);
  color:white;
  display: inline-block;
  position:relative;
}

.transition{
  transition: .2s ease-in-out;
}

.encadre.disable{
  background-color:var(--bs-tertiary-bg-subtle);
}
.fa-solid.disable{
  color:var(--bs-tertiary-bg-subtle);
}

.on-top{
  position:relative;
  z-index:1;
  margin-bottom:-45px;
}

.incline {
  transform: rotate(-3deg);
}

.incline2 {
  transform: rotate(3deg);
}

a:hover .encadre {
  background-color:var(--bs-link-hover-color);
}

/*
.encadre:hover {
  font-size:42px;
  transition: font-size 1s;
}*/

.vignette {
  height: 100%;
  aspect-ratio:1;
  object-fit: cover;
}

.bg-cover {
  background-size: cover;
  background-position: center;
}

.fw {
  width: 100%;
}

.slogan {
  font-family:'Fira Sans Condensed', sans-serif;
  font-size:30px;
  color: var(--bs-emphasis-color);
  text-align:center;
  line-height:100%;
  transform-origin: center;
  margin: 40px 0px 100px;
}

.sign {
    font-family:Mistral;
    font-size:40px;
    color: var(--bs-emphasis-color);
    text-align:center;
    line-height:100%;
}

.shadowed-whitetext {
  text-shadow: 0px 0px 50px white,
                0px 0px 20px black,
                0px 0px 5px black,
                0px 0px 2px black;
  color:white;
}

@property --gap{
    syntax: '<length>';
    inherits: true;
    initial-value: 0;
}

@property --angle{
    syntax: '<angle>';
    inherits: true;
    initial-value: 0deg;
}

.mb-neg{
  margin-bottom: -32px;
}

.portrait {
    font-size:120px;
    --border: 12px;
    --gap: 10px;
    --color: var(--bs-primary-text-emphasis);

    width: fit-content;
    aspect-ratio:1;
    object-fit: cover;
    box-sizing: border-box;
    border-radius: 50%;
    cursor: pointer;
    padding: calc(var(--border) + var(--gap));

    --angle: 90deg;
    background:
        radial-gradient(farthest-side,var(--color) 97%,#0000 101%) 85.35% 85.35%,
        conic-gradient(from calc(180deg - var(--angle)/2),#0000 var(--angle),var(--color) 0),
        radial-gradient(farthest-side,var(--color) 97%,#0000 101%) 14.65% 85.35%;
    background-size: var(--border) var(--border),auto;
    background-repeat: no-repeat;

    -webkit-mask:
        radial-gradient(farthest-side, 
        #000  calc(99%  - calc(var(--border) + var(--gap))),
        #0000 calc(100% - calc(var(--border) + var(--gap))) 
                calc(99%  - var(--border)), 
        #000  calc(100% - var(--border)));
            mask:
        radial-gradient(farthest-side, 
        #000  calc(99%  - calc(var(--border) + var(--gap))),
        #0000 calc(100% - calc(var(--border) + var(--gap))) 
                calc(99%  - var(--border)), 
        #000  calc(100% - var(--border)));
}

a:hover .portrait {
    --gap: 10px;
    --color: var(--bs-secondary-text-emphasis);
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  /* rtl:begin:ignore */
  .marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
  }
  /* rtl:end:ignore */
  
  
  /* Featurettes
  ------------------------- */
  
  .featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
  }
  
  
  /* TABLES */
  .rotate-0 {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    transform: rotate(0deg);
  }
  .rotate-270 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
  }

  .wrapper {
    width: 100%;
    overflow-x: scroll;
    margin-bottom: 10px;
  }
  
  .wrapper table th:first-child {
    position: sticky;
    left: 0;
    text-align: center;
    width:fit-content;
  }
  
  /* RESPONSIVE CSS
  -------------------------------------------------- */
  

  @media (min-width: 576px) { /*sm*/
    .slogan, .sign {
      font-size: 40px;
    }

    .ico-sm-sm {font-size:30px !important;height:30px !important;}
    .ico-sm-md {font-size:60px !important;height:60px !important;}
    .ico-sm-lg {font-size:120px !important;height:120px !important;}
    .ico-sm-xl {font-size:180px !important;height:180px !important;}
    .ico-sm-xxl {font-size:240px !important;height:240px !important;}
    
    .rotate-sm-0 {
      writing-mode: horizontal-tb!important;
      text-orientation: mixed!important;
      transform: rotate(0deg)!important;
    }
    .rotate-sm-270 {
      writing-mode: vertical-rl!important;
      text-orientation: mixed!important;
      transform: rotate(180deg)!important;
    }
  }
  @media (min-width: 768px) { /*md*/
    .slogan, .sign {
      font-size: 45px;
    }
    
    .img-full {
      width:90%;
    }
    
    .img-part {
      width:70%;
    }
    
    .footer-ico {
      flex: 0 0 auto;
      width:105px !important;
    }

    .ico-md-sm {font-size:30px !important;height:30px !important;}
    .ico-md-md {font-size:60px !important;height:60px !important;}
    .ico-md-lg {font-size:120px !important;height:120px !important;}
    .ico-md-xl {font-size:180px !important;height:180px !important;}
    .ico-md-xxl {font-size:240px !important;height:240px !important;}
    
    .rotate-md-0 {
      writing-mode: horizontal-tb!important;
      text-orientation: mixed!important;
      transform: rotate(0deg)!important;
    }
    .rotate-md-270 {
      writing-mode: vertical-rl!important;
      text-orientation: mixed!important;
      transform: rotate(180deg)!important;
    }
  }
  @media (min-width: 992px) { /*lg*/
    .slogan, .sign {
      font-size: 50px;
    }
    
    .img-full {
      width:80%;
    }
    
    .img-full {
      width:60%;
    }

    .ico-lg-sm {font-size:30px !important;height:30px !important;}
    .ico-lg-md {font-size:60px !important;height:60px !important;}
    .ico-lg-lg {font-size:120px !important;height:120px !important;}
    .ico-lg-xl {font-size:180px !important;height:180px !important;}
    .ico-lg-xxl {font-size:240px !important;height:240px !important;}
    
    .rotate-lg-0 {
      writing-mode: horizontal-tb!important;
      text-orientation: mixed!important;
      transform: rotate(0deg)!important;
    }
    .rotate-lg-270 {
      writing-mode: vertical-rl!important;
      text-orientation: mixed!important;
      transform: rotate(180deg)!important;
    }
  }
  @media (min-width: 1200px) { /*xl*/
    .slogan, .sign {
      font-size: 55px;
    }

    .ico-xl-sm {font-size:30px !important;height:30px !important;}
    .ico-xl-md {font-size:60px !important;height:60px !important;}
    .ico-xl-lg {font-size:120px !important;height:120px !important;}
    .ico-xl-xl {font-size:180px !important;height:180px !important;}
    .ico-xl-xxl {font-size:240px !important;height:240px !important;}
    
    .rotate-xl-0 {
      writing-mode: horizontal-tb!important;
      text-orientation: mixed!important;
      transform: rotate(0deg)!important;
    }
    .rotate-xl-270 {
      writing-mode: vertical-rl!important;
      text-orientation: mixed!important;
      transform: rotate(180deg)!important;
    }
  }
  @media (min-width: 1400px) { /*xxl*/
    .img-xxl-fluid {
      width:100% !important;
    }
    .slogan, .sign {
      font-size: 60px;
    }

    .ico-xxl-sm {font-size:30px !important;height:30px !important;}
    .ico-xxl-md {font-size:60px !important;height:60px !important;}
    .ico-xxl-lg {font-size:120px !important;height:120px !important;}
    .ico-xxl-xl {font-size:180px !important;height:180px !important;}
    .ico-xxl-xxl {font-size:240px !important;height:240px !important;}
    
    .rotate-xxl-0 {
      writing-mode: horizontal-tb!important;
      text-orientation: mixed!important;
      transform: rotate(0deg)!important;
    }
    .rotate-xxl-270 {
      writing-mode: vertical-rl!important;
      text-orientation: mixed!important;
      transform: rotate(180deg)!important;
    }
  }

  [data-bs-theme=ecostrategie] {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
  
    --bs-primary: #634128;
    --bs-primary-rgb: 13, 110, 253;
    --bs-secondary: #117bb3;
    --bs-secondary-rgb: 108, 117, 125;
  
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-success-rgb: 25, 135, 84;
    --bs-info-rgb: 13, 202, 240;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger-rgb: 220, 53, 69;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark-rgb: 33, 37, 41;
  
    --bs-primary-text-emphasis: #522b19;
    --bs-secondary-text-emphasis: #117bb3;
  
    --bs-success-text-emphasis: #0a3622;
    --bs-info-text-emphasis: #055160;
    --bs-warning-text-emphasis: #664d03;
    --bs-danger-text-emphasis: #58151c;
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: #cfe2ff;
    --bs-secondary-bg-subtle: #f9ede5;
    --bs-success-bg-subtle: #d1e7dd;
    --bs-info-bg-subtle: #cff4fc;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-dark-bg-subtle: #ced4da;

    --bs-tertiary-bg-subtle: #d3cecb;
    
    --bs-primary-border-subtle: #9ec5fe;
    --bs-secondary-border-subtle: #c4c8cb;
    --bs-success-border-subtle: #a3cfbb;
    --bs-info-border-subtle: #9eeaf9;
    --bs-warning-border-subtle: #ffe69c;
    --bs-danger-border-subtle: #f1aeb5;
    --bs-light-border-subtle: #e9ecef;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
  
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1.2rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-body-bg: rgb(255, 249, 237);
    --bs-body-bg-rgb: 245, 222, 179;
    --bs-emphasis-color: #634128;
    --bs-emphasis-color-rgb: 99, 65, 40;
    --bs-secondary-color: #a05a2c;
    --bs-secondary-color-rgb: 160, 90, 64;
    --bs-secondary-bg: #ffffff;
    --bs-secondary-bg-rgb: 233, 236, 239;
    --bs-tertiary-color: rgba(33, 37, 41, 0.5);
    --bs-tertiary-color-rgb: 33, 37, 41;
    --bs-tertiary-bg: #522b19;
    --bs-tertiary-bg-rgb: 82, 43, 25;
    --bs-heading-color: inherit;
    --bs-link-color: #d45a00;
    --bs-link-color-rgb: 212, 90, 0;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #117bb3;
    --bs-link-hover-color-rgb: 12, 123, 179;
    
    --bs-code-color: #d63384;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-focus-ring-width: 0.25rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
    --bs-form-valid-color: #198754;
    --bs-form-valid-border-color: #198754;
    --bs-form-invalid-color: #dc3545;
    --bs-form-invalid-border-color: #dc3545;
  }
  
  .btn-principal {
    --bs-btn-color: var(--bs-light);
    --bs-btn-bg: var(--bs-link-color);
    --bs-btn-border-color: #f8f9fa;
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: var(--bs-link-hover-color);
    --bs-btn-hover-border-color: #c6c7c8;
    --bs-btn-focus-shadow-rgb: 211, 212, 213;
    --bs-btn-active-color: var(--bs-light);
    --bs-btn-active-bg: var(--bs-link-color);
    --bs-btn-active-border-color: #babbbc;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: var(--bs-secondary-bg-subtle);
    --bs-btn-disabled-border-color: #f8f9fa;
  }

  
  .btn-secondaire {
    --bs-btn-color: var(--bs-light);
    --bs-btn-bg: var(--bs-secondary-color);
    --bs-btn-border-color: #f8f9fa;
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: var(--bs-secondary-color);
    --bs-btn-hover-border-color: #c6c7c8;
    --bs-btn-focus-shadow-rgb: 211, 212, 213;
    --bs-btn-active-color: var(--bs-light);
    --bs-btn-active-bg: var(--bs-link-color);
    --bs-btn-active-border-color: #babbbc;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: var(--bs-secondary-bg-subtle);
    --bs-btn-disabled-border-color: #f8f9fa;
  }

  .btn {
    vertical-align: baseline;
  }

  .dropdown-item:focus, .dropdown-item:hover {
    color: var(--bs-white);
    background-color: var(--bs-secondary);
  }

  a:hover .btn-principal, a:hover .btn-secondaire{
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
  }

  .ico-bg {
    color: var(--bs-tertiary-bg);
    transition: color .2s ease-in-out;
  }

  .no-transition {
    transition:none !important;
  }

  .card-button {
    padding:0rem 1rem;
    height:100%;
    font-size:1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  a:hover .ico-bg {
    color: var(--bs-secondary);
    transition: .2s ease-in-out;
  }

  .ico-auto {
    font-size:1.5rem;
  }

  .ico-sm {
    font-size:30px;line-height:30px;
  }

  .ico-md {
    font-size:60px;line-height:64px;
  }

  .ico-lg {
    font-size:120px;line-height:120px;
  }
  .ico-xl {
    font-size:180px;line-height:180px;
  }
  .ico-xxl {
    font-size:240px;line-height:240px;
  }

  a:hover .ico-md {
    font-size:64px;
  }

  .ico-left {
    position:relative;
    left:0px;
    transition: left .4s ease-in-out;
  }
  
  a:hover .ico-left{
    left:-12px;
  }

  .ico-right {
    position:relative;
    right:0px;
    transition: right .4s ease-in-out;
  }
  
  a:hover .ico-right{
    right:-12px;
  }

  .anchor {
    position: relative;
    padding-top: 8rem;
    text-decoration:none;
    font-weight:bold;
    scroll-padding-top: 8rem;
  }