/*======================================

Styles plugin: Agenda

Theme URI: https://www.studioricom.com/

Description: Styles de l'agenda

Version: 1.0

Author: Yann Le Sager


======================================*/
/* Structure liste agenda. */
.event-container.accueil {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}
/*.event-item.event_num1.accueil {
  width: 195px;
}*/
/***********En MASONRY *********/
.event-container.masonry {
  columns: 3;
  column-gap: 1rem;
}
/***********En GRILLE *********/
.event-container.grille {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  flex-flow: wrap;
  align-content: flex-end;
  align-items: initial;
}
.event-container.grille .event-item {
  /*  height: 350px;
  overflow: hidden;*/
}
.img_accueil, .img_liste {
  aspect-ratio: 1/1;
  width: 250px;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  height: 250px;
}
.img_accueil img,  .img_liste img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
.bloc_art.grille .actu_sec {
  padding-bottom: 15px;
}
/***********En LISTE *********/
.event-container.liste {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
#liste_complete {
  padding: 20px;
}
.tt_actu_sec {
  background: #000;
}
.bt_tous_evt {
  font-weight: 600;
  font-size: 24px;
  color: #fff;
  background: #b2403a;
  display: block;
  vertical-align: revert-layer;
  padding: 1px 0px 4px 10px;
  position: relative;
  grid-column-start: 3;
  width: 250px;
}
a.bt_tous_evt::after {
  content: ">";
  font-weight: 900;
  font-size: 38px;
  display: block;
  width: 32px;
  height: 32px;
  background: #3b485b;
  color: #fff;
  text-align: center;
  line-height: 25px;
  position: absolute;
  right: -12px;
  bottom: -8px;
}
.event-item {
  width: 100%;
  position: relative;
  max-width: 250px;
}
.event-item.event_num1.affichage {
  grid-column: 1/3;
  grid-auto-rows: fit-content;
  grid-row: 1/3;
  padding: 70px 0 0 0;
}
.event-item.event_num2.affichage {
  grid-row: 1;
}
.event-item.event_num3.affichage .img_affichage {
  min-height: 800px;
}
.event-item.event_num3.affichage .img_affichage img {
  min-height: 800px;
}
.event-item.event_num4.affichage {
  grid-column: span 2;
}
.tt_mois {
  color: #bf5621;
  font-size: 24px;
  text-transform: capitalize;
  font-weight: 700;
  background: #fff;
  border-bottom: 1px dotted;
  width: 100%;
  display: block;
  padding: 10px 0 0 3px;
  margin: 0 0 28px 11px;
}
.bloc_info_evt {
  background: #f8f2e7;
  padding: 10px;
  border-radius: 0 0 40px 0;
  height: 220px;
  overflow: hidden;
}
/*.bloc_info_evt::after {
  content: url(https://ricom-collectivites4.fr/montrevault/wp-content/themes/montrevault-theme/img/picto-plus.png);
  position: absolute;
  right: -5px;
  bottom: 2px;
}*/
.bloc_info_evt .plus {
  position: absolute;
  right: -12px;
  bottom: -4px;
  display: block;
  height: 35px;
  width: 35px;
}
.saison .bloc_info_evt {
  background-color: var(--saison-coul2);
}
.saison .couleur1 {
  fill: var(--saison-coul2);
}
.saison .tt_mois {
  color: var(--saison-coul2);
}
.saison .evt_cat {
  color: var(--saison-coul2);
}
.saison #toggleButton, .saison .bt_filtrer, .saison .facetwp-reset {
  background: #c00b5e2e;
  transition: all 0.3s ease-in-out;
}
.saison .facetwp-facet.bt_filtrer:hover, .saison .facetwp-reset:hover, .saison #toggleButton:focus, .saison #toggleButton:hover {
  outline: #c00b5e 4px solid;
  transition: all 0.3s ease-in-out;
}
.evt_cat {
  text-transform: uppercase;
  color: #fff;
  font-size: 11px;
  background: #db0048;
  display: inline-block;
  border-radius: 30px;
  padding: 0 10px;
  font-weight: 600;
  margin-bottom: 10px;
}
.tt_evt_list {
  font-size: 24px;
  color: #000;
  padding-bottom: 8px;
  font-weight: 300;
}
.tt_evt_list a:hover {
  color: #096286;
  transition: all 0.5s ease-in-out;
}
.evt_extrait {
  font-size: 14px;
  line-height: 1.3em;
  color: #2d2d2d;
  text-transform: none;
  font-variation-settings: "wght"400;
}
/*.bloc_info_evt .bloc_resa a::after {
  content: "+";
  font-weight: 900;
  font-size: 37px;
  display: block;
  width: 32px;
  height: 32px;
  background: #3b485b;
  color: #fff;
  text-align: center;
  line-height: 25px;
  position: absolute;
  right: -20px;
  bottom: -8px;
}*/
.bloc_desc {
  margin-top: 10px;
}
.bloc_resa a {
  font-size: 13px;
  text-transform: uppercase;
  margin-right: 15px;
  font-weight: 700;
}
.img_affichage {
  position: relative;
  width: 100%;
  height: 100%;
}
.img_affichage a {
  display: block;
}
.img_affichage img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*.img_liste > img, .img_grille > img {
  width: 470px;
  border-radius: 20px;
  object-fit: cover;
  height: 100%;
}*/
/*.date.fin::before {
  content: url(images/separateur-date.png);
  display: inline-block;
  width: 20px;
  height: 30px;
	vertical-align: top;
}*/
/*.bloc_date {
  display: flex;
  justify-content: center;
}*/
.bloc_date .separateur {
  margin: 0 8px;
  max-height: 30px;
}
.bloc_date {
  font-size: 24px;
  line-height: 0.7em;
  color: #4fc0cc;
  font-weight: 400;
  margin-top: 7px;
  font-variation-settings: 'wght'400;
}
/*.jour {
  display: block;
}
.mois {
  display: block;
  font-size: 24px;
}*/
.centered-text {
  text-align: center;
}
.custom-image-class {
  margin: 0;
  padding: 0;
}
.post-thumbnails-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 95%;
  gap: 10px;
  width: 900px;
}
/**********SINGLE****************/
.single-event #main-content {
  max-width: 100%;
  margin: auto;
}
.single-event #entete_evt {
  min-height: 140px;
  background: #e9f0e0;
	padding-bottom: 20px;
}

.single-event .container {
  width: 1000px;
	max-width: 100%;
  margin: 0 auto;
	padding-top: 0px !important;
	padding-bottom: 40px;
	display: flex;
	flex-wrap: wrap;
	gap : 30px;

}
.single-event .container article {
	flex: 1;
  margin: 10px auto;


}
.header_evt {
  display: flex;
  width: 1000px;
  margin: auto;
  flex-wrap: wrap;
  max-width: 100%;
  position: relative;
}
.vignette_evt {
  max-height: 200px;
  max-width: 320px;
  overflow: hidden;
  /* border-radius: 0 30px 0 0;*/
  outline: #fff 3px solid;
}
.vignette_evt img {
  height: 200px;
  width: 335px;
  object-fit: cover;
}
.titre_evt {
  padding-top: 30px;
  flex: 1;
}
#sidebar_evt .date_infos {
  background-color: #0c8a8b;
  padding: 20px 15px;
  position: relative;
  top: -40px;
  min-width: 90px;
  border-radius: 0 0 40px 0;
  color: #fff;
font-family: 'Fredoka',Helvetica,Arial,Lucida,sans-serif;
  line-height: 1em;
}
.date_infos .dates {
  font-size: 30px;
  line-height: 1.1em;
  padding-bottom: 15px;
  text-align: left;
}
.date_infos .horaires {
  font-size: 30px;
  font-weight: 400;
  margin: 15px 5px 5px -10px;
  border-bottom: 0px;
}
.nom_jour {
  display: block;
  font-size: 30px;
  font-weight: 400;
}
.single-event .lieu {
  text-align: left;
  margin-top: 20px;
  border-top: 1px dotted #fff;
  padding-top: 15px;
  line-height: 1.4em;
  font-weight: 600;
  font-size: 16px;
}
.bloc_contact {
  font-size: 16px;
	border-top: 1px solid #0b8384;
	margin-top: 15px;
	padding-top: 10px;
}
.bloc_contact p {
  padding-bottom: 0;
}
/*.infos {
  border-top: 1px dotted #000;
  padding-top: 20px;
  font-size: 16px;
  column-count: 2;
}*/
.single-event h1.entry-title {
  font-size: 50px;
  color: #127572 !important;
  line-height: 0.8em;
	margin-top: 0;
	max-width: 660px;
}
.single-event h3 {
  font-size: 24px;
  color: #00234f !important;
}
.single-event h2 {
  font-weight: 700;
  font-size: 28px;
  color: #DB0048 !important;
}
.single-event .entry-title::after {
  /* content: " ";
  width: 90px;
  height: 7px;
  background: #3f7b94;
  display: block;
  border-radius: 0px 0 7px;
  bottom: 0px;
  position: relative;*/
}
.cat_evt {
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
  color: #161616b8;
}
.organisateur {
  font-size: 28px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 300;
  line-height: 1em;
  color: #608b65;
}
.titre_evt h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 300;
}
.entry-content.withsd {
  display: flex;
  max-width: 1180px;
  margin: auto;
  padding: 0 !important;
  flex-wrap: wrap;
}
.withsd .et-l.et-l--post {
  width: 100%;
}

#sidebar_evt {
  width: 320px;
  margin-right: 40px;
}
#sidebar_evt .couleur1 {
  fill: #fff;
}
#sidebar_evt a {
  color: #282828;
}
#sidebar_evt .dates {
  font-size: 36px;
  padding: 10px 0px 0px 20px;
}
#sidebar_evt .horaires {
  font-size: 24px;
  text-align: left;
  padding: 5px 10px 10px 20px;
}
#sidebar_evt .complements_horaires {
  font-size: 0.8em;
}
#sidebar_evt .horaires .couleur1 {
  fill: #fff;
}
#sidebar_evt .lieu {
  font-size: 17px;
  font-weight: 300;
  margin: 10px 20px;
}
.resa {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5em;
  background: #ffffff40;
  padding: 20px 20px;
  border-radius: 0 40px 0 40px;
  margin: 20px 0;
}
.contact {
  border-width: 3px;
  border-style: dotted;
  border-color: #CFB57E;
  padding-top: 10px !important;
  padding-right: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 10px !important;
  margin-top: 22px !important;
}
#sidebar_evt .infos {
  font-size: 17px;
  font-weight: 300;
  padding: 10px 20px;
  line-height: 1.4em;
}
.contenu_principal {
  flex: 1;
  font-size: 18px;
  max-width: 730px;
  line-height: 1.6em;
  word-wrap: break-word;
  font-weight: 400;
	padding-top: 20px;
}
/*******CALENDRIER ***********/
.calendrier {
  background-image: radial-gradient(circle at center, #e6edd9 67%, rgba(255, 255, 255, 0) 67%);
  padding-top: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  padding-left: 30px;
  width: 500px;
  aspect-ratio: 1;
  position: relative;
  margin: 0 auto -80px auto;
  display: grid;
  place-items: center;
}
#eo_shortcode_calendar_0 {
  /*background: #fff;*/
  padding: 20px;
  /*max-width: 300px;*/
  margin: auto;
}
#wp-calendar {
  border: 0px !important;
}
#wp-calendar table, #wp-calendar tr td {
  border-top: 0px solid transparent;
}
#wp-calendar caption {
  text-decoration: none;
  font: 300 26px quicksand, Sans-Serif !important;
  /*text-transform: uppercase !important;*/
  color: #719c3d !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  max-width: 143px;
  margin: 0 auto 10px auto;
  line-height: 0.8em !important;
  height: 40px !important;
  padding-top: 10px !important;
}
#wp-calendar caption {}
.eo-future-date, .entry-content thead th, .entry-content tr th, .entry-content tr td, .eo-past-date, .today {
  text-align: center;
  width: 35px;
  height: 35px;
  font-size: 14px;
  padding: 8px 8px;
}
.eo-past-date {
  background-color: #fff;
  border-radius: 30px;
  color: #9f9f9f;
}
.eo-past-date, .eo-future-date, .today {
  background-color: #fff !important;
  border-radius: 30px;
  background: url(images/fd-td.png) no-repeat center;
  background-size: contain;
}
.eo-future-date {
  color: #000 !important;
}
.eo-future-date.event, .eo-future-date.event a:focus {
  background-color: #e00449 !important;
  border-radius: 30px;
}
/*.entry-content table:not(.variations), .entry-content tr td {
  border: 0px solid #fff !important;
}*/
#wp-calendar tfoot {
  top: 3px;
  position: absolute;
  width: 100%;
}
#eo-widget-prev-month {
  width: 50%;
  text-align: left;
  font-size: 0px;
  color: #719c3d;
}
#eo-widget-prev-month a::before {
  content: "<";
  font-size: 30px;
  color: #719c3d;
}
#eo-widget-next-month {
  width: 50%;
  text-align: right;
  font-size: 0px;
  color: #719c3d;
}
#eo-widget-next-month a::after {
  content: ">";
  font-size: 30px;
  color: #719c3d;
}
/******** liste_complete ****************/
/*#liste_complete .img_grille {
  width: 300px;
  border-radius: 0 50px 0 0;
}*/
.bloc_grille {
  display: flex;
  flex-wrap: wrap;
}
.bloc_grille .event-item {
  width: 100%;
  position: relative;
  margin: auto;
  max-width: 470px;
  padding: 15px 30px;
}
#liste_complete .grille .event-item {
  width: 90%;
  height: auto;
  overflow: unset;
}
.col2 {
  position: relative;
  top: -200px;
}
/*.img_grille img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  border-radius: 0 50px 0 0;
}*/
/******** AUTRES EVT *********/
.bloc_autres {
  background: #BF56211F;
  width: 100%;
  padding: 30px 0;
}
.autres_evt {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 900px;
  margin: auto;
}
.upcoming-event {
  max-width: 280px;
}
.autres_evt h3 {
  width: 100%;
  font-size: 30px;
  color: #bf5621;
}
.autres_evt .vignette_evt {
  max-height: 180px;
  max-width: 280px;
  overflow: hidden;
  border-radius: 0 30px 0 0;
  outline: #00000029 1px solid;
  box-shadow: 0 0 10px #000000a3;
}
.autres_evt h4 {
  width: 100%;
  font-size: 19px;
  color: #bf5621;
  font-weight: 700;
  margin-top: 15px;
}
/********* BELVEDERE *************/ :root {
  --main-belv-bg-color: #ffca00;
  --main-belv-bg-img: url(https://ricom-collectivites4.fr/smu/wp-content/uploads/2025/05/fd_saison_2425.png), linear-gradient(180deg, rgba(0, 16, 109, 0.06) 0%, rgba(41, 196, 169, 0) 7%);
  --main-belv-txt-color: #242424;
}
#intro.belvedere, #entete_evt.belvedere {
  background-color: var(--main-belv-bg-color) !important;
  background-size: contain;
  background-position: right 0px bottom 5%;
  background-image: var(--main-belv-bg-img) !important;
  background-repeat: no-repeat;
}
.single-event #entete_evt.belvedere h1.entry-title, #entete_evt.belvedere .organisateur, #entete_evt.belvedere .cat_evt {
  color: var(--main-belv-txt-color) !important;
}
.bouton_vert {
  border-width: 0px !important;
  border-radius: 50px;
  font-size: 15px;
  padding: 8px 10px 8px 76px;
  line-height: 1.2em;
  max-width: 230px;
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  background: #6c9d30 url("images/ic-calendrier.png") center left 27px no-repeat;
}
.bouton_vert a {
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}
.bouton_vert:hover {
  outline: 5px solid #dfdfdf;
  transition: all 0.3s ease-in-out;
}
/************* CONNEXE *************/
.related-event {
  width: 30%;
  min-width: 280px;
}
/*********************************/
@media(max-width:680px) {
  #entete_evt {
    height: auto;
    padding-bottom: 20px;
  }
  #intro.belvedere, #entete_evt.belvedere {
    background-image: none !important;
  }
  .vignette_evt {
    max-width: 100%;
    overflow: hidden;
    border-radius: 0 30px 0 0;
    outline: #fff 0px solid;
    width: 100%;
  }
  .vignette_evt img {
    height: 200px;
    width: 100%;
    object-fit: cover;
  }
  #sidebar_evt {
    width: 100%;
    margin-right: 0px;
  }
  #sidebar_evt .date_infos {
    width: 100%;
  }
  .contenu_principal {
    max-width: 95%;
    margin: auto;
    flex: 1;
  }
  .img_liste {
    height: auto;
    margin: auto;
    position: relative;
  }
  .img_liste > img {
    width: 320px;
    border-radius: 0 50px 0 0;
    object-fit: cover;
    height: 100%;
  }
  .bloc_desc {
    margin-top: 10px;
    max-width: 100%;
    margin:  15px auto;
  }
  
  .autres_evt {
    padding: 0 20px;
  }
  .event-container.liste {
    float: unset;
  }
  .img_accueil {
    aspect-ratio: 1/1;
    width: 100%;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    height: auto;
  }
	.event-item {
  width: 100%;
  position: relative;
  max-width: 300px;
}
	#sidebar_evt .date_infos {
  top: 0px;
}
}
/*#actu_princ {
  text-align: center;
  align-items: center;
  justify-content: center;
  /* height: 240px;

  width: 33%; 
}
.actu_sec {

    text-align: center;

    align-items: center;

    justify-content: center;

    width: 33%;

}

.actu_sec span.jour {

  color: #4123e6;

  font-size: 50px;

  font-weight: 900;

  line-height: 0.7;

}*/
/*.publi {
  width: 150px;
  height: 250px;
  background: yellow;
}
.actu_sec span.mois {
  color: #4123e6;
  font-size: 25px;
  font-weight: 400;
  line-height: 0.7;
  display: block;
}

.tt_actu_second1 {
  display: flex;
  margin-top: 50px;
  margin-left: -100px;
}
.tt_actu_second2 {
  display: flex;
  margin-top: 50px;
  margin-left: -70px;
}
.tt_actu_second3 {
  display: flex;
  margin-top: 50px;
  margin-left: -70px;
}

*/