.cookie--notice {
  background: #fff;
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 9999999;
  transform: translateX(-50%);
  width: 100%;
  max-width: 990px;
  display: block;
  padding: 15px;
  max-height: 87vh;
  overflow: auto;
}

@media (min-width: 767px) {
  .cookie--notice {
    padding: 32px;
    bottom: 2rem;
  }
}

.cookie--notice-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 100%;
  z-index: 999999;
  background-color: #555;
  opacity: 0.8;
}

.cookie--notice.hidden,
.cookie--notice-overlay.hidden {
  display: none;
}

.cookie--notice h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: #130f49;
}

.cookie--notice p {
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: #130f49;
}

@media (min-width: 767px) {
  .cookie--notice h4 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .cookie--notice p {
    font-size: 14px;
    line-height: 18px;
  }

  .cookie--notice a {
    font-size: 14px;
  }

  .cookie--notice label {
    font-size: 16px;
  }
}

.cookie--notice a {
  font-weight: 600;
  margin: 0;
  position: relative;
  display: inline-block;
  font-size: 13px;
}

.cookie--notice input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.cookie--checkbox-wrapper {
  margin-bottom: 10px;
  margin-right: 1rem;
}

@media (min-width: 767px) {
  .cookie--checkbox-wrapper {
    margin-right: 2rem;
  }
}

.cookie--notice .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border-radius: 3px;
  border: 2px solid #666;
}

.cookie--notice label {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #130f49;
  display: block;
  position: relative;
  padding-left: 26px;
  cursor: pointer;
  user-select: none;
}

@media (min-width: 767px) {
  .cookie--notice label {
    padding-left: 28px;
    font-size: 18px;
    line-height: 20px;
  }
}

.cookie--notice .cookie--checkbox-disabled {
  color: #ccc;
}

.cookie--notice .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: inherit;
}

.cookie--notice input:checked ~ .checkmark::after {
  display: block;
}

.cookie--notice input:checked ~ .checkmark {
  background-color: #130f49;
  border-color: #130f49;
}

.cookie--notice .cookie--checkbox-disabled input:checked ~ .checkmark {
  background-color: #ccc;
  border-color: #ccc;
}

.cookie--options {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  margin: 30px 0 20px;
}

.cookie--accordion {
  display: flex;
  flex-direction: column;
}

.cookie--accordion-trigger {
  line-height: 18px;
  font-size: 14px;
  border: none;
  font-weight: 600;
  background-color: #fff;
  color: #130f49;
  cursor: pointer;
  display: flex;
  align-self: flex-end;
  align-items: center;
  justify-content: center;
}

.cookie--accordion-trigger i {
  display: inline-block;
  transition: 200ms ease all;
  transform: rotate(-180deg);
}

.cookie--accordion-trigger.collapsed i {
  transform: rotate(0deg);
}

.cookie--accordion-content {
  overflow: hidden;
  max-height: 1800px;
  list-style-type: none;
  padding: 0;
  text-align: left;
  margin-top: 20px;
  transition: all 400ms ease-in-out;
}

.cookie--accordion-content.collapsed {
  max-height: 0;
}

.cookie--btn-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie--btn-wrapper button + button {
  margin-left: 16px;
}

.cookie--accept-selection {
  font-size: 15px;
  color: #130f49;
  font-weight: 500;
}

.cookie--accept-all {
  font-size: 16px;
  font-weight: 600;
}
