#cookies-consent__window * {
  margin: 0;
  padding: 0;
}
#cookies-consent__window {
  font-family: sans-serif;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 590px;
  height: auto;
  background-color: #fff;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  border: 1px solid #fafafa;
  display: none;
  z-index: 9999999999;
}
#cookies-consent__window p {
  font-size: 14px;
  line-height: 1.5em;
  margin-bottom: 1em;
}
#cookies-consent__window a {
  color: #1E73BE;
}
#cookies-consent__window .cookies-consent--highlighted {
  color: #30ae11;
}

#cookies-consent__window .cookies-consent__header {
  position: relative;
}
#cookies-consent__window #cookies-consent__close {
  position: absolute;
  top: -2px;
  right: 0px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
#cookies-consent__window #cookies-consent__close:before,
#cookies-consent__window #cookies-consent__close:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 14px;
  height: 1px;
  background-color: #444;
}
#cookies-consent__window #cookies-consent__close:before {
  transform: rotate(45deg) translate(-6px, 4px);
}
#cookies-consent__window #cookies-consent__close:after {
  transform: rotate(-45deg) translate(-4px, -6px);
}

#cookies-consent__window .cookies-consent__inner-window {
  color: #333;
  margin: 24px;
}
#cookies-consent__window .cookies-consent__content {
  max-height: 500px;
  overflow-y: auto;
}
#cookies-consent__window p.cookies-consent__title {
  text-align: center;
  font-size: 16px;
  margin-bottom: 1em;
  color: inherit;
}

#cookies-consent__window .cookies-consent__item {
  background: #fafafa;
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
}
#cookies-consent__window .cookies-consent__item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background-color: rgba(0, 0, 0, 0.05);
}
#cookies-consent__window .cookies-consent__item-title {
  margin: 0;
  font-weight: bold;
}

#cookies-consent__window .cookies-consent__item-description {
  padding: 10px 16px;
}

#cookies-consent__window .cookies-consent__item-description p {
  font-size: 13px;
}
#cookies-consent__window .cookies-consent__item-description p:last-child {
  margin-bottom: 0;
}

#cookies-consent__window .cookies-consent__btns {
  display: grid;
  grid-template-columns: 8fr 10fr 10fr;
  grid-gap: 20px;
  padding-top: 16px;
}

#cookies-consent__window .cookies-consent__btn {
  border-radius: 5px;
  border: 1px solid #f6f6f6;
  padding: 14px 6px;
  cursor: pointer;
  font-size: 15px;
  background-color: #f5f5f5;
  color: #333;
  opacity: 0.8;
}
#cookies-consent__window .cookies-consent__btn:hover {
  opacity: 1;
}

#cookies-consent__window .cookies-consent__btn--highlighted {
  background: #0c9eda;
  color: #fff;
}

@media screen and (max-width: 640px) {
  #cookies-consent__window {
    bottom: 0px;
    right: 0px;
    width: 100%;
    border-radius: 0;
  }
}

/* swipe button */
.cookies-consent__switch {
  display: inline-block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cookies-consent__switch i {
  position: relative;
  display: inline-block;
  margin-right: .5rem;
  width: 46px;
  height: 26px;
  background-color: #e6e6e6;
  border-radius: 23px;
  vertical-align: text-bottom;
  transition: all 0.3s linear;
}

.cookies-consent__switch i::before {
  content: "";
  position: absolute;
  left: 0;
  width: 42px;
  height: 22px;
  background-color: rgba(48, 174, 17, 0.089);
  border-radius: 11px;
  transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
  transition: all 0.25s linear;
}

.cookies-consent__switch i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
  transform: translate3d(2px, 2px, 0);
  transition: all 0.2s ease-in-out;
}

.cookies-consent__switch:active i::after {
  width: 28px;
  transform: translate3d(2px, 2px, 0);
}

.cookies-consent__switch:active input:checked+i::after {
  transform: translate3d(16px, 2px, 0);
}

.cookies-consent__switch input {
  display: none;
}

.cookies-consent__switch input:checked+i {
  background-color: #30ae11;
}
.cookies-consent__switch input:checked:disabled+i {
  background-color: rgb(190, 190, 190);
}

.cookies-consent__switch input:checked+i::before {
  transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0);
}

.cookies-consent__switch input:checked+i::after {
  transform: translate3d(22px, 2px, 0);
}