.block-elca-gdpr-block {
  position: absolute;
  bottom: 0;
}

.elca-gdpr {
  background-color: #414344;
  color: white;
  display: flex;
  flex-direction: column;
}

.elca-gdpr h2 {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 20px;
  margin-top: 15px;
}

.elca-gdpr h3 {
  font-size: 18px;
  line-height: 1.3;
}

.elca-gdpr h4 {
  line-height: 1;
  padding: 0;
  margin: 0 0 10px 0;
}

.elca-gdpr p.elca-gdpr-allow-all {
  color: white;
  border-bottom: 1px solid white;
  display: inline-block;
  margin-top: 15px;
  cursor: pointer;
}

.elca-gdpr p.elca-gdpr-refuse-all {
  color: white;
  display: inline-block;
  margin-top: 15px;
  cursor: pointer;
  padding-left: 15px;
}

.elca-gdpr p.elca-gdpr-allow-all:hover, .elca-gdpr p.elca-gdpr-refuse-all:hover {
  border-bottom: 1px solid white;
}

.elca-gdpr .button.elca-gdpr-configure,
.elca-gdpr .button.elca-gdpr-refuse-all {
  color: #969696;
  border: solid 1px #969696;
  margin-left: 0;
  margin-top: 15px;
}

@media screen and (min-width: 480px) {
  .elca-gdpr .button.elca-gdpr-configure,
  .elca-gdpr .button.elca-gdpr-refuse-all {
    margin-left: 10px;
    margin-top: 0;
  }
}

.elca-gdpr .button.elca-gdpr-configure:hover,
.elca-gdpr .button.elca-gdpr-refuse-all:hover {
  color: #414344;
}

.elca-gdpr .launchbar {
  padding: 20px;
  position: fixed;
  width: 100vw;
  bottom: 0;
  transition: opacity 0.5s cubic-bezier(0.15, 0.8, 0.35, 1);
  opacity: 0;
  display: block;
  z-index: -1;
  pointer-events: none;
}

.elca-gdpr .launchbar__content {
  color: white;
}

.elca-gdpr .launchbar__content .introduction {
  display: none;
}

.elca-gdpr .launchbar__content .introduction--show {
  display: block;
}

.elca-gdpr .launchbar__content__action {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}

.elca-gdpr .launchbar__content__action > div {
  margin-right: 1.5rem;
}

.elca-gdpr .launchbar__content__action .uk-button {
  border-color: #fff;
  color: #fff;
  margin-top: 1rem;
}

.elca-gdpr .launchbar--active {
  opacity: 1;
  z-index: 4999;
  pointer-events: all;
}

.elca-gdpr .settings-panel {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  bottom: -100vh;
  height: 100vh;
  bottom: -100vh;
  z-index: 5000;
  overflow-y: auto;
  transition: all 0.5s cubic-bezier(0.15, 0.8, 0.35, 1);
  width: 100vw;
  padding: 20px;
  background-color: rgba(65, 65, 65, 0);
}

@media screen and (min-width: 480px) {
  .elca-gdpr .settings-panel {
    padding: 20px 15%;
  }
}

@media screen and (min-width: 1280px) {
  .elca-gdpr .settings-panel {
    padding: 20px 25%;
  }
}

.elca-gdpr .settings-panel--active {
  bottom: 0;
  background-color: rgba(65, 65, 65, 0.75);
}

.elca-gdpr .settings-panel__content {
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 720px) {
  .elca-gdpr .settings-panel__content {
    overflow-y: hidden;
  }
}

.elca-gdpr .settings-panel__title {
  padding: 45px 25px 40px 25px;
  position: relative;
  flex: 1 0 auto;
}

.elca-gdpr .settings-panel__title .introduction {
  display: none;
}

.elca-gdpr .settings-panel__title .introduction--show {
  display: block;
}

.elca-gdpr .settings-panel__title .settings-panel__close {
  position: absolute;
  right: 20px;
  top: 15px;
  align-items: center;
}

.elca-gdpr .settings-panel__title .settings-panel__close .label {
  font-size: 15px;
  text-transform: uppercase;
  border-bottom: 1px solid #ff483a;
  cursor: pointer;
  display: none;
}

.elca-gdpr .settings-panel__title .settings-panel__close .label--show {
  display: block;
}

.elca-gdpr .gdpr-entities__container {
  display: flex;
  overflow-x: hidden;
  overflow-y: scroll;
  width: calc(100% + 20px);
  /* http://dabblet.com/gist/2462915 */
  background: linear-gradient(#414244 30%, rgba(255, 255, 255, 0)), linear-gradient(rgba(255, 255, 255, 0), #414244 70%) 0 100%, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.3), transparent), radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.3), transparent) 0 100%;
  background-repeat: no-repeat;
  background-color: #414244;
  background-size: 100% 50px, 100% 50px, 100% 10px, 100% 10px;
  background-attachment: local, local, scroll, scroll;
}

@media screen and (max-width: 720px) {
  .elca-gdpr .gdpr-entities__container {
    flex: none;
    max-width: 100%;
    overflow-y: auto;
  }
}

@media screen and (max-width: 720px) {
  .elca-gdpr .gdpr-entities__container {
    background: none;
    background-color: #414244;
  }
}

.elca-gdpr .gdpr-entities {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.elca-gdpr .gdpr-entities .gdpr-entity {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-top: 1px solid #545657;
}

@media screen and (min-width: 720px) {
  .elca-gdpr .gdpr-entities .gdpr-entity {
    flex-direction: row;
  }
}

.elca-gdpr .gdpr-entities .gdpr-entity__details {
  flex: 1 0 auto;
}

@media screen and (min-width: 720px) {
  .elca-gdpr .gdpr-entities .gdpr-entity__details {
    flex-basis: 65%;
    padding-right: 5%;
  }
}

.elca-gdpr .gdpr-entities .gdpr-entity__details p {
  line-height: 1.3;
}

.elca-gdpr .gdpr-entities .gdpr-entity__actions {
  flex: 1 0 auto;
  margin-top: 20px;
}

@media screen and (min-width: 720px) {
  .elca-gdpr .gdpr-entities .gdpr-entity__actions {
    margin-top: 0;
    flex-basis: 30%;
  }
}

.elca-gdpr .privacy-policy {
  background: #545657;
  padding: 25px;
  line-height: 1.3;
  flex: 1 0 auto;
}

.elca-gdpr .privacy-policy a {
  color: white;
  text-decoration: underline;
}

.elca-gdpr .switch-field {
  display: flex;
  position: relative;
}

.elca-gdpr .switch-field .tag {
  display: none;
  font-size: 9px;
  color: white;
  background-color: #ff483a;
  position: absolute;
  top: -6px;
  left: -14px;
  border-radius: 3px;
  padding: 0 3px;
  text-transform: uppercase;
}

.elca-gdpr .switch-field input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}

.elca-gdpr .switch-field input:checked + label {
  background: #e13614;
  color: white;
}

.elca-gdpr .switch-field label {
  color: lightgray;
  flex-basis: 50%;
  flex-direction: row;
  text-align: center;
  font-size: 14px;
  line-height: 1;
  padding: 14px 18px;
  border: 1px solid #aaabab;
  transition: all .1s ease-in-out;
}

.elca-gdpr .switch-field label:hover {
  cursor: pointer;
  color: #ff483a;
}

.elca-gdpr .switch-field label:last-of-type {
  border-left: none;
}
