:root {
  --gdpr-dialog-background: #c1262c;
  --gdpr-text-color: white;
  --gdpr-toggle-background-color-off: #cccccc;
  --gdpr-toggle-background-color-on: black;
  --gdpr-toggle-slider-color: white;
  --gdpr-button-border-color: white;
  --gdpr-button-text-color: white;
  --gdpr-cookie-accept: black;
  --gdpr-cookie-reject: #c1262c;
  --gdpr-cookie-advanced: transparent;
}

/* Cookie Dialog */
#cookies-dialog {
  position: fixed;
  bottom: 15px;
  width: calc(100% - 70px);
  max-width: 520px;
  background-color: var(--gdpr-dialog-background);
  padding: 20px;
  z-index: 999999;
  /*  border-radius: 5px; */
  overflow-y: auto;
  max-height: calc(100vh - 70px);
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
  animation-duration: 1s;
  border-radius: 15px;
  animation-fill-mode: forwards;
}
#cookies-dialog.center {
  left: 50%;
  transform: translateX(-50%);
  animation: slideUpCenter;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
#cookies-dialog.left {
  width: calc(100% - 30px);
  left: 15px;
  animation: slideUpSides;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
#cookies-dialog.right {
  width: calc(100% - 30px);
  right: 15px;
  animation: slideUpSides;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
#cookies-dialog .h4 {
  color: var(--gdpr-text-color);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
#cookies-dialog p,
#cookies-dialog ul {
  color: var(--gdpr-text-color);
  font-size: 15px;
  line-height: 1.5em;
  margin-bottom: 10px;
  padding-left: 0px;
}
#cookies-dialog p:last-child {
  margin-bottom: 0;
  text-align: right;
}
#cookies-dialog a {
  color: var(--gdpr-text-color);
  text-decoration: underline;
  font-size: 15px;
  transition: all 0.3s ease-in;
}
#cookies-dialog a:hover {
  color: var(--gdpr-text-color);
}
#cookies-dialog li {
  width: 100%;
  display: block;
}
#cookies-dialog button {
  border: 1px solid var(--gdpr-button-border-color);
  background: white;
  color: var(--gdpr-button-text-color);
  font-size: 15px;
  padding: 14px 20px;
  margin-left: 15px;
  border-radius: 35px;
  margin-top: 15px;
  cursor: pointer;
  transition: all 0.3s ease-in;
}
#cookies-dialog button:hover {
  opacity: 0.8;
}
#cookies-dialog button:disabled {
  opacity: 0.3;
}
#cookies-dialog #gdpr-cookie-accept,
#cookies-dialog #gdpr-cookie-accept-selected {
  background-color: var(--gdpr-cookie-accept);
  border-color: var(--gdpr-cookie-accept);
}
#cookies-dialog #gdpr-cookie-reject {
  background-color: var(--gdpr-cookie-reject);
}
#cookies-dialog #gdpr-cookie-advanced {
  background-color: var(--gdpr-cookie-advanced);
  color: white;
}
#cookies-dialog #gdpr-cookie-types .h5 {
  color: var(--gdpr-text-color);
  margin-bottom: 15px;
  display: block;
  font-size: 15px;
  font-weight: 700;
}
#cookies-dialog .switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
#cookies-dialog .switch input {
  opacity: 0;
  width: 36px;
  height: 20px;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 2;
  cursor: pointer;
}
#cookies-dialog .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gdpr-toggle-background-color-off);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}
#cookies-dialog .slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--gdpr-toggle-slider-color);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}
#cookies-dialog input:disabled + .slider {
  opacity: 0.5;
}
#cookies-dialog input:checked + .slider {
  background-color: var(--gdpr-toggle-background-color-on);
}
#cookies-dialog input:focus + .slider {
  box-shadow: 0 0 1px var(--gdpr-toggle-background-color-on);
}
#cookies-dialog input:checked + .slider:before {
  transform: translateX(17px);
}
#cookies-dialog li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 10px;
}
#cookies-dialog label {
  display: block;
  max-width: unset;
}
#cookies-dialog .checkbox-label {
  margin-left: 10px;
}
#cookies-dialog .description {
  margin-top: 5px;
  width: 100%;
}

@keyframes slideUpCenter {
  from {
    transform: translate(-50%, 100%);
  }
  to {
    transform: translate(-50%, 0%);
  }
}
@keyframes slideUpSides {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0%);
  }
}
