/*
 * Piwik PRO – https://piwikpro.github.io/ConsentManager-CustomConsentFormExample/
*/
:root {
    --sm: 640px;
    --md: 768px;
    --lg: 1024px;
    --xl: 1280px;
    --2xl: 1536px;
}

.module_CustomConsentManager.PiwikPROConsentForm-hidden,
.module_CustomConsentManager .PiwikPROConsentForm-hidden {
  display: none;
}

.module_CustomConsentManager.PiwikPROConsentForm-container {
  color: #000;
  z-index: 999;
  position: relative;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content {
  display: flex;
  flex-direction: column;
  border: 1px dashed #cccccc;
  position: fixed;
  left: 0;
  bottom: 0;
  padding: 10px 25px 10px 25px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #FFFFFF;
  box-shadow: 0 0 10px;
  max-height: 80vh;
  overflow: auto;
  font-size: 1rem;
}

@media (max-width: var(--lg)) {
  .module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content {
    padding: 10px;
  }
}

@media screen and (max-width: var(--lg)) and (orientation: landscape) {
  .module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content {
    max-height: 100vh;
  }
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-top {
  display: flex;
  margin-bottom: 10px;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-top .PiwikPROConsentForm-header {
  font-weight: bold;
  font-size: 22px;
  flex-grow: 1;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle {
  flex-grow: 1;
  overflow: auto;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle p {
  text-align: justify;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle p a {
  color: var(--color-yellow-500);
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle p a:hover {
  color: var(--color-yellow-800);
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consent-types {
  display: block;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consent-types ul {
  margin: 10px 0 10px -10px;
  display: flex;
  flex-wrap: wrap;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consent-types ul li {
  padding: 0;
  margin: 0 30px 0 0;
  list-style: initial;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents {
  border: 1px solid #ccc;
  margin: 10px 0;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item {
  padding: 5px;
  display: flex;
  align-items: flex-start;
  /*------ ADDED CSS ---------*/
  /*--------- END --------*/
  /* Rounded sliders */
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item input[type="checkbox"] {
  display: none;
}

@media (max-width: var(--lg)) {
  .module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .PiwikPROConsentForm-consent-type {
    width: 80%;
  }
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .PiwikPROConsentForm-consent-type[for="PiwikPROConsentForm-consent-type-required_cookies"] {
  margin-left: 100px;
}

@media (max-width: var(--lg)) {
  .module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .PiwikPROConsentForm-consent-type[for="PiwikPROConsentForm-consent-type-required_cookies"] {
    margin-left: 0;
    width: 100%;
  }
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .PiwikPROConsentForm-consent-item-type {
  font-weight: bold;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .switch {
  position: relative;
  display: flex;
  width: 90px;
  height: 34px;
  margin-right: 10px;
  margin-top: 10px;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .switch input {
  display: none;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ca2222;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item input:checked+.slider {
  background-color: #2ab934;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item input:checked+.slider:before {
  -webkit-transform: translateX(55px);
  -ms-transform: translateX(55px);
  transform: translateX(55px);
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .on {
  display: none;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .on,
.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .off {
  color: white;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  font-size: 10px;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item input:checked+.slider .on {
  display: block;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item input:checked+.slider .off {
  display: none;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .slider.round {
  border-radius: 34px;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-middle .PiwikPROConsentForm-consents .PiwikPROConsentForm-consent-item .slider.round:before {
  border-radius: 50%;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-bottom .PiwikPROConsentForm-buttons {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

@media screen and (max-width: var(--lg)) and (orientation: landscape) {
  .module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-bottom .PiwikPROConsentForm-buttons {
    justify-content: center;
  }
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-bottom .PiwikPROConsentForm-buttons button {
  margin: 8px;
  cursor: pointer;
  border-radius: 2px;
  padding: 7px;
  font-size: 14px;
  line-height: 17px;
  min-width: 130px;
}

@media (max-width: var(--lg)) {
  .module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-bottom .PiwikPROConsentForm-buttons button {
    width: 100%;
    margin-bottom: 0;
  }
}

@media screen and (max-width: var(--lg)) and (orientation: landscape) {
  .module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-bottom .PiwikPROConsentForm-buttons button {
    width: 30%;
  }
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-bottom .PiwikPROConsentForm-buttons .PiwikPROConsentForm-save {
  color: #131313;
  border: 1px solid #cccccc;
  background-color: #eeeeee;
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-bottom .PiwikPROConsentForm-buttons .PiwikPROConsentForm-agree-to-all {
  color: #131313;
  border: 1px solid var(--color-yellow-500);
  background-color: var(--color-yellow-500);
}

.module_CustomConsentManager.PiwikPROConsentForm-container .PiwikPROConsentForm-content .PiwikPROConsentForm-row-bottom .PiwikPROConsentForm-buttons .PiwikPROConsentForm-reject-all {
  color: #131313;
  border: 1px solid var(--color-yellow-500);
  background-color: var(--color-yellow-500);
}