/**
 * CSS for module front view.
 *
 * Do not edit or add to this file if you wish to benefit from upgrade in the future.
 * If you wish to customize CSS, edit your custom.css file into your child theme module folder.
 * themes/child-theme/assets/css/css_custom.css
 *
 *  @author Aepsilon <contact@aepsilon.com>
 *  @copyright 2020 Aepsilon
 *  @license
 */

/** ---------------------------------------------------------------------------- PrestaShop class */
.header-banner {
  background-color: #EE2737;
}

/** -----------------------------------------  ae_headerbanner/templates/hook/ae_headerbanner.tpl */
#banner__wrap {
  position: relative;
  padding: 5px 10px;
}
/* Text container (for animation) */
#banner__marquee {
  position: relative;
  height: 1.1em;
  width: 97%;
  overflow: hidden;
}
@media (max-width:767px) {
  #banner__marquee {
    width: 92%;
  }
}
/* Text */
#marquee__txt {
  position: absolute;
  width: 100%;
  margin-bottom: 0 !important;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.1em;
  white-space: nowrap;
}
/* Cross icon */
#banner__close {
  position: absolute;
  right: 10px;
  top: 2px;
}
#close__icn {
  color: #FFFFFF;
}
#close__icn:hover,
#close__icn:focus {
  color: #000000;
}

/** ---------------------------------------------------------------------------- Modifier classes */
.--closed {
  display: none;
}
.--center {
  text-align: center;
}
.--scroll {
  transform: translateX(100%);
  animation: scroll-rtl 30s linear infinite;
}

@media (max-width:767px) {
  .--scroll-mobile {
    transform: translateX(100%);
    animation: scroll-rtl 15s linear infinite;
  }
}

/** ----------------------------------------------------------------------------------- Animation */
@keyframes scroll-rtl {
 0% {
   transform: translateX(100%);       
 }
 100% {
  transform: translateX(-100%); 
 }
}
