/*
Theme Name: Divi Child for BTWL
Theme URI: https://git.open-dsi.fr/btwl/Divi-btwl
Version: 3.0.8
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Open-DSI
Author URI: https://www.open-dsi.fr
Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: Divi
*/
@import url("../Divi/style.css");

h5 {
	line-height:1.7em;
}

.home #main-content .container::before {
    background-color: #e2e2e2;
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    width: 0px;
}

#main-content {
	min-height: 600px;
}

#home-title {
	margin: 20px 0;
	vertical-align: middle;
}
#home-title h1 {
	display: inline;
    vertical-align: bottom;
    line-height: 80px;	
    color: #F29400;
    font-weight: 500;
}
#home-title img {
	padding: 10px 30px 10px 10px ;
}

#sidebar {
	border-left: 2px solid #F7F7F7;
}
#em_widget-3 {
	margin-top: 50px;	
}
h4.widgettitle {
	color: #F29400;
	font-weight: 500;
	font-size: 30px;
}

#em_widget-3 ul li a{
	color: #333;
	text-decoration: underline;
	font-weight: 500;
}
#em_widget-3 ul li a:hover {
	color: #F29400;
}



#em_widget-3 ul li.all-events-link {
	margin-top: 20px;
}

#em_widget-3 ul li.all-events-link a{
	color : #F29400;
	font-weight: 500;
	font-size: 16px;
	text-decoration: none;
}

/********************   
  === Plan du site ==
*********************/
#main-plan {
	width: 80%;
	margin: 30px auto 100px;
}
.plan {
	margin: 50px auto;
	width: 60%;
}

.plan h2 {
	text-align: center;
	margin-bottom: 10px;
}

.plan ul li>ul {
	margin-left: 20px;
}

.plan a {
	line-height: 2em;
	font-size: 105%;
	color:rgba(0, 0, 0, 0.6);
	font-weight: bold;
}
.plan a:hover {
	color : #e95d0f;
}

.categ-image {
	width: 100px;
}

#sidebar .widget_em_widget img{
	width: 40px;
	float: right;
	padding-top: 1.7em;
}

.mepr-form input.invalid,
.mepr-form select.invalid,
.mepr-form textarea.invalid,
.mepr-form label.mepr-checkbox-field.invalid,
.mepr-form div.mepr-checkboxes-field.invalid,
.mepr-form div.mepr-radios-field.invalid {
  border: 2px solid red !important;
  background-color: #fefefe !important;
}


/* =======================================
        CSS pour calendrier responsive 
   =======================================*/

#calendar-wrap h1 {
	float: left;
	width: 80%;
	text-align: center;
}

#calendar-wrap a.em-calnav-prev , #calendar-wrap a.em-calnav-next  {
	width: 10%;
	float: left;
	font-size: 150%;
}
#calendar-wrap a.em-calnav-next {
	text-align: right;
}
#calendar-wrap header::after {
	clear: both;
	content: '';
	display: block;
}
#calendar {
    width: 100%;    
}

#calendar a {
    color: #fff;
    text-decoration: none;
}

#calendar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#calendar li {
    display: block;
    float: left;
    width:14.342%;
    padding: 5px;
    /*box-sizing:border-box;*/
    /*border: 1px solid #ccc;*/
    margin-right: -1px;
    margin-bottom: -1px;
}

#calendar ul.weekdays {
    height: 40px;
    background: #E05E2A;
}

#calendar ul.weekdays li {
    text-align: center;
    text-transform: uppercase;
    line-height: 20px;
    border: none !important;
    padding: 10px 6px;
    color: #fff;
    font-size: 13px;
}

#calendar .clear{
	clear: both;
	content: '';
	display: block;	
	border-bottom: 0.1px solid #ddd;
    height: 30px;
}

/*#calendar .days li {
    height: 180px;
}*/

#calendar .days .date:hover {
    background: #d3d3d3;
}

#calendar .date {
    text-align: right;
    margin-bottom: 5px;
    padding: 4px;
}
#calendar .day .date {
	background: #ddd;	
}
#calendar .day.today .date {
	background: #F09034;	
}

#calendar .day.pre .date , #calendar .day.post .date {
	background: #999;	
}
#calendar .day .mobile-date {
	display: none ;
}

#calendar .event {
    clear: both;
    display: block;
    font-size: 13px;
    border-radius: 4px;
    padding: 5px;
    margin-top: 2px;
    margin-bottom: 5px;
    line-height: 14px;
    color: #009aaf;
    text-decoration: none;
}

#calendar .event-desc {
    color: #fff;
    margin: 3px 0 7px 0;
    text-decoration: none;  
}

#calendar .pre , #calendar .post {
    color: #e2e2e2;
}

#calendar .today {
/*    background: #f9f9f9;*/
    color: #666;
}
#calendar li.post .event , li.pre .event {
	display: none;
}



/* ============================
                Mobile Responsiveness
   ============================*/


@media(max-width: 992px) {

    #calendar .weekdays, #calendar .pre , #calendar .post  {
        display: none;
    }

    #calendar li {
        height: auto !important;
        border: 0px solid #ededed;
        width: 100%;
        padding: 10px;
        margin-bottom: -1px;
    }

    #calendar .date {
        float: none;
    }
	#calendar .clear{
		clear: both;
		content: '';
		display: block;	
		border-bottom: none;
	} 
	#calendar .day .desktop-date {
		display: none ;
	}	
	#calendar .day .mobile-date {
		display: block ;
		color: #4a4a4a;
		text-align: center;
	}
	#calendar .mobile-date p {
		color: #fff;
		text-align: left;
		padding: 0 1.5em;
	}
	#calendar .event {
		width: 98%;
		margin:2px auto 5px;
	}	   
}
