#cookie-consent {
  background-color: rgb(68, 68, 68);
  border-top: 1px solid #999;
  font-size: 16px;

  position: fixed;
  z-index: 10000;
  bottom: 0;
  width: 100%;
}

.cookie-consent--wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
  max-width: calc(1440px + 2em);
  margin: 0 auto;
}

#cookie-consent p {
  padding: 0;
  flex-grow: 1;
  margin: 0;
}

#cookie-consent a {
  word-break: keep-all;
}

#cookie-consent p a {
  font-family: 'Titillium Web', Sans-Serif;

}

#cookie-consent p a:hover {
  text-decoration: none;
}

#cookie-consent p a:hover span {
  border-bottom: 1px solid currentColor;
}

.cookie-consent--buttons {
  margin-left: 1em;
  flex-grow: 0;
  flex-shrink: 0;
}

#cookie-consent--spacer {
  clear: both;
}

@media (max-width: 479px) {
  .cookie-consent--wrap,
  #cookie-consent {
    display: block;
  }

  .cookie-consent--buttons {
    margin-left: 0;
    margin-top: 0.5em;
    text-align: right;
  }
}

.cc-tool--buttons button,
.cookie-consent--dismiss {
  /* button link style? */
  background-color: #512273; !important;
  color: white !important;
  padding: 10px 15px;
  font-size: 19px !important;
  line-height: 1.5;
}

.cc-tool--buttons .cc-button--save:not(:last-child):hover,
.cc-tool--buttons .cc-button--save:not(:last-child):focus,
.cc-tool--buttons button:hover,
.cc-tool--buttons button:focus,
.cookie-consent--dismiss:hover,
.cookie-consent--dismiss:focus {
  background-color: #512273; !important;
  color: white !important;
  text-decoration: underline;
}

.cc-tool--buttons .cc-button--save:not(:last-child) {
  border-color: #512273; !important;
  color: rgb(225, 26, 47); !important;
}

.cc-tool {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 19px;
  line-height: 1.5;
}

.cc-tool > button {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  border: none;
  padding: 0;
  text-indent: -999em;
}

.cc-tool--over {
  background: white;
  position: relative;
  max-width: 90%;
  width: 42em;
  max-height: 86vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.cc-tool a:visited,
.cc-tool a {
  color: rgb(68, 68, 68);
  font-weight: bold;
  text-decoration: underline;
}
.cc-tool a:hover {
  color: #462672;
  font-weight: bold;
  border-bottom: none;
  text-decoration: none !important;
}

.cc-tool h2 {
  background: white;
  color: rgb(68, 68, 68);
  margin: 0;
  font-weight: bold;
  font-size: 32px;
}

.cc-tool h2,
.cc-tool--over > div {
  padding: 60px;
}

.cc-tool--over > div {
  padding-top: 15px;
  padding-bottom: 30px;
}

.cc-tool h2 {
  padding-bottom: 0;
}

.cc-tool--options h3 {
  font-size: 22px !important;
  color: rgb(68, 68, 68);
  font-weight: bold;
}

.cc-tool--option h3 {
  font-size: 17px !important;
  color: rgb(68, 68, 68);
  font-weight: bold;
}

.cc-tool--options {
  flex-grow: 1;
}

.cc-tool--buttons.cc-tool--buttons {
  margin-top: auto;
  display: flex;
  text-align: right;
  padding-top: 0;
  padding-bottom: 3vh;
}

.cc-tool--buttons button {
  border: none;
  cursor: pointer;
  border-radius: 0 !important;
}

.cc-tool--option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.cc-tool--option p {
  flex-grow: 1;
  margin: 0;
  font-size: 1rem;
}

.cc-tool--option button {
  font-size: 1px;
  color: transparent;
  border: 2px solid #000000;
  background: transparent;
  position: relative;
  height: 32px;
  width: 32px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  margin-left: 15%;
  flex-shrink: 0;
  border-radius: 0 !important;
}

.cc-tool--option button:after {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 64% auto;
}

.cc-tool--option button[data-state="yes"]:after {
  background-image: url(check-grey.svg);
}

.cc-tool--option button[data-state="no"] .cc-tool--option-yes,
.cc-tool--option button[data-state="yes"] .cc-tool--option-no {
  display: none;
}

.cc-tool--option button[disabled]:after {
  background-color: #f1f1e9;
}

.cc-option-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-grow: 1;
}

.cc-option-bar h3 {
  font-size: 16px;
  margin: 0;
}

.cc-option-bar .cc-tool--option button {
  margin-left: 6px;
}

.cc-option-bar .cc-tool--option {
  margin-bottom: 10px;
  margin-top: 10px;
}

.cc-option-bar--wrap .cc-tool--buttons {
  padding-bottom: 0;
  margin-top: 0;
}

.cc-button--save:not(:last-child),
.cc-button--details.cc-button--details {
  margin-right: 1em;
  border-bottom: none;
}

.cc-button--details {
  margin-right: auto !important;
}

.cc-option-bar--wrap .cc-option-bar {
  margin-bottom: 1em;
}

@media (max-width: 1023px) {

  .cc-tool h2,
  .cc-tool--over > div {
    padding: 2.5vh;
  }
  .cc-tool h2 {
    padding-bottom: 0;
  }
  .cc-tool--over {
    width: 95%;
  }
  .cc-tool h2 {
    font-size: 20px;
  }
  .cc-tool h3 {
    font-size: 16px;
  }
  .cc-tool p {
    font-size: 14px;
    -webkit-hyphens: auto;
    hyphens: auto;
    line-height: 1.3;
  }
  .cc-tool--option {
    margin-bottom: 16px;
  }
  .cc-tool--option:last-child {
    margin-bottom: 0;
  }
  .cc-tool--options h3 {
    font-size: 16px !important;
  }
  .cc-tool--buttons {
    flex-wrap: wrap;
  }
}

@supports (display: grid) {
  .cc-option-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 48px;
  }
  .cc-option-bar .cc-tool--option button {
    margin-left: auto;
  }

  @media (max-width: 360px) {
    .cc-option-bar {
      grid-template-columns: 1fr;
    }
  }
  @media (min-width: 768px) {
    .cc-option-bar {
      grid-template-columns: 1fr 1fr 1fr;
    }
  }
}

@media (max-width: 536px) {
  .cc-tool--buttons button,
  .cookie-consent--dismiss {
    font-size: 14px !important;
    padding: 8px;
  }
  .cc-tool .cc-button--details {
    font-size: 15px !important;
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
  }
  .cc-tool--option button {
    margin-left: 4%;
  }
}
