/**
* Theme Name: ZEDI
* Description: This is a child theme
* Author: <a href="https://ozalid-design.ch">OZALID</a>
* Template: generatepress
* Version: 1.0.0
*/

/* SOMMAIRES 
=======================
00. VARIABLES
01. RESET & BASE
02. TYPOGRAPHIE
03. UTILITAIRES
04. LOADER
05. GUTENBERG / LAYOUT
06. HEADER
   06.1 Branding
   06.2 Navigation
   06.3 Toggle
   06.4 Menu Overlay
   06.5 Featured Header
07. FOOTER
08. CONTENT
09. FLOATING BUTTON
10. MODAL
11. FORMULAIRE
12. SLIDERS
13. DARK MODE
14. REVEAL ANIMATIONS
15. RESPONSIVE GLOBAL
=======================
*/

/* ==========================================================
   00. VARIABLES
========================================================== */

:root {
    --large-gap: clamp(10px, 4vw, 80px);
    --medium-gap: clamp(10px, 4vw, 40px);
    --small-gap: clamp(5px, 2vw, 20px);
    --nav-height: calc(var(--medium-gap) * 2 + 40px);
    --ratio: 1.3;
    --p: 1rem;
    --h6: clamp(.8rem, .9vw, 5rem);
    --h5: clamp(var(--h6) * var(--ratio), 1vw, 5rem);
    --h4: clamp(var(--h5) * var(--ratio), 1.2rem + 1vw, 5rem);
    --h3: clamp(var(--h4) * var(--ratio), 1.2rem + 2vw, 6rem);
    --h2: clamp(var(--h3) * var(--ratio), 1.2rem + 4vw, 7rem);
    --h1: clamp(var(--h2) * var(--ratio), 1.2rem + 9vw, 8rem);
    --wp--preset--font-size--small: calc(var(--p) / var(--ratio));
    --wp--preset--font-size--medium: calc(var(--h5) / var(--ratio));
    --wp--preset--font-size--large: calc(var(--h4) / var(--ratio));
    --wp--preset--font-size--x-large: calc(var(--h3) / var(--ratio));
}
.page-template-dark{
	--base-3: var(--dbase-3) !important;
    --base-2: var(--dbase-2) !important;
    --base: var(--dbase) !important;
    --contrast: var(--dcontrast) !important;
    --contrast-2: var(--dcontrast-2) !important;
    --contrast-3: var(--dcontrast-3) !important;
}

/* ==========================================================
   01. RESET & BASE
========================================================== */

* {
  box-sizing: border-box;
  outline: 0;
  caret-color: transparent;
}

html {
  font-size: 85%;
}

html,
body {
  max-width: 100%; 
  overflow-x: clip !important;
  scrollbar-width: none; 
  -ms-overflow-style: none; 
}

body {
  font-size: var(--p);
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.4pt;
}

::-moz-selection,
::selection {
  color: #fff;
  background: var(--accent);
}

input,
textarea {
  caret-color: var(--accent);
}


/* ==========================================================
   02. TYPOGRAPHIE
========================================================== */
h1, .h1{font-size: var(--h1);}
h2, .h2{font-size: var(--h2);;}
h3, .h3{font-size: var(--h3);}
h4, .h4{font-size: var(--h4);}
h5, .h5{font-size: var(--h5);}
h6, .h6{font-size: var(--h6);}

h1, h2{
	font-weight:bold;
}

h1, h2, h3, h4, h5, h6 {
	margin-bottom:0;
	text-transform:uppercase;
	line-height:1;
}

h1:last-of-type, h2:last-of-type, h3:last-of-type,
h4:last-of-type, h5:last-of-type, h6:last-of-type {
    margin-bottom: 2%;
}

p {
  text-align: justify;
  hyphens: auto;
  letter-spacing: .5px;
}

/*h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, p:last-child, .wp-block-columns:last-child{margin:0;}*/

h1.has-x-large-font-size{font-size: calc(var(--h1) + var(--wp--preset--font-size--x-large)) !important;}
h2.has-x-large-font-size{font-size: calc(var(--h2) + var(--wp--preset--font-size--x-large)) !important;}
h3.has-x-large-font-size{font-size: calc(var(--h3) + var(--wp--preset--font-size--x-large)) !important;}
h4.has-x-large-font-size{font-size: calc(var(--h4) + var(--wp--preset--font-size--x-large)) !important;}
h5.has-x-large-font-size{font-size: calc(var(--h5) + var(--wp--preset--font-size--x-large)) !important;}
h6.has-x-large-font-size{font-size: calc(var(--h6) + var(--wp--preset--font-size--x-large)) !important;}
p.has-x-large-font-size{font-size: var(--h3) !important; text-align:left;}

h1.has-large-font-size{font-size: calc(var(--h1) + var(--wp--preset--font-size--large)) !important;}
h2.has-large-font-size{font-size: calc(var(--h2) + var(--wp--preset--font-size--large)) !important;}
h3.has-large-font-size{font-size: calc(var(--h3) + var(--wp--preset--font-size--large)) !important;}
h4.has-large-font-size{font-size: calc(var(--h4) + var(--wp--preset--font-size--large)) !important;}
h5.has-large-font-size{font-size: calc(var(--h5) + var(--wp--preset--font-size--large)) !important;}
h6.has-large-font-size{font-size: calc(var(--h6) + var(--wp--preset--font-size--large)) !important;}
p.has-large-font-size{font-size: var(--h4) !important; text-align:left;}

h1.has-medium-font-size{font-size: calc(var(--h1) + var(--wp--preset--font-size--medium)) !important;}
h2.has-medium-font-size{font-size: calc(var(--h2) + var(--wp--preset--font-size--medium)) !important;}
h3.has-medium-font-size{font-size: calc(var(--h3) + var(--wp--preset--font-size--medium)) !important;}
h4.has-medium-font-size{font-size: calc(var(--h4) + var(--wp--preset--font-size--medium)) !important;}
h5.has-medium-font-size{font-size: calc(var(--h5) + var(--wp--preset--font-size--medium)) !important;}
h6.has-medium-font-size{font-size: calc(var(--h6) + var(--wp--preset--font-size--medium)) !important;}
p.has-medium-font-size{font-size: var(--h5) !important; text-align:left;}

h1.has-small-font-size{font-size: calc(var(--h1) - var(--wp--preset--font-size--small)) !important;}
h2.has-small-font-size{font-size: calc(var(--h2) - var(--wp--preset--font-size--small)) !important;}
h3.has-small-font-size{font-size: calc(var(--h3) - var(--wp--preset--font-size--small)) !important;}
h4.has-small-font-size{font-size: calc(var(--h4) - var(--wp--preset--font-size--small)) !important;}
h5.has-small-font-size{font-size: calc(var(--h5) - var(--wp--preset--font-size--small)) !important;}
h6.has-small-font-size{font-size: calc(var(--h6) - var(--wp--preset--font-size--small)) !important;}

a {
  text-decoration: none !important;
}

img{display: block;}

/* ==========================================================
   03. UTILITAIRES
========================================================== */
hr {
    height: 1px;
    border: none !important;
	margin: 0;
}

footer hr {
	margin:var(--small-gap) 0;
}
.uppercase { text-transform: uppercase; }
.hide { display: none; }
.hide-mobile { display: block; }
.hide-screen { display: none !important; }
.center-content { justify-content: center; }
.clearBoth { clear: both; }

.back-blur {
	background: rgb(from var(--base-3) r g b / 90%);
	-webkit-backdrop-filter: blur(10px);
  	backdrop-filter: blur(10px);
}

.is-style-sticky {
  position: sticky;
  top: 0;
  height: fit-content;
}

.ratio1{aspect-ratio:1/1}

section{
	position: relative;
	background-size: 100% 50vh;
	background-repeat: repeat;
}

/*table*/
table {
    border: none;
    margin: 0;
    border-bottom: thin solid var(--accent);
}

td, th {
    border: none !important;
    border-top: thin solid var(--accent) !important;
  	letter-spacing: 0;    
    width: 50%;
    padding: var(--small-gap) var(--medium-gap) !important;;
    vertical-align: top;
    text-transform: uppercase;
}

.wp-block-table thead {
    border-bottom: thin solid var(--accent) !important;
}

table p{
	margin: 0;
	text-align: left;
}

/*link*/
.wp-block-column a, .wp-block-jetpack-layout-grid a, footer .copyright a, .footer-widgets-container a, .gb-container a {
  position: relative;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.wp-block-column a::after, .wp-block-jetpack-layout-grid a::after, footer .copyright a::after, .footer-widgets-container a::after, .gb-container a::after {
  content: '';
  width: 100%;
  border-bottom:1px solid rgba(128,128,128,.1);
  position: absolute;
  bottom: 0;
  left: 0;
}
.wp-block-column a::before, .wp-block-jetpack-layout-grid a::before, footer .copyright a::before, .footer-widgets-container a::before, .gb-container a::before {
  content: '';
  width: 0;
  border-bottom:1px solid;
  position: absolute;
  bottom: 0;
  left: 100%;
  z-index: 2;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.wp-block-kadence-tabs .kt-tab-title-active a:before, .wp-block-column a:hover::before, .wp-block-jetpack-layout-grid a:hover::before, footer .copyright a:hover::before, .footer-widgets-container a:hover::before, .gb-container a:hover::before {
  width: 100%;
  left: 0;
  -webkit-transition: width 0.3s ease;
  -moz-transition: width 0.3s ease;
  -ms-transition: width 0.3s ease;
  -o-transition: width 0.3s ease;
  transition: width 0.3s ease;
}

.post-content-text a::after, .wp-block-column a::after, a.link::after, .wcs-timetable--1 .wcs-filters__filter-wrapper > span:after {
  content: '';
  width: 100%;
  border-bottom:1px solid rgba(128,128,128,.1);
  position: absolute;
  bottom: 0px;
  left: 0;
}
.post-content-text a::before, .wp-block-column a::before, a.link::before, .wcs-timetable--1 .wcs-filters__filter-wrapper > span:not(.wcs-switcher__switch):before {
  content: '';
  width: 0;
  border-bottom:1px solid;
  position: absolute;
  bottom:0;
  left: 100%;
  z-index: 2;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.post-content-text a:hover::before, .wp-block-column a:hover::before, a.link:hover::before, .wcs-timetable--1 .wcs-filters__filter-wrapper span:hover::before  {
  width: 100%;
  left: 0;
  border-color:var(--accent);
  -webkit-transition: width 0.3s ease;
  -moz-transition: width 0.3s ease;
  -ms-transition: width 0.3s ease;
  -o-transition: width 0.3s ease;
  transition: width 0.3s ease;
}

nav.wp-block-navigation a:hover {
    color: var(--accent) !important;
}

a.ozlink_group:before, a.ozlink_group:after{content:none;}

.ozlink {
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    column-gap: 2rem
}

.ozlink a {
    display: inline-block
}

.ozlink a:after {
    border-bottom: thin solid
}

.ozlink a:before {
    border-bottom: 2px solid;
    bottom: 0
}

.ozlink .ozarrow {
    width: 20px;
    position: relative;
    transition: width 1s ease
}

.ozlink .ozarrow:after {
    content: "";
    position: absolute;
    width: 100%;
    top: 50%;
    border-bottom: thin solid
}

.ozlink .ozarrow:before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    top: 50%;
    border-bottom: thin solid;
    border-right: thin solid;
    right: -4px;
    transform: rotate(-45deg) translateY(-6px);
}

.ozlink:hover .ozarrow {
    width: var(--medium-gap)
}

/*end link*/

a.site-branding{
	display:block;
}

.fill-gold{
	fill:var(--accent);
}
.fill-current{
	fill:currentcolor;
}

button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.wp-block-button__link:not(.has-background){
	border-radius:0;
	border:2px solid var(--accent);
	text-transform:uppercase;
	font-weight:bold;
	padding:calc(.4em - 2px) calc(1em - 2px)
}

.search-filter-input-button:focus, .search-filter-input-button:active{
	outline:none !important;
}

/* ==========================================================
   04. LOADER
========================================================== */


/* ===============================
   LOADER OVERLAY
================================ */

#oz-loader {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--contrast);

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column-reverse;
  text-align: center;

  z-index: 999999999;

  -webkit-clip-path: inset(0% 0% 0% 0%);
  clip-path: inset(0% 0% 0% 0%);

  transition:
    opacity 1s ease-in,
    clip-path 1s cubic-bezier(0.6, 0, 0.3, 1),
    transform 1s cubic-bezier(0.6, 0, 0.3, 1),
    -webkit-clip-path 1s cubic-bezier(0.6, 0, 0.3, 1);
}

.is-loaded #oz-loader {
  -webkit-clip-path: inset(100% 0% 0% 0%);
  clip-path: inset(100% 0% 0% 0%);
  pointer-events: none;
}


/* ===============================
   LOADER CONTENT
================================ */

.oz-loader-content {
  position: relative;
  opacity:0;
  transition: opacity .5s ease-in;
}

/* ===============================
   IN PROGRESS STATE
================================ */

.inprogress .oz-loader-content {
  opacity: 1;
}

/* ==========================================================
   05. GUTENBERG / LAYOUT
========================================================== */

.wp-block-group {
    z-index: 1;
    position: relative;
	width:100%;
}
.site-main .wp-block-group__inner-container{
	padding:0;
}

body .is-layout-grid {
    gap: 0;
}

body .is-layout-grid .is-layout-grid {
	grid-auto-rows: minmax(50vh, auto);
}

body .is-layout-grid .is-layout-grid .is-layout-grid {
	grid-auto-rows: minmax(25vh, auto);
}

.flex-group.half-up,
.flex-group.half-center,
.flex-group.half-down,
.flex-group.full-up,
.flex-group.full-center,
.flex-group.full-down {
  display: flex;
  justify-content: space-between;
  height: 100%;
}

.flex-group.half-up,
.flex-group.half-center,
.flex-group.half-down{
	min-height:50vh !important
}

.flex-group.full-up,
.flex-group.full-center,
.flex-group.full-down{
	min-height:100vh !important
}

.flex-group.half-center,
.flex-group.full-center{
	align-items: center;
}

.flex-group.half-down,
.flex-group.full-down{
	align-items: flex-end;
}

.half-height{
	min-height: 50vh !important
}

.full-height{
	min-height:100vh !important
}

:where(.wp-block-columns.is-layout-flex){
	gap:var(--large-gap);
}

/* ==========================================================
   06. HEADER
========================================================== */
.main-navigation {
	position:absolute;
    z-index: 10;
    width: 100%;
	background-color: rgb(from var(--base-3) r g b / 85%);
}

.home .main-navigation {
	background-color:transparent;
}
.inside-header {
    padding: 0;
}

#header-gradient{
    position: fixed;
    width: 100%;
    height: var(--nav-height);
    background: linear-gradient(0deg, rgb(from var(--base-3) r g b / 0%) 0%, rgb(from var(--base-3) r g b / 50%) 100%), radial-gradient(  ellipse 120% 100% at center -30%,  var(--base-3) 0%,  rgb(from var(--base-3) r g b / 0%) 100%);
	pointer-events:none;
	z-index:2;
	top:0;
	opacity:.9;
}
.home #header-gradient{
	height:50vh;
	opacity:.7;
}

#header-blur {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 3;
    pointer-events: none
}

#header-blur>div {
    position: absolute;
    inset: 0;
}

#header-blur div:nth-child(1) {
    backdrop-filter: blur(.5px);
    -webkit-backdrop-filter: blur(.5px);
    -webkit-mask: linear-gradient(to bottom,#000 0%,#000 55%,transparent 100%);
    mask: linear-gradient(to bottom,#000 0%,#000 55%,transparent 100%)
}

#header-blur div:nth-child(2) {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    -webkit-mask: linear-gradient(to bottom,#000 0%,#000 44%,transparent 82%);
    mask: linear-gradient(to bottom,#000 0%,#000 44%,transparent 82%)
}

#header-blur div:nth-child(3) {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    -webkit-mask: linear-gradient(to bottom,#000 0%,#000 34%,transparent 66%);
    mask: linear-gradient(to bottom,#000 0%,#000 34%,transparent 66%)
}

#header-blur div:nth-child(4) {
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
    -webkit-mask: linear-gradient(to bottom,#000 0%,#000 25%,transparent 52%);
    mask: linear-gradient(to bottom,#000 0%,#000 25%,transparent 52%)
}

#header-blur div:nth-child(5) {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    -webkit-mask: linear-gradient(to bottom,#000 0%,#000 16%,transparent 40%);
    mask: linear-gradient(to bottom,#000 0%,#000 16%,transparent 40%)
}

#header-blur div:nth-child(6) {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-mask: linear-gradient(to bottom,#000 0%,#000 8%,transparent 28%);
    mask: linear-gradient(to bottom,#000 0%,#000 8%,transparent 28%)
}

/* ==================================================
   06.1 LOGO
================================================== */
.navigation-branding{
	position:relative;
	transition:all .4s ease !important;
	height: clamp(90px, 10vh, 120px);
	width: clamp(90px, 10vh, 120px);
	overflow:hidden;
    margin: 0;
}

.navigation-branding .header-navigation-logo, 
.navigation-branding .sticky-navigation-logo {
	position:absolute;
	top:0;
	width:100%;
	transition:all .4s ease;
}

.navigation-branding .sticky-navigation-logo {
    opacity: 0;
    transform: translateY(80px);
}

.navigation-branding .sticky-navigation-logo .zedi-logo{
	border: 1.5px solid var(--accent);
    width: 50px;
    height: 50px;
    margin: 10px;
}

.navigation-branding .header-navigation-logo .zedi-logo .line-gold{
	stroke-width:4px;
}

.navigation-branding .sticky-navigation-logo .zedi-logo .line-gold{
	stroke-width:6px;
}

.navigation-branding .zedi-logo, .navigation-branding a {
    height: 100%;
	width:100%;
	display:flex;
	align-items: center;
    justify-content: center;
}


/* ==================================================
   06.2 NAVIGATION
================================================== */

.main-navigation .inside-navigation {
	align-items: stretch;
}

.nav-align-center .inside-navigation {
	justify-content: space-between;
}

.main-nav {
    min-width: 40vw;
    display: flex;
	align-items: stretch;
}

.main-nav.right-align {
	justify-content: flex-end;
}

.main-nav.left-align li{
}
.main-nav.right-align li{
	justify-content: flex-end;
}


.main-navigation li {
    height: 100%;
	display: flex;
	align-items: stretch;
}

.main-navigation li:before, .main-navigation li:after{
    content: "";
    position: absolute;
    width: 1px;
    height: 0px;
    bottom: 0;
    background-color: var(--accent);
    transition: height .3s ease;
    left: 50%;
}

.main-navigation li:before{
	top:0;
}

.main-navigation li:after{
	bottom:0;
}

.main-navigation .main-nav ul li:hover a{
    background: rgb(from var(--base-3) r g b / 30%);
}

.main-navigation li:hover:before, .main-navigation li:hover:after{
    height: 10px;
}

.main-navigation .main-nav ul li a{
	padding: 0 var( --large-gap);
	line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
	transition: all .4s cubic-bezier(0.215, 0.6, 0.355, 1);
}

.main-navigation .main-nav ul li a svg{
	position:absolute;
	top:50%;
	left:50%;
	translate: -50% -50%;
}

.inside-navigation hr{
	position: absolute;
    width: 100%;
    border: none;
    background-color: rgb(from var(--contrast) r g b / 20%) !important;
    bottom: 0;
}

.main-navigation .navigation-background {
    position: absolute;
    width: 100%;
    height: 0;
    background-color: rgb(from var(--base-3) r g b / 80%);
    transition: all .4s cubic-bezier(0.215, 0.6, 0.355, 1);
	backdrop-filter: blur(7px);
}

.main-navigation.toggled .navigation-background {
    height: 100vh !important;
}


/* ==================================================
   06.4 STICKY NAVIGATION
================================================== */

#sticky-navigation .navigation-branding{
	height: 70px;
}

#sticky-navigation .main-nav ul li a{
	padding: var(--small-gap) var( --large-gap);
}

.sticky-enabled .main-navigation.is_stuck{
	box-shadow:none;
}

#sticky-navigation .navigation-branding .sticky-navigation-logo {
    opacity: 1;
    transform: translateY(0px);
}

#sticky-navigation .navigation-branding .header-navigation-logo {
    opacity: 0;
    transform: translateY(-50px);
}

 #sticky-navigation .navigation-background {
    height: 70px;
}

/* ==================================================
   06.4 MOBILE NAVIGATION
================================================== */
@media (max-width: 1024px) {
	#site-navigation .main-nav, 
	#sticky-navigation .main-nav{
		display: none;
	}
	
}

/* ==================================================
   06.5 TOGGLE BUTTON
================================================== */


/* ==========================================================
   07. FOOTER
========================================================== */

footer{
	font-size: clamp(.8rem, 1.5vw, 1rem);
 	background-color:var(--base-3);
	border-top:thin solid var(--accent);
	position:relative;
	z-index:2;
}

footer .copyright p{
	text-wrap:nowrap;
	margin:0;
}

/* ==========================================================
   08. CONTENT
========================================================== */

/* ===============================
   MAIN CONTENT WRAPPER
================================ */
.one-container .site-content {
    padding: var(--large-gap);
	z-index: 1;
    position: relative;
}

#oz-content {
  opacity: 0;
  transition:
    opacity 1s cubic-bezier(0.6, 0, 0.3, 1),
    transform 1s cubic-bezier(0.6, 0, 0.3, 1);
  pointer-events: none;
  display: block;
  position: relative;
  min-height: 100vh;
}

.is-loaded #oz-content {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.zedi-vertical {
    content: "";
    position: fixed;
    top: 0;
    left: 50%;
    margin-left: -4px;
    width: 8px;
    border: 0 !important;
    height: 100%;
    background: repeating-linear-gradient(0deg, var(--accent), var(--accent) 1px, transparent 1px, transparent var(--large-gap));
    z-index: 0;
}

#page{
	position:relative;
	min-height:50vh;
}

.page.page-id-205 #ozgridlines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ===============================
   GALLERY TIRAGES
================================ */
.masonry-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: var(--large-gap);
    margin-bottom: var(--large-gap);
}

.masonry-grid.column-6{
    grid-template-columns: repeat(6, 1fr);
}

.masonry-grid.column-3,
.masonry-grid:has(> :nth-child(3):last-child){
    grid-template-columns: repeat(3, 1fr);
}

.masonry-grid.column-2,
.masonry-grid:has(> :nth-child(2):last-child),
.masonry-grid:has(> :only-child){
    grid-template-columns: repeat(2, 1fr);
}

.masonry-grid > li {
    break-inside: avoid;
    display: flex;
    align-items: center;
}

.masonry-grid > li:nth-child(2n) {
    margin-top: 10vh;
}

/* FILTRES */
fieldset.search-filter-input-group {
    position: absolute;
    top: 0;
    margin-top: 70px;
    border: 1px solid var(--accent);
    min-width: 300px;
    background: var(--base-3);
    padding: var(--small-gap);
	z-index:1;
}
.search-filter-input-checkbox__count {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    font-size: .8rem;
}

.search-filter-label {
    margin: 0 !important;
}

.search-filter-field * {
    font-size: 1rem !important;
    text-transform: uppercase;
}

.search-filter-input-checkbox__control>svg, .search-filter-label__toggle-icon .search-filter-icon__svg {
    fill: var(--accent) !important;
}

.wp-block-lazyblock-compteur-tirages {
    font-size: .8rem;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    color: var(--accent);
    align-items: center;
}

.reset-tirage {
    position: relative;
}

.reset-tirage button {
    border: none;
    width: 100%;
    height: 70px;
}

.search-filter-base {
    height: 100%;
    display: flex;
    justify-content: center;
}

.search-filter-input-group {
  max-height: min(60vh, 400px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scrollbar-width: none; 
  -ms-overflow-style: none; 
}

.search-filter-input-group::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

@media (max-width: 1800px) {
	.masonry-grid {
	    column-count: 2 !important;
	}
}
@media (max-width: 768px) {
	.masonry-grid {
	    column-count: 1 !important;
	}
	
	.masonry-grid > * {
	    break-inside: avoid;
	    margin-bottom: var(--large-gap);
	}
	.search-filter-input-group {
		max-height: calc(100dvh - 160px);
		touch-action: pan-y;
	  }
}

/* ==========================================================
  OEUVRE
========================================================== */
.tirage-template-default .wp-block-post-featured-image :where(img) {
    object-fit: contain !important;
    max-height: calc(100vh - 2 * var(--large-gap));
}

/* ==========================================================
   10. MODAL
========================================================== */

#oz-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10004;
    pointer-events: none;
    opacity: 0;
    display: flex;
    transition: opacity 1s cubic-bezier(0.61, 0.2, 0.08, 0.99);
    align-items: center;
}

#oz-modal.open {
    opacity: 1;
    pointer-events: all;
	-webkit-backdrop-filter: blur(10px);
  	backdrop-filter: blur(10px);
}

body.modal-open {
    overflow: hidden;
}
#oz-modal-content {
    width: 100%;
	height:100%;
}

.oz-modal.open img {
    width: 100% !important;
    height: 100% !important;
    top: 50%;
    left: 0;
}

#ozimage img.transition {
    width: 100vw !important;
    left: 0 !important;
    height: 100vh !important;
    top: 0 !important;
}

#ozimage img {
    object-fit: contain;
    pointer-events: none;
    transition: all 1s cubic-bezier(0.215, 0.6, 0.355, 1);
}

#close-modal {
    position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
    padding: var(--small-gap);
    background: var(--contrast-3);
    display: flex;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

#close-modal svg{
	fill: transparent;
	stroke-width: 1px;
	height: 3rem;
	width: 3rem;
	stroke: var(--contrast);
}

#close-modal:hover {
    background-color: var(--base-3);
}

#close-modal:hover svg {
    stroke: var(--accent);
}

#modal-background {
    position:fixed;
    width:100%;
    height:100%;
    opacity:.95;
    background-color: var(--base);
}
/*splide*/
.splide__track {
    height: 100vh;
}

.splide__list {
    height: 100vh;
}

.splide__arrows {
    position: absolute;
    right: 0;
    bottom: 0;
	display: flex;
    flex-direction: column-reverse;
	z-index: 2;
}

.splide__arrow {
    position: relative !important;
    margin-top:-1px;
    box-sizing: content-box;
	-webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: thin solid var(--contrast-3) !important;
	background-color: var(--contrast-3) !important; 
}

.splide__arrow:focus {
    background: transparent;
}

.splide__arrow:hover{
	background-color:var(--base-3) !important;
}

.splide__arrow:hover svg{
	stroke:var(--contrast-3);
}

.splide__arrow {
    padding: var(--small-gap);
}

.splide__arrow svg {
    stroke: var(--contrast);
}

.splide__slide img {
    filter: contrast(150%);
    transition: filter .9s cubic-bezier(0.6, 0, 0.3, 1), transform 1s cubic-bezier(0.6, 0, 0.3, 1), clip-path 1s cubic-bezier(0, 0, 0, 1), -webkit-clip-path 1s cubic-bezier(0, 0, 0, 1);
    transition: filter .9s cubic-bezier(0.6, 0, 0.3, 1), transform 1s cubic-bezier(0.6, 0, 0.3, 1);

}

.splide__slide.is-active img {
    filter: none;
	-webkit-clip-path:inset(0 0 0 0);
	clip-path:inset(0 0 0 0);
}


.splide__pagination {
    bottom: var(--small-gap) !important;
}


/* ==========================================================
   11. FORMULAIRE
========================================================== */

input,
textarea,
select {
  background: transparent !important;
  transition: all .5s ease !important;
  border-color: rgb(from currentcolor r g b / 30%) !important;
}

input,
select {
  padding-left:0px !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

textarea {
  padding-top:15px !important;
  margin-top:20px;
}

input:focus,
textarea:focus {
  border-color: var(--accent) !important;
  background-color: #fff !important;
  padding-left:15px !important;
}

label{
	padding:0 !important;
}

.kb-adv-form-text-type-input:after {
    content: "";
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--accent);
    bottom: -4px;
}

/* ==========================================================
   12. SLIDER
========================================================== */

.oz-slider{
	position: relative;
	display: flex;
	align-items: center;
	z-index: 0;
    min-height: 90vh;
	touch-action: pan-y;
}

.oz-slider-slides {
    position: absolute;
    left: 0px;
    width: 100%;
    height: 70%;
	background-color:var(--base-3);
	overflow: hidden;
}

.oz-slider-slide{
	position:absolute;
	height:100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.oz-slider-slide > a.oz-slider-url {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.oz-slider-slide.oz-slide_current > a.oz-slider-url {
  pointer-events: auto;
}

.oz-slider-slide .slide-image{
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	position: absolute;
	z-index: 0;
	transform:scale(1.1);
}

/*clip effect*/
.ozclip .oz-slider-slide .slide-image{
	-webkit-clip-path: inset(0% 100% 0% 0%);
    clip-path: inset(0% 100% 0% 0%);
}

/*fade effect*/
.ozfade .oz-slider-slide .slide-image{
	opacity:0;
}

.wp-block-lazyblock-ozslider {
    overflow: hidden;
}

.oz-slide:not(.oz-slide_current):not(.oz-slide_next-right):not(.oz-slide_next-left){
	display: none;
}

.oz-slider:hover .slide-image{
	filter:brightness(1) saturate(1);
}

/*nav*/
.oz-slider-nav {
    z-index: 2
}

.oz-slider-nav .oz-arrow {
    cursor: pointer;
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 25%;
    top: 0;
}

.oz-slider-nav .oz-arrow svg {
    fill: var(--accent);
    width: 15px;
    opacity: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.oz-slider-nav .oz-arrow_prev {
    left: 0;
}

.oz-slider-nav .oz-arrow_prev svg {
    left: min(5vw, 100px);
}

.oz-slider-nav .oz-arrow_next {
    right: 0;
}

.oz-slider-nav .oz-arrow_next svg {
    right: min(5vw, 100px);
}

.oz-slider-nav .disabled {
    pointer-events: none;
}

.oz-slider-nav ul.oz-slider-dots {
    position: absolute;
    bottom: 0px;
    left: 0;
    display: flex;
    flex-direction: row;
    padding: var(--medium-gap);
    margin: 1px;
    z-index: 82;
}

.oz-slider-nav ul.oz-slider-dots li {
    width: var(--medium-gap);
	min-width: 25px;
    height: 2px;
    list-style: none;
    margin-right: 7px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    background-color: var(--contrast);
}

.oz-slider-nav ul.oz-slider-dots li:before {
    content: " ";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: var(--base-3);
    transform: scaleX(0);
    transform-origin: left;
    -webkit-transition: transform .3s cubic-bezier(.17, .27, .25, 1);
    -moz-transition: transform .3s cubic-bezier(.17, .27, .25, 1);
    -o-transition: transform .3s cubic-bezier(.17, .27, .25, 1);
    transition: transform .3s cubic-bezier(.17, .27, .25, 1);
}

.oz-slider-nav ul.oz-slider-dots li:hover:before, ul.oz-slider-dots li.current:before {
    transform: scale(1);
}
.oz-slider-nav ul.oz-slider-dots li:hover,.oz-slider-nav ul.oz-slider-dots li.current{
	-webkit-transition-delay: .2s;
	-moz-transition-delay: .2s;
	-o-transition-delay: .2s;
	transition-delay: .2s;
	background-color: var(--accent);
}

.oz-slide_prev-right .slide-image,
.oz-slide_current .slide-image,
.oz-slide_current-left .slide-image{
	transform:scale(1);
}


/*clip effect*/
.ozclip .oz-slide_current .slide-image,
.ozclip .oz-slide_current-left .slide-image,
.ozclip .oz-slide_current-right .slide-image{
	-webkit-clip-path: inset(0% 0% 0% 0%);	
	clip-path: inset(0% 0% 0% 0%);	
}

.ozclip .oz-slide_next-right .slide-image,
.ozclip .oz-slide_prev-left .slide-image,
.ozclip .oz-slide_next-left .slide-image{
	-webkit-clip-path: inset(0% 100% 0% 0%);
	clip-path: inset(0% 100% 0% 0%);
}

.ozclip .oz-slide_prev-right .slide-image{
	-webkit-clip-path: inset(0% 0% 0% 100%);
	clip-path: inset(0% 0% 0% 100%);
}
/*fade effect*/
.ozfade .oz-slide_current .slide-image,
.ozfade .oz-slide_current-left .slide-image,
.ozfade .oz-slide_current-right .slide-image{
	opacity:.95;
}

.ozfade .oz-slide_next-right .slide-image,
.ozfade .oz-slide_prev-left .slide-image,
.ozfade .oz-slide_next-left .slide-image,
.ozfade .oz-slide_prev-right .slide-image{
	opacity:0;
}


.oz-slide_caption {
	padding: var(--large-gap);
    text-transform: uppercase;
    opacity: 0;
    display: block;
    transition: all .8s ease;
    z-index: 3;
	pointer-events: none;
}

.oz-slide_current:not(.oz-slide_prev-right):not(.oz-slide_prev_left) .oz-slide_caption {
	transform: none;
	pointer-events: auto;
	opacity:1;
}

/* ==========================================================
   14. REVEAL ANIMATIONS
========================================================== */

.reveal.reveal-fade{
  opacity: 0;
  -webkit-transition: transform .8s cubic-bezier(0.21, 0.24, 0.18, 1), opacity .8s cubic-bezier(0.21, 0.24, 0.18, 1);
  -moz-transition: transform .8s cubic-bezier(0.21, 0.24, 0.18, 1), opacity .8s cubic-bezier(0.21, 0.24, 0.18, 1);
  -ms-transition: transform .8s cubic-bezier(0.21, 0.24, 0.18, 1), opacity .8s cubic-bezier(0.21, 0.24, 0.18, 1);
  -o-transition: transform .8s cubic-bezier(0.21, 0.24, 0.18, 1), opacity .8s cubic-bezier(0.21, 0.24, 0.18, 1);
  transition: transform .8s cubic-bezier(0.21, 0.24, 0.18, 1), opacity .8s cubic-bezier(0.21, 0.24, 0.18, 1);
}

.reveal.reveal-1, .reveal.reveal-up{
  transform: translate(0, min(20%, 50px));
}

.reveal.reveal-2, .reveal.reveal-right{
  transform: translate(min(-20%, -50px), 0);
}

.reveal.reveal-3, .reveal.reveal-down{
  transform: translate(0, min(-20%, -50px));
}

.reveal.reveal-4, .reveal.reveal-left{
  transform: translate(min(20%, 50px), 0);
}

.reveal.reveal-in {
	transform: none;
	filter:none;
	opacity: 1;
}

.reveal.reveal-clip{
	-webkit-transition: background .8s cubic-bezier(0.21, 0.24, 0.18, 1), opacity .8s cubic-bezier(0.21, 0.24, 0.18, 1), clip-path .8s cubic-bezier(0.21, 0.24, 0.18, 1), -webkit-clip-path .8s cubic-bezier(0.21, 0.24, 0.18, 1);
    -moz-transition: background .8s cubic-bezier(0.21, 0.24, 0.18, 1), opacity .8s cubic-bezier(0.21, 0.24, 0.18, 1), clip-path .8s cubic-bezier(0.21, 0.24, 0.18, 1), -webkit-clip-path .8s cubic-bezier(0.21, 0.24, 0.18, 1);
    -ms-transition: background .8s cubic-bezier(0.21, 0.24, 0.18, 1), opacity .8s cubic-bezier(0.21, 0.24, 0.18, 1), clip-path .8s cubic-bezier(0.21, 0.24, 0.18, 1), -webkit-clip-path .8s cubic-bezier(0.21, 0.24, 0.18, 1);
    -o-transition: background .8s cubic-bezier(0.21, 0.24, 0.18, 1), opacity .8s cubic-bezier(0.21, 0.24, 0.18, 1), clip-path .8s cubic-bezier(0.21, 0.24, 0.18, 1), -webkit-clip-path .8s cubic-bezier(0.21, 0.24, 0.18, 1);
    transition: background .8s cubic-bezier(0.21, 0.24, 0.18, 1), opacity .8s cubic-bezier(0.21, 0.24, 0.18, 1), clip-path .8s cubic-bezier(0.21, 0.24, 0.18, 1), -webkit-clip-path .8s cubic-bezier(0.21, 0.24, 0.18, 1);
}

.reveal.reveal-clip.reveal-up{
	-webkit-clip-path: inset(100% 0% 0% 0%);
	clip-path: inset(100% 0% 0% 0%);
}
.reveal.reveal-clip.reveal-right{
	-webkit-clip-path: inset(0% 100% 0% 0%);
	clip-path: inset(0% 100% 0% 0%);
}
.reveal.reveal-clip.reveal-down{
	-webkit-clip-path: inset(0% 0% 100% 0%);
	clip-path: inset(0% 0% 100% 0%);
}
.reveal.reveal-clip.reveal-left{
	-webkit-clip-path: inset(0% 0% 0% 100%);
	clip-path: inset(0% 0% 0% 100%);
}

.reveal.reveal-clip.reveal-in {
	-webkit-clip-path: inset(0% 0% 0% 0%);
	clip-path: inset(0% 0% 0% 0%);
}

/*images*/
.gb-block-image.reveal img, 
.oz-image.reveal img{
    transition: all 1s ease;
    transform: scale(1.2);
}
/*
.gb-block-image.reveal.reveal-down img, 
.oz-image.reveal.reveal-down img{
    transition: all 1s ease;
    transform: translateY(20%);
}

.gb-block-image.reveal.reveal-left img, 
.oz-image.reveal.reveal-left img{
    transition: all 1s ease;
    transform: translateX(-20%);
}

.gb-block-image.reveal.reveal-left img, 
.oz-image.reveal.reveal-left img{
    transition: all 1s ease;
    transform: translateX(20%);
}

.gb-block-image.reveal.reveal-in img,
.oz-image.reveal.reveal-in img{
    transform: translate(0);
}*/

.gb-block-image.reveal.reveal-in img,
.oz-image.reveal.reveal-in img{
    transform: scale(1);
}


/* ==========================================================
   15. RESPONSIVE
========================================================== */

@media (max-width: 1024px) {
	/* NAVIGATION */
	.navigation-stick button.menu-toggle {
    	min-height: 70px;
	}

	button.menu-toggle {
		min-height: 100px;
	}

	.navigation-branding {
		margin: 0;
		position: absolute;
		height: 100px;
		width: 100px;
		left: 50%;
		margin-left: -50px !important;
	}
	button.menu-toggle .menu-icon {
		width: 60px;
		height: 100%;
		position: relative;
	}

	button.menu-toggle .menu-icon:before, button.menu-toggle .menu-icon:after {
		content: "";
		width: 100%;
		height: 0;
		border-bottom: 1px solid;
		position: absolute;
		top: 50%;
		left: 0;
		transition: all 1s ease;
	}

	.toggled button.menu-toggle .menu-icon:before,.toggled button.menu-toggle .menu-icon:after {
		transform: translateY(0);
	}

	button.menu-toggle .menu-icon:before {
		transform: translateY(-4px);
	}

	button.menu-toggle .menu-icon:after {
		transform: translateY(4px);
	}
	
	#site-navigation .main-nav, #sticky-navigation .main-nav {
		display: block;
	}

	.main-navigation .menu-toggle {
		width: 100%;
		display: flex;
		justify-content: flex-end;
	}

	.main-nav.right-align li {
		justify-content: unset;
	}

	.main-nav li {
		border-top: thin solid rgb(from var(--contrast) r g b / 20%) ;
	}
	
	.main-navigation .main-nav ul li a{
		justify-content: normal;
		width:100%;
	}
	
	.masonry-grid{
		grid-template-columns: repeat(2, 1fr);
	}
	
	.masonry-grid > li {
		margin-top:0 !important;
	}

}

@media (max-width: 768px) {
	
	.zedi-vertical {
		left: 0%;
		margin-left: 0px;
	}
	
	.masonry-grid{
		display:block;
	}
	
	
}

@media (max-width: 500px) {
	
}