/*
Theme Name: LIZIWEB - Theme enfant Divi
Description: Theme enfant du theme Divi. Vous pouvez desormais le personnaliser sans risquer de perdre vos modifications
Author: LIZIWEB
Author URI: https://liziweb.com
Template: Divi
Version: 1.0
*/

/*
SPLASHSCREEN
*/
/*.home #main-header, .home #main-footer{
	display: none;
}*/
@media(min-width:980px){
html, .home, .home #page-container, .home #et-main-area, .home #main-content, .home article, .home .entry-content, .home #et-boc, .home .et_builder_inner_content{
	height: 100%;
}
}

a{
	text-decoration: underline;
}

a.et_pb_button{
	text-decoration: none;
}

.home .et_pb_column.et_pb_column_1_2.et_pb_column_0.et_pb_css_mix_blend_mode_passthrough {
    width: 50%!important;
}
.home .et_pb_column.et_pb_column_1_2.et_pb_column_1.et_pb_css_mix_blend_mode_passthrough.et-last-child {
    width: 50%!important;
    padding-top: 100px;
}

#footer-info{
	text-align: center;
	float: none;
}

#footer-info a{
	font-weight: normal;
	text-decoration: underline;
}

#footer-bottom {
    background-color: #e30613!important;
}

body #page-container .et_pb_section .et_pb_button_0:hover {
    background-image: initial;
    background-color: #000000;
    color: white!important;
}

/*
Style des titres
*/

/* typos et couleurs 2020*/
.et_header_style_centered #top-menu>li>a {
	font-family: 'Jost', sans-serif!important;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Jost', sans-serif!important;
}
h1.entry-title {
    font-weight: 800 !important;
}
p, .spectacle_right, .facetwp-facet, #footer-info{
	font-family: 'Jost', sans-serif!important;
}
.facetwp-radio.checked, button.et_pb_contact_submit.et_pb_button {
    background-color: #e5007d!important;
}
/* fin typos 2020*/

.title_blackline .et_pb_text_inner {
  line-height: 1em;
  text-align: center;
	overflow: hidden;
}
.title_blackline .et_pb_text_inner p {
  display: inline-block;
  position: relative;
}
.title_blackline .et_pb_text_inner p:before,
.title_blackline .et_pb_text_inner p:after {
  content: "";
  position: absolute;
  height: 5px;
  border-top: 15px solid black;
  top: 0;
  width: 600px;
}
.title_blackline .et_pb_text_inner p:before {
  right: 100%;
  margin-right: 15px;
}
.title_blackline .et_pb_text_inner p:after {
  left: 100%;
  margin-left: 15px;
}

.page_title .et_pb_text_inner{
	background: black;
	position: relative;
	height: 15px;
}

.page_title .et_pb_text_inner h1{
	background: white;
	display: inline;
	text-transform: uppercase;
	font-size: 28px;
	padding-right: 10px;
	position: absolute;
	top: -8px;
}

/*
HEADER
*/
#logo{
	max-height: none!important;
}

#main-header .logo_container{
	height: auto!important;
	margin-bottom: 10px;
	max-height: none!important;
}

span.logo_helper{
	display: none;
}


/*
MENU
*/

#top-menu li{
	padding-right: 11px;
	padding-left: 11px;
	border-right: 2px solid black;
}

#top-menu li:last-child{
	border: none;
}

#top-menu a{
	color: black;
	text-transform: uppercase;
	font-size: 16px;
	padding: 10px 0!important;
}

#main-header.et-fixed-header, #main-header{
	box-shadow: none!important;
}

#top-menu li.current-menu-item > a{
	color: black;
	text-decoration: underline;
}



/*
Spectacles
*/
@media screen and (min-width: 638px) and (max-width: 980px){
	.rightSideBar{
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	#et-main-area #main-content .rightSideBar .withBackground{
		margin-right: 0!important;
	}
}


.spectacleImage:hover + .creditPhoto, .creditPhoto:hover{
	opacity: 1;
}

.creditPhoto{
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);
  color: white;
  padding: 5px;
  width: auto;
  margin: -33px 0 -1px 0 !important;
	opacity: 0;
	position: relative;
	transition: opacity .3s ease;
}

.facetwp-counter {
    display: none;
}
.facetwp-facet-categories .facetwp-radio, .facetwp-facet-saisons .facetwp-radio{
	float: right;
	background-image: none;
	padding: 3px 10px;
	background-color: transparent;
	transition: background-color .3s ease;
	margin-left: 10px;
}

.facetwp-facet-categories .facetwp-radio.checked, .facetwp-facet-saisons .facetwp-radio.checked{
	background-image: none;
	background-color: #c03e47;
	color: white;
}
.spectacles .spectacle{
	margin: 30px 0;
	display: block;
	position: relative;
	text-decoration: none;
}
.spectacle_categorie{
	color: white;
	display: inline;
	font-size: 15px;
	padding: 10px 25px;
	position: absolute;
	right: 150px;
	top: 50%;
	transform: translateY(-50%);
	text-align: right;
}

.spectacle_left{
	width: 33.3%;
	min-width: 201px;
	display: inline-block;
	vertical-align: middle;
	position: relative;
}

.spectacle_right{
	max-width: 66.6%;
	display: inline-block;
	vertical-align: middle;
	padding-left: 30px;
}

.spectacle_image{
	float: right;
	width: 200px;
	height: 200px;
}

@media screen and (max-width: 1200px){
	.spectacle_left, .spectacle_right{
		width: 50%;
		max-width: 50%;
	}
}

@media screen and (max-width: 768px){
	.spectacle_left, .spectacle_right{
		width: 100%;
		max-width: 100%;
	}
	.spectacle_image{
		float: left;
		margin-left: 30px;
	}
	.spectacle_categorie{
		right: unset;
		left: 0;
	}
}


.spectacle_date{
	font-size: 16px;
	text-transform: uppercase;
	margin: 10px 0;
}
.spectacle_title{
	font-size: 35px;
	text-transform: uppercase;
	margin: 10px 0;
	line-height: 1em;
}
.spectacle_excerpt{
	font-size: 15px;
	margin: 10px 0;
}

.spectacle_background{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	z-index: -1;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.spectacle:hover .spectacle_background{
	opacity: 0.15;
}

/*
Spectacles dans upcoming
*/
.spectacles_upcoming{
	display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-areas: ". . . .";
	column-gap: 80px;
	row-gap: 80px;
}

.spectacles_upcoming .spectacle{
	text-decoration: none;
}

@media screen and (max-width:980px){
	.spectacles_upcoming{
	  grid-template-columns: 1fr 1fr;
	  grid-template-areas: ". .";
		column-gap: 40px;
		row-gap: 40px;
	}
}

@media screen and (max-width:768px){
	.spectacles_upcoming{
	  grid-template-columns: 1fr;
	  grid-template-areas: ".";
	}
}

.spectacle_upcoming_title{
	text-transform: uppercase;
	font-size: 20px;
	text-align: center;
	padding-bottom: 0;
}

.spectacle_upcoming_excerpt{
	text-align: center;
	font-size: 15px;
	line-height: 1em;
	margin-top: 10px;
}

.spectacle_upcoming_date{
	font-weight: bold;
	text-align: center;
	font-size: 15px;
	line-height: 1em;
	margin-top: 5px;
}

.spectacle_upcoming_image{
	text-align: center;
	margin-bottom: 20px;
}

.spectacle_upcoming_image img{
	max-height: 200px;
	max-width: 200px;
	width: 100%;
}




/*
tableau
*/
@media only screen and (max-width: 840px) {
	table.responsive {
		margin-bottom: 0;
		overflow: hidden;
		overflow-x: scroll;
		display: block;
		white-space: nowrap;
	}
}


.single .et_pb_post{
	margin-bottom: 0!important;
}


/* page contact bouton formulaire*/
button.et_pb_contact_submit.et_pb_button {
	background-color:#f0de16!important;
}

/* barre acceptation cookies */
a#cn-accept-cookie {
    color: black;
    background-color: white;
    padding: 2px 10px;
    font-weight: bold;
    border-radius: 5px;
}



/* evolution 2025 * FORMATIONS */
/* nouveau menu*/
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
    padding-right: 11px;
    padding-left: 11px;
    border-right: 2px solid black;
	padding:10px 10px 0px 10px;
}

#top-menu .menu-item-has-children>a:first-child:after {
    font-family: 'ETmodules';
    content: "3";
    font-size: 16px;
    position: absolute;
    right: 35px;
    top: 20px;
    font-weight: 800;
}

/* contenu des pages*/
h2.page-formation {
	color:red!important;
}
/* accordéon*/
.et_pb_toggle.et_pb_module.et_pb_accordion_item.et_pb_accordion_item.et_pb_toggle_open, .et_pb_toggle.et_pb_module.et_pb_accordion_item.et_pb_accordion_item.et_pb_toggle_close {
    margin-bottom: 0px;
}
.et_pb_toggle.et_pb_module.et_pb_accordion_item.et_pb_accordion_item.et_pb_toggle_open, .et_pb_toggle.et_pb_module.et_pb_accordion_item.et_pb_accordion_item.et_pb_toggle_close {
    border-right: none;
    border-left: none;
    border-color: #7184C6;
}
/* Cacher l'icône par défaut */
.accordeon-fleche .et_pb_toggle_title:before {
    content: '';
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.3s ease;
    border: solid #000;
    border-width: 0 2px 2px 0;
    padding: 4px;
    transform: rotate(45deg); /* Flèche vers le bas */
}

/* Quand le module est ouvert, on change la flèche */
.accordeon-fleche .et_pb_toggle.et_pb_toggle_open .et_pb_toggle_title:before {
    transform: rotate(-135deg); /* Flèche vers le haut */
}

a.et_pb_button.bouton-devis-formation {
    background-color: white;
    border: none;
    border-radius: 5px;
    color: #7EB3ED!important;
}
a.et_pb_button.bouton-devis-formation:hover {
    background-color: black;
    border: none;
    border-radius: 5px;
    color: white!important;
}

/* formulaire de demande de devis formation*/
input {
    background-color: #F4F2F2 !important;
    border: none !important;
    border-radius: 2px !important;
}
legend.gfield_label.gform-field-label.gfield_label_before_complex {
    font-size: 20px;
    font-weight: bold;
}
input#gform_submit_button_1 {
    background-color: #7EB3ED !important;
    border-radius: 5px !important;
}
hr {
  border: none;               /* Supprime les styles par défaut */
  border-top: 1px solid white; /* Crée une ligne noire */
  height: 0;                  /* Évite un double effet visuel */
  margin: 1em 0;              /* Marge verticale personnalisable */
}

/* -------- Page résidence ----------*/
/* =========================================================
   VIGNETTES RÉSIDENCES – DIVI BLOG GRID (SALVATTTORE)
   4 colonnes desktop + gutter 6px
   Scope : residences-blog-vignettes
   ========================================================= */


/* ===============================
   STYLES EXISTANTS
   =============================== */

.vignette-page-residence {
	box-shadow: -6px 6px 0 orange;
}

.titre-residence {
	margin-top: -72px;
	width: 150px;
	margin-left: 100px;
	padding: 5px 10px;
}


/* ===============================
   SÉCURITÉ BOX MODEL
   =============================== */

.residences-blog-vignettes .et_pb_salvattore_content,
.residences-blog-vignettes .et_pb_salvattore_content * {
	box-sizing: border-box;
}


/* ===============================
   GUTTER – ESPACE ENTRE VIGNETTES
   =============================== */

/* compensation extérieure */
.residences-blog-vignettes .et_pb_blog_grid .et_pb_salvattore_content {
	margin: -6px;
}

/* espace interne des colonnes */
.residences-blog-vignettes .et_pb_blog_grid .column {
	padding: 6px;
}


/* ===============================
   IMAGE – HAUTEUR UNIFORME
   =============================== */

.residences-blog-vignettes .et_pb_blog_grid .et_pb_image_container {
	position: relative !important;
	height: 300px !important;
	width: 100% !important;
	overflow: hidden !important;
	padding: 0 !important;
	margin: 0 !important;
	z-index: 1;
}

.residences-blog-vignettes .et_pb_blog_grid .et_pb_image_container a {
	display: block !important;
	height: 100% !important;
	width: 100% !important;
}

.residences-blog-vignettes .et_pb_blog_grid .et_pb_image_container img {
	height: 100% !important;
	width: 100% !important;
	object-fit: cover !important;
	object-position: center center !important;
	display: block !important;
}


/* ===============================
   CARD / POST
   =============================== */

.residences-blog-vignettes .et_pb_blog_grid .et_pb_post {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	overflow: hidden !important;
	position: relative !important;
	min-height: 0 !important;
	width: auto !important;
	max-width: 100%;
}


/* ===============================
   TITRE SUR L’IMAGE (OVERLAY)
   =============================== */

.residences-blog-vignettes .et_pb_blog_grid .et_pb_post .entry-title {
	position: absolute !important;
	bottom: 20px;
	left: 0;
	width: 100%;
	margin: 0;
	padding: 12px 15px;
	background: rgba(0,0,0,0);
	color: #ffffff !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	font-size: 18px;
	line-height: 1.3em;
	z-index: 10;
}


/* Badge ACF */
.residences-blog-vignettes .et_pb_blog_grid .et_pb_post .badge-nom-residence {
	position: absolute;
	top: 10px;
	z-index: 20;
	background: orange;
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.05em;
	padding: 2px 5px;
	display: inline-block;
}


/* =========================================================
   SALVATTTORE – NOMBRE DE COLONNES
   ========================================================= */

/* ===== DESKTOP : 4 COLONNES ===== */
@media (min-width: 981px) {

	.residences-blog-vignettes
	.et_pb_blog_grid
	.et_pb_salvattore_content[data-columns]::before {
		content: "4 .column.size-1of4" !important;
	}

	.residences-blog-vignettes
	.et_pb_blog_grid
	.column.size-1of4 {
		width: 25% !important;
	}
}


/* ===== TABLETTE : 2 COLONNES ===== */
@media (min-width: 768px) and (max-width: 980px) {

	.residences-blog-vignettes
	.et_pb_blog_grid
	.et_pb_salvattore_content[data-columns]::before {
		content: "2 .column.size-1of2" !important;
	}

	.residences-blog-vignettes
	.et_pb_blog_grid
	.column.size-1of2 {
		width: 50% !important;
	}
}


/* ===== MOBILE : 1 COLONNE ===== */
@media (max-width: 767px) {

	.residences-blog-vignettes
	.et_pb_blog_grid
	.et_pb_salvattore_content[data-columns]::before {
		content: "1 .column.size-1of1" !important;
	}

	.residences-blog-vignettes
	.et_pb_blog_grid
	.column.size-1of1 {
		width: 100% !important;
	}
}


/* ===============================
   RESPONSIVE – HAUTEUR IMAGE
   =============================== */

@media (max-width: 980px) {
	.residences-blog-vignettes .et_pb_blog_grid .et_pb_image_container {
		height: 260px !important;
	}
}

@media (max-width: 767px) {
	.residences-blog-vignettes .et_pb_blog_grid .et_pb_image_container {
		height: 220px !important;
	}
}


/* -------- Modif home page ajout colonne expositions --------*/
@media (min-width:980px){
.home-collone-2 {
	padding-right: 150px!important;
    padding-top: 100px!important;
}
}


.collonne-3-homepage {
	padding: 0px 30px 0px 30px!important;
}

.expo-home-titre p {
    background-color: #e30613;
    color: white;
    font-size: 15px !important;
    padding: 10px 15px 5px 15px!important;
    display: inline-block;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.expo-home-titre {
    text-align: center!important;
}

/* image qui remonte sous le texte */
.et_pb_module.et_pb_image.et_pb_image_0.image-expo-homepage {
    margin-top: -15px!important;
    position: relative!important;
    z-index: 1!important;
}

.expo-home-texte {
	background-color:#f0f0f0;
	padding:20px;
}
.titre-expo-home {
	color: #e30613;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
}

.nom-artiste {
	font-size: 18px;
    font-weight: bold;
}
.bouton-en-savoir-plus {
	margin-top:20px;
}
.bouton-en-savoir-plus a {
	background-color: #e30613;
    padding: 10px 15px 10px 15px;
    color: white;
	text-decoration:none;
	margin-top:20px;
}
