body.with-overlay {
  overflow: hidden;
}
.rgpd-overlay {
  position: fixed;
  z-index: 199;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background-color: rgba(0, 0, 0, 0.7);
}
.rgpd-banner {
  position: fixed;
  z-index: 200;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.3rem 2rem 0;
}
.rgpd-banner-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 75rem;
}
.rgpd-banner-content a {
  color: inherit;
  text-decoration: underline;
}
.rgpd-banner-button {
  display: flex;
  flex-direction: column;
  width: 30%;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  margin: 0;
  margin-left: 2rem;
}
.rgpd-banner-button .button {
  width: 14rem;
}
.rgpd-banner-button:after {
  content: '';
  position: absolute;
  top: 20%;
  left: 1rem;

  height: 60%;

  border-left: 1px solid rgba(255,255,255,0.4);
}
.rgpd-banner-button .button.clear {
  padding: 0.3rem 1rem;
  min-height: auto;
}
.rgpd-banner-button .button.clear:hover,
.rgpd-banner-button .button.clear:focus {
  background: transparent;
  text-decoration: underline !important;
  color: #fff;
}
.rgpd-banner-button .button.clear:hover:before,
.rgpd-banner-button .button.clear:focus:before {
  display: none;
}
@media screen and (max-width: 1200px) {
  .rgpd-banner-button:after {
    left: 0;
  }
}
@media screen and (max-width: 1024px) {
  .rgpd-banner-button {
    width: 40%;
  }
  .rgpd-banner-button:after {
    left: -1rem;
  }
}
@media screen and (max-width: 640px) {
  .rgpd-banner-content {
    flex-direction: column;
  }
  .rgpd-banner-button {
    width: 100%;
    margin: 0;
  }
  .rgpd-banner-button:after {
    display: none;
  }
  .rgpd-banner-button .button {
    width: auto;
  }
}


.rgpd-reveal-list {
  margin-top: 2rem;
}
.rgpd-reveal-all {
  display: block;
  text-align: right;
  font-size: 0.65rem;
  text-transform: uppercase;
  border-bottom: 1px dashed #eee;
  margin-bottom: 0.6rem;
  padding-right: 0.25rem;
  padding-bottom: 0.4rem;
}
.rgpd-reveal-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
}
.rgpd-reveal-item:not(:last-child) {
  border-bottom: 1px dashed #eee;
}
.rgpd-reveal-item .switch {
  margin-bottom: 0;
  margin-right: 1rem;
}
.rgpd-reveal-item .switch-paddle {
  border-radius: 2rem;
  background: #9d9d9c;
}
.rgpd-reveal-item .switch-paddle:after {
  border-radius: 50%;
}
.rgpd-reveal-item .switch-paddle:before {
  content: 'off';
  position: absolute;
  top: 0.25rem;
  left: auto;
  right: 0.5rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 1.5rem;
  line-height: 1;
  font-size: 0.8em;
  color: #fefefe;
  text-transform: uppercase;
}
.rgpd-reveal-item .switch-input:checked ~ .switch-paddle {
  background: #00ae65;
}
.rgpd-reveal-item .switch-input:checked ~ .switch-paddle:before {
  content: 'on';
  left: 0.45rem;
  right: auto;
}
.rgpd-reveal-item .switch.small .switch-paddle:before {
  height: 1.25rem;
}
.rgpd-reveal-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}
.rgpd-reveal-footer .button:not(:last-child) {
  margin-right: 0.875rem;
}


/*********
 * Si pas de foundation, css à la main
 ********/
.rgpd-reveal.no-foundation {
  display: none;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 110000;
  transition: opacity 0.2s;
}
.rgpd-reveal.no-foundation.open {
  display: flex;
  opacity: 1;
  align-items: center;
}
.rgpd-reveal.no-foundation .reveal-container {
  background-color: #fafafa;
  max-width: 75rem;
  margin: 0 auto;
  height: auto;
}
.rgpd-reveal.no-foundation .reveal-title {
  padding: 2rem;
  font-size: 2rem;
}
.rgpd-reveal.no-foundation .reveal-content {
  padding: 2rem;
}
.rgpd-reveal.no-foundation .switch-input {
  display: none;
}
.rgpd-reveal.no-foundation .switch-paddle {
  position: relative;
  display: block;
  width: 4rem;
  height: 2rem;
  border-radius: 0;
  border-radius: 1rem;
  transition: all .25s ease-out;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
}
.rgpd-reveal.no-foundation .switch-paddle:after {
  position: absolute;
  top: .25rem;
  left: .25rem;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  border-radius: 1rem;
  background: #fefefe;
  transition: all .25s ease-out;
  content: "";
}
.rgpd-reveal.no-foundation input:checked~.switch-paddle:after {
  left: 2.25rem;
}
.rgpd-reveal.no-foundation .reveal-footer {
  text-align: center;
  padding: 2rem;
}

.rgpd-privacy-text {
  margin-top: 2.6rem !important;
  padding-left: 0 !important;
}

.rgpd-reveal.no-foundation .button,
.rgpd-privacy-text .button {
  color: #fff;
  border: 0 !important;
  font-size: 1rem;
  cursor: pointer;
}
