/* ------ CUSTOM STYLES ------ */

.content{
    position: relative;
}
.story-viewer {
    direction: ltr !important;
    text-align: left;
}

#stories-wrapper {
    width: 100%;
    overflow: hidden;
    direction: ltr;
}

#stories {
    direction: ltr;
    text-align: left;
    padding: 20px;
    overflow: unset !important;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -o-text-size-adjust: none;
    text-size-adjust: none;
    width: max-content;
    touch-action: none
}

#zuck-modal-content .story-viewer .slides .item > .media {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
}

@media (max-width: 1024px) {
    #zuck-modal-content .story-viewer .slides .item > .media {
        background-size: cover;
    }

    #zuck-modal-content .story-viewer .head .left .time, #zuck-modal-content .story-viewer .head .right .close {
        display: inline-block !important;
    }

    #zuck-modal-content .story-viewer .head .left > div {
        line-height: unset !important;
    }

    #zuck-modal-content .story-viewer .head .item-preview {
        width: 42px !important;
        height: 42px !important;
    }
}

#zuck-modal-content .story-viewer .head .left .info {
    max-width: 60vw !important;
}

.stories.carousel .story > .item-link > .info {
    display: none !important;
}

#zuck-modal-content .story-viewer .head .info {
    direction: rtl;
}

#zuck-modal-content .story-viewer .head .info .author, #zuck-modal-content .story-viewer .head .info .time {
    float: left;
}

#zuck-modal-content .story-viewer .head .info .time {
    margin-left: 10px;
}

@keyframes bounce {
    0% {
        opacity: 0;
        transform: translate(-50%, 0%);
    }
    50% {
        opacity: 1;
        -webkit-transform: translate(-50%, -75%);
    }
    100% {
        opacity: 0;
        -webkit-transform: translate(-50%, 0%);
    }
}


#zuck-modal-content .story-viewer .slides .item.active .tip.link {
    border-radius: 0;
    background: url(../images/swipe_up.png);
    width: 50px;
    height: 70px;
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 0;
    animation: bounce 2s ease-in-out;
    animation-iteration-count: infinite;
}

#zuck-modal-content .story-viewer .statistics {
    z-index: 100030;
    bottom: 16px;
    left: 16px;
    text-align: center;
    width: 100%;
    position: absolute;
}

#zuck-modal-content .story-viewer .statistics div {
    float: left;
    margin-right: 10px;
}

#zuck-modal-content .story-viewer .statistics div i {
    font-size: 22px;
    display: block;
}

#zuck-modal-content .story-viewer .statistics div span {
    display: block;
    text-align: center;
}