:root {
  --cc-background: #000;
  --cc-colour: #fff;
  --cc-link-colour: #fff;
  --cc-link-hover-colour: #666;
}

.cc-window {
  background: var(--cc-background);
  padding: 1rem 1.8rem;
  position: fixed;
  z-index: 9999;
  overflow: hidden;
  opacity: 1;
  transition: opacity 1s ease;
}
.cc-window .cc-message {
  color: var(--cc-colour);
  display: block;
}
.cc-window .cc-link {
  opacity: 0.8;
  display: inline-block;
  padding: 0.2em;
  text-decoration: underline;
  color: var(--cc-link-colour);
}
.cc-window .cc-link.hover {
  opacity: 1;
  color: var(--cc-link-hover-colour);
}
.cc-window .cc-link:active,
.cc-window .cc-link:visited {
  opacity: 1;
  color: var(--cc-link-colour);
}
.cc-window .cc-compliance {
  text-align: center;
  margin-top: 1rem;
}
@media only screen and (min-width: 567px) {
  .cc-window .cc-compliance {
    margin-top: 0;
  }
}
.cc-window .cc-btn {
  text-transform: none;
  white-space: nowrap !important;
  margin: 0 auto;
  background: #ff0000;
  color: #fff;
  padding: 6px 8px;
}

.cc-window .cc-btn:hover,
.cc-window .cc-btn:active,
.cc-window .cc-btn:focus {
  background: #fff;
  color: #ff0000;
}

@media only screen and (min-width: 567px) {
  .cc-window .cc-btn {
    margin: 0;
  }
}
.cc-window .cc-btn + .cc-btn {
  margin-left: 0.5em;
}
.cc-window.cc-top {
  top: 1em;
}
.cc-window.cc-left {
  left: 1em;
}
.cc-window.cc-right {
  right: 1em;
}
.cc-window.cc-bottom {
  bottom: 1em;
}
.cc-window.cc-invisible {
  opacity: 0;
}
.cc-window.cc-static {
  position: static;
}
.cc-window.cc-banner.cc-top {
  left: 0;
  right: 0;
  top: 0;
}
.cc-window.cc-banner.cc-bottom {
  left: 0;
  right: 0;
  bottom: 0;
}
.cc-window.cc-banner .cc-message {
  display: block;
  width: 100%;
}
@media only screen and (min-width: 567px) {
  .cc-window.cc-banner .cc-message {
    flex: 1 1 auto;
    margin-right: 1em;
  }
}
@media only screen and (min-width: 567px) {
  .cc-window.cc-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}
@media only screen and (min-width: 567px) {
  .cc-window.cc-floating .cc-window-wrapper {
    display: flex;
    flex-direction: column;
  }
}
.cc-window.cc-floating .cc-compliance > .cc-btn {
  flex: 1;
}
.cc-btn,
.cc-close,
.cc-link,
.cc-revoke {
  cursor: pointer;
}
.cc-revoke {
  position: absolute;
  overflow: hidden;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5em;
  z-index: 9999;
  padding: 0.5em;
}
.cc-revoke.cc-top {
  top: 0;
  left: 3em;
  border-bottom-left-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
}
.cc-revoke.cc-bottom {
  bottom: 0;
  left: 3em;
  border-top-left-radius: 0.5em;
  border-top-right-radius: 0.5em;
}
.cc-revoke.cc-left {
  left: 3em;
  right: unset;
}
.cc-revoke.cc-right {
  right: 3em;
  left: unset;
}
.cc-revoke.cc-animate {
  transition: transform 1s ease;
}
.cc-revoke.cc-animate.cc-top {
  transform: translateY(-2em);
}
.cc-revoke.cc-animate.cc-bottom {
  transform: translateY(2em);
}
.cc-revoke.cc-animate.cc-active.cc-top,
.cc-revoke.cc-animate.cc-active.cc-bottom {
  transform: translateY(0);
}
.cc-revoke:hover {
  text-decoration: underline;
  transform: translateY(0);
}
@media only screen and (min-width: 768px) {
  .cc-revoke {
    position: fixed;
  }
}
.cc-close {
  display: block;
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  font-size: 1.6em;
  opacity: 0.9;
  line-height: 0.75;
}
.cc-close:focus,
.cc-close:hover {
  opacity: 1;
}
@media screen and (max-width: 414px) and (orientation: portrait),
  screen and (max-width: 736px) and (orientation: landscape) {
  .cc-window.cc-top {
    top: 0;
  }
  .cc-window.cc-bottom {
    bottom: 0;
  }
  .cc-window.cc-banner,
  .cc-window.cc-floating,
  .cc-window.cc-left,
  .cc-window.cc-right {
    left: 0;
    right: 0;
  }
  .cc-window.cc-banner .cc-compliance {
    flex: 1 1 auto;
  }
  .cc-window.cc-floating {
    max-width: none;
  }
  .cc-window .cc-message {
    margin-bottom: 1em;
  }
  .cc-window.cc-banner {
    align-items: unset;
  }
  .cc-window.cc-banner .cc-message {
    margin-right: 0;
  }
}
@media print {
  .cc-revoke,
  .cc-window {
    display: none;
  }
}
