/**
 * OneTrust consent banner styles (ported from AF2020 theme).
 */

#onetrust-consent-sdk *:focus {
  outline: none;
}

#onetrust-consent-sdk h2#onetrust-policy-title {
  font-size: 24px;
  line-height: 32px;
  color: #000744;
}

#onetrust-consent-sdk #onetrust-policy-text a {
  margin-left: 0 !important;
}

#onetrust-consent-sdk #onetrust-banner-sdk {
  border-radius: 16px;
  max-width: 380px;
  font-size: 16px;
  line-height: 24px;
}

#onetrust-consent-sdk #onetrust-banner-sdk:focus {
  outline: none;
}

#onetrust-consent-sdk #onetrust-banner-sdk.otFlat {
  bottom: 30px !important;
  left: 30px !important;
  right: 30px !important;
}

#onetrust-consent-sdk #onetrust-banner-sdk.otFlat:not(.ot-iab-2) #onetrust-group-container {
  width: 100%;
  padding-bottom: 20px;
  padding-right: 20px;
}

#onetrust-consent-sdk #onetrust-banner-sdk.otFlat #onetrust-close-btn-container {
  position: absolute;
  top: 30px;
  right: 0;
}

#onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title {
  max-width: 500px;
}

#onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-button-group {
  margin-top: 0;
  padding-bottom: 20px;
  padding-left: 5px;
}

#onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-button-group #onetrust-accept-btn-handler {
  flex: unset;
}

#onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-button-group #onetrust-pc-btn-handler,
#onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title:not(.ot-iab-2).vertical-align-content #onetrust-button-group-parent {
  position: relative;
  left: unset;
  bottom: unset;
  width: unset;
  transform: unset;
  min-width: unset;
}

#onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-button-group #onetrust-pc-btn-handler {
  margin-right: 15px;
}

#onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-button-group #onetrust-reject-all-handler,
#onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-button-group #onetrust-accept-btn-handler {
  flex: 1 1 auto;
  order: unset;
  margin-bottom: 0;
}

#onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-accept-btn-handler,
#onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-reject-all-handler {
  margin: 0 15px 0 0;
}

#onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-pc-btn-handler {
  margin-right: 15px;
}

@media (min-width: 1025px) {
  #onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title.ot-buttons-fw:not(.ot-iab-2) #onetrust-button-group-parent,
  #onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title:not(.ot-iab-2) #onetrust-button-group button {
    width: unset;
  }
}

@media (min-width: 1280px) {
  #onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-policy {
    margin-left: 18px;
    padding-right: 20px;
  }
}

@media (max-width: 575.98px) {
  #onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-button-group {
    flex-direction: column;
  }

  #onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-button-group #onetrust-pc-btn-handler,
  #onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-button-group #onetrust-accept-btn-handler,
  #onetrust-consent-sdk #onetrust-banner-sdk.otFlat.bottom.ot-wo-title #onetrust-button-group #onetrust-reject-all-handler {
    margin: 0 0 15px 0 !important;
    width: 100%;
  }
}

#onetrust-consent-sdk #onetrust-button-group {
  display: flex;
}

#onetrust-consent-sdk #onetrust-button-group .banner-actions-container {
  position: relative;
  float: none;
  display: flex;
  flex-flow: row wrap;
  max-width: unset;
  margin-bottom: 8px;
}

#onetrust-consent-sdk #onetrust-button-group button {
  outline: none !important;
  position: relative;
  border-radius: 8px;
  color: white;
  font-weight: 500 !important;
  transition: all 0.2s ease;
  background-color: transparent;
  box-shadow: none;
  z-index: 1;
}

#onetrust-consent-sdk #onetrust-button-group button:hover {
  opacity: 1 !important;
  text-decoration: none;
  box-shadow: none;
  background-color: transparent;
  border-color: #220d4e;
  outline: none;
}

#onetrust-consent-sdk #onetrust-button-group button::before,
#onetrust-consent-sdk #onetrust-button-group button::after {
  display: block;
  content: '';
  position: absolute;
  transition: all 0.15s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  transform: translate(0, 0);
  top: -2px;
  left: -2px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border-radius: 8px;
}

#onetrust-consent-sdk #onetrust-button-group button::before {
  z-index: -1;
  border: 2px solid #000744;
  background-color: #220d4e;
}

#onetrust-consent-sdk #onetrust-button-group button::after {
  transition: width 0.15s 0s cubic-bezier(0.3, 0.34, 0.85, 0.96), height 0.2s 0s cubic-bezier(0.3, 0.34, 0.85, 0.96), border-color 0.1s 0.1s ease;
  border: 2px solid #000744;
  background-color: #ffffff;
  z-index: -2;
}

#onetrust-consent-sdk #onetrust-button-group button:hover::after {
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translate(5px, 5px);
}

#onetrust-consent-sdk #onetrust-button-group #onetrust-reject-all-handler {
  order: 1;
  width: calc(50% - 6px);
}

#onetrust-consent-sdk #onetrust-button-group #onetrust-accept-btn-handler {
  flex: 0 0 100%;
  order: 0;
  background-color: #9b6bff;
  margin-bottom: 16px;
}

#onetrust-consent-sdk #onetrust-button-group #onetrust-accept-btn-handler::before {
  z-index: -1;
  border: 2px solid #9b6bff;
  background-color: #9b6bff;
}

#onetrust-consent-sdk #onetrust-button-group #onetrust-accept-btn-handler:hover::after {
  border-color: #9b6bff;
}

#onetrust-consent-sdk #onetrust-button-group #onetrust-pc-btn-handler {
  position: absolute;
  bottom: 34px;
  margin: 0;
  width: calc(50% - 34px);
  border: none;
  max-width: unset;
  left: calc(50% + 12px);
}

@media (min-width: 576px) {
  #onetrust-consent-sdk #onetrust-button-group #onetrust-pc-btn-handler {
    width: calc(50% - 42px);
  }
}

#onetrust-banner-sdk {
  border-radius: 16px !important;
}
