.mm-page:has(.custom-cookie-modal) {
    z-index: 999;
}

#__cookieWrapper .modal {
  opacity: 1!important
}
#__cookieWrapper.custom-cookie .__cookieNotice .__cookieNoticeBody {
  padding: var(--sm-2);
  background: var(--primary-5)
}
#__cookieWrapper .custom-cookie-in {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  max-width: 100rem;
  margin: auto
}
#__cookieWrapper .custom-cookie-in div {
  padding: 0
}
#__cookieWrapper .custom-cookie-in p {
  font-size: var(--body-s-font-size);
  line-height: var(--body-s-line-height);
  font-weight: var(--body-s-weight);
  letter-spacing: var(--body-s-letter-spacing);
  margin-bottom: var(--sm-2);
  text-align: center;
}
#__cookieWrapper .custom-cookie-in p {
  text-decoration: none;
}

#__cookieWrapper .custom-cookie-in a {
  text-decoration: underline;  
}

#__cookieWrapper .custom-cookie-in p a:hover {
  text-decoration: underline;
}
#__cookieWrapper .custom-cookie-in p a:focus-visible {
/*   outline: solid 2px var(--base-5);
   */
  border-radius: var(--radius-xxl);
  border: 2px solid var(--light-75);
  outline: 0;
  text-decoration-line: underline;
}
#__cookieWrapper .cookie-btn {
  width: 100%;
  gap: var(--sm-3)
}
#__cookieWrapper.custom-cookie .ccBtn {
  margin: 0;
  border-radius: 0;
  padding: var(--sm-4) var(--sm-2);
  font-size: var(--button-font-size);
  line-height: var(--button-line-height);
  font-weight: var(--button-weight);
  letter-spacing: var(--button-letter-spacing);
  -webkit-box-shadow: none;
  box-shadow: none;
  text-transform: uppercase;
  border-radius: var(--radius-xxl)
}
#__cookieWrapper.custom-cookie #cc-acceptAll-btn {
  background: transparent;
  color: var(--base-5);
  box-shadow: inset 0 0 0 1px var(--light-50);
}
#__cookieWrapper.custom-cookie #cc-acceptAll-btn:hover {
  background: var(--light-25);
  box-shadow: inset 0 0 0 1px var(--light-25);
}
#__cookieWrapper.custom-cookie #cc-acceptAll-btn:focus-visible {
/*   background: var(--base-5);
  color: var(--base-1);
  -webkit-box-shadow: inset 0 0 0 2px var(--primary-3);
  box-shadow: inset 0 0 0 2px var(--primary-3); */
background-color: var(--primary-5);
  -webkit-box-shadow: inset 0 0 0 2px var(--primary-3);
  box-shadow: inset 0 0 0 2px var(--primary-4);
  outline: 0;
  color: var(--base-5)
  
  
}
#__cookieWrapper.custom-cookie #cc-reject-Btn {
  background: transparent;
  color: var(--base-5);
  box-shadow: inset 0 0 0 1px var(--light-50);
}
#__cookieWrapper.custom-cookie #cc-reject-Btn:hover {
  background-color: var(--light-25);
  box-shadow: inset 0 0 0 1px var(--light-25);
}
#__cookieWrapper.custom-cookie #cc-reject-Btn:focus-visible {
/*   background-color: var(--base-5);
  -webkit-box-shadow: inset 0 0 0 2px var(--primary-3);
  box-shadow: inset 0 0 0 2px var(--primary-3);
  outline: 0;
  color: var(--base-1); */
  background-color: var(--primary-5);
  -webkit-box-shadow: inset 0 0 0 2px var(--primary-3);
  box-shadow: inset 0 0 0 2px var(--primary-4);
  outline: 0;
  color: var(--base-5)
}
#__cookieWrapper.custom-cookie #cc-CookieSettingPreference {
  background-color: transparent;
  -webkit-box-shadow: inset 0 0 0 1px var(--light-50);
  box-shadow: inset 0 0 0 1px var(--light-50);
  color: var(--base-5)
}
#__cookieWrapper.custom-cookie #cc-CookieSettingPreference:hover {
  background-color: var(--light-25);
  box-shadow: inset 0 0 0 1px var(--light-25);
}
#__cookieWrapper.custom-cookie #cc-CookieSettingPreference:focus-visible {
/*   background-color: var(--base-5);
  -webkit-box-shadow: inset 0 0 0 2px var(--primary-3);
  box-shadow: inset 0 0 0 2px var(--primary-3);
  outline: 0; */
  background-color: var(--primary-5);
  -webkit-box-shadow: inset 0 0 0 2px var(--primary-3);
  box-shadow: inset 0 0 0 2px var(--primary-4);
  outline: 0;
  color: var(--base-5)

}
.custom-cookie-modal .modal-content {
  padding: var(--md-2) !important;
/*   background-color: var(--base-4) */
  background-color: var(--primary-7);
      width: 85% !important;

}

.custom-cookie-modal .modal-title {
  font-size: var(--headline-l-font-size);
  line-height: var(--headline-l-line-height);
  letter-spacing: var(--headline-l-letter-spacing);
  font-weight: var(--headline-l-weight);
  color: var(--primary-1)!important
}
.custom-cookie-modal .close {
  margin: 0;
  padding: 0;
  top: 0;
  font-size: 4rem;
  line-height: 4rem;
  width: 2.4rem;
  font-weight: 400;
  color: var(--primary-1);
  right: 0
}

.custom-cookie-modal .close:focus-visible {
	outline:none;
    border:1px solid var(--base-1);
}
.custom-cookie-modal .modal-body h4 {
  font-size: var(--headline-s-font-size);
  line-height: var(--headline-s-line-height);
  letter-spacing: var(--headline-s-letter-spacing);
  font-weight: var(--headline-s-weight);
  padding: var(--sm-4) 0 var(--xs-2);
  margin-bottom: var(--sm-3);
  border-bottom: 0;
  color:var(--primary-1)!important;
}
.custom-cookie-modal .modal-body p {
  font-size: var(--body-xs-font-size);
  line-height: var(--body-xs-line-height);
  font-weight: var(--body-xs-weight);
  letter-spacing: var(--body-xs-letter-spacing);
  padding-bottom: 0!important;
  margin-bottom: var(--sm-2)!important;
  color:var(--base-2)!important;
}


.custom-cookie-modal .modal-body p:last-child {
  margin-bottom: 0!important
}
.custom-cookie-modal .modal-footer {
  gap: var(--sm-4)
}
.custom-cookie-modal .modal-footer .btn {
  margin: 0;
  border-radius: 0;
  border: none;
  padding: var(--sm-4) var(--sm-2);
  font-size: var(--button-font-size);
  line-height: var(--button-line-height);
  font-weight: var(--button-weight);
  letter-spacing: var(--button-letter-spacing);
  width: 100%;
  text-transform: uppercase;
  border-radius: var(--radius-xxl)
}
.custom-cookie-modal .modal-footer #cc-acceptAll-btn-modal {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
  background-color: var(--primary-5);
  color: var(--base-5);
}
.custom-cookie-modal .modal-footer #cc-acceptAll-btn-modal:hover {
  background-color: var(--primary-9)
}
.custom-cookie-modal .modal-footer #cc-acceptAll-btn-modal:focus-visible {
  background-color: var(--primary-5);
  -webkit-box-shadow: inset 0 0 0 2px var(--primary-4);
  box-shadow: inset 0 0 0 2px var(--primary-4);
  outline: 0
}
.custom-cookie-modal .modal-footer #cc-reject-Btn-modal {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  background-color: var(--primary-5);
  color: var(--base-5);
}
.custom-cookie-modal .modal-footer #cc-reject-Btn-modal:hover {
  background-color: var(--primary-9);
}
.custom-cookie-modal .modal-footer #cc-reject-Btn-modal:focus-visible {
  -webkit-box-shadow: inset 0 0 0 2px var(--primary-4);
  box-shadow: inset 0 0 0 2px var(--primary-4);
  outline: 0
}
.custom-cookie-modal .modal-footer #cc-cookieAgree {
  -webkit-box-ordinal-group: 1;
  -ms-flex-order: 0;
  order: 0;
  background-color: var(--primary-5);
  color: var(--base-5);
}
.custom-cookie-modal .modal-footer #cc-cookieAgree:hover {
  background-color: var(--primary-9)
}
.custom-cookie-modal .modal-footer #cc-cookieAgree:focus-visible {
  background-color: var(--primary-5);
  -webkit-box-shadow: inset 0 0 0 2px var(--primary-4);
  box-shadow: inset 0 0 0 2px var(--primary-4);
  outline: 0
}

.custom-cookie-modal .switch input[type=checkbox]+label::after{
  background-color: var(--primary-1) ;
}
.custom-cookie-modal .switch input[type=checkbox]:checked+label::before{
  background-color: var(--primary-1);
}
.custom-cookie-modal .switch input[type=checkbox]+label::before{
  border: 2px solid var(--primary-1);
}

.custom-cookie-modal .switch input[type=checkbox]:disabled+label::before{
  background-color: #a4a4a4;
  border-color: #a4a4a4;
}
.custom-cookie-modal .switch input[type=checkbox]:disabled+label::after{
  background-color: #fff;
}

@media only screen and (min-width:992px){
	.__cookieWrapper .modal-content{max-height: 80vh;overflow-x: auto;}
}

@media (min-width:768px) {
  #__cookieWrapper .cookie-btn {
    width: auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row
  }
  .custom-cookie-modal .modal-footer .btn {
    width: auto
  }
}

@media only screen and (max-width: 992px) {
    .custom-cookie .custom-cookie-modal .modal-dialog {
        overflow-x: auto;
        height: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .__cookieWrapper .modal-content {
        height: 80vh;
        overflow: auto;
    }
}

