/* Divi2 Bars — fixed promo bar shell. */
.dl-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: var(--dl-z-bar);
  visibility: hidden;
  transition: transform .35s ease, visibility .35s ease;
  background: #111;
  color: #fff;
}

.dl-bar--top {
  top: 0;
  transform: translateY(-100%);
}

.dl-bar--bottom {
  bottom: 0;
  transform: translateY(100%);
}

.dl-bar--visible {
  visibility: visible;
  transform: none;
}

.dl-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 52px;
}

.dl-bar__inner > *:last-child {
  margin-bottom: 0;
}

.dl-bar__inner .et_pb_section {
  background: transparent !important;
}

.dl-bar__inner .et_pb_row,
.dl-bar__inner .et_pb_column {
  padding: 0 !important;
}

.dl-bar__close {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.dl-bar__close:hover {
  background: rgba(255, 255, 255, .26);
}

/* Keep the top bar below the WordPress admin toolbar for logged-in users. */
body.admin-bar .dl-bar--top {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .dl-bar--top {
    top: 46px;
  }
}

/* Push Divi's header down while a top bar is visible. */
body.dl-bar-top-active #main-header {
  top: var(--dl-bar-offset, 0px) !important;
}
