.stories-item{
    background: #000000;
    position: relative;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.stories-mini_img{
    background: #777 center center / cover no-repeat;
    border-radius: 50%;
}
.stories-mini_img::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: content-box;
    border: #fff 2px solid;
    border-radius: 50%;
    position: relative;
    padding: 6px;
    left: -8px;
    top: -8px;
}
.stories-mini_img,.stories-name{
    position: absolute;
}
.stories-img {
    opacity: .5;
    z-index: 0;
    background: #ccc center / cover no-repeat;
    padding: 75% 0;
    z-index: 0;
}
/* .stories-mini_img.lazy,.stories-img.lazy{
    background: #cccccc!important;
    opacity: .4;
} */

.modal-s{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 51;
}
.modal-s.hidden{
    visibility: hidden;
    transition: .3s;
}
.stories-modal_container {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    transform: translate3d(-50%,-50%,0);
}
.hidden .stories-modal_container{
    transform: translate3d(-50%,-70%,0);
    opacity: 0;
    transition: .3s ease;
}
.js-stories-story{
    z-index: 1;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}
.js-stories-story img{
    display: block;
    max-width: 100vw;
    max-height: 100vh;
    margin: auto;
    border-radius: 15px;
}
.stories-modal_control {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    padding: 15px;
    border-radius: 15px 15px 0 0;
}
.stories-modal_mini{
    width: 35px;
    height: 35px;
    margin: 0 10px 0 0;
    background: #ffffff center / cover no-repeat;
    border-radius: 50%;
}
.stories-modal_name{
    line-height: 35px;
    font-size: 15px;
    letter-spacing: -0.02em;
}
.story-link {
    position: absolute;
    bottom: 30px;
    z-index: 4;
    left: 0;
    right: 0;
    width: 132px;
    margin: auto;
    cursor: pointer;
}
.js-story-prev, .js-story-next,.js-modal_close{
    position: absolute;
    z-index: 5;
    cursor: pointer;
}
.js-story-prev, .js-story-next{
    top: 0;
    bottom: 0;
    margin: auto;
}
.js-modal_close,.js-modal_close_mob{
    top:30px;
    right: 30px;
    border-radius: 50%;
    background: #ffffff url("data:image/svg+xml;charset=UTF-8,%3csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M19.0914 19.3644L6.36353 6.63647' stroke='%23000000'/%3e%3cpath d='M19.0924 6.63609L6.3645 19.364' stroke='%23000000'/%3e%3c/svg%3e ") center / 65% 65% no-repeat;
}
.stories-line_list {
    width: 100%;
}
.stories-h{
    margin: 15px 0 0;
}
.stories-line{
    border-radius: 8px;
    height: 2px;
    width: 100%;
    background: rgba(255,255,255,0.5);
}
.stories-line + .stories-line{
    margin: 0 0 0 10px;
}
.stories-line.prev{
    background: #ffffff;
}
.stories-line.active::before{
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    background: #ffffff;
}
.modal-s:not(.hidden) .stories-line.active::before{
    -webkit-animation: story 10s linear forwards;
    -moz-animation: story 10s linear forwards;
    -o-animation: story 10s linear forwards;
    animation: story 10s linear forwards;
    -webkit-transform-origin: left 0;
    -ms-transform-origin: left 0;
    transform-origin: left 0;
}
.stories-modal_container.mousedown .stories-line.active::before{
    display: none;
}
.stories-mini_img{
    width: 60px;
    height: 60px;
}
@-webkit-keyframes story {
    0%{
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
    }
    100%{
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}
@-moz-keyframes story {
    0%{
        -moz-transform: scaleX(0);
        transform: scaleX(0);
    }
    100%{
        -moz-transform: scaleX(1);
        transform: scaleX(1);
    }
}
@-o-keyframes story {
    0%{
        -o-transform: scaleX(0);
        transform: scaleX(0);
    }
    100%{
        -o-transform: scaleX(1);
        transform: scaleX(1);
    }
}
@keyframes story {
    0%{
        -webkit-transform: scaleX(0);
        -moz-transform: scaleX(0);
        -o-transform: scaleX(0);
        transform: scaleX(0);
    }
    100%{
        -webkit-transform: scaleX(1);
        -moz-transform: scaleX(1);
        -o-transform: scaleX(1);
        transform: scaleX(1);
    }
}


@media (max-width:991px) {
/* @media (max-width:419px) { */
    .stories-item.new{
        background-image: linear-gradient(180deg, #BD2222 0%, #FF5C00 100%);
    }
    .stories-mini_img{
        left: 15px;
        top:15px;
        border-radius: 50%;
    }
    .stories-name{
        left: 10px;
        right: 10px;
        bottom: 34px;
    }
    .js-story-prev, .js-story-next{
        height: 100%;
    }
    .js-story-prev{
        left:0;
        right:50%;
    }
    .js-story-next{
        left:50%;
        right:0;
    }
    .js-story-prev, .js-story-next{
        background:none;
		width: 50%;
    }
    .js-modal_close_mob{
        width: 40px;
        height: 40px;
        margin: 0 0 0 auto;
    }
}
@media (min-width:992px) {
	.stories-img{
		transition:.3s ease-out;
	}
    .stories-item:hover .stories-img{
        opacity: 1;
    }
    .stories-item:hover{
        cursor: pointer;
    }
    .js-story-prev {
        left: -75px;
        transform: rotate(-180deg);
    }
    .js-story-next {
        right: -75px;
    }
    .js-story-prev.disable, .js-story-next.disable{
        opacity: 0.5;
    }
    .stories-carousel{
        margin: 0 0 80px;
    }
    .stories-item {
        width: 16.666666666vw;
        /* max-width: 240px;
        max-height: 360px; */
    }
    .stories-mini_img{
        top:25px;
        left:25px;
    }
    .stories-name{
        bottom: 18px;
        left: 30px;
        right:30px;
    }
    .js-story-prev, .js-story-next,.js-modal_close{
        width: 45px;
        height: 45px;
    }
}
@media (max-width:359px) {
    .stories-modal_name{
        padding-right: 10px;
    }
}
