/*
Theme Name: hello-elementor-child
Author: myflow
Description: Child Theme for hello-elementor
Template: hello-elementor
Version: 1.0
*/

html {
  scrollbar-gutter: stable;
}

.elementor-button {
	background: none;
}
.elementor-button-content-wrapper {
	align-items: center;
}
.elementor-button .elementor-align-icon-right {
	height: 20px;
}
.elementor-button-icon svg {
	width: 13px;
	height: 20px;
}
.partenaires .elementor-swiper-button-prev {
	display: none!important;
}
.elementor-element .swiper .elementor-swiper-button svg {
  fill: #fff;
}
.cta-nl .elementor-button.elementor-button-link.elementor-size-sm {
  padding: 0;
}
.cta-nl svg path {
  stroke: #fff;
}
.elementor-align-left .elementor-button {
	padding: 0px;
}
.copyright ul {
  display: flex;
  list-style-type: none;
  gap: 40px;
  font-size: 16px;
  line-height: 18px;
  justify-content: center;
  padding-left: 0;
}

/*mega menu*/
.elementor-widget-n-tabs .e-n-tab-title .e-n-tab-icon {
	width: 40px;
  height: 40px;
  background: url("img/icone-mega-menu-normal.png");
}
.e-n-tabs > .e-n-tabs-heading > .e-n-tab-title[aria-selected="true"] .e-n-tab-icon, .e-n-tabs[data-touch-mode="true"] > .e-n-tabs-heading > .e-n-tab-title[aria-selected="false"]:hover .e-n-tab-icon {
	background: url("img/icone-mega-menu-hover.png");
}
.elementor-widget-n-tabs .e-n-tab-title:hover .e-n-tab-icon {
	background: url("img/icone-mega-menu-hover.png");
}
.mega-menu {
  padding: 0;
  list-style-type: none;
}
.mega-menu li {
  margin-bottom: 20px;
   text-transform: uppercase;
}
.mega-menu li:last-child {
  margin-bottom: 0px;
}
.mega-menu li ul {
  list-style-type: none;
}
.mega-menu li ul li:first-child {
  margin-top: 20px;
}
.mega-menu li ul li {
	text-transform: none;
}
.mega-menu li .semibold {
	font-weight: 600;
}
.mega-menu li a:hover {
	color: #000;
}
#etudes {
  margin-top: 10px;
  background: #65182D;
}
#evenements {
  border-bottom-right-radius: 25px;
  background: #65182D;
}
#etudes:hover,
#evenements:hover {
	background: #FFFCF5;
}
.menu-travaux .e-n-tabs-heading::before {
  content: "LES TRAVAUX";
  background: #802A41;
  padding: 20px 0px 20px 80px;
  font-weight: 700;
  border-top-right-radius: 25px;
  color: #FFFCF5;
  font-size: 18px;
  line-height: 20px;
}
.menu-connaitre .e-n-tabs-heading::before {
  content: "NOUS CONNAÎTRE";
  background: #802A41;
  padding: 20px 0px 20px 80px;
  font-weight: 700;
  border-top-right-radius: 25px;
  color: #FFFCF5;
  font-size: 18px;
  line-height: 20px;
}
.etudes-events {
  width: 25%;
}
.etudes-events ul {
  list-style-type: none;
  padding-left:0;
}
.etudes-events ul li a {
  display: block;
  padding: 20px 35px 20px 80px;
  color: #FFF8ED;
  background: #65182D;
  font-size: 14px;
  line-height: 16px;
  position: relative;
  font-weight: 600;
}
/* .etudes-events ul li a.events {
  border-bottom-right-radius: 25px;
} */
.etudes-events ul li a.acces-membre {
  border-bottom-right-radius: 25px;
}
.etudes-events ul li a:hover {
  background: #FFF8ED;
  color: #000;
}
.etudes-events ul li a::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background: url("img/icone-mega-menu-normal.png");
  position: absolute;
  top: 10px;
  left: 35px;
}
.etudes-events ul li a:hover::before {
  background: url("img/icone-mega-menu-hover.png");
}

/*sticky*/
.elementor-sticky--effects .e-con-inner {
  padding: 0;
}
.elementor-sticky--effects .logo img {
  width: 60%;
}
.logo img,
.e-con-inner {
	transition: all 0.5s ease-out;
}
.comments-area a, .page-content a {
  text-decoration: none;
}

/*articles*/
h2.wp-block-heading {
	margin-top: 60px;
	margin-bottom: 30px;
}
.elementor-widget-theme-post-content ul {
	margin: 20px 0;
}
.elementor-widget-theme-post-content ul li {
	margin-bottom: 20px;
}
.wp-block-buttons > .wp-block-button {
  margin: 20px 0;
}
.elementor-widget-theme-post-content img {
	border-radius: 20px;
}
.wp-block-button__link {
	text-transform: uppercase;
	background: transparent;
	border: 1px solid #000;
	border-radius: 25px;
	font-size: 20px;
  font-weight: 600;
  line-height: 22px;
}

/*slider home*/
.wpr-grid-item-read-more,
.wpr-grid-item-excerpt {
  margin-top: 20px;
}
.wpr-grid-slider-dots {
  z-index: 1!important;
}

/*form mailchimp*/
.mc4wp-form-fields div {
  display: flex;
  gap: 20px;
}
.mc4wp-form-fields div input {
  width: 50%;
}
.mc4wp-form-fields div:nth-child(2) {
  margin: 40px 0;
}
.mc4wp-form-fields div input {
  width: 50%;
  background: transparent;
  border-color: transparent;
  color: #fff;
  text-align: center;
  border-bottom: 1px solid #fff;
}
.mc4wp-form-fields div input::placeholder {
  opacity: 1;
}
.mc4wp-form-fields .infos {
  text-align: center;
  color: #fff;
  justify-content: center;
}
.mc4wp-form-fields div input[type=submit] {
  color: #fff;
}
.mc4wp-form-fields div input[type=submit]:hover {
  background: none;
}
.mc4wp-response p {
  color: #fff;
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0;
  font-size: 18px;
}
.mc4wp-form-fields div input::focus {
  border-color: transparent;
}



/*Formulaire page contact*/
.wpforms-submit-container button[type="submit"] {
  background: transparent!important;
  color: #da1e15!important;
  border: 1px solid #000!important;
  border-radius: 10px!important;
  text-transform: uppercase!important;
}

/*cache le texte supplémentaire à 60 sur les "tuiles"*/
.elementor-post__excerpt {
  position: relative;
  height: 246px;
  margin-bottom: 10px !important;
}
.elementor-post__excerpt p {
  max-height: 216px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px!important;
}
.elementor-post__excerpt::after {
  content: "...";
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 22px;
  position: absolute;
  bottom: 10px;
}


@media (min-width:768px) {
	.contact-footer {
		border-right: 1px solid #000;
  	margin-right: 50px;
	}
	.linkedin-footer {
		transform-style: preserve-3d;
		background: #fffcf5;
	}
	.linkedin-footer::after {
	  content: "";
	  width: 100%;
	  border: 1px solid #000;
	  position: absolute;
	  height: 100%;
	  border-radius: 25px;
	  top: 15px;
	  left: 15px;
	  transform: translateZ(-10px)
	}
  /*slider home*/
  .wpr-grid:not([data-settings*="list"]) .wpr-grid-item-inner .wpr-grid-media-wrap + .wpr-grid-item-below-content {
    border-top: 1px solid #000!important;
    border-top-left-radius: 25px!important;
    border-top-right-radius: 25px!important;
  }
  .wpr-grid-item-inner {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    padding: 40px 0;
  }
  .wpr-grid-media-wrap {
    max-height: 360px;
    width: 50%;
    overflow: hidden;
    border-radius: 25px;
  }
  .wpr-grid-item .wpr-grid-item-inner .wpr-grid-item-below-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 25px!important;
    border: 1px solid #000!important;
    padding: 40px !important;
    transform-style: preserve-3d;
    background: #fffcf5;
  }
  .wpr-grid-slider-dots {
    margin-top: 30px;
  }
  .wpr-grid-item-below-content::after {
    content: "";
    width: 100%;
    border: 1px solid #000;
    position: absolute;
    height: 100%;
    border-radius: 25px;
    top: 15px;
    left: 15px;
    transform: translateZ(-10px);
  }
}

@media (max-width:767px) {
	.copyright ul {
		flex-direction: column;
		gap: 10px;
		padding-left: 10px;
		text-align: center;
	}
  .dbnone {
    display: none;
  }
  .inscription-nl {
    background-image: none !important;
  }
  .mc4wp-form-fields div {
    flex-direction: column;
    gap: 10px;
  }
  .mc4wp-form-fields div input {
    width: 100%;
  }
  .mc4wp-form-fields div:nth-child(2) {
    margin: 10px 0;
  }
  .bordure {
    border-right: none !important;
    border-bottom: 1px solid #000 !important;
  }
  /*slider home*/
  .wpr-grid-item-below-content {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  /*menu*/
  /* .elementor-nav-menu--toggle .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container {
    height: calc(100vh - 112px);
    max-height: calc(100vh - 112px);
     top: 40px!important; 
    top: 72px !important;
  } */
  .elementor-nav-menu a{
    align-items: flex-start !important;
  }
}


/* Filtre auteur */
.wpc-filters-widget-containers-wrapper {
  display: flex; /*Flex par auteur et par date*/
  flex-wrap: wrap;
}
@media (max-width:766px){
  .wpc-filters-widget-containers-wrapper{
    flex-direction: column;
  }
  body .wpc-filter-set-widget-title {
    border-right: none;
    margin: 0 auto;
    min-width: 350px;
  }
  body .wpc-filter-set-widget-title h5{
    width: 350px;
    text-align: center;
  }
}
.wpc-filter-set-widget-title {
  max-width: 25%;
}

.wpc-filters-widget-wrapper {
  display: flex; /*Flex des input*/
  flex-wrap: wrap;
  margin-left: 25px;
}

.wpc-filters-date-range-wrapper {
  display: flex; /*Flex "par date"*/
  flex-wrap: wrap;
}
@media (max-width:475px){
  .wpc-filters-date-range-wrapper{
    flex-direction: column;
  }
  body .wpc-filters-date-range-column{
    min-width: 100%;
  }
  .wpc-filters-widget-wrapper{
    margin: 0 15px;
  }
}

.wpc-filters-date-range-column {
  max-height: 42px; /*Hauteur des input date avant et après*/
  margin-left: 25px;
  max-width: 200px;
}
@media (max-width: 1475px){
  .wpc-filters-date-range-column {
    margin-left: 0px;
  }
}
@media screen and (max-width: 1475px) and (min-width:476px){
  .wpc-filters-date-range-wrapper div:nth-child(2) {
    margin-left: 25px;
  }
}



input#wpc-filters-alt-date-to-30515 {
  max-height: 42px; /*Hauteur input date après*/
}
.widget-title.wpc-filter-title {
  font-size: 16px; /*Style titre par auteur et par date*/
  font-weight: bold;
}
.wpc-filters-widget-containers-wrapper input, .wpc-filters-widget-containers-wrapper select {
  border: 1px solid black; /*Style input et select*/
  background-color: transparent;
}
body .wpc-edit-filter-set {
  font-size: 16px; /*Typographie bouton modifier le jeu de filtre*/
  font-weight: 600;
  text-transform: uppercase;
  color: #DA1E15;
  cursor: pointer;
  transform: translate(165%, -255%);
}
body .wpc-edit-filter-set:hover {
  color: #336;
}

@media (max-width:1475px){
  body .wpc-edit-filter-set{
    transform: translate(-190%, 91%);
  }
}
@media (max-width:931px){
  body .wpc-edit-filter-set{
    transform: translate(0, -48%);
    text-align: center;
    width: 100%;
  }
}
@media (max-width:768px){
  body .wpc-edit-filter-set{
    display: block;
  }
}



.elementor-element.elementor-element-74afabc.e-flex.e-con-boxed.wpr-particle-no.wpr-jarallax-no.wpr-parallax-no.wpr-sticky-section-no.e-con.e-parent {
  border-bottom: 1px solid black; /*Bordure bas du container*/
}
.wpc-filter-set-widget-title {
  border-right: 1px solid black; /*Bordure à droite du titre filtre auteur*/
}
body .wpc-filter-set-widget-title h5 {
  font-size: 45px; /*Typographie du titre filtre auteur*/
  text-transform: uppercase;
}

@media (max-width:1475px){
  .wpc-filters-widget-wrapper {
      flex-direction: column; /*Changement de diréction flex filtre par auteur et par date*/
      margin-left: 25px;
  }
}

















/*Search*/
.searchandfilter ul li h4 {
  margin: 0;
  font-size: 16px;
  text-decoration: none;
  text-transform: initial;
  font-weight: bold;
}
.searchandfilter ul {
  /* padding: 15px; */
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.searchandfilter ul li input[type="submit"]:hover, .searchandfilter ul li input[type="submit"]:focus {
  background: transparent;
  color: #000;
}
.searchandfilter ul li input[type="text"],
.searchandfilter ul li select {
  background: transparent;
  color: #000;
  border-color: #000;
}
.searchandfilter input[type="submit"]{
  line-height: 26px;
  text-align: center;
  background: #CE3B2C;
  color: #ffffff;
}
.searchandfilter input[type="submit"]:hover{
  background: #000000 !important;
  color: #ffffff !important;
}
.searchandfilter ul li select {
  height: 42px;
}
.searchandfilter ul li input[type="text"]::placeholder {
  color: #CE3B2C;
  opacity: 1;
}


@media (max-width: 768px){
  .searchandfilter ul{
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    padding: 0;
    max-width: 335px;
    margin: auto;
  }
  .searchandfilter li{
    padding: 0 !important;
    width: 100%;
  }
  .searchandfilter li:last-child{
    text-align: center;
  }
  .searchandfilter input[type="submit"]{
    margin: 15px auto;
  }
}


/* modal search */
body #custom_modal_search  .searchandfilter input[type="submit"]{
  border-bottom: 0 !important;
}

.search-modal-dialog .dialog-close-button svg{
  fill: #DA1E15;
}

.elementor-popup-modal.search-modal-dialog >.dialog-widget-content {
  width: 100%;
  /* height:100%; */
}

.search-modal-dialog .dialog-message.dialog-lightbox-message {
  width: 100%;
  height: 100%;
}

.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search {
  height: 100%;


}

@media screen and (min-width:768px) {
  .search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search {
    padding-top: 0;
    display: block;
  }
}

.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter {
  text-align: center;
}

.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter input[type="text"] {
  border-color: #000;
  border-radius: 3px !important;
  color: #000;
  font-size: 16px !important;
  background-color: transparent;
  text-align: left !important;
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter input::placeholder {
  color: #000 !important;
  opacity: 1 !important;
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter input[type="submit"] {
  line-height: 26px;
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter input[type="submit"]:hover {
  color: #DA1E15;
}
.search-modal-dialog .elementor-location-popup {
  height: 100%;
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter ul {
  display: flex;
  flex-wrap: wrap;
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 20px;
  justify-content: center;
  margin-bottom: 0;
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter ul li:first-child {
  width: 215px !important;
}

.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter ul li {
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter ul li input::placeholder {
  color: white;
  display:none
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter input[name="ofsearch"] {
  font-size: 35px;
  text-align: center;
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter ul li h4 {
  color: #000;
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter select {
  background-color: transparent;
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter input[type="date"] {
  color: unset !important;
}
.search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter input[name="ofsearch"]::placeholder {
  opacity: 0;
}

.searchandfilter h4 {
  text-align: left;
}
@media (max-width: 768px){
  .search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter ul{
    padding: 0;
  }
  .search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter ul li{
    width: 100%;
  }
}
@media screen and (max-width:475px){
  .searchandfilter li {
    width: calc(100% - 20px);
  }
}

/* Background card category */
.archive .elementor-post-info__terms-list a,
.home .custom-button-head li a,
.search .custom-button-head li a {
  color: #fff;
  background-color: #DA1E15;
  padding: 0 10px;
  border-radius: 15px;
  font-size: 10px !important;
  text-transform: uppercase;
  display: flex !important;
    /* white-space: nowrap; */
  flex-wrap: nowrap;
  flex-direction: row;
  width: max-content;

}

.custom-button-head ul li{
  width: 100%;
}

.custom-button-head ul li > span{
  width: 100%;
}

.archive .elementor-post-info__terms-list a::before,
.home .custom-button-head li a::before,
.search .custom-button-head li a::before {
  content: '#';
  
}
/* .archive .custom-button-head,
.home .custom-button-head,
.search .custom-button-head {
  position: absolute;
  top: 10px;
  right: 8px;
} */
.archive .custom-button-head ul,
.home .custom-button-head ul,
.search .custom-button-head ul {
  flex-direction: column;
  align-items: flex-end;
}
.archive .custom-button-head ul li:first-child,
.home .custom-button-head ul li:first-child,
.search .custom-button-head ul li:first-child {
  margin-bottom: 5px;
}
.archive .elementor-icon-list-icon svg {
  fill: #fff;
}
.archive .elementor-widget-post-info .elementor-widget-container ul li:nth-child(3) {
  width: 100%;
}
.archive .elementor-loop-container, .search .elementor-loop-container,.home .elementor-loop-container{
  place-items: center;
}
.searchandfilter ul li input {
  height: 42px;
}
.searchandfilter ul li input::placeholder {
  color: black !important;
}

@media screen and (max-width:1062px) and (min-width:768px) {
  .cta-nl .elementor-button-text {
    max-width: 280px;
  }
}


/**** Largeur maximale container carte archive ****/
.archive .mycustom-loop,.search .mycustom-loop,.home .mycustom-loop  {
  max-width: 400px;
}

/*********** Border radius des article de type page *************/
.search .page.type-page .mycustom-loop .e-con-inner > div {
  border-radius: 25px;
  margin: auto 0;
}
.page.type-page .mycustom-loop h3 {
  min-height: 62px;
}

/* Input newsletter home */
.mc4wp-form-fields div input::placeholder {
  color: #fff;
}
.mc4wp-form-fields div input:focus{
  border-color: transparent;
  border-bottom-color: #fff;
}
.archive.category.category-test-categories .mycustom-loop img {
  max-height: 300px;
  object-fit: cover;
}

/*Grille de boucle line custom*/
.archive .custom-titre-boucle h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.extrait-pub .elementor-widget-container {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}



/* formulaire espace privé r...r */
.um-page h1{
  text-align: center;
}

body.um-page .um .um-form .um-form-field,
body.um-page .um .um-form .um-form-field:focus{
  border: 0 !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0;
  background: transparent;
}

body.um-page .um .um-form .um-button{
  background: #db2219;
  color: #fff;
} 
body.um-page .um .um-form .um-button.um-alt{
  background: #000000;
} 
body.um-page .um .um-form .um-button:hover{
  background: #000000;
} 
body.um-page .um .um-form .um-button.um-alt:hover{
  background: #db2219;
} 




/* formulaire evenement r...r */
.single-post .category-evenements .wpcf7-form{
  width: 450px;
  max-width: 100%;
  margin: auto;
}
.wpcf7-form label{
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  color: #555;
}
.single-post .category-evenements .wpcf7-form input.wpcf7-form-control{
  border: 0 !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0;
  background: transparent;
}

.single-post .category-evenements .wpcf7-form input.wpcf7-form-control[type="submit"]{
  background: #db2219;
  color: #fff;
  border-bottom: 0 !important;
  color: #ffffff;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  transform: translateX(-50%);
  position: relative;
  left: 50%;
  padding: 12px 50px;
  text-transform: capitalize;
}
.single-post .category-evenements .wpcf7-form input.wpcf7-form-control[type="submit"]:hover{
  background: #000000;
}

.single-post .category-evenements .wpcf7-form #subscribe-newsletter-checkbox > span{
  margin-left: 0;
}
.single-post .category-evenements .wpcf7-form #subscribe-newsletter-checkbox .wpcf7-list-item label{
  display: flex;
  align-items: flex-start;
}
.single-post .category-evenements .wpcf7-form #subscribe-newsletter-checkbox .wpcf7-list-item input{
  top: 5px;
  display: block;
  position: relative;
  margin-right: 5px;
}

/*****************Test search calendar**********************/
.container-info-events {
  gap: 25px;
}

.container-info-events .row-about-the-events {
  text-align: left;
}
body .row-thumbnail-events {
  margin: auto;
}
.container-info-events .row-about-the-events .row-detail-events-link a {
  font-size: 15px;
  font-weight: bold;
  position: relative;
}
.container-info-events .row-about-the-events .row-detail-events-link a:hover {
  color: #DA1E15;
  opacity: 0.5;
}
.container-info-events .row-about-the-events .row-detail-events-link a:after {
  content: "";
  position: absolute;
  top: -4px;
  right: -23px;
  width: 20px;
  height: 28px;
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2222%22%20viewBox%3D%220%200%2016%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M2%2018.9691V3.03086C2%202.20119%202.95209%201.73238%203.60971%202.23824L13.9696%2010.2074C14.49%2010.6077%2014.49%2011.3923%2013.9696%2011.7926L3.60971%2019.7618C2.95209%2020.2676%202%2019.7988%202%2018.9691Z%22%20stroke%3D%22%23DA1E15%22%20stroke-width%3D%222.5%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E);
  background-size: cover;
  transform: scale(0.54);
}
body .row-about-the-events .row-detail-events p,
body .row-about-the-events .row-extrait-events {
  font-size: 15px;
}
body .container-info-events .row-calendar-events {
  width: unset !important;
  padding: 5px 40px;
  border: 1px solid black;
  margin-right: 2%;
  border-radius: 25px;
}

body .container-info-events .row-category-archive-events-link{
  transform: translate(40px, 10px);
  position: relative;
}
@media (max-width: 1024px) {
  body .container-info-events .row-category-archive-events-link {
    transform: translate(0, 0);
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
}

body .container-info-events .row-category-archive-events-link .all-posts-events-link:hover {
  color: #DA1E15;
  opacity: 0.8;
}
body .container-info-events .row-category-archive-events-link a.all-posts-events-link {
  color: #DA1E15;
  font-weight: 500;
  position: relative;
}
body .container-info-events .row-category-archive-events-link a.all-posts-events-link:after {
  content: "";
  position: absolute;
  top: -3px;
  width: 20px;
  height: 28px;
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2222%22%20viewBox%3D%220%200%2016%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M2%2018.9691V3.03086C2%202.20119%202.95209%201.73238%203.60971%202.23824L13.9696%2010.2074C14.49%2010.6077%2014.49%2011.3923%2013.9696%2011.7926L3.60971%2019.7618C2.95209%2020.2676%202%2019.7988%202%2018.9691Z%22%20stroke%3D%22%23DA1E15%22%20stroke-width%3D%222.5%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E);
  background-size: cover;
  transform: scale(0.54);
}

@media (max-width:425px) {
  body .container-info-events .row-calendar-events {
    padding: 5px 0;
  }
}

.container-info-events .row-about-the-events {
  width: 50%;
  margin-top: 20px;
  margin-right: 20px;
}
.container-button-post-event {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}
.container-button-post-event button:first-child {
  margin-right: 25px;
  position: relative;
}
.container-button-post-event button:first-child:before {
  content: "";
  position: absolute;
  top: 6px;
  left: -12px;
  width: 16px;
  height: 22px;
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2222%22%20viewBox%3D%220%200%2016%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M2%2018.9691V3.03086C2%202.20119%202.95209%201.73238%203.60971%202.23824L13.9696%2010.2074C14.49%2010.6077%2014.49%2011.3923%2013.9696%2011.7926L3.60971%2019.7618C2.95209%2020.2676%202%2019.7988%202%2018.9691Z%22%20stroke%3D%22%23DA1E15%22%20stroke-width%3D%222.5%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E);
  background-size: cover;
  transform: rotate(180deg) scale(0.71);
}
.container-button-post-event button:nth-child(2){
  position: relative;
}
.container-button-post-event button:nth-child(2):after {
  content: "";
  position: absolute;
  top: 4px;
  right: -13px;
  width: 20px;
  height: 28px;
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2222%22%20viewBox%3D%220%200%2016%2022%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M2%2018.9691V3.03086C2%202.20119%202.95209%201.73238%203.60971%202.23824L13.9696%2010.2074C14.49%2010.6077%2014.49%2011.3923%2013.9696%2011.7926L3.60971%2019.7618C2.95209%2020.2676%202%2019.7988%202%2018.9691Z%22%20stroke%3D%22%23DA1E15%22%20stroke-width%3D%222.5%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E);
  background-size: cover;
  transform: scale(0.56);
}
.row-calendar-events table tbody>tr:nth-child(odd)>td,
.row-calendar-events table table tbody>tr:nth-child(odd)>th,
.row-calendar-events table th, .row-calendar-events table td {
  background: transparent !important;
  border: none;
  color: black;
}
.row-calendar-events .text-warning {
  color: black;
}
body .row-calendar-events tbody .border {
  border: none !important;
}
body .row-calendar-events tbody tr th, body .row-calendar-events thead tr th:first-child {
  color: white !important;
  font-weight: 500 !important;
  position: relative;
}
body .row-calendar-events tbody tr th::before, .row-calendar-events thead tr th:first-child::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 4.5px;
  width: 20px;
  height: 20px;
  background-color: black;
  z-index: -1;
}
body .row-calendar-events thead tr th {
  font-size: 12px !important;
  font-weight: 500 !important;
}
@media (max-width:1024px) {
  body .container-info-events .row-calendar-events {
    display: block;
    max-width: 400px;
    margin: 0 auto;
  }
  body .row-thumbnail-events{
    display: block;
    margin: auto;
    width: 50%;
  }
  body .row-calendar-events thead tr th {
    font-size: 12px !important;
  }
  body .row-calendar-events tbody tr td span {
    font-size: 12px !important;
  }
  .container-info-events .row-about-the-events {
    width: 40%;
    margin-left: 10px;
    margin-top: 0;
  }
  body .row-calendar-events tbody tr th::before, .row-calendar-events thead tr th:first-child::before {
    left: 9px;
  }
}
@media (max-width:1024px){
  .container-info-events {
    flex-wrap: wrap;
  }
  .calendar-events-container {
    width: 100%;
  }
}
@media screen and (max-width:1023px) and (min-width:767px) {
  .container-info-events .row-about-the-events {
    margin-left: 20px;
  }
}
@media (max-width: 882px) {
  body .row-thumbnail-events {
    width: 40%;
  }
}
@media (max-width:620px) {
  .container-info-events {
    flex-wrap: nowrap;
    flex-direction: column;
  }
  .container-info-events .row-about-the-events {
    width: 100%;
    text-align: center;
  }
  body .row-thumbnail-events{
    width: 100%;
  }
}
@media (max-width:355px) {
  body .row-calendar-events tbody tr th::before, .row-calendar-events thead tr th:first-child::before {
    left: 6px;
  }
}

body .row-calendar-events td .js-today {
  background-color: transparent !important;
  color: black !important;
  font-weight: 500;
  /* border-bottom: 2px solid black !important; */
  border-radius: 0 !important;
}
body .row-calendar-events td .js-today::after {
    content: "";
    position: absolute;
    left: 12px;
    bottom: 9px;
    width: 40%;
    border-bottom: 2px solid #000;
}
body .row-calendar-events .js-date-events {
  color: #DA1E15 !important;
  border: none !important;
}
body .row-calendar-events table thead tr th:nth-last-child(-n+2) {
  color: #6c757d !important;
}
body .row-calendar-events table thead tr th:nth-last-child(n+2):nth-child(-n+6) {
  color: black !important;
}
body .container-info-events .row-calendar-events div a:nth-child(2) {
  text-transform: uppercase;
}

.container-button-post-event button {
  color: #DA1E15 !important;
  opacity: 1;
}
.container-button-post-event button.btn-disabled {
  opacity: 0.5;
}
.container-button-post-event button:hover {
  /* opacity: 0.8 !important; */
  opacity: 0.5;
  background-color: transparent;
  cursor: pointer
}
.container-button-post-event button:active {
  background-color: transparent;
}
.container-button-post-event button:focus {
  background-color: transparent;
}


div#container-info-events {
  display: flex;
}
div#container-info-events .js-today {
  background: #782e3f;
  color: #ffff;
}
.btn-disabled {
  pointer-events: none;
  color: #eee7eb !important;
}

/*** Category/Newsletter ***/
.category-newsletters .elementor-widget-container img {
  border-radius: 25px;
}
.category-newsletters h2.elementor-heading-title {
  text-transform: lowercase;
  font-size: 26px;
}
.category-newsletters h2.elementor-heading-title::first-letter {
  text-transform: uppercase;
}
.category-newsletters .custom-date ul li span:nth-child(2) {
  text-transform: capitalize;
}
body .category-newsletters .custom-date ul li:nth-child(2) {
  margin-left: -2px !important;
}

/*** Réctification header ***/
@media (max-width:1362px){
  .elementor-30779 .elementor-element.elementor-element-365d06d {
    --content-width: 100%;
  }
}
@media screen and (max-width:1362px) and (min-width:1240px) {
  #menubar-146 {
    margin-left: 40px;
  }
}
@media screen and (max-width:1093px) and (min-width:1024px) {
  .elementor-30779 .elementor-element.elementor-element-3653d785 {
    --width: 32%;
}
.elementor-element.elementor-element-207eb5db {
  --width: 40% !important;
}
.elementor-30779 .elementor-element.elementor-element-5f143cc {
  --width: 22%;
}
}

/* Tag color */
.elementor-element .elementor-post__card .elementor-post__badge {
  background-color: #DA1E15;
  height: 24px;
  padding: 2px 10px 25px 10px;
}


/* Amélioration mega-menu */
.custom-left-menu .mega-menu li ul {
  max-height: 0;
  overflow-y: hidden;
  transition: max-height 1s ease;
}

.custom-left-menu .custom-with-child:hover ul {
  max-height: 200px;
  transition: max-height 1s ease;
}
.custom-left-menu .custom-with-child:hover a:first-of-type::after {
  background: url(/wp-content/themes/hello-elementor-child/img/drop-icon-b.svg) no-repeat;
  right: -25px;
}

.custom-left-menu .custom-with-child a {
  position: relative;
  display: inline-block;
  max-width: 80%;
}
.custom-left-menu .custom-with-child > a::after {
  content: '';
  background: url(/wp-content/themes/hello-elementor-child/img/drop-icon.svg) no-repeat;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 0;
  /* left: 430px; */
  right: -25px;
  display: inline-block;
}

/****** Partie recommandé pour vous ******/
.container-recommended-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  place-items: center;
}
@media (max-width:1024px) {
  .container-recommended-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width:767px) {
  .container-recommended-posts {
    grid-template-columns: repeat(1, 1fr);
  }
}
.container-single-recommended-post {
  max-width: 400px;
}
.container-text-recommended h3 {
  margin-bottom: 20px;
}
.content-tag-recommended-post {
  position: absolute;
  top: 15px;
  right: 10px;
}
.container-tag-and-thumbnail {
  position: relative;
}
.container-tag-and-thumbnail .container-thumbnail-recommended-post img {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}
.content-tag-recommended-post .tag-items-recommended-post a {
  color: #fff;
  background-color: #DA1E15;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px !important;
  text-transform: uppercase;
}
.container-date-and-title {
  background: #802A41;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  padding: 0 30px;
  color: #fff;
}
.content-title-recommended-post {
  padding: 20px 0;
}
body .content-title-recommended-post h4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-transform: none;
  text-decoration: none;
  font-weight: 400;
  font-family: var(--e-global-typography-primary-font-family);
}
.content-date-publication-recommended-post {
  border-top: 2px solid #fff;
  margin: 0 -30px;
}
.content-date-publication-recommended-post p {
  padding: 15px 30px;
  font-size: 12px;
  font-family: var(--e-global-typography-primary-font-family);
}
.container-detail-recommended-post-link {
  padding-bottom: 20px;
}
.container-detail-recommended-post-link a {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  font-family: var(--e-global-typography-primary-font-family);
}
.container-detail-recommended-post-link a:hover {
  color: #fff;
}

body span.elementor-post-info__terms-list {
  display: flex !important;
  flex-wrap: wrap;
  grid-template-columns: 1fr 0;
  /* gap: 5px; */
  color: transparent !important;
}

body span.elementor-post-info__terms-list a{
  /* height: 24px; */
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  color: #fff !important;
  align-items: start !important;
}



/***** Popup recherche *****/
body #elementor-popup-modal-30567 {
  /* height: 220px !important; */
  position: fixed !important;
  bottom: unset;
  top: 114px;
}
body #elementor-popup-modal-30567 .dialog-message {
  overflow: hidden !important;
  max-height: 220px !important;
}
body #custom_modal_search {
  min-height: auto !important;
  /* height: 220px !important; */
  background-color: #FFFCF5;
  /* box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2); */
}
body #custom_modal_search::before {
  background-color: #FFFCF5;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width:768px) {
  body #elementor-popup-modal-30567 .dialog-message {
    max-height: unset !important;
  }
  body #elementor-popup-modal-30567 {
    /* height: 450px !important; */
    height: calc(100vh - 114px) !important;
    top: 113px !important;
  }
  body #custom_modal_search {
    /* height: 450px !important; */
    height: calc(100vh - 114px) !important;
    padding: 0 30px;
  }
  .search-modal-dialog .dialog-message.dialog-lightbox-message div#custom_modal_search form.searchandfilter ul li:first-child {
    width: 100% !important;
  }
}
@media (max-width:767px) {
  body #custom_modal_search {
    flex-direction: row;
  }
}

body.custom-header-fixed #elementor-popup-modal-30567 {
    top: 67px;
}

#elementor-popup-modal-30567 .dialog-widget-content {
  top: 0;
  background-color: transparent;
  /* box-shadow: unset !important; */
}
#elementor-popup-modal-30567 .dialog-widget-content.animated {
  background-color: unset !important;
}
#elementor-popup-modal-30567 .dialog-message {
  background-color: transparent !important;
}
#elementor-popup-modal-30567 .elementor-30567 {
  display: none;
}



body.search-opened, body.menu-opened {
  overflow-y: hidden;
}

.dialog-close-button {
  transition: all 0.5s;
}

.elementor-popup-close {
  display: none !important;
}

.elementor-popup.elementor-popup-active {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.elementor-popup.elementor-popup-closing {
  opacity: 0;
}

#custom-header-search-button-close {
  display: none;
}

.custom-all-event h2 {
  font-weight: 600;
  text-align: center;
  margin-bottom: 35px;
}

.elementor-button-icon svg {
  display: block !important;
}



::-webkit-scrollbar {
  width: 10px; /* Adjust the width of the scrollbar */
  opacity: 0.1;
  display: block;

}
::-webkit-scrollbar:hover {
  opacity: 1;
}

::-webkit-scrollbar-thumb {
  /* background-color: transparent; */
  border-radius: 5px;
  transition: opacity 0.3s;
  opacity: 0; /* Initially hidden */
}

::-webkit-scrollbar-track {
  /* background: transparent;  */
  opacity: 0;
  /* Change this to your desired track color */
  display: none;
}

body.scrollbar-hover::-webkit-scrollbar-track {
  opacity: 1; /* Show thumb on hover */
  background-color: #e5e4e4;
  display: block;
}

body.scrollbar-hover::-webkit-scrollbar-thumb {
  opacity: 1; /* Show thumb on hover */
  background-color: #3e3e3e;
}




/* Scrollbar Styling */

/* .e-n-menu .e-n-menu-content.e-active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #0000003d;
} */

/*header sticky*/
.elementor-sticky .e-n-menu .e-n-menu-content > .elementor-element {
  height: fit-content !important;
}

.elementor-sticky > .e-con-inner > div:first-child, .elementor-sticky > .e-con-inner > div:nth-child(3)  {
  height: 100%;
}

.elementor-sticky > .e-con-inner > div:first-child *:not(.e-n-menu-content.e-active, .e-n-menu-content.e-active *),
.elementor-sticky > .e-con-inner > div:nth-child(3) *:not(.sub-menu, .sub-menu *)
{
  height: 100%;
}

.e-n-menu .e-n-menu-content.e-active > .elementor-element > .e-con-inner,
.elementor-sticky > .e-con-inner > div:nth-child(3) .sub-menu
{
  z-index: 9;
  
  height: max-content;

  padding: 0;
  
}

.e-n-menu-content *{
  transition: none !important;
}

.e-n-menu .e-n-menu-content.e-active > .elementor-element > .e-con-inner {
  margin-top: 1px;
  background: #FFF;
  padding-top: 10px !important;
}
.e-n-menu .e-n-menu-content > .elementor-element > .e-con-inner  {
  flex-grow: 0;
}


.elementor-sticky .e-n-menu .e-n-menu-content > .elementor-element  {
  margin-top: 0;
  padding: 0;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: rgba(0, 0, 0, 0.333) 0px 2038px 0px 2038px;
  flex-grow: 0;

}


.elementor-sticky .e-n-menu .e-n-menu-content.e-active > .elementor-element > .e-con-inner {
  padding-top: 0;
  max-width: 100%;
}

.elementor-sticky {
  height: 115px;
}





.elementor-sticky > .e-con-inner > div:nth-child(2) img {
  margin: 10px 0;
}

.elementor-sticky > .e-con-inner , .elementor-sticky > .e-con-inner > div   {
  padding-bottom: 0;
  padding-top: 0;
}

.elementor-sticky .e-fas-caret-down,.elementor-sticky .e-n-menu-dropdown-icon-opened .e-fas-caret-up {
  width: 10px !important;
}

.elementor-sticky > .e-con-inner > div:nth-child(3) .sub-menu {
  box-shadow: rgba(0, 0, 0, 0.333) 0px 2038px 0px 2038px;
}




/*header sticky effect*/

.elementor-sticky.elementor-sticky--effects {
  height: 75px;
}

.elementor-sticky.elementor-sticky--effects .e-n-menu-content{
  padding-top: 10px;
}


@media screen and (max-width:1023px) {
	.menu-mobile-chgp .menu-mobile-chgp-menu-container , .menu-mobile-chgp .menu-mobile-chgp-menu-container > .elementor-element {
		position: static;
	}

	.menu-mobile-chgp .elementor-nav-menu--dropdown li.highlighted > a {
		color: #000 !important;
	}

	.menu-mobile-chgp .elementor-nav-menu--dropdown li > a .sub-arrow svg {
		margin-top: 3px;
	}

	.menu-mobile-chgp .elementor-nav-menu--dropdown li.highlighted > a .sub-arrow svg {
		rotate: 180deg;
	}

	.menu-mobile-chgp .elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-sub-item {
		border-inline-start-width: 0;
	}

	.menu-mobile-chgp .elementor-nav-menu--dropdown.elementor-nav-menu__container ul.sub-menu {
		margin-left: 20px;
	}


	.elementor-nav-menu--toggle .elementor-menu-toggle+.elementor-nav-menu__container {
		max-height: unset !important;
		transform: scaleY(1) !important;
		left: -100% !important;
		top: 102px !important;
		height: calc(100vh - 112px);
		padding-bottom: 10px;
	}

	.elementor-nav-menu--toggle .elementor-menu-toggle.elementor-active+.elementor-nav-menu__container {
		transform: translateX(100%) !important;
		opacity: 1;
		top: 102px !important;
		scrollbar-width: none;  
	}
	


	.elementor-nav-menu--toggle .elementor-menu-toggle.elementor-active+.elementor-nav-menu__container::-webkit-scrollbar {
		display: none; 
	}

	#elementor-popup-modal-30567 {
		z-index: 9999 !important;
	}
	

}

/* .sub-arrow {
  pointer-events: auto; 
} */

.elementor-widget-n-menu .e-n-menu:not([data-layout=dropdown]):not(.content-above) .e-n-menu-content {
  height: 0 !important;
}

.elementor-widget-n-menu .e-n-menu:not([data-layout=dropdown]):not(.content-above) .e-n-menu-content.e-active {
  height: auto !important;
}


/* fixe 02/05 */
.home .slick-dots{
  display: flex;
  gap: 5px;
}

/*Agenda*/
.custom-section-events-agenda{
  margin-top: 20px;
  margin-bottom: 20px;
}
@media screen and (min-width:1025px){
  div#container-info-events #row-thumbnail-events img {
      max-width: 350px;
  }

  .custom-section-events-agenda{
    margin-top: 70px;
    margin-bottom: 70px;
  }

}