@media screen and (max-width: 999999px) {
    .page__pallet__top, .page__pallet__top.is-fixed {
       height: 48px;
    }
}

/*---------------------------FONT FACES & GLOBAL TYPOGRAPHY ------------------------------------*/
body {
  font-family: "Josefin Sans", sans-serif;
}

/* Police variable : Style normal (poids 100 à 900) */
@font-face {
  font-family: "Josefin Sans";
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 100 900; 
  src: url("/backlight/custom/fonts/webfonts/JosefinSans-VariableFont_wght.ttf") format("woff2-variations");
  font-display: swap;
}

/* Police variable : Style italique (poids 100 à 900) */
@font-face {
  font-family: "Josefin Sans";
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 100 900; 
  src: url("/backlight/custom/fonts/webfonts/JosefinSans-Italic-VariableFont_wght.ttf") format("woff2-variations");
  font-display: swap;
}

/*---------------------------------TEXT BLOCKS & COPY--------------------------------------------------*/
.main {
	margin-top: 70px;
	
}
	


.the__copy {
	background-color: #4f4f4f;
	font-size: 1rem;
	line-height: 1.25rem;
	max-width: 1440px;
	padding-bottom: 75px;
	margin-top: 70px;
	text-align: center;
	width: 100%;
}

/* Home page text placement */
.pages-template-identifier-home .the__copy>.content {
	background-color: rgb(79, 79, 79);
	border-radius: 0;
	box-shadow: none;
	max-width: 1440px;
	padding-top: 0;
	width: 100%;
}

/* About and Contact pages padding*/
.pages-template-identifier-about .the__copy .content,
.pages-template-identifier-contact .the__copy .content {
	padding-top: 200px;
}

/* Text formating for 'About' slug */
.slug-about .the__copy {
	background-color: #4f4f4f;
	font-size: 1.25em;
	line-height: 1.4rem;
	/*padding: 20px 50px 20px 50px;*/
	text-align: justify;
}

p {
	margin-bottom: 20px;
	/* Ajoute une marge de 20 pixels sous chaque paragraphe */
}

/* Simple margin reset for text within .the__copy */
.the__copy p,
.the__copy address {
	margin: 0;
}

/*---------------------Removing Dotted Outlines Using CSS----------------------------------------------*/
/*a:hover,*/
a:focus {
	outline: 2px solid #9f191e;
	/* Couleur visible */
}

/*--------------------------TOP PALLET (Header/Navigation)-----------------------------*/

.page__pallet__top {
  align-items: center;
  display: flex;
  height: 48px;
  justify-content: flex-start;
  margin-bottom: 20px;
  }

.page__pallet__top > .content > ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.page__pallet__top > .content > ul > li {
  height: 48px;
  list-style: none;
  margin: 0;
}

/* Logo container */
.top-pallet-logo {
  background-image: url("https://pideja.ca/backlight/designer/page/image/6");
  background-repeat: no-repeat;
  background-position: 2% 0%;
  background-size: contain;
  height: 48px;
  width: 48px;
  margin-left: 1px;
  }

li.top-pallet-logo a {
  display: block;
  height: 100%;
  width: 100%;
}

/*------------------------------Nameplate-------------------------------------------------------------------*/
.top-pallet-nameplate {
	background-image: url("https://pideja.ca/backlight/designer/page/image/31");
	background-repeat: no-repeat, no-repeat;
	background-position: 50% center;
	height: 48px;
	width: 230px;
}

li.top-pallet-nameplate a {
	display: block;
	/*height: 75%;
	width: 75%;*/
}

/*---------------------------------------- MENU BUTTON --------------------------------------------------*/

/* MENU button position and background (Combined declarations) */
.page__toggle__buttons label {
	display: block;
	background-color: #9f191e;
	margin-right: 50px;
	/*position: absolute;*/
	right: 7%;
	top: 0px;
}

/* MENU label text */
.page__toggle__buttons label p {
	cursor: pointer;
	display: block;
	font-size: 1rem;
	font-weight: 500;
	height: 48px;
	line-height: 2.7em;
	min-width: 48px;
	position: absolute;
	top: 5px;
	left: 1px;
	text-align: center;
}

.page__toggle__buttons label a {
	color: #fff;
	text-decoration: none;
	font-size: 17px;
	display: block;
	padding: 14px 16px;
}

.page__toggle__buttons label a:hover {
	background-color: #f0f0f0;
	color: #000;
}

.active {
	background-color: #4caf50;
	color: #fff;
}

/* -----------------------------------BREADCRUMBS-------------------------------------------------------*/
ul.breadcrumbs li {
	display: inline-block;
	font-size: 1rem;
	letter-spacing: 0.015em;
	line-height: 1.125rem;
	list-style: none;
	margin-top: 30px;
	padding: 0;
}

.breadcrumbs a {
	font-size: 1rem;
	font-weight: 400;
	color: #fef6d5;
}

.breadcrumbs li a:hover {
	font-size: 1.15rem;
	font-weight: 700;
	color: #9f191e;
}

/*--------------------------------------GALLERY & CREDITS-----------------------------------------------*/

.the__gallery {
	/* Combined margin definitions, taking the last one */
	margin: 50px auto 0;
	padding: 0;
}

/*----------------------------------------------CREDITS-----------------------------------------------------*/
.main-copy-credits {
	padding: 10px 10px;
	display: flex;
	justify-content: space-between;
}

.center-credit {
	justify-content: center;
	align-items: center;
}

.credits-grid {
	display: grid;
	grid-template-columns: 52% auto;
	/* Pour deux colonnes égales */
}

/*-------------------------------------------------------------------------------------------------------------*/
   .main-copy-credits {
	padding: 10px 10px;
	display: flex;
	justify-content: space-between;
}

.center-credit {
	justify-content: center;
	align-items: center;
}

.credits-grid {
	display: grid;
	grid-template-columns: 52% auto;
	/* Pour deux colonnes égales */
}
    
 .production-credits {
    font-family: 'Josefin Sans', sans-serif;
    color: #fdf4d2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.credits-grid {
    display: table;
    margin: 0 auto; /* Centre le bloc rôle – noms */
}

.row {
    display: table-row;
}

.role, .name {
    display: table-cell;
    padding: 4px 0; /* Espacement vertical pour éviter les doubles interlignes */
}

.role {
    font-weight: 400;
    text-align: right;
    width: 200px; /* Largeur fixe pour les rôles */
    padding-right: 20px; /* Espace entre rôle et nom */
}

.name {
    font-weight: 700;
    text-align: left;
    width: 300px; /* Largeur fixe pour les noms */
}

.date-line {
    text-align: center;
    margin-top: 20px;
}

.date-line p {
    margin: 0; /* Supprime les marges par défaut pour éviter les doubles interlignes */
    font-weight: 700;
}



/*---------------------------------------------------------------------------------------------------------------*/

#pallet-credits {
	display: none;
}

.widget {
	color: #fff6d5;
	font-size: 0.8em;
	line-height: 0.3em;
	text-align: center;
}

.page__pallet {
	background-color: #000;
	color: #fff6d5;
	min-width: 1px;
	max-width: 345px;
	width: 345px;
	margin: 0;
}

/*---------------------------------CONTACT FORM|---------------------------------------------------------*/

.contact-form p {
	text-align: center;
}

input[type="submit"] {
	padding-top: 10px ;
	margin-top: 20px;
}

.contact-form input {
	max-width: 100%;
	margin: 0 auto;
}

#message {
	margin: 1.5rem auto;
	border: 0;
}

#message.success {
	background-color: #9f181f;
	color: #d8d4c0;
}

#message.error {
	background-color: #9f191e;
	color: #fff6d5;
}

/*---------------------------------------- MISC. & FOOTER-------------------------------------------------*/

.single_icons {
	margin-top: 20px;
}

.albumthumbnail {
	position: relative;
	width: 100%;
	height: auto;
	overflow: hidden;
}

.page__pallet__bottom>.content ul>li {
	color: #fff6d5;
	display: inline-block;
	min-height: 36px;
	line-height: 36px;
	list-style: none;
	min-width: 36px;
	text-align: center;
	vertical-align: top;
	margin: 6px;
	padding: 0;
}

.fb-search #search {
	background-color: #393939;
	border-radius: 0;
	margin: 0 auto;
	max-width: none;
	position: relative;
	width: 100%;
	height: 100%;
}

.fb-search #search input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	max-width: 768px;
	background-color: #fff6d5;
	border: #000000 solid 1px;
	border-radius: 0 3px 3px 3px;
	box-shadow: 0 1px 3px rgb(0, 0, 0, 0.15) inset;
	color: #212121;
	display: inline-block;
	font-size: 1rem;
	padding: 0.5rem 0.75rem;
	vertical-align: middle;
}

form.search-form,
.search-form p,
form.search-handoff {
	margin-left: auto;
	margin-right: auto;
}

/*------------------------------/* Smartphones (portrait and landscape) --------------------------------- */

@media only screen and (max-width: 768px) {
    .pallet-credits {
      display: none;
    }
    .top-pallet-logo {
      background: url("https://pideja.ca/backlight/designer/page/image/6") no-repeat 2% 0 / contain;
      height: 48px;
      margin-left: 1px;
    }
    li.top-pallet-logo a {
      display: block;
      height: 100%;
      width: 100%;
    }
    .top-pallet-title {
      background-repeat: no-repeat;
      background-position: center;
      height: 48px;
      width: 100%;
    }
    .page__pallet__top {
      height: 50px;
    }
  }





