.dp-cookie-overlay {
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    background-color: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}

.cc-window {
    bottom: auto !important;
    right: auto !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;
    max-width: 840px !important;
    background-color: #fff !important;
    color: #58595c !important;
    font-family: yantramanavregular,serif !important;
    padding: 20px 20px 80px 20px !important
}

.cc-window a {
    color: #58595c !important;
}

.cc-message {
    margin: 0 !important;
    font-size: 18px !important;
    padding: 0 !important;
}

body.dp--cookie-consent {
    position: relative;
    overflow: hidden;
}

body.dp--cookie-consent .dp-cookie-overlay {
    display: block;
}

a.cc-btn {
    display: inline-block !important;
    border: none !important;
    margin: 0 !important;
    border-radius: 5px !important;
    margin-top: 30px !important;
    font-size: 1.125rem !important;
    padding: 11px 30px 12px 30px !important;
    color: #58595c !important;
    background-color: #ededed !important;
    width: 100%;
    max-width: 60% !important;
}

a.cc-btn:hover {
    text-decoration: none !important;
}

a.cc-dismiss {
    background-color: #e45900 !important;
    color: #fff !important;
}

.cc-compliance {
    flex-direction: column !important;
}

.cookie-links-wrapper {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.cookie-links-wrapper a {
    margin: 0 3px;
}

/* The container */
.checkbox-styled {
  display: block !important;
  position: relative !important;
  padding: 0 !important;
  padding-left: 35px !important;
  margin-bottom: 12px !important;
  cursor: pointer !important;
  font-size: 22px !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Hide the browser's default checkbox */
.checkbox-styled input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 23px;
  width: 23px;
  border: 1px solid #aeaeae;
  background-color: #fff;
  border-radius: 2px;
}

/* On mouse-over, add a grey background color */
.checkbox-styled:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-styled input:checked ~ .checkmark {
  background-color: #aeaeae;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-styled input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-styled .checkmark:after {
  left: 7px;
  top: 3px;
  width: 7px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.dp--cookie-check {
    justify-content: start !important;
}

.dp--cookie-check label:first-child {
    margin-right: 50px !important;
}

.videoelement-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
  z-index: 2;
}

.dp--overlay {
  height: 100%;
}

.dp--overlay-button {
  margin-top: 0 !important;
}

.db--overlay-submit {
  display: inline-block !important;
  border: none !important;
  margin: 0 !important;
  border-radius: 5px !important;
  margin-top: 30px !important;
  font-size: 1.125rem !important;
  padding: 11px 13px 12px 19px !important;
  width: 100%;
  max-width: 80% !important;
  font-family: yantramanavbold,serif !important;
  cursor: pointer;
  font-weight: normal !important;
}

.dp--overlay-header {
  font-family: yantramanavbold,serif !important;
  font-size: 20px;
}

.dp--overlay-description {
  font-family: yantramanavregular,serif !important;
  font-size: 20px;
}

.cc-revoke span {
  font-family: yantramanavbold,serif !important;
}

@media (max-width: 1040px) {
  .dp--overlay-header,
  .dp--overlay-description {
    font-size: 16px;
  }

  .db--overlay-submit {
    font-size: 15px !important;
    margin-top: 15px !important;
  }
}


@media (max-width: 992px) {
  .cc-message {
    font-size: 16px !important;
  }

  .cc-window {
    padding: 25px 15px 80px !important;
    max-width: 100vw !important;
    width: 95vw;
  }

  .cookie-links-wrapper {
    width: 100%;
    text-align: center;
  }

  a.cc-btn {
    max-width: 100% !important;
  }

  .dp--overlay {
    padding: 20px 12px !important;
  }

  .db--overlay-submit {
    max-width: 95% !important;
  }
}

@media (max-width: 850px) {
  .dp--overlay-header,
  .dp--overlay-description {
    font-size: 15px;
  }

  .db--overlay-submit {
    font-size: 14px !important;
    margin-top: 14px !important;
  }
}

@media (max-width: 768px) {
  .checkbox-styled {
    font-size: 16px !important;
  }

  .cc-message .o-media-copy__headline {
    margin-bottom: 10px;
  }

  .cc-window {
    padding: 15px 10px 40px !important;
  }

  .cookie-links-wrapper {
    bottom: 10px;
  }

  a.cc-btn {
    margin-top: 10px !important;
    font-size: 14px !important;
    padding: 5px 20px 5px 20px !important;
  }

  .cc-message {
    font-size: 14px !important;
  }
}

@media (max-width: 400px) {
  .dp--overlay-header,
  .dp--overlay-description {
    font-size: 12px;
  }

  .db--overlay-submit {
    font-size: 12px !important;
    margin-top: 12px !important;
  }
}

@media (max-width: 360px) {
  .dp--overlay-header,
  .dp--overlay-description {
    font-size: 12px;
  }

  .db--overlay-submit {
    font-size: 12px !important;
    margin-top: 12px !important;
  }

  a.cc-btn {
    margin-top: 8px !important;
    font-size: 12px !important;
    padding: 3px 20px 3px 20px !important;
  }

  .cc-window p {
    font-size: 12px;
    margin: 5px 0;
  }

  .cc-message .o-media-copy__headline {
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 0;
  }

  .cookie-links-wrapper {
    bottom: 15px;
  }

  .checkbox-styled {
    margin-bottom: 3px !important;
  }
}