.sp-smart-brand-wrapper {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  overflow: hidden;
}
.sp-smart-brand-wrapper .swiper-container{
	position: static;
}

.sp-smart-brand-wrapper .sp-smart-brand-section,
.sp-smart-brand-wrapper .sp-smart-brand-section .sp-smart-brands-grid {
  box-sizing: border-box;
}

/*  .sp-smart-brand-row.no-gutters > [class*="sbfw-col-"] {
  padding-right: 0;
  padding-left: 0;
} */

.sp-smart-brands-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
  width: 100%;
}

.sp-smart-brands-row [class*="spf-smart-brands-col-"] {
  /* position: relative; */
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 20px;
  padding-top: 0;
  box-sizing: border-box;
}

/* Carousel */
.sp-smart-brand-wrapper .sp-smart-brand-carousel .swiper-wrapper {
  padding-bottom: 52px;
  align-items: center;
}

/*
* Navigation & pagination style.
*/
.sp-smart-brand-carousel .sp-brand-button-next {
  top: 4px;
  right: 1px;
  background-image: none;
  color: #aaa;
  background-color: transparent;
  border: 1px solid;
  border-color: #aaa;
  border-radius: 0%;
  font-size: 20px;
  height: 30px;
  width: 30px;
  margin-top: 8px;
  text-align: center;
  overflow: hidden;
}

.sp-smart-brand-carousel .sp-brand-button-next:after {
  font-size: 11px;
  font-weight: 800;
  color: #958a8a;
}

.sp-smart-brand-carousel .sp-brand-button-prev {
  color: #aaa;
  top: 34px;
  left: auto;
  right: 0;
  background-color: transparent;
  border: 1px solid;
  border-color: #aaa;
  border-radius: 0%;
  font-size: 20px;
  height: 30px;
  width: 30px;
  background-image: none;
  text-align: center;
  overflow: hidden;
  margin-right: 40px;
}

.sp-smart-brand-carousel .sp-brand-button-next,.sp-smart-brand-carousel .sp-brand-button-prev {
  outline: none;
}

.sp-smart-brand-carousel .sp-brand-button-prev:after {
  font-size: 11px;
  font-weight: 800;
  color: #958a8a;
}

.sp-smart-brand-carousel .sp-brand-pagination .swiper-pagination-bullet {
  height: 11px;
  width: 11px;
  opacity: 1;
  background: #aaaaaa;
}

.sp-smart-brand-wrapper .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, 
.sp-smart-brand-wrapper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 4px;
}

.sp-smart-brand-wrapper .sp-brand-pagination .swiper-pagination-bullet-active {
  background: #0f68a9;
}

.sp-smart-brand-wrapper .sp-smart-brand-carousel .sp-brand-button-next:hover,
.sp-smart-brand-wrapper .sp-smart-brand-carousel .sp-brand-button-prev:hover {
  background-color: #0f68a9;
  border-color: #0f68a9;
}

.sp-smart-brand-wrapper .sp-smart-brand-carousel .sp-brand-button-next:hover::after,
.sp-smart-brand-wrapper .sp-smart-brand-carousel .sp-brand-button-prev:hover::after {
  color: #ffffff;
}

/* Name & Description style. */
.sp-smart-brand-content-wrapper .sp-smart-brand-name.text-center a,
.sp-smart-brand-wrapper .sp-smart-brand-name.text-center a {
  text-decoration: none !important;
}

.sp-smart-brand-wrapper .sp-smart-brand-name {
  padding-top: 10px;
  padding-bottom: 10px;
}

.sp-smart-brand-wrapper .sp-smart-brand-name .sp-brand-name {
  color: #2f2f2f;
  font-size: 16px;
  font-family: Lato;
  font-style: normal;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 0px;
  text-transform: none;
}

/* Name & Description style. */
.sp-smart-brand-wrapper .sp-smart-brand-description.text-center {
  font-size: 14px;
  font-family: Open Sans;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  text-transform: none;
  text-align: center;
  letter-spacing: 0px;
  color: #555;
}

.sp-smart-brand-wrapper .sp-smart-brand-details-wrapper {
  margin: 0 10px 0 10px;
}


/* Brand single Page Style. */
.sp-smart-brand-single-product img {
  padding-top: 10px;
}

.sp-smart-brand-single-product .sp-smart-brand-thumb-wrapper img.sp-smart-brand-thumb {
  max-height: 130px;
  max-width: 100%;
  height: auto;
}

.sp-smart-brand-wrapper .sp-smart-brand-thumb-wrapper.text-center{
  text-align: center;
  line-height: 0;
}

.sp-smart-brand-wrapper .sp-smart-brand-thumb-wrapper.text-center img{
	margin: auto;
	max-width: 100%;
	height: auto;
}

.sp-smart-brand-single-product .sp-smart-brand-content-wrapper {
  margin-bottom: 10px;
}

/* Brand pagination style. */
.sp-smart-brand-wrapper .sp-brand-pagination {
  width: 100%;
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.sp-smart-brand-wrapper .page-numbers.current,
.sp-smart-brand-wrapper a.page-numbers {
  background: #fff;
  color: #5e5e5e;
  border: 2px solid #bbb;
  width: 38px;
  height: 38px;
  line-height: 38px;
  font-size: 16px;
  text-align: center;
  margin-right: 4px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 3px;
  -webkit-transition: all .33s;
  transition: all .33s;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  text-decoration: none !important;
}

.sp-smart-brand-wrapper .page-numbers.current {
  color: #ffffff;
  background: #e2127a;
  border-color: #e2127a;
}

.sp-smart-brand-wrapper .page-numbers:hover {
  background: #e2127a;
  border-color: #e2127a;
}

/* preloader image */
.sp-smart-brand-section-preloader {
  background-color: #fff;
  background-image: url(../img/spinner.svg);
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  z-index: 9999;
  width: 100%;
  height: 100%;
  visibility: visible;
}

/* Brand archive page design */
.tax-sp_smart_brand .woocommerce-products-header__title.page-title {
  text-align: center;
}

.tax-sp_smart_brand .sp-smart-brand-description {
  text-align: center;
}

/* product count */
.sp-smart-brand-wrapper span.sp-brand-product-count {
  display: block;
  text-align: center;
  padding: 5px 0;
}

/* Style for RTL mode */
.sp-smart-brand-carousel.swiper-rtl .sp-brand-button-next {
  left: 0px;
  right: auto;
}
.sp-smart-brand-carousel.swiper-rtl .sp-brand-button-prev {
  left: 36px;
  right: auto;
}

/* brand name in single product page */
.sp-smart-brand-single-product .sp-smart-brand-name{
  display: inline-block;
}

/* Gutenberg block css */
.sp-smart-brand-gutenberg-shortcode.editor-styles-wrapper {
  padding-bottom: 0;
}

.sp-smart-brand-gutenberg-shortcode.editor-styles-wrapper:after {
  display: none;
}

/* Fix the issue of not showing carousel with Elementor Pro v3.14.1 */
.elementor-default .sp-smart-brand-section .swiper-container:not(.swiper-container-initialized) .swiper-wrapper {
  overflow: initial;
}