:root {
  --consent-color: #1f8ef7;
}

.cc-dialog-open {
  overflow: hidden;
}

#cc-overlay {
  background: rgba(15, 29, 35, .62);
  display: none;
  inset: 0;
  position: fixed;
  z-index: 2147483646;
}

#cc-overlay.is-visible {
  display: block;
}

#consent-popup {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  box-sizing: border-box;
  color: #202b30;
  display: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  left: 50%;
  line-height: 1.5;
  max-height: calc(100vh - 32px);
  max-width: 900px;
  overflow: auto;
  padding: 0;
  position: fixed;
  text-align: left;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
  z-index: 2147483647;
}

#consent-popup.is-visible {
  display: block;
}

#consent-popup * {
  box-sizing: border-box;
}

#consent-popup .tab-navigation {
  background: #f7f7f7;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
}

#consent-popup .cc-tab-link {
  background: transparent;
  border: 0;
  border-bottom: 0;
  border-right: 1px solid #ddd;
  color: #425257;
  cursor: pointer;
  flex: 1;
  font: inherit;
  font-weight: 700;
  padding: 13px 18px;
  text-align: center;
}

#consent-popup .cc-tab-link.active {
  background: #fff;
  color: #333;
}

#consent-popup button:focus-visible,
#consent-popup a:focus-visible,
#small-consent-box:focus-visible {
  outline: 3px solid #f0a900;
  outline-offset: 2px;
}

#consent-popup .cc-tab-content {
  padding: 28px 42px 28px !important;
}

#consent-popup .cc-tab-content[hidden] {
  display: none;
}

#consent-popup .cc-logo {
  display: block;
  height: auto;
  margin: 0 0 17px;
  max-height: 78px;
  max-width: 310px;
  object-fit: contain;
  object-position: left center;
}

#consent-popup h2 {
  color: #203940;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 10px;
}

#consent-popup .cc-visually-hidden {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#consent-popup p {
  color: #425257;
  font-size: 15px;
  margin: 0 0 18px;
}

#consent-popup .cc-use-list {
  color: #425257;
  font-size: 15px;
  line-height: 1.45;
  list-style: none;
  margin: -16px 0 18px;
  padding: 0;
}

#consent-popup .cc-use-list li:before {
  content: "- ";
}

#consent-popup .cc-body-copy {
  margin-bottom: 18px;
}

#consent-popup .cc-grid-container {
  border: 1px solid #d9e2e2;
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 22px 0;
  overflow: hidden;
}

#consent-popup .cc-category {
  align-items: center;
  border-right: 1px solid #d9e2e2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 88px;
  padding: 12px 7px;
  text-align: center;
}

#consent-popup .cc-category:last-child {
  border-right: 0;
}

#consent-popup .slider-text {
  color: #25383d;
  font-size: 13px;
  font-weight: 600;
}

#consent-popup .cc-category-required .slider-text {
  color: #69777a;
}

#consent-popup .switch {
  cursor: pointer;
  display: inline-block;
  height: 26px;
  position: relative;
  width: 46px;
}

#consent-popup .switch input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

#consent-popup .slider {
  background: #bdc8c9;
  border-radius: 20px;
  inset: 0;
  position: absolute;
  transition: background-color .2s ease;
}

#consent-popup .slider:before {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 20px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform .2s ease;
  width: 20px;
}

#consent-popup .switch input:checked + .slider {
  background: var(--consent-color);
}

#consent-popup .switch input:checked + .slider:before {
  transform: translateX(20px);
}

#consent-popup .switch input:focus-visible + .slider {
  outline: 3px solid #f0a900;
  outline-offset: 2px;
}

#consent-popup .switch input:disabled + .slider {
  cursor: not-allowed;
  opacity: .72;
}

#consent-popup .cc-button-container {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

#consent-popup .cc-button {
  background: #fff;
  border: 1px solid var(--consent-color);
  border-radius: 5px;
  color: var(--consent-color);
  cursor: pointer;
  flex: 1;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 46px;
  padding: 11px 14px;
  transition: background-color .15s ease, color .15s ease;
}

#consent-popup .cc-button:hover {
  background: #eef7f7;
}

#consent-popup .cc-button-all {
  background: var(--consent-color);
  color: #fff;
}

#consent-popup .cc-button-all:hover {
  background: #005354;
  color: #fff;
}

#consent-popup .cc-privacy-link {
  color: var(--consent-color);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
}

#consent-popup .cc-about-copy,
#consent-popup .cc-about-extra {
  font-size: 15px;
  margin-bottom: 16px;
}

#consent-popup #cc-about-cookies-tab h2 {
  color: #191919;
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 14px;
}

#consent-popup .cc-details-toggle {
  background: transparent;
  border: 0;
  color: #333;
  cursor: pointer;
  display: block;
  font: inherit;
  margin: 14px 0;
  padding: 0;
  text-decoration: underline;
}

#consent-popup #cc-details {
  border-top: 1px solid #e1e8e8;
  margin: 18px 0;
  padding-top: 12px;
}

#consent-popup #cc-details h3 {
  color: #203940;
  font-size: 17px;
  margin: 12px 0 4px;
}

#consent-popup #cc-details p {
  margin-bottom: 12px;
}

#consent-popup #cookieList {
  border: 1px solid #ccc;
  max-height: 320px;
  overflow: auto;
  padding: 8px;
}

#consent-popup #cookieList table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

#consent-popup #cookieList th,
#consent-popup #cookieList td {
  border: 1px solid #ccc;
  overflow-wrap: anywhere;
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

#small-consent-box {
  align-items: center;
  background: #fff;
  border: 2px solid var(--consent-color);
  border-radius: 50%;
  bottom: 14px;
  box-shadow: 0 2px 9px rgba(0, 0, 0, .2);
  color: var(--consent-color);
  cursor: pointer;
  display: flex;
  font-size: 21px;
  height: 48px;
  justify-content: center;
  left: 14px;
  padding: 0;
  position: fixed;
  width: 48px;
  z-index: 2147483645;
}

@media (max-width: 600px) {
  #consent-popup {
    max-height: calc(100vh - 20px);
    width: calc(100% - 20px);
  }

  #consent-popup .cc-tab-content {
    padding: 18px 16px 20px;
  }

  #consent-popup h2 {
    font-size: 21px;
  }

  #consent-popup #cc-about-cookies-tab h2 {
    font-size: 24px;
  }

  #consent-popup p {
    font-size: 14px;
  }

  #consent-popup .cc-grid-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #consent-popup .cc-category:nth-child(2) {
    border-right: 0;
  }

  #consent-popup .cc-category:nth-child(-n+2) {
    border-bottom: 1px solid #d9e2e2;
  }

  #consent-popup .cc-category {
    min-height: 74px;
  }

  #consent-popup .cc-button-container {
    flex-direction: column;
  }

  #consent-popup .cc-button {
    flex: 0 0 auto;
    min-height: 42px;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #consent-popup *,
  #small-consent-box {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
