
.showw{
 max-width: 578px;
 max-height: 480px;
  direction:rtl
}
#show-img {
 width: 578px;
  height: 480px;
}
.small-img{
  width: 400px;
  height: 70px;
  margin-top: 10px;
  position: relative;
  right: 25px;
}
.small-img .icon-left, .small-img .icon-right{
  width: 12px;
  height: 24px;
  cursor: pointer;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
}
.icon-left{
    right:0px
}
    .small-img .icon-right {
        left: 0;
      
    }
    .small-img .icon-right {
        transform: rotate(180deg)
    }
.small-img .icon-left:hover, .small-img .icon-right:hover{
  opacity: .5;
}
.small-container{
  width: 310px;
  height: 70px;
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.small-container div{
  width: 800%;
  position: relative;
}

.small-container .show-small-img{
  width: 70px;
  height: 70px;
  margin-right: 6px;
  cursor: pointer;
  float: right;
}
.small-container .show-small-img:last-of-type{
  margin-right: 0;
}
@media (max-width: 998px) {
    .small-img {
        width:340px
    }
}
@media (max-width: 830px) {
    .small-container {
        width: 255px
    }

    .small-img {
        width: 280px
    }
}
@media (max-width: 778px) {
    .small-container {
        width: 255px
    }
    .small-img {
        width: 280px
    }
}
@media (max-width: 830px) {
    #big-img {
        display: none
    }
}
@media (max-width: 360px) {
    .small-container {
        width: 208px
    }
    .small-img {
        width: 230px
    }
}
@media (max-width: 305px) {
    .small-container {
        width: 187px
    }
    .small-img {
        width: 208px
    }
}