.cookie-consent {
  font-family: "Montserrat", sans-serif;
  /* scrollbar-color: $cookie-consent-dark transparent;
  scrollbar-width: thin; */
  /* &::-webkit-scrollbar-track {
      margin: 3px 0;
      background-color: transparent;
  }

  &::-webkit-scrollbar {
      width: 12px;
  }

  &::-webkit-scrollbar-thumb {
      background-color: $cookie-consent-dark;
      border: 3px solid transparent;
      border-top: 0; border-bottom: 0;
      background-clip: padding-box;
  } */
  background: #FFFFFF;
  bottom: 0;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.16);
  color: #2C3B4C;
  left: 0;
  max-height: 100%;
  overflow-y: auto;
  overflow: hidden;
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
  position: fixed;
  right: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.5s, opacity 0.5s, visibility 0.5s;
  z-index: 1000;
}
@media (min-width: 40em) {
  .cookie-consent {
    bottom: 25px;
    left: auto;
    max-height: calc(100% - 50px);
    max-width: 400px;
    right: 25px;
  }
}

.cookie-consent[aria-hidden=true] {
  opacity: 0;
  pointer-events: none;
  transform: translate(0, 100px);
  visibility: hidden;
}
@media (min-width: 40em) {
  .cookie-consent[aria-hidden=true] {
    transform: translate(100px, 0);
  }
}

/**
 * Header
 */
.cookie-consent__header {
  font-size: 14px;
  line-height: 1.42857143;
  padding: 20px 25px;
}

.cookie-consent__header h1 {
  border: 0;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 auto 0.5em;
  padding: 0;
}
@media (min-width: 40em) {
  .cookie-consent__header h1 {
    font-size: 24px;
  }
}

.cookie-consent__header p:last-child {
  margin-bottom: 0;
}

.cookie-consent__header a {
  color: #DA1E39;
  text-decoration: none;
}
.cookie-consent__header a:hover {
  color: #e95c70;
  text-decoration: none;
}

/**
 * Tabs
 */
.cookie-consent__tab-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.cookie-consent__tab-list li {
  border-top: 1px solid rgba(44, 59, 76, 0.1);
  margin: 0;
}

.cookie-consent__tab {
  align-items: stretch;
  display: flex;
}

/**
 * Tab option (label with input in it) & tab toggle
 */
.cookie-consent__option {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  font-size: 16px;
  line-height: 1.25;
  padding: 15px 25px 17px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.cookie-consent__option input {
  margin-right: 17px;
}

.cookie-consent__option:not([data-required=true]):hover {
  background: rgba(44, 59, 76, 0.05);
}

.cookie-consent__tab-toggle {
  background: #EDEEEF;
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  min-height: 55px;
  padding: 10px;
  position: relative;
  width: 55px;
}

.cookie-consent__tab-toggle:hover {
  background: rgba(44, 59, 76, 0.2);
}

.cookie-consent__tab-toggle > svg {
  fill: #2C3B4C;
  height: 11px;
  left: 50%;
  margin-left: -9px;
  margin-top: -6px;
  position: absolute;
  top: 50%;
  width: 18px;
}

.cookie-consent__tab-toggle[aria-expanded=true] > svg {
  transform: scaleY(-1);
}

/**
 * Tab panel (with description)
 */
.cookie-consent__tab-panel {
  overflow: hidden;
  position: relative;
  transition: all 0.35s;
}

.cookie-consent__tab-panel[aria-hidden=true] {
  display: none;
}

.cookie-consent__tab-description {
  background: rgba(44, 59, 76, 0.05);
  font-size: 15px;
  line-height: 1.3;
  padding: 20px 25px;
}

.cookie-consent__tab-description::after {
  border-bottom: 0;
  border-top-color: #FFFFFF;
  border: 8px solid transparent;
  content: "";
  height: 0;
  left: 25px;
  position: absolute;
  top: 0;
  width: 0;
}

/**
 * Button
 */
.cookie-consent__button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #DA1E39;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.1;
  min-height: 54px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus {
  background: rgba(218, 30, 57, 0.9);
}

.cookie-consent__button--inverse {
  background: #fff;
  color: #DA1E39;
  border: 1px solid #DA1E39;
}
.cookie-consent__button--inverse:hover {
  background: #fff;
  border: 1px solid #DA1E39;
  color: #DA1E39;
}

.cookie-consent form .cookie-consent__button + .cookie-consent__button {
  margin-top: 10px;
}

.checkbox-fancy {
  cursor: pointer;
  display: block;
  font-weight: normal;
  font-size: 16px;
  padding-left: 35px;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox-fancy input {
  cursor: pointer;
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}

.checkbox-fancy__check {
  background-color: #DA1E39;
  border-radius: 2px;
  height: 17px;
  left: 0;
  position: absolute;
  top: 0;
  width: 17px;
}

.checkbox-fancy input:checked ~ .checkbox-fancy__check {
  background-color: #DA1E39;
}

.checkbox-fancy input[disabled]:checked ~ .checkbox-fancy__check {
  background-color: #C9CED3;
}

.checkbox-fancy__check:after {
  content: "";
  display: none;
  position: absolute;
}

.checkbox-fancy input:checked ~ .checkbox-fancy__check:after {
  display: block;
}

.checkbox-fancy .checkbox-fancy__check:after {
  border: solid white;
  border-width: 0 3px 3px 0;
  height: 9px;
  left: 5px;
  top: 1px;
  transform: rotate(40deg);
  width: 4px;
}
