/* peter's code, hide profile 'public' option */
.profile .field-visibility-settings .bp-radio-wrap {
    display: none;
}

.profile .field-visibility-settings .bp-radio-wrap~.bp-radio-wrap {
    display: inline-block;
}
.bb-bp-settings-content .bp-xprofile-visibility option[value="public"] {
    display: none;
}
.ac-warning{
    padding:0 10px;
}
.suspended-comment-item{
    display: none;
}
/*  */

.lw_stream_container {
    display: flex;
    margin: auto;
}

.border-radius {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px rgba(61, 60, 60, 0.51) solid;
}

.bg-black {
    background-color: black;
}

.fluid-width-video-wrapper {
    margin: 0 !important;
    max-width: 70%;

}


#lw_stream_cometchat {
    height: 100%
}

.lw_cometchat_container {
    flex: 1;
}

.app__wrapper {
    flex-direction: column-reverse !important;
}

@media (max-width: 773px) {
    .lw_stream_container {
        flex-direction: column;
        height: 100%;
    }
    #lw_model_container{
        width: 100% !important;
    }
    .lw_widget_container {
        position: relative;
        /*height:calc(100vh - 7.625rem);*/
        height: 100vh;
        width: 100vw;
        top: 0;
        left: 0;
        z-index: 1000;
        padding: 0.25rem;
        margin: 0;
    }

    body.admin-bar .lw_widget_container {
        height: calc(100vh - 46px);
    }

    .lw_stream_back {
        position: absolute;
        top: 1rem;
        left: 1rem;
        z-index: 999;
        padding: 0;
        background-color: transparent;
        border: none;
    }

    .fluid-width-video-wrapper {
        max-width: 100%;
    }
    .public-stream {
        position:relative;
        top:50%;
        transform: translateY(-50%);
    }
}

/*
style for chat on footer
*/
.chat__hide .app__messenger {
    display: none;
}

.chat_container {
    display: flex;
    z-index: 2;
}

.chat_item {
    flex: 1;

}

#cometchat4 {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 22.5rem
}

#cometchat3 {
    position: fixed;
    bottom: 0;
    right: 22.5rem;
    width: 22.5rem
}

#cometchat2 {
    position: fixed;
    bottom: 0;
    right: 45rem;
    width: 22.5rem
}

#cometchat1 {
    position: fixed;
    bottom: 0;
    right: 67.5rem;
    width: 22.5rem
}

#cometchat5 {
    display: none;
}

.app__wrapper {
    flex-direction: column-reverse;
}

.chat__hide .item__hide {
    display: none;
}

@media (max-height:45rem) {
    .chat_container {
        z-index: 1111;
    }
}
@media (max-height:700px) {
   .app__messenger{
    height:calc(100vh - 50px) !important;
   }
}
@media (max-width: 45rem) {
    #cometchat2 {
        display: none;
    }

    #cometchat3 {
        display: none;
    }

    #cometchat1 {
        display: none;
    }


}

@media (max-width: 769px) {
    #cometchat2 {
        display: none;
    }

    #cometchat1 {
        display: none;
    }

    .lw-tv-overlay .app__launcher {
        display: none;
    }
}

@media (max-width: 1200px) {
    #cometchat2 {
        display: none;
    }

    #cometchat1 {
        display: none;
    }
}

@media (max-width: 92rem) {

    #cometchat1 {
        display: none;
    }
}

/* 
for single window not multi window
*/

.app__wrapper {
    display: flex;
    flex-direction: row-reverse;
}

.lw-hide {
    display: none;
}

/* css for live stream */

/* just for test by roy */
#lw_model_content {
    background-color: #151515;
    border-radius: 0;
}

.lw_widget_container {
    padding: 0;
    margin-top: 0;
}



@media (max-width: 1298px) {
    #lw_model_content {
        padding: 0 !important;
    }

    #close_lw_model {
        z-index: 1001 !important;
    }
    /**
        For vlog page. Add these line for reversing the main and aside, and make the aside elements from vertical
        on desktop to horizontal on mobile.
        hide the last element as it should be in the bottom. Start.
     */
    body.has-sidebar .site-content-grid{
        flex-direction: column-reverse;
       
    }

    body.has-sidebar #secondary-right{
        overflow-x: auto;
    }
    body.has-sidebar #secondary-right .bb-sticky-sidebar{
        display: flex;
        flex-direction: row;
        width:fit-content;
        gap: 10px;
    }
    body.has-sidebar #secondary-right .bb-sticky-sidebar div, body.has-sidebar #secondary-right .bb-sticky-sidebar aside{
        margin-bottom: 0;
    }
    body.has-sidebar #secondary-right .bb-sticky-sidebar #custom_html-2{
        display: flex;
        align-items: center;
        width:260px;
    }
    body.has-sidebar #secondary-right .bb-sticky-sidebar #custom_html-3{
        width: 260px;
    }
    body.has-sidebar #secondary-right .bb-sticky-sidebar #custom_html-4, body.has-sidebar #secondary-right .bb-sticky-sidebar #bp_core_whos_online_widget-2{
        width: 260px;
    }
    body.has-sidebar #secondary-right .bb-sticky-sidebar #custom_html-4 .lw_see_all_birthday{
        display: none;
    }
    body.has-sidebar #secondary-right .bb-sticky-sidebar .tribe-compatibility-container{
        width: 260px;
    }
    body.has-sidebar #secondary-right .bb-sticky-sidebar .tribe-compatibility-container .tribe-events-widget{
        height: 100%;
    }

    /**
      finish
     */
}

/* hide private message component */
#header-messages-dropdown-elem,
#send-private-message {
    display: none !important;
}

/*hide member tab in groups*/
#members-groups-li.bp-groups-tab,
#albums-groups-li.bp-groups-tab {
    display: none;
}

/* .bb-profile-grid .member-media .bp-navs .subnav #albums-personal-li {
    display: none;
} */

.sub-menu #members-groups-li {
    display: none !important;
}

@media (min-width: 800px) {
    .site-content-grid .widget-area:not(.widget-area-secondary) {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .category-support-and-resources .content-area .first .post-inner-wrap {
        flex-flow: row wrap;
    }
}

@media (max-width: 799px) {
    .category-support-and-resources .content-area .hentry.first .post-inner-wrap {
        flex-flow: row wrap;
    }
}

@media (min-width: 800px) {
    .category-support-and-resources .content-area .post-grid article.lg-grid-1-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .category-support-and-resources .content-area .post-grid article.lg-grid-2-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .category-support-and-resources .content-area .post-grid article.lg-grid-1-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1299px) {
    .category-support-and-resources .content-area .post-grid article.lg-grid-1-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .site-content-grid .widget-area:not(.widget-area-secondary) {
        flex: 0 0 300px;
        max-width: 300px;
    }
}

@media (min-width: 1399px) {
    .category-support-and-resources .content-area .post-grid article.lg-grid-2-3 {
        flex: 0 0 66.66%;
        max-width: 66.66%;
    }

    .category-support-and-resources .content-area .post-grid article.lg-grid-1-3 {
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
    }
}

/*turn off chat*/
.lw_chat_off #cometchat__widget {
    display: none;
}

/*hide vimeo excerpt url for video details page*/
.lw-video-excerpt {
    display: none;
}

div.post-elements-buttons-item.post-video.video-support {
    display: none !important;
}

/* chat full screen */
#cometchat_full_screen {
    position: relative;
    z-index: 1;
}

/* hide only me */
.bp-has-sidebar-privacy__label-onlyme,
.onlyme {
    display: none !important;
}
/* css for csv export page */

.lw_date_container{
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    gap:1rem;
    flex-wrap: wrap;
    max-width: 25rem;
    margin: auto;
    margin-top: 10rem;
}
.lw_img_admin_alert{
    display: none;
}

/* css for PWA */
#superpwa-sticky-bar{
    max-width: 60rem;
    top:50% !important;
    left: 50% !important;
    transform:translate(-50%,-50%);
}

/* css for profile page notice */
.change-avatar .bp-avatar-status .warning{
    display: none;
}