
/*   CSS web responsive  mobile firt    */
html,body{
	background-color:#FFFFFF;
	margin: 0 auto;
	font-family:Arial;
	color: #666666;
	height: 100%;
}
/*
* { transition: all 250ms ease-in-out; }
*/

::-webkit-scrollbar {
    width: 10px;
	height: 4px;
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.3); 
    border-radius: 0px;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 0px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.5); 
}

@media (min-width: 770px) {
	::-webkit-scrollbar {
		height: 10px;
	}
}

/***************************************************/
/*                   COMMON                        */
/***************************************************/

/*   font          */
* {font-size: calc(18px + 0.2vw);}
.bottom-left a:link, .bottom-right a:link { font-size: calc(18px + 0.2vw); }
@media (min-width: 770px) { 
	* {font-size: calc(12px + 0.2vw);} 
	.bottom-left a:link, .bottom-right a:link { font-size: calc(12px + 0.2vw); }
}

/*   colors        */

a:link, a:visited {
	color: #666666;
	text-decoration: none;
	border-radius: 3px 3px 3px 3px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
	/* padding: 5px 10px; */
}

a:hover, a:active {
	background-color: #AAE16F;
	cursor: pointer;
}

.whitelink a:link, .whitelink a:visited {
	color: #FFFFFF;
}
/*   positionning  */

* .bottom-left, * .top-left, * .top-right, * .bottom-right { position: absolute;  font-size: calc(18px + 0.2vw); }
.bottom-left {  bottom: 8px;  left: 16px;}
.top-left {  top: 8px;  left: 16px;}
.top-right {  top: 8px;  right: 16px;}
.bottom-right {  bottom: 8px;  right: 16px;}
@media (min-width: 770px) {
	* .bottom-left, * .top-left, * .top-right, * .bottom-right { font-size: calc(12px + 0.2vw); }
}

/***************************************************/
/*                   Page HEADER                   */
/***************************************************/
/*  banner */
.bannercontainer {
  position: relative;
  width: 100%;
  height: 11.688vw;
  margin: 0;
}

.credential {
	color: #FFFFFF;
}



/* menuheader*/

.menuheader, .topslidemenuheader{
  	width:100%;
	margin: 0;
    overflow: hidden;
}

.banner{
	width:100%;
	margin: 0;
    overflow: hidden;
}
.flexbanner {
  display: none;
}
.flexbanner .bannerleft {
  	width:337px;
	background: url("../images/banner.jpg");
	background-repeat: no-repeat;
	background-size: auto;
	background-position: left;
}
.flexbanner .bannersplitter {
    flex-grow: 1;
	background: url("../images/banner_splitter.jpg");
	background-repeat: no-repeat;
	background-size: auto;
	background-position: center;
}
.flexbanner .bannerright {
	width:433px;
	background: url("../images/banner.jpg");
	background-repeat: no-repeat;
	background-size: auto;
	background-position: right;
}
@media (min-width: 770px) {
  .bannerleft, .bannersplitter, .bannerright, .bannercontainer{
    height: 90px;
  }
}
@media (min-width: 981px) {
		.banner{
		display: none;
	}
	.flexbanner {
		flex-direction: row;
		width: 100%;
		position: relative;
		width: 100%;
		margin: 0 auto;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		align-items:flex-end;
		overflow: hidden;
		background: #8FCDFF;
	} 
}

.menuheader, .topslidemenuheader{
    margin-left: auto;
	margin-right: auto;
	width:100%;
	text-align: center;
	margin: 0 auto;
	font-family:Arial;
	color: #666666;
	background-color: #8FCDFF;
	overflow: auto;
}

.menuheader ul {
  margin: 0;
  padding: 0px;
  list-style: none;
  overflow: hidden;
  background-color: #8FCDFF;
}

.menuheader li a {
  display: block;
  padding: 5px 10px;
  text-decoration: none;
}

.menuheader li:hover,
.menuheader a:hover {
  background-color: #AAE16F;
}

/* mainmenu */

span.mainmenutext {
	display:none;
	font-weight: bold;
}
@media (min-width: 770px) { 
	span.mainmenutext {
	display:block;
}
}

@media (min-width: 770px) {
  .menuheader, .topslidemenuheader{
    width: 80%;
  }
  .menuheader ul {
	padding: 0px 50px;
  }
  .menuheader li {
    float: left;
  }
  .menuheader li a {
    padding: 5px 15px;
  }
}
@media (min-width: 1600px) {
  .menuheader, .topslidemenuheader{
    width: 1266px;
  }
}	   

.mainmenu img {
	width:  calc(22px + 2vw);
	height: calc(22px + 2vw);
	display: block;
}
ul.mainmenu {
  overflow: auto;
  white-space: nowrap;
  
}

ul.mainmenu li {
  display: inline-block;
  color: white;
  text-align: center;
  text-decoration: none;
}
ul.mainmenu li.selected a {
	background-color: #AAE16F;
}

@media (min-width: 770px) {
  .mainmenu img {
		display: none;
	}
	ul.mainmenu {
		float: right;
	}
}

/***************************************************/
/*                   Accueil specifique            */
/***************************************************/

.center-cropped-randpreview {
  object-fit: cover; /* Do not scale the image */
  object-position: center; /* Center the image within the element */
    width: 100%;
	margin: 10px 0px;
}

/***************************************************/
/*                   BLOG                          */
/***************************************************/


div.blogentrytitle{
	background-color: #EAEAEA;
	font-size: larger;
	text-align:left;
	padding: 5px 15px;
	margin: 0 auto;
	border-bottom:1px solid #FFFFFF;
	-moz-border-radius: 3px 3px 0 0; 
	-webkit-border-radius: 3px 3px 0 0; 
	border-radius: 3px 3px 0 0;         
	-webkit-border-top-left-radius: 3px; /* pour Chrome */ 
	-webkit-border-top-right-radius: 3px; /* pour Chrome */ 
}
div.blogentrycontent{
	background-color: #F4F4F4;
	text-align:justify;
    padding: 5px 15px 15px 15px;
	margin: 0 auto;
	-moz-border-radius: 0 0 3px 3px; 
    -webkit-border-radius: 0 0 3px 3px; 
    border-radius: 0 0 3px 3px;         
    -webkit-border-bottom-left-radius: 3px; /* pour Chrome */ 
    -webkit-border-bottom-right-radius: 3px; /* pour Chrome */ 
}
div.blogentryseparator{
	width:500px;
	background-color: #8FCDFF;
	font-size:12px;
	text-align:justify;
	padding: 10px 0px 10px 0px;
	margin: 0 auto;
}

/***************************************************/
/*                   Page CONTENT                  */
/***************************************************/
.flexbox {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #8FCDFF;
}
.flexbox .leftcol {
  flex: none;
  background: #8FCDFF;
}
.flexbox .content {
  flex: 1;
  background: #8FCDFF;
  padding: 5px 5px;
}
@media (min-width: 770px) { 
	.flexbox {
		flex-direction: row;
		width: 80%;
	}
	.flexbox .content {
	  padding: 5px 15px;
	}
}
@media (min-width: 1600px) {
  .flexbox {
    width: 1266px;
  }
}


/***************************************************/
/*                   LEFT PANEL                    */
/***************************************************/

.leftpanel {
    margin-left: auto;
	margin-right: auto;
	width:100%;
	text-align: center;
	margin: 0 auto;
	font-family:Arial;
	color: #666666;
	background-color: #8FCDFF;
	overflow: auto;
	float: left;
}

@media (min-width: 770px) {
	.leftpanel {
		width: 18em;
	}
}
/***************************************************/
/*                   LEFT TITLE                    */
/***************************************************/
.lefttitle {
	display: none;
	padding: 5px 15px;
}

@media (min-width: 770px) {
	.lefttitle {
		display: block;
	}
}
/***************************************************/
/*                   LEFT MENU                     */
/***************************************************/
ul.leftmenu {
  margin: 0;
  padding: 0;
  background-color: #8FCDFF;
  overflow: auto;
  white-space: nowrap;
}

.mobilehidden {
	display: none;
}

.leftmenu span.leftmenutextdetails {
	display: none;
}

.leftmenu span.leftmenutextmain {
	font-size: larger;
}

ul.leftmenu li {
  display: inline-block;
  padding: 5px 5px;
  text-decoration: none;
}

ul.leftmenu li.wrap {
	white-space: normal;
}

ul.leftmenu a {
  display: block;
  padding: 5px 5px;
  text-decoration: none;
}

ul.leftmenu a:hover {
  background-color: #AAE16F;
}

ul.leftmenu li a {
	text-decoration: none;
	text-align: left;
	padding:5px;
	padding-left:10px;
	padding-right:10px;
	display:block;
	height:100%;
	background-color: #EAEAEA;
	border:1px solid #FFFFFF;
	border-radius: 3px 3px 3px 3px;         
	-moz-border-radius: 3px 3px 3px 3px; 
	-webkit-border-radius: 3px 3px 3px 3px; 
	-webkit-border-top-left-radius: 3px; /* pour Chrome */ 
	-webkit-border-top-right-radius: 3px; /* pour Chrome */ 
	-webkit-border-bottom-left-radius: 3px; /* pour Chrome */ 
	-webkit-border-bottom-right-radius: 3px; /* pour Chrome */ 
}
ul.leftmenu li a:hover{
	color: #666666;
	background-color: #F4F4F4;
}

ul.leftmenu li.selected a {
	background-color: #AAE16F;
}
.leftmenu .randpreview span.leftmenutextdetails {
	margin: 0px;
}

@media (min-width: 770px) {
	ul.leftmenu li {
	  display: block;
	  padding: 5px 15px;
	}
	ul.leftmenu a {
		padding: 5px 15px;
	}
	.leftmenu span.leftmenutextdetails {
		margin-left: 5px;
	    display: inline-block;
	}
	.leftmenu .randpreview span.leftmenutextdetails {
		margin: 0px;
	}
	.leftpanel {
		width: 18em;
	}
	.leftpanel.mobilehidden {
		display: block;
	}
}

/***************************************************/
/*                  TOP SLIDE MENU                 */
/***************************************************/

ul.topslidemenu {
  margin: 0;
  padding: 0;
  background-color: #8FCDFF;
  overflow: auto;
  white-space: nowrap;
}

.mobilehidden {
	display: none;
}

.topslidemenu span.leftmenutextdetails {
	display: none;
}

.topslidemenu span.leftmenutextmain {
	font-size: inherit;
}

ul.topslidemenu li {
  display: inline-block;
  padding: 5px 5px;
  text-decoration: none;
}
ul.topslidemenu a {
  display: block;
  padding: 5px 5px;
  text-decoration: none;
}

ul.topslidemenu a:hover {
  background-color: #AAE16F;
}

ul.topslidemenu li a {
	text-decoration: none;
	text-align: left;
	padding:5px;
	padding-left:10px;
	padding-right:10px;
	display:block;
	height:100%;
	background-color: #EAEAEA;
	border:1px solid #FFFFFF;
	border-radius: 3px 3px 3px 3px;         
	-moz-border-radius: 3px 3px 3px 3px; 
	-webkit-border-radius: 3px 3px 3px 3px; 
	-webkit-border-top-left-radius: 3px; /* pour Chrome */ 
	-webkit-border-top-right-radius: 3px; /* pour Chrome */ 
	-webkit-border-bottom-left-radius: 3px; /* pour Chrome */ 
	-webkit-border-bottom-right-radius: 3px; /* pour Chrome */ 
}
ul.topslidemenu li a:hover{
	color: #666666;
	background-color: #F4F4F4;
}

ul.topslidemenu li.selected a {
	background-color: #AAE16F;
}

/***************************************************/
/*                   MAIN CONTENT TITLE            */
/***************************************************/
.contenttitle {
	display: inline-block;
	padding: 5px 15px;
	width: -webkit-fill-available;
}
.contenttitle.mobilehidden {
	display: none;
}
.contenttitleleft {
	float: left;
}
.contenttitleright {
	float: right;
}

@media (min-width: 770px) {
	.contenttitle {
		display: inline-block;
		font-size: larger;
		top: 0px;
		/*position: relative;*/
	}
	.contenttitle.mobilehidden {
		display: inline-block;
}
}


/***************************************************/
/*                   ANNEE PHOTOS                  */
/***************************************************/


.linkmoisgrid > div {
	width:90px;
	height:200px;
}

.linkmoisgrid a {
  padding: 0px;
}

.linkmoisgrid a:hover {
  background-color: #8FCDFF;
}

.linkmoisgrid {
  display: grid;
  grid-gap: 5px;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  padding: 5px;
  justify-items: center;
}

img.linkmois{
	width:90px;
	height:200px;
}

.center-cropped {
  object-fit: cover; /* Do not scale the image */
  object-position: center; /* Center the image within the element */
  height: 200px;
  width: 90px;
}



@media (min-width: 770px) {
	.linkmoisgrid {
	  grid-gap: 15px;
	  padding: 15px;
	}
}

* .linkmoistext{
	width:75px;
	height:32px;
	line-height:16px;
	position:relative;
	/*background-color: rgba(143, 205, 255, 1);*/  /* #8FCDFF + transparency */
	top:-185px;
	left:0px;
	border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
	/*border-bottom:1px solid #FFFFFF;*/
	/*border-left:1px solid #FFFFFF;*/
	padding:2px;
    font-size: calc(12px + 0.2vw);
	}
	
* .linkmoistextdetails{
	display: inline;
	font-size: calc(10px + 0.2vw);
}

* .linkmoistext.linkmoisselected{
	background-color: #EAEAEA /* couleur utilisée jusqu'en 2026: #93DA47; /*#AAE16F;  vert de selection en plus vif pour un rendu equiv avec les photos en fond*/
	}
	
@media (min-width: 770px) {
	* .linkmoistext {
		font-size: calc(12px + 0.2vw);
	}
	* .linkmoistextdetails{
		display: inline;
		font-size: calc(10px + 0.2vw);
	}
}

* .linkmoistext:hover{
	color: #666666;
	background-color: #F4F4F4;
}




/***************************************************/
/*                   MOIS PHOTOS                   */
/***************************************************/


.linkmoisgrid {
  display: grid;
  grid-gap: 5px;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  padding: 5px;
  justify-items: center;
}

img.linkmois{
	width:90px;
	height:200px;
}

/* description des items content */
.bannermois{
	display:none;
}
.albumlistcontainer{
	display: grid;  
	grid-gap: 0px; 
	grid-template-columns: minmax(300px, 1fr);
	grid-template-rows: 1fr 450px;
}

.albumlist {
	display: grid;
	padding: 0px 10px 10px 10px;	
	grid-gap: 6px; 
	grid-template-columns: repeat(1, minmax(300px, 1fr));
	grid-auto-rows: min-content;
}

.albumthumb{
  object-fit: cover; /* Do not scale the image */
  object-position: center; /* Center the image within the element */
  height: 90px;
  width: calc((60px + 5vw)*1.5);
  vertical-align: bottom;
}

@supports (height: min(1px,1px)) {
	.albumthumb{
		height: min(calc(60px + 5vw),90px);
	}
}
	
div.album td.rightcell { padding:0px;}


.albumline1 { font-size: calc(12px + 0.2vw); }
.albumline2 .albumline2part1{ font-size: calc(17px + 0.2vw); }
.albumline2 .albumline2part2{ font-size: calc(10px + 0.2vw); }
.albumline3 { font-size: calc(12px + 0.2vw); }

.albumline2 img {
	vertical-align: sub;
	width: 16px;
}

@supports (height: min(1px,1px)) {
	.albumline2 img {
		width: min(16px,3vw);
	}
}

.shadowcolor{ /*utilisé comme couleur d'ombre pour le texte du mois*/
	color: #FFFFFF;
}

@media (min-width: 1200px) {
	.bannermois{
		display:block;
	}
	.albumlistcontainer {
		grid-template-columns:  minmax(300px, 1fr) 200px;
		grid-template-rows: 1fr 450px;
	}
}

@media (min-width: 770px) {
	div.album td.rightcell { padding:0px 0px 0px 2vw;}
	.albumline1 { font-size: calc(12px + 0.2vw); }
	.albumline2 .albumline2part1{ font-size: calc(17px + 0.2vw); }
	.albumline2 .albumline2part2{ font-size: calc(10px + 0.2vw); }
	.albumline3 { font-size: calc(12px + 0.2vw); }

	.albumline2 img {
		vertical-align: text-bottom;
		width: 16px;
	}
}

div.album a {text-decoration: none; padding:0px; display:block; height:auto; background-color: #EAEAEA; border:1px solid #FFFFFF;}

ul#list-albums {
  list-style:none;
}

ul#list-albums li {
  border:none;
  cursor:move;
  width:448px;
  float:left;
  margin:5px 0px 5px 0px;
}

/***************************************************/
/*                   ALBUM PHOTO                   */
/***************************************************/

.pswp-gallery-wrapper {
	max-width: 900px;
	padding: 5px;
	background-color: #EAEAEA;
	border: 1px solid #FFFFFF;
	border-radius: 3px 3px 3px 3px;
	-moz-border-radius: 3px 3px 3px 3px;
	-webkit-border-radius: 3px 3px 3px 3px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
  	box-sizing: border-box;
}

.pswp-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;          /* espace constant entre images */
    position: relative; /* reste décalable vers le bas */
	box-sizing: border-box;
	width: 100%;         /* prend tout le wrapper */
  	padding: 0;          /* wrapper gère le padding */
  	margin: 0 auto;
	overflow: hidden;      
}

.pswp-gallery a {
    display: block;
    flex: 0 0 auto;
}
.pswp-gallery a:hover{
	background-color: #EAEAEA;
}

.pswp-gallery img {
    display: block;
    width: auto;   /* JS contrôlera largeur */
    height: auto;  /* JS contrôlera hauteur */
	/* transition fluide */
    transition: width 0.3s ease, height 0.3s ease;
}

/*        descriptions        */
.pswp__custom-caption {
  background: rgba(40, 40, 40, 0.75); /* gris foncé transparent */
  color: #fff;
  
  font-size: 15px;
  line-height: 1.4;
  text-align: center;

  width: calc(100% - 32px);
  /* max-width: 400px; */
  max-width: 80%;
  
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);

  padding: 2px 8px;
  border-radius: 3px;
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  pointer-events: none;
}

.pswp__custom-caption:empty {
  display: none;
}

.hidden-caption-content {
  display: none;
}
 /*         video           */
.pswp__video-wrapper {
  background: #000;
  position: relative;
  width: 100%;
  height: 100%;
  /*pointer-events: none; /* évite d’interférer avec la lightbox */
  aspect-ratio: 16 / 9;
}

.pswp__video-wrapper iframe {
  background: #000;
  position: absolute;
  top: 50%;
  left: 50%; 
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  pointer-events: auto;  /* autorise l’interaction avec la vidéo */
  border: 0;
  transform: translate(-50%, -50%);
}

/***************************************************/
/*                   RECETTES                      */
/***************************************************/

.center-cropped-recette {
	object-fit: cover; /* Do not scale the image */
	object-position: center; /* Center the image within the element */
    height: 90px;
    width: calc((60px + 5vw)*1.5);
}
@supports (height: min(1px,1px)) {
	.center-cropped-recette {
		height: min(calc(60px + 5vw),90px);
	}
}

.toggle-visible-mobile {
	display: block;
	white-space: break-spaces;
}

.toggle-visible-desktop {
	display: none;
	white-space: break-spaces;
}

.recette-img {
		float:none;
}
	
ul.ingredients {
	white-space: normal;
}

ul.ingredients li {
	display: list-item;
}

@media (min-width: 770px) {
	.toggle-visible-mobile {
		display: none;
	}

	.toggle-visible-desktop {
		display: block;
	}
	
	.recette-img {
		float:none;
	}
}

@media (min-width: 950px) {
	.recette-img {
		float:right;
	}
}

/***************************************************/
/*                   FORMS                         */
/***************************************************/

.form-inline {  
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.form-inline label, .form-block label {
  margin: 5px 10px 5px 0;
}

.form-inline input, .form-block input, .form-block textarea {
  vertical-align: middle;
  margin: 10px 0;
  padding: 5px 10px;
  background-color: #fff;
  border: 0px solid #ddd;
}
.form-block input, .form-block textarea {
  width: -webkit-fill-available;
}

.form-inline button,
.form-inline a.button,
.form-block button,
.form-block a.button {
  padding: 5px 10px;
  text-align: center;
  background-color: #EAEAEA;
  border:1px solid #FFFFFF;
  cursor: pointer;
  color:#666666;
  border-radius: 3px 3px 3px 3px;         
  -moz-border-radius: 3px 3px 3px 3px; 
  -webkit-border-radius: 3px 3px 3px 3px; 
  -webkit-border-top-left-radius: 3px; /* pour Chrome */ 
  -webkit-border-top-right-radius: 3px; /* pour Chrome */ 
  -webkit-border-bottom-left-radius: 3px; /* pour Chrome */ 
  -webkit-border-bottom-right-radius: 3px; /* pour Chrome */ 
  margin: 10px;
}

.form-inline button:hover, .form-block button:hover {
  background-color: #AAE16F;
}

.col-33 {
  float: left;
  width: 100%;
   margin-top: 0;
   text-align:left;
}

.col-75 {
  float: left;
  width: 100%;
   margin-top: 0;
   text-align:left;
}

.row {
  text-align: center;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

@media (min-width: 770px) {
  .form-inline input {
    margin: 5px 10px 5px 0;
  }
	.form-block input, .form-block textarea{
	  width: 60%;
	}
  .form-inline {
	flex-flow: row wrap;
	align-items: center;
  }

	.col-33 {
	  width: 33%;
	  	  margin-top: 14px;
		  text-align:right;
	}

	.col-75 {
	  width: 67%;
	  margin-top: 0px;
	}

}