/*
This is the visible area of you carousel.
Set a width here to define how much items are visible.
The width can be either fixed in px or flexible in %.
Position must be relative!
*/
.carousel-container {
position: relative;
overflow: hidden;
width: 90.2%;
margin: 0 auto;
}
/*
This is the container of the carousel items.
You must ensure that the position is relative or absolute and
that the width is big enough to contain all items.
*/
.carousel-content {
width: 20000em;
position: relative;
/* Optional, required in this case since it's a
element */
list-style: none;
margin: 0;
padding: 0;
}
.jcarousel-prev,
.jcarousel-next {
width: 20px;
height: 47px;
background: url("../images/nav-arrows-dark.png") no-repeat;
opacity: 0.6;
position: absolute;
top: 60px;
z-index: 2;
cursor: pointer;
-webkit-transition: opacity 0.2s ease;
-moz-transition: opacity 0.2s ease;
transition: opacity 0.2s ease;
}
.jcarousel-prev:hover,
.jcarousel-next:hover {
opacity: 1;
}
.jcarousel-prev {
background-size: 40px 47px;
float: left;
margin: 0 30px 0 0;
left: 0;
}
.jcarousel-next {
background-size: 40px 47px;
background-position: top right;
float: right;
margin: 0 0 0 30px;
right: 0;
}