.jx-promotion-banner {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 52px;
  padding: 0 24px;
  margin: 20px 20px 12px 2px;
  border-radius: 5px;
  overflow: hidden;
  color: #ffffff;
  background-color: #000000;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  font-family: 'Poppins', sans-serif;
  min-height: 56px;
}

.jx-promotion-banner--has-image {
  -webkit-padding-start: 0;
  padding-inline-start: 0;
}

.jx-promotion-banner__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  -webkit-margin-start: 12px;
  margin-inline-start: 12px;
}

.jx-promotion-banner__image {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-item-align: stretch;
  align-self: stretch;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  height: 100%;
}

.jx-promotion-banner__image img {
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.jx-promotion-banner__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4px;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  font-size: 11px;
  line-height: 1.2;
}

.jx-promotion-banner__top-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.jx-promotion-banner__title {
  -ms-flex-item-align: center;
  align-self: center;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.jx-promotion-banner__description-cell {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-margin-start: 70px;
  margin-inline-start: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4px;
}

.jx-promotion-banner__description {
  font-size: 12px;
  font-weight: 400;
  opacity: .8;
  white-space: nowrap;
}

.jx-promotion-banner__description strong,
.jx-promotion-banner__description b {
  font-weight: 800;
  text-decoration: underline;
}

.jx-promotion-banner__code {
  font-size: 11px;
  line-height: 1;
  text-decoration: underline;
}

.jx-promotion-banner__cta .button {
  padding: 8px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  background-color: #f0f0f1;
  color: #000000;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  line-height: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4px;
}

.jx-promotion-banner__cta .button .cta-text {
  font-size: 12px;
  font-weight: 800;
}

.jx-promotion-banner__cta .button .cta-subtext {
  font-size: 9px;
  font-weight: 400;
  white-space: nowrap;
}

.jx-promotion-banner__cta .button:hover, .jx-promotion-banner__cta .button:focus {
  background-color: #f5f5f5;
  color: #000000;
}

.jx-promotion-banner__dismiss {
  position: absolute;
  top: 50%;
  right: 10px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #ffffff;
  opacity: .8;
}

.jx-promotion-banner__dismiss:hover, .jx-promotion-banner__dismiss:focus {
  opacity: 1;
  outline: none;
}

.jx-promotion-banner__dismiss:before {
  content: "\f153";
  font: normal 16px/1 dashicons;
  speak: never;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.post-type-jupiterx-popups .jx-promotion-banner {
  margin-top: 40px;
}

@media (max-width: 782px) {
  .jx-promotion-banner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    height: auto;
    padding: 12px 24px;
  }
  .jx-promotion-banner--has-image {
    -webkit-padding-start: 24px;
    padding-inline-start: 24px;
  }
  .jx-promotion-banner__image {
    position: relative;
    height: auto;
    padding: 0;
    margin-bottom: 8px;
  }
  .jx-promotion-banner__image img {
    max-height: 32px;
  }
  .jx-promotion-banner__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 12px;
  }
  .jx-promotion-banner__top-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
  }
  .jx-promotion-banner__dismiss {
    top: 10px;
    right: 10px;
    -webkit-transform: none;
    transform: none;
  }
}
