:root {
  --eventcustom_primary-color: #1a61a3;
  --eventcustom_primary-color-hover: #4c93d6;
  --eventcustom_search-primary-color: var(--eventcustom_primary-color);
  --eventcustom_dropDown-color: var(--eventcustom_primary-color);
  --eventcustom_cards_badge-color: var(--eventcustom_primary-color);
  --eventcustom_cards_header_font-color: var(--eventcustom_primary-color);
  --eventcustom_cards_header_background-color: #e9ecef;
  --eventDetail_sidebar_title_color: var(--eventcustom_primary-color);
  --eventDetail_sidebar_background_color: #e0e1e2;
  --eventcustom_cards_footer_font-color: black;
  --eventcustom_green-color: green;
  --eventcustom_rouge-color: #ff000078;
}

/* //////////////////////////////////////////// */
/* PAGE HEADER */
.eventcustom_dropdown {
  background-color: var(--eventcustom_cards_badge-color);
  color: white;
  font-size: 18px;
  margin-bottom: 20px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eventcustom_dropdown,
.classDate_cle {
  height: 50px;
}
.custom-date-duree .date {
  font-weight: bold;
  font-size: 12px;
}

.eventcustom_search::placeholder {
  font-weight: normal;
}

.eventcustom_search:focus {
  border-color: var(--eventcustom_primary-color);
}

/* //////////////////////////////////////////// */
/* #event_customCard */

#event_customCard .custom-card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#event_customCard .custom-card-header {
  background-color: var(--eventcustom_cards_header_background-color);
  padding: 10px;
  font-size: 1.1em;
  font-weight: bold;
  min-height: 100px;
}

#event_customCard .custom-badge {
  background-color: var(--eventcustom_cards_badge-color);
  color: white;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

#event_customCard .custom-card-title {
  color: var(--eventcustom_cards_header_font-color);
  margin-top: 8px;
  font-weight: bold;
}

#event_customCard .custom-duree,
#eventDetails .custom-duree {
  border: 2px solid rgb(0, 101, 164);
  color: rgb(0, 101, 164);
  padding: 5px;
  margin-left:10px; 
  display: inline-block;
  margin-bottom: 10px;
  font-weight: bold;
  height:fit-content ;  /*ici*/
}

#event_customCard .custom-card-text {
  font-size: 12px;
  text-align: justify;
  flex:auto;
}

/* #event_customCard FOOTER */
#event_customCard .custom-footer {
  text-align: center;
  padding: 10px;
  background-color: #fff;
  font-weight: bold;
}

#event_customCard .custom-link:hover {
  text-decoration: underline;
}

/* //////////////////////////////////////////// */
/* #eventDetails */

#eventDetails .content {
  padding-right: 50px;
}

#eventDetails .masterTitle {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--eventcustom_primary-color);
  margin-bottom: 20px;
}

#eventDetails .custom-badge {
  background-color: var(--eventcustom_cards_badge-color);
  color: white;
  padding: 5px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  max-width:fit-content
}

#eventDetails .custom-badge.color-two {
  background-color: lightgray;
  color: var(--eventcustom_cards_badge-color);
}

#eventDetails .custom-badge.color-three {
  background-color: #c1e0f6;
  color: var(--eventcustom_cards_badge-color);
}

#eventDetails .sidebar-title {
  color: var(--eventDetail_sidebar_title_color);
  padding: 5px;
  font-size: 14px;
  font-weight: bold;
}

#eventDetails .sidebar-subtitle {
  font-size: 12px;
}

#eventDetails .sidebar .subframe {
  background-color: white;
  padding: 10px;
  /* text-align: center; */
  margin-bottom: 10px;
}

#eventDetails .sidebar {
  background-color: var(--eventDetail_sidebar_background_color);
  padding: 20px;
}

#eventDetails .plan-link {
  font-weight: bold;
  font-size: 18px;
  /* display: inline-flex;
    align-items: center;
    justify-content: center; */
  margin-bottom: 12px;
}

#eventDetails .icon {
  margin-right: 10px;
  /* border-radius: 50%; */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  font-size: 20px;
}

#eventDetails .icon-pdf {
  color: #be0004;
  margin-left: 15px;
  font-size: 30px;
}

#eventDetails .icon.color_prerequis {
  color: green;
}

#eventDetails .icon.color_reconnaissance {
  color: orange;
}

#eventDetails .icon.color_cible {
  color: red;
}

#eventDetails .icon.color_animateur {
  color: grey;
}

#eventDetails .icon.color_tarif {
  color: lightskyblue;
}

#eventDetails .custom-date-duree {
  text-align: center;
  color: var(--eventDetail_sidebar_title_color);
  margin: 10px;
}

#eventDetails .custom-date-duree .date {
  font-weight: bold;
  font-size: 22px;
}

#eventDetails .custom-date-duree .duree {
  font-size: 18px;
}
.custom-date-duree .duree {
  /*font-size: larger;*/
}

/*** accoredons des champs custom dans le previw***/

.boutonsAccordion {
  font-size: 15px;
  border-radius: 0;
  background: none;
  color: black;
}
.boutonsAccordion:hover {
  color: black !important;
}
.event_customCard .card-body {
  max-height: 270px;  /*ici*/
  padding-bottom: 0px !important;
  overflow: auto;
}
#reinit_filtre_evenement {
  background-color: var(--eventcustom_primary-color) !important;
}
#reinit_filtre_evenement:hover {
  background-color: var(--eventcustom_primary-color-hover) !important;
}
#date_entre {
  text-align: center;
}
.duree_icon {
  color: white;
  background: rgb(0, 101, 164);
  border-radius: 50%;
  padding: 5px;
}
.boutonInscriptionEvent {
  border-radius: 0 !important;
}
.duree_section {
  color: var(--eventcustom_primary-color);
  font-weight: bold;
  padding: 5px;
  margin-bottom: 10px;
  font-size: large;
}
.badge_afficher_contenu_revise {
  background-color: var(--eventcustom_green-color) !important;
}
.badge_en_region {
  background-color: var(--eventcustom_rouge-color) !important;
}
.section_ev_cat {
  float: right;
  width: 100%;
}
.section_ev_cat img {
  width: 30%;
  float: left;
  margin-bottom: 15px;
}
.custom-badge:not(.badge_Mode_de_diffusion) {
  background-color: var(--eventDetail_sidebar_background_color) !important;
  color: var(--eventcustom_cards_badge-color) !important;
}

@media print {
  /* Adjust styles for printing, if needed */
  body * {
    color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  button:not(.section_ev_contenu button),
  a:not(.section_ev_contenu a) {
    visibility: hidden;
  }
  .section_ev_contenu .panel-collapse {
    display: block !important;
  }
}
.plan-link img
{
 width:200px;
 height:auto;
}