::selection {
  background: #e3c332 !important;
  /* WebKit/Blink Browsers */
}

::-moz-selection {
  background: #e3c332 !important;
  /* Gecko Browsers */
}

.spacer {
  margin-top: 1em;
  margin-bottom: 1em;
}

#et_mobile_nav_menu .mobile_menu_bar:before {
  content: "\f007";
  /* Font Awesome 'user' icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 24px;
}

/* Optionnel : aligner/ajuster visuellement */
#et_mobile_nav_menu .mobile_menu_bar {
  width: auto;
}

/* .mandats-grid-container:not(.mandats-slider),
.events-grid-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(375px, 1fr));
  grid-auto-rows: minmax(400px, max-content);
  grid-gap: 1em;
} */
.mandats-grid-container:not(.mandats-slider),
.events-grid-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
  gap: 1rem;
}



.mandats-grid-container.cols-3:not(.mandats-slider) {
  grid-template-columns: repeat(3, 1fr);
}

.mandat-grid-item {
  width: 375px;
}

.mandat-grid-item,
.event-grid-item {
  display: flex;
  flex-direction: column;
  font-size: 18px;
}

.event-grid-item {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  width: 375px;
}

.mandat-grid-item .mandat-image {
  height: 230px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
}

.mandat-grid-item .mandat-image>a {
  display: block;
  height: 100%;
  width: 100%;
}

.mandat-grid-item .mandat-status,
.event-grid-item .event-status {
  padding: 0.5em;
  text-transform: uppercase;
  color: white;
  font-family: "Lato";
  font-weight: bold;
  flex-wrap: wrap;
}

.mandat-grid-item .mandat-status.taken {
  background-color: #e2231a;
  line-height: 1.6em;
  display: flex;

  align-items: center;
}

.mandat-corpo-info {
  /*padding-top: 20px;*/
  padding-bottom: 20px;
}

.mandat-corpo-info div {
  padding-bottom: 4px;
}

.mandat-corpo-info em {
  color: #e2231a;
  font-style: normal;
  font-weight: 800;
}

.mandat-corporatif-empty {
  color: white !important;
}

.event-grid-item .event-status.taken {
  background-color: #e2231a;
}

.mandat-grid-item .mandat-status.reserved {
  background-color: #1a1a1a;
}

.mandat-grid-item .mandat-status.free,
.event-grid-item .event-status.free {
  background-color: #00874d;
}

.mandat-grid-item .mandat-content,
.event-grid-item .event-content {
  padding: 30px 0.5em 1em;
  background-color: #ebebeb;
  flex: 1;
}

.mandat-grid-item .mandat-content .mandat-organisme {
  padding-bottom: 0;
  line-height: 1.25em;
  padding-top: 20px;
}

.mandat-grid-item .mandat-content .mandat-title {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 0.5em;
  color: black !important;
}

.mdtcorp-entreprise {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
}

.mdtcorp-entreprise img {
  margin-right: 0.25em;
}

img.mdtcorp-list-ent-logo {
  width: auto;
  height: 80px;
}

.mandat-content .mandat-dates>div,
.mandat-benevoles,
.mandat-title,
.event-description,
.event-taches,
.event-dates,
.event-benevoles {
  margin-bottom: 0.75em;
}

.mandat-benevoles-corpo {
  margin-top: 20px !important;
}

.ib-ben-underline {
  width: 75%;
  margin-left: 0;
}

.event-description {
  font-weight: 400;
}

.event-taches {
  font-weight: 400;
  font-size: 16px;
}

.mandat-benevoles em,
.mandat-benevoles-corpo em,
.event-benevoles em {
  color: red;
  font-style: normal;
  font-weight: 800;
}

.event-image-wrapper {
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-image-wrapper .event-image {
  width: 75%;
}

.mandat-grid-item .mandat-image,
.event-image-wrapper {
  transition: 150ms ease-in-out;
}

.mandat-grid-item .mandat-image:hover,
.event-image-wrapper:hover {
  opacity: 0.6;
}

/* Badge */
.mandat-image img {
  position: absolute;
  top: 15px;
  right: 30px;
}

.ib_postuler_expertise {
  color: white;
  background: linear-gradient(0deg, #726219, #e3c332);
  font-size: 16px;
  text-transform: uppercase;
  display: inline-block;
  line-height: 1;
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  border: none !important;
  text-decoration: none !important;

}

.ib_postuler_expertise:hover {
  color: white;
  background: #e3c332 !important;
}

.mandat-link-details.button,
.event-link-details.button {
  font-size: 16px;
  text-transform: uppercase;
  color: black;
  background-color: white;
  padding: 0.25em;
  transition: 100ms ease-in-out;
}

.mandat-link-details.button:hover,
.event-link-details.button:hover {
  background-color: #e2231a;
  color: white;
}

.ib-mdt-corp-filter {
  color: white;
  display: flex;
}

.ib-mdt-corp-type-filter,
.ib-mdt-corp-benevoles-filter,
.ib-mdt-corp-organisme-filter,
.ib-mdt-corp-mois-filter {
  padding: 15px;
}

/* Sliders */
.slick-slide {
  margin-right: 1em;
}

.slick-list {
  margin-right: -1em;
}








/* Organismes participants */
.organismes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1em;
}

.organisme-grid-item {
  font-weight: 400;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  padding: 1.5em;
  font-size: 16px;
}

.organisme-grid-item .organisme-details {
  margin-bottom: 1em;
}

.organisme-grid-item .organisme-logo {
  max-height: 150px;
  margin-bottom: 1em;
}

.organisme-grid-item {
  position: relative;
}

.organisme-grid-item .certified-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 170px;
  height: auto;
}

.ib-mandat-status-taken {
  font-weight: initial !important;
  margin-right: 5px;
}

.media-shares {
  margin-top: 1rem;
  display: flex;
  gap: .5rem;
}

.media-shares-title {
  font-weight: 800 !important;
}

.delete-task-form {
  display: inline;
}

.facebook-share i {
  color: #314a83 !important;
}

.linkedin-share i {
  color: #0e6392;
}

.facebook-share i,
.linkedin-share i {
  font-size: 32px !important;
}

/* Mandat corpo client details pages */

.mandat-corp-engage-nonlogged {
  display: flex;
  flex-direction: row;
}

.mandat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
}



.mandat-detail {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.65rem;
}

.mandat-multi-details .mandat-titre {

  color: #1a1a1a;
  font-weight: 700 !important;
}

.mandat-detail.mandat-corporatif .mandat-image {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  width: 100%;
  vertical-align: top;
  max-width: 550px;
}

.mandat-detail h1,
.mandat-detail h2,
.mandat-detail h3,
.mandat-detail h4,
.mandat-detail h5,
.mandat-detail h6 {
  padding: 0;
  margin-bottom: 1rem;
  line-height: 1;
}

.mandat-detail .mandat-detail-titre {
  font-size: 22px;
  font-weight: 600;
  padding: 0;
  margin-bottom: 1rem;
}

.mandat-detail .mandat-liste-taches .mandat-tache {
  margin-bottom: 0.5rem;
  margin-left: 15px;
}

.mandat-detail .mandat-bouton {
  color: white;
  background: linear-gradient(0deg, #6b0a05, #e2231a);
  font-size: 16px;
  text-transform: uppercase;
  display: inline-block;
  line-height: 1;
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: all 0.1s ease-in-out;
  border: none;
  text-decoration: none;
  position: relative;
}

.mandat-detail .mandat-bouton:hover {
  transform: translateY(-3px);
}

.mandat-detail .mandat-bouton:before {
  display: block;
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.2s ease-in-out;
}

.mandat-detail .mandat-bouton:hover:before {
  background: rgba(255, 255, 255, 0.25);
}

.mandat-detail .mandat-titre {
  font-weight: 800;
  color: #e2231a;
  text-transform: uppercase;
}

.mandat-detail .mandat-organisme {
  margin-bottom: 1rem;
}

.mandat-detail .mandat-organisme-image {
  max-height: 120px;
  width: auto;
  vertical-align: top;
}

/* .mandat-detail .mandat-valeur {
  margin-bottom: 1.5rem;
} */

/* .mandat-detail .mandat-valeur>*>p {
  padding-left: 2.5rem;
} */

.mandat-detail .mandat-valeur>div:not(:last-child),
.mandat-detail .mandat-valeur p:not(:last-child) {
  /* margin-bottom: 0.5rem; */
  padding-bottom: 0;
}

.mandat-people-required {
  color: #e2231a !important;
  font-weight: 800 !important;
}

.mandat-adresse-link {
  margin-top: .5rem;
}

.mandat-titre-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: unset;
  background-color: #00874d;

}
.mandat-titre {
  margin-top: 1rem;
}
.mandat-detail .mandat-valeur i {
  display: inline-block;
  min-width: 2.5rem;
  /*  margin-left: -2.5rem; */
}

.mandat-detail .mandat-benevoles,
.mandat-detail .mandat-dates,
.mandat-detail .mandat-categorie,
.mandat-detail .mandat-clientele {
  font-weight: 500;
}

.mandat-detail .mandat-organisme-block {
  padding-top: 1em;
  margin-bottom: 1em;
}

.mandat-detail .mandat-image {
  margin-bottom: 1em;
}

.mandat-detail .mandat-collaboration {
  color: #e2231a;
  font-weight: bold;
  padding-bottom: 0px !important;
}

.ib-lieu-info {
  margin-left: 15px;
}

.mandat-detail .lieu-titre {
  font-weight: bold;
  font-size: 22px;
}

a.mandat-engage.mandat-bouton {
  display: block;
  width: fit-content;
}

/* MultiCorpo */
.far,
.fas,
.fa-solid {
  margin-right: 5px !important;
}

.mandat-detail-description {
  margin-right: 1rem;
}

.mandat-adresse {
  margin-left: 1rem;
}

.heure-debut,
.heure-fin {
  color: #e2231a !important;
  font-weight: 800 !important;
}

.mandat-titre-people {
  font-size: 18px !important;
  display: inline-block;
}

.mandat-collectif-titre {
  color: white !important;
  padding-left: 0.5rem !important;
  padding-top: 1rem !important;
}

.mandat-fullfilled {
  background-color: #e2231a !important;
  font-weight: 800 !important;
}

.mandat-sections-titres {
  border-top: 2px black solid;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
  background-color: #f2f2f2;
  padding-top: 1rem;

}

.mandat-section-titre {
  font-weight: 800;
  margin-bottom: 1rem;
  padding: unset;
  font-size: 18px;
}

label[for="ent_selector"] {
  font-weight: 800 !important;
}

.mandat-section-titre:not(:first-child) {
  border-left: 2px solid black;
}

.ib-mandat-info-sup {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-content: space-around;
  align-items: stretch;
  background-color: #f2f2f2;
}

.ib-mandat-info-sup>.mandat-info-sup-section {
  padding-right: 20px;
  /* optionnel */
  margin-right: 20px;
  /* optionnel */
  border-right: 1px dotted #000;
}

.ib-mandat-info-sup>.mandat-info-sup-section:last-of-type {
  border-right: none;
}

.mandat-info-sup-section {
  flex: 1;
  padding: 1rem 2rem;
  font-size: 16px;
}


.mandat-voirplus span {
  color: white;
  font-size: 25px;
  margin-left: 12px;
  padding-right: .8rem;
}

.mandat-voirplus-wrapper {
  display: flex;
  align-items: center;
  color: white;
}

.mandat-voirplus {
  cursor: pointer;
}

.mandat-detail.mandat-multicorporatif {
  font-size: 18px;
}

.mandat-detail.mandat-multicorporatif .mandat-detail-titre {
  font-size: 22px;
  font-weight: 700;
}

.mandat-detail.mandat-multicorporatif .mandat-event-description {
  font-size: 24px;
  font-weight: 600;
}

.mandat-detail.mandat-multicorporatif .mandat-event-detail {
  text-align: center;
  margin-bottom: 3rem;
}

.mandat-detail.mandat-multicorporatif .mandat-event-detail .mandat-event-image>img {
  max-width: 100%;
  vertical-align: top;
}

.mandat-detail.mandat-multicorporatif .mandat-multi-image {
  margin-bottom: 2rem;
}

.mandat-detail.mandat-multicorporatif .mandat-multi-row:not(:last-child) {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #707070;
}

.mandat-detail.mandat-multicorporatif .mandat-lieu {
  font-weight: 600;
}

.link-entreprise,
.link-organisme {
  color: rgb(0, 0, 0);
}

.mandat-collaboration-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 800;
}

.mandat-collaboration-logo a img {
  max-width: 160px;
}

.tri-mandat-date {

  font-weight: 800;
}

.mandat-entreprises-participantes-titre {
  font-weight: 800 !important;
  display: inline;
}

.mandat-entreprises-participantes {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.mandat-participants .mandat-participant a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-direction: column;
}




/* MENU STATS */
.ib-menu-stats {
  display: flex;
  align-items: center;
}

.ib-menu-stats .ib-menu-stats-number {
  color: #e2231a;
  font-size: 36px;
  font-weight: 700;
  margin-right: 0.5em;
}

.ib-menu-stats .ib-menu-stats-label {
  color: white;
  font-size: 16px;
  margin-right: 0.5em;
  font-family: "Montserrat", "Lato", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.ib-menu-impact-total {
  display: flex;
  align-items: center;
}

.ib-menu-impact-number {
  color: #e2231a;
  font-size: 36px;
  font-weight: 700;
  margin-left: 0.5em;
}



/* Liste entreprises participantes */
.entreprises-list .entreprises-list-item {
  height: 65px;
  max-width: 500px;
  display: flex;
  align-items: center;
  padding-left: 1em;
}

.entreprises-list .entreprises-list-item.certified {
  background: #e2231a;
  color: white;
  overflow: hidden;
  position: relative;
  overflow: visible;
}



.section-subtitle {
  opacity: 0.65;
}

/* Widgets */
.widget_block {
  padding: 0 !important;
  margin-bottom: 0.5rem !important;
}

/* Badges */
.has-notif-badge {
  position: relative;
}

.notif-badge {
  background-color: #e2231a;
  width: 40px;
  height: 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 1.15em;
  font-weight: bold;
}

/* Dashboard tables */

table thead tr th {
  font-family: "Montserrat", "Lato", sans-serif;
}

.table-options {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

.tri-admin-button {
  margin-right: 0.5em;
  padding: 0.5em 1.5em !important;
  text-align: center;
  transition: 100ms ease-in-out;
  width: fit-content;
  border: none;
  font-size: 16px;
  font-family: "Montserrat";
  cursor: pointer;
  border-radius: 6px;
}

.tri-admin-button:hover {
  opacity: 0.75;
}

.tri-admin-button.success {
  background-color: #e2231a;
  color: white;
}

.tri-admin-button.accept {
  background-color: #26b537;
  color: white;
}

.tri-admin-button.error {
  border: 1px solid #707070;
  color: #707070;
}

.tri-admin-button.neutral {
  background-color: #707070;
  color: white;
}

.dashboard-table thead tr th {
  background: #e2231a;
  color: white;
  border: none !important;
}

.dashboard-table tr {
  border-bottom: 1px solid #eaeaea;
}

.dashboard-table td {
  border: none !important;
  min-height: 230px;
}

.has-badge img {
  height: auto;
  width: 2.5em;
  display: flex;
  align-items: center;
}

.contact-file {
  display: grid;
  grid-gap: 2em;
  grid-template-columns: 1fr 1fr;
}

.contact-file .contact-title {
  grid-column: span 2;
}

.contact-file .mission-block {
  grid-column: span 2;
}

/* Compteur dashboard entreprise */
.entreprise-compteur {
  background-color: #ffffff;
  padding: 1em;
  color: black;
  display: flex;
  flex-flow: column wrap;
  justify-content: space-evenly;
  align-items: center;
}

.entreprise-compteur-infos {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.entreprise-compteur-infos-impact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.entreprise-compteur>.entreprise-compteur-infos>.entreprise-logo>span {
  display: block;
  height: 180px;
  width: 180px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.entreprise-compteur>.entreprise-compteur-infos>div,
.entreprise-compteur>.entreprise-compteur-infos-impact>div {
  text-align: left;
  font-size: 22px;
  line-height: 1.2em;
  font-weight: bold;
  font-family: "Montserrat", "Lato", sans-serif;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-transform: uppercase;
  justify-content: space-around;
}

.entreprise-compteur>div .value {
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 0.75em;
  margin-left: 0.75em;
  color: #e2231a;
}

/* FIN ENTREPRISE COMPTEUR*/

/* EXPERTISE PARTICIPATION */
.ib-expertise-participation-card {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.ib-expertise-participation-card-boutons {
  display: flex;
  gap: 1.5rem;
}

.ib-expertise-participation-card-info>strong {
  margin-right: 0.5rem;
}

.ib-formulaire-bouton {
  width: 12rem;
}

/* FIN EXPERTISE PARTICIPATION */


/* TOASTS */

.tri-toast {
  color: white;
  width: fit-content;
  padding: 1em 2em;
}

.tri-toast.success {
  background-color: #25892e;
}

.tri-toast.failed {
  background-color: #e2231a;
}

.tri-toast:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  margin-right: 0.5em;
}

.tri-toast.success:before {
  content: "\f00c";
}

.tri-toast.failed:before {
  content: "\f00d";
}

/* EDIT FORM */
.ib-formulaire {
  display: flex;
  flex-flow: row wrap;
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 20%),
    0 1px 5px 0 rgb(0 0 0 / 12%);
  padding: 2%;
}

.ib-formulaire .ib-formulaire-groupe {
  width: 100%;
  padding: 0.5em;
}



.ib-formulaire .ib-formulaire-groupe label.ib-formulaire-label {
  margin-bottom: 0.5em;
  display: block;
  font-weight: bold;
}

.ib-formulaire .ib-formulaire-groupe label.ib-formulaire-description {
  display: block;
  font-weight: 300;
  font-size: 0.8571428571em;
  color: #757575;
  margin-top: -4px;
  font-style: italic;
}

.ib-formulaire .ib-formulaire-groupe input:not([type="checkbox"]),
.ib-formulaire .ib-formulaire-groupe textarea {
  background-color: #f4f4f4;
  border: none;
  border-radius: 0;
  outline: none;
  width: calc(100% - 1em);
  font-size: 1em;
  margin: 0;
  padding: 0.5em;
  box-sizing: content-box;
  transition: all 0.3s;
  color: #424242;
}

.ib-formulaire hr {
  border: none;
  height: 1px;
  background-color: #e0e0e0;
  margin: 1em 0;
}

.ib-formulaire .ib-formulaire-groupe input:not([type="checkbox"]) {
  height: 2em;
}

.ib-formulaire .ib-formulaire-groupe input[type="file"] {
  background-color: transparent;
  width: fit-content;
}

.ib-formulaire .ib-formulaire-groupe label>.requis {
  color: red;
}

.ib-formulaire .ib-formulaire-groupe label>.error {
  display: block;
  color: red;
  font-style: italic;
  font-weight: 400;
}

.ib-formulaire .ib-formulaire-groupe input.error {
  border-bottom: 2px solid red;
}

.ib-formulaire .ib-formulaire-groupe.lire-seulment input:not([type="checkbox"]):not([type="file"]),
.ib-formulaire .ib-formulaire-groupe.lire-seulment textarea {
  background: white;
  color: #999999;
  border-bottom: 1px solid #e6e6e6;
  cursor: default;
  padding: 0 0.5em;
}

.ib-form-wrapper .ib-formulaire-traiter {
  display: none;
  color: #e2231a;
  margin-left: 0.5em;
}

.ib-form-wrapper.en-traitement .ib-formulaire-traiter {
  display: inline-block;
}

.tri-toast~.ib-form-wrapper {
  margin-top: 2rem;
}

.tri-form-submit {
  background: #e2231a;
  color: white;
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 20px;
  margin-top: 1em;
  padding: 0.5em;
  border: none !important;
  transition: 200ms ease-in-out;
}

.tri-form-submit:hover {
  opacity: 0.8;
}

.ib-submit-message-display {
  font-size: 16px;
  text-align: center;
  background-color: green;
  color: white;
  padding: 0.8em !important;
  margin-top: 1em;
}

/* Checkbox speficic */
/* .ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox > * {
    order: 99;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox > label:first-of-type {
    width: 100%;
    order: 0;
    cursor: pointer;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox > input[type="checkbox"],
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-check_select input[type="checkbox"] {
    display: inline-block;
    margin-right: 0.5em;
    cursor: pointer;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox > input[type="checkbox"] {
    order: 1;
} */

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox>input[type="checkbox"]:checked,
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox>input[type="checkbox"]:not(:checked),
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-check_select input[type="checkbox"]:checked,
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-check_select input[type="checkbox"]:not(:checked) {
  position: absolute;
  left: -9999px;
  opacity: 0;
  visibility: hidden;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox>label,
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-check_select .check-label {
  cursor: pointer;
  line-height: 2;
  position: relative;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox>label:last-of-type,
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-check_select .check-label {
  padding-left: 2em;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox>label:last-of-type:before,
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-check_select .check-label:before {
  content: "";
  display: inline-block;
  background-color: white;
  border: 2px solid #9e9e9e;
  width: 1em;
  height: 1em;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox>label:last-of-type:after,
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-check_select .check-label:after {
  content: "✓";
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  position: absolute;
  top: -0.1em;
  left: -0.1em;
  font-size: 2.25em;
  line-height: 1;
  color: #e0231a;
  opacity: 0;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox>input[type="checkbox"]:checked~label:last-of-type:before,
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-check_select input[type="checkbox"]:checked+.check-label:before {
  border-color: #e0231a;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-checkbox>input[type="checkbox"]:checked~label:last-of-type:after,
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-check_select input[type="checkbox"]:checked+.check-label:after {
  opacity: 1;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-check_select .check-label {
  vertical-align: bottom;
  margin-right: 1em;
  border-bottom: 2px solid transparent;
  display: inline-block;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-check_select .check-label:hover {
  border-bottom: 2px solid #9e9e9e;
}

/* Select boxes */
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-select>select {
  width: 100%;
  font-size: 1em;
  margin: 0;
  padding: 0.5em;
  border: none;
  border-bottom: 2px solid gray;
  background: white;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-select>select.error {
  border-bottom-color: red;
}

/* Form conditionals */
.ib-formulaire .ib-formulaire-groupe.champ-conditional.cacher-debut,
.ib-formulaire .ib-formulaire-groupe.champ-conditional.cacher {
  display: none;
}

.ib-formulaire .ib-formulaire-groupe.champ-conditional.cacher-debut.visible {
  display: block;
  /* The Flex styling on the container we're in handles our width. It's fine to be block*/
}

/* Image selection */
.ib-formulaire .ib-formulaire-groupe.ib-formulaire-image_select label.image_select-label input[type="radio"] {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-image_select label.image_select-label {
  cursor: pointer;
  display: inline-block;
  margin-right: 1em;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-image_select label.image_select-label img {
  border: 3px solid transparent;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-image_select label.image_select-label:hover img {
  border: 3px solid #9e9e9e;
}

.ib-formulaire .ib-formulaire-groupe.ib-formulaire-image_select label.image_select-label input[type="radio"]:checked+img {
  border: 3px solid #e2231a;
}

.ib-ent-apply {
  width: 100%;
}

/* REPORTS */
.report-file section.report-body {
  margin-top: 2em;
  margin-bottom: 1em;
}

.report-file section.report-body .mandat-row {
  padding: 1em;
  display: flex;
  flex-direction: column;
}

.report-file section.report-body .mandat-row:nth-child(even) {
  background: #dfdfdf;
}

.report-file p.subtotal {
  font-weight: bold;
  margin-top: 1em;
  text-align: right;
}

/* Add time modal form */
body.show-modal .tri-form-overlay,
body.show-modal .modal-form-container {
  opacity: 1 !important;
  pointer-events: all;
}

.tri-form-overlay {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background-color: #0000008a;
  transition: 200ms ease-in-out;
}

.modal-form-container {
  opacity: 0;
  pointer-events: none;
  z-index: 1100;
  padding: 2em;
  position: fixed;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  top: 30vh;
  text-align: center;
  width: fit-content;
  background-color: white;
}

.modal-form-container h3 {
  margin-top: 0.5em;
  font-size: 24px;
}

.modal-form-container .form-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
}

.modal-form-container form .form-group {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.75em;
  justify-content: flex-end;
}

.modal-form-container form .form-group label {
  margin-right: 1em;
  min-width: 250px;
  text-align: right;
}

.modal-form-container form .form-group input:not(.tri-form-submit),
.modal-form-container form .form-group select {
  border: 1px solid #b7b7b7;
  flex: 1;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  padding: 0.15em;
}

/* Slider */
button.slick-arrow:before {
  font-size: 32px;
}

.slick-prev {
  left: -48px !important;
}

.slick-track {
  display: flex !important;
}

.slick-slide {
  height: inherit !important;
}

/* Corporative mandat details */

#mdtcorp-details-container h2 {
  font-size: 32px;
}

#mdtcorp-details-container h3 {
  font-size: 24px;
}

#mdtcorp-details-container .mdtcorp-details-row {
  display: flex;
  margin-bottom: 2em;
  flex-flow: row wrap;
  max-width: 1200px;
  break-inside: avoid;
}

#mdtcorp-details-container .mdtcorp-details-row section {
  flex: 1;
  margin-right: 2em;
  margin-bottom: 2em;
  min-width: 500px;
}

.btn-grid {
  display: flex;
}

#mdtcorp-details-container img.mdtcorp-details-image {
  margin-bottom: 2em;
  max-width: 500px;
  height: auto;
  transition: 200ms ease-in-out;
}

#mdtcorp-details-container img.mdtcorp-details-image:hover {
  opacity: 0.75;
}

#mdtcorp-details-container div#mandat-part {
  border-left: 10px solid #00000099;
  padding: 1em;
  background-color: #1d1d1d10;
}

#mdtcorp-details-container div#participant-part {
  border-left: 10px solid #e2231a;
  padding: 1em;
  background-color: #e2231a10;
  break-inside: avoid;
}

/* PRINT */
@media print {

  body header,
  body footer,
  .no-print {
    display: none !important;
  }
}

.ib-engage-failed {
  background-color: #e0231a !important;
}


/* Media queries */
@media (min-width: 400px) {
  .entreprises-list .entreprises-list-item.certified {
    padding-left: 130px;
    margin-bottom: 35px;
    margin-top: 35px;
  }

  .entreprises-list .entreprises-list-item.certified:before {
    content: "";
    width: 110px;
    position: absolute;
    background-image: url("/wp-content/uploads/2021/08/logo-impact-b-badge.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    left: 10px;
    top: -25px;
    bottom: -25px;
  }

  /* Alternate positioning */
  .entreprises-list-item.certified:nth-of-type(even) {
    padding-left: 0;
    padding-right: 130px;
    flex-direction: row-reverse;
  }

  .entreprises-list-item.certified:nth-of-type(even):before {
    content: "";
    width: 110px;
    position: absolute;
    background-image: url("/wp-content/uploads/2021/08/logo-impact-b-badge.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    left: unset;
    right: 10px;
    top: -25px;
    bottom: -25px;
  }
}

@media (max-width: 625px) {

  .mandats-grid-container,
  .events-grid-container {
    grid-template-columns: 1fr !important;
    grid-gap: 2em;
  }

  .mandat-status.taken.entreprise-certified:after {
    display: none !important;
  }

  .mandat-grid-item .mandat-status.taken {
    text-transform: unset;
    background-color: #e2231a;
    padding-right: 0;
  }
}

@media (max-width: 851px) {
  .event-grid-item {
    width: 100%;
  }

}

@media (min-width: 768px) {


  .ib-formulaire .ib-formulaire-groupe.colspan-1-3 {
    width: 33.33%;
  }

  .ib-formulaire .ib-formulaire-groupe.colspan-2-3 {
    width: 66.66%;
  }

  .ib-formulaire .ib-formulaire-groupe.colspan-1-2 {
    width: 50%;
  }
}

@media (min-device-width: 768px) {


  .mandat-detail.mandat-multicorporatif .mandat-event-detail {
    text-align: left;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
  }

  .mandat-detail.mandat-multicorporatif .mandat-event-image {
    min-width: 30%;
    margin-right: 3%;
  }

  .mandat-detail.mandat-multicorporatif .mandat-event-mandats .mandat-multi-row {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    border-bottom: none;
    padding: 3rem 2rem;
    margin: 0;
  }

  .mandat-detail.mandat-multicorporatif .mandat-event-mandats .mandat-multi-row:nth-child(odd) {
    background: #f4f4f4;
  }

  .mandat-detail.mandat-multicorporatif .mandat-multi-row .mandat-multi-image {
    width: 35%;
    margin-right: 3%;
    margin-bottom: 0;
    flex: 0.35;
  }

  .mandat-detail.mandat-multicorporatif .mandat-multi-row>div {
    flex: 1;
  }
}

@media (min-width: 981px) {
  .mandat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em 2em;
  }
}

@media (max-width: 981px) {

  .mandats-grid-container,
  .events-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .organismes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width : 1100px) {
  .mandat-sections-titres-mobile {
    display: block !important;
    width: 100%;
    font-size: 25px;
    padding: .5rem 0;
    /*   border-bottom: 2px solid black; */
    text-align: center;
    font-weight: 600;
  }

  .ib-mandat-info-sup {
    flex-direction: column;
    align-items: flex-start;
    justify-content: left;
    border-top: 2px black solid;
    width: 100%;
  }

  .mandat-info-sup-section {
    background-color: #f2f2f2;
    width: 100%;
  }

  .ib-mandat-info-sup>.mandat-info-sup-section {
    padding-right: 20px;
    /* optionnel */
    margin-right: 20px;
    /* optionnel */
    border-right: none;
    border-bottom: 1px dotted black;
  }

  .ib-mandat-info-sup>.mandat-info-sup-section:last-of-type {
    border-bottom: none;
  }

  .mandat-sections-titres {
    display: none !important;
  }


  .mandat-section-titre-mobile {
    display: block !important;
    width: 100%;
    font-size: 18px;
    padding: 1rem 0;
    /*   border-bottom: 2px solid black; */
    text-decoration: underline;
    font-weight: 800;
  }

}

@media (max-width: 1200px) {
  .ib-menu-stats .ib-menu-stats-number {
    font-size: 32px;
    margin-right: 0.25em;
  }

  .ib-menu-stats .ib-menu-stats-label {
    font-size: 14px;
    margin-right: 0.25em;
  }

  .ib-menu-impact-number {
    font-size: 32px;
    margin-left: 0.25em;
  }

  .ib-menu-impact-total img {
    width: 120px;
  }

  .mandats-grid-container,
  .events-grid-container {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .mandats-grid-container.cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .mandat-grid-item .mandat-image {
    height: 175px;
  }

  .organismes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/*
SELECTOR MODULE
*/

.ib-ent-selector {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

/* DIVI CSS THEME OPTIONS */