/**
 * @file
 * Styles rules
 *
 * Theme styles rules.
 */

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html {
  height: 100%;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 150%;
  scroll-padding-top: 150px !important;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body {
  position: relative;
  font-family: var(--font-text);
  color: var(--color-primary--1);
  background-color: var(--color-white);
  max-width: 1920px;
  margin: 0 auto;
}
body {
  overflow-x: hidden;
  height: 100%;
}

/*
MARK: PAGER
*/
.pager{
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;

  padding: 32px var(--px160-percent);

  @media (min-width: 1000px){
    padding: 64px calc(80px + var(--px160-percent));
  }

  .pager__items{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 16px;
  }

  .pager__item{
    min-width: 54px;
    min-height: 54px;
    font-size: 22px;
    border-radius: 15px;
    padding: 8px 14px;
    display: flex;
    justify-content: center;
    align-items: center;

    &.is-active{
      background-color: var(--color-primary--1);
      color: var(--color-white);
    }
  }
  .pager__item--next, .pager__item--previous{
    font-size: 22px;
    font-weight: 700;
    line-height: 140%; /* 30.8px */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-color: var(--color-secondary--1);
    text-decoration-thickness: 10%; /* 2.2px */
    text-underline-offset: 25%; /* 5.5px */
    text-underline-position: from-font;
  }

}




/*
MARK: Linebreak
Retour a la ligne uniquement sur desktop
*/
.nl_before{
  content: none;
}
@media all and (min-width: 1000px) {
  .nl_before{
    content: ' ';
    display: block;
  }
}
.secondary_color{
  color: var(--color-secondary--1);
}
.tertiary_color{
  color: var(--color-tertiary--1);
}


/**
 * MARK: Image
 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.text img {
  width: 423px;
  height: 329px;
  aspect-ratio: 9/7;
  margin-right: 32px;
}

.text img.basic-image {
  width: auto;
  height: auto;
  aspect-ratio: initial;
  margin-right: 0;
  display: inline-block;
}

/**
 * MARK: Text
 */

h1, h2, h3, h4 {
  position: relative;
  font-family: var(--font-title);
  font-weight: 700;
  margin: 0;
}
h1 {
  font-size: var(--heading-size-xl);
  line-height: 140%;
  font-weight: 700;
  text-transform: uppercase;
}
h2 {
  font-size: var(--heading-size-l);
  line-height: 140%;
  text-transform: uppercase;
  font-weight: 600;
}
h3 {
  font-size: var(--heading-size-s);
  line-height: 170%;
}
h4 {
  font-size: var(--heading-size-xs);
  line-height: 140%;
}
p {
  font-size: var(--content-size);
  line-height: 150%;
  margin: 10px 0 0 0;
}

p a:not(.cta) {
  text-decoration-line: underline;
  text-decoration-color: var(--color-secondary--1);
}

.section.section--primary_1 p,
.section.section--primary_1 h2,
.section.section--primary_1 h3,
.section.section--primary_2 p,
.section.section--primary_2 h2,
.section.section--primary_2 h3,
.section.section--primary_2 li {
  color: var(--color-white);
}
.large_text{
  font-size: 22px;
  line-height: 140%; /* 30.8px */
}
.monoton {
  font-family: Monoton;
}
::selection {
  background-color: var(--color-dark);
  color: var(--color-white);
}








/**
 * Links
 */

a {
  color: var(--color-brand--1);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/**
 * Toolbar Fixed Styles
 */

.toolbar a {
  font-family: "Source Sans Pro","Lucida Grande",Verdana,sans-serif;
  font-weight: normal;
}

/**
 * Table
 */

table {
  border-collapse: collapse;
  width: 100%;
}
table td,
table th {
  border: 1px solid #ddd;
  padding: 8px;
}
table tr:first-child td {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: var(--color-primary--2);
  color: var(--color-neutral--4);
  font-weight: 700;
}




/**
 * CTA
 */

.cta {
  margin: 0;
}
.cta a {
  display: flex;
  padding: 18px 32px 16px 16px;
  align-items: center;
  gap: 10px;
  border-radius: 0 60px 0 0;
  width: fit-content;
}
.cta--style-red a {
  color: var(--color-white);
  background-color: var(--color-primary--1);
}
.cta--style-red a:hover {
  background-color: var(--color-primary--2);
  text-decoration: none;
}
.cta--style-white a {
  color: var(--color-primary--1);
  background-color: var(--color-white);
}
.cta a::after {
  content: '';
  width: 27px;
  height: 27px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}
.cta--style-white a::after {
  background-image: url('../images/arrow_red.svg');
}
.cta--style-red a::after {
  background-image: url('../images/arrow_white.svg');
}



blockquote {
  display: flex;
  padding: 2rem;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  background: var(--color-primary--4);
  margin: 0;
}
blockquote p:first-of-type {
  margin: 0;
}
blockquote p:last-of-type {
  margin-bottom: 0;
}

blockquote h3 {
  font-size: var(--content-size-l);
}

/**
 * ANIMATE DETAILS TAGS
 */

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
  details::details-content {
    height: 0;
    overflow: clip;
    transition:
      height 0.3s ease,
      content-visibility 0.3s ease allow-discrete;
  }

  details[open]::details-content {
    height: auto;
    transition: ease all 150ms;
  }

}

.hide-filters{
  .view-filters{
    display: none;
  }
}


/*
MARK: Klaro Cookies
*/


.klaro {
    .cm-modal.cm-klaro:focus, .cm-modal.cm-klaro:focus-visible, .context-notice:focus, .context-notice:focus-visible, .cookie-notice:focus, .cookie-notice:focus-visible {
        outline: unset;
        box-shadow: unset;
    }
}

@media all and (min-width: 1024px) {
  .klaro .cookie-notice:not(.cookie-modal-notice) {
    left: 20px;
  }
}
