/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

body:not(.admin-bar) {
  --wp-admin--admin-bar--height: 0px;
}

.role-administrator .block-dev {
	display: none;
}

a.brxe-text-basic:hover {text-decoration: underline;}

:where(.brxe-image):before {
    z-index: 1;
}

.brx-animated .perfmatters-lazy.pmloaded, .brx-animated .perfmatters-lazy.pmloaded>img, .brx-animated .perfmatters-lazy>img.pmloaded, .brx-animated .perfmatters-lazy[data-ll-status=entered] {
    animation: inherit !important;
}

@keyframes fade-in {0% {opacity: 0;}100% {opacity: 1;}}
@keyframes move {0% {background-position: 0 0;}100% {background-position: 50px 50px;}}

.brxe-text h2,
.brxe-text h3,
.brxe-text h4 {
	margin-bottom: 15px;
}

.splide__pagination {
    width: 100%;
}


.maj {
	text-transform: none;
}

.maj1 {
    display: inline-block;
}
.maj1:first-letter {
    text-transform: uppercase !important;
}

main .bloc-title {
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
  header.scrolling + main .bloc-title {
 	height: 0;
	max-height: 0;
	min-height: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none; /* Empêche les clics */
	padding-bottom: 0 !important;
	}
}

/** RIBBON **/

.ribbon {
  --f: 6px;
  position: absolute;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  top: 0;
  color: #fff;
  padding: .1em 1.8em;
  background: var(--c,var(--primary));
  border-bottom :var(--f) solid #0007;
  clip-path: polygon(
    100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
	z-index: 10;
}

.ribbon.right {
  right: 0;
  transform: translate(calc((1 - cos(45deg))*100%), -100%) rotate(45deg);
  transform-origin: 0% 100%;
}


/* a fix for firefox that show some strange lines*/
@supports (-moz-appearance:none) {
  .ribbon {
    background:
      linear-gradient(to top,#0000 1px,#0005 0 var(--f),#0000 0) border-box,
      linear-gradient(var(--c,#45ADA8) 0 0) 50%/
       calc(100% - 2px) calc(100% - 2px) no-repeat border-box;
    border-bottom-color: #0000;
   }
}

/**** HEADER ****/


header nav ul.bricks-nav-menu > li.current-menu-item:not(.menu-item-has-children) a::after,
header nav ul.bricks-nav-menu>li:hover:not(.menu-item-has-children) a::after{content:"";width:100%;height:3px;background-color:var(--primary);position:absolute;bottom:-7px;animation:fade-in .3s ease}
header div.brx-offcanvas-inner nav ul.bricks-nav-menu>li a::after{display: none;}


header nav ul.bricks-nav-menu li a{position:relative}
header nav li:hover .brx-submenu-toggle button{transform:rotate(180deg)}
header nav ul.bricks-nav-menu > li.menu-item-has-children ul.sub-menu a:before {
	content: "-";
	margin-right: 10px;
	transition: margin 0.3s ease;
}

header nav ul.bricks-nav-menu > li.menu-item-has-children ul.sub-menu a:hover:before {
	margin-right: 15px;
}

header nav ul.bricks-nav-menu > li.menu-item-has-children ul.sub-menu li {
    padding: 15px 10px;
}
header nav ul.bricks-nav-menu > li.menu-item-has-children ul.sub-menu a {
	width: fit-content;
}



/** FLUX LINKEDIN **/

/*
div[class*="Main__Inner"] {
	max-width: 100% !important;
}

div.es-masonry-layout div[class*="CardContainer-sc"] {
	background-color: var(--blanc) !important;
	box-shadow: 2px 2px 15px 5px rgba(0, 0, 0, 0.07);
}
*/
div[class*="Main__Inner"] div[class*="LoadMoreButton__Container"]  {
	display: none !important;
}

div[class*="WidgetBackground__Content"] > a {
	clip-path: inset(100%) !important;
}



/** FACET **/


.wp-grid-builder:not(.wpgb-template), .wpgb-facet {
    opacity: 1 !important;
}


.wpgb-facet.wpgb-loading {
	position: relative;
}


.wpgb-facet.wpgb-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #e0e0e0 25%,
    #f0f0f0 50%,
    #e0e0e0 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  z-index: 2;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}



.custom-loader {
    position: fixed;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(255 255 255 / 90%);
    z-index: 99999999;
}

.wpgb-enabled.wpgb-loading + .custom-loader {
	display: flex;
}

.wpgb-enabled.wpgb-loading + .custom-loader::after {
    display: block;
}

.custom-loader::after {
    height: 80px;
    width: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    content: "";
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
    background-image: url(/wp-content/uploads/loading-gif.gif) !important;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    line-height: 1;
    text-align: center;
}




.wpgb-sort-facet select.wpgb-sort.wpgb-select {
    color: var(--base) !important;
    font-size: 14px !important;
    background-color: var(--blanc) !important;
}

.wpgb-sort-facet select.wpgb-select+.wpgb-select-controls .wpgb-select-separator {
    display: none !important;
}

span.wpgb-result-count {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

:root {
  --wpgb-accent-scheme-1: var(--primary) !important;
}


ul.wpgb-hierarchical-list {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}


ul.wpgb-hierarchical-list span.wpgb-checkbox-label {
    font-size: 14px !important;
}

ul.wpgb-hierarchical-list li {
	margin: 0 !important;
}

ul.wpgb-hierarchical-list span.wpgb-checkbox-control {
    width: 15px !important;
    height: 15px !important;
}

ul.wpgb-hierarchical-list .wpgb-checkbox {
    align-items: center;
	border: 1px solid var(--secondary-7);
    padding: 3px 7px !important;
}



.wpgb-facet-3 .wpgb-facet-title:before,
.wpgb-facet-1 .wpgb-facet-title:before,
.wpgb-facet-6 .wpgb-facet-title:before,
.wpgb-facet-8 .wpgb-facet-title:before,
.wpgb-facet-5 .wpgb-facet-title:before,
.wpgb-facet-7 .wpgb-facet-title:before{
display: inline-block;
content: '';
width: 13px;
height: 13px;
margin-right: 5px;
background-color: currentcolor;
mask-repeat: no-repeat !important;
-wekbit-mask-repeat: no-repeat !important;
}

.wpgb-facet-5 .wpgb-facet-title:before {
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16L64 464zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0zm56 256c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z'/%3E%3C/svg%3E");
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!--!Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16L64 464zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0zm56 256c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z'/%3E%3C/svg%3E");
}



.wpgb-facet-3 .wpgb-facet-title:before {
-webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"%3E%3C!--!Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d="M16 144a144 144 0 1 1 288 0A144 144 0 1 1 16 144zM160 80c8.8 0 16-7.2 16-16s-7.2-16-16-16c-53 0-96 43-96 96c0 8.8 7.2 16 16 16s16-7.2 16-16c0-35.3 28.7-64 64-64zM128 480l0-162.9c10.4 1.9 21.1 2.9 32 2.9s21.6-1 32-2.9L192 480c0 17.7-14.3 32-32 32s-32-14.3-32-32z"/%3E%3C/svg%3E');
mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"%3E%3C!--!Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d="M16 144a144 144 0 1 1 288 0A144 144 0 1 1 16 144zM160 80c8.8 0 16-7.2 16-16s-7.2-16-16-16c-53 0-96 43-96 96c0 8.8 7.2 16 16 16s16-7.2 16-16c0-35.3 28.7-64 64-64zM128 480l0-162.9c10.4 1.9 21.1 2.9 32 2.9s21.6-1 32-2.9L192 480c0 17.7-14.3 32-32 32s-32-14.3-32-32z"/%3E%3C/svg%3E');
}

.wpgb-facet-1 .wpgb-facet-title:before,
.wpgb-facet-6 .wpgb-facet-title:before {
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M26,12.8h2.2V10.6H26ZM26,19h2.2V16.8H26Zm0,6.2h2.2V23H26Zm-2,6V29h8V7H17.4v4.2L15.2,9.6V4.8h19V31.2Zm-22.2,0V16.8l10-7.2,10,7.2V31.2h-8V23.8h-4v7.4ZM4,29H7.6V21.6H16V29h3.6V18l-7.8-5.6L4,18Zm12,0V21.6h0Z'%3E%3C/path%3E%3C/svg%3E");
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M26,12.8h2.2V10.6H26ZM26,19h2.2V16.8H26Zm0,6.2h2.2V23H26Zm-2,6V29h8V7H17.4v4.2L15.2,9.6V4.8h19V31.2Zm-22.2,0V16.8l10-7.2,10,7.2V31.2h-8V23.8h-4v7.4ZM4,29H7.6V21.6H16V29h3.6V18l-7.8-5.6L4,18Zm12,0V21.6h0Z'%3E%3C/path%3E%3C/svg%3E");
}

.wpgb-facet-8 .wpgb-facet-title:before {
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 24 24'%3E%3Cpath fill='currentColor' d='m2.08 2l6.482 8.101A2 2 0 0 1 9 11.351V18l2-1.5v-5.15a2 2 0 0 1 .438-1.249L17.92 2H2.081zm0-2h15.84a2 2 0 0 1 1.561 3.25L13 11.35v5.15a2 2 0 0 1-.8 1.6l-2 1.5A2 2 0 0 1 7 18v-6.65L.519 3.25A2 2 0 0 1 2.08 0z'/%3E%3C/svg%3E");
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 24 24'%3E%3Cpath fill='currentColor' d='m2.08 2l6.482 8.101A2 2 0 0 1 9 11.351V18l2-1.5v-5.15a2 2 0 0 1 .438-1.249L17.92 2H2.081zm0-2h15.84a2 2 0 0 1 1.561 3.25L13 11.35v5.15a2 2 0 0 1-.8 1.6l-2 1.5A2 2 0 0 1 7 18v-6.65L.519 3.25A2 2 0 0 1 2.08 0z'/%3E%3C/svg%3E");

}

.wpgb-facet-7 .wpgb-facet-title:before {
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='32' d='M403.29 32H280.36a14.46 14.46 0 0 0-10.2 4.2L24.4 281.9a28.85 28.85 0 0 0 0 40.7l117 117a28.86 28.86 0 0 0 40.71 0L427.8 194a14.46 14.46 0 0 0 4.2-10.2v-123A28.66 28.66 0 0 0 403.29 32Z'/%3E%3Cpath fill='currentColor' d='M352 144a32 32 0 1 1 32-32a32 32 0 0 1-32 32Z'/%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='32' d='m230 480l262-262a13.81 13.81 0 0 0 4-10V80'/%3E%3C/svg%3E");
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='32' d='M403.29 32H280.36a14.46 14.46 0 0 0-10.2 4.2L24.4 281.9a28.85 28.85 0 0 0 0 40.7l117 117a28.86 28.86 0 0 0 40.71 0L427.8 194a14.46 14.46 0 0 0 4.2-10.2v-123A28.66 28.66 0 0 0 403.29 32Z'/%3E%3Cpath fill='currentColor' d='M352 144a32 32 0 1 1 32-32a32 32 0 0 1-32 32Z'/%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='32' d='m230 480l262-262a13.81 13.81 0 0 0 4-10V80'/%3E%3C/svg%3E");

}




.brxe-wpgb-facet {
    width: 100% !important;
}

span.wpgb-facet-title {
    color: var(--secondary-4);
    font-weight: 700;
    font-size: 13px !important;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-bottom: 5px !important;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}



.wpgb-facet>fieldset:last-child {
    margin-bottom: 0 !important;
}

.wpgb-select {
	border-radius: 0 !important;
	border-width: 1px !important;
}

.wpgb-facet .wpgb-apply, .wpgb-facet .wpgb-load-more {
    background-color: var(--primary) !important;
	padding: 10px 20px !important;
	font-weight: 500 !important;
    font-size: 0.9rem !important;
	border-radius: 0 !important;
	margin: 0 !important;
}

.wpgb-facet .wpgb-apply:hover,
.wpgb-facet .wpgb-load-more:hover {
    background-color: var(--primary-4) !important;
}

.div-info-btn .wpgb-button {
    display: flex;
    margin-left: auto !important;	
}


.wpgb-selection-facet .wpgb-inline-list li {
    margin: 0 !important;
    white-space: nowrap;
}

.wpgb-selection-facet ul.wpgb-inline-list {
    gap: 10px;
}

.wpgb-selection-facet .wpgb-button {
    background-color: var(--blanc) !important;
    border-radius: 0 !important;
    border-width: 1px !important;
    color: var(--primary) !important;
	height: 30px !important;
}

.wpgb-selection-facet .wpgb-button-control:after,
.wpgb-selection-facet .wpgb-button-control:before {
	background: var(--primary) !important;
}

.wpgb-selection-facet span.wpgb-button-label {
    line-height: 1 !important;
    font-size: 14px !important;
}