/*
Theme Name: Festival Resistances
Theme URI: http://www.damiengilles.com/
Version: 1.0
Description: A customized version of Divi which adds a number of tiny features I need.
Author: Damien GILLES
Author URI: http://www.damiengilles.com/
Template: Divi
*/

/*
::selection {
    color : #FFF; 
}

::-moz-selection {
  background: #6F345D; 
  color : #FFF;
}
*/

.dghidden{
	display:none;
}

/*
html body {
	font-family: 'Calibri',Helvetica,Arial,Lucida,sans-serif !important;
	size: 16px !important;
	line-height: 1.8em !important;
	font-weight: normal !important;
}
*/


/*
h1.entry-title{
	color: #e02b20;
    letter-spacing: 5px;
    line-height: 1.5em;
    font-weight: 700;
    font-size: 40px;
    font-family: 'Oswald',Helvetica,Arial,Lucida,sans-serif;
    text-align : center;
}
*/




body, p{
    font-weight: 300 !important;
}

.textwidget p {
    line-height: 1.3em !important;
}

#footer-info{
	font-weight: 300 !important;
}

.leftbuttonnav{
	float:left;
	border: 2px solid #e02b20;
	padding : 10px;
		margin-bottom:30px;
}

.rightbuttonnav{
	float:right;
	border: 2px solid #e02b20;
	padding : 10px;
	text-align:right;
	margin-bottom:30px;
}


.infosfilm p:last-of-type{
	padding-bottom:1em;
}

.infosfilm hr{
  border-top: 1px solid #FFF;
  border-bottom: 1px solid #CECECE;
  margin-bottom: 12px;
  margin-top: 0px;
}

.infosfilm p{
 text-transform: uppercase;
}

.film{
	/*
	font-family: 'Calibri',Helvetica,Arial,Lucida,sans-serif !important;
	*/
	line-height: 1.8em;
	font-size: 14px;
}




#top-menu li a{
	letter-spacing: 0 !important;
}



.et_pb_module{
	margin: 30px 0;
}

#footer-widgets {
    padding: 5% 0;
}


body .footer-widget {
	margin-bottom : 0 !important;
}



body #left-area{
	padding-top : 0 !important;
}


body .infosfilm p:last-of-type{
	padding-bottom: 0 !important;
}


@media (max-width: 1400px) {
	/*
	.et_pb_menu .et_pb_menu__menu, .et_pb_fullwidth_menu .et_pb_menu__menu {
	    display: none;
	}

	.et_pb_menu .et_mobile_nav_menu, .et_pb_fullwidth_menu .et_mobile_nav_menu {
	    display: flex;
	    float: none;
	    margin: 0 6px;
	    align-items: center;
	}
*/

	 #et_mobile_nav_menu {
	 display: block;
	 }
	 
	#top-menu {
	 display: none;
	 }

 }



body .thematiqueimage{
	margin-top : 0 !important;
}




html body .et_pb_with_border{
    float: left !important;
    width: 100% !important;
}

html body .et_pb_text_2{
	margin-left: 0 !important;
}


@media (max-width: 980px) {
 	body .et_pb_text_1{
 		margin-right: 0 !important;
		margin-left: 0 !important;
 	}

 	body .et_pb_section{
 		padding: 0 !important;
 	}

/* 	body .et_pb_section .et_pb_row .et_pb_column .et_pb_module:last-child{
 		margin-bottom : 30px !important;
 		border : 3px solid red;
 	}
 */

	 body .et_pb_row{
	 	padding-top: 0 !important;
	 }

	/* Fix the footer problem on the homepage*/
	/*
	.home .et_pb_gutters3 .footer-widget{
	    margin-bottom: 0 !important;
	}
	*/


 body .et_pb_dfbm_blog_0 .entry-title{
 	font-size: 3em !important;
 }


 html body .et_pb_module:last-child {
    margin-bottom: 30px;
	}

}


@media (max-width: 767px) {
	 .et_pb_section {
	    padding: 0 !important;
	}

	.et_pb_row, #left-area{
		padding : 20px 0 !important;
	}


	/* fix the blog module weird bug */
	.et_pb_blog_grid .column {
	    float: left !important;
	}

	
	/* Fix the footer problem on the homepage*/
	/*
	.home .et_pb_gutters3 .footer-widget {
	    margin-bottom: 0 !important;
	}
	*/

	html body .et_pb_row_0.et_pb_row {
	    margin-top: 0 !important;
	}

}



.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar, .wpcf7-quiz{
background-color: #eee !important;
border: none !important;
width: 100% !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
font-size: 14px;
color: #999 !important;
padding: 16px !important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.wpcf7-submit,{
color: #e02b20 !important;
margin: 8px auto 0;
cursor: pointer;
font-size: 20px;
font-weight: 500;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding: 6px 20px;
line-height: 1.7em;
background: transparent;
border: 2px solid;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-transition: all 0.2s;
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
.wpcf7-submit:hover , {
background-color: #eee;
border-color:#eee;
padding: 6px 20px !important;
}





.wpcf7-submit{
	color: #e02b20 !important;
	margin: 8px auto 0;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 3px 10px;
	line-height: 1.7em;
	background: transparent;
	border: 2px solid;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;

	text-transform: uppercase;
}


.wpcf7-submit:hover {
	color: #000 !important;
	border-color:#000;
	padding: 3px 15px !important;
}




#top-menu li li a {
    line-height: 20px;
}

body .et_color_scheme_red .mobile_menu_bar::before {
	color : #FFF !important;
}


span.mobile_menu_bar:before{
	color : #FFF !important;
	opacity: 1 !important;
}

body .mobile_menu_bar mobile_menu_bar_toggle::before, body .mobile_menu_bar mobile_menu_bar_toggle, .mobile_menu_bar::before,{

}


/* Fix trhe mobile menu problem they were having */
.et_mobile_menu {   
    overflow-y:scroll!important;
    max-height:80vh!important;
    -overflow-scrolling:touch!important;
    -webkit-overflow-scrolling:touch!important;
}



#main-footer, .entry-content {
    margin-top: 60px;
}

.jj{
	font-weight: 300;
	background-color: black;
	padding: 3px;
	color: white;
	font-size: 80%;
}


body .filterable-blogposts h2 a{
	font-family: 'Oswald',Helvetica,Arial,Lucida,sans-serif !important;
}






body #mailjet_widget_email{
	background-color: #eee !important;
	border: none !important;
	width: 60% !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
	font-size: 14px;
	color: #999 !important;
	padding: 12px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#mailjetSubscriptionForm input[type=submit]{
	color: #e02b20 !important;
	margin: 8px auto 0;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 3px 10px;
	line-height: 1.7em;
	background: transparent;
	border: 2px solid;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;

	text-transform: uppercase;
}


#mailjetSubscriptionForm input[type=submit]:hover {
	color: #fff !important;
	border-color:#fff;
	padding: 3px 15px !important;
}


#footer-bottom ul a:hover{
	color:#fff !important;
}




.highlight{
	display: inline;
	line-height: 28px;
	padding: 3px 3px 3px 5px;
	background:#000000;
	color:#fff;
	box-shadow:0.2em 0 0 #000000,-0.2em 0 0 #000000;
	-moz-box-shadow:0.2em 0 0 #000000,-0.2em 0 0 #000000;
	-webkit-box-shadow:0.2em 0 0 #000000,-0.2em 0 0 #000000;
	-webkit-box-decoration-break: clone;
	-ms-box-decoration-break: clone;
	-o-box-decoration-break: clone;
	box-decoration-break: clone;
	margin-right: 5px;
}


.salle{
	display: inline;
	line-height: 28px;
	padding: 3px 3px 3px 5px;
	background:#F3F3F3;
	/*
	color:#fff;
	*/
	box-shadow:0.2em 0 0 #F3F3F3,-0.2em 0 0 #F3F3F3;
	-moz-box-shadow:0.2em 0 0 #F3F3F3,-0.2em 0 0 #F3F3F3;
	-webkit-box-shadow:0.2em 0 0 #F3F3F3,-0.2em 0 0 #F3F3F3;
	-webkit-box-decoration-break: clone;
	-ms-box-decoration-break: clone;
	-o-box-decoration-break: clone;
	box-decoration-break: clone;
}


#prog_them h3{
	color : #000;
	margin-bottom : 20px;
}

#prog_them a{
	text-transform: uppercase;
}



.dgul li {
    list-style-type: none;
    /*
    margin-bottom: 20px;
    */
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
}
.dgul li:before {
    /*
    background: #000 none repeat scroll 0 0;
    border-radius: 60px;
    color: white;
    margin-left: -42px;
    margin-right: 3px;
    padding: 0 10px 6px;
    vertical-align: top;
    */
    font-family: 'ETmodules';
    color: #000;
    content: "\24";
    display: inline;
    vertical-align: middle;

    margin-left: -30px;
    margin-right: 8px;
}


body .tarifs{
	font-family: 'Oswald',Helvetica,Arial,Lucida,sans-serif !important;
	/*
	font-size: 96px !important;
	*/
	font-size: 46px !important;
	font-weight: bold !important;
	text-align:center;
	/*
	color : #e02b20 !important;
	*/
	margin :35px 0 45px 0;
}

body .euro{
    font-size: 18px;
    vertical-align: top;
    color: #000;
}





/****************************************/
/* MY GRID FOR ARTICLES/VIDEOS AND SUCH */
/****************************************/

[class*="dgcol-"] {
	padding-right:30px;
	padding-bottom:30px;
}

.dgcol-1-1 {
	float: left;
	width: 100%;
}

.dgcol-1-2 {
	float: left;
	width: 50%;
}
.dgcol-1-3 {
	float: left;
	width: 33.33%;
}
.dgcol-1-4 {
	float: left;
	width: 25%;
}

/* Remove padding for last element */
/*
.dgclear1 [class*="dgcol-"]:nth-child(1n+0),
.dgclear2 [class*="dgcol-"]:nth-child(2n+0),
.dgclear3 [class*="dgcol-"]:nth-child(3n+0),
.dgclear4 [class*="dgcol-"]:nth-child(4n+0){
    padding-right: 0;
}
*/

.dgclear1 [class*="dgcol-"]:nth-child(1n+0){
	padding-right :0;
}

/* Clear float after last element of row */
/*
.dgclear1 [class*="dgcol-"]:nth-child(1n+0),
.dgclear2 [class*="dgcol-"]:nth-child(3n+0),
.dgclear3 [class*="dgcol-"]:nth-child(4n+0),
.dgclear4 [class*="dgcol-"]:nth-child(5n+0)
*/

.dgclear1 .dgcolumns:nth-child(0n+1),
.dgclear2 .dgcolumns:nth-child(2n+1),
.dgclear3 .dgcolumns:nth-child(3n+1),
.dgclear4 .dgcolumns:nth-child(4n+1)
{
	clear:both;
}



@media only screen and ( max-width: 980px ) {


	/* -------------- 3 columns into 2 -----------------*/
	.dgclear3 .dgcolumns:nth-child(3n+1){
		clear : none;
	}

	.dgcol-1-3 {
		float: left;
		width: 50%;
	}
	
	.dgclear3 .dgcolumns:nth-child(2n+1){
		clear:both;
	}


	/* -------------- 4 columns into 2 -----------------*/
	.dgclear4 .dgcolumns:nth-child(4n+1){
		clear : none;
	}

	.dgcol-1-4 {
		float: left;
		width: 50%;
	}
	
	.dgclear4 .dgcolumns:nth-child(2n+1){
		clear:both;
	}


}


@media only screen and ( max-width: 479px ) {
	/* -------------- 3 columns into 1 -----------------*/
	.dgclear3 .dgcolumns:nth-child(3n+1){
		clear : none;
	}

	.dgcol-1-3 {
		float: left;
		width: 100%;
	}

	.dgclear3 .dgcolumns:nth-child(0n+1){
		clear:both;
	}


	/* -------------- 4 columns into 1 -----------------*/
	.dgclear4 .dgcolumns:nth-child(4n+1){
		clear : none;
	}

	.dgcol-1-4 {
		float: left;
		width: 100%;
	}

	.dgclear4 .dgcolumns:nth-child(0n+1){
		clear:both;
	}

}


@media all and (max-width: 767px) {

	/* 2 columns into 1 for the memegenre vidéos on the single-video page */
	#memegenre .dgclear2 dgcolumns:nth-child(0n+1){
		clear:both;
		padding-right:0;
		width:100%;
	}


}
/* ENDS GRID */ /*********************************/




/****************************************/
/* VIDEOBOX STYLING */
/****************************************/
.dgvideobox{
	overflow:hidden;
	cursor:pointer;
	min-height:180px;
	/*
	border: 6px solid #000;
	*/
	background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    position:relative;

	-webkit-box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3); 
	box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
}

.dgvideobox h3,
body .rsDefault .rsTmb span{
	text-transform:uppercase;
	color : #FFF;
	margin-bottom :0;
    font-size: 18px;
    line-height: 24px;
}

.dgvideobox .videotaxgenre{
	font-size:10px;
	text-transform: uppercase;
	line-height: 14px;
	margin-top: -5px;
}

.dgvideobox .videotaxgenre span,
body .rsDefault .rsTmb .rsPostTaxo{
	display: inline;
 	line-height: 19px;
	padding: 2px;
	padding-left:5px;
	background:#ff9900;
	color:#000;
	box-shadow:0.2em 0 0 #ff9900,-0.2em 0 0 #ff9900;
	-moz-box-shadow:0.2em 0 0 #ff9900,-0.2em 0 0 #ff9900;
	-webkit-box-shadow:0.2em 0 0 #ff9900,-0.2em 0 0 #ff9900;
	-webkit-box-decoration-break: clone;
	-ms-box-decoration-break: clone;
	-o-box-decoration-break: clone;
	box-decoration-break: clone;
}

.dgvideobox .videodate{
	font-size:10px;
	text-transform: capitalize;
	line-height: 14px;
	position:absolute;
	bottom: 15px;
	left: 15px;
}

.dgvideobox .caption{
    background-color: rgba(0,0,0,0.6);
    position: absolute;
    color: #fff;
    z-index: 100;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    left: 0;
}

.dgvideobox .slide-caption {
    opacity: 0;
    width: 100%;
    height: 100%;
    text-align: left;
    padding: 15px;
}

.dgvideobox:hover .slide-caption {
	opacity: 1;
}

.textwidget .videobox{
	width:100%;
}

.dgvideboxtext h2{
    color: #000;
    font-size: 18px;
    margin: 15px 0 0;
}

.dgvideboxtext .videoboxtaxo{
    color: #FF9900;
    font-family: "Roboto",sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    text-transform: uppercase;
}

.dgvideboxtext .videoboxdescr{
	margin-top: 14px;
	font-weight: 300;
	padding: 0 0 30px;
}

.coloredback .dgvideboxtext h2{
	color:#000;
}

.coloredback .dgvideboxtext .videoboxtaxo{
	color:#fff;
}

.coloredback .videoboxdescr{
	color:#000;
}

.coloredback{
	background:url("http://tele-buissonniere.org/tvbui/wp-content/uploads/2016/03/border_down.png") repeat-x left bottom;
	background-color : #FF9900;
}

.coloredback:before{
    width: 100%;
    height : 20px;
    content: " ";
	background:url("https://tele-buissonniere.org/tvbui/wp-content/uploads/2016/03/border.png") repeat-x left top;
	background-color : #FF9900;
	position: absolute;
	top:0;
	left:0;
}

/* ENDS VIDEOBOX */ /*********************************/



#main-content .container::before{
	background-color: transparent !important;
}