













#example2 {
  padding: 0;
  position: relative;
  overflow: hidden;
}
#example2 .viewport {
  position: relative;
  width: 100%;
  height: 150px;  /* you can define the height you want */
  overflow: hidden;
}

#example2 .buttons {
  display: block;
  position: absolute;
  line-height: 150px; /* in this case we use some height of viewport */
  width: 30px;
  top: 0; 
  text-align: center;
  z-index: 1;
  background-color: #FFF;
  border: 0;

}

#example2 .buttons i {
  font-size: 18px;
  color: #000;
  line-height: 150px;
}

#example2 .buttons:hover {
  background-color: #F3F3F3;
}

#example2 .overview {
  position: absolute;
  padding: 0 25px;
  margin: 0;
  left: 0;
  top: 0;
}

#example2 .overview ul {
  clear: both;
  list-style: none;
  height: 150px;
  padding: 0;
  line-height: 0;
}

#example2 li {
  display: inline-block;
  float: left;
  margin: 0 5px;
  height: 150px;
	width: 246px;
}

#example2 li img {
  width: auto;
  height: 100%;
}

#example2 .buttons.prev {
  left: 0;     /* if you're using 'x' axis */
  background:#fff url(../imgs/button-previous.png) center center no-repeat;
  cursor:pointer;
  
}
#example2 .buttons.next {
  right: 0;    /* if you're using 'x' axis */
   background:#fff url(../imgs/button-next.png) center center no-repeat;
     cursor:pointer;
}







