/* Banner */
#cookiesjsr {
  --banner-bg-color: var(--xunta-blue);
  --btn-bg-color: #fff;
  --btn-font-color: var(--xunta-blue);
  --btn-border-color: #fff;
  --btn-inv-font-color: var(--xunta-blue);
  --btn-inv-border-color: var(--xunta-blue);
  --btn-prime-border-color: #fff;
  --btn-prime-font-color: var(--xunta-blue);
  --btn-prime-inv-bg-color: var(--xunta-blue-secondary);
  --btn-prime-inv-border-color: var(--xunta-blue-secondary);
  --color-link-hover: #fff;
  --layer-border-color: var(--xunta-blue-10);
  --layer-footer-font-color: var(--xunta-blue-secondary);
  --layer-header-font-color: var(--xunta-blue-secondary);
  --layer-tab-active-bg-color: var(--xunta-blue);
  --layer-tab-font-color: var(--xunta-blue-secondary);
  --switch-always-on-font-color: var(--xunta-blue-secondary);
  --switch-bg-on: var(--xunta-blue-50);
  --switch-border-color: var(--xunta-blue-10);
}
.cookiesjsr-btn {
  border-width: 1px;
}
.cookiesjsr-btn:hover {
  border-color: var(--xunta-blue-secondary);
  transform: scale(1);
}
.cookiesjsr-btn.important {
  background-color: var(--xunta-blue-secondary);
  border-color: var(--xunta-blue-secondary);
  color: #fff;
}
.cookiesjsr-btn.important:hover {
  border-color: var(--xunta-blue-25);
}
.cookiesjsr-btn.invert:hover {
  background-color: var(--xunta-blue-10);
  border-color: var(--xunta-blue);
}
.cookiesjsr-btn.important.invert:hover {
  color: var(--xunta-blue);
}
.cookiesjsr-banner--info p {
  margin: 0;
  padding: 0;
}
.cookiesjsr-banner--info a {
  font-weight: bold;
  text-decoration: underline;
}
/* Warning */
.cookies-fallback .cookies-fallback--text {
  color: var(--xunta-blue-secondary);
}
.cookies-fallback .cookies-fallback--btn {
  background-color: #fff;
  border: 1px solid var(--xunta-blue);
  color: var(--xunta-blue);
}
.cookies-fallback .cookies-fallback--btn:hover {
  background-color: var(--xunta-blue-10);
  transform: scale(1);
}
.cookies-fallback a.cookies-fallback--link {
  color: var(--xunta-blue);
}
/* Documentation */
#cookies-docs .disclaimer {
  margin-bottom: 1rem;
}
#cookies-docs .cookies-docs .cookies-docs-service {
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  padding: 1rem;
}
#cookies-docs .cookies-docs .cookies-docs-service h3 {
  margin-top: 0;
}
#cookies-docs .cookies-docs table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.9rem;
  width: 100%;
}
#cookies-docs .cookies-docs table td {
  background-color: #f3f3f3;
  border: 1px solid #fff;
  padding: 1rem;
}
#cookies-docs .cookies-docs .cookies-docs-service__processor-details dl {
  background-color: #f3f3f3;
  padding: 1rem;
}
#cookies-docs .cookies-docs .cookies-docs-service__processor-details dl > div {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
#cookies-docs .cookies-docs .cookies-docs-service__processor-details dl > div:last-child {
  margin-bottom: 0;
}

/* Readspekaer */
.cookies-fallback--wrap.disabled {
  min-height: unset;
}

.cookies-fallback--wrap.disabled .cookies-fallback {
  position: unset;
}

.cookies-fallback--wrap.disabled .cookies-fallback--element {
  display: none;
}

.cookies-fallback--wrap.disabled .cookies-fallback.cookies-fallback--readspeaker {
  background-color: #f8f9fa;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.cookies-fallback.cookies-fallback--readspeaker {
  background-color: #f8f9fa;
  background-position-x: 12px;
  background-size: 39px auto;
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  padding: 0.8rem;
}

.cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--text {
  max-width: 329px;
  text-align: center;
  width: 100%;
}

.cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--readspeaker--btn,
.cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--link {
  font-weight: normal;
  margin: 0;
  padding: 6px 10px 5px;
  text-transform: unset;
  border-radius: 4px;
  border: 1px solid var(--xunta-blue);
  line-height: normal;
  transition: all 0.2s ease-in-out;
  min-height: auto;
}

.cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--readspeaker--btn {
  background-color: #fff;
  color: var(--xunta-blue);
}

.cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--readspeaker--btn:hover,
.cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--readspeaker--btn:focus {
  background-color: var(--xunta-blue);
  color: #fff;
}

.cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--link {
  background-color: var(--xunta-blue);
  color: #fff;
  text-decoration: none;
}

.cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--link:hover,
.cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--link:focus {
  background-color: var(--xunta-blue-secondary);
  border-color: var(--xunta-blue-secondary);
}

@media (max-width: 576px) {
  .cookies-fallback.cookies-fallback--readspeaker {
    background-position-y: 27px;
  }

  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--text {
    font-size: 0.843rem;
    padding-left: 2.3rem;
  }

  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--readspeaker--btn {
    width: calc(55% - 0.25rem);
  }

  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--link {
    width: calc(45% - 0.25rem);
  }

  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--readspeaker--btn,
  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--link {
    font-size: 0.7312rem;
  }
}

@media (min-width: 576px) {
  .cookies-fallback.cookies-fallback--readspeaker {
    background-position-y: 16px;
  }

  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--text {
    font-size: 0.956rem;
    padding-left: 3rem;
  }

  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--readspeaker--btn {
    width: calc(60% - 0.5rem);
  }

  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--link {
    width: calc(40% - 0.5rem);
  }

  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--readspeaker--btn,
  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--link {
    font-size: 0.7875rem;
  }
}

@media (min-width: 768px) {
  .cookies-fallback.cookies-fallback--readspeaker {
    gap: 1rem;
  }

  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--readspeaker--btn,
  .cookies-fallback.cookies-fallback--readspeaker .cookies-fallback--link {
    font-size: 0.843rem;
  }
}