@import "variables";
@import "mixins";

.promo-banner {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: $col-prm;
  color: $col-prm-c;
  transition: $trans;

  .promo {
    display: flex;
    flex-flow: row-reverse nowrap;
    align-items: stretch;
    border: 1px solid $col-prm-l;
    border-width: 1px 0 0 0;

    .close-btn {
      padding: (1rem * 1.6);
      margin-left: (1rem * 1.6);
      color: $white;
      opacity: 0.7;
      cursor: pointer;
      transition: $trans;
      &:hover {
        opacity: 1;
      }
    }
    .content {
      display: flex;
      flex-grow: 1;
      padding: 0.5em;
      align-items: center;
      justify-content: center;

      p {
        text-align: center;
        padding: 0;
        margin: 0;
      }

      a.btn-link {
        @include link-light;
        margin-left: (1rem * 1.6);
      }
    }
  }
}
