.gallery{
    position: relative;
    width: 575px;
    margin: 0 auto;
}
.gallery_container{
    margin-bottom: 25px;
    position: relative;
	overflow: hidden;
}

.gallery-list{
    position: relative;
    left: 0;
    width:100%;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
	overflow: visible;
}

.gallery-list{
    position: relative;
    left: 0;
    width:100%;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}
.gallery-list-item {
    position:relative;
    display: inline-block;
    opacity: .70;
    cursor: pointer;
    vertical-align: top;
    white-space: normal;
}
.gallery-list-content{
    position: relative;
    height:0;
    opacity:0;
    min-height: 20px;
    overflow:hidden;
    font-size: 13px;
    line-height: 20px;
}

.gallery-list-img {
    display: block;
}
.gallery-list-text {
    font-size: 15px;
    line-height: 20px;
}
.gallery-list-author {
    color: #888;
    font-style: italic;
}
.gallery-list-counter {
    position: absolute;
    right: 20px;
    top: 0;
    font-family: 'Grotesk Demi', Helvetica, Arial, sans-serif;
}
.gallery-item_active {
    opacity: 1;
    cursor: default;
}
.gallery-item_active .gallery-list-content {
    height:auto;
    opacity:1;
}
.gallery-control {
    position: absolute;
    display: block;
    top: 159px;
    width: 12px;
    height: 50px;
    /*opacity:0;*/
    cursor: pointer;
    z-index: 1;
    -webkit-border-radius: 45px;
       -moz-border-radius: 45px;
            border-radius: 45px;
    -webkit-transition: opacity .2s ease;
       -moz-transition: opacity .2s ease;	    
            transition: opacity .2s ease;
}

.gallery:hover .gallery-control{
    opacity:1;
}

.gallery-control:active{
    opacity:.6 !important;
}
.gallery-control_prev {
    left: -37px;
    background-position:center left;
	background:url(left.png) center center no-repeat;
}
.gallery-control_next {
    right: -37px;
    background-position:center right;
	background:url(right.png) center center no-repeat; 
}
.gallery-item_active+li{
opacity: .25 !important;
}
.gallery-control_prev:hover {
    background:url(left_hover.png) center center no-repeat;
    background-position:center right;
}
.gallery-control_next:hover {
    background:url(right_hover.png) center center no-repeat;
    background-position:center left;
}
.gallery_first_slide .gallery-control_prev,
.gallery_last_slide .gallery-control_next {
    display:none;
}
.gallery-list
{
	margin: 0;
}
.scroll-track,
.scroll-track_bar {
    width:10px;
    display:block;
    border-radius:10px;
    position:absolute;
}
.scroll-track {
    overflow:hidden;
    background:#eee;
    background:rgba(0, 0, 0, 0);
    top:1px;
    right:1px;
    bottom:1px;
    z-index: 10;
    -webkit-transition: background .4s;
       -moz-transition: background .4s;
        -ms-transition: background .4s;
            transition: background .4s;
}
.scroll-track_held,
.scroll-track:hover {
    background:rgba(0, 0, 0, 0.12);
    -webkit-transition: background .1s;
       -moz-transition: background .1s;
        -ms-transition: background .1s;
            transition: background .1s;
}
.scroll-track_bar {
    background:#888;
    background:rgba(0, 0, 0, .2);
    top:0;
    left:0;
    opacity:0;
    -webkit-transition: opacity .4s;
       -moz-transition: opacity .4s;
        -ms-transition: opacity .4s;
            transition: opacity .4s;
}
.scroll-track_bar:hover,
.scroll-track:hover .scroll-track_bar,
.scroll-track_held .scroll-track_bar,
.scroll-track_visible .scroll-track_bar {
    opacity:1;
    -webkit-transition: opacity .1s;
       -moz-transition: opacity .1s;
        -ms-transition: opacity .1s;
            transition: opacity .1s;
}
@media screen and (max-width: 800px) {
    .gallery_container,
    .gallery {
        width: 100% !important;
    }
    .gallery_container {
        height: auto !important;
    }
    .gallery-control {
        top: 45% !important;
    }
    .gallery-list .js-slide-list {
        margin: 0 !important;
    }
    .gallery-list-img {
        width: 100% !important;
        height: auto !important;
    }
    .gallery-control_next {
        right: 10px;
    }
    .gallery-control_prev {
        left: 10px;
    }
}
