@keyframes slideFromBottom {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.hidden {
  display: none !important;
}

.cookie_consent button {
  display: block;
  max-width: 16em;
  width: 100%;
  margin: 0.5em 0 0 0;
  padding: 1em 0;
  font-weight: bold;
  background: #045e9a;
  border: none;
  cursor: pointer;
  color: #fff;
}
.cookie_consent button.secondary {
  background: none;
  color: #55823b;
  border: 0.25em solid #55823b;
}
.cookie_consent button.tertiary {
  background: #045e9a;
  color: #fff;
}
.cookie_consent button:hover {
  text-decoration: underline;
}

#consent_banner {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2em;
  flex-wrap: wrap;
  box-shadow: -1px 38px 80px 0 rgba(0, 0, 0, 0.8);
  color: #333;
  background: #fff;
  padding: 0.5em 1em 1em 1em;
  line-height: 1.5em;
  border-top: 2px solid #ccc;
  animation: 0.35s ease-in-out 0s 1 slideFromBottom;
  font-size: 0.8em;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
#consent_banner p {
  margin: 0;
}
#consent_banner a {
  color: #55823b;
  font-weight: bold;
}
#consent_banner .disclaimer {
  align-self: center;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 0.5em;
}
#consent_banner .cta {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  gap: 1em;
}

#consent_curtain {
  position: fixed;
  overflow-y: auto;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100vw;
  height: 100%;
  z-index: 110;
  background: rgba(0, 0, 0, 0.2);
}
#consent_curtain .modal {
  overflow-y: auto;
  color: #333;
  font-size: 12px;
  line-height: 18px;
  display: block;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  max-width: 52em;
  margin: 2em auto;
  background: #fff;
  border-radius: 1em;
  padding: 1em;
  animation: 0.2s ease-in-out 0s 1 fadeIn;
}
#consent_curtain .modal .logo img {
  max-width: 100%;
  height: auto;
  margin: 1.5em;
}
#consent_curtain .modal h2 {
  margin-top: 0.5em;
}
#consent_curtain .modal .header,
#consent_curtain .modal .cookies {
  display: grid;
  grid-template-columns: 14em 1fr;
  gap: 1em;
}
#consent_curtain .modal .cookies {
  border-top: 1px solid #ccc;
  padding-top: 1em;
}
#consent_curtain .modal .cookies ul.filters {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
#consent_curtain .modal .cookies ul.filters li button {
  font-size: 12px;
  padding: 0.75em 0.5em;
  border: 1px solid #ccc;
  color: #333;
  background: #fff;
}
#consent_curtain .modal .cookies ul.filters li button.active {
  background: #eee;
  color: #55823b;
}
#consent_curtain .modal .cookies .cookie_content {
  max-height: 15em;
  overflow-y: auto;
}
#consent_curtain .modal .cookies .cookie_content .cookie {
  display: none;
}
#consent_curtain .modal .cookies .cookie_content .cookie.active {
  display: block;
}
#consent_curtain .modal .save {
  min-height: 1.5em;
  padding: 0.75em 0 0.5em 0;
}
#consent_curtain .modal .save button {
  font-size: 12px;
  float: right;
}
#consent_curtain .modal .save button.secondary {
  padding: 0.77em 0;
  margin-right: 1em;
}

#curtain_close {
  float: right;
  cursor: pointer;
  border: none;
  background: url("../img/close.svg");
  width: 1.5em;
  height: 1.5em;
  padding: 0.25em;
}

#cookies_update {
  margin: 0.5em 0 0 auto;
}

@media only screen and (min-width: 900px) {
  #consent_banner {
    grid-template-columns: 1fr 25em;
  }
  #consent_banner .cta {
    justify-content: right;
  }
  #consent_banner .cta button {
    padding: 0.75em 0;
  }
}
@media only screen and (max-width: 540px) {
  #consent_curtain .modal {
    margin: 1em 0 0 0;
    border-radius: 1em 1em 0 0;
    top: unset;
    transform: unset;
    position: absolute;
    bottom: 0;
  }
  #consent_curtain .modal .header {
    grid-template-columns: 1fr;
    margin-top: -1em;
  }
  #consent_curtain .modal .header img.logo {
    display: none;
  }
  #consent_curtain .modal .cookies {
    grid-template-columns: 1fr;
    height: 14em;
  }
  #consent_curtain .modal .cookies ul.filters li {
    display: inline-flex;
  }
  #consent_curtain .modal .save button {
    display: block;
    max-width: unset;
    float: unset;
  }
  #consent_curtain .modal .filters li button {
    font-size: 12px;
  }
  #cookies_update {
    margin: 0.5em auto 0 auto;
  }
}
.cookie_switch {
  float: right;
  margin: -0.5em 10px 0 0;
}
.cookie_switch .cookie_display {
  display: block;
  float: left;
  width: 30px;
  height: 30px;
  margin: 0 5px 0 0;
}
.cookie_switch .cookie_display.enabled {
  background: url("../img/check-green.svg");
}
.cookie_switch .cookie_display.necessary {
  background: url("../img/check-grey.svg");
}

.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
  -webkit-tap-highlight-color: transparent;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 14px;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:disabled + .slider {
  background-color: #ccc;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/*# sourceMappingURL=consent-kit.css.map */
