/*======================================
Theme Name: Agenda BenB
Theme URI: https://www.studioricom.com/
Description: Thème pour le site de la Communauté de communes Saône-Beaujolais
Version: 1.0
Author: Yann Le Sager
Template: Divi
======================================*/
/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */
.event-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: normal;
  gap: 10px;
}
.event-container.facetwp-template > * {
  flex: 1 265px;
}
.event-item {
  /*margin-right: 10px;*/
  position: relative;
}
.img_carre {
  position: relative;
}
.img_carre img {
  object-fit: cover;
  aspect-ratio: 4/3;
  width: 100%;
  height: 100%;
}
.date {
  aspect-ratio: 1/1;
  width: 86px;
  background: #fedc19;
  position: absolute;
  bottom: -32px;
  left: 60px;
  text-align: center;
  padding: 14px;
  display: grid;
  align-items: end;
  border-radius: 50%;
  z-index: 2;
}
.event-item.event_num1 .date {
  position: absolute;
  left: 20px;
}
.arrow-triangle {
  display: none;
}
.event-item span.jour {
  color: #fff;
  font-size: 50px;
  font-weight: 900;
  line-height: 0.7;
}
.event-item span.mois {
  color: #fff;
  font-size: 25px;
  font-weight: 400;
  line-height: 0.7;
  display: block;
}
.tt_evt_list {
  text-transform: uppercase;
  line-height: 1.2em;
  font-size: 15px;
  color: #fd7d0b;
  font-weight: 800;
  margin-top: 15px;
  margin-left: 90px;
}
.tt_evt_list {
  margin-left: 150px;
}
.event-item.event_num1 .tt_evt_list {
  margin-left: 110px;
}
.event-item p {
  font-size: 16px;
  line-height: 1.5em;
  color: #222;
}
.event-item.event_num1 {
  margin-right: -30px;
  margin-left: 30px;
}
.event-item.event_num3 {
  margin-right: 30px;
  margin-left: -30px;
}
/**********MASQUE**************/
.maskag1, .maskag2, .maskag3 {
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-color: #69b95a;
  display: flex;
  /*mask-size: 100%;*/
  align-items: initial;
  height: 298px;
  mask-position: bottom;
  -webkit-mask-position: bottom;
}
.maskag1 {
  -webkit-mask-image: url(evt1.svg);
  mask-image: url(evt1.svg);
}
.maskag2 {
  -webkit-mask-image: url(evt2.svg);
  mask-image: url(evt2.svg);
}
.maskag3 {
  -webkit-mask-image: url(evt3.svg);
  mask-image: url(evt3.svg);
}
/*************** LISTE ****************/
.event-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: normal;
  gap: 15px;
}
.event-item.event_num1 {
  margin-right: -30px;
  margin-left: 10px;
}
.list_agenda .event-item.event_num3 {
  margin-right: 10px;
  margin-left: -30px;
}
/****************FICHE AGENDA************/
#corps_evt {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  /*display: flex;
	gap: 30px;*/
  display: block;
  margin-top: -40px;
}
#image-container {
  margin: auto;
  width: 1200px;
  background: #05405c26;
  aspect-ratio: 16/6;
  overflow: hidden;
  align-content: center;
  display: grid;
}
#corps_evt #sidebar {
  float: left;
  width: 35%;
}
#sidebar_benb {
  border-radius: 15px;
  background: #fff;
  position: relative;
  padding: 13px;
}
#corps_evt .contenu_principal {
  width: 100%;
  padding-bottom: 23px;
}
#corps_evt .evt_date {
  background: #05405c;
  position: relative;
  text-align: center;
  padding: 15px;
  display: grid;
  align-items: end;
  border-radius: 15px;
  margin-bottom: 25px;
}
#corps_evt .evt_date .evt_jour {
  color: #fff;
  font-size: 35px;
  font-weight: 900;
  line-height: 2em;
}
#corps_evt .evt_date .evt_heure {
  display: flex;
  justify-content: space-evenly;
  color: #fff;
  font-size: 30px;
  font-weight: 300;
}
#corps_evt .evt_adresse {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  padding-top: 17px;
  border-top: 1px #fff dotted;
  margin-top: 20px;
}
#corps_evt .evt_adresse a {
  font-size: 110%;
  color: #fff;
}
.arrow-triangle {
  width: 0;
  height: 0;
  border-left: 15px solid #013e46;
  border-right: 15px solid transparent;
  border-bottom: 15px solid transparent;
  position: absolute;
  right: -15px;
  bottom: -15px;
}
.acf-info {
  padding: 20px;
  border: 1px dotted #000;
  margin-top: 30px;
}
#main-content .container::before {
  content: none;
  position: absolute;
  top: 0;
  height: 100%;
  width: 0px;
  background-color: #e2e2e2;
}
.container.evt {
  /* display: flex;*/
}
#event-details-container {
  display: flex;
  gap: 20px;
  margin: auto;
  max-width: 400px;
  background: #fff;
  border: 1px solid;
  padding: 20px;
  justify-content: space-between;
  top: -50px;
  position: relative;
}
.entry-header {
  margin-bottom: 25px;
}
.single-event h1.entry-title.centre {
  text-align: center !important;
}
.single-event h1.entry-title::before {
  content: "" !important;
  margin-right: 0 !important;
}
#image-container img {
  margin: 0 auto;
}
.carte_op_bas {
  margin: 30px 0;
}
#eo_venue_map-1 {
  height: 500px !important;
}
/************* FICHEs SINGLE ***************/
.event-container.facetwp-template.list_agenda > * {
  flex: 1 265px;
}
.event-container.facetwp-template.list_agenda .maskag1, .event-container.facetwp-template.list_agenda .maskag2, .event-container.facetwp-template.list_agenda .maskag3 {
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-color: #69b95a;
  display: flex;
  mask-size: 100%;
  align-items: initial;
  height: 200px;
  mask-position: bottom;
  -webkit-mask-position: bottom;
  mask-image: url(evt2.svg) !important;
}
.event-container.facetwp-template.list_agenda .date {
  aspect-ratio: 1/1;
  width: 50px;
  background: #fedc19;
  position: absolute;
  bottom: 10px;
  left: 40px;
  text-align: center;
  padding: 14px;
  display: grid;
  align-items: end;
  border-radius: 50%;
  z-index: 2;
}
.event-container.facetwp-template.list_agenda .event-item span.jour {
  color: #000;
  font-size: 18px;
  font-weight: 900;
  line-height: 0.9em;
}
.event-container.facetwp-template.list_agenda .event-item span.mois {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 0.7;
  display: block;
}
.event-container.facetwp-template.list_agenda .event-item.event_num1 .tt_evt_list, .event-container.facetwp-template.list_agenda .tt_evt_list {
  margin-left: 40px !important;
}
.event-container.facetwp-template.list_agenda .tt_evt_list {
  text-transform: uppercase;
  line-height: 1.2em;
  font-size: 13px;
  color: #fd7d0b;
  font-weight: 800;
  margin-top: 10px;
}
/****************CALENDRIER********************/
#calendrier {
  background: rgb(1, 37, 70);
  background: linear-gradient(170deg, rgb(6, 74, 64) 23%, rgb(60, 163, 99) 100%);
  margin: 0 10px;
}
#calendrier #wp-calendar caption {
  text-decoration: none;
  font: 200 40px 'Roboto', Helvetica, Arial, Lucida, sans-serif;
  color: #b0d8d9;
  text-transform: capitalize;
  line-height: 1em;
  margin-bottom: 10px;
}
#calendrier #wp-calendar thead {
  border-bottom: solid 3px #68b657;
}
#calendrier thead th {
  color: #ddc60c;
}
#calendrier #wp-calendar a {
  display: block;
  color: #eaffff;
  font-weight: 900;
}
#calendrier .entry-content thead th, .entry-content tr th {
  color: #68b657;
  font-weight: 700;
  padding: 9px 24px;
}
@media (max-width: 640px) {
  event-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: normal;
    gap: 15px;
    width: 90%;
    margin: auto;
  }
  .maskag1, .maskag2, .maskag3 {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    contain: content !important;
    border-radius: 20px !important;
  }
  .event-container.facetwp-template > * {
    flex: 100%;
  }
  .event-item.event_num1, .event-item.event_num3 {
    margin-right: 0px !important;
    margin-left: 0px !important;
  }
  .date, .event-item.event_num1 .date {
    left: 10px;
  }
  .tt_evt_list {
    margin-left: 100px;
  }
}