/* Consent controls and embedded-media styles. */
:root {
  --cc-primary-color: var(--bs-body-color, #344054);
  --cc-link-color: var(--bs-primary, #155eef);
  --cc-btn-primary-bg: var(--bs-primary, #155eef);
  --cc-btn-primary-border-color: var(--cc-btn-primary-bg);
  --cc-btn-primary-hover-bg: var(--cus-theme-primary-hover-bg, #004eeb);
  --cc-btn-primary-hover-color: var(--cus-theme-primary-hover-contrast, #fff);
  --cc-btn-primary-hover-border-color: var(--cc-btn-primary-hover-bg);
  --cc-btn-primary-color: var(--cus-theme-primary-contrast, #fff);
  --cc-btn-secondary-bg: transparent;
  --cc-btn-secondary-border-color: var(--bs-primary, #155eef);
  --cc-btn-secondary-hover-bg: var(--bs-primary, #155eef);
  --cc-btn-secondary-hover-color: var(--cus-theme-primary-contrast, #fff);
  --cc-btn-secondary-hover-border-color: var(--bs-primary, #155eef);
  --cc-btn-secondary-color: var(--bs-body-color, #344054);
  --cc-footer-bg: #f7f7f7;
  --cc-footer-color: var(--bs-body-color, #344054);
  --cc-modal-border-radius: 0.75rem;
  --cc-btn-border-radius: 0.5rem;
  --cc-font-family: inherit;
}

.cus-consent-settings-link {
  position: fixed;
  z-index: 1040;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  padding: 0;
  border: 3px solid var(--cus-theme-primary-contrast, #fff);
  outline: 5px solid var(--bs-primary, #155eef) !important;
  border-radius: 50%;
  background-color: var(--bs-primary, #155eef);
  box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 25%);
  cursor: pointer;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

[data-consent-open-settings][hidden] {
  display: none !important;
}

.cus-consent-settings-link::before {
  width: 1.75rem;
  height: 1.75rem;
  background-color: var(--cus-theme-primary-contrast, #fff);
  content: "";
  -webkit-mask-image: url("../Icons/cookie-bite-solid-full.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("../Icons/cookie-bite-solid-full.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.cus-consent-settings-link:hover {
  box-shadow: 0 0.35rem 1rem rgb(0 0 0 / 30%);
  transform: translateY(-2px);
}

.cus-consent-settings-link:focus-visible {
  outline: 3px solid var(--bs-body-color, #344054);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--bs-primary, #155eef);
}

.cus-consent-declaration .bg-primary {
  color: var(--cus-theme-primary-contrast, #fff);
}

.cus-consent-declaration .consent-cookie-table thead th {
  color: var(--cus-theme-primary-contrast, #fff);
}

.cus-consent-declaration .btn-outline-primary {
  --bs-btn-color: var(--bs-body-color, #344054);
  --bs-btn-hover-color: var(--cus-theme-primary-contrast, #fff);
  --bs-btn-hover-bg: var(--bs-primary, #155eef);
  --bs-btn-hover-border-color: var(--bs-primary, #155eef);
  --bs-btn-active-color: var(--cus-theme-primary-hover-contrast, #fff);
  --bs-btn-active-bg: var(--cus-theme-primary-hover-bg, var(--bs-primary, #155eef));
  --bs-btn-active-border-color: var(--cus-theme-primary-hover-bg, var(--bs-primary, #155eef));
  --bs-btn-disabled-color: var(--bs-body-color, #344054);
}

.cus-consent-declaration .consent-service-summary {
  align-items: center;
  padding: 0.875rem 1rem;
  font-size: 1.0625rem;
}

.cus-consent-declaration .consent-service-name {
  font-size: 1.125rem;
}

.cus-consent-declaration .consent-service-provider,
.cus-consent-declaration .consent-service-purpose {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.cus-consent-declaration [data-consent-service-status] {
  font-size: 0.75rem;
}

.cus-consent-declaration .consent-service-details {
  font-size: 0.875rem;
  line-height: 1.5;
}

.cus-consent-declaration .consent-service-details > p {
  margin-bottom: 0.75rem;
}

.cus-consent-declaration .consent-cookie-table {
  width: 100%;
  table-layout: fixed;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.cus-consent-declaration .consent-cookie-table th,
.cus-consent-declaration .consent-cookie-table td {
  padding: 0.375rem 0.5rem;
  overflow-wrap: anywhere;
  vertical-align: top;
}

.cus-consent-declaration .consent-cookie-table-name {
  width: 14%;
}

.cus-consent-declaration .consent-cookie-table-provider {
  width: 17%;
}

.cus-consent-declaration .consent-cookie-table-purpose {
  width: 38%;
}

.cus-consent-declaration .consent-cookie-table-duration {
  width: 17%;
}

.cus-consent-declaration .consent-cookie-table-type {
  width: 14%;
}

.cus-consent-declaration .accordion-item > summary.accordion-button {
  cursor: pointer;
  list-style: none;
}

.cus-consent-declaration .accordion-item > summary.accordion-button::-webkit-details-marker {
  display: none;
}

.cus-consent-declaration details[open] > .accordion-button {
  color: var(--bs-body-color, #344054);
}

.cus-consent-declaration details[open] > .accordion-button::after {
  transform: rotate(-180deg);
}

[data-consent-load]:focus-visible {
  outline: 3px solid var(--bs-primary, #155eef);
  outline-offset: 3px;
}

.youtubevideo .videoWrapper [data-consent-embed] {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
}

.youtubevideo .videoWrapper [data-consent-embed] iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.youtubevideo .videoWrapper [data-consent-placeholder] {
  height: 100%;
  min-height: 0;
  overflow: auto;
  padding: 1rem;
}

[data-consent-embed] {
  position: relative;
  min-height: 16rem;
}

[data-consent-embed] iframe {
  display: block;
  width: 100%;
  min-height: 16rem;
  border: 0;
}

[data-consent-embed] iframe[hidden],
[data-consent-placeholder][hidden] {
  display: none;
}

[data-consent-placeholder] {
  display: grid;
  min-height: 16rem;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bs-light, #f2f4f7);
  color: var(--bs-body-color, #344054);
  text-align: center;
}

[data-consent-placeholder] p {
  max-width: 42rem;
  margin: 0;
}

[data-consent-load] {
  padding: 0.65rem 1rem;
  border: 2px solid var(--cc-btn-primary-bg);
  border-radius: 0.5rem;
  background: var(--cc-btn-primary-bg);
  color: var(--cc-btn-primary-color);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

[data-consent-load]:hover {
  border-color: var(--cc-btn-primary-hover-border-color);
  background: var(--cc-btn-primary-hover-bg);
  color: var(--cc-btn-primary-hover-color);
}

@media (prefers-reduced-motion: reduce) {
  .cus-consent-settings-link {
    transition: none;
  }

  .cus-consent-settings-link:hover {
    transform: none;
  }

  .cus-consent-declaration .accordion-button::after {
    transition: none;
  }

  #cc-main *,
  #cc-main *::before,
  #cc-main *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 767.98px) {
  .cus-consent-declaration .consent-cookie-table {
    min-width: 38rem;
  }
}
