#tg-consent-root,
#tg-consent-root *,
.tg-consent-declaration,
.tg-consent-declaration * {
  box-sizing: border-box;
}

body.tg-consent-open {
  overflow: hidden;
}

.tg-consent-backdrop {
  align-items: center;
  background: rgba(21, 29, 34, 0.7);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 20px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 2147483000;
}

.tg-consent-backdrop[hidden],
.tg-consent-dialog [hidden] {
  display: none !important;
}

.tg-consent-dialog {
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(20, 34, 42, 0.08);
  color: #27313a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  max-height: calc(100dvh - 40px);
  max-width: 720px;
  overflow: auto;
  outline: 0;
  padding: 30px;
  position: relative;
  width: 100%;
}

.tg-consent-dialog[data-tg-consent-current-view="settings"] {
  display: flex;
  flex-direction: column;
  height: min(880px, calc(100dvh - 40px));
  max-width: 960px;
  overflow: hidden;
}

.tg-consent-dialog[data-tg-consent-current-view="settings"] > [data-tg-consent-view="settings"] {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.tg-consent-settings-scroll {
  flex: 1 1 auto;
  margin-right: -8px;
  min-height: 0;
  overflow: auto;
  padding: 0 8px 16px 0;
}

.tg-consent-dialog[data-tg-consent-current-view="settings"] .tg-consent-actions {
  border-top: 1px solid rgba(39, 49, 58, 0.14);
  flex: 0 0 auto;
  margin-top: 0;
  padding-top: 16px;
}

.tg-consent-dialog[data-tg-consent-current-view="settings"] .tg-consent-legal {
  flex: 0 0 auto;
  margin-top: 12px;
}

.tg-consent-dialog h2::after,
.tg-consent-dialog h3::after,
.tg-consent-dialog h4::after {
  display: none !important;
}

.tg-consent-dialog h2 {
  color: #27313a;
  font-family: inherit;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 48px 12px 0;
  padding: 0;
}

.tg-consent-dialog h4 {
  color: #27313a;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 22px 0 10px;
  padding: 0;
}

.tg-consent-dialog p {
  color: #505b63;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.tg-consent-first-layer-services {
  background: #f3f6f7;
  border-radius: 4px;
  margin-top: 20px;
  padding: 14px 16px;
}

.tg-consent-first-layer-services .tg-consent-first-layer-label {
  color: #27313a;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.tg-consent-first-layer-services ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tg-consent-first-layer-services li {
  color: #505b63;
  font-size: 14px;
  line-height: 1.45;
  padding: 2px 0;
}

.tg-consent-first-layer-services strong {
  color: #27313a;
  font-weight: 600;
}

.tg-consent-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.tg-consent-button {
  appearance: none;
  background: #fff;
  border: 2px solid var(--tg-consent-accent, #005a96);
  border-radius: 4px;
  color: #27313a;
  cursor: pointer;
  font: 600 15px/1.25 Arial, Helvetica, sans-serif;
  min-height: 48px;
  padding: 11px 14px;
  text-align: center;
}

.tg-consent-button-primary {
  background: var(--tg-consent-accent, #005a96);
  border-color: var(--tg-consent-accent, #005a96);
  color: #fff;
}

.tg-consent-button-link {
  background: transparent;
  border-color: transparent;
  color: #27313a;
  grid-column: 1 / -1;
  min-height: 40px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tg-consent-button-secondary:hover {
  background: #edf3f5;
}

.tg-consent-button-primary:hover {
  filter: brightness(0.92);
}

.tg-consent-button:focus-visible,
.tg-consent-close:focus-visible,
.tg-consent-service summary:focus-visible,
.tg-consent-provider-privacy:focus-visible,
.tg-consent-embed-placeholder button:focus-visible,
.tg-consent-legal a:focus-visible {
  outline: 3px solid #f0a500;
  outline-offset: 3px;
}

.tg-consent-close {
  background: transparent;
  border: 0;
  color: #27313a;
  cursor: pointer;
  font: 30px/1 Arial, sans-serif;
  height: 48px;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 48px;
  z-index: 2;
}

.tg-consent-settings-intro {
  max-width: 72ch;
}

.tg-consent-categories {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.tg-consent-option {
  border: 1px solid rgba(39, 49, 58, 0.16);
  border-radius: 6px;
  color: #27313a;
  overflow: hidden;
}

.tg-consent-option-main {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 16px 18px;
}

.tg-consent-option-copy {
  cursor: pointer;
  flex: 1 1 auto;
  min-width: 0;
}

div.tg-consent-option-copy {
  cursor: default;
}

.tg-consent-option-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.tg-consent-option-heading strong {
  color: #27313a;
  font-size: 17px;
  font-weight: 600;
}

.tg-consent-count {
  background: #edf2f4;
  border-radius: 999px;
  color: #56626a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  padding: 1px 8px;
}

.tg-consent-option-description,
.tg-consent-option-copy p {
  color: #59636a;
  display: block;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 4px;
}

.tg-consent-required {
  color: #4c5962;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  padding-top: 3px;
}

.tg-consent-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex: 0 0 48px;
  height: 48px;
  margin: -3px -2px -3px 0;
  outline: 0;
  position: relative;
  width: 48px;
}

.tg-consent-toggle::before {
  background: #cdd4d8;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(39, 49, 58, 0.12);
  content: "";
  height: 26px;
  left: 2px;
  position: absolute;
  top: 11px;
  width: 44px;
}

.tg-consent-toggle::after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(20, 30, 36, 0.28);
  content: "";
  height: 20px;
  left: 5px;
  position: absolute;
  top: 14px;
  transition: transform 160ms ease;
  width: 20px;
}

.tg-consent-toggle:checked::before {
  background: var(--tg-consent-accent, #005a96);
}

.tg-consent-toggle:checked::after {
  transform: translateX(18px);
}

.tg-consent-toggle:focus-visible::before {
  outline: 3px solid #f0a500;
  outline-offset: 3px;
}

.tg-consent-services {
  border-top: 1px solid rgba(39, 49, 58, 0.1);
  padding: 0 18px;
}

.tg-consent-service + .tg-consent-service {
  border-top: 1px solid rgba(39, 49, 58, 0.1);
}

.tg-consent-service summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  list-style: none;
  min-height: 64px;
  padding: 10px 2px;
}

.tg-consent-service summary::-webkit-details-marker {
  display: none;
}

.tg-consent-service-identity {
  flex: 1 1 auto;
  min-width: 0;
}

.tg-consent-service-identity strong,
.tg-consent-service-provider {
  display: block;
}

.tg-consent-service-identity strong {
  color: #27313a;
  font-size: 15px;
  font-weight: 600;
}

.tg-consent-service-provider {
  color: #667078;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.tg-consent-service-details-label {
  color: #4d5961;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
}

.tg-consent-chevron {
  border-bottom: 2px solid #4d5961;
  border-right: 2px solid #4d5961;
  flex: 0 0 auto;
  height: 9px;
  margin: 0 5px 5px 1px;
  transform: rotate(45deg);
  transition: transform 160ms ease, margin 160ms ease;
  width: 9px;
}

.tg-consent-service[open] .tg-consent-chevron {
  margin-bottom: -4px;
  transform: rotate(225deg);
}

.tg-consent-service-body {
  border-top: 1px solid rgba(39, 49, 58, 0.08);
  padding: 18px 2px 22px;
}

.tg-consent-service-description {
  max-width: 76ch;
}

.tg-consent-metadata {
  display: grid;
  gap: 16px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 0;
}

.tg-consent-metadata div {
  min-width: 0;
}

.tg-consent-metadata dt {
  color: #27313a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.tg-consent-metadata dd {
  color: #59636a;
  font-size: 14px;
  line-height: 1.5;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.tg-consent-storage-table-wrap {
  overflow-x: auto;
}

.tg-consent-storage-table {
  border-collapse: collapse;
  color: #4e5961;
  font-size: 13px;
  line-height: 1.45;
  table-layout: fixed;
  text-align: left;
  width: 100%;
}

.tg-consent-storage-table th {
  background: #edf3f4;
  color: #27313a;
  font-weight: 600;
  padding: 9px 10px;
  white-space: nowrap;
}

.tg-consent-storage-table th:nth-child(1) {
  width: 18%;
}

.tg-consent-storage-table th:nth-child(2) {
  width: 15%;
}

.tg-consent-storage-table th:nth-child(3) {
  width: 18%;
}

.tg-consent-storage-table td {
  border-bottom: 1px solid rgba(39, 49, 58, 0.1);
  padding: 10px;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.tg-consent-provider-privacy {
  color: #27313a;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 18px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tg-consent-catalog-version {
  font-size: 13px !important;
  margin-top: 12px !important;
}

.tg-consent-legal {
  border-top: 1px solid rgba(39, 49, 58, 0.14);
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 14px;
}

.tg-consent-legal a {
  color: #27313a;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tg-consent-embed-placeholder {
  align-items: center;
  background: #eef2f3;
  border: 1px solid rgba(39, 49, 58, 0.16);
  color: #27313a;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 220px;
  padding: 24px;
  text-align: center;
  width: 100%;
}

.embed-responsive > .tg-consent-embed-placeholder {
  bottom: 0;
  left: 0;
  min-height: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.embed-responsive.tg-consent-embed-managed {
  pointer-events: auto;
}

.embed-responsive.tg-consent-embed-managed.tg-consent-embed-blocked {
  pointer-events: none;
}

.embed-responsive.tg-consent-embed-managed.tg-consent-embed-blocked > .tg-consent-embed-placeholder,
.embed-responsive.tg-consent-embed-managed.tg-consent-embed-blocked > .tg-consent-embed-placeholder * {
  pointer-events: auto;
}

.tg-consent-embed-placeholder strong {
  font-size: 18px;
  font-weight: 600;
}

.tg-consent-embed-placeholder button {
  background: var(--tg-consent-accent, #005a96);
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  margin-top: 6px;
  min-height: 48px;
  padding: 10px 14px;
}

.tg-consent-declaration {
  color: #27313a;
  font-family: Arial, Helvetica, sans-serif;
  margin: 24px 0;
}

.tg-consent-declaration > h3 {
  border-top: 1px solid rgba(39, 49, 58, 0.14);
  margin-top: 28px;
  padding-top: 22px;
}

.tg-consent-declaration .tg-consent-service {
  border-bottom: 1px solid rgba(39, 49, 58, 0.12);
}

.tg-consent-legacy-hidden {
  display: none !important;
}

@media (max-width: 700px) {
  .tg-consent-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .tg-consent-dialog,
  .tg-consent-dialog[data-tg-consent-current-view="settings"] {
    border-radius: 8px 8px 0 0;
    height: auto;
    max-height: 96dvh;
    max-width: none;
    padding: 22px 18px;
  }

  .tg-consent-dialog h2 {
    font-size: 22px;
  }

  .tg-consent-dialog p,
  .tg-consent-settings-intro {
    font-size: 16px;
  }

  .tg-consent-actions {
    grid-template-columns: 1fr;
  }

  .tg-consent-dialog[data-tg-consent-current-view="settings"] {
    height: 96dvh;
  }

  .tg-consent-dialog[data-tg-consent-current-view="settings"] .tg-consent-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tg-consent-dialog[data-tg-consent-current-view="settings"] .tg-consent-button-link {
    grid-column: 1 / -1;
  }

  .tg-consent-button-link {
    grid-column: auto;
  }

  .tg-consent-option-main {
    gap: 12px;
    padding: 15px 14px;
  }

  .tg-consent-option-heading strong {
    font-size: 16px;
  }

  .tg-consent-option-description,
  .tg-consent-option-copy p,
  .tg-consent-service-provider,
  .tg-consent-metadata dd,
  .tg-consent-provider-privacy {
    font-size: 16px;
  }

  .tg-consent-count,
  .tg-consent-required,
  .tg-consent-service-details-label,
  .tg-consent-metadata dt,
  .tg-consent-catalog-version,
  .tg-consent-legal a {
    font-size: 14px !important;
  }

  .tg-consent-services {
    padding: 0 14px;
  }

  .tg-consent-service summary {
    min-height: 72px;
  }

  .tg-consent-service-identity strong {
    font-size: 16px;
  }

  .tg-consent-service-details-label {
    display: none;
  }

  .tg-consent-metadata {
    grid-template-columns: 1fr;
  }

  .tg-consent-storage-table-wrap {
    overflow: visible;
  }

  .tg-consent-storage-table,
  .tg-consent-storage-table tbody,
  .tg-consent-storage-table tr,
  .tg-consent-storage-table td {
    display: block;
    width: 100%;
  }

  .tg-consent-storage-table {
    font-size: 16px;
  }

  .tg-consent-storage-table thead {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .tg-consent-storage-table tr {
    border-top: 1px solid rgba(39, 49, 58, 0.14);
    padding: 9px 0;
  }

  .tg-consent-storage-table td {
    border: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    padding: 5px 0;
  }

  .tg-consent-storage-table td::before {
    color: #27313a;
    content: attr(data-label);
    font-size: 14px;
    font-weight: 600;
  }

  .tg-consent-legal {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .tg-consent-first-layer-services {
    padding: 13px 14px;
  }

  .tg-consent-service summary {
    gap: 10px;
  }

  .tg-consent-storage-table td {
    grid-template-columns: 1fr;
    gap: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #tg-consent-root * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  #tg-consent-root,
  .tg-consent-embed-placeholder {
    display: none !important;
  }
}
