/* Frame */
.frame {
    height: 162px;
    overflow: hidden;
}

.frame ul {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    /*width: 12000px;*/
}

.frame ul li {
    float: left;
    width: 220px;
    height: 100%;
    margin: 0 20px 0 0;
    padding: 0;
}

.frame ul li:last-of-type {
    margin: 0;
}

/* Scrollbar */
.scrollbar {
    margin: 0 0 1em 0;
    height: 2px;
    background: #ccc;
    line-height: 0;
}

.scrollbar .handle {
    width: 100px;
    height: 100%;
    background: #292a33;
    cursor: pointer;
}

.scrollbar .handle .mousearea {
    position: absolute;
    top: -9px;
    left: 0;
    width: 100%;
    height: 20px;
}

/* Pages */
.pages {
    display: inline-block;
    list-style: none;
    margin: 0 15px;
    padding: 0;
    text-align: center;
    position: relative;
    vertical-align: top;
    margin-top: 4px;
    float: none;
    font-size: 18px;
    font-weight: normal;
}

.pages li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    text-indent: -999px;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    background: #303030;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
}

.pages li.active {
    background: #fff;
}

.m-pages-marker li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    text-indent: -999px;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    background: #fff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
}

.m-pages-marker li.active {
    background: none;
    border: 2px solid #fff;
    margin-bottom: -2px;
}

/* Controls */
.controls {
    margin-top: 10px;
    text-align: center;
}

/* One Item Per Frame example*/
.oneperframe {
    height: 300px;
    line-height: 300px;
}

.oneperframe ul li {
    width: 1140px;
}

.oneperframe ul li.active {
    background: #333;
}

/* Crazy example */
.crazy ul li:nth-child(2n) {
    width: 100px;
    margin: 0 4px 0 20px;
}

.crazy ul li:nth-child(3n) {
    width: 300px;
    margin: 0 10px 0 5px;
}

.crazy ul li:nth-child(4n) {
    width: 400px;
    margin: 0 30px 0 2px;
}

/* Effects */
.effects {
    height: 200px;
    line-height: 200px;
    -webkit-perspective: 800px;
    -ms-perspective: 800px;
    perspective: 800px;
    -webkit-perspective-origin: 50% 50%;
    -ms-perspective-origin: 50% 50%;
    perspective-origin: 50% 50%;
    overflow-y: visible;
}

.effects ul {
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.effects ul li {
    position: relative;
    margin: 0 -20px;
    -webkit-transform: rotateY(60deg) scale(0.9);
    -ms-transform: rotateY(60deg) scale(0.9);
    transform: rotateY(60deg) scale(0.9);
    -webkit-transition: -webkit-transform 300ms ease-out;
    transition: transform 300ms ease-out;
}

.effects ul li.active {
    z-index: 10;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.effects ul li.active ~ li {
    -webkit-transform: rotateY(-60deg) scale(0.9);
    -ms-transform: rotateY(-60deg) scale(0.9);
    transform: rotateY(-60deg) scale(0.9);
}

.prevPage,
.nextPage {
    display: inline-block;
    background: url('../img/icon_black_arrow.svg');
    line-height: 12px;
}

.m-prevPage-arrow,
.m-nextPage-arrow {
    position: absolute;
    top: 49px;
    width: 25px;
    height: 60px;
    background: url('../img/slider_btn_bg.png');
}

@media only screen and (max-width: 1070px) {
    .m-prevPage-arrow, .m-nextPage-arrow,
    .prevPage, .nextPage {
        display: none;
    }
}

.controls--blue .m-prevPage-arrow,
.controls--blue .m-nextPage-arrow {
    background: url('../img/slider_btn_bg.png') 0 -70px;
}

.controls--white .m-prevPage-arrow,
.controls--white .m-nextPage-arrow {
    background: url('../img/slider_btn_bg.png') 0 0;
}

.controls--gray .m-prevPage-arrow,
.controls--gray .m-nextPage-arrow {
    background: url('../../pe/img/slider_btn_bg.png') 0 -140px;
}

.m-prevPage-arrow.disabled,
.m-nextPage-arrow.disabled {
    opacity: .5;
    cursor: default;
}

.m-prevPage-arrow {
    left: -40px
}

.m-nextPage-arrow {
    right: -40px;
}

.nextPage {
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.slider_btn_bg {
    background: url('../img/icon_black_arrow.svg') no-repeat;
    width: 32px;
    height: 32px;
    display: inline-block;
}

.slider_btn_disabled {
    background: url('../img/icon_grey_arrow.svg') no-repeat;
    width: 32px;
    height: 32px;
    display: inline-block;
    cursor: default;
}

.prevPage .slider_btn_disabled,
.nextPage .slider_btn_disabled {
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.icon-prev_btn,
.icon-next_btn {
    line-height: 34px;
    font-size: 32px;
}