/** Banner **/
.rgpd-banner {
  position: fixed;
  z-index: 200;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
}
.rgpd-banner-content {
  max-width: 75rem;
  width: 100%;
}
.rgpd-banner-content.is-column {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 37.5rem) {
  .rgpd-banner-content {
    overflow: auto;
    max-height: 100vh;
    padding-top: 1rem;
   }
  .rgpd-banner-content.is-column {
    flex-wrap: wrap;
  }
}


.rgpd-banner-content.is-column .button:last-child {
  margin-bottom:0;
}

.rgpd-banner-content-inner {
  padding-right: 1rem;
  padding-left: 1rem;
  flex: 0 0 75%
}

@media screen and (max-width: 37.5rem) {
  .rgpd-banner-content-inner {
    flex: 0 0 100%;
  }
}

.rgpd-banner-content-title {
  font-size: 1.2rem;
  margin-bottom: 0;
  font-weight: 700;
}
.rgpd-banner-content a {
  text-decoration: underline;
}
.rgpd-banner-content-inner p {
  line-height: 1.2;
}
@media screen and (max-width: 37.5rem) {
  .rgpd-banner-content-inner p {
    font-size: 1rem;
  }
}
.rgpd-banner-button {
  text-align: center;
  flex: 1 1 25%;
  padding: 0 0 0 2rem;
  margin-bottom: 0;
  align-items: center;
}

@media screen and (max-width: 37.5rem) {
  .rgpd-banner-button {
    flex: 1 1 100%;
    padding-left: 0;
  }
}

.rgpd-banner-content.is-column .rgpd-banner-button {
  border-left: 1px solid #000;
  display: flex;
  flex-direction: column;
}
.rgpd-banner-content.is-column .rgpd-banner-button .button{
  margin-right: 0;
}

@media screen and (max-width: 37.5rem) {
  .rgpd-banner .rgpd-banner-content.is-column .rgpd-banner-button {
    border: 0 none;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .rgpd-banner .rgpd-banner-content.is-column .rgpd-banner-button .button {
    margin-right: 1rem;
  }
}

.rgpd-banner-button .button {
  margin-bottom: 1rem;
}
.rgpd-banner-button .button:not(:last-child) {
  margin-right: 1rem;
}


/** MODAL **/
.rgpd-reveal {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  padding: 2rem;

  background-color: rgba(0,0,0,0.8);

  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;

}

.rgpd-reveal.open {
  visibility: visible;
  opacity: 1;
}

.rgpd-reveal .reveal-container {
  background-color: #fafafa;
  max-width: 50rem;
  width: 100%;
  margin: 0 auto;
  height: auto;
  max-height: 90vh;
  overflow: auto;
  padding: 1rem 1rem 0 1rem;
}

.rgpd-reveal-item .switch-paddle {
  width: 4rem !important;
  height: 2rem;
  position: relative;
  border-radius: 1rem;
  background: #fa2209;
  cursor: pointer;
}

.rgpd-reveal-item .switch-paddle:before {
  content: 'off' !important;
  position: absolute !important;
  top: .25rem !important;
  left: auto !important;
  right: .6rem !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  height: 1.5rem !important;
  line-height: 1 !important;
  font-size: .8em !important;
  color: #fefefe !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  background: transparent !important;
  font-family: arial, Sans-Serif !important;
  border: 0 !important;
  transform: translate(0);
  box-shadow: 0 0 0 transparent;
  outline: 0;
}

.rgpd-reveal-item input:checked~.switch-paddle {
  background: #4caf50;
  cursor: pointer;
}
.rgpd-reveal-item .switch-input {
  display: none;
}
.rgpd-reveal-item .switch-input:checked~.switch-paddle:before {
  content: 'on' !important;
  left: .6rem !important;
  right: auto !important;
}

.rgpd-reveal-item .switch-paddle:after {
  content: '' !important;
  background: #fafafa;
  width: 1.5rem;
  height: 1.5Rem;
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  border-radius: 1rem;
}

.rgpd-reveal-item input:checked~.switch-paddle:after {
  left: 2.2rem !important
}


.rgpd-reveal-list {
  margin-top: 2rem;
}
.rgpd-reveal-item {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: left;
  flex-direction: row-reverse;
  margin: 0 auto 1rem auto;
  padding-bottom: 1rem;
  max-width: 50rem;
}
.rgpd-reveal-item:not(:last-child) {
  border-bottom: 1px dashed #ddd;
}
.rgpd-reveal-item .switch {
  margin: 0 0.5rem 0 0;
  flex: 0 1 auto;
}
.rgpd-reveal-item .switch-description {
  margin: 0 0.5rem 0 0;
  flex: 1 1 100%;
}
.rgpd-reveal-text {
  display: block;
  padding: 0;
  font-style: italic;
  font-size: .8rem;
}
.reveal-rgpd .reveal-footer {
  text-align: right;
}

/** Youtube embed **/
.pit-youtube {
  background-color: #383939;
  color: #fefefe;
  padding: 1rem;
}
.youtube-embed{
  display: none;
}
.youtube-iframe-text{
  text-align: center;
}
.youtube-embed-text-content{
  display: block;
  font-style: italic;
  margin-bottom: .5rem;
}
