/* 
Theme Name: CW Paturages Comtois
Version: 1.0 
Description: Thème
Author: Codeway
*/
/* ==== RESET CSS MODERNE ==== */

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

/* Enlève les marges/paddings par défaut */
body,
h1, h2, h3, h4, h5, h6,
figure,
blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

/* Liste sans style */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Suppression des décorations de liens */
a {
  text-decoration: none;
  color: inherit;
}

/* Inherit font for form elements */
input, button, textarea, select {
  font: inherit;
}

/* Suppression des bordures des boutons */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Smoother rendering */
body{
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
  background-color: #F4F4F4 ;
}
body.single-fromages{
  background-color: #fff;
}

.container{
  width: 100% !important;
}

.violet{
  color:#0082c9 ;
}

/* Images et médias responsives */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Enlève l’outline sauf au focus clavier (accessibilité) */
:focus:not(:focus-visible) {
  outline: none;
}

.row{
  margin-left:0;
  margin-right:0;
}
.row .row{  
  margin-right: -.5rem;
  margin-left: -.5rem;
}

header{
  background:#fff;
}
img {
max-width: 100%;
height: auto;
display: block;
}
@media \0screen {img { width: auto !important }} 

body {
  font-family: "Jost", sans-serif;
  margin: 0;
  color: #000;
}
header {
  color: #000;
  padding: 2rem 1rem;
  text-align: center;
}
header ul{
  margin: 0;
}
header ul.nav-menu-header li{
  position: relative;
  display: block;
  margin:20px 40px;
}
header ul.nav-menu-header li a{
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-decoration: none !important;
  text-transform: uppercase;
  color: #fff;
  font: normal normal bold 20px/1.2em 'Barlow Condensed';
}

header ul.nav-menu-header li a:after{
  content:"";
  position: absolute;
  top: 0px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 0px);
  z-index: -1;
  display: inline-block;
  background-color: #0082c9; /* bleu similaire */
  color: white;
  font-weight: bold;
  font-family: sans-serif;
  padding: 10px 20px;
  font-size: 18px;
  text-transform: uppercase;
  transform: rotate(-2deg) skewX(-10deg);
}

header ul.nav-menu-header li ul{
  display: none;  
  left: 0;
  width: 100%;
  text-align: left;
  padding:10px 0 20px;
}
header ul.nav-menu-header li ul li{
  display: block;
  text-align: center;
  margin:0 0 0px;
  padding:3px 0;
}
li.reservation ul.sub-menu{
  padding-top: 0;
}


header ul.nav-menu-header li ul li a{
  color: #0082c9;
  font: normal normal bold 18px/22px Barlow Condensed;
  white-space: nowrap;
}
header ul.nav-menu-header li ul li a:after{
  background:#fff;
}
header ul.nav-menu-header li ul li:nth-child(3) a:after{
  margin-left: 4px;
  transform: rotate(-1deg) skewX(-15deg);
}

header ul li.showsubmenu ul{
  display: block;
}

header #menu-item-28::after {
  display: none;
  content: "▾"; /* petite flèche */
  position: absolute;
  right: -54px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #0082c9;
  font-size: 45px;
}

.section {
  padding: 20px 20px;
}
h1, h2, h3 {
  margin-top: 0;
}

.btn {
  background: #0082c9 0% 0% no-repeat padding-box;
  opacity: 1;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
}
.single-recettes{
  background-color: #fff;
}
.single-recettes h1{
  margin: 40px 0 80px;
}
.single-recettes .informations{
  padding:30px 0;
  margin:0 0 20px;
  border-bottom:1px solid #0082c9;
  color: #2184C4;
  font: normal normal normal 18px/22px 'Barlow Condensed';
  font-weight: bold;
}
.single-recettes .informations table td{
  display: block;
  vertical-align: middle;
  padding: 0 20px;
}
.single-recettes .informations i{
  margin: 0 10px 0 0;
}
.single-recettes .informations i svg{
  position: relative;
  top: 2px;
  display: inline-block;
}
.single-recettes .informations .ic{
  display: flex;
  align-items: center;
}
.single-recettes .preparation{
  margin:20px 0 20px;
  padding:30px 0;
  border-top:1px solid #0082c9
}
.single-recettes .h2{
  margin:0 0 20px
}
.single-recettes main ul li{
  position: relative;
  padding-left: 18px;
}
.single-recettes main ul li::before{
  background: none;
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: #0082c9;
  border-radius: 50%;
}

.section-fromages a{
  display: block;
  background: #fff;
  text-align: center;
  margin:0 0 40px;
  padding:40px 0 60px;
}
.section-fromages .discover{
  transform: translate(0, 50%);
}

.listing-recettes{
  padding: 90px 0 0;
}
.listing-recettes h2{
  color: #000;
  padding:20px 10px;
}
.listing-recettes .fromage-item{
  padding-top:0;
}

.fromage-item .bottom{
  padding: 20px 0 0;
}

.fromage-item h2{
  text-transform: uppercase;
  font-weight: normal;
  font: normal normal bold 24px/1.2em 'Barlow Condensed';
}
.fromage-item i{
  font-style: normal;
  font-weight: normal;
}
.fromage-item .meta{
  font: normal normal normal 18px/1.2em 'Barlow Condensed';
  margin:10px 0;
}
.fromage-item.bio .img-c:after{
  content:"";
  position: absolute;
  top: -40px; right: 0;
  background:url(img/bio.png);  
  width: 76px;height: 51px;
  background-size: cover;
}


.container{
  max-width: 1400px;
  margin: 0 auto;
}

header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}
.slidertop{
  position: relative;
  height: 90vh;
  overflow: hidden;
}
.slidertop.mini{
  height: 30vh;
  min-height:400px;
}
.slidertop .s{
  position: relative;
  background-position: center center !important;
  height: 100%;
  background-size: cover;
}
.slidertop i{
  position: absolute;
  width: 100%; height:70%;
  bottom: 0; left: 0;
  background: #000000;
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  mix-blend-mode: multiply;
  opacity: 0.65;
}
.slidertop .t{
  position: absolute;
  color: #fff;
  font-size: 4vw;
  top: 50%;left:50%;
  text-align: center;
  width: 100%;
  transform: translate(-50%,-50%);
  z-index: 2;
  font-weight:bold;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
}
.slidertop .t strong{
  font-weight:bold;
  font-size:7vw;
  line-height: 7vw;
  font-family: 'Barlow Condensed';
}
.slidertop .slick-list,
.slidertop .slick-track{
  height:100%;
}
.footer-legal{
  font-size: 14px;
  text-align: center;
}

header .logo{
  position: relative;
  display: inline-block;
  top: 24px;
  width: 200px;
  margin-bottom: 20px;
}
header .logo:after{
  display: none !important;
}

/*
header .logo{
  position: absolute;
  left: 40px; top: 130px;
  transform: translate(0%,0);
  display: inline-block;
  width: 200px;
  z-index: 12;
}
header .logo img{
  width:100%;
}*/

header .right-menu{
  position: absolute;
  right: 20px;
  top:21px;
  font-size: 14px;
}

header .right-menu > *{
  margin:0 50px 0 0;
  color: #2184C4;
  font-weight:bold;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
}
header .wpml-language-switcher{
  display: inline-block;
  list-style: none;
  margin:0; padding:0;
}
header .wpml-language-switcher li{
  display: inline-block;
  margin-left: 20px;
}
header .wpml-language-switcher li:nth-child(1){
  margin-left: 0px;
}
header .wpml-language-switcher li span{
  opacity: .4;
}

header ul.nav-menu-header li ul{
  margin:0;
  z-index: 100;
}
header ul.nav-menu-header li:hover ul{
  display: block;
}

h1{
  color: #0082c9;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 40px;
  letter-spacing:0.1em;
  padding:30px;
  line-height: 1em;
  font-weight: bold;
}


h2,.h2{
  color: #0082c9;
  font-size: 27px;
  font-weight: 700;
}

h2.mini,.h2.mini{
  font-size: 24px;
  font-weight: 600;
}

.espaceclientfixed{
  display: none;
  position: fixed;
  right: 0; top: 20px;
  transform: rotate(-90deg);
  transform-origin: 100% 100%;
  background-color: #2184C4;color: #fff;
  text-align: left;
  padding:10px 20px;
  text-transform: uppercase;
  font: normal normal bold 28px/34px Barlow Condensed;
}

.menumobile{
  background: #fff;
  height: 100dvh;
  width:100%;
  position: fixed;
  top: 0;left:0;
  z-index: 100;
  color: #0082c9;
  font-size: 16px;
  display: none;
  z-index: 200;
}
.menumobile .logomobile{
  top: 44px; left:24px;
}
.menumobile .logo svg path{
  fill:#000 !important;
}
.menumobile ul{
  list-style: none;
}
.menumobile ul ul{
  font-size: 15px;
}
.menumobile .submenucontainer a{
  padding: 0;
}
.menumobile ul li{
  position: relative;
  margin:5px 0;
  display: block;
}

.menumobile .logomobile{
  display: block;
}
.menumobile .logodesktop{
  display: none;
}

.menumobile a{
  display: inline-block;
  padding: 15px 0;
  color: #fff;
  font-weight: bold;
  text-decoration: none !important;
  white-space: nowrap;
}
.menumobile .main-menu{
  position: absolute;
  right: 33.33%;top: 50%;
  transform: translate(0%,-50%);
  -webkit-transition: all 0.9s;    -moz-transition: all 0.9s;    -o-transition: all 0.9s;    -ms-transition: all 0.9s;    transition: all 0.9s;
}
.menumobile ul li ul{
  display: block !important;
  position: relative;
  padding-top: 0;
}

.menumobile ul li ul a{
  font-weight: normal;
  border-bottom:1px solid #0082c9;
  padding: 8px 0;
}

.menu-desktop{
  display: none;
}

.resamobile{
  position: absolute;
  margin: 0;
  padding: 0;
  right: 20px; top: 20px;
  z-index: 300;
}
.resamobile li{
  margin:0;
}

.menuburger{
  position: absolute;
  width:20px;
  height: 15px;
  top: 26px; left: 20px;
  cursor: pointer;
  z-index: 300;
}
.menuburger i{
  display:block;
  position: absolute;
  top:0;
  width:100%;height: 1px;
  background:#0082c9 !important;
  transform: rotate(-4deg) translate(0,-50%);
  -webkit-transition: all 1s;    -moz-transition: all 1s;    -o-transition: all 1s;    
  -ms-transition: all 1s;    transition: all 1s;
}
.menuburger i:nth-child(1){
  top:50%;
}
.menuburger i:nth-child(2){
  top:100%;
}
html.showmenu .menumobile{
  display:block;
  top:-100%;
  
  -webkit-transition: all 0.9s;    -moz-transition: all 0.9s;    -o-transition: all 0.9s;    -ms-transition: all 0.9s;    transition: all 0.9s;
}
html.showmenuanim .menumobile{
  display:block;
  top:0%;
}
html.showmenuanim #primary{
  pointer-events: none;
  opacity: 0;
  -webkit-transition: all 0.1s;    -moz-transition: all 0.1s;    -o-transition: all 0.1s;    -ms-transition: all 0.1s;    transition: all 0.1s;
}

html.showmenu .menuburger i{
  background-color: #0082c9;
}
html.showmenu .menuburger i:nth-child(1){
  top:50%;
  transform: rotate(45deg) skewX(0deg) translate(0,-50%);
}
html.showmenu .menuburger i:nth-child(2){
  opacity: 0;
  top:50%;
  transform: rotate(0deg) skewX(0deg) translate(0,-50%);
}
html.showmenu .menuburger i:nth-child(3){
  top:50%;
  transform: rotate(-45deg) skewX(0deg) translate(0,-50%);
}

html.showmenu{
  overflow-y: hidden;
}

.menu-menu-top-container{
  position: absolute;
  top: 50%;
  transform: translate(0,-50%);
  left: 0;
  width: 100%;
  text-align: left;
}


/*Produit */
.main-infos{
  border-top: 1px solid #0082c9;
  border-bottom: 1px solid #0082c9;
  padding:20px 0;
  margin:20px 0;
}

main{
  padding:60px 0 0;
}

/* Ajout d'un dÃ©lai pour chaque Ã©lÃ©ment */
/*
.menumobile li:nth-child(1) {
  transition-delay: 0s; 
}
.menumobile li:nth-child(2) {
  transition-delay: 0.2s; 
}
.menumobile li:nth-child(3) {
  transition-delay: 0.4s; 
}
.menumobile li:nth-child(4) {
  transition-delay: 0.6s; 
}
.menumobile li:nth-child(5) {
  transition-delay: 0.8s; 
}
.menumobile li:nth-child(6) {
  transition-delay: 1s; 
}
.menumobile li:nth-child(7) {
  transition-delay: 1.2s; 
}
*/

.menumobile li{
  opacity: 0;
  /*
  transform: translate(-40%,0%);
  */
  -webkit-transition: all 0.9s;    -moz-transition: all 0.9s;    -o-transition: all 0.9s;   
   -ms-transition: all 0.9s;    transition: all 0.9s;
}
  
html.showmenuanim2 .menumobile li{
  opacity: 1;
  transform: translate(0%,0%);
}

.showdesktop{
  display: none;
}

.home-atelier{
  padding:0px 40px;
}
.home-atelier .h2{
  margin-top: 90px;
}

.home-atelier .h2 span{
  position: relative;
  font: normal normal bold 33px/1.2em 'Barlow Condensed';
  font-weight: 300;
  text-transform: uppercase;
}
.home-atelier .h2 strong{
  position: relative;
  font: normal normal bold 33px/1.2em 'Barlow Condensed';
  text-transform: uppercase;
}

.home-atelier .h2 span:after{
  content:"";
  position: absolute;
  top: -5px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 10px);
  z-index: -1;
  display: inline-block;
  background-color: #fff;
  color: #0082c9;
  font-weight: bold;
  font-family: sans-serif;
  padding: 10px 20px;
  font-size: 18px;
  text-transform: uppercase;
  transform: rotate(-2deg) skewX(-10deg);
}

.home-atelier .h2 strong:after{
  content:"";
  position: absolute;
  top: -5px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 10px);
  z-index: -1;
  display: inline-block;
  background-color: #fff;
  color: #0082c9;
  font-weight: bold;
  font-family: sans-serif;
  padding: 10px 20px;
  font-size: 18px;
  text-transform: uppercase;
  transform: rotate(-2deg) skewX(-10deg);
}
.padding-top-0{
  padding-top: 0;
}

.bggrey{
  background: #f4f4f4;
}
.bgwhite{
  background:#fff;
}

.bloc-container{
  padding:0px 0px;
}
.bloc-container .c{
  padding:30px 20px;
}

.bigtitle{
  position: relative;
  font: normal normal normal 42px/1.2em 'Barlow Condensed';
  color: #0082c9;
  text-transform: uppercase;
  padding: 0 0 20px;
}
.bigtitle:after{
  content:"";
  position: absolute;
  height: 7px;
  background:#65a931;
  width: 30%;
  bottom: 0; left: 0;
}

.filters{
  color:#0082c9;
  font: normal normal bold 20px/1.2em 'Barlow Condensed';
  padding: 60px 0 80px 0;
}
.filters .select-wrapper{
  margin:0 20px;
}
.filters .t{
  display: block;
  margin:0 20px 20px;
}
.select-wrapper {
  position: relative;
  display: inline-block;
}
.filters .valider{
  display: inline-block;
  background-color: #0082c9;
  color: white;
  font-weight: bold;
  font-family: sans-serif;
  padding: 10px 20px;
  font-size: 18px;
  text-transform: uppercase;
  cursor: pointer;
  margin:0 20px;
}

.ingredients{
  padding: 0 0 40px;
}
.ingredients .t{
  color: #0082c9;
  font-size: 16px;
  font-weight: bold;
  margin:20px 0 8px;
}

.select-wrapper::after {
  content: "▾"; /* petite flèche */
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #0082c9;
  font-size: 45px;
}

.select-wrapper select {
  appearance: none;
  border: none;
  border-radius: 0;
  padding: 10px 50px 10px 12px;
  font-size: 16px;
  background-color: #fff;
  cursor: pointer;
  color:#0082c9;
  font: normal normal bold 20px/1.2em 'Barlow Condensed';
}
select {
  font: normal normal bold 20px/1.2em 'Barlow Condensed';
}

.nos-recettes{
  padding: 0 0 100px;
}

.single-fromages .img-c{
  position: relative;
  text-align: center;
}
.single-fromages .img-c:after{
  content:"";
  position: absolute;
  height: 4px;width: 100%;
  bottom: 0; left: 0;
  background-color: #fff;
}
.single-fromages .img-c img{
  max-width: 600px;
  margin:0 auto;
}
.slidertop.titleleftbig .t{
  top: auto;
  bottom: 40px; left: 0;
  transform: none;
}
.titleleftbig .title{
  padding-left: 20px;
  text-align: left;
  font-size: 40px;
  font-family: Barlow Condensed;
  line-height: .92em;
}
.titleleftbig .title h1{
  color: #fff;
  text-align: left;  
  font-size: 9vw;
  font-family: Barlow Condensed;
  line-height: .92em;
}

main ol{
  padding: 0 0 0 20px;
}
main ol li::marker {
  color: #0082c9;
  font-weight: bold;
}

.withlinks a{
  text-decoration: underline;
}
.withlinks a[href$=".pdf"] {
  position: relative;
  padding-right: 20px;
}

.withlinks a[href$=".pdf"]:after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23c00' viewBox='0 0 24 24'><path d='M6 2a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V8l-6-6H6zm7 1.5L18.5 9H13V3.5zM8 11h3c.6 0 1 .4 1 1v1c0 .6-.4 1-1 1H9v3H8v-6zm4 0h2.5c.6 0 1 .4 1 1v4c0 .6-.4 1-1 1H12v-6zm1 1v4h1.5v-4H13z'/></svg>") no-repeat center center;
  background-size: contain;
  margin-left: 4px;
  vertical-align: middle;
}

.refresh-listing-c{display: block;padding:20px 0 0}


.files-c{
    margin-bottom: 70px;
}
.files-c .file{
    background-color: #fff;
    margin:20px 0;
}
.files-c .file .t{
    display: block;
    font-size: 1em;
    line-height: 1.2em;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}
.files-c .file .date{
    display: block;
    font-size: .8em;
    color:#6f707b;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.files-c .file{
    display: flex;
    align-items: center;
    text-decoration: none;
    text-align: left;
    transition: all 0.2s;
}
.files-c .file:hover{
    background-color: #e5e5e5;
}
.files-c .file .c1{
    padding:10px;
}
.files-c .file .c2{
    padding:10px; flex: 1 1 auto; min-width: 0;
}
.files-c .file .c3{
    padding:10px;  min-width: 48px;
    flex: 0 0 50px;
    width: 50px;
}

.menudownload{
    position: relative;
    width: 100%;max-width:28px;height: 30px;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s;
}
.menudownload.specif{
    position: absolute;
    top: 17px;right: 17px;
}
.menudownload:hover{
    background-color: #e5e5e5;
}
.menudownload i{
    transform:translate(0,-50%);
}
.menudownload i:nth-child(1){
    position: absolute;
    width: 4px;height: 4px;
    top: 50%; left: 6px;
    background-color: #000;
}
.menudownload i:nth-child(2){
    position: absolute;
    width: 4px;height: 4px;
    top: 50%; left: 12px;
    background-color: #000;
}
.menudownload i:nth-child(3){
    position: absolute;
    width: 4px;height: 4px;
    top: 50%; left: 18px;
    background-color: #000;
}

.submenudownload{
    position: absolute;
    top: 100%;left: 0;
    margin:10px 0 10px;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 2px;
    box-shadow: 0px 0px 2px rgba(0,0,0,.1);
    z-index: 50;
    display: none;
}
.submenudownload a{
    position: relative;
    display: block;
    text-decoration: none !important;
    color:#000;
    background: #fafafa;
    padding:8px 20px;
}
.submenudownload a:hover{
    background-color: #f4f4f4;
}

.submenudownload a:after{
    content:"";
    position: absolute;
    left: 50%;
    top:-1px;
    transform: translate(-50%,0);
    height: 2px; width: 90%;
    background:url(img/dot.webp) repeat-x;
}
.submenudownload a:first-child:after{
    display: none;
}
.menudownload.show .submenudownload{
    display: block;
}
.center-all{
    text-align: center !important;
}

@media (min-width: 768px) {
  .single-recettes .informations table td{
    display: table-cell;
  }
}

@media (min-width: 960px) {
        
  .home-atelier{
    padding:90px 0 0;
  }

  .home-atelier .h2{
    margin-top: 0px;
  }

  .home-atelier .h2 strong{
    font: normal normal bold 39px/42px 'Barlow Condensed';
  }
    
  .logo{
    margin: 0;
  }
  
  header ul.nav-menu-header li a:after{
    top: -5px;
    height: calc(100% + 10px);
  }


  .filters .t{
    display: inline;
    margin:0 20px 0 0;
  }
    
  .refresh-listing-c{display: inline;padding:0}
  .bloc-container .c{
    padding:60px 20px;
  }

  .slidertop .t{
    font-size: 2vw;
  }
  .titleleftbig .title{
    padding-left: 0px;
    font-size: 78px;
  }
  .titleleftbig .title h1{
    font-size: 78px;
  }
  .menuburger{
    display: none;
  }
    
  .espaceclientfixed{
    display: block;
  }
    
  main{
    padding:130px 0 0;
  }
  .showdesktop{
    display: block;
  }
  .showmobile{
    display: none;
  }

  
  header #menu-item-28::after {
    display: block;
  }
  header ul.nav-menu-header li ul{
    position: absolute;
  }
  header ul.nav-menu-header li ul li{
    display: inline-block;
    text-align: left;
  }
 
  .menu-desktop{
    display: block;
  }

  header ul.nav-menu-header li{
    display: inline-block;
    margin:0px 40px;
  }
}

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

@media (min-width: 1480px) {
}