#mx_cookie_banner,
#mx_cookie_banner *, 
#mx_cookie_modal,
#mx_cookie_modal *, 
#mx_cookie_reset, 
#mx_cookie_reset * {
box-sizing: border-box;
}

.mx_cookie_modal_buttons .button,
.mx_cookie_banner_buttons .button {
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  line-height: 100%;
  padding: 10px 20px;
  color: #FFFFFF;
  background-color: #1DA232;
  border-radius: 24px;
  border: solid 2px #1DA232;
  cursor: pointer;
  width: auto;
  max-width: 100%;
  text-align: center;
}

.mx_cookie_modal_buttons .button:hover,
.mx_cookie_banner_buttons .button:hover { 
  background-color: #196825;
  border: solid 2px #196825;
}

.mx_cookie_modal_buttons .outline,
.mx_cookie_banner_buttons .outline {
  background-color: transparent;
  border: solid 2px #1DA232;
  color: #1DA232;
}

.mx_cookie_modal_buttons .outline:hover,
.mx_cookie_banner_buttons .outline:hover {
color:#FFFFFF;
}

/* Banner onderaan */
#mx_cookie_banner {
  position: fixed;
  bottom: -150px;
  left: 0; 
  right: 0;
  background-color: #fff;
  padding: 30px;
  border-top: 1px solid #ccc;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  transition: bottom 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#mx_cookie_banner.mx_show {
  bottom: 0;
  opacity: 1;
}

.mx_cookie_banner_description {
  width: calc(100% - 220px);
}

.mx_cookie_banner_description p:last-of-type {
padding-bottom: 0;
margin-bottom: 0;
}

.mx_cookie_banner_buttons {
  width: 220px;
  padding-left: 40px
}

.mx_cookie_banner_buttons .button {
  width: 100%;
  margin: 10px 0 0 0;
}

/* Modal overlay */
#mx_cookie_modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#mx_cookie_modal.mx_show {
  display: flex;
  opacity: 1;
}

.mx_cookie_panel {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow: auto;
}

#mx_cookie_modal.mx_show .mx_cookie_panel {
  transform: translateY(0);
}

#mx_cookie_close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding:0;
  }
#mx_cookie_close svg {
  stroke:#999;
}

.mx_cookie_toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom:15px;
}

.mx_cookie_type {
  width: calc(100% - 60px);
  line-height: 110%;
} 

.mx_cookie_toggle strong {
  display: block;
}

.mx_cookie_toggle em {
  display: block;
  font-size: 14px;
}

.mx_cookie_switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  margin-top: 5px;
}

.mx_cookie_switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.mx_cookie_slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 26px;
}

.mx_cookie_slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 2px; bottom: 2px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.mx_cookie_switch input:checked + .mx_cookie_slider {
  background-color: green;
}

.mx_cookie_switch input:checked + .mx_cookie_slider:before {
  transform: translateX(24px);
}

.mx_cookie_switch input[disabled] + .mx_cookie_slider {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

.mx_cookie_switch input[disabled] + .mx_cookie_slider:before {
  background-color: #eee;
}

.mx_cookie_modal_buttons {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding-top: 25px;
}

/* Herroepknop */
#mx_cookie_reset {
  position: fixed;
  bottom: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  z-index: 99;
  background-color:#FFFFFFC4;
  border: solid 2px #222222;
  border-radius: 100%;
  cursor: pointer;
  display: none;
  padding: 4px;
}

#mx_cookie_reset svg {
  fill: #222222;
}

.mx_cookie_modal_buttons .button {
margin: 0;
}

@media screen and (max-width: 768px) {

.mx_cookie_banner_description {
  width: 100%;
}

.mx_cookie_banner_buttons {
  width: 100%;
  padding-left: 0;
  display: flex;
  gap:5px;
}

.mx_cookie_banner_buttons {
  width: 100%;
}


.mx_cookie_panel {
  padding:20px;
}

#mx_cookie_close {
  top: 20px;
  right: 20px;
}

.mx_cookie_modal_buttons {
  gap: 20px;
}

.mx_cookie_modal_buttons .button {
  order:3;
  width: calc(50% - 10px);
}

#mx_cookie_accept_all {
  order:1;
  width: 100%;
}

} /* end mediaquery */

@media screen and (max-width: 480px) {

.mx_cookie_banner_buttons {
  flex-wrap: wrap;
}

.mx_cookie_banner_buttons .button,
.mx_cookie_modal_buttons .button {
  width: 100%;
}

#mx_cookie_save {
  order:2;
}

} /* end mediaquery */