/**
* Theme Name: Vigimed
* 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. REVEAL ANIMATIONS
14. RESPONSIVE GLOBAL

*/

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

:root {
  --large-gap: clamp(10px, 5vw, 100px);
  --medium-gap: clamp(10px, 2.5vw, 50px);
  --small-gap: clamp(10px, 2vw, 25px);
  --nav-height: calc(var(--medium-gap) * 2 + 60px);
	
  --ratio: 1.2;
  --p: clamp(1rem, 1.2rem + 0.15vw, 2rem);

  --h6: calc(var(--p) / var(--ratio));
  --h5: calc(var(--p) * var(--ratio));
  --h4: calc(var(--h5) * var(--ratio));
  --h3: clamp(var(--h4) * var(--ratio), 1.2rem + 2vw, 5rem);
  --h2: clamp(var(--h3) * var(--ratio), 1.2rem + 2vw, 5rem);
  --h1: clamp(var(--h2) * var(--ratio), 1.2rem + 2vw, 5rem);
	
  --wp--preset--font-size--small: calc(var(--h6) / var(--ratio));
  --wp--preset--font-size--medium: var(--h5);
  --wp--preset--font-size--large: var(--h4);
  --wp--preset--font-size--x-large: calc(var(--h4) * var(--ratio));
}


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

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

html {
  font-size: 80%;
  background-color: var(--accent);
}

body {
  font-size: var(--p);
  overflow-x: hidden;
  line-height: 1.5;
  font-family: 'Supreme';
  font-weight: 300;
}

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

input:not(.casawp-filterform-button),
textarea {
  caret-color: var(--accent);
}


/* ==========================================================
   02. TYPOGRAPHIE
========================================================== */
h1{font-weight:300; line-height:1;}
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);}

h5, h6,
h1.h5, h1.h6,
h2.h5, h2.h6 {
  color: var(--accent-2);
}

h4, h5, h6 {
    margin-bottom: 5px;
}

p {
  text-align: justify;
  hyphens: auto;
}
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;}

a {
  text-decoration: none !important;
}

h1.has-large-font-size{
	font-size:calc(var(--h1)*1.4) !important;
}

/* ==========================================================
   03. UTILITAIRES
========================================================== */
hr {
    height: 0;
    border-top: 1px solid !important;
    margin-block-start: var(--small-gap);
    margin-block-end: var(--small-gap);
}
.uppercase { text-transform: uppercase; }
.hide { display: none !important; }
.hide-screen { display: none !important; }
.center-content { justify-content: center; }
.clearBoth { clear: both; }

.back-blur {
  backdrop-filter: blur(6px);
}

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

.ratio1{
	aspect-ratio:1/1;
	width:100%;
}
.gradient-top{background: linear-gradient(0deg, rgb(from var(--base-3) r g b / 0%) 0%, var(--base-3) 50%), radial-gradient(ellipse at center bottom, rgb(from var(--base-3) r g b / 0%) 55%, var(--base-3) 300%);}

td {
    border: none !important;
    border-bottom: thin solid !important;
    padding: .5em 0 !important;
	align-content: baseline;
	vertical-align:baseline;
}

table {
    border: none;
    border-top: thin solid;
}
.oztable p{
    border-bottom: thin solid;
    padding-bottom: .5em;
    margin-bottom: .5em;
}

a.wp-block-button__link:not(.has-background) {
    background: transparent;
    border: 2px solid;
	position:relative;
}

a.wp-block-button__link:not(.has-background):before {
    content: "";
    background: rgb(from var(--contrast) r g b / 20%);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    border-radius: 100vw;
    backdrop-filter: blur(7px);
    z-index: -1;
}


/*link*/
.wp-block-column a, .wp-block-jetpack-layout-grid a, footer .copyright a, .footer-widgets-container a, .gb-container a, .inside-article p 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, .inside-article p 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, .inside-article p 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, .inside-article p 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, .inside-article p a::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, .inside-article p 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;
}
.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, .inside-article p a: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 {
  font-size:calc(1rem + .6vw);
  font-weight:300;
  color:var(--accent-2);
  display:flex;
  flex-wrap:nowrap;
  position:relative;
  column-gap:2rem
}
.ozlink a {
  display:inline-block
}
.ozlink a:after {
  border-bottom:thin solid var(--accent-2)
}
.ozlink a:before {
  border-bottom:2px solid;
  bottom:0
}
.ozlink .ozarrow {
  width:0;
  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:-2px;
  transform:rotate(-45deg) translateY(-6px)
}
.ozlink:hover .ozarrow {
  width:var(--large-gap)
}

/*end link*/

.wp-block-spacer {
    max-height: var(--large-gap);
}

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

/* ===============================
   MAIN CONTENT WRAPPER
================================ */

#oz-content {
  opacity: 0;
  transform: translateY(100px);
  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;
}

#page{
	position:relative;
}

.taxonomy-oz_roles a {
  display: block;
}
.taxonomy-oz_roles {
  min-height: 5rem;
}
.taxonomy-oz_roles .wp-block-post-terms__separator{display:none;}


/* ===============================
   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;
  max-width: 300px;
  width:50vw;
  min-width:170px;
  
  opacity:0;
  transition: opacity .5s ease-in;
}

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

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

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

.site-main .wp-block-group__inner-container,
.wp-block-group__inner-container {
  padding: var(--large-gap);
  width: 100%;
}

.wp-block-group {
    z-index: 1;
    position: relative;
}

.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
}

/* ==========================================================
   06. HEADER
========================================================== */

/* 06.1 Branding */

.site-logo {
  margin: 0;
  z-index: 101;
}

.navigation-branding img, 
.site-logo.mobile-header-logo img,
.navigation-branding a svg {
    height: 60px;
    width: auto;
    max-width: 50vw;
    min-height: 50px;
}

/* ==================================================
   06.1 NAV WRAPPER
================================================== */

#site-navigation {
  position: absolute;
  width: 100vw;
  margin: 0 !important;
  transition: background-color 0.5s ease-out;
}

#sticky-placeholder {
  /*visibility: visible !important;*/
  pointer-events: none;
  z-index: 99;
  position: absolute;
}

.main-navigation .oz-navigation {
  z-index: 1;
}

.inside-page-header {
  position:relative;
  z-index: 3;
  pointer-events: none;
  transition: background-color 1s ease, padding 1s ease;
}

.site-logo a,
.menu-toggle {
  pointer-events: all;
  padding: 0;
}


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

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

.sticky-enabled .main-navigation.is_stuck .inside-page-header {
  padding: var(--small-gap) var(--large-gap);
  background-color: rgba(255, 255, 255, .85);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  will-change: backdrop-filter;

  box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
  -webkit-box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
  -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.mobile-menu-open .sticky-enabled .main-navigation.is_stuck .inside-page-header {
  background-color: transparent;    
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.mobile-menu-open .inside-page-header {
  padding: var(--large-gap) !important;
}

.inside-navigation{
	transition: filter 1s ease;
}

.open-modal .inside-navigation {
    filter: saturate(0) brightness(15);
}
.open-modal .sticky-enabled .main-navigation.is_stuck .inside-page-header{
	background-color:rgba(255, 255, 255, 0)
}


/* ==================================================
   06.3 TOGGLE BUTTON
================================================== */

.menu-toggle {
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 102;
  color: var(--contrast) !important;
  flex-grow: initial;
}

.menu-toggle .menu-icon {
  position: relative;
  width: 54px;
  height: 54px;
  background-color: transparent;
  border-radius: 50%;
  transition: transform 0.5s;
}

.menu-toggle .menu-icon svg path {
    fill: transparent;
}

.menu-toggle .menu-icon .icon_span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 3px;
  background-color: var(--contrast);

  transition:
    background 0.5s steps(1, end),
    transform 0.5s;
}

.menu-toggle .icon_span::before,
.menu-toggle .icon_span::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  background-color: var(--contrast);
  transform-origin: 100% 50%;
  transition: transform 0.5s;
}

.menu-toggle .icon_span::before {
  transform: translateY(-8px);
}

.menu-toggle .icon_span::after {
  transform: translateY(8px);
}

.menu-toggle .menu-icon:hover .icon_span::before {
  transform: translateY(-10px);
}

.menu-toggle .menu-icon:hover .icon_span::after {
  transform: translateY(10px);
}


/* TOGGLED STATE */

.toggled .menu-toggle .icon_span {
  background-color: transparent;
  transition: background 0.5s steps(1, start);
}

.toggled .menu-toggle .icon_span::before,
.toggled .menu-toggle .menu-icon:hover .icon_span::before {
  transform: translateX(-5px) translateY(-12px) rotate(-45deg);
}

.toggled .menu-toggle .icon_span::after,
.toggled .menu-toggle .menu-icon:hover .icon_span::after {
  transform: translateX(-5px) translateY(12px) rotate(45deg);
}


/* ==================================================
   06.4 OVERLAY NAVIGATION
================================================== */

.main-navigation .oz-navigation {
  pointer-events: none;
  width: 50%;
  position: absolute;
  top: 0;
  right: 0;
  overflow: auto;
}

.main-navigation.toggled .oz-navigation {
  pointer-events: auto;
}

.oz-navigation-container {
  width: 100%;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--small-gap));
}

.oz-navigation-content {
  flex: 1;
  padding: var(--large-gap);
  flex-direction: row-reverse;
}

.oz-navigation .main-nav > ul {
  display: block !important;
}


#primary-menu a, #category-menu a {
  font-size: var(--h3);
  line-height: 1;
  padding: 10px 0px;
  font-weight: 700;
}

.oz-navigation-footer {
    opacity: 0;
    transform: translateY(var(--small-gap));
    transition: all .5s cubic-bezier(0.21, 0.24, 0.18, 1);
}

.mobile-menu-open .oz-navigation-footer {
    opacity: 1;
    transform: translateY(0);
    transition: all .5s cubic-bezier(0.21, 0.24, 0.18, 1) 1s;
}


/* ==================================================
   06.5 NAV LINKS ANIMATION
================================================== */

.oz-navigation li {
  overflow: hidden;
}

.oz-navigation li a{
	-webkit-transition: 
		color .8s cubic-bezier(0.21, 0.24, 0.18, 1) !important;
    transition: 
		color .8s cubic-bezier(0.21, 0.24, 0.18, 1) !important;
}

.oz-navigation li a > div {
  transform: translateY(100%) rotateX(-10deg);
  opacity: 0;
  padding:10px 0px;
  border-bottom: thin solid var(--base);

  -webkit-transition:
    transform .5s cubic-bezier(0.21, 0.24, 0.18, 1),
    visibility .5s cubic-bezier(0.21, 0.24, 0.18, 1),
    opacity .5s cubic-bezier(0.21, 0.24, 0.18, 1) ;

  transition:
    transform .5s cubic-bezier(0.21, 0.24, 0.18, 1) .1s,
    visibility .5s cubic-bezier(0.21, 0.24, 0.18, 1) .1s,
    opacity .5s cubic-bezier(0.21, 0.24, 0.18, 1) .1s ;
}

.toggled .oz-navigation li a > div {
  transform: none;
  opacity: 1;

  -webkit-transition:
    transform .5s cubic-bezier(0.21, 0.24, 0.18, 1) 1.2s,
    visibility .5s cubic-bezier(0.21, 0.24, 0.18, 1) 1.2s,
    opacity .5s cubic-bezier(0.21, 0.24, 0.18, 1) 1.2s ;

  transition:
    transform .5s cubic-bezier(0.21, 0.24, 0.18, 1) 1.2s,
    visibility .5s cubic-bezier(0.21, 0.24, 0.18, 1) 1.2s,
    opacity .5s cubic-bezier(0.21, 0.24, 0.18, 1) 1.2s ;
}


.oz-navigation li:nth-child(2) a>div{ transition-delay: .1s }
.oz-navigation li:nth-child(3) a>div{ transition-delay: .15s }
.oz-navigation li:nth-child(4) a>div{ transition-delay: .2s }
.oz-navigation li:nth-child(5) a>div{ transition-delay: .25s }
.oz-navigation li:nth-child(6) a>div{ transition-delay: .3s }
.oz-navigation li:nth-child(7) a>div{ transition-delay: .35s }
.oz-navigation li:nth-child(8) a>div{ transition-delay: .4s }
.oz-navigation li:nth-child(9) a>div{ transition-delay: .45s }

.toggled .oz-navigation li:nth-child(2) a>div{ transition-delay: 1.25s }
.toggled .oz-navigation li:nth-child(3) a>div{ transition-delay: 1.3s }
.toggled .oz-navigation li:nth-child(4) a>div{ transition-delay: 1.35s }
.toggled .oz-navigation li:nth-child(5) a>div{ transition-delay: 1.4s }
.toggled .oz-navigation li:nth-child(6) a>div{ transition-delay: 1.45s }
.toggled .oz-navigation li:nth-child(7) a>div{ transition-delay: 1.5s }
.toggled .oz-navigation li:nth-child(8) a>div{ transition-delay: 1.55s }
.toggled .oz-navigation li:nth-child(9) a>div{ transition-delay: 1.6s }


/* ==================================================
   06.6 BACKGROUND OVERLAY
================================================== */

.main-navigation .backnav {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  display: flex;
  pointer-events: none;
  padding: 10px 10px 10px 0px;
}

.main-navigation .backnav > div {
  width: 100%;
  height: 100vh;
  position: relative;
  top: 0;
  z-index: -1;

  -webkit-clip-path: inset(0 0 0 100% round var(--small-gap));
  clip-path: inset(0 0 0 100% round var(--small-gap));

  transition:
    clip-path 1.2s cubic-bezier(.65,-.01,.35,1) .2s,
    -webkit-clip-path 1.2s cubic-bezier(.65,-.01,.35,1) .2s,
    transform 1.2s cubic-bezier(.65,-.01,.35,1) .2s;
}

.main-navigation.toggled .backnav > div {
  -webkit-clip-path: inset(0 0 0 0 round var(--small-gap));
  clip-path: inset(0 0 0 0 round var(--small-gap));
  transform: none;
}

.main-navigation .backnav > div:not(.oz-navigation-header) {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  will-change: backdrop-filter;
  background-color: rgb(from var(--base-3) r g b / 60%);    
  border: 1px outset rgb(from var(--base-3) r g b / 60%);
  border-radius: var(--small-gap);
}

/* MOBILE OPEN STATE */
   
.mobile-menu-open body, .open-modal body{
  overflow: hidden;
}

/* ==========================================================
 * 06.7 SEARCH BUTTON
========================================================== */

.kb-search .kb-search-icon {
  width: 30px !important;
  height: 30px !important;
}


/* ==========================================================
   07. FOOTER
========================================================== */
.site-footer .wp-block-columns, 
.site-footer p,
.site-footer hr {
    margin: 0;
}
.site-footer > div a, 
.site-footer footer a:hover{
	color:var(--accent);
}
.site-footer  a:hover, 
.site-footer footer a{
	color:var(--contrast);
}

.site-footer #copyright .wp-block-group__inner-container{
	padding:var(--small-gap) var(--large-gap);
}

/* ==========================================================
   08. CONTENT
========================================================== */
/* FEATRURED IMAGE */
.featured_page_header {
	position:absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
	width:100%;
	top:0;
    filter: saturate(1);
	
	transition:
    filter 1.2s cubic-bezier(.65,-.01,.35,1) .2s;
}
.featured_page_header .page-header-image,
.featured_page_header .featured-image{
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-menu-open .featured_page_header {
    filter: saturate(0);
}

.kb-svg-icon-wrap svg {
    width: 1.2em;
    height: 1.2em;
}

.m-phone .dsp-phone {
    display: inline-block;
    vertical-align: text-top;
    color: var(--contrast);
}

.page-numbers {
    font-size: inherit;
    border-color: var(--contrast-3) !important;
    color: inherit;
    aspect-ratio: 1;
    width: 50px;
    height:50px;
    justify-content: center;
    align-items: center;
    border-radius: 100vh;
}

.gb-query-loop-pagination .gb-text {
    font-size: inherit;
    border-color: var(--contrast-3);
    color: inherit;
    height:50px;
    justify-content: center;
    align-items: center;
    border-radius: 100vh;
}

a.page-numbers:hover, .gb-query-loop-pagination a.gb-text:hover {
    color: white !important;
    background-color:var(--accent);
}

/* ==========================================================
   09. FLOATING BUTTON
========================================================== */

.floating-btn {
    position: fixed !important;
    top: 50%;
    right: 0;
    writing-mode: vertical-lr;
    text-transform: uppercase;
    font-size: var(--h6);
    letter-spacing: 1px;
    font-weight: bold;
    color: var(--base-3);
    background-color: var(--accent);
    background-color: rgb(from var(--accent) r g b / 90%);
    backdrop-filter: blur(5px);
    justify-content: center;
    z-index: 99;
    padding: 20px;
    transform: translateY(-50%) rotate(180deg) !important;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, .2);
}


.horizontal-tabs .oztabs,
.horizontal-tabs .oztabs .wp-block-lazyblock-tab .oztab-container{
    border:none;
	padding:0;
}

.horizontal-tabs .oztabs .lazyblock-inner-blocks > *{
    width:100%;
}

.horizontal-tabs .oztabs .wp-block-lazyblock-tab .oztab:before, 
.horizontal-tabs .oztabs .wp-block-lazyblock-tab .oztab:after{
    content:none;
}

.horizontal-tabs .oztab .oztab-title{
    text-align: center;
    font-size: var(--h1);
    text-wrap: nowrap;
}

.horizontal-tabs .oztabs .lazyblock-inner-blocks .wp-block-lazyblock-tab{
    transition:all .8s ease;
}
.open .oztab-container{
    background:transparent !important;
}

.horizontal-tabs .oztabs .lazyblock-inner-blocks.opened-tabs .wp-block-lazyblock-tab:not(.open) {
	opacity:0;
}

@media (min-width: 781px) {
	.horizontal-tabs .oztabs .lazyblock-inner-blocks {
		display: flex;
	}
	.horizontal-tabs .oztabs .lazyblock-inner-blocks.opened-tabs .wp-block-lazyblock-tab:not(.open) {
		width:0;
		opacity:0;
	}
}


.featured_page_header:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--base-2);
    background: linear-gradient(0deg, var(--base-2) 0%, rgb(from var(--base-2) r g b / 0%) 50%), radial-gradient(ellipse at center top,  rgb(from var(--base-2) r g b / 0%) 55%, var(--base-2) 300%);
}

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

#ozmodal {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index:99;
  backdrop-filter: blur(0px);
  transition: all 1s ease-in-out;
}

.ozmodal-content {
    opacity: 0;
    transform: translateY(100px);
    transition: all .5s cubic-bezier(0.86, 0.02, 0.68, 0.68);
}

.open-modal #ozmodal {
  pointer-events: all;
  backdrop-filter: blur(10px);
  background-color: rgb(from var(--contrast) r g b / 95%);
}

.open-modal .ozmodal-content {
    opacity: 1;
    transform: translateY(0px);
    transition: all .5s cubic-bezier(0.4, 0, 0.5, 0.99) 1s;
}


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

input,
textarea,
select {
  border: none !important;
  border-bottom: thin solid !important;
  background: transparent !important;
  transition: all .5s ease !important;
}

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

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

.oz-slider{
	position: relative;
	display: flex;
	z-index: 0;
    max-height: 50vh;
	min-height:400px;
	touch-action: pan-y;
}

.oz-slider-slides {
    position: absolute;
    left: 0px;
    width: 100%;
    height: 100%;
	background-color:var(--accent);
}

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

.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);
	filter: brightness(1.2) saturate(0);
	transition:all 1s ease-in-out;
	-webkit-clip-path: inset(0% 100% 0% 0%);
    clip-path: inset(0% 100% 0% 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: 50%;
	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: 50%;
    display: flex;
    flex-direction: row;
    padding: var(--small-gap);
    margin: 1px;
    z-index: 82;
    transform: translateX(-50%);
}
.oz-slider-nav ul.oz-slider-dots li {
    width: 5px;
    height: 5px;
    list-style: none;
    border-radius: 20px;
    margin: calc(var(--small-gap) / 4) 10px; 
    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-3);
}

.oz-slider-nav ul.oz-slider-dots li:before {
    content: " ";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color:  var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    -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);
	width:calc(2 * var(--small-gap));
}
.oz-slide_current .slide-image{
	transform:scale(1);
	-webkit-clip-path: inset(0% 0% 0% 0%);
	clip-path: inset(0% 0% 0% 0%);
}
.oz-slide_next-right .slide-image{
	-webkit-clip-path: inset(0% 100% 0% 0%);
	clip-path: inset(0% 100% 0% 0%);
}
.oz-slide_next-left .slide-image{
	-webkit-clip-path: inset(0% 100% 0% 0%);
	clip-path: inset(0% 100% 0% 0%);
}

.oz-slide_current-right .slide-image{
	-webkit-clip-path: inset(0% 0% 0% 0%);	
	clip-path: inset(0% 0% 0% 0%);	
}
.oz-slide_prev-right .slide-image{
	transform:scale(1);
	-webkit-clip-path: inset(0% 0% 0% 100%);
	clip-path: inset(0% 0% 0% 100%);
}

.oz-slide_current-left .slide-image{
	transform:scale(1);
	-webkit-clip-path: inset(0% 0% 0% 0%);
	clip-path: inset(0% 0% 0% 0%);
}
.oz-slide_prev-left .slide-image{
	-webkit-clip-path: inset(0% 100% 0% 0%);
	clip-path: inset(0% 100% 0% 0%);
}

.oz-slide_caption {
	padding: min(5vw, 100px);
    color: white;
    font-family: sans-serif;
    text-transform: uppercase;
    opacity: 0;
	display: block;
    transform: translateY(50%);
    transition: all .5s ease;
    z-index: 3;
	pointer-events: none;	
    filter: drop-shadow(4px 2px 5px rgba(0,0,0,0.2));
}

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


/* ==========================================================
   12. REVEAL ANIMATIONS
========================================================== */

.reveal, .reveal.reveal-1 {
  position: relative;
  transform: translate(0, 50px);
  opacity: 0;	
  -webkit-transition: transform 1s cubic-bezier(0.21, 0.24, 0.18, 1), opacity 1s cubic-bezier(0.21, 0.24, 0.18, 1);
  -moz-transition: transform 1s cubic-bezier(0.21, 0.24, 0.18, 1), opacity 1s cubic-bezier(0.21, 0.24, 0.18, 1);
  -ms-transition: transform 1s cubic-bezier(0.21, 0.24, 0.18, 1), opacity 1s cubic-bezier(0.21, 0.24, 0.18, 1);
  -o-transition: transform 1s cubic-bezier(0.21, 0.24, 0.18, 1), opacity 1s cubic-bezier(0.21, 0.24, 0.18, 1);
  transition: transform 1s cubic-bezier(0.21, 0.24, 0.18, 1), opacity 1s cubic-bezier(0.21, 0.24, 0.18, 1);
}

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

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

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

.reveal.reveal-fade{
	opacity: 0;
	transform: none;
}

.reveal-pop{
  	opacity: 0;
	filter:blur(100px);
	transform:scale(.6);
	-webkit-transition: background 1s cubic-bezier(0.21, 0.24, 0.18, 1), opacity 1s cubic-bezier(0.21, 0.24, 0.18, 1), transform 1s cubic-bezier(0.21, 0.24, 0.18, 1), filter 1s cubic-bezier(0.21, 0.24, 0.18, 1);
	-moz-transition: background 1s cubic-bezier(0.21, 0.24, 0.18, 1), opacity 1s cubic-bezier(0.21, 0.24, 0.18, 1), transform 1s cubic-bezier(0.21, 0.24, 0.18, 1), filter 1s cubic-bezier(0.21, 0.24, 0.18, 1);
	-ms-transition: background 1s cubic-bezier(0.21, 0.24, 0.18, 1), opacity 1s cubic-bezier(0.21, 0.24, 0.18, 1), transform 1s cubic-bezier(0.21, 0.24, 0.18, 1), filter 1s cubic-bezier(0.21, 0.24, 0.18, 1);
	-o-transition: background 1s cubic-bezier(0.21, 0.24, 0.18, 1), opacity 1s cubic-bezier(0.21, 0.24, 0.18, 1), transform 1s cubic-bezier(0.21, 0.24, 0.18, 1), filter 1s cubic-bezier(0.21, 0.24, 0.18, 1);
	transition: background 1s cubic-bezier(0.21, 0.24, 0.18, 1), opacity 1s cubic-bezier(0.21, 0.24, 0.18, 1), transform 1s cubic-bezier(0.21, 0.24, 0.18, 1), filter 1s cubic-bezier(0.21, 0.24, 0.18, 1);
}

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

.reveal.reveal-clip-circle{
	opacity:0;	
	-webkit-clip-path: circle(30%);
	clip-path: circle(30%);
}

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

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

.reveal.reveal-clip-circle.reveal-in{
    transform:none;
    opacity:1;
	-webkit-clip-path: circle(50%);
	clip-path: circle(50%);
}


/* ==========================================================
   13. RESPONSIVE
========================================================== */

@media (max-width: 1400px) {
  :root {
    --nav-height: calc(var(--medium-gap) * 2 + 40px);
  }
}

@media (max-width: 768px) {
  .hide-screen { display: inherit !important; }
  .hide-mobile { display: none !important; }
  .main-navigation .oz-navigation,
  .main-navigation .backnav { width: 100%; padding:10px; }
  .wp-block-column:empty{
	  display:none;
  }
}

@media (max-width: 500px) {
  #oz-content > .entry-header { display: none !important; }
	
	.open-modal .floating-btn.reveal-in{
		-webkit-clip-path: inset(0% 100% 0% 0%);
    	clip-path: inset(0% 100% 0% 0%);
	}
  .inside-page-header {
	  padding: var(--large-gap) !important;
	}
}