.main_slider{
  direction: rtl;
  max-width: 1128px;
  margin:0 auto;
  
}
.main_slider h1.title{
  margin-top: 64px;
  margin-bottom: 0;
  font-weight: 500;
}
.main_slider #customize_wrapper{
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  flex: 0 0 100%;
}
.main_slider .customize-tools{
  width: 30%;
}
.main_slider  .thumbnails {
  width: 100%;
  text-align: right;
  margin: 40px 0 80px;
  padding: 0;
}
.main_slider .thumbnails  li{
  width: auto;
  padding: 8px 0px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  border: none;
} 
.main_slider .thumbnails li span.link__slider {
height: 21px;
font-weight: 500;
color: #53535B;
}
.main_slider .thumbnails li:hover span.link__slider,
.main_slider .thumbnails .tns-nav-active span.link__slider{
  color: #FF4C43;
 
}

.main_slider .thumbnails .tns-nav-active,
.main_slider .thumbnails li:hover{
  color: #FF4C43;
  width: 70%;
  position: relative;
  padding-right: 24px;
  transition: 0.9s all;
  border: none;
}
.main_slider .thumbnails li::before {
  color: #FF4C43;
  width: 0;
  height: 48px;
  border-radius: 2px;
  position: absolute;
  content: "";
  font-size: 14px;
  font-weight: 500;
 transition-timing-function: linear;
  transition: width 1.4s;
  top:0px;
  right:0;
  background-color: transparent;
  z-index: -20;
}
 .main_slider .thumbnails li:hover{
  margin-right: 0;
} 
 .main_slider .thumbnails li:hover::before{
  background-color: #FFDEDD;
  width: 48px;
  
}
.main_slider .thumbnails .tns-nav-active:hover{
  cursor: pointer;
 
}


.main_slider .thumbnails .tns-nav-active::before{
  background-color: #FFDEDD;
  width: 48px;
 
}
.main_slider .playbutton-wrapper{
    display: none;
}
.main_slider .tns-outer{
    position: relative;
}
.main_slider .tns-controls{
  position: absolute;
  width: 144px;
  height: 64px;
  z-index: 100;
  left: 0;
  bottom: -10px;
background-color: #fff;
} 
.main_slider .tns-controls button{
width: 24px;
height: 24px;
  float: left;
  font-size: 0;
  margin: 0;
  padding: 0;
  border-radius: 0 2px 0 0;
}
.main_slider .tns-controls button:last-child {
content: '';
position: absolute;
top:0;
right: 0;
width: 50%;
height: 100%;
background: url('../img/path511.png') no-repeat center center;
}

.main_slider .tns-controls button:first-child{
content: '';
position: absolute;
top: 0;
  left: 0;
  width: 50%;
height: 100%;
background: url('../img/path411.png') no-repeat center center;

}
.main_slider .tns-controls button:last-child:hover {
background: url('../img/path511-h.png') no-repeat center center;
box-shadow: 0px 2px 6px 0px rgba(34, 34, 38, 0.12);
cursor: pointer;
}

.main_slider .tns-controls button:first-child:hover {
background: url('../img/path411-h.png') no-repeat center center;
box-shadow: 0px 2px 6px 0px rgba(34, 34, 38, 0.12);
cursor: pointer;
}
.main_slider #customize > .tns-item{
  height: 500px;
}
.main_slider .tns-item img{
    width: auto;
    height: 100%;
}
.main_slider .controls li{
  display: none;
}

@media screen and (max-width: 992px) {
  .main_slider{
      width: 100%;
  }
  .main_slider #customize > .tns-item{
    height: auto;
  }
.main_slider #customize_wrapper{
      flex-direction: column-reverse;
  }
  
.main_slider .tns-outer{
  flex: 0 0 100%;
  max-width: 100%;
  height: auto;
  margin: 8px 0;
  }
  .main_slider .tns-item img{
      width: 100%;
      height: auto;
  }

.main_slider .customize-tools{
  flex: 0 0 100%;
  width: 100%;
}
.main_slider .thumbnails{
  display: flex;
  overflow-x: auto;
  flex-wrap: nowrap;
  height: 64px;
  margin: 0;
  background-color: none;
  
}
.main_slider .thumbnails li{
  width:100%;
  margin-left: 8px;
  padding: 8px 16px;
  float: right;
  white-space: nowrap !important;
  border: none;
  background-color: transparent;
}


.main_slider h1.title{
  margin:24px 0 16px 0;
  padding: 40px 24px 0 0;
  
}
.main_slider h1.title::before{
top:10px;
}
.main_slider .tns-controls{
  display: none;
}


}

