.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-wrapper .sp-smart-brand-carousel .sp-brand-button-next {
  top: 4px;
  right: 1px;
  left: auto;
  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-wrapper .sp-smart-brand-carousel .sp-brand-button-next:after {
  font-size: 11px;
  font-weight: 800;
  color: #958a8a;
}

.sp-smart-brand-wrapper .sp-smart-brand-carousel .sp-brand-button-prev {
  color: #aaa;
  top: 12px;
  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;
  margin-top: 0;
}

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

.sp-smart-brand-wrapper .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,
.sp-smart-brand-gutenberg-shortcode.sp-w-full:after {
  display: none;
  height: 0;
}

.sp-smart-brand-gutenberg-shortcode.editor-styles-wrapper,
.sp-smart-brand-gutenberg-shortcode.editor-styles-wrapper select,
.sp-smart-brand-gutenberg-shortcode.sp-w-full,
.sp-smart-brand-gutenberg-shortcode.sp-w-full select {
    max-width: 100% !important;
}

.sp-smart-brand-gutenberg-shortcode.sp-w-full {
  padding: 0;
  line-height: 24px;
}

.sp-smart-brand-gutenberg-shortcode .sp-smart-brand-shortcode-selector,
.sp-smart-brand-gutenberg-shortcode.sp-w-full .sp-smart-brand-shortcode-selector,
.sp-smart-brand-gutenberg-shortcode.editor-styles-wrapper .sp-smart-brand-shortcode-selector {
  width: 250px;
  padding: 5px 25px 5px 5px;
  border: 1px solid #ccc;
  font-size: 13px;
  line-height: 2;
  min-height: 35px;
  border-radius: 3px;
}

/* 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;
}