/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
/* Transition menu principal */
.section-menu-desktop .et-menu a, .section-menu-desktop .et-menu a:hover {
    -webkit-transition: all .4s ease-in-out;
    transition: none !important;
}


/* style du menu en desktop*/
.section-menu-desktop ul.sub-menu {
    border-radius: 0.8rem;
}

/* style du menu en survol*/
.et_mobile_menu li a:hover, .nav ul li a:hover {
    background-color: transparent;
    opacity: .7;
}

/* Bouton envoyer infollettre du footer*/
#et_pb_contact_form_0 .et_contact_bottom_container {
	float: left !important;
}


/* Style menu tablette */
@media all and (min-width: 981px) and (max-width: 1280px) {
	.et_pb_section_0_tb_header.et_pb_section {
		padding: 20px 25px;
	}


	.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
		height: 1.8rem !important;
	}
	
	li#menu-item-206175 a {
		padding: 9px 10px !important;
	}
	
	li.btn-menu-rouge {
    	top: -8px !important;
	}

}

li.menu-item.current-menu-parent.menu-item-has-children > a {
    color: #c94a18!important;
}

@media all and (max-width: 469px) {
	
	.wpcf7 input[type="file"]::before {
		text-align: center;
		width: 60% !important;
		margin: 0 !important;
	}
}

#menu-mobile li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children > a:first-child:after {
    font-family: ETmodules;
    content: "3";
    font-size: 20px;
    position: relative;
    right: 0;
    top: 3px;
    font-weight: 800;
    color: #29573E!important;
}

#menu-mobile li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children > a {
    font-weight: 700 !important;
    font-size: 1.1rem;
}

#menu-mobile .et_mobile_menu li ul.sub-menu {
    padding-left: 0px !important;
}

#menu-mobile ul.sub-menu a {
    margin-top: -30px !important;
    font-weight: 400;
	padding-left:0px !important;
}

#menu-mobile li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children > a {
    margin-top: 25px;
    font-weight: 600;
}

#menu-mobile.et_pb_menu .et_mobile_menu {
    padding: 20px 50px !important;
}

#menu-mobile li.menu-item.menu-item-type-post_type.menu-item-object-page {
    margin-top: 25px;
    font-weight: 700;
}

.menu-item.wpml-ls-item a {
    padding-bottom: 24px !important;
}

#activite-page-act.decm_event_display_0 .ecs-event-list .ecs-event .act-post .row {
    padding-top: 0px!important; 
}

#activite-page-act .decm-show-image-center.col-md-12 {
    padding-right: 0px;
    padding-left: 0px;
}


.wpcf7-submit {
    transition: transform 0.3s ease, background-color 0.3s ease;
}


.wpcf7-submit:hover {
    transform: scale(1.1); /* Increase size by 10% */
}


.wpcf7-checkbox .wpcf7-list-item {
    display: block !important;
}

.wpcf7 input[type="file"] {
    display: flex;
    padding: 15px 10px;
    color: white;
    border: none;
    border-radius: 29px;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
	text-align:center;
	margin:auto;
	transition: background-color 0.3s ease, transform 0.3s ease !important;
}

.wpcf7 input[type="file"]:hover {
    width:80%;
	margin:auto;
}

.wpcf7 input[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
}

:lang(en) .wpcf7 input[type="file"]::before  {
    content: "Upload";
}
	

.wpcf7 input[type="file"]::before {
    content: 'Téléverser';
    display: inline-block;
    cursor: pointer;
	color: #FFFFFF!important;
    border-width: 0px!important;
    border-color: RGBA(255,255,255,0);
    border-radius: 29px;
    font-size: 1rem;
    font-weight: 700!important;
    background-color: #307F73;
	text-align:center;
	padding: 10px 5px;
	width:80%;
	margin:auto;
}


.wpcf7 input[type="file"]:hover::before {
    width:76%;
	margin:auto;
/* 	transform: scale(1.05);  */
}

.wpcf7 input[type="file"]::file-selector-button {
    display: none;
}



li.btn-menu-rouge {
    background-color: #c94a18;
    color: white !important;
    border-radius: 25px;
	margin-left:15px !important;
    top: -15px;
}


li#menu-item-206175 a {
    color: white !important;
    font-weight: 600;
    padding: 15px 10px;
	margin-left:0px;
}

li#menu-item-207740 a {
    color: white !important;
    font-weight: 600;
    padding: 15px 10px !important;
    margin-left: 0px;
}

.de-btn_2 {
  	border-radius:25px;
	border: none;
	color: inherit;
	background: none;
	cursor: pointer;
	padding: 11px 40px !important;
	display: inline-block;
	outline: none;
	position: relative;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	min-width:250px;
	text-align:center;
}


.btn-fond-pale .de-btn_2 {
	border: 3px solid #117761;;
}


.de-btn_2:after {
	content: '';
	position: absolute;
	z-index: -1;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
  	border-radius:25px;
}

.btn-fond-fonce .style_2 {
    background: #117761; /* Change button background color here */
    color: white; /* Change button text color here */
	z-index: 2;
}

.btn-fond-fonce .style_2:after {
	background: #7fdea4;
}

.btn-fond-rouge .style_2 {
    background: #C94A18;
    color: white;
	z-index: 2;
}

.btn-fond-rouge .style_2:after {
    background: white;
	color: white !important;
}

.btn-fond-pale .style_2 {
    background: white; /* Change button background color here */
    color: #117761; /* Change button text color here */
	z-index: 2;
}

.btn-fond-pale .style_2:after {
    background: #7fdea4;
}


.style_2 {
	z-index: 2;
}

.style_2:after {
	width: 0%;
	height: 100%;
	top: 0;
	left: 0;
}

.style_2:hover,
.style_2:active {
	color: black;
}

.style_2:hover:after,
.style_2:active:after {
	width: 100%;
}

#activite-page-act .decm-events-details {
    padding: 0 20px;
}

#barre-recherche input.et_pb_searchsubmit {
    background-color: #A4D9D8!important;
	font-family:'Titillium Web',Helvetica,Arial,Lucida,sans-serif !important;
	font-size:15px !important;
	font-weight:600 !important;
	color:black;
}


@media all and (max-width: 469px) {
	#form-rdv input.wpcf7-submit {
		width:100% !important;
	}


	#form-rdv input, textarea {
		width:100% !important;
	}
	
	#form-rdv input, #form-rdv textarea, #form-rdv p {
		font-size:1.0rem !important;
	}
}

#form-rdv input.wpcf7-submit {
    border-radius: 25px;
    padding: 10px 50px !important;
    background-color: #C94A18;
    color: white;
    font-family: 'Titillium Web';
    font-weight: 600;
	font-size:1.2rem;
	border:none !important;
}


#form-rdv input, textarea {
    border-radius: 20px;
    padding: 10px 10px;
    border: 2px solid #29573e;
	width:70%;
    font-weight: 500;
    color: #29573e;
}

#form-rdv input, #form-rdv textarea, #form-rdv p {
	font-size:1.2rem;
}

#form-rdv input[type="checkbox"] {
    width: auto !important;
}

.decm_event_filter_child_0,
.decm_event_filter_child_1 {
	display:none;	
}

/* #filtre-event {
	opacity:0;	
}
 */


#menu-menu-principal.et-menu li li a {
    padding-left: initial !important;
	padding:0.8rem 0;
	margin-left:0px !important;
}

#menu-mobile .et_mobile_menu .menu-item-has-children>a,
#menu-mobile .et_mobile_menu li a {
    background-color: transparent;
    border-bottom: none !important;
}

#menu-mobile li.btn-menu-rouge {
    width: 80% !important;
    text-align: center;
    margin: 20px 0 !important;
	padding:5px 0 !important;
}

#menu-mobile li.btn-menu-rouge a {
    color: white !important;
	font-size:15px;
}


#menu-mobile .et_mobile_menu .menu-item-has-children>a, #menu-mobile .et_mobile_menu li a {
    background-color: transparent;
    border-bottom: none !important;
}

/* 3 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    html .et-db .three-col-tab .et_pb_column {
        width:29.6667% !important;
    }
html .et-db .three-col-tab .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }
    html .et-db .three-col-tab .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}


/* #barre-recherche input.et_pb_searchsubmit {
    content: "";
    font-family: FontAwesome!important;
    font-weight: 900!important;
    color: #000000;
    font-size: 10px;
} */

/* Photo de profil articles */
img.avatar.avatar-96.photo {
    max-width: 50px;
    padding: 10px 0;
}

.et_pb_posts .divi-booster-entry-header {
    display: flex;
    align-items: center;
}

.et_pb_posts .divi-booster-author-avatar img {
    border-radius: 50%; /* Optional: if you want a round avatar */
    height: 30px;
    min-width: 30px;
    width: 30px;
}

.et_pb_posts .divi-booster-author-avatar {
    margin-right: 15px; /* Adjust the space between the avatar and the title */
}

/* 2 Columns Mobile */
@media all and (max-width: 767px) {
    html .et-db .two-col-mob .et_pb_column {
        width:47.25% !important;
    }
    
html .et-db .two-col-mob .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }
    html .et-db .two-col-mob .et_pb_column:not(:nth-child(2n)) {
            margin-right:5.5% !important;
    }
}