@charset "UTF-8";
/*
Theme Name: ox
Theme URI: https://www.ox.com.fr
Author: Léo NIVET
Author URI: https://www.leonivet.com
Description: Thème ox.
Requires at least: WordPress 6.0
Version: 1.0
*/


:root {
  --bp-1:600;
  --bp-2:800;
  --bp-3:1200;
  --bp-4:1920;

  --border: solid .5px black;

  --color-gris : rgb(245, 245, 245);
}

*, *:before, *:after {
  box-sizing: border-box;
}

.visually-hidden{
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

html{
  scroll-padding-top: 5em;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 300;
  margin: 0em 1em .5em 1em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

/* Avoid Chrome to see Safari hack */
@supports (-webkit-touch-callout: none) {
  body {
    /* The hack for Safari */
    min-height: -webkit-fill-available;
  }
}

@media only screen and (min-width: 1600px) {
  body{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (min-width: 1200px) {
  
}

@media only screen and (min-width: 1400px) {

}

img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

figure{
 
}

/*img, video, iframe{
  border-radius: .25rem;
}*/

a, a:hover, a:focus{
  color: inherit;
}

a{
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

.menu-ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.networks{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.networks > li:not(:first-child){
  padding-left: .5em;
}

.networks svg{
  min-width: 1.6ch;
  transform: translateY(2.5px);
}

.fa-facebook-f{
  transform: scale(0.85);
}

p{
  max-width: 800px;
}

p:first-child{
  margin-top: 0;
}

p:last-child{
  margin-bottom: 0;
}

p:empty{
  display: none;
}

button{
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

iframe{
  width: 100%;
  display:block;
}

iframe{
  width: 100% !important;
  height: 600px;
}

@media only screen and (max-width: 1100px) {
  iframe{
    height: 550px;
  }
}

@media only screen and (max-width: 1000px) {
  iframe{
    height: 500px;
  }
}

@media only screen and (max-width: 900px) {
  iframe{
    height: 450px;
  }
}

@media only screen and (max-width: 800px) {
  iframe{
    height: 400px;
  }
}

@media only screen and (max-width: 700px) {
  iframe{
    height: 350px;
  }
}

@media only screen and (max-width: 600px) {
  iframe{
    height: 300px;
  }
}

@media only screen and (max-width: 500px) {
  iframe{
    height: 250px;
  }
}

@media only screen and (max-width: 375px) {
  iframe{
    height: 200px;
  }
}

/***********************/
/********* INTRO *******/
/***********************/

.intro{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: white;
  z-index: 999999999999;
}

.intro > svg{
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1) 3s;
}

.intro__o--black, .intro__o--orange, .intro__x--black, .intro__x--orange{
  transform: translateY(-50vh);
}

.intro__o--black{
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1) .5s;
}

.intro__x--black{
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
}

.intro__o--orange{
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1) 1.5s;
}

.intro__x--orange{
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1) 2s;
}

.intro > svg.is-ready{
  transform: translateX(-150vw);
}

.intro__o--black.is-ready, .intro__o--orange.is-ready, .intro__x--black.is-ready, .intro__x--orange.is-ready{
  transform: translateY(0);
}

/**********************/
/****** HEADER ********/
/*********************/

header{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: "main-title menu-btn" "main-nav main-nav";
  column-gap: 1rem;
  position: sticky;
  top: 0;

  padding-top: .5em;

  background-color: white;

  z-index: 9;
}

header > a{
  grid-area: main-title;
  padding-bottom: .35rem;
  padding-top: .35rem;
  justify-self: left;
  padding-right: 1em;
  margin-bottom: .25rem;
}

header > button{
  grid-area: menu-btn;
  cursor: pointer;
  text-align: right;
  padding-bottom: .35rem;
  padding-top: .35rem;
  justify-self: right;
  padding-left: 1em;
  margin-bottom: .25rem;
}

header > button:hover, header > a:hover{
  background-color: var(--color-gris);
}

header > nav{
  grid-area: main-nav;
  border-top: var(--border);
  padding-top: .35rem;
  margin-bottom: 1em;
  padding-bottom: .35rem;
  border-bottom: var(--border);
}

#primary-navigation[data-state="closed"]{
  display: none;
}

#primary-navigation[data-state="opened"]{
  display: grid;
}

/*header > nav > ul:nth-child(5){
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

header > nav > ul:nth-child(6){
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}*/

header > nav > ul:not(:last-child){
  margin-bottom: 1em;
}

header a{
  display: grid;
  justify-content: left;
}

header a:hover{
  text-decoration: none;
  background-color: var(--color-gris);
}

.primary-navigation__cart{
  margin-top: -1em;
}

@media only screen and (min-width: 800px) {
  header{
    grid-template-columns: 2fr 1fr;
  }

  header > nav{
    padding-bottom: 0;
  }

  #primary-navigation[data-state="opened"]{
    display: flex;
    justify-content: space-between;
  }

  header ul a{
    padding-left: 1em;
    padding-right: 1em;
  }

  header ul:first-child a{
    padding-left: 0em;
  }

  header ul:last-child a{
    padding-right: 0em;
  }

  header > nav > ul:last-child a{
    justify-content: right;
  }
}

/***********************/
/******* MAIN ****/
/*******************/

main{
  /*margin-top: .75rem;*/
}

:not(.home) main{
  margin-bottom: 1rem;
}

/*************************/
/********* HOMEPAGE ***/
/************************/

.homepage__store{
  position: relative;
  display: block;
  margin-top: 1em;
}

.homepage__store img{
  min-width: 100%;
  object-fit: cover;
  border-radius: .25rem;
}

/*.homepage__store > h2{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  z-index: 1;
  text-transform: uppercase;
  font-size: 5em;
  margin: 0;
}*/

.ox-mini-bio{
  font-size: 2em;
  text-transform: uppercase;
  margin: 1em 0em 1em 0;
}

.homepage__h3{
  font-weight: inherit;
  text-transform: uppercase;
  margin: 2rem 0 1rem .5rem;
  font-size: 2rem;
}

@media only screen and (min-width: 800px) {
  .homepage__h3{
    font-size: 4em;
    margin: 2rem 4em 2rem 2rem;
  }
}

@media only screen and (min-width: 1000px) {
  .homepage__h3{
    font-size: 4em;
  }
}

/*@media (hover: hover) {

  .homepage__store > h2{
    display: none;
  }

  .homepage__store:hover > h2{
    display: block;
  }

}*/

@media only screen and (min-width: 800px) {

  /*.homepage__store > h2{
    font-size: 10em;
  }*/

  .homepage__store img{
    border-radius: 0;
  }

  .ox-mini-bio{
    font-size: 3em;
    text-transform: uppercase;
    margin: 3em 4em 3em 0;
  }


}

/*************************/
/******* BIO *************/
/**************************/

:root{
  --border-bio : solid .5px black;
}

.main--bio{
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  grid-template-rows: auto auto auto 1fr;
  border: var(--border-bio);
}

.language_bio{
  grid-column: 1 / 3;
  padding: .25rem 1rem .25rem 1rem;
  border-right: var(--border-bio);
  border-bottom: var(--border-bio);
  display: grid;
  grid-template-columns: auto auto 1fr;
  column-gap: .5rem;
}

.language_bio div.selected{
  font-weight: bold;
}

.language_bio > div{
  cursor: pointer;
}

.pdf_bio{
  grid-column: 3 / 4;
  padding: .25rem 1rem .25rem 1rem;
  border-bottom: var(--border-bio);
  font-weight: 800;
}

.pdf_bio a:hover{
  text-decoration : none;
}

.bio{
  text-align: justify;
  margin-top: .45rem;
  display: none;
}

.bio.selected{
  display: block;
}

.texte_biography{
  grid-column: 1 / 4;
  padding: .25rem 1rem .25rem 1rem;
}

.galerie_biography{
  grid-column: 1 / 4;
   padding: 1em !important;
}

.galerie_biography li{
  display: none;
  margin: 0 !important;
}

.galerie_biography li.selected{
  display: block;
}

.button_galerie_biography{
   padding: .25rem 1rem 0 1rem;
   margin-bottom: 1rem;
   display: flex;
   justify-content: center;
   grid-column: 1 / 4;
}

.button_galerie_biography button{
  background-color: black;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 100%;
  cursor: pointer;
}

.button_galerie_biography button:not(:first-child){
  margin-left: 1.3rem;
}

.button_galerie_biography button.selected{
  background-color: white;
  border: var(--border-bio);
}

.expositions_biography{
  grid-column: 1 / 4;
  border-top: var(--border-bio);
}

.expositions_biography h3{
  margin: 0;
  padding-top: .5rem;
  padding-bottom: .5rem;
  border-bottom: var(--border-bio);
  text-align: center;
}

.expositions_biography ul{
  list-style: none;
  padding: 0;
  padding: .25rem 1rem .25rem 1rem;
}

.expositions_biography li{
  text-align: center;
  padding: 0;
  line-height: 1.3;
}

.expositions_biography li p{
  display: inline;
}

.content_biography{
  grid-column: 1 / 4;
}



@media only screen and (min-width: 800px) {
  .main--bio{
    display: grid;
    grid-template-columns : 1fr 1fr;
    grid-template-rows: auto auto auto 1fr;
    max-height: 91vh;
    min-height: 500px;
    overflow: hidden;
    margin-bottom:  0 !important;
  }
  .bio__en{
    color: inherit;
  }

  .texte_biography{
    grid-column: 1 / 2;
    grid-row: 2 / 6;
    border-right: var(--border-bio);
    overflow: scroll;
  }

  .texte_biography p:last-child{
    margin-bottom: .5rem;
  }

  .galerie_biography{
    grid-column: 2 / 4;
  }

  .galerie_biography img{
    max-height: 45vh !important;
    object-fit: contain !important;
  }

  .button_galerie_biography{
    grid-column: 2 / 4;
  }

  .expositions_biography{
    grid-column: 2 / 4;
    overflow: scroll;
  }

   .expositions_biography ul{

   }

  .expositions_biography:hover{

  }
}

/***********************/
/******* OEUVRES ********/
/***********************/

.single-oeuvres main{
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: 1fr auto auto;
  column-gap: 0em;
  align-items: top;
}

.single-oeuvres main > *{
  grid-column: 1 / 4;
}

.single-oeuvres main > *:not(img, video, h3, h2, .nav-oeuvres){
  margin-top: 1em;
}

.single-oeuvres img, .single-oeuvres video{
  max-height: 85vh;
}

.single-oeuvres ul img, .single-oeuvres ul video{
  max-width: 100%;
}

.single-oeuvres img:first-child, .single-oeuvres video:first-child{
  grid-column: 1 / 3;
}

.nav-oeuvres{
  font-size: 1rem;
  grid-column: 1 / 3 !important;
  grid-row: 1 / 2 !important;
  margin-top: 1rem;
  align-self: start;
  justify-self: left;
  text-align: left;
  align-self: center;
  margin-bottom: 1em;
}


.nav-oeuvres__cat::after{
  content: '';
  margin-left: .5rem;
  border-top: solid 1px black;
  border-right: solid 1px black;
  display: inline-block;
  width: .5em;
  height: .5em;
  transform: rotate(135deg) translateY(50%);
}

.nav-oeuvres i{
  font-size: .8em;
}

.nav-oeuvres > div{
  margin-bottom: 1rem;
}

/* mobile flèche */
@media only screen and (max-width: 800px) {
  .nav-oeuvres .fa-chevron-left{
    background-color: rgba(255, 255, 255, 0.4);
    color: black;
    font-size: 2rem;
    padding: 1rem;
    position: fixed;
    top: 50%;
    left: 1rem;
    transform: translate(-50%, -50%);
    transition: 1s ease-out;
  }

  .nav-oeuvres > div{
    margin-bottom: 0rem;
  }

  a[rel='next'] span{
    display: none;
  }

  a[rel='prev'] span{
    display: none;
  }

  a[rel='next'], a[rel='prev']{
    position: absolute;
  }

  .nav-oeuvres .fa-chevron-right{
    background-color: rgba(255, 255, 255, 0.4);
    color: black;
    font-size: 2rem;
    padding: 1rem;
    position: fixed;
    top: 50%;
    right: -2rem;
    transform: translate(-50%, -50%);
    transition: 1s ease-out;
  }

  .nav-oeuvres .fa-chevron-left:hover, .nav-oeuvres .fa-chevron-right:hover{
    background-color: rgba(255, 255, 255, 1) ;
  }
}

.single-oeuvres h2{
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  padding: 0;
  grid-column: 3 / 4 !important;
  grid-row: 1 / 2;
  margin-top: 1rem;
  justify-self: right;
}

.single-oeuvres h3{
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  padding: 0;
  grid-column: 3 / 4 !important;
  grid-row: 2 / 3;
  justify-self: right;
  margin-bottom: 1rem;
}

.single-oeuvres .bloc-de-texte{
  text-align: justify;
}

@media only screen and (max-width: 800px) {
  .single-oeuvres .bloc-de-texte{
      width: 100% !important;
      columns: 1 !important;
  }
}

 .archive-galerie > li img, .archive-galerie > li video{
  transition: .3s ease-out;
 }

 .archive-galerie > li img:hover, .archive-galerie > li video:hover{
    transform: scale(1.01);
  }

  .archive-galerie-items{
    overflow: hidden;
    display: block !important;
  }

  .archive-galerie-items a{
    display: block;
  }

  .archive-galerie-items video{
    min-width: 100%;
    min-height: 100%;
  }

@media only screen and (min-width: 800px) {
  .archive-galerie{
    /*display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;*/
   /* display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1em;*/
  }

  .single-oeuvres main{
  }

  .archive-galerie > li{
   /* max-height: 30em;
    overflow: hidden;*/
  }

  .archive-galerie > li img, .archive-galerie > li video{
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
  }

  .archive-galerie{
    display: block !important;
  }

}

@media only screen and (min-width: 1200px) {

  .single-oeuvres img, .single-oeuvres video{
    max-width: min(100%, 80vw);
  }

  .nav-oeuvres{
    position: fixed;
    top: 50vh;
    right: 2.5em;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.4);
    padding: .75rem;
    border-radius: .25rem;
    margin-bottom: 0em;
    text-align: right;
    margin-top: 0rem;
  }

  .single-oeuvres h3{
    margin-bottom: 1rem;
  }
} 

/****** archive-galerie__expositions ***/

.archive-galerie__expositions{

}

.archive-galerie__expositions h2{
  text-transform: uppercase;
  font-size: 1rem;
  margin-top: .3rem;
  margin-bottom: 0rem;
  color: rgba(0, 0, 0, 0.8);
}

.archive-galerie__expositions a:hover{
  text-decoration: none;
}

.sous-titre-archive-expositions{
  /*text-transform: uppercase;*/
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: .8rem;
}

@media only screen and (min-width: 800px) {
  .archive-galerie__expositions{
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .archive-galerie__expositions h2{
    font-size: 1.25rem;
    margin-top: .5rem;
  }

  .archive-galerie__expositions .archive-galerie__image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
  }

  .archive-galerie__expositions .archive-galerie__image img, .archive-galerie__expositions .archive-galerie__image video {
    position: absolute;
    top: 0;
    max-height: 100% !important;
  }
}

/********* archive-galerie__travaux-works ***/

.archive-galerie__travaux-works{
  display: flex !important;
  overflow-y: scroll;
  scroll-snap-type: x mandatory;
}

 /* Hide scrollbar for Chrome, Safari and Opera */
.archive-galerie__travaux-works::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.archive-galerie__travaux-works {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
} 

.archive-galerie__travaux-works > .archive-galerie-items{
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-width: 100%;
  margin-right: 1em;
  scroll-snap-align: start;
  min-height: 90vh;
}

.archive-galerie__travaux-works > .archive-galerie-items img{
  object-fit: contain !important;
}

.archive-galerie__travaux-works > .archive-galerie-items figure{
  margin-bottom: .5rem;
}

.archive-galerie__travaux-works__title{
  font-size: .8rem !important;
}

.archive-galerie__travaux-works__title h2{
  margin: 0;
  font-size: 1rem;
}

.archive-galerie__travaux-works__title p{
  max-width: 100%;
}

.archive-galerie__travaux-works .fa-chevron-left{
    background-color: rgba(255, 255, 255, 0.4);
    color: black;
    font-size: 2rem;
    padding: 1rem;
    position: fixed;
    top: 50%;
    left: 2rem;
    transform: translate(-50%, -50%);
    transition: 1s ease-out;
    cursor: pointer;
    display: none;
  }

  .archive-galerie__travaux-works .fa-chevron-right{
    background-color: rgba(255, 255, 255, 0.4);
    color: black;
    font-size: 2rem;
    padding: 1rem;
    position: fixed;
    top: 50%;
    right: -1rem;
    transform: translate(-50%, -50%);
    transition: 1s ease-out;
    cursor: pointer;
  }

  .archive-galerie__travaux-works .fa-chevron-left:hover, .archive-galerie__travaux-works .fa-chevron-right:hover{
    background-color: rgba(255, 255, 255, 1) ;
  }

  .posts_counts{
    display: none;
  }

  @media only screen and (min-width: 800px) {
    .posts_counts{
      position: fixed;
      bottom: 1em;
      right: 1em;
      z-index: 99;
      display: block;
    }
  }


/****** archive-galerie__affichages-pasteup ****/

.main__archive-galerie__affichages-pasteup{
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.main__archive-galerie__affichages-pasteup .archive-galerie-items{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: auto 1fr !important;
  grid-template-areas: "image sur-titre" "image titre";
  column-gap: 1rem;
  padding-bottom: 1rem;
}

.main__archive-galerie__affichages-pasteup .archive-galerie-items:not(:last-child){
  border-bottom: var(--border);
  margin-bottom: 1rem;
}

.main__archive-galerie__affichages-pasteup .archive-galerie-items .archive-galerie-items__content{
  grid-area: image;
}

.main__archive-galerie__affichages-pasteup .archive-galerie-items .archive-galerie-items__content > *:not(:first-child){
  display: none;
}

.main__archive-galerie__affichages-pasteup .archive-galerie-items .archive-galerie-items__content h3{
  grid-area: sur-titre;
}

.main__archive-galerie__affichages-pasteup .archive-galerie-items .archive-galerie-items__content h3{
  grid-area: titre;
}

.main__archive-galerie__affichages-pasteup h3, .main__archive-galerie__affichages-pasteup h2{
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: normal;
}

.main__archive-galerie__affichages-pasteup h3{
  font-weight: 200;
}

.main__archive-galerie__affichages-pasteup .archive-galerie-items:hover{
  color: #EB4700;
}

@media only screen and (min-width: 800px) {
  .main__archive-galerie__affichages-pasteup{
    grid-template-columns: 1fr 1fr;
    border-top: var(--border);
    border-right: var(--border);
    border-bottom: var(--border);
  }

  .main__archive-galerie__affichages-pasteup .archive-galerie-items{
    grid-template-columns: 10em 1fr !important;
    grid-template-rows: auto;
    grid-template-areas: "sur-titre titre";
    column-gap: 0rem;
    padding-bottom: 0rem;
    margin-bottom: 0rem !important;
    cursor: pointer;
    border-right: var(--border);
  }

  .main__archive-galerie__affichages-pasteup .archive-galerie-items:not(:last-child){
    border-bottom: var(--border);
  }

  .main__archive-galerie__affichages-pasteup .archive-galerie-items:hover{
     border-color: #EB4700;
  }

  .main__archive-galerie__affichages-pasteup .archive-galerie-items .archive-galerie-items__content{
    display: none;
  }

  .main__archive-galerie__affichages-pasteup h3, .main__archive-galerie__affichages-pasteup h2{
    padding: 1em;
    text-align: center;
    font-size: initial;
    font-weight: bold;
    border-left: var(--border);
  }


  .affichages-pasteup__visualizer{
    padding: 1em;
    max-height: 92svh;
    max-height: 92vh;
    overflow: scroll;
  }
}

/************************/
/****** Modèle Page 2 ***/
/***********************/


.page-template-modele2 main{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "title"  "sur-titre" "sous-titre" "page-content";
  row-gap: 1em;

  margin-top: 2em;
}

.page-template-modele2 > main > h1{
  grid-area: title;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  padding-bottom: 1em;
}

.page-template-modele2 > main > .sur-titre{
  grid-area: sur-titre;
  border-bottom: var(--border);
  padding-bottom: 1em;
}

.page-template-modele2 > main > .sous-titre{
  grid-area: sous-titre;
}

.page-template-modele2 > main > .page-content{
  grid-area: page-content;
  margin-top: 2.5em;
  max-width: 800px;
}

@media only screen and (min-width: 800px) {
  .page-template-modele2 main{
    grid-template-columns: 1fr 2fr;
    grid-template-areas: "title sur-titre" ". sous-titre" ". page-content";
  }

  .page-template-modele2 > main > h1{
    border-bottom: var(--border);
  }
}


/***************************/
/********* FORMULAIRE ******/
/***************************/

form{
  font-weight: 200;
  position: relative;
  max-width: 500px;
}

input{
  margin-top: .5rem;
  border: none;
  border-bottom: var(--border);
  font-weight: 200;
  font-size: inherit;
}

textarea{
  margin-top: .5rem;
  border: var(--border);
  font-weight: 200 !important;
  font-family: inherit;
  font-size: inherit;

}

input, textarea{
  width: 100%;
}

input[type="checkbox"]{
  width: auto;
}

input[type="number"]{
  border: none;
}

input:focus, textarea:focus{
  outline: none;
}

textarea{
  margin-bottom: 0;
}

input[type=submit]{
  background-color: transparent;
  border: none;
  width: auto;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: .5em 0em .5em 0em;

}

input[type="submit"]:hover{
  background-color: var(--color-gris) !important;
}

.wpcf7-response-output{
  border: var(--border) !important;
  width: fit-content !important;
  margin:  0 !important;

}

/****************************/
/********* NEWSLETTER ****/
/*************************/

.tnp-subscription{
  margin: 0 !important;
}

.tnp-subscription label{
   font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  padding: 0 !important;
}

.tnp-subscription input[type="text"], .tnp-subscription input[type="email"], .tnp-subscription input[type="submit"], .tnp-subscription select{
  background-color: transparent !important;
  border-bottom: var(--border) !important;
  color: inherit !important;
  padding : 0 !important;
  padding-top : .5rem !important;
  padding-bottom : .5rem !important;
  margin : 0 !important;
  height: inherit !important;
  color: inherit !important;
  font-weight: 200 !important;
  font-size: inherit !important;
}

.tnp-subscription input[type="submit"]{
  border: none !important;
  width: 100% !important;
  text-align: left !important;
}

.tnp-subscription input[type="submit"]:hover{
  background-color: var(--color-gris) !important;
}

.tnp-field input[type="submit"]{
  width: fit-content !important;
}


@media only screen and (max-width: 800px){

  .page-template-modele2 > main > .page-content{
    margin-top: .5rem;
  }

  .page-template-modele2 > main > .sous-titre{
    display: none;
  }

  .tnp-subscription input[type="text"], .tnp-subscription input[type="email"], .tnp-subscription input[type="submit"], .tnp-subscription select{
    background-color: rgba(0, 0, 0, .1) !important;
    padding: 1em !important;
    border-radius: .25rem;
    border: none ! important;
  }

  .tnp-subscription label{
    display: none !important;
  }
}

/****************************/
/****** GALERIE *************/

.galerie{
  margin: 0;
  padding: 0;
  list-style: none;
  
}

.galerie > li:not(:last-child){
  margin-bottom: 1em;
}

@media only screen and (min-width: 800px) {
  .galerie{
    display: grid;
    gap: 1em;
  }

  .galerie > li:not(:last-child){
    margin-bottom: 0;
  }

  .galerie:not(.galerie-homepage, .galerie-actu) img{
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    max-height: 70vh;
  }

  /* Sélecteur conditionnel pour Safari */
  @media not all and (min-resolution: .001dpcm) {
    @media {
      .galerie:not(.galerie-homepage, .galerie-actu) li{
        display: grid;
        align-items: stretch;
      }
      .galerie:not(.galerie-homepage, .galerie-actu) img{
        min-height: auto;
      }
    }
  }
}

.slick-track
{
    display: flex !important;
}

.galerie-homepage .slick-slide
{
    height: inherit !important;
    display: flex !important;
}

.slick-slide{
 height: inherit !important;
}

.galerie-homepage > li > img{
  min-height: 100%;
  objectf-fit: cover;

}

.galerie-homepage img{
  }

.galerie-homepage__ordinateur{
  display: none;
}

@media only screen and (min-width: 1200px) {
  .galerie-homepage__mobile{
    display: none;
  } 
  .galerie-homepage__ordinateur{
    display: flex;
  }
}

.slick-slide img{
  object-fit: cover;
  min-width: 100%;
}

/* galerie oeuvres */

.galerie-oeuvres{
  margin-top: 1em;
}

.galerie-oeuvres:first-child{
  margin-top: 0em;
}

.galerie-oeuvres > li{
  overflow: hidden;
  border-radius: .25rem;
}

.galerie-oeuvres > li > a{
  /*display: grid;
  align-items: end;*/
  position: relative;
  display: block;
}

.galerie-oeuvres > li > a figure{
  position: relative;
  width: 100%;
  padding-top: 66.67%;
  margin: 0;
}

.galerie-oeuvres > li > a:hover{
  text-decoration: none;
}

.galerie-oeuvres > li > a > *{
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

.galerie-oeuvres__items__title{
  color: white;
  text-transform: uppercase;
  font-size: 2em;
  font-weight: 300;
  margin: .5rem;

  position: absolute;
  bottom: 0%;
  z-index: 2;
  text-shadow: 1px 1px 10px black;
}

.galerie-oeuvres > li img, .galerie-oeuvres > li video{
  transition: .3s ease-out;
  position: absolute;
  top: 0;
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
}

.galerie-oeuvres > li:hover img, .galerie-oeuvres > li:hover video{
  transform: scale(1.005);
  z-index: -1;
}

@media only screen and (min-width: 800px) {
  .galerie-oeuvres{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 1em;
  }

  .galerie-oeuvres > li{
    border-radius: 0rem;
  }

  .galerie-oeuvres__items__title{
    font-size: 3em;
    margin: 2rem 4em 2rem 2rem;
  }

}

@media only screen and (min-width: 1000px) {
  .galerie-oeuvres__items__title{
    font-size: 4em;
  }
}

/***********************/
/******** ACTU *******/
/**********************/

/*.archive-actu{
  list-style: none;
  margin: 0;
  padding: 0;
}*/

.homepage__h3{
  margin-bottom: 2rem;
}

.archive-actu__homepage{
  
}

/*.archive-actu__homepage .archive-actu{
 display: flex;
 overflow: scroll;
 scroll-snap-type: x mandatory;
}

.archive-actu__homepage .archive-actu {
    scrollbar-width: none;
}
.archive-actu__homepage .archive-actu::-webkit-scrollbar { 
    display: none;
}


.archive-actu__homepage .archive-actu img{
  display: block;
  border-radius:.25rem;
  height: 30em;
  border: dashed 3px black;
  margin: 10px;
  scroll-snap-align: center;
}

.archive-actu__homepage .archive-actu img:not(:first-child){
  margin-left: 1em;
}*/

.homepage__archive-actu img{
  border: solid 3px black;
  padding: 3px;
}


.archive-actu h3{
  font-weight: inherit;
  font-size: 1.5em;
  margin: 0;
  text-transform: uppercase;
}

.archive-actu time{
  font-size: 1em;
  margin-top: .5em;
  display: block;
}

.archive-actu__item{
  display: grid;
  grid-template-columns: 1fr;

  margin-top: 1em;

  scroll-padding-top: 3em;
}

.archive-actu__item > *:not(.first-child){
  padding-top: 1rem;
}

.archive-actu__item:not(:first-child){
  margin-top: 5em;
}

.archive-actu__item.closed > *:nth-child(n + 4){
  display: none;
}

/*.archive-actu__item{
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' width='20px' height='20px' viewBox='0 0 100 100' enable-background='new 0 0 100 100'%3E%3Cline fill='none' stroke='%23000000' stroke-width='5' x1='5' y1='4.5' x2='95' y2='94.5'/%3E%3Cline fill='none' stroke='%23000000' stroke-width='5' x1='5' y1='94.5' x2='95' y2='4.5'/%3E%3C/svg%3E"), pointer;
}*/

/*.archive-actu__item.closed{
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' enable-background='new 0 0 100 100' xml:space='preserve' width='20px' height='20px'%3E%3Ccircle stroke='%23000000' fill='transparent' stroke-width='5' cx='50' cy='50.5' r='45'/%3E%3C/svg%3E%0A"), pointer;
}*/

.archive-actu__item > *:not(h2, .archive-actu__item > time){
  cursor: auto;
}

.archive-actu__item > time{
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.archive-actu__item > .lieu{
  padding-top: 0;
  padding-bottom: .5em;
}

.archive-actu__item h2{
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  padding: 0;
}

.archive-actu__item > .sur-titre{
  border-bottom: var(--border);
  padding-bottom: 1em;
  font-weight: 700;
}

.archive-actu__item > .sous-titre{
}

.archive-actu__item > img{
  padding-right: 1em;
}

.archive-actu__item__texte{
  text-align: justify;
}

.archive-actu__item__site-web{
  text-decoration: underline;
}

.archive-actu__item__galerie{
}

.archive-actu__item__galerie > ul{
    display: flex;
    flex-wrap: wrap;
}

.archive-actu__item__galerie > ul > li{
  height: 3em;
  cursor: pointer;
  opacity: .8;
}

.archive-actu__item__galerie > ul > li:not(:last-child){
  margin-right: .25em;
  margin-bottom: .25em;
}

.archive-actu__item__galerie > ul > li.selected{
  opacity: 1;
}


@media only screen and (min-width: 800px) {
  .archive-actu__item{
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "date sur-titre lieu" ". sous-titre sous-titre" ". image texte" ". image lien" ". image galerie";
    grid-template-rows: auto auto auto auto 1fr;
    margin-top: 5em;
  }

  .archive-actu__item:first-child{
    margin-top: 2em;
  }

  .archive-actu__item > time{
    border-bottom: var(--border);
    grid-area: date;
  }

  .archive-actu__item > .lieu{
    padding-top: 1em;
    padding-bottom: 1em;
    grid-area: lieu;
    border-bottom: var(--border);
    text-align: right;
  }

  .archive-actu__item > .sur-titre{
    grid-area: sur-titre;
  }

  .archive-actu__item > .sous-titre{
    grid-area: sous-titre;
  }

  .archive-actu__item > img{
    grid-area: image;
  }

  .archive-actu__item__texte{
    grid-area: texte;
  }

  .archive-actu__item__site-web{
    grid-area: lien;
  }

  .archive-actu__item__galerie{
    grid-area: galerie;
  }

  .archive-actu__item__galerie > ul{
    gap: 0;
  }

  .archive-actu__item__galerie > ul > li{
    height: 4em;
  }
}

/**************************/
/******* EVENEMENTS *****/
/**************************/

.archive-evenements{
  margin-top: 2em;
  position: relative;
}


.archive-evenements__item{
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 1fr 1fr;
  padding-bottom: .25em;
  padding-top: .25em;
  column-gap: 2em;
  cursor: pointer;
  position: relative;
}

.archive-evenements__item:first-child{
  margin-bottom: 1em;
  cursor: initial;
  border-bottom: var(--border);
}

.archive-evenements__item:hover::after{
  content: '';
  border-bottom: var(--border);
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.archive-evenements__item:first-child:after{
  width: 0;
}

.archive-evenements__item > *{
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  color: rgba(0, 0, 0, 0.8);
}

.archive-evenements__item h2{
  font-weight: 400;
  color: black;
}

.archive-evenements__item .pays{
  justify-self: right;
}

.galerie-evenements{
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999999999999;
  grid-area: none !important;
  background-color: rgb(255, 255, 255);
  padding: 5em;
  grid-template-rows: 1fr auto;
  grid-template-columns: auto auto auto auto auto auto auto auto auto 1fr;
}

.galerie-evenements svg{
  position: absolute;
  top: 1em;
  right: 1em;
}

.galerie-evenements > li{
  height: 100% !important;
  width: 100% !important;
}

.galerie-evenements > li:first-child{
  grid-column: 1 / 11;
}

.galerie-evenements > li:not(:first-child){
  
}

.galerie-evenements > li:not(:first-child) img{
  max-height: 3em !important;
  min-width: auto !important;
  min-height: auto !important;
}

.galerie-evenements > li img{
  object-fit: contain !important;
}


/************************/
/******** STORE ********/
/***********************/

.pswp *:empty{
  display: none !important;
}

.store__h2{
  margin: 0;
}

.store__h2:not(:first-child){
  margin-top: 2em;
}

.store__h2-sous-titre{
  font-weight: 0;
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
}

.produit{
  margin-top: 1em;
  margin-bottom: 1em;
  display: grid;
  gap: 1em;
}

.produit_title{
  margin: 0;
}

.produit__image{
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.produit__add-to-cart{
  background-color: black;
  color: white;
  text-align: center;
  padding: .5em 1em .5em 1em;
}

.produit__add-to-cart:hover, .produit__add-to-cart:focus{
  color: white;
  text-decoration: none;
}

.aquision-oeuvres-originales{
  text-align: center;
  max-width: initial;
  font-size: .9em;
  margin-top: 4em;
  font-style: italic;
}

@media only screen and (min-width: 800px) {
  .produit{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto 1fr;
  }

  .produit__image{
    grid-column: 1 / 2;
    grid-row: 1 / 5;
  }

  .produit__add-to-cart{
     grid-row: 3 / 4;
     justify-self: left;
     padding-left: 4em;
     padding-right: 4em;
  }
}

.woocommerce-notices-wrapper{
  margin-top: .5em;
}

.woocommerce-message{
  margin-bottom: 1em;
  border-top: var(--border) !important;
  background-color: var(--color-gris) !important;
}

.woocommerce-message::before{
  color: black !important;
}

.woocommerce-message{
  border-top: var(--border) !important;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message{
  background-color: var(--color-gris) !important;
}

.woocommerce-message::before{
  color: black;
}

a.button{
  color: black !important;
  background-color: var(--color-gris) !important;
}

a.checkout-button{
  color: white !important;
  background-color: black !important;
  font-size: .9em !important;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment{
  background-color: var(--color-gris) !important;
}

.woocommerce-info::before{
  color: black !important;
}

.woocommerce-info{
  border-top: var(--border);
}

#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods{
  border-bottom: var(--border);
}

.woocommerce-terms-and-conditions-wrapper{
  margin-bottom: 1em !important;
}

.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{
  color: black !important;
  background-color: white !important;
  border: var(--border);
  font-weight: inherit;
  font-size: x-small !important;
  width: fit-content;
  margin-top: 1em;
  transition: .3s;
}

.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover{
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.woocommerce-error{
  border-top: var(--border);
}

.woocommerce-cart-form{
  max-width: initial;
}

.woocommerce-cart-form *, .cart-collaterals *{
  font-size: inherit !important;
  font-weight: inherit !important;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals{
  width: initial;
  float: initial;
}

.product .cart{
  margin-top: 1em !important;
  display: flex;
  flex-direction: column;
}


@media only screen and (min-width: 800px) {
  .wc-proceed-to-checkout{
    width: fit-content !important;
  }
}

/***********************/
/******* PRODUIT *****/
/*********************/

.product{
  display: grid;
  gap: 1em;
  margin-top: 0em;
  align-items: start;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-width: 800px) {
  .product{
    gap: 3em;
  }
}

.product > *{
  margin: 0 !important;
  width: auto !important;
}

.woocommerce div.product p.price, .woocommerce div.product span.price{
  color: inherit !important;
  font-size: inherit !important;
  margin-top: .5rem !important;
}

.store__main{
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
}

.nav__store{
  display: flex;
  color: rgba(0, 0, 0, 0.8);
  font-size: medium !important;
  font-weight: 200;
  justify-content: left;
}

.nav__store > li{
  position: relative;
  cursor: pointer;
}

.nav__store > li:not(:first-child){
  margin-left: .5em;
}

.nav__store li:not(:first-child)::before{
  content: '|';
  left: 0;
  top: 0;
  margin-right: .5em;
}

.product_cat{
  max-height: 30vh !important;
}

    .woocommerce-product-gallery__image img{
      object-fit: contain !important;
    }

.product_cat:not(.selected){
  display: none;
}

.summary{
  display: grid;
  gap: 0em;
  grid-template-rows: auto auto auto auto;
  font-size: small !important;
  font-weight: 200;
  border-left: var(--border);
  padding-left: 1em;
  color: rgba(0, 0, 0, 0.8);
  border-color: rgba(0, 0, 0, 0.8);
  justify-self: left;
}

.summary h1{
  font-size: inherit;
  font-weight: inherit;
  font-weight: bold;
  color: black;
  margin-bottom: .5rem !important;
}

.summary .price{
  grid-row: 3 / 4;
}

.summary > *{
  margin: 0 !important;
}

.woocommerce div.product form.cart{
  margintop: 1em;
}

.pswp__bg{
  background-color: white !important;
}

.pswp__button{
  filter: invert(1) !important;
}

.pswp__caption{
  display: none;
}

.pswp__caption__center{
  color: black !important;
}

.pswp__ui--fit .pswp__caption, .pswp__ui--fit .pswp__top-bar{
  background-color: white !important;
}

.product-thumbnail{
  display: flex;
  justify-content: center;
  margin-top: 1em;
  height: 4em;
  margin-bottom: 2em !important;
}

.product-thumbnail > *{
  height: 4em;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.8;
  transition: .2s;

}

.product-thumbnail > *:first-child:nth-last-child(1) {
/* -or- li:only-child { */
    display: none;
}

.product-list{
  display: grid;
  grid-template-columns: 1fr;
}

.product-list > *{
  width: 100%;
}

.woocommerce-notices-wrapper{
  grid-row: 1 / 2;
  grid-column: 1 / 2;
}

.product{
  grid-row: 2 / 3;
  grid-column: 1 / 2;
}

.product{
  display: none;
}

.product.is-selected{
  display: grid;
}

.product-thumbnail > *:hover{
  opacity: 1;

}

.product-thumbnail > *:not(:first-child){
  padding-left: .5em;
}

.woocommerce div.product div.images.woocommerce-product-gallery{
  
}


@media only screen and (min-width: 800px) {
  .product{
    grid-template-columns: auto auto;
    justify-items: right;

    max-width: 1000px;
  }

  .product_cat{
    max-height: 80vh;
  }

  .woocommerce div.product div.images.woocommerce-product-gallery{
    justify-self: right;
  }

    .woocommerce-product-gallery__image{
      max-width: auto;
      height: max(200px, 65vh);
    }
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1, .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2{
  width: 100% !important;
}

.woocommerce-billing-fields h3:first-child{
  margin-top: 0 !important;
}

#ship-to-different-address{
  font-size: inherit !important;
}

.woocommerce-thankyou-order-received{
  display: none !important;
}

.woocommerce ul.order_details{
  padding: 0 !important;
}

button[type="submit"]{
  padding: .618em 1em .618em 1em !important;
}

#stripe-card-element{
  padding: 1em !important;
  border-radius: 1em !important;
}

.woocommerce-pagination{
  display: none;
}

/***********************/
/******** GIVE *********/
/***********************/

.give_error::before, .give_notice::before{
  width: fit-content !important;
  margin-bottom: 1em !important;
  color: white !important;
  padding: 1em !important;
  border-radius: .25rem !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  height: 100% !important;
}

/***********************/
/******* FOOTER *****/
/*********************/

footer{
  margin-top: .5em;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1em;
  align-items: center;
  margin-bottom: .5em;
  flex-grow: 1;
  align-items: end;
  font-size: 1.2em;
  display: none;
  margin-bottom: 2em;
}

.home footer{
  display: grid;
}

@media not all and (min-resolution:.001dpcm) { 
  /* Safari 9.0+ */
  @supports (-webkit-appearance:none) {
    /* Safari 10.1+ */
    footer {
      max-height: 2em; /* remplacez par la valeur souhaitée */
    }
  }
}

.copyright{
  font-size: .8em;
  justify-self: right;
}

@media only screen and (min-width: 800px) {
  footer{
    margin-bottom: .75rem;
  }
}


/****** COLOR *******/


.has-blanc-color{
  color:white !important;
}

.has-noir-color{
  color:black !important;
}

.has-blanc-background-color{
  background-color:white !important;
}

.has-noir-background-color{
  background-color:black !important;
}

/**********************/
/******* CUSTOMS STYLES ********/
/*********************/


.page-id-50 p{
  text-align: justify;
}










