.c-cookies {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 99999;
  padding: 10px 30px 30px;
  width: 90%;
  min-width: 300px;
  max-width: 600px;
  font-family: system-ui;
  font-size: 16px;
  color: black;
  background-color: white;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
@media (min-width: 768px) {
  .c-cookies {
    top: 40%;
    max-height: 70%;
  }
}
.c-cookies--settings {
  display: none;
}
.c-cookies--settings.is-visible {
  display: block;
}
.c-cookies__headline {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 5px 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 5px;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .c-cookies__headline {
    -ms-grid-columns: 2fr 5px 1fr;
    grid-template-columns: 2fr 1fr;
  }
}
.c-cookies__catName {
  font-size: 1.3em;
  font-weight: 700;
}
.c-cookies__catSelect {
  display: none;
  padding: 5px 10px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.05);
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  cursor: pointer;
}
.c-cookies__catSelect:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.c-cookies__catSelect.is-visible {
  display: block;
}
.c-cookies__subline {
  font-weight: 700;
}
.c-cookies__content {
  height: 45vh;
  overflow-x: auto;
}
.c-cookies__intro {
  margin-top: 10px;
}
.c-cookies__list {
  margin-top: 20px;
  padding: 0 10px;
}
.c-cookies__box {
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 20px 20px;
}
.c-cookies__switch {
  margin-top: 10px;
}
.c-cookies__label {
  width: 60px;
  height: 30px;
  position: relative;
  display: inline-block;
}
.c-cookies__checkbox {
  width: 0;
  height: 0;
  opacity: 0;
}
.c-cookies__checkbox:checked + .c-cookies__slider {
  background-color: rgba(0, 0, 0, 0.3);
}
.c-cookies__checkbox:checked + .c-cookies__slider:before {
  -webkit-transform: translateX(26px);
      -ms-transform: translateX(26px);
          transform: translateX(26px);
}
.c-cookies__slider {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.c-cookies__slider:before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  content: "";
  width: 26px;
  background-color: white;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.c-cookies__buttons {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 2fr;
  grid-template-columns: 1fr 2fr;
  grid-gap: 30px;
  margin-top: 30px;
}
.c-cookies__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 0;
  padding: 10px;
  width: 100%;
  text-align: center;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  cursor: pointer;
}
.c-cookies__button:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.c-cookies__button--settings {
  font-size: 0.8em;
  background-color: transparent;
}
.c-cookies__button--settings:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.c-cookies__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99998;
  background-color: rgba(0, 0, 0, 0.5);
}