.cookie-modal {
  position: fixed;
  z-index: 1000;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  left: 0;
  top: 0;
  pointer-events: none;
}
.cookie-modal--hidden {
  display: none;
}
.cookie-modal__content {
  /* max-width: 600px; */
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background-color: white;
  margin: 15vh auto 0;
  pointer-events: auto;
  width: 100vw;
}
body.color .cookie-modal__content {
  background-color: var(--purple);
}
@media (min-width: 400px) {
  .cookie-modal__content {
    margin: 22vh auto 0;
    padding: 40px;
  }
}
.cookie-modal__title {
  /* font-size: 1.4rem; */
  /* font-weight: 700; */
  font-size: var(--h2);
  font-weight: 400;
  /* margin-bottom: 10px; */
  margin-bottom: 1rem;
}
.cookie-modal__text {
  font-size: 1.21em;
  line-height: 1.4;
  margin-bottom: 20px;
  max-width: var(--max-width);
}
.cookie-modal__text a {
  text-decoration: underline;
}
.cookie-modal__options {
  font-size: 1.21em;
  margin-bottom: 20px;
  max-width: var(--max-width);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.cookie-modal__options > * {
  width: calc(50% - 30px);
}
@media (min-width: 400px) {
  .cookie-modal__options > * {
    width: calc(33.3333% - 30px);
  }
}
.cookie-modal__option {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  cursor: pointer;
  margin-right: 30px;
  margin-bottom: 10px;
}
.cookie-modal__option.disabled {
  opacity: 0.7;
}
.cookie-modal__checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 0;
  border: var(--border);
  border-width: 2px;
  margin-right: 6px;
  flex-shrink: 0;
}
.cookie-modal__checkbox:checked {
  background-color: #000;
}
.cookie-modal__checkbox:checked:focus {
  outline: none;
  /* background-color: #81a2be; */
  background-color: var(--orange);
}
/* body.color .cookie-modal__checkbox:checked:focus {
  background-color: var(--purple);
}   */
.cookie-modal__checkbox:focus {
  outline: none;
  /* border-color: #81a2be; */
  border-color: var(--orange);
}
.cookie-modal__check {
  position: absolute;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.cookie-modal__check svg {
  stroke: #fff;
}
.cookie-modal__label {
  line-height: 22px;
}
.cookie-modal__buttons {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}

.cookie-modal__button {
  font-family: inherit;
  font-size: 1.21em;
  font-weight: inherit;
  line-height: 2;
  border: var(--border);
  background-color: transparent;
  border-radius: 1em;
  line-height: 1.5;
  /* padding-top: .1em; */
  padding-bottom: .3em;
  padding-left: .5em;
  padding-right: .4em;
}

@media (min-width: 400px) {
  .cookie-modal__button {
    margin-right: 10px;
    /* padding: 10px 24px; */
  }
}
.cookie-modal__button.primary {
  background-color: #000;
  color: #fff;
}
body.color .cookie-modal__button.primary {
  color: var(--purple);
}
/* .cookie-modal__button.primary:focus,
.cookie-modal__button.primary:hover {
  background-color: #81a2be;
  background-color: var(--petrol);
} */
.cookie-modal__button:focus,
.cookie-modal__button:hover {
  outline: none;
  /* border-color: #81a2be; */
  background-color: var(--orange);
  color: black;
}
body.color .cookie-modal__button:focus,
body.color .cookie-modal__button:hover {
  /* background-color: var(--orange); */
  color: black;
}
.cookie-modal__button.hide {
  display: none;
}
