/* BAR */
.wCookieConsentBar-container{
  color:var(--wCookieConsent-barTextColor);
  box-sizing: border-box;
  bottom: 0;
  left: 0 !important;
  right: 0 !important;
  margin: 10px auto !important;
  width: calc(100% - 20px) !important;
  max-width: 800px;
  font-family: sans-serif;
  font-size: 14px;
  position: fixed;
  display: none;
  z-index: 100000000;
}

#wCookieConsentModal{
  display: none;
}

.wCookieConsentBar-box{
  background: var(--wCookieConsent-barBackgroundColor);
  border:1px solid var(--wCookieConsent-barBorderColor);
  padding:10px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wCookieConsentBar-text{
  flex:1;
}

.wCookieConsent-button{
  padding: 10px 20px;
  border-radius:5px;
  font-weight: bold;
  margin:0px 5px;
  cursor: pointer;
}

.wCookieConsentBar-buttonPreferences{
  margin: 10px 20px;
  border-radius:5px;
  border: 0 !important;
  text-decoration: underline;
  cursor: pointer;
  background-color: transparent;
  color:var(--wCookieConsent-barTextColor) !important;
}

.wCookieConsentBar-buttons .wCookieConsent-button{
  background-color: var(--wCookieConsent-barBtnBackgroundColor);
  border:0px solid var(--wCookieConsent-barBtnBorderColor);
  color:var(--wCookieConsent-barBtnFontColor);
}

.wCookieConsentModal-container .wCookieConsent-button{
  background-color: var(--wCookieConsent-modalBtnBackgroundColor);
  border:0px solid var(--wCookieConsent-modalBtnBorderColor);
  color:var(--wCookieConsent-modalBtnFontColor);
}

.wCookieConsent-button:hover{
  opacity: 0.8;
}

@media (max-width: 600px){
  .wCookieConsentBar-box{
    flex-direction: column;
  }

  .wCookieConsentBar-buttons{
    align-items: center;
    justify-content: center;
    display: flex;
    margin-top: 10px;
    flex-direction: column-reverse;
    width: 100%;
  }

  .wCookieConsentBar-buttons .wCookieConsent-button{
    width: 90%;
    max-width: 200px;
  }

  .wCookieConsentBar-text{
    text-align: center;
    font-size: 13px;
  }
}

/* MODAL */
.wCookieConsentModal-container{
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000000000;
  font-family: sans-serif;
}

.wCookieConsentModal-box{
  color:var(--wCookieConsent-modalTextColor);
  box-sizing: border-box;
  padding: 10px;
  background-color: var(--wCookieConsent-modalBackgroundColor);
  border-radius: 5px;
  border:1px solid var(--wCookieConsent-modalBorderColor);
  width: calc(100% - 20px) !important;
  max-width: 800px;
  height: auto;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.wCookieConsentModal-close{
  position: absolute;
  top:15px;
  right: 15px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  color:var(--wCookieConsent-btnCloseColor) !important;
}

.wCookieConsentModal-title{
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding:20px;
  color:var(--wCookieConsent-titleColor);
}

.wCookieConsentModal-subtitle{
  font-size: 12px;
  margin-top: 10px;
  padding: 10px;
  color:var(--wCookieConsent-subtitleColor)
}

.wCookieConsentModal-group{
  padding: 10px;
  border-radius: 5px;
  background-color: var(--wCookieConsent-groupBackgroundColor);
  margin:10px 0px;
}

.wCookieConsentModal-groups{
  overflow-x: auto;
  padding: 10px;
  border:1px solid var(--wCookieConsent-modalBorderColor);
  border-radius: 5px;
}

.wCookieConsentModal-groupTitle{
  font-weight: bold;
  color:var(--wCookieConsent-groupTitleColor);
}

.wCookieConsentModal-footer{
  margin-top:20px;
  display: flex;
  justify-content: center;
}

.wCookieConsentModal-buttonPreferences{
  margin: 10px 20px;
  border-radius:5px;
  border: 0 !important;
  text-decoration: underline;
  cursor: pointer;
  background-color: transparent;
  color:var(--wCookieConsent-modalTextColor) !important;
}

@media (max-width: 600px){
  .wCookieConsentModal-footer{
    flex-direction: column-reverse;
    align-items: center;
  }

  .wCookieConsent-button{
    width: 90%;
    max-width: 300px;
  }
}

.wCookieConsentModal-groupHeader{
  display: flex;
}

.wCookieConsentModal-groupCheckbox{
  margin-left: 5px;
}

.wCookieConsentModal-policy{
  text-align: center;
  margin-bottom: 10px;
}

.wCookieConsentModal-policy a{
  font-size: 14px;
  color:var(--wCookieConsent-linkColor) !important;
}

/* SLIDER CHECKBOX */
.wCookieConsentModal-switch {
  position: relative;
  display: inline-block;
  width: 47px;
  height: 20px;
}

.wCookieConsentModal-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.wCookieConsentModal-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.wCookieConsentModal-slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .wCookieConsentModal-slider {
  background-color: var(--wCookieConsent-sliderColor);
}

input:focus + .wCookieConsentModal-slider {
  box-shadow: 0 0 1px var(--wCookieConsent-sliderColor)
}

input:checked + .wCookieConsentModal-slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

#wCookieConsentContainer{
  display: block !important;
}