﻿/* ==================================================
   CONSENTEMENT COOKIES
   ================================================== */

#tarteaucitronAlertBig,
#tarteaucitronAlertSmall,
#tarteaucitron,
#tarteaucitronBack {
  display: none !important;
}

#tarteaucitronIcon {
  display: block !important;
  z-index: 2147483639 !important;
}

.rmf-cookie-ui[hidden],
.rmf-cookie-ui [hidden] {
  display: none !important;
}

.rmf-cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483640;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}

.rmf-cookie-modal,
.rmf-cookie-summary {
  position: fixed;
  z-index: 2147483641;
  box-sizing: border-box;
  color: #000000;
  font-family: var(--police-texte);
  background: #ffffff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.rmf-cookie-modal {
  top: 50%;
  left: 50%;
  width: min(780px, calc(100% - 32px));
  padding: 50px 58px 44px;
  border: 6px solid rgba(0, 0, 0, 0.78);
  text-align: center;
  transform: translate(-50%, -50%);
}

.rmf-cookie-modal h2,
.rmf-cookie-summary h2 {
  margin: 0 0 22px;
  color: #000000;
  font-family: var(--police-titres);
  font-weight: normal;
  line-height: 1.2;
}

.rmf-cookie-modal h2 {
  font-size: 2.25rem;
}

.rmf-cookie-modal p {
  max-width: 590px;
  margin: 0 auto 24px;
  font-size: 1.15rem;
  line-height: 1.45;
}

.rmf-cookie-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #555555;
  font-size: 2rem;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.rmf-cookie-close:hover,
.rmf-cookie-close:focus {
  color: #000000;
}

.rmf-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 20px;
  margin-top: 30px;
}

.rmf-cookie-actions button,
.rmf-cookie-summary-actions button,
.rmf-cookie-manage,
.rmf-cookie-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 52px;
  padding: 0 28px;
  color: #f1c50e;
  font-family: var(--police-texte);
  font-size: 1.05rem;
  font-weight: bold;
  line-height: 1.2;
  text-decoration: none;
  background: #000000;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.rmf-cookie-actions button {
  width: 240px;
}

.rmf-cookie-actions [data-cookie-open-settings] {
  color: #000000;
  background: #ffffff;
  border: 2px solid #000000;
}

.rmf-cookie-actions [data-cookie-open-settings]:hover,
.rmf-cookie-actions [data-cookie-open-settings]:focus {
  color: #ffffff;
  background: #f1c50e;
  border-color: #f1c50e;
}

.rmf-cookie-privacy {
  margin: 0 auto 26px;
  text-align: center;
}

.rmf-cookie-privacy-link {
  display: inline;
  color: #000000;
  font-weight: normal;
  text-decoration: underline;
}

.rmf-cookie-privacy-link:hover,
.rmf-cookie-privacy-link:focus {
  color: #f1c50e;
}

.rmf-cookie-actions button:hover,
.rmf-cookie-actions button:focus,
.rmf-cookie-summary-actions button:hover,
.rmf-cookie-summary-actions button:focus,
.rmf-cookie-manage:hover,
.rmf-cookie-manage:focus,
.rmf-cookie-back:hover,
.rmf-cookie-back:focus {
  color: #ffffff;
  background: #f1c50e;
}

.rmf-cookie-modal-settings {
  width: min(900px, calc(100% - 32px));
  max-height: calc(100vh - 36px);
  padding: 44px 56px;
  overflow: auto;
  text-align: left;
}

.rmf-cookie-modal-settings h2,
.rmf-cookie-modal-settings > p {
  text-align: center;
}

.rmf-cookie-back {
  position: absolute;
  top: 18px;
  left: 22px;
  min-height: 36px;
  padding: 0 22px;
  font-size: 0.95rem;
}

.rmf-cookie-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  margin: 28px 0 18px;
}

.rmf-cookie-bulk-actions label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  cursor: pointer;
}

.rmf-cookie-bulk-actions input {
  width: 18px;
  height: 18px;
  accent-color: #f1c50e;
}

.rmf-cookie-choices {
  display: grid;
  gap: 18px;
  margin: 28px 0 30px;
}

.rmf-cookie-group {
  display: grid;
  gap: 12px;
}

.rmf-cookie-group h3 {
  margin: 0;
  color: #000000;
  font-family: var(--police-texte);
  font-size: 1.05rem;
  font-weight: bold;
}

.rmf-cookie-group > div {
  display: grid;
  gap: 12px;
}

.rmf-cookie-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #f7f7f7;
  border: 1px solid #dddddd;
  cursor: pointer;
}

.rmf-cookie-choice-disabled {
  cursor: default;
}

.rmf-cookie-choice input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: #f1c50e;
}

.rmf-cookie-choice strong {
  display: block;
  margin: 0 0 8px;
  color: #000000;
  font-size: 1.05rem;
}

.rmf-cookie-choice small {
  display: block;
  color: #333333;
  font-size: 0.92rem;
  line-height: 1.45;
}

.rmf-cookie-actions-settings {
  justify-content: flex-end;
  margin-top: 24px;
}

.rmf-cookie-summary {
  right: 24px;
  bottom: 24px;
  width: min(455px, calc(100vw - 32px));
  padding: 28px 30px 30px;
  border-radius: 4px;
}

.rmf-cookie-summary h2 {
  margin-right: 42px;
  font-size: 1.25rem;
  font-weight: bold;
}

.rmf-cookie-summary-heading {
  margin: 0 0 14px;
  font-weight: bold;
}

.rmf-cookie-summary ul {
  display: grid;
  gap: 9px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.rmf-cookie-summary li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
}

.rmf-cookie-summary li strong {
  color: #1d57b4;
  font-weight: bold;
}

.rmf-cookie-summary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rmf-cookie-summary-actions button {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 4px;
}

.rmf-cookie-manage {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483639;
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* ==================================================
   MEDIA
   ================================================== */

/* Mobile */
@media (max-width: 575px) {
  .rmf-cookie-modal,
  .rmf-cookie-modal-settings {
    width: calc(100% - 24px);
    padding: 38px 20px 30px;
  }

  .rmf-cookie-modal h2 {
    font-size: 1.85rem;
  }

  .rmf-cookie-modal p {
    font-size: 1rem;
  }

  .rmf-cookie-actions,
  .rmf-cookie-summary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rmf-cookie-actions button {
    width: 100%;
  }

  .rmf-cookie-back {
    position: static;
    width: fit-content;
    margin: 0 0 18px;
  }

  .rmf-cookie-summary {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 26px 22px 24px;
  }
}

/* Tablette */
@media (max-width: 767px) {
}

/* Tablette paysage / petit ordinateur */
@media (max-width: 991px) {
}


