/* Centralized Banner Styles for Top Swiper Banner */

/* Swiper container for banner */
.swiper-container.swiper-banner-index {
  max-width: 2560px;
  width: 100%;
  padding-top: 0;
}

.swiper-banner-index .slide_button {
  width: 100%;
  height: 100%;
}

/* Banner wrapper */
.bf_banner {
  display: block;
  max-width: 2560px;
  min-width: 1200px;
  width: 100%;
  height: 50px;
  background: #110101;
  cursor: pointer;
  margin: 0 auto;
  margin-top: -50px;
  transition: 0.2s;
  position: relative;
}

.bf_banner.active {
  margin-top: 0;
}

.bf_banner_mark {
  max-width: 2560px;
  min-width: 1200px;
  width: 100%;
  height: 60px;
  background: #110101;
  background: url(../img/activity/halloween_banner.png) no-repeat center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

/* Banner content */
.cont_ads_banner {
  margin: 0 auto;
  height: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  clear: both;
  overflow: hidden;
  background: linear-gradient(90deg, #0F005C 0%, #5600AD 50%, #0F0061 100%);
  color: #ffffff;
}

/* Residential slide background */
.sbanner2 .cont_ads_banner {
  background: linear-gradient(90deg, #611100 0%, #971A00 50%, #611100 100%);
  color: #ffffff;
}

/* ISP slide background overrides */
.sbanner3 .cont_ads_banner {
  background: linear-gradient(90deg, #151515 0%, #3F3841 50%, #151515 100%);
  color: #ffffff;
}

.sbanner3 .cont_ads_banner .ads_text>span {
  font-family: Poppins, Poppins Bold;
  font-weight: bold;
  font-size: 16px;
  color: #0B1F3A;
  font-style: normal;
  text-transform: uppercase;
}

.sbanner3 .cont_ads_banner .bf_logo1 {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.sbanner3 .cont_ads_banner .black_banner_text1 {
  font-family: Poppins, Poppins Medium;
  font-weight: 600;
  font-size: 17px;
}

.sbanner3 .cont_ads_banner .black_banner_text1>em {
  padding: 0 20px 0 10px;
  color: #EBFC66 !important;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 20px;
}

.sbanner3 .cont_ads_banner .black_banner_text1>del {
  padding-left: 6px;
  font-size: 14px;
  color: #FFD3ED;
  transform: translateY(1px);
}

.sbanner3 .cont_ads_banner .black_banner_text1>a {
  background: #ffffff;
  color: #212121;
  opacity: 0.8;
}

.sbanner3 .cont_ads_banner .black_banner_text1>a:hover {
  background: #ffffff;
  opacity: 1;
}

.sbanner3 .cont_ads_banner .black_banner_text1>.bbt-line {
  width: 2px;
  height: 22px;
  background: #ffffff;
  opacity: .3;
}

/* Ads box inside banner */
.swiper-slide .bf_banner .cont_ads_banner .ads_box {
  display: flex;
  align-items: center;
}

.swiper-slide .bf_banner .cont_ads_banner .ads_box .bf_logo1 {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.black_banner_text1_left {
  margin-left: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.bf_logo1,
.bf_logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.sbanner2 .bf_logo1 {
  width: 112px;
}

.ads_box .bf_logo2 {
    display: inline-block;
    height: 24px;
}

/* Text blocks inside banner */
.black_banner_text1 {
  margin-left: 20px;
  font-family: Poppins-Medium;
  font-weight: 500;
  font-size: 17px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
}

.black_banner_text1 del {
  margin-left: 4px;
  color: #FFD3ED;
  font-size: 15px;
}

.black_banner_text1 span {
  margin: 0 30px 0 0;
  display: inline-block;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  font-style: normal;
}

.black_banner_text1 span:nth-of-type(1) {
  font-weight: 500;
  font-size: 16px;
  color: #FFFFFF;
  font-family: Poppins;
  text-decoration: line-through;
  margin-left: 12px;
  opacity: 0.5;
  margin-right: 0 !important;
}

.black_banner_text1 span:nth-of-type(2) {
  display: flex;
  align-items: center;
  font-family: Poppins;
}

.black_banner_text1>code {
  font-style: normal;
  color: #EBFC66 !important;
  font-weight: bold;
  letter-spacing: 1px;
  margin-left: 8px;
  font-size: 20px;
  font-family: Poppins, Poppins Medium;
}

.black_banner_text1 i.bbt-line {
  display: inline-block;
  width: 2px;
  height: 22px;
  background: #FFFFFF;
  margin-right: 20px;
  top: 0;
  text-decoration: line-through;
}

.black_banner_text1 i.line-ip {
  font-size: 10px;
  position: relative;
  top: 3px;
}

.black_banner_text1 i {
  font-weight: 600;
  font-size: 16px;
  position: relative;
}

.black_banner_text1 .black_banner_num {
  display: inline-block;
  margin-right: 5px;
  margin-left: 5px;
  font-size: 24px;
  font-family: Poppins, Poppins Medium;
  background-image: linear-gradient(180deg, #FEEBCB, #FFBC54);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1.0;
}

.black_banner_text1 strong.bbt-price {
  font-size: 22px;
  margin-right: 2px;
}

.black_banner_text1 span.bf_banner_cutdowntimes {
  width: 85px;
}

.black_banner_text1 .bbt_count_one {
  width: 108px;
  object-fit: contain;
  transform: translateY(-1px);
}

.black_banner_text1 img.bbt_count {
  width: 93px;
  object-fit: contain;
  transform: translateY(-1px);
}

.black_banner_text1 img {
  margin: 0 20px 0 8px;
}

.text-zi {
  color: #47008F;
}

.text-ql {
  color: #981A00;
}

.black_banner_text2 {
  cursor: pointer;
  position: relative;
  display: inline-block;
  width: max-content;
  height: 32px;
  padding: 0 25px;
  font-weight: 500;
  font-size: 14px;
  font-family: Poppins-Medium;
  border-radius: 16px;
  transition: 0.2s;
  line-height: 32px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  margin-left: 30px;
  text-decoration: none;
}

.black_banner_text2:hover {
  background: rgba(255, 255, 255, 1);
}

.banner_line {
  width: 3px;
  height: 22px;
  background: #03FFC6;
}

/* Arrows inside banner */
.banner_button {
  position: static;
}

.banner_button .arraw_left {
  background: url(../img/index_banner/banner2-3.png) no-repeat center;
  background-position: 0 0;
  width: 22px;
  height: 22px;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
  left: 30px;
  z-index: 999;
}

.banner_button .arraw_right {
  background: url(../img/index_banner/banner2-4.png) no-repeat center;
  background-position: 0 0;
  width: 22px;
  height: 22px;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
  right: 30px;
}

.banner_button .arraw_left:hover,
.banner_button .arraw_right:hover {
  background-position: 0 -22px;
}

/* Ensure each slide can receive mouse events */
.swiper-slide {
  pointer-events: auto;
}

/* Close button in banner (hidden by default) */
.close_banner {
  width: 18px;
  height: 18px;
  background: url(../img/activity/cris_close.png) no-repeat center;
  background-size: cover;
  top: 0;
  cursor: pointer;
  right: 0;
  position: absolute;
  display: none;
}

/* Utility */
.mr-0 {
  margin-right: 0 !important;
}


