.c-cookie-banner {
  position         : fixed;
  bottom           : 0;
  right            : 0;
  left             : 0;
  padding          : 1em;
  box-shadow       : 0 0 10px rgba(0, 0, 0, 0.2);
  border-top       : 1px solid #EEE ;
  background-color : white ;
  z-index          : 1001;
}
.c-cookie-banner h2 {
  font-size   : 18px;
  line-height : 20px;
  font-weight : 500;
  font-family : var(--c-font-familiy-title);
  color       : var(--c-text-title);
}
.c-cookie-banner button {
  margin-top  : 1em;
  margin-right: 1em;
  display     : inline-grid !important;
}

/* Consent center */
.c-consent-center {
  position                : absolute;
  top                     : 50%;
  left                    : 50%;
  transform               : translate(-50%, -50%);
  max-width               : 744px;
  width                   : 90%;
  box-shadow              : 0 0 10px rgba(0, 0, 0, 0.2);
  padding                 : 1em;
  background-color        : white;
  border-top              : 1px solid #EEE ;
  z-index                 : 2000;
}

.c-consent-center h2 {
  font-size   : 18px;
  line-height : 20px;
  font-weight : 500;
  font-family : var(--c-font-familiy-title);
  color       : var(--c-text-title);
}
.c-consent-center h3 {
  font-size   : 14px;
  line-height : 20px;
  font-weight : 500;
  font-family : var(--c-font-familiy-title);
  color       : var(--c-text-title);
}
.c-consent-center .c-cookie-type {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1em;
}
.c-consent-center .c-cookie-type h3 {
  grid-column: 1/3;
}
.c-consent-center button {
  margin-top  : 1em;
  margin-right: 1em;
  display     : inline-grid !important;
}


/* Switch */
.switch {
  position : relative;
  display  : inline-block;
  width    : 60px;
  height   : 34px;
}
.switch input {
  opacity : 0;
  width   : 0;
  height  : 0;
}

.switch span {
  position           : absolute;
  cursor             : pointer;
  top                : 0;
  left               : 0;
  right              : 0;
  bottom             : 0;
  background-color   : #ccc;
  -webkit-transition : .4s;
  transition         : .4s;
  border-radius      : 34px;
}
.switch span:before {
  position           : absolute;
  content            : "";
  height             : 26px;
  width              : 26px;
  left               : 4px;
  bottom             : 4px;
  background-color   : white;
  -webkit-transition : .4s;
  transition         : .4s;
  border-radius      : 50%;
}
.switch input:checked + span {
  background-color: var(--c-button);
}
.switch input:focus + span {
  box-shadow: 0 0 1px var(--c-button-hover);
}
.switch input:disabled + span {
  background-color: var(--c-border);
}
.switch input:checked + span:before {
  transform: translateX(26px);
}