#qc-cmp2-ui,
#qc-cmp2-ui::before,
#qc-cmp2-ui::after,
#qc-cmp2-ui .qc-cmp2-footer::before,
#qc-cmp2-ui .qc-cmp2-footer {
  background: #222;
  background-image: none;
}

#qc-cmp2-ui {
  padding: 15px !important;
  max-height: 100%;
  overflow-y: auto;
}

#qc-cmp2-ui * {
  color: #fff;
}

#qc-cmp2-ui h2 {
  font-size: 24px;
  margin-bottom: 10px !important;
}

#qc-cmp2-ui p {
  color: #fff !important;
  text-align: justify;
  max-height: none !important;
}

#qc-cmp2-ui p button[mode=link]{
  font-weight: bold;
}

#qc-cmp2-ui .qc-cmp2-summary-section,
#qc-cmp2-ui .qc-cmp2-consent-info {
  padding: 0px !important;
  width: auto !important;
  display: block !important;
}

#qc-cmp2-ui .qc-cmp2-scrollable-section .qc-cmp2-list-item-title {
  margin-right: 10px;
}

#qc-cmp2-ui .qc-cmp2-summary-section img,
#qc-cmp2-ui .qc-cmp2-publisher-logo-container img {
  display: none;
}

#qc-cmp2-ui .qc-cmp2-footer  {
  border: none;
  margin-top: 15px;
}

#qc-cmp2-ui .qc-cmp2-footer button {
  margin: 0px 5px 15px 5px !important;
  display: -webkit-box;
}

#qc-cmp2-ui .qc-cmp2-footer .qc-cmp2-summary-buttons {
  align-items: center;
}

#qc-cmp2-ui .qc-cmp2-footer .qc-cmp2-summary-buttons button {
  font-size: 14px;
  padding: 0px;
}

#qc-cmp2-ui .qc-cmp2-footer button[mode=primary] {
  background-color: #f1d600;
  border: 2px solid #f1d600;
  color: #000;
  font-weight: 600;
}

#qc-cmp2-ui .qc-cmp2-footer button[mode=primary]:hover {
  background-color: #222;
  color: #fff;
}

#qc-cmp2-ui .qc-cmp2-footer button[mode=secondary] {
  background-color: #222;
  border: 2px solid #002c70;
  color: #fff;
  font-weight: 600;
}

#qc-cmp2-ui .qc-cmp2-footer button[mode=secondary]:hover {
  background-color: #002c70;
}

#qc-cmp2-ui .qc-cmp2-publisher-logo-container .qc-cmp2-home-button {
  position: relative;
  margin-bottom: 10px;
}

#qc-cmp2-ui .qc-cmp2-close-icon {
  display: none;
}

@media screen and (min-width: 768px) {
  #qc-cmp2-ui {
    max-width: 100% !important;
  }

  #qc-cmp2-ui .qc-cmp2-summary-section {
    margin-right: 40px;
    -webkit-flex: 1;
    flex: 1;
  }

  #qc-cmp2-ui .qc-cmp2-footer {
    width: auto !important;
  }

  #qc-cmp2-ui .qc-cmp2-footer .qc-cmp2-summary-buttons {
    margin-right: 15px;
    width: 315px;
  }

  #qc-cmp2-ui .qc-cmp2-footer .qc-cmp2-summary-buttons button {
    height: 55px;
  }

  #qc-cmp2-ui .qc-cmp2-footer button.qc-cmp2-hide-desktop {
    display: none !important;
  }

  #qc-cmp2-ui .qc-cmp2-summary-section h2 {
    width: 100%;
  }

  #qc-cmp2-ui .toggle {
    width: 25px !important;
  }
}

@media screen and (max-width: 767px) {
  #qc-cmp2-ui {
    height: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    display: block !important;
  }

  #qc-cmp2-ui > div:nth-last-child(2) {
    padding-bottom: 200px !important;
  }

  #qc-cmp2-ui .qc-cmp2-summary-section h2 {
    text-align: center;
  }

  #qc-cmp2-ui .qc-cmp2-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 20px 15px 0px 15px !important;
    width: 100%;
  }

  #qc-cmp2-ui .qc-cmp2-footer button {
    max-width: 280px;
  }

  #qc-cmp2-ui .qc-cmp2-footer .qc-cmp2-summary-buttons button {
    width: 100% !important;
  }

  #qc-cmp2-ui .toggle {
    width: 18px !important;
  }
}
