/* 
 ---------------------------
 1) Initialize the slider style
 ---------------------------
 */
.custom-advanced-slider-sp-canvas-outer {
  position: relative;
  z-index: 2;
  display: block;
}

.custom-advanced-slider-sp {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  background: #fff;
}
.custom-advanced-slider-sp canvas {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 820%;
  height:820%;
  background: #fff;
	
}
.custom-advanced-slider-sp .inner {
  position: relative;
  z-index: 1;
}
.custom-advanced-slider-sp .inner .item {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  opacity: 0;
}
.custom-advanced-slider-sp .inner .item img {
  width: 100%;
  visibility: hidden;
}
.custom-advanced-slider-sp .inner .item.leave {
  transition: all 0.6s ease;
  opacity: 0;
}
.custom-advanced-slider-sp .inner .item.active {
  transition: all 0.6s ease;
  transition-delay: 0.6s;
  opacity: 1;
}

/* If the browser does not support webGL then use the default video load event */
.webgl .custom-advanced-slider-sp video {
  display: none;
}

.no-webgl .custom-advanced-slider-sp canvas {
  display: none !important;
}
.no-webgl .custom-advanced-slider-sp .inner .item img {
  visibility: visible;
}

/* 
 ---------------------------
 2) Pagination dots 
 ---------------------------
 */
.custom-advanced-slider-sp-pagination {
  position: relative;
  transform: translateY(-40px);
  z-index: 2;
}
.custom-advanced-slider-sp-pagination ul {
  list-style: none;
  left: 0;
  bottom: 0;
  font-size: 0;
  /*Fighting the Space Between Inline Block Elements*/
  display: block;
  width: 100%;
  text-align: center;
  /*require*/
  position: relative;
  transform: translateY(0.5rem);
}
.custom-advanced-slider-sp-pagination ul li {
  font-size: 1rem;
  /*Fighting the Space Between Inline Block Elements*/
  display: inline-block;
  /*require*/
  margin: 0 0.2rem;
}
.custom-advanced-slider-sp-pagination ul li a {
  width: 12px;
  height: 12px;
  display: block;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  border-radius: 20px;
  box-shadow: 0px 6px 23px -2px rgba(0, 0, 0, 0.36);
}
.custom-advanced-slider-sp-pagination ul li a:hover, .custom-advanced-slider-sp-pagination ul li a.active {
  background: white;
  width: 25px;
}

/* 
 ---------------------------
 3) Next/Prev buttons
 ---------------------------
 */
.custom-advanced-slider-sp-arrows {
  position: relative;
  transform: translateY(-75px);
  z-index: 3;
}
.custom-advanced-slider-sp-arrows a {
  position: absolute;
  display: inline-block;
  color: #fff;
  width: 50px;
}
.custom-advanced-slider-sp-arrows .prev {
  left: 15px;
}
.custom-advanced-slider-sp-arrows .prev.disabled {
  visibility: hidden;
}
.custom-advanced-slider-sp-arrows .next {
  right: 15px;
  text-align: right;
}
.custom-advanced-slider-sp-arrows .next.disabled {
  visibility: hidden;
}