/* Single Event */

.event-single-content {
  /* display: flex; */
  margin-bottom: 60px;
  min-height: 450px;
}

/* @media (max-width: 984px) {
  .event-single-content {
    flex-direction: column;
  }
} */

.event-single-content .em.em-item.em-item-single .em-item-header .em-item-meta {
  column-gap: 20px !important;
  row-gap: 0 !important;
}

.event-single-content .em.em-item.em-item-single .em-item-header {
  color: var(--bleu-tres-fonce);
  font-weight: 600;
}

.event-single-content .em.em-item.em-item-single .em-event-content {
  color: var(--bleu-tres-fonce);
}

/* .event-single-content > div {
  flex: 1 1 50%;
} */

.event-single-content .em.em-item.em-item-single .em-item-header .em-item-meta > section section {
  margin-bottom: 0;
}

.em-item-meta-line .em-icon {
  background-image: none !important;
  width: 24px;
  height: 24px;
}

.em-item-meta-line.cat-reg .em-icon svg {
  fill: var(--vert-fonce);
}

.em-item-meta-line.cat-ponc .em-icon svg {
  fill: var(--orange-fonce);
}

.em-item-meta-line.cat-rdv .em-icon svg {
  fill: var(--bleu-fonce);
}

.em-icon-category.em-icon {
  width: 14px;
  height: 14px;
  line-height: 22px;
  justify-self: center;
  align-self: center;
  margin-left: 4px;
  margin-bottom: 0;
}

.em-icon-category.em-icon.cat-reg {
  background-color: var(--vert-fonce);
}

.em-icon-category.em-icon.cat-ponc {
  background-color: var(--orange-fonce);
}

.em-icon-category.em-icon.cat-rdv {
  background-color: var(--bleu-fonce);
}

.image-modale {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.image-modale .full-size-image {
  max-width: 100%;
  height: auto;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
}

.image-modale .close-modale-button {
  top: 20px;
  right: 20px;
  font-size: 50px;
  color: white;
  cursor: pointer;
  width: fit-content;
  display: block;
  margin: 20px 20px 10px auto;
}


.event-single-content .em.pixelbones .custom-add-to-calendar button.input {
  color: white !important;
  text-transform: none !important;
  font-size: 14px !important;
  padding-right: 38px !important;
  border-radius: 7px !important;
  border: none !important;
}

.event-single-content .custom-add-to-calendar.cat-reg button.em-event-add-to-calendar {
  background-color: var(--vert-fonce) !important;
}

.event-single-content .custom-add-to-calendar.cat-ponc button.em-event-add-to-calendar {
  background-color: var(--orange-fonce) !important;
}

.event-single-content .custom-add-to-calendar.cat-rdv button.em-event-add-to-calendar {
  background-color: var(--bleu-fonce) !important;
}

.em button.input.em-tooltip-ddm {
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E") !important;
}
.em button.input.em-tooltip-ddm[aria-expanded="true"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23fff'%3E%3Cpath d='M5.8 16.4c.4 0 .7-.1.9-.4l4.3-4.6c.5-.5 1.4-.5 1.9 0l4.3 4.6c.2.3.6.4.9.4 1.1 0 1.7-1.3.9-2.1l-6.2-6.8c-.5-.6-1.4-.6-1.9 0l-6.2 6.8c-.5.8.1 2.1 1.1 2.1z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E") !important;
}

.em-recurring-info {
  padding-left: 34px;
  font-weight: 400;
  font-style: italic;
  margin-top: -9px;
}

/* modifs */

.event-single-content .em.em-item.em-item-single .em-item-header {
  width: 100%;
}

.event-single-content .em.pixelbones .grid-container {
  grid-template-columns: none !important;
}

.event-single-content .image-content {
  width: 100%;
  max-height: 450px;
  overflow: hidden;
}

.event-single-content .em.em-item.em-item-single .em-item-header .em-item-meta>section {
  flex: unset;
}


@media (min-width: 985px) {
  .event-single-content .em.em-item.em-item-single .em-item-header {
    width: 45%;
  }
  .event-single-content .image-content {
    width: 50%;
    float: right;
    margin-left: 20px !important;
    margin-bottom: 20px !important;
  }

}


/* fin modifs */


/* Prochaines évènements */


.all-next-events {
  clear: both;
  margin-top: 40px;
}

.next-events-section {
  margin-bottom: 30px;
}

.next-events-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  gap: 20px;
  scrollbar-width: thin;
  padding-bottom: 20px;
}

.next-events-list.cat-reg {
  scrollbar-color: var(--vert-fonce) rgba(0, 0, 0, 0.1);
}

.next-events-list.cat-ponc {
  scrollbar-color: var(--orange-fonce) rgba(0, 0, 0, 0.1);
}

.next-events-list.cat-rdv {
  scrollbar-color: var(--bleu-fonce) rgba(0, 0, 0, 0.1);
}

.next-eventcard {
  flex: 0 0 275px;
}

.next-eventcard .event-image {
  height: 130px;
  width: 100% !important;
}

.next-eventcard .event-excerpt,
.next-eventcard .event-label {
  display: none;
}

.next-eventcard .next-event-add-to-agenda  button.input.em-event-add-to-calendar {
  font-size: 14px;
  padding-left: 40px !important;
}

.next-eventcard .event-content {
  display: flex !important;
  flex-direction: column !important;
}