.consent-widget {
  background-color: #FFFFFF;
  border-radius: 0 0 10px 0;
  border-width: 0;
  box-shadow: 0 4px 4px #99999940;
  color: #000000;
  max-width: 800px;
  padding: 1.5em;
  --transition-time: 0.24s;
}

.consent-widget::backdrop {
  background-color: #999999;
  opacity: 0.5;
}

.consent-section {
  column-gap: var(--s-6);
  display: grid;
  grid-template-areas:
    "a c";
  grid-template-columns: 10fr 1fr;
  grid-template-rows: 1fr;
  
  /*grid-template-columns: 1fr 1fr;*/
  margin-bottom: var(--s-6);

}

.consent-section .consent-title {
  grid-area: a;
  margin-top: 0;
}
.consent-section .consent-text {
  grid-area: a;
}
.consent-section .consent-toggles {
  grid-area: c;
  align-self: center;
}

button.consent-toggle {
  background-color: red;
  border-radius: 1em;
  border-width: 0;
  color: #FFFFFF;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--transition-time) ease-out;
  word-spacing: -0.25em;
}
button.consent-toggle::before, button.consent-toggle::after {
  background-color: #FFFFFF;
  border-radius: 50%;
  content: '';
  display: inline-block;
  margin-right: 0.5em;
  height: 1em;
  position: relative;
  top: 3px;
  width: 1em;
}
button.consent-toggle::after {
  display: none;
  margin-left: 0.5em;
  margin-right: 0;
}

button.consent-toggle .on, button.consent-toggle .off {
  display: inline-block;
}
button.consent-toggle .on {
  display: none;
}
button.consent-toggle .off {
  display: inline-block;
}
button.consent-toggle.active {
  background-color: green;
  color: #FFFFFF;
  padding-left: 0.5em;
}
button.consent-toggle.active .on {
  display: inline-block;
}
button.consent-toggle.active .off {
  display: none
}
button.consent-toggle.active::after {
  display: inline-block;
}
button.consent-toggle.active::before {
  display: none;
}

button.dialog-close {
  background-color: transparent;
  background-image: url(￼../../images/icon-close.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 20px;
  border: none;
  box-sizing: content-box;
  cursor: pointer;
  height: 20px;
  padding: 14px;
  position: absolute;
  right: 1em;
  text-indent: -10000px;
  top: 1em;
  width: 20px;
}
