/*
Theme Name: Divi Child by Divi Extended
Theme URI: https://diviextended.com/divi-child-themes/
Description: A starter child theme for Divi, built with best practices. Generated with Divi Extended Child Theme Generator.
Author: JoTho
Author URI: https://jotho.studio
Template: Divi
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: divi-child
Domain Path: /languages
*/

.postid-2184 .summary h2, .postid-2184 .summary h3 {
	display:none;
}


.affiche-column {
	width:100%;
}
.affiche-resized {
	display: block;
  max-width: 100%;
  max-height: 100%;
  position: absolute!important;
  object-fit: cover;
  text-align:center;
	height:100%;
	
}

.affiche-container {
	width: 100%;
  padding-bottom: 100%; /* pour maintenir un ratio d'aspect de 1:1 */
  position: relative; /* si le parent est redimensionné, l'enfant (.round-image) le sera aussi */
  overflow: hidden;
  border-radius: 0%; /* arrondit le conteneur */
  margin: 0 auto;
	height:220px;
}


.infopass {
	margin:30px 0;
	padding:10px;
	background-color:#faeaa0;
	color:#000;
}
.infopass a {
	border-bottom:2px solid #000;
	font-weight:700;
}


@media (min-width: 981px) {
	.et_hide_primary_logo #main-header:not(.et-fixed-header) .logo_container {
		height: auto;
        opacity: 1;
	}
	#logo {
        max-height: 30px;
		margin-top: 10px;
    }
}
@media only screen and (min-width: 981px) {
    #logo {
        max-height: 30px!important;
		margin-top: 10px;
    }
}



/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	 -moz-box-orient: vertical;
	 -moz-box-direction: normal;
	  -ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width : 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}










/* ACCUEIL */

body #page-container .films .et_pb_section a.et_pb_button_1 {
	width: 100%!important;
    border-radius: 4px!important;
    background-color: #2c3338!important;
    color: #FFF!important;
    text-transform: none!important;
    font-size: 12px;
    padding: 8px 8px!important;
	letter-spacing: 1px;
}
body #page-container .films .et_pb_section a.et_pb_button_1:hover {
	letter-spacing:1.2px!important;
}


.films .liste-films > div {
	padding:20px;
	background-color:#F2F2F2;
	margin:0;
	width:100%;
}
.films .liste-films > div:nth-child(even) {
	background-color:#F9F9F9;
}

.films .liste-films > div > div {
	margin-right:2.25%!important;
	margin-bottom: 10px;
}

.films .liste-films p.film_seance {
	color:#af2547;
	font-weight:700;
}
.films .liste-films span.title {
	color:#000;
	font-weight:700;
	font-size:16px;
	text-transform:uppercase;
	height: 60px;
    display: block;
    line-height: 18px;
}
.films .liste-films .et_pb_text_6.et_pb_text {
	font-size:14px;
}
.films .liste-films .et_pb_text_6.et_pb_text em {
	color:#777;
	font-weight:400;
}

.film-link {
	color:#af2547;
	text-transform:uppercase;
	font-size:1.4em;
}


#menu-competitions {
	position: sticky;
    top: 10px;
}



.seances {}
.seances .colonne {
	width: 25%;
    display: inline-block;
    vertical-align: top;
    margin: 15px 4%;
}
.seances .colonne>div{
	margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}
.seances .colonne h3 {
	font-size:18px;	
	color:#af2547;
	text-transform:uppercase;
}
.seances .colonne p {
	padding-bottom:2px;
}
.seances .colonne .image {
	width: 30%;
    display: inline-block;
}
.seances .colonne .infos{
	display: inline-block;
    margin-left: 5%;
    vertical-align: top;
    width: 60%;
}


body.single-film #main-content > div.film, body.single-seance #main-content > div.film {
	position: relative;
	max-width:1170px;
	margin:50px auto;
	overflow: hidden;
}
body.single-film .gauche, body.single-seance .gauche {
	float:left;
	width:30%;
	margin-right:3%;
}
body.single-film .droit, body.single-seance .droit {
	float:left;
	width:66%;
}
body.single-film .droit h1, body.single-seance .droit h1 {
	display:block;	
	color:#000;
	text-transform:uppercase;
	font-size:40px;
}
body.single-film #bandeannonce {
	width:100%;
	padding-top:30px;
	clear:both;
	display:block;
	position:relative;
	height: 510px;
}
.fluid-width-video-wrapper {
	width: 100%;
    position: relative;
    padding: 0;
    height: 480px;
    padding-top: 0 !important; 
}
body.single-film .titre, body.single-seance .titre {
	float:left;
	width:100%;
}
body.single-film .titre h1 {
	color:#000;
	text-transform:uppercase;
	font-size:20px;
	display:none;
}
body.single-seance .titre h1 {
	color:#000;
	text-transform:uppercase;
	font-size:40px;
	margin-bottom:20px;
	color: #af2547;
}
body.single-film p.seances a {
    color: #af2547;
    font-weight: 700;
	padding-bottom:12px;
	float:left; 
	line-height:16px;
}
body.single-film p.seances a>span {
	color:#000;
	text-decoration:underline;
	font-weight:700;
}

body.single-seance .form {}
body.single-seance .form input[type=text], body.single-seance .form input[type=email] {
	padding:8px;
	font-size:16px;
	color:#000;
	width:100%;
}
body.single-seance .form input[type=number] {
	padding:8px;
	font-size:16px;
	color:#000;
} 


footer .footer-widget {
	margin-right: 0!important; 
	width:50%!important;
}
footer .footer-widget>div {
	display:inline-block;
	width:20%;
}
footer .footer-widget>div:first-child {
	width:100%;
}
footer .footer-widget figure img {
	
}


.form-resa-info {
	margin-top:30px;
	font-size:20px;
	color:green;
}



h1.product_title {
	color:#014e6c; 
	padding:8px 12px;
	text-transform:uppercase;
	margin-bottom:15px;
}

p.price {
	margin-bottom:15px;
	margin-top:15px;
}

#menu-competitions p {
	color:#fff;
}
#menu-competitions a {
	color:#014e6c!important;
	margin: 5px;
    display: block;
	clear:both;
	width:100%;
	position:relative; 
}
#menu-competitions a:before {
	content:'•';
	left:-10px;
	top:0;
	position:absolute;
}


@media only screen and (max-width : 767px) {
	.seances .colonne {
		width: 100%;
		display: inline-block;
		vertical-align: top;
		margin: 15px 0;
	}
	footer .footer-widget {
		margin-right: 0!important; 
		width:100%!important;
	}
	body.single-film .gauche, body.single-seance .gauche {
		float:left;
		width:100%;
		margin-right:0;
	}
	body.single-film .droit, body.single-seance .droit {
		float:left;
		width:100%;
	}
	body.single-film .titre h1, body.single-seance .titre h1 {
		display:block;	
	}
	body.single-film .droit h1, body.single-seance .droit h1 {
		display:none;	
	}
	body.single-film #main-content > div.film, body.single-seance #main-content > div.film {
		position: relative;
		max-width:1170px;
		margin:20px auto;
		padding:0 20px;
	}
	
	#footer-widgets .footer-widget:nth-child(n), #footer-widgets .footer-widget .fwidget {
		margin-bottom:0!important;
	}
}


@media only screen and ( max-width: 1279px ) {
#top-menu-nav, #top-menu {display: none;}
#et_top_search {display: none;}
#et_mobile_nav_menu {display: block;}
}

