.feed-story-wall{
    padding: 10px;
    border-top: 1px solid #e0e0e0;
}
.feed-story-wall label{
    margin-right: 15px;
    display: inline-block!important;
}
.feed-story-wall label input[type="radio"]{
    margin-right: 5px;
}
.item-add-story{
    display: block;
    /*margin-bottom: 10px;*/
    cursor: pointer;
}

/*detail*/
.title-story .close span, .title-story button.close{
    display: inline-block;
    width: inherit!important;
    right: 0;
}
.title-story .dropdown button{
    border: none;
    background: none;
    color: #fff;
}
.title-story .story-close-icon{
    opacity: 1;
    float: none;
    text-shadow: none;
}
.story-content{
    position: relative;
}
.story-content img{
    max-height: 100%;
    max-width: 100%;
    width: 100%;
}
.story-content .div_single{
    max-height: 100%!important;
    background-color: none;
}
.story_photo_img{
    vertical-align: middle;
    text-align: center;
    width: 100%;
}
.story_photo_img .feed-background{
    border-radius: 10px;
}
#story_right_arro_lgw{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 70px;
    z-index: 100;
}
#story_left_arrow_lg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 70px;
    z-index: 100;
}
#story_right_arro_lgw i, #story_left_arrow_lg i {
    position: absolute;
    top: 50%;
    font-size: 40px!important;
    color: #fff;
    left: 50%;
    transform: translate(-50%, -50%);
}
.story-avatar img{
    border-radius: 100%;
}
.story_on_view .close{
    display: none!important;
}
.story-tag-wrapper{
    position: relative;
}
.story-action{
    position: absolute;
    bottom: 0;
    margin: 20px;
    font-size: 12px;
    text-align: left;
    color: #000;
    /*background: rgba(0, 0, 0, 0.3);*/
    /*font-weight: bold;*/
    left: 0;
    right: 0;
    font-size: 13px;
    z-index: 101;
}
.story-like-action a{
    color: #000;
    padding: 0 7px 0 0;
    /*font-weight: bold;*/
    font-size: 13px;
    vertical-align: middle;
    margin-right: 5px;
}
.story-like-action .react-btn span{
    color: #fff!important;
}
.story-action .react-btn i{
    color: #fff!important;
}
.story-like-action > a i {
    color: #fff;
    font-size: 14px;
    vertical-align: top;
}
.story-like-action > a.active i {
    color: #FB7923;
}
.story-like-action > a > span {
    display: inline-block;
    line-height: 1;
}
.story-content .comment_message_text{
    min-height: 100px;
}
#list_stories_widget .view-more{
    text-align: left;
}
#list_stories_widget .viewMoreBtn{
    border: none !important;
    background: none;
    box-shadow: none;
    margin-top: 5px;
    padding: 0!important;
}

#StoriesModal .modal-body {
    padding: 0;
    position: relative;
    z-index: 6;
}
#page_Feedstories-view .story-content img ,
#StoriesModal .story-content img {
    border-radius: 8px;
}
#page_Feedstories-view .story-content .comment_message ,
#StoriesModal .story-content .comment_message {
    position: absolute;
    bottom: 50px;
    color: #fff;
    padding: 0 10px;
    font-size: 15px;
    z-index: 10;
    left: 0;
    right: 0;
}
#story_photo_wrapper .info {
    display: none;
}
#page_Feedstories-view .title-modal.title-story ,
#StoriesModal .title-modal.title-story {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 101;
    right: 0;
    background: none;
    padding: 20px;
}
.story-content .activity_item {
    background: unset;
}
#page_Feedstories-view div#story-content ,
#StoriesModal div#story-content {
    position: relative;
    background-color: #ececec;
    border-radius: 10px;
    overflow: hidden;
}
#page_Feedstories-view .story-gradient ,
#StoriesModal .story-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( #000000, #000000,#251818 );
    z-index: 5;
    opacity: 0.1;
    border-radius: 10px;
}
#page_Feedstories-view .story-info .title,
#StoriesModal .story-info .title {
    color: #fff;
}
#page_Feedstories-view .story-info .extra_info,
#StoriesModal .story-info .extra_info {
    color: #eee;
    font-size: 13px;
}
#page_Feedstories-view .story-avatar .user_avatar_large ,
#StoriesModal .story-avatar .user_avatar_large {
    width: 40px;
    height: 40px;
}
#page_Feedstories-view div#story-content .title-story .close span,
#StoriesModal div#story-content .title-story .close span {
    font-size: 20px !important;
    color: #fff;
}
#StoriesModal div#story-content .material-symbols-outlined notranslate {
    font-size: 20px !important;
}
.title-story .progress{
    margin-bottom: 15px;
    height: 5px;
    background-color: rgba(255, 255, 255, .5);
}
.title-story .progress-bar{
    background-color: rgba(255, 255, 255, .9);
}
#page_Feedstories-view .story-content.story_no_image .comment_message.comment_message_text ,
#StoriesModal .story-content.story_no_image .comment_message.comment_message_text {
    position: absolute;
    bottom: auto;
    color: #000;
    padding: 0 10px;
    font-size: 15px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 0;
}
.story-content .video-description{
    display: none;
}
#page_Feedstories-view .story-content .activity-title,
#StoriesModal .story-content .activity-title{
    /*padding-top: 25vh;*/
    z-index: 10;
}

    background-color: #ececec;
#StoriesModal .story-content .activity-title {
    position: absolute;
    z-index: 7;
    width: 100%;
}
section#StoriesModal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
}
.modal-backdrop.in {
    opacity: 0.9;
}
.video-feed-body.feedstory {
    z-index: 6;
    position: relative;
}
.activity_item.feedstory {
    position: relative;
    z-index: 6;
    border: none;
    padding: 0;
    align-items: center;
    display: flex;
    overflow: hidden;
    min-height: 25vh;
}
.video-feed-body.feedstory {
    align-items: center;
    display: flex;
}
.story-content .wall_post_link_wrap {
    flex-grow: 1;
    padding: 20px;
}
.story_on_view.wall_post_link .activity-title,
.story_on_theater.wall_post_link .activity-title {
    padding-top: 16vh;
}
.activity_item.feedstory .activity_right {
    margin-bottom: 0;
    /*background: #F5F5F5;*/
}

#StoriesModal .modal-dialog, #StoriesModal .modal-content {
    border-radius: 10px;
    background: #3a3b3c;
    border-color: #3a3b3c;
}
#page_Feedstories-view .wall_post_link_image > img ,
#StoriesModal .wall_post_link_image > img {
    border-radius: 0;
}
#page_Feedstories-view .div_single ,
#StoriesModal .div_single {
    position: absolute;
    top: 0;
    bottom: 0;
    align-items: center;
    display: flex;
    text-align: center;
    left: 0;
    right: 0;
}
.feed-story-wall{
    position: relative;
    z-index: 10;
}
.story_on_theater .open>.dropdown-menu ,
.story_on_view .open>.dropdown-menu {
    display: block;
    right: 0;
    left: auto;
}
#page_Feedstories-view .story-content.story_no_image .wall_post_link_wrap .wall_post_link_image img {
    max-height: 100%;
    max-width: 100%;
    float: none;
    width: auto;
}


/*widget*/
.box-story-widget{
    padding: 0px;
    border: 1px solid #ccc;
}
.block-story-item{
    display: inline-block;
    margin: 0px 5px;
    cursor: pointer;
}
.block-story-item  a.st-link{
    display: block;
    width: 100%;
    height: 100%;
}
.block-story-item .st-item{
    border-radius: 10px;
    width: 115px;
    height: 200px;
    position: relative;
    border: 1px solid #ddd;
}
.block-story-item .st-item .feedWrapStatusBg{
    border-radius: 10px;
}
.wg-st-text{
    background:rgba(0,0,0,0.2);
}
.st-small-avatar{
    background-size: cover;
    background-position: center center;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #1876f2;
    z-index: 10;
    left: 8px;
    top: 8px;
    width: 40px;
    height: 40px;
}
.st-small-avatar span{
    color: #247BBA;
    font-size: 25px;
    line-height: 35px;
    text-align: center;
    display: block;
}
.st-name{
    position: absolute;
    z-index: 10;
    bottom: 10px;
    padding: 0 5px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    font-size: 14px;
    font-weight: bold;
}
.st-text-content{
    text-align: center;
    margin-top: 30px;
    color: #fff;
    position: absolute;
    top: 20px;
    left: 10px;
    font-family: Roboto, sans-serif;
    width: 90px;
    overflow: hidden;
}
.feedWrapStatusBg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 17px;
}
.feedStoryBg ,
.storyBGWrap {
    width: 100%;
    height: 100%;
    display: block;
    background-position: center;
    background-size: cover;
    border-radius: 17px;
}
.st-view-all{
    float: right;
    line-height: 40px;
    margin-right: 15px;
    font-weight: 700;
}
.stories_widget_wrapper{
    position: relative;
    padding: 10px;
    background-color: #fff;
}
.stories_widget_wrapper .stories_widget{
    overflow: auto;
    scroll-behavior: smooth;
    display: flex;
    padding-bottom: 10px
}
.stories_widget_wrapper .stories_widget::-webkit-scrollbar {
    height: 8px;
}
.stories_widget_wrapper .stories_widget::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 100px;
}
.stories_widget_wrapper .stories_widget::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 100px;
}
@media (min-width: 992px) {
    .feed_gradient {
        background: #000;
        bottom: 100%;
        left: 0;
        opacity: 0;
        position: fixed;
        right: 0;
        top: 0;
        transition: opacity .3s, bottom 0s .3s;
        z-index: 310;
    }
    .feed_gradient.open {
        bottom: 0%;
        opacity: .6;
        transition: opacity .3s;
    }
    div#status_box.active {
        background: #fff;
        border-radius: 3px;
        padding: 0;
    }
    .statusHome.active #wallForm {
        position: relative;
        z-index: 311 !important;
        background: #fff;
    }
    .body-dark .statusHome.active #wallForm {
        background: #18191a;
    }
    a#closeStastusBox {
        display: none;
    }
    .active a#closeStastusBox {
        display: inline-block;
        position: absolute;
        top: -15px;
        right: -11px;
        width: 30px;
        height: 30px;
        background: #fff;
        text-align: center;
        line-height: 27px !important;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
        border-radius: 50%;
    }
    #closeStastusBox i.material-symbols-outlined.notranslate {
        font-size: 19px;
    }
}
@media (min-width: 768px) {
    #page_Feedstories-view div#story-content {
        width: 450px;
        height: 600px;
    }
    #StoriesModal .modal-dialog {
        width: 450px;
    }
    .story-content .feed-background {
        height: 90vh !important;
        border-radius: 8px;
    }
    #page_Feedstories-view .feed-background {
        height: 600px !important;
    }
    #page_Feedstories-view .story-content.story_no_image {
        min-height: 600px;
        width: 100%;
    }
    #StoriesModal .story-content.story_no_image {
        /*min-height: 800px;*/
    }
    #page_Feedstories-view .story-content {
        width: 450px;
        min-height: 600px;
    }
    #StoriesModal .story-content {
        min-height: 90vh;
    }
    .video-feed-body.feedstory ,
    .activity_item.feedstory {
        position: absolute;
        top: 0;
        bottom: 0;
    }
    .activity_item.feedstory {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .video-feed-body.feedstory {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    #page_Feedstories-view .div_single > img ,
    #StoriesModal .div_single > img {
        flex-grow: 1;
    }
    #page_Feedstories-view .bar-content > div {
        border: none;
        background: none;
        padding: 0;
        height: 600px;
        margin: 30px auto;
        width: 450px;
    }
    #StoriesModal .story-content.story_no_image .comment_message.comment_message_text {
        max-height: 600px;
        overflow: auto;
        line-height: initial;
    }
    #page_Feedstories-view .story-content.story_no_image .comment_message.comment_message_text{
        max-height: 500px;
        overflow: auto;
        line-height: initial;
    }
    #page_Feedstories-view .story-content .comment_message:not(.comment_message_text) ,
    #StoriesModal .story-content .comment_message:not(.comment_message_text) {
        max-height: 450px;
        overflow: auto;
        line-height: initial;
    }
}
@media (max-width: 991px) {
    .wall_post_link_image > img.img_wrapper2 {
        float: none; 
    }
    #page_Feedstories-view div#story-content ,
    section#StoriesModal {
        width: 320px;
        margin: auto;
    }
    #page_Feedstories-view .bar-content > div {
        background: none;
        border: none;
        margin: 0 auto;
    }
    #page_Feedstories-view div#story-content{
        margin-top: 15px;
    }
    #page_Feedstories-view .bar-content.full_content.p_m_10 {
        background: none;
    }
    #page_Feedstories-view .story-content ,
    #StoriesModal .story-content {
        min-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    section#StoriesModal {
        overflow: visible;
    }
    a#closeStastusBox {
        display: none;
    }
    #story-tag-wrapper .feed-background-content {
        font-size: 15px !important;
    }
    #page_Feedstories-view .story-content.story_no_image .comment_message.comment_message_text ,
    #StoriesModal .story-content.story_no_image .comment_message.comment_message_text {
        max-height: 250px;
        overflow: auto;
        line-height: initial;
        width: 200px;
        margin: 0;
    }
    #page_Feedstories-view .story-content .comment_message:not(.comment_message_text) ,
    #StoriesModal .story-content .comment_message:not(.comment_message_text) {
        max-height: 250px;
        overflow: auto;
        line-height: initial;
        width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /*.box-story-widget .block-story-item:nth-of-type(1n+5) {*/
        /*display: none;*/
    /*}*/
}
@media (max-width: 500px) {
    .block-story-item .st-item{
        width: 90px;
        height: 150px;
    }
    .st-text-content{
        width: 65px;
        font-size: 11px;
    }
    .st-name{
        font-size: 12px;
    }
}

.item-add-story .st-item .avatar {
    background-size: cover;
    background-position: center center;
    border-radius: 9px 9px 0 0;
    height: 75%;
}

.item-add-story .st-item .avatar .overlay {
    background-image: linear-gradient(0deg,rgb(0 0 0 / 40%),transparent);
    width: 100%;
    height: 100%;
}
.item-add-story .st-item .add-story {
    text-align: center;
    position: relative;
    height: 25%;
}
.item-add-story .st-item .add-story .wrap-plush {
    position: absolute;
    border-radius: 50%;
    border: 3px solid #ffffff;
    z-index: 10;
    width: 40px;
    height: 40px;
    top: -20px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    background: #1876f2;
}
.item-add-story .st-item .add-story .wrap-plush span {
    color: #ffffff;
    font-weight: bold;
    line-height: 35px;
    text-align: center;
    display: block;
    font-size: 20px;
}
.item-add-story .st-item .add-story .add-text {
    z-index: 10;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10%;
}
.story-user-wrap{
    display: flex;
    align-items: flex-start;
    z-index: 10;
}
.story-user-wrap .story-user{
    flex-grow: 1;
    display: flex;
}
.story-user-wrap .story-user .story-info{
    margin-left: 10px;
}
.story-action-wrap{
    display: flex;
    align-items: center;
}
#page_Feedstories-view #story-content .modal-body {
    padding: 0;
}
.story_on_theater .reaction-review.item-reaction-review {
    position: absolute;
    bottom: 23px;
    margin: 20px;
    font-size: 12px;
    text-align: left;
    color: #000;
    left: 0;
    right: 0;
    font-size: 13px;
    z-index: 101;
}

.story_on_theater .item-reaction-review .reaction-review-main {
    border-bottom: 1px solid rgba(204, 204, 204, 0.6);
    padding-bottom: 5px;
}
.story-action.like-action .reacts {
    left: 0px !important;
}
.body-dark .stories_widget_wrapper{
    background-color: #242526;
}
.body-dark .feed-story-wall{
    border-top: 1px solid #3e4042;
}
.body-dark .statusHome.active .feed-story-wall{
    color: #a8aab1;
    border-top: 1px solid #000000;
}
.body-dark .block-story-item .st-item {
    background: #242526;
    border-color: #3a3b3c;
}
.body-dark .stories_widget_wrapper .stories_widget::-webkit-scrollbar-track {
    background: #3a3b3c;
}
.body-dark .stories_widget_wrapper .stories_widget::-webkit-scrollbar-thumb {
    background: #18191a;
}
.body-dark #page_Feedstories-view div#story-content, 
.body-dark #StoriesModal div#story-content{
    background-color: #242526;
}
.body-dark #page_Feedstories-view .story-content.story_no_image .comment_message.comment_message_text, 
.body-dark #StoriesModal .story-content.story_no_image .comment_message.comment_message_text{
    color:#fff;
}


.story-action.like-action span {
    /*color: #000; */
}
.story-action.like-action.b000000 span,
.story-action.like-action.b008001 span {
    color: #fff;   
}
.story-action.like-action.b000000 .story-like-action a, 
.story-action.like-action.b000000 .story-like-action span,
.story-action.like-action.b008001 .story-like-action a, 
.story-action.like-action.b008001 .story-like-action span,
.body-dark .story-like-action a,
.body-dark .story-like-action span {
    color: #fff;
}
.story-action.like-action.b000000 .story-like-action a.active span,
.story-action.like-action.b008001 .story-like-action a.active span,
.body-dark .story-like-action a.active span {
    color: #2d88ff;
}
.body-dark .item-add-story .st-item .add-story .wrap-plush{
    border-color: #242526;
}


/* rtl */
[dir="rtl"] section#StoriesModal {
    left: unset;
    right: 50%;
    transform: translate(50%, -50%);
}

/* video */

.story-content .video-feed-content {
    min-height: 80vh;
    margin: 0 !important;
}

#storyUploadVideoActivityForm {

}

#storyUploadVideoActivityForm .qq-upload-button {
    width: auto !important;
    height: auto !important;
    background: none;
}

#storyUploadVideoActivityForm .upload-section {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: auto;
    padding: 0;
    text-align: center;
}

#storyUploadVideoActivityForm .upload-section i {
    font-size: 20px;
    color: #999;
    vertical-align: middle;
    margin: 0;
    cursor: pointer;
}

#feedstory_video_pc_feed_preview #video_upload_preview .video_thumb .spinner {
    left: 82px !important;
    top: 72px !important;
}

#feedstory_video_pc_feed_preview #video_upload_preview .left {
    float: left;
}

#feedstory_video_pc_feed_preview #video_upload_preview .right {
    margin-left: 170px;
}

#feedstory_video_pc_feed_preview #video_upload_preview .video_thumb {
    width: 164px;
    height: 144px;
    background: #000;
    line-height: 138px;
    text-align: center;
    color: #9b9b9b;
    font-size: 40px;
    position: relative;
}

#feedstory_video_pc_feed_preview #video_upload_preview .video_thumb img {
    width: 100%;
}


#feedstory_video_pc_feed_preview #video_upload_preview.video_thumb_target .right textarea {
    min-height: 104px !important;
}

#feedstory_video_pc_feed_preview #video_upload_preview .right textarea {
    min-height: 60px !important;
}

#feedstory_video_pc_feed_preview #video_upload_preview .right > div {
    margin-bottom: 8px;
}

#feedstory_video_pc_feed_preview #video_upload_preview .right input#title {
    font-weight: bold;
}

.video-upload-render video {
    background-color: #000;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.video-detail .video-upload-render video {
    width: 100%;
    height: 100%;
}

.video-feed-content .video-upload-render video {
    width: 100%;
    height: 100%;
}

@media (max-width: 480px) {
    .video-feed-content .video-upload-render video {
        max-width: 100%;
        min-height: 100%;
        object-fit: fill;
        height: auto;
    }
}

#triggerUpload.video-upload {
    margin: 0;
    box-shadow: none;
}

.video-thumbnail {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin: 30px;
}

.video-thumbnail:before {
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    content: "\f01d";
    font-family: FontAwesome;
    font-size: 100px;
    color: #fff;
    opacity: .8;
    text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
}

.close-upload-video {
    padding: 4px 8px;
    margin: 8px 0;
    border: 1px solid #ccc;
    display: inline-block;
    color: gray;
}

#feedstory_video_pc_feed_preview {
    border-top: 1px solid #e0e0e0;
}

.video-feedstory.activity_feed_message {
    color: white;
}