/*
===========================================================
Theme Name: genethique
Theme URI: https://genethique.org
Version: 1.0
Description: A custom child-theme for genethique.org made with love by Bikloz.
Author: Bikloz
Author URI: https://bikloz.com
Template: bb-theme
===========================================================
*/

/* ====================== */
/* → FONT-FACE       */
/* ====================== */
@font-face {
  font-family: "Sora";
  src:
  url("fonts/Sora-Regular.woff2") format("woff2"),
  url("fonts/Sora-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Sora";
  src:
  url("fonts/Sora-Italic.woff2") format("woff2"),
  url("fonts/Sora-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Sora";
  src:
  url("fonts/Sora-Medium.woff2") format("woff2"),
  url("fonts/Sora-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Sora";
  src:
  url("fonts/Sora-MediumItalic.woff2") format("woff2"),
  url("fonts/Sora-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: "Sora";
  src:
  url("fonts/Sora-Bold.woff2") format("woff2"),
  url("fonts/Sora-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Sora";
  src:
  url("fonts/Sora-BoldItalic.woff2") format("woff2"),
  url("fonts/Sora-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
}

/* ====================== */
/* → BASE STYLES     */
/* ====================== */
body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0;
  margin: 0;
}
#fl-main-content {
  overflow: hidden;
}
p {
  margin-bottom: 25px;
}
ul {
  padding-left: 20px;
}
.h2, .h3, .h4 {
  font-weight: bold;
}
button,
a.button {
  font-weight: 500;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  position: relative;
  display: flex;
  width: max-content;
  transition: all 0.2s ease;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 1rem auto;
}
a.fl-button {
  font-weight: 500;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  position: relative;
  display: flex;
  width: max-content;
  transition: all 0.2s ease;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 1rem;
}
button.btn-wk,
a.button.btn-wk {
  font-weight: 500;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  position: relative;
  display: flex;
  transition: transform 0.2s ease;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 1rem auto;
  overflow: hidden;
}
header button.btn-wk.wk_thematique,
header a.btn-wk.wk_thematique {
  border-radius: 0;
  background: var(--wk-accent-tag);
  padding: 9px 11px 8px 7px;
  font-size: 1.5rem;
  color: var(--wk-text-primary);
  border: 0;
  gap: 3px;
  transition: transform 0.2s ease;
  max-height: 40px;
  align-self: center;
}
/*header a.btn-wk.wk_thematique:hover {
  background: var(--wk-accent-primary);
  color: white;
}*/
header button.btn-wk.wk_thematique::before,
a.meta.wk_thematique::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(0,0,0, 0.07);
  transition: width 0.4s ease;
  z-index: 1;
  pointer-events: none;
  border-radius: 0;
}
a.fl-button::before,
a.button.primary::before,
button.btn-wk::before,
a.button.btn-wk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.08);
  transition: width 0.4s ease;
  z-index: 1;
  pointer-events: none;
  border-radius: 8px;
}
a.fl-button:hover::before,
a.button.primary:hover::before,
header button.btn-wk.wk_thematique:hover::before,
button.btn-wk:hover::before,
a.button.btn-wk:hover::before,
a.meta.wk_thematique:hover::before {
  width: 100%;
}

button.btn-wk:hover
a.button.btn-wk:hover {
  transform: scale(1.02);
}

button.btn-wk span {  
  position: relative;
  z-index: 2;
}

button i,
a i {
  font-size: 1.2em;
  line-height: 1;
}
button.primary,
a.button.primary {
  border: 0;
  background: var(--wk-primary);
  color: white;
  margin-left: 0;
}

button.arrow,
a.button.arrow,
.fl-builder-pagination-load-more a.fl-button,
a.loadmore.fl-button {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--wk-text-primary)!important;
  display: inline-block;
}
.fl-builder-pagination-load-more a.fl-button span {
  color: var(--wk-text-primary)!important;
  text-transform: lowercase;
}
button.arrow:after,
a.button.arrow:after {
    content: "\e80a";
    font-family: "fontello";
    margin: 0 10px 0 5px;
    font-size: 17px;
    transition: all linear 0.2s;
    position: relative;
    width: 20px;
    display: inline-block;
}
a.button.arrow,
.wk_links li a,
#wk_header .wk-row:first-child .wk-col.right a,
.pp-heading-content li:not(.breadcrumb-item) a,
.pp-heading-content li:not(.breadcrumb-item) a,
#af_card > a,
#notions .tangible-slider #af_card a.layout-list,
.fl-builder-pagination-load-more a.fl-button,
a.loadmore.fl-button,
#wk_sidebar .wk_block.dossier li a,
.wk_thematique li a,
a.icon-more i {
  transition: all linear 0.2s;
}
.fl-post-column .fl-post-grid-post {
  overflow: visible;
}
#af_card a:not(.layout-complement,
.layout-author):hover {
  box-shadow: 0 10px 18px 0 rgba(0, 0, 0, 0.1);
}

.wk_links li a:hover,
.wk_links li a:focus,
.pp-heading-content li:not(.breadcrumb-item) a:hover,
#wk_complement #af_card a:hover,
#notions .tangible-slider #af_card a.layout-list:hover,
.fl-builder-pagination-load-more a.fl-button:hover,
#wk_sidebar .wk_block.dossier li a:hover,
.wk_thematique li a:hover {
  opacity: 0.8;
  text-decoration: none;
  background: transparent;
  padding-left: 5px;
  /*transform: scale(1.05);*/
}
a.button.arrow:hover {
  background: transparent;
}
a.button.arrow:hover::after {
  font-weight: bold!important;
  transform: translateX(5px);
}
a.icon-more:hover i:before,
.swiper-button-prev:hover,
.swiper-button-next:hover {
  font-weight: bold;;
}
.swiper-button-next svg,
.swiper-button-prev svg {
  display: none;
}
a.loadmore.fl-button {
  padding: 0.5rem;
}
a.loadmore.fl-button:hover,
.fl-builder-pagination-load-more a.fl-button:hover {
  background: transparent;
  text-decoration: underline!important;
}
button:focus:not(:focus-visible),
.btn.focus,
.btn:focus,
.af_accordeon button.btn:active {
  outline: 0;
  box-shadow: none;
  text-decoration: none;
}
a.button.transparent {
  background: transparent;
  border:1px solid var(--wk-text-primary);
  margin: 0;
  color: var(--wk-text-primary)!important;
}
a.button.transparent:hover {
  border: 1px solid var(--wk-primary);
  color: white!important;
}
a.wk_complement_link {
  margin-top: 20px!important;
}
.fl-post-image img {
  filter: saturate(1.05) contrast(1.02) brightness(1.03);
}
.fl-module-content .container {
  max-width: 100%;
}
a.fl-button *,
a.fl-button:visited * {
  color: inherit;
}
.zindex {
  position: relative;
  z-index: 9 !important;
}
.zindexplus {
  position: relative;
  z-index: 99 !important;
}
.zindexmax {
  position: relative;
  z-index: 99999 !important;
}
iframe.wp-embedded-content {
  margin: 20px 0 10px 0;
}
.fl-rich-text iframe {
  width: 100%;
  border-radius: 15px;
}
body.single-post.postid-155285 .published_date {
  display: none;
}
.wk_blur {
  backdrop-filter: blur(10px);
}
.fl-menu-logo * {
  transition: 200ms all linear;
}
.fl-menu-logo a:hover {
  transform: scale(1.08);
}
main.af_sidebar- article {
  margin: 0 auto;
  float: none;
}
a,
a:hover,
a:active,
a:focus,
a:visited {
  text-decoration:none;
  outline: none;
}
/* ====================== */
/* → TYPOGRAPHY       */
/* ====================== */
.page p.chapo,
.single p.chapo {
  font-weight: bold;
}
.page p.chapo::first-letter,
.single p.chapo::first-letter {
  float: left;
  font-size: 4em;
  line-height: 1;
  padding-right: 8px;
  font-weight: bold;
}
.single p.chapo::first-letter {
  color: var(--wk-text-primary);
}
.single-wk_definition p.chapo::first-letter {
  color: var(--wk-highlight);;
}
.page article .fl-rich-text h2,
.single article h2 {
  font-size: 1.7em;
}
.page article .fl-rich-text h3,
.single article h3 {
  font-size: 1.4em;
}
.page article .fl-rich-text h4,
.single article h4,
.single article .h4 {
  font-size: 1.2em;
}
i.wk-icon {
  font-size:120%
}
article blockquote {
  font-size: 28px;
  line-height: 1.4;
  font-style: italic;
  border: none;
  padding: 2rem 5rem 3.5rem 4.5rem;
  position: relative;
  color: #cb966e;
}
article blockquote:before {
content: "\e815";
  font-family: "fontello";
  font-size: 40px;
  /*opacity: 0.5;*/
  position: absolute;
  right: 0px;
  top: 0px;
  font-weight: normal;
  font-style: normal;
}
article blockquote p {margin-bottom:5px }
article blockquote .blockquote_author {
  font-style:normal;
  color:var(--wk-text-primary);
  font-size:initial;
}
article blockquote .blockquote_author:before {
  content: "—";
  margin-right: 10px;
}
/* ====================== */
/* → HEADER       */
/* ====================== */

#wk_header {
  border-radius:15px;
  display:flex;
  flex-direction:column;
}
#wk_header .wk-row {
  z-index:10
}
#wk_header .wk-row:first-child {
  background-image: linear-gradient(70deg, #070B28 0%, #212D82 80%);
  border-radius:15px;
  display:flex;
  flex-flow:row nowrap;
  align-items:stretch;
  justify-content:space-between;
  padding-right:25px;
}

#wk_header .logo svg g.design {
  transition: fill 0.3s ease, transform 0.3s ease;
}
#wk_header .logo:hover svg g.design {
  transform: rotate(-0.7deg) scale(1.05) translateX(-5px) translateY(-1px);
}
#wk_header .wk-col,
#wk_header .wk-col.right nav {
  display:flex;
  flex-flow:row nowrap;
  align-items:stretch;
}
#wk_header .wk-col.left {
  gap:30px;
}
#wk_header .wk-col.right a {
  padding: 0 1.6rem;
  display: flex;
  color: white;
  line-height: 2.5;
  border-radius: 8px;
  gap: 8px;
}
#wk_header .wk-col.right nav.menu {
	list-style:none;
	margin:0;
	gap:0;
}
#wk_header .wk-col.right nav.menu a {
	align-items:center;
}
#wk_header .wk-col.right nav.menu  a:before {
	font-family: "fontello";
	font-size:1.2em;
	margin-right:5px
}
#wk_header .wk-col.right nav.menu  a.search:before {
	content: '\e804';
}
#wk_header .wk-col.right nav.menu  a.alerte:before {
  content: '\e805';
}
#wk_header .wk-col.right nav.menu  a.don:before {
	content: '\e806';
}

#wk_header .wk-col a, 
#wk_header .wk-col.right a * {
  align-self: center;
}

#wk_header .wk-col.left .wk_burger i {
  font-size:38px;
  color:white;
  border-right: 1px solid rgba(251, 243, 236, 0.30);
  padding:15px;
  display:block;
  line-height: 65px;
}

#wk_header .wk-col.left .logo svg {
  width:230px;
  height: auto;
  position: relative;
  overflow: inherit;
}
.home header .logo svg g.baseline {
  display:none;
}
body:not(.home) header .logo h1 {
  display: none;
}
header .logo h1 {
  color:white;
  font-size:10.5px;
  font-weight:500;
  line-height:1;
  padding:0;
  margin:0;
  left:25px;
  position:relative;
  bottom:10px;
  height:1px;
}
header .modal:not(#wk_modal_menu) {
  backdrop-filter: blur(15px) brightness(150%);
}
header .modal:not(#wk_modal_menu) .modal-dialog {
  border-radius:15px;
  overflow:hidden;
  max-width:650px;
  top:5%
}
header .modal .btn-close {
  position:absolute;
  top:6px;
  right:15px;
  opacity: 1;
}
header .modal .btn-close:hover {
  border: 0;
}
header .modal:not(#wk_modal_menu) .modal-dialog .modal-content {
  border:0;
  padding:3rem 6rem 4rem;
}
header .modal .modal-dialog .modal-content ul  {
  padding:0;
}
header #wk_modal_thematique.modal #wk_list li {
  padding: 5px 0;
}
header .modal #wk_list li.search-link > a:before {
  display: none
}
ol.breadcrumb a {
  color:var(--wk-text-primary);
}
ol.breadcrumb {
  /*opacity:0.9;*/
  align-items: center;
  --bs-breadcrumb-item-padding-x:0;
}
ol.breadcrumb li a:hover {
  color: var(--wk-primary)!important;
}
ol.breadcrumb li {
  font-size:85%;
}
ol.breadcrumb li:first-child a:before {
  content:"\e81e";
  font-family:"fontello";
  font-size:16px;
  position: relative;
  top: -1px;
}
ol.breadcrumb li:first-child span {
  display: none;
}
ol.breadcrumb li::after {
  margin:0 5px;
  content:"\e81a";
  font-family:"fontello";
  font-size:12px;
  position: relative;
  top: -1px;
}
.breadcrumb-item+.breadcrumb-item::before {
  display: none!important;
}
#wk_header nav {
  margin:10px;
}
#wk_header.split-bgd-true #wk_split.wk-row nav .breadcrumb-item,
#wk_header.split-bgd-true #wk_split.wk-row nav .breadcrumb-item a {
  color:white;
  text-shadow: -1px 0 #34343466, 0 1px #34343466, 1px 0 #34343466, 0 -1px #34343466;
}
#wk_split.wk-row {
  flex-direction: column;
  gap: 0;
}
#wk_modal_menu h2 {
  font-size:3rem;
}
#wk_header .wk_burger:hover i,
#wk_header .wk-col.right a:hover {
  background:var(--wk-primary);
}
#wk_header .wk_burger:hover i {
  border-radius:15px 0 0 15px;
}
#wk_header a.wk_thematique:hover {
  background:var(--wk-primary);
  color:white;
}
#wk_modal_menu .modal-dialog {
  max-width:100vw;
  height:100vh;
  margin:0;
  top: -2px;
  bottom: -2px;
}
#wk_modal_menu button.btn-close {
  position: absolute;
  z-index: 9999;
  right: 10px;
  color:white;
  opacity:1;
}
#wk_modal_menu button.btn-close:hover {
  border: 0;
}
button.btn-close {
  background:transparent;
  width: 2em;
  height: 2em;
}
button.btn-close:before {
  background:transparent;
  content:"\e80d";
  font-family:"fontello";
  font-size:30px;
}
#wk_header #wk_split #wk_intro {
  text-align: center;
  color: white;
  padding: 5rem 5rem 8rem;
  max-width: 992px;
  margin: 0 auto;
}
#wk_split #wk_intro a.button {
  margin-left:auto;
}
#wk_split #wk_intro .archive-icon i.wk_icon {
  font-size:45px;
  line-height:1;
}
#wk_header #wk_split #wk_intro h1 {
  color:white;
  text-shadow:0 0 10px rgba(0,0,0,0.2);
  margin: 20px 0 15px;
}
#wk_header #wk_split #wk_intro h1 > span {
  background: var(--wk-accent-tag);
  padding: 2px 13px 2px 7px;
  color: var(--wk-title);
  text-shadow: none;
}
#wk_header .wk-row nav {
  display:block;
}
#wk_header {
  background-size:cover;
  background-position:center;
  z-index:1;
  position:relative;
}
#wk_header.split-bgd-true:before {
  content:"";
  background:rgba(0,0,0,0.15);
  width:100%;
  height:100%;
  position:absolute;
  border-radius:15px;
  z-index:0;
  pointer-events: none;
}
#wk_header.split-bgd-true .wk-col.left .wk_burger i {
  border-radius:15px 0 0 0;
}
#wk_header.split-bgd-true .wk-row:first-child {
  border-radius:15px 15px 0 0;
  background-image: linear-gradient(70deg, #070b28d9 0%, #212d82db 80%);
  backdrop-filter: blur(8px);
}


/* ====================== */
/* → LINKS & LISTS    */
/* ====================== */

#wk_list li {
  list-style:none;
}

#fl-main-content a:hover,
#fl-main-content body a:focus {
  text-decoration: none;
}
.wk_content a, 
.single article p a,
.page-template-page_template_standard #wk_content_wrapper p a:not(.fl-button) {
  border-bottom: 1px dotted;
}
.wk_content a:hover,
.single article p a:hover,
.page-template-page_template_standard #wk_content_wrapper p a:not(.fl-button):hover,
.wk_meta_wrapper.share a:hover,
a.meta.wk_pays:hover {
  border-bottom:0;
  color: var(--wk-primary);
}
#fl-main-content .pp-accordion-content ul,
#fl-main-content .pp-infobox-wrap ul,
#fl-main-content .pp-heading-content ul,
#wk_page_more ul,
#wk_menu_off .fl-callout-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}
#wk_page_more ul.liens,
#wk_page_more ul.liens p {
  padding: 0 !important;
  margin: 0 !important;
}
.pp-flipbox {
  border-radius: 15px;
}
.pp-accordion-item-active .pp-accordion-button {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.pp-accordion-item-active .pp-accordion-content {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  margin-top: 2px;
}
footer .pp-heading-content ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.pp-accordion-content ul li,
.pp-infobox-wrap ul li,
.pp-heading-content ul li,
#wk_page_more ul.liens a {
  page-break-inside: avoid;
  break-inside: avoid-column;
}
.pp-accordion-content li a,
.pp-infobox-wrap li a,
.pp-heading-content li:not(.breadcrumb-item) a,
#wk_page_more ul.liens a,
.fl-callout-text li > a {
  color: inherit;
  padding: 0.3em 0;
  display: flex;
  line-height: 1.3;
  text-align: left;
}
.pp-accordion-content li a:hover,
.pp-infobox-wrap li a:hover,
#wk_page_more ul.liens a:hover {
  opacity: 0.8;
  text-decoration: none;
}
.fl-callout-text ul {
  padding: 0;
}
.fl-callout-text li {
  list-style: none;
  padding: 0;
}
#wk_page_widget .fl-callout-text li > a + em {
  margin: -2px 0 5px 29px;
  font-size: 0.9em;
  position: relative;
  display: block;
  opacity: 0.6;
  line-height: 1.3;
  font-style: normal;
}
.pp-accordion-content li a:before,
.pp-infobox-wrap li a:before,
.pp-heading-content li:not(.breadcrumb-item) a:before,
#wk_page_more ul.liens a:before,
div.fl-col .fl-callout-text li > a:before,
#wk_page_widget .fl-callout-text li > a:before,
#wk_list li > a:before {
  content: "\e817";
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  margin: -2px 10px 0 0;
}

ul.wk_posts_list {
  list-style: none;
}
.wk_links {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-self: normal;
}
.wk_links li {
  list-style: none;
  padding: 5px 10px;
}
.wk_links li a {
  color: var(--wk-text-primary);
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
}
.wk_links li a .wk-icon {
  margin-right: 20px;
  font-size: 1.9rem;
}

.fl-post-grid-post {
  border: 0;
  border-radius: 10px;
  margin: 5px;
  background: transparent;
}

/* ====================== */
/* → ACCORDION STYLES   */
/* ====================== */
.af_accordeon .card {
  background: transparent;
  border: 1px solid var(--wk-text-primary);
  margin-bottom: 10px;
  border-radius: 8px;
}
.af_accordeon button.btn {
    background: white;
    color: var(--wk-text-primary);
    width: 100%;
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    border:0;
}
.af_accordeon button.btn[aria-expanded="false"]:after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.6em;
    top: 50%;
    transform: translateY(-50%);
  }
.af_accordeon button.btn[aria-expanded="true"]:after {
  content: "-";
  position: absolute;
  right: 20px;
  font-size: 1.6em;
  top: 50%;
  transform: translateY(-50%);
}
.af_accordeon button.btn[aria-expanded="true"],
.af_accordeon button.btn:hover,
.af_accordeon button.btn:focus,
.af_accordeon button.btn:active {
  color: var(--wk-primary);
  text-decoration: none;
  background: transparent;
  border: 0;
}
.af_accordeon .card-header {
  border-bottom: 0;
  background: transparent;
}
.af_accordeon .card-header h3 {
  margin: 0;
}
.af_accordeon .card-body {
    flex: 1 1 auto;
    padding: 0 20px 20px;
    color: var(--bs-card-color);
    font-size: 1em;
}
.af_accordeon .accordeon-content {
  border: 1px solid var(--af-style-gris-clair);
  border-top: 0;
  border-radius: 0 0 5px 5px;
}

/* ====================== */
/* → HEADER        */
/* ====================== */
li.fl-menu-logo img {
  width: 140px;
}
.home header #wk_topbar {
  position: absolute;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}
header .menu {
  gap: 20px;
}
.fl-menu .sub-menu {
  min-width: 280px;
}
#wk_mainnav .sub-menu li.menu-item a:hover,
#wk_mainnav .sub-menu li.menu-item a.current-menu-item {
  color: var(--wk-primary);
}
.home #wk_mainnav .menu > li.menu-item > a,
.home #wk_mainnav .menu > li.menu-item .fl-has-submenu-container a {
  border-bottom: 3px solid transparent;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
#wk_mainnav #menu-menu-principal > li.menu-item.current-menu-item > a:after,
#wk_mainnav #menu-menu-principal > li.menu-item.current-menu-parent > div > a:after,
#wk_mainnav #menu-menu-principal > li.menu-item:hover > a:after,
body.single-post:not(.category_parcours, .wk_post_format_dossier) #menu-menu-principal > li#menu-item-56 > div > a:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--wk-primary);
  bottom: 0;
  left: 0;
}
body.page-id-119843 #menu-menu-principal > li.menu-item.current-menu-parent > div > a:after {
  display: none;
}
#wk_mainnav #menu-menu-principal li:not(#menu-item-53) .sub-menu li.menu-item.current-menu-item > a {
  color: var(--wk-primary);
}
#wk_mainnav .sub-menu li.menu-item a {
  color: var(--af-style-noir);
  border: 0;
  text-transform: none;
}

/* ====================== */
/* → POST CARD       */
/* ====================== */
#af_card {
  position: relative;
  max-width: 350px;
}
#wk_populaire #af_card,
.wk-row .col-sm-4 #af_card,
.fl-post-column #af_card, 
.fl-post-column #af_card a {
  height: 100%;
  max-width: 100%;
}
#af_card a {
  border-radius: 10px;
  overflow: hidden;
  background: white;
  display: block;
  width: 100%;
}
#af_card a.layout-list {
  display: flex;
  flex-flow: row nowrap;
  align-content: center;
  min-height: 100px;
}
#wk_populaire #af_card a.layout-list {
  height: 100%;
}
#af_card a.layout-list .icon {
  align-self: center;
  padding-left: 15px;
  font-size: 18px;
}

#af_card a:not(.layout-big) .image {
  position: relative;
  overflow: hidden;
  height: 140px;
  background-color: #eedfd4;
}
#af_card a.layout-media {
  aspect-ratio: 8.5/5;
}
#af_card a.layout-media .image {
  height: 100%;
}
#af_card a:not(.layout-big) .image::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
  z-index: 0;
}

#af_card a:not(.layout-big):hover .image::before {
  transform: scale(1.1);
}

#af_card a:not(.layout-big) .image > * {
  position: relative;
  z-index: 1;
}
#af_card a.layout-big {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#af_card a.layout-big::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; 
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
  z-index: 0;
}

#af_card a.layout-big:hover::before {
  transform: scale(1.1);
}

#af_card a.layout-big > * {
  position: relative;
  z-index: 1;
}
#af_card a:hover .image {
  background-size: 110%;
}
#af_card a.layout-list .image {
  width: 25%;
  height: auto;
}
#af_card a.layout-list .image + .text {
  width: 75%;
}
#af_card a.layout-standard .text {
  padding: 2rem;
  /*height: 145px;*/
  height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
section#wk_video #af_card a.layout-standard.wk_video .text {
  height: 100px;
}
#af_card a.layout-big .text {
  display: block;
  padding: 0 2rem 2.5rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgb(0 0 0 / 90%) 80%);
  width: 100%;
  height: 100%;
  align-content: flex-end;
}
#af_card a.layout-complement .text,
#af_card a.layout-list .text {
  padding: 1.6rem 2rem 1.7rem 2rem;
  height: auto;
  justify-content: center;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 5px;
}
#af_card a.layout-list.type-wk_definition .text,
#af_card a.layout-list.type-wk_question .text {
  padding: 3rem 2.5rem;
}
#af_card a:not(.layout-big) h3 {
  font-size: 1.32rem;
  font-weight: 500;
  padding: 0;
  margin: 0;
  line-height: 1.4;
}
#af_card a:not(.layout-big):hover h3 {
  color: var(--wk-accent);
}
#af_card a.layout-big.dossier {
  height: 100%;
  min-height: 400px;
}
#af_card a.layout-big h3 {
  color: white;
  font-size: 2.2rem;
}
#af_card a.layout-big.dossier .text {
  background: var(--wk-background);
  border-radius: 10px;
  margin: 1.5rem;
  width: -webkit-fill-available;
  height: auto;
  color: var(--wk-text-primary);
  padding: 1.5rem 1.5rem;
}
#af_card a.layout-big.dossier:hover .text {
  background: white;

}
#af_card a.layout-big.dossier .text h3 {
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--wk-text-primary);
  margin: 0 0 5px;
}
#af_card a.layout-big.dossier .text .details span {
  font-size: 90%;
}
#af_card a.layout-big.dossier .text .details ul.wk_posts_list {
  display: none;
}

#af_card .layout-author {
  background:transparent;
  display:flex;
  flex-direction:column;
  color:var(--wk-text-primary);
  text-align: center;
}

#af_card .layout-author .intro {
  display: flex;
  flex-flow: column nowrap;
}
#af_card .layout-author h4,
#af_card .layout-author .h4 {
  font-weight:bold;
  margin-top:20px;
  font-size:2rem;
  margin-bottom:5px;
}
#af_card .layout-author .image,
body.archive.author #wk_intro .image {
  width: 95px;
  height: 136px;
  background-size: cover;
  border-radius: 60px;
  position:relative;
  background-position:center;
}
#af_card .layout-author .image-container,
#wk_intro .image-container {
  position: relative;
  margin: 10px auto 0;
  width: fit-content;
}

#af_card .layout-author .image-container::before,
body.archive.author #wk_intro .image-container::before,
#wk_intro .image-container::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 1px solid var(--wk-grey-primary);
  pointer-events: none;
  border-radius: 60px;
}

#af_card.tslide .layout-author {
  align-items:center;
}
#af_card.tslide .layout-author .wk_user_function,
#af_card .layout-author button {
  display: block;
}
#af_card.tslide .layout-author .wk_user_presentation,
#af_card.tslide .layout-author .read_more {
  display: none;
}
#af_card a.layout-event {
  display:flex;
  min-height: 80px;
  height: 100%;
}
#af_card a.layout-event .date {
  text-align:center;
  background:var(--wk-text-primary);
  color:white;
  display:flex;
  flex:1;
  flex-direction:column;
  justify-content:center;
  min-height:100%;
  min-width:60px;
  padding-top:8px;
}
#af_card a.layout-event .date .day {
  font-size:25px;
  font-weight:bold;
  line-height:1;
}
#af_card a.layout-event .date .month {
  font-size:12px;
}
#af_card a.layout-event .text {
  padding:20px;
  flex-basis: 80%;
  align-content: center;
}
#wk_layout .row.archive-evenements #af_card {
  width: 33.33%;
  max-width: 100%;
}
#wk_layout .row.archive-evenements {
  row-gap: 15px;
}
/* ====================== */
/* → META        */
/* ====================== */
.meta {
  font-weight: 500;
  color: var(--wk-text-primary);
}
#af_card .meta {
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 6px;
}
#af_card #wk_meta {
  overflow: hidden;
}
.wk_meta_wrapper.topline .meta:not(.wk_thematique),
.wk_block .meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: white;
  border-radius: 8px;
  padding: 8px;
  line-height: 1;
}
.wk_meta_wrapper.topline .meta {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
}
.wk_meta_wrapper.topline a.meta:not(.wk_thematique):hover,
.wk_block a.meta:hover {
  background: var(--wk-primary);
  color: white;
}
.meta.wk_thematique {
  background: var(--wk-accent-tag);
  padding: 0.4rem 0.6rem 0.35rem!important;
  color: var(--wk-text-primary);
  border-radius: 0 !important;
  line-height: 1.15;
  transition: transform 0.2s ease;
  position: relative;
  white-space: nowrap;
}
.wk_meta_wrapper.topline_event {
  margin-bottom: 10px;
}
#wk_meta .wk_meta_wrapper.thematique {
  display: flex;
  gap:5px;
}
#af_card a.layout-big .meta.author {
  color: white;
}
.wk_meta_wrapper.author {
  line-height: 1;
}
#af_card .meta.author {
  color: var(--wk-text-primary);
}

.wk_meta_wrapper > .wk-col.right .meta {
  display: flex;
  padding: 5px 6px;
}
.wk_meta_wrapper > .wk-col.right .meta > i.wk-icon {
  font-size: 17px;
}
#wk_intro .meta {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 2px;
}
#wk_meta_wrapper {
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
}
.wk_meta_wrapper.topline {
  display: flex;
  flex-flow: row nowrap;
  padding: 1rem;
  justify-content: space-between;
}
.wk_meta_wrapper.subline {
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
  align-items: center;
}
.wk-icon {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: 0.5rem;
  text-align: center;
  line-height: 1em;
  position: relative;
}
.wk-icon.live {
  color: #FF2F00;
  font-size: 1rem;
}
.wk-icon.exclusif {
  color: var(--wk-primary);
  font-size: 1rem;
}

/* ====================== */
/* → HOME PAGE       */
/* ====================== */
#wk_layout_home section#first,
#wk_layout_home section#third {
  display: flex;
  flex-flow: row nowrap;
  gap: 20px;
}
#wk_layout_home > section#first > .wk-col.left #af_card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#wk_layout_home > section > .wk-col.left {
  width: 30%;
  justify-content: stretch;
  display: flex;
  flex-direction: column;
}

#wk_layout_home > section > .wk-col.right {
  width: 70%;
}
#wk_layout_home > section#third > .wk-col.right {
  display: flex;
  flex-direction: column;
}
#wk_layout_home > section#third > #dossiers.wk-col.right a.button.arrow {
  margin-right: 0;
}
#wk_layout_home > section#first > .wk-col.right,
#wk_layout_home > section#third > #dossiers.wk-col.right .grid {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  row-gap: 15px;
  height: 100%;
  align-items: flex-end;
}
#wk_related .grid,
#wk_populaire .grid,
#wk_question .grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}
#wk_event .grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home #wk_populaire .grid, 
.single #wk_populaire .grid {
  justify-content: stretch;
}
#dossiers .grid > #af_card {
  height: 100%;
}
#wk_populaire .grid > #af_card,
#wk_complement .grid > #af_card  {
  width: 100%;
}
section .heading {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: baseline;
}

#wk_layout_home a.layout-media .text {
  display: none;
}
#wk_layout_home section {
  width: 100%;
  margin-bottom: 40px;
}
#wk_layout_home h2 {
  font-size: 30px;
}
#wk_complement #af_card a {
  background: transparent;
  position: relative;
}
#wk_complement .tslide-wrapper #af_card {
  border-left: 1px solid var(--wk-grey-primary);
}
section#notions {
  text-align: center;
  margin: 0 0 5rem 0;
  /*display: flex;
  flex-direction: column;
  gap: 20px;*/
}
section#notions .swiper {
  padding: 20px 10px;
}
section#notions #af_card a.layout-list .image {
  display: none;
}
section#notions #af_card a.layout-list .image + .text {
  width: 100%;
  text-align: left;
}
#wk_complement #af_card a {
  background: transparent;
  position: relative;
}

/* ====================== */
/* → SLIDER        */
/* ====================== */
.swiper-outer-wrapper {
  overflow-x: clip;
  padding: 20px;
  margin: -20px;
}
.swiper-slide {
  height: auto;
}
.swiper-wrapper {
  align-items: stretch;
}
.swiper-slide #af_card {
  flex: 1;
  display: flex;
  height: 100%;
  max-width: 100%;
}
#wk_complement .swiper {
  border: 1px solid var(--wk-grey-primary);
  border-radius: 10px;
  padding: 20px;
  /*overflow: visible;*/
}
#wk_video .swiper,
#wk_complement .swiper {
  overflow: visible;
  clip-path: inset(-40px 0 -30px 0);
}

.swiper #af_card a.layout-list .icon {
  display: none;
}
.swiper #af_card a.layout-list {
  padding: 0.3rem 1rem;
  min-height: 140px;
}
section#wk_complement .swiper .swiper-slide {
  border-left: 1px solid var(--wk-grey-primary);
}
section#wk_complement .swiper .swiper-slide-active {
  border: 0;
  padding-left: 0;
}
#af_card a.layout-list #af_card.tslide {
  height: auto;
  padding: 0;
}
section#wk_complement .swiper-button-prev, 
section#wk_video .swiper-button-prev {
  position: absolute;
  top: -30px;
  left: calc(100% - 70px);
}
section#wk_complement .swiper-button-next, 
section#wk_video .swiper-button-next {
  position: absolute;
  top: -30px;
  right: 0;
}
section#wk_video .swiper {
  overflow: visible
}
section#corporate .swiper,
section#corporate .pp-heading-content {
    overflow: visible !important;
    clip-path: inset(0 -15px);
}
.tslide-wrapper .tslider-action > a {
  opacity: 1;
  background: none;
}
section#corporate .swiper-button-prev {
  left: -20px !important;
}
section#corporate .swiper-button-next {
  right: -20px !important;
}
.swiper-button-prev:after, 
.swiper-button-next:after {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  color: var(--wk-text-primary);
}
.swiper-button-next:after {
  content: "\e80a";
}
.swiper-button-prev:after {
  content: "\e80b";
}
.swiper #af_card a.layout-complement .text {
  padding: 0 0.5rem;
}
.swiper-slide #af_card a.layout-complement .text {
    padding: 5px 5px 5px 25px;
}
.swiper-slide-active #af_card a.layout-complement .text {
  padding-left: 5px;
}
/* ====================== */
/* → FOOTER         */
/* ====================== */
footer #wk_list ul.wk_thematique {
  margin-top: 0px;
}
footer .fl-subscribe-form-inline, 
#wk_menu_off .fl-subscribe-form-inline {
  float: right;
  display: flex;
  max-width: 500px;
}
article .fl-subscribe-form-inline .fl-form-field input {
  box-shadow:
    inset 1px 0 0 #DDD,    /* gauche */
    inset 0 1px 0 #DDD,    /* haut */
    inset 0 -1px 0 #DDD;   /* bas */
}
.fl-subscribe-form-inline input[type=email] {
  border-top-right-radius: 0!important;
  border-bottom-right-radius: 0!important;
} 
.fl-subscribe-form-inline a.fl-button {
  margin-bottom: 0!important;
  border-top-left-radius: 0!important;
  border-bottom-left-radius: 0!important;
  padding-bottom: 13px;
}
.fl-subscribe-form-inline .fl-form-button {
  width: auto;
}

.fl-subscribe-form-inline .fl-form-success-message p {
  margin: 0;
  color: white;
}
/* ====================== */
/* → INTRO    */
/* ====================== */
.page #wk_intro {
  text-align: center;
  max-width: 1050px;
}
body.archive.author #wk_intro {
  text-align:center;
}
body.archive.author #wk_intro .image {
  width: 90px!important;
  height: 130px!important;
  margin: 0 auto 20px!important;
}
body.archive.author #wk_intro .wk_user_function,
body.archive.author #wk_intro .wk_user_presentation {
  margin-bottom:10px;
  display:block;
}
.single-wk_event #wk_intro {
  margin-bottom:3rem; 
}
#wk_intro h1 {
  max-width: 1024px;
  margin-top:0 ;
}
article #wk_intro {
  margin-bottom: 20px;
}
article #wk_intro h1 {
  margin-top:0;
}

/* ====================== */
/* → SINGLE         */
/* ====================== */

.single .wk_photo {
  width: 100%;
  height: 400px;
  display: flex;
  padding: 1rem;
  border-radius: 15px 15px 0 0;
  justify-content: space-between;
  flex-direction: column;
  color: white;
  position: relative;
  background-position: center;
  background-size: cover;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wk_article_image_credits {
  opacity: 0.7;
  font-size: 80%;
  padding: 3px 7px 1px;
  display: block;
  width: fit-content;
  border-radius: 7px;
  right: 10px;
  position: absolute;
  bottom: 10px;
  text-shadow: -1px 0 #34343466, 0 1px #34343466, 1px 0 #34343466, 0 -1px #34343466;
}
.single article {
  overflow: hidden;
}
.single:not(.single-wk_video) iframe {
  width: 100%;
  border-radius: 15px;
  min-height: 400px;
}
iframe.af_pdf {
  border-bottom: 4px solid;
}
.single .wk_social {
  text-align: right;
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
/*.single .wk_social a {
  color: var(--wk-text-primary);
}*/
.single-wk_definition #wk_intro {
  display:flex;
  align-items:center;
}

.single-wk_definition #wk_intro .wk_col:first-child {
  max-width:75%;
}
.single-wk_definition #wk_intro .wk_col:last-child {
  flex:1;
  text-align:right;
}
.single-wk_definition .capital {
  font-size:200px;
  font-weight:bold;
  color:transparent;
  -webkit-text-stroke: 1px var(--wk-text-primary);
  line-height:1;
}
#wk_intro #wk_meta, .wk_pays {
  display: inline-flex;
  width: auto;
  align-items: center;
}
#wk_complement .grid > #af_card:not(:last-child):after {
  content:"";
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--wk-grey-primary);
  bottom:8%;
}

#wk_related .wk-col-sm-4 {
  flex:1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#wk_related #wk_complement .grid {
  border-radius: 15px;
  padding: 2.5rem;
  border: 1px solid var(--wk-grey-primary);
  height: 100%;
  justify-content: stretch;
}

.wk-row {
  gap:20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.wk-row.archive-dossiers .tangible-dynamic-module {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  row-gap: 20px;
  padding-bottom: 30px;
}
.wk-row .col-sm-4 {
  display: flex;
  flex-direction: column;
  padding: 0;
  width: calc(33.33% - 20px);
}
#wk_related {
  display: flex;
  flex-direction: column;
}
#wk_related #wk_complement #af_card .text {
  padding: 10px 0;
  display: flex;
  flex-flow: column;
  gap: 5px;
}
#wk_related #wk_complement #af_card:last-child {
  border: 0
}

.wk_meta_wrapper.share {
  display: inline-block;
}
.wk-share-panel a {
  display: inline-block;
  margin: 5px 0;
  text-decoration: none;
}
.wk-share-panel i {
  margin-right: 8px;
  font-size: 16px;
  width: 15px;
}
.wk-share-panel {
  position: absolute;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
  padding: 1rem 2rem;
  text-align: left;
  z-index: 99;
}
#wk_timeline .card {
  padding: 2rem 3rem;
  margin-bottom: 20px;
  border-radius: 10px;
}
#wk_timeline .card span.post_datetime {
  font-size: 12px;
  margin-bottom: 10px;
}

#wk_timeline .card p {
  margin: initial;
}
body.archive.tax-wk_dossier #wk_related {
  display:flex;
  flex-direction: column;
  gap:15px;
  justify-content:center;
}
body.archive #wk_related .wk-row {
  display:flex;
  flex-flow:row wrap;
  gap:15px;
  justify-content:stretch;
}
body.archive #wk_related #af_card {
  flex:1
}
#wk_documents {
  margin-top:20px;
}
#wk_documents ul {  
  margin:0;
  padding:0;
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
}
#wk_documents li {
  list-style:none;
  page-break-inside: avoid;
  break-inside: avoid-column;
  padding:6px 0 8px;

}
#wk_documents a {
  padding:8px 10px;
  border-radius:5px;
  border:1px solid;
}
#wk_documents a:before {
  content:"\f0c6";
  font-family:"Font Awesome 5 Free";
  font-weight:900;
  margin-right:10px;
}

#wk_documents li a:hover {
  background:var(--wk-background-dark);
  text-decoration:none;
  border-color:var(--wk-background-dark);
}
/* ====================== */
/* → SIDEBAR         */
/* ====================== */
aside #af_card .layout-author .wk_post_count {
  display: none;
}
aside #af_card .layout-author {
  flex-flow: row wrap;
  gap: 15px;
  border: 1px solid var(--wk-grey-primary);
}
aside #af_card .layout-author .image {
  width: 72px;
  height: 100px;
}
aside #af_card .layout-author .image-container::before {
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
}
aside #af_card .layout-author .intro {
  width:64%;
}
aside #af_card a,
aside #af_card button {
  margin-left: 0;
  text-align: left;
}
#wk_sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#wk_sidebar .wk_block,
aside #af_card .layout-author {
  border-radius: 15px;
  padding: 2.5rem;
}
#wk_sidebar #af_card .layout-author .description,
#wk_sidebar #af_card .layout-author button,
aside #af_card .layout-author .intro {
  text-align: left;
}
#wk_sidebar #af_card .layout-author button {
  font-size: 1em;
}
#wk_sidebar #af_card .layout-author .image-container {
  margin-left: 0;
}
#wk_sidebar .wk_block.dossier {
  background:var(--wk-background-dark);
}
#wk_sidebar .wk_block.dossier li {
  list-style: none;
  display: flex;
  flex-flow: row nowrap;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 10px;
}
#wk_sidebar .wk_block.dossier li.current {
  opacity: 0.7;
}
#wk_sidebar .wk_block.dossier li a {
  color: var(--wk-text-primary);
}
#wk_sidebar .wk_block.agenda {
  padding-top:0;
  padding-bottom:10px;
}
.wk_block.agenda .content {
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:15px 0;
}
#wk_sidebar .wk_block.more {
  padding-top:0
}
#wk_sidebar .wk_block.ad {
  padding:0
}
#wk_sidebar .wk_block.more .content {
  display:flex;
  flex-flow: row wrap;
  gap: 6px;
}
#wk_sidebar .wk_block.definitions,
#wk_sidebar .wk_block.recherche {
  background: white;
}
#wk_sidebar .wk_block.definitions a.wk_keyword {
  margin-right: 10px;
  white-space: nowrap;
}

#wk_sidebar .wk_block a.button.arrow,
.grid a.button.arrow {
  display: block;
  margin-left: 0;
}
aside h4,
aside .h4 {
  font-size: 140%;
  line-height: 1.4;
}
.wk_block h4,
.wk_block .h4 {
  margin-top: 0;
}
.wk_block .search-filter-field__input,
.wk_block input[type=text] {
  width: 100%;
  border-radius: 8px;
  height: 50px;
}
/* ====================== */
/* → NPROGRESS         */
/* ====================== */
#nprogress { pointer-events: none; }
#nprogress .bar {
  background: var(--wk-primary);
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  z-index: 999999;
  transition: width .5s ease;
}
#nprogress .peg {
  box-shadow: /*0 0 10px #ff6600, 0 0 5px #ff6600*/ none;
}
#nprogress .spinner-icon {
  border-top-color: var(--wk-primary);
  border-left-color: var(--wk-primary);
}
/* ====================== */
/* → MISC         */
/* ====================== */
body.page #wk_content_wrapper .fl-html > .fl-builder-content > .fl-row .fl-row-content-wrap {
	padding:0;
	margin:0;
}
#wk_newsletter .pp-heading-content {
  display: flex;
  align-items: center;
}
#wk_newsletter .pp-heading-content .heading-title {
  padding: 0;
}

#wk_newsletter .pp-sub-heading {
  flex:1;
}
#wk_newsletter .pp-sub-heading>p {
  margin: 0;
}
#wk_menu_off .fl-module-icon-group .fl-icon-group {
  text-align: right;
}
#wk_menu_off .fl-module-icon-group .fl-icon i:before {
  color: white;
}
#wk_menu_off #wk_logo {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 230px;
}
#wk_menu_off .fl-col-group.fl-node-5j2bt1ake3ry {
  margin-top: 40px;
}
#wk_layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ====================== */
/* → POST GRID & FILTERS  */
/* ====================== */

#af_loop {
  display:flex;
  flex-flow:row wrap;
  gap:20px;
}
#af_loop #af_card {
  flex-basis:48%;
  max-width: 300px;
}

/* ====================== */
/* → ARCHIVES       */
/* ====================== */

body.archive.tax-wk_thematique #wk_meta .wk_meta_wrapper.thematique {
  display: none!important;
}
body.archive.tax-wk_thematique .wk_meta_wrapper.subline {
  gap: 0;
}

/* ====================== */
/* → SEARCH, QUERY FILTERS       */
/* ====================== */

.wk_filter_select,
.search-filter-component-combobox__header {
    transition: width 0.2s ease;
}
/* Permet au champ combobox d'avoir une largeur dynamique */
.search-filter-component-combobox__actions,
.search-filter-component-combobox--mode-single .search-filter-component-combobox__actions.search-filter-component-combobox__actions--empty {
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  display: inline-flex;
  min-width: 0;
  box-sizing: content-box;
  padding: 0;
}*/
.search-filter-component-combobox__actions,
.search-filter-component-combobox--mode-single .search-filter-component-combobox__actions.search-filter-component-combobox__actions--empty {
  width: auto !important;
  min-width: unset !important;
  flex: none !important;
  box-sizing: content-box !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.search-filter-component-combobox__actions-input {
  width: auto !important;
  flex: none !important;
  box-sizing: content-box !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.search-filter-component-combobox__header {
  justify-content: flex-start !important;
  max-height: 20px;
}
/*.search-filter-component-combobox__header {
    max-height: 25px!important;
}*/
.wk_query_results_inner {
  margin: 10px 0 30px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.wk_query_results_inner .button.arrow {
  display: block;
  margin: 5px 0;
}
.wk_query_results_inner #af_card {
  width: calc((100% - 60px) / 4); /* 60px = 3 gaps de 20px entre 4 éléments */
  box-sizing: border-box;
}
.wk_query_filters {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-items: center;
}

input#fl-subscribe-form-email::placeholder {
  color:var(--wk-text-primary)!important;
  opacity: 1!important;
}
.wk_query_filters select,
#wk_search .search-filter-input-button-group select {
  border-right: 10px solid var(--wk-background);
  padding: 3px 0 3px 10px;
  text-transform: lowercase;
}
.wk_query_filters button.active,
.wk_query_filters button:hover,
.wk_query_filters select:hover,
.wk_query_filters select.active,
#wk_search .search-filter-input-button-group button.search-filter-input-button--is-selected,
#wk_search .search-filter-input-button-group button:hover, 
.fl-builder-pagination li a.page-numbers:hover, 
.fl-builder-pagination li span.current {
  background:var(--wk-tertiary);
}
.wk_query_filters select:hover,
.wk_query_filters select.active {
  border-right-color:var(--wk-tertiary);
}
.fl-builder-pagination li span.page-numbers,
.fl-builder-pagination li a.page-numbers {
  border: 0;
  border-radius: 6px;
}
.wk_pagination, 
.wk_pagination_noscript noscript {
  text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.wk_pagination a {
  font-weight: 500;
  text-decoration: underline;
}
.wk_query_results_inner.loading {
  opacity: 0.4;
  pointer-events: none;
  position: relative;
  transition: opacity 0.3s ease;
}

.wk_query_results_inner.loaded {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.wk_query_results_inner .af_card-placeholder {
  visibility: hidden;
  pointer-events: none;
  flex: 0 0 calc((100% - 60px) / 3);
}

/* Effet spinner implicite avec un pseudo-élément */
.wk_query_results_inner.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 4px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: wkSpin 0.7s linear infinite;
  z-index: 10;
}

@keyframes wkSpin {
  to { transform: rotate(360deg); }
}

#wk_search .search-filter-input-text {
  border-radius:15px;
  padding:10px;
  background:transparent;
  border:1px solid var(--wk-text-primary);
  width:600px!important;
  margin:0 auto;
  flex-direction:row-reverse;
  padding-left:20px;
  font-size: 14px;
}
body.search #wk_search .search-filter-input-text {
  height: 55px;
}
#wk_search .search-filter-input-text input {
  text-align:left;
}
#wk_search .search-filter-input-text svg.search-filter-icon__svg {
  width:25px;
  height:25px;
  fill:var(--wk-text-primary);
}
.wk_query_filters button,
.wk_query_filters select,
#wk_search .search-filter-input-button-group button,
#wk_search .search-filter-input-text input::placeholder,
#wk_search .search-filter-style--choice-select {
  background:transparent;
  border:0;
  color:var(--wk-text-primary)!important;
  box-shadow:none;
  line-height:1rem;
  font-weight:500;
  border-radius:8px;
  padding:8px;
  margin: 0;
  opacity: 1;
  cursor: pointer;
  font-size: 14px;
}
.wk_query_filters select,
#wk_search .search-filter-style--choice-select {
  padding:4px;
}
#wk_search .search-filter-base {
  --search-filter-input-scale: 0!important;
  --search-filter-scale-base: 14px;
  padding: 0;
  font-size: 14px!important;
  font-weight: 500;
}
.search-filter-component-combobox .search-filter-component-combobox__selection, 
.search-filter-component-combobox input[type=text] {
  line-height: 20px;
}
#wk_search .search-filter-component-combobox {
  border:0;
  background: transparent;
}
#wk_search .search-filter-field--id-5 {
  /*width: 80px;*/
  padding-right: 5px;
}
/*#wk_search .search-filter-field--id-6 {
  width: 140px;
}
#wk_search .search-filter-field--id-7 {
  width: 150px;
}*/
.search-filter-component-combobox-base__listbox > li {
  font-size: 14px;
  padding:0.4rem 0.5rem;
  cursor:pointer;
}
.search-filter-component-combobox-base__listbox > li:hover,
.search-filter-component-combobox-base__listbox-option--selected {
  background: var(--wk-background)!important;
  color: var(--wk-text-primary);
}
.search-filter-component-combobox-base__listbox {
  background: white!important;
  min-width: 200px!important;
  border-radius: 10px!important;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
  padding: 10px;
}
.search-filter-component-combobox-base__listbox::-webkit-scrollbar {
  width: 12px;
}
.search-filter-component-combobox-base__listbox::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 15px;
  margin: 3px;
}
.search-filter-component-combobox-base__listbox::-webkit-scrollbar-thumb {
  background: #b3aeaa;
  border-radius: 20px;
  border: 3px solid transparent;
  background-clip: content-box;
}
#wk_search .search-filter-component-combobox__listbox-toggle svg {
  width:20px;
  height:20px;
  fill:var(--wk-text-primary);
}
#wk_search .search-filter-component-combobox__listbox-toggle::before {
  display:none;
}
#wk_search.wk_part_sf_filter,
#wk_search.wk_part_sf_sort,
#wk_search .search-filter-input-button-group {
  display:flex;
  flex-flow:row wrap;
  align-items:center;
  /*gap: 10px;*/
  row-gap: 10px;
  justify-content: flex-start;
}

#wk_search.wk_part_sf_sort {
  justify-content:flex-end;
}
#wk_search .search-filter-component-combobox__listbox-toggle {
  flex-basis: 25px;
}
#wk_search .search-filter-field.wk_expert button[data-option-value="0"] {
  display:none;
}
#wk_search .search-filter-field.wk_expert button[data-option-value="1"] {
  color:transparent!important;
}
#wk_search .search-filter-field.wk_expert button[data-option-value="1"]:before {
  content:"Experts";
  position:relative;
  display:block;
  color:var(--wk-text-primary);
  margin-right:-15px;
}
.search-filter-component-combobox .search-filter-component-combobox__clear-selection svg,
.search-filter-icon--destructive .search-filter-icon__svg {
  width: 18px;
}
/* ====================== */
/* → FORMS                */
/* ====================== */
#wk_modal_alertes .gfield--type-choice .gfield_checkbox {
  flex-flow: row wrap;
}
#wk_modal_alertes .gfield--type-choice .gfield_checkbox .gchoice {
  width: 48%;
}
.gform_wrapper .gform_fields {
  row-gap: 20px!important;
}
.gform_wrapper p.gform_required_legend {
  display: none;
}
.gform_wrapper h2 {
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: 0px;
}
/* ====================== */
/* → DEFINITIONS         */
/* ====================== */
.tippy-box[data-theme~="light-border"] {
  color: var(--wk-text-primary);
  font-size: 14px;
  line-height: 1.4;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.2);
  padding: 1.5rem 2rem 2rem;
  text-align: left;
  border: 0;
  font-style: normal;
  font-weight: initial;
}
.tippy-arrow {
  color: white;
}
.tippy-content > strong:first-child {
  font-size: 130%;
}
a.wk_keyword,
.wk_definition_tooltip { 
  color: var(--wk-text-primary);
  background: linear-gradient(to top, transparent 6%, var(--wk-highlight) 6%, var(--wk-highlight) 40%, transparent 40%);
  padding-bottom: 2px;
  transition: all 200ms ease-in-out;
}
.wk_definition_tooltip {
  white-space: nowrap;
}
a.wk_keyword:hover,
.wk_definition_tooltip:hover {
  background: linear-gradient(to top, transparent 2%, var(--wk-surface-purple) 2%, var(--wk-surface-purple) 100%, transparent 100%);
}
.wk_definition_tooltip {
  cursor: help;
  font-style: normal ;
}
.wk_tooltip_intro {
  margin: 10px 0;
}
/* ====================== */
/* → MEDIA SCREEN     */
/* ====================== */

@media screen and (min-width:992px) {
  .single-wk_event #wk_intro h1,
  .single-wk_complement #wk_intro h1 {
    font-size: 4rem;
  }
  .wk-row.archive-dossiers .tangible-dynamic-module #af_card {
    width: calc(25% - 20px);
  }
  #wk_video .swiper #af_card {
    width: 275px;
  }
  #wk_layout_home > section#first > .wk-col.right > div,
  #wk_layout_home > section#third > .wk-col.right .grid > div {
    width: calc(33.33% - 15px);
  }
  #wk_newsletter .pp-heading {
    width: 30%;
  }
  .fl-subscribe-form-inline.fl-subscribe-form-name-hide .fl-form-field {
  width: 350px!important;
  padding-right: 0!important;
  margin: 0;
}
  /*section#notions .swiper {
    margin-left: -20px;
    overflow:visible;
  }*/
  #fl-main-content .pp-accordion-content ul,
  #fl-main-content .pp-infobox-wrap ul,
  #fl-main-content .pp-heading-content ul,
  #wk_page_more ul,
  #wk_menu_off .fl-callout-text ul,
  #wk_menu_off .pp-sub-heading ul,
  #wk_list ul.wk_thematique,
  #wk_menu_off #wk_list ul.wk_menu {
    column-count: 2;
    list-style: none;
    padding: initial;
  }
  #wk_menu_off .fl-callout-text ul li,
  #wk_list ul.wk_thematique li,
  #wk_menu_off .pp-sub-heading ul {
    page-break-inside: avoid;
    break-inside: avoid-column;
  }
  #wk_menu_off #wk_list ul.wk_thematique {
    column-count: 4;
  }

}
@media screen and (max-width:1100px) {
  #wk_header .wk-row:first-child .wk-col.right a:last-child
  {
    display: none;
  }
}
@media screen and (max-width:991px) {
  .wk-row.archive-dossiers .tangible-dynamic-module #af_card {
    width: 100%;
  }
  section#corporate .fl-col-small .pp-heading-content .pp-heading-prefix, 
  section#corporate .fl-col-small .pp-heading-content .pp-heading.pp-left {
    display: inline-block;
  }
  section#corporate .fl-col-small .pp-heading-content .pp-heading-prefix {
    padding-right: 5px;
  }
  section#corporate .pp-video-wrapper {
    border-radius: 15px;
  }
  section#corporate .pp-video-play-icon {
    border-radius: 10px;
  }
  #wk_menu_off #wk_list ul.wk_thematique {
    column-count: 2;
  }
  #wk_layout .row.archive-evenements #af_card {
    width: 100%;
  }
  .col-form .fl-subscribe-form-inline {
    float: left;
  }
  section#notions .swiper {
    overflow: hidden;
  }
  section#notions .swiper-wrapper {
    margin-left: initial;
  }
  #wk_layout_home,
  #wk_layout {
    max-width: 350px;
    margin: 0 auto;
  }
  .wk_query_filters {
    justify-content: flex-start;
  }
  .search-results .fl-post-grid {
    max-width: 660px;
    margin: 0 auto;
  }
  #wk_header .wk-col.right a {
    border-left: 1px solid rgba(251, 243, 236, 0.30);
    font-size: 15px;
    border-radius: 0;
    height: 100%;
  }
  .wk_query_results_inner #af_card {
    width: 100%;
  }
  #wk_layout_home section#first,
  #wk_layout_home section#third,
  .archive.tax-wk_thematique #wk_publications .heading {
    flex-direction: column;
  }
  #wk_layout_home > section#first > .wk-col.left,
  #wk_layout_home > section#third > .wk-col.left {
    width: 100%;
  }
  #wk_layout_home > section > .wk-col.right {
    width: 100%;
  }
  #wk_layout_home > section#third > .wk-col.right {
    width: 100%;
  }
  #wk_layout_home h2 {
    font-size: 24px;
  }
  #wk_header .wk-row:first-child,
  #wk_header .wk-col.left .wk_burger i {
    border-radius: 0!important;
  }
  #wk_header .wk-row:first-child {
    padding: 0;
  }
  #wk_header .wk-row:first-child .wk-col.right a span {
    display: none;
  }
  #wk_header #wk_split nav {
    display: none;
  }
  #wk_header .wk-col.left .wk_burger i {
    font-size: 25px;
    padding: 5px 10px;
    line-height: 55px;
  }
  #wk_header .wk_burger:hover i {
    border-radius: 0;
  }
  .home #wk_header .wk-col.left .logo svg {
    width: 160px;
    margin-top: -4px;
  }
  .home #wk_header .logo h1 {
    left: 18px;
    bottom: 4px;
    font-size: 10px;
  }
  body:not(.home) #wk_header .wk-col.left .logo svg {
    width: 150px;
  }
  #wk_header .btn-wk.wk_thematique,
  .single-wk_definition .capital {
    display: none;
  }
  .single-wk_definition #wk_intro {
    display: flex;
    align-items: flex-start;
    flex-flow: column wrap;
  }
  .wk-row .col-sm-4 {
    width: 100%
  }
  .single .wk_photo {
    height: 300px;
  }
  #wk_search.wk_part_sf_filter, 
  #wk_search.wk_part_sf_sort, 
  #wk_search .search-filter-input-button-group {
    justify-content: center;
 }
 #wk_layout_home > section#first > .wk-col.right > div, 
 #wk_layout_home > section#third > .wk-col.right .grid > div {
    width: 100%;
  }
  #wk_search .wk_expert,
  #wk_search .search-filter-style--choice-select {
    display: none;
  }
  .fl-subscribe-form-inline .fl-form-field {
    padding: 0!important;
  }
  #wk_sidebar #af_card {
    width: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width:768px) {
  .wk_query_results_inner #af_card {
    width: 100%;
  }
  #wk_complement .grid > #af_card:not(:last-child):after {
    bottom: -2%;
  }
  #wk_layout_home,
  .search-results .fl-post-grid {
    max-width: 350px;
    margin: 0 auto;
  }
  #wk_menu_off > .fl-row-content-wrap > .fl-row-content {
    display: flex;
    flex-direction: column-reverse;
  }
  .single .wk_social {
    justify-content: flex-start;
  }
  #wk_newsletter .pp-heading-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  #wk_newsletter .fl-module-subscribe-form .fl-module-content {
    margin: 0;
  }
  #wk_menu_off #wk_list ul.wk_thematique {
    column-count: 1;
  }
  #wk_related {
    max-width: 330px;
    margin: 0 auto;
  }
  #wk_sidebar .wk_block.more {
    padding-left: 0;
    padding-right: 0;
  }
  .wk-row .col-sm-4 {
    width: 100%;
  }
  .single .wk_photo {
    height: 200px;
  }
  
  .swiper-slide #af_card {
    width: 100% !important;
    min-width: 0 !important;
  }
  .fl-subscribe-form-inline {
    max-width: 100%;
  }
  #wk_header .wk-col.left {
    gap: 20px;
  }
  #wk_header .svg.logo {
    transform: scale(0.9);
  }
}
@media screen and (max-width:400px) {
  #wk_header .wk-col.right nav.menu .alerte {
    display: none;
  }
  #wk_header .svg.logo {
    transform: scale(0.8);
  }
  #wk_header .wk-col.left .wk_burger i {
   line-height: 45px;
  }
}
@media print {
  header,footer,aside,
  body.single-post #wk_related,
  body.single-post .wk_photo,
  body.single-post .wk_social {
    display: none;
  }
  a[href]:after { content: none !important; }
  img[src]:after { content: none !important; }
}