.slide-wrapper {
  overflow: hidden;
  background-color: #FCF6E6;
  box-shadow: 0 2px 4px rgba(0,0,0,.4);
}

.slide {
  display: flex;
  display:-webkit-flex;
  width:100%;
  padding-left: 40px;
}

.slide:hover {
  will-change: transform;
}

.slide li {
  flex-shrink: 0;
  width: 100%;
  margin: 0 20px;
  border-radius: 4px;
  overflow: hidden;
  opacity: .8;
  transform: scale(.8);
  transition: .4s;
  
}

.slide li.active {
  opacity: 1;
  transform: scale(1);
  max-width: 1040px;
}

[data-control="slide"] {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

[data-control="slide"] li a {
  display: block;
  width: 12px;
  height: 12px;
  background: #FB5;
  border-radius: 50%;
  overflow: hidden;
  text-indent: -999px;
  margin: 5px;
}

[data-control="slide"] li.active a, [data-control="slide"] li a:hover {
  background: #E54;
}

.custom-controls {
  display: flex;
  display:-webkit-flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  /*flex-wrap: nowrap;*/
}

.custom-controls li {
  opacity: .7;
  transform: scale(.8);
  width: 60px;
  /* height: 40px; */
  /* border-radius: 50%; */
  overflow: hidden;
  margin: 1px;
  /* box-shadow: 0 2px 2px rgba(0,0,0,.5); */
  transition: .3s;
  cursor: pointer;
}

.custom-controls li.active {
  opacity: 1;
  transform: scale(1);
}

.arrow-nav {
  display: flex;
  display:-webkit-flex;
  justify-content: space-around;
  margin: 20px 10px 0 10px;
  z-index: 1;
}

.arrow-nav button {
  cursor: pointer;
  border: none;
  border-radius: 50%;
  color: white;
  width: 30px;
  height: 30px;
  background: #999 url('../img/arrow.svg') center center no-repeat;
  outline: none;
}

.arrow-nav button:hover {
  background: #333 url('../img/arrow.svg') center center no-repeat;
  transition: ease-in-out .3s;
}

.arrow-nav button.prev {
  transform: rotate(-180deg);
}

.wrap-controls, .slide-wrapper{
  display: flex;
  display:-webkit-flex;
  justify-content: center;
  align-items: center;
}
.arrow-nav{visibility: hidden;}