/* All Forums Landing Page */
.bbp-forum-info {
    margin: auto 0;
}
.bbp-forum-info h2 {
    margin: 0 !important;
}

.bbp-forum-title {
    text-transform: initial;
}
.bbp-forum-title::before {
    content: '';
    display: none;
}

.forum-titles {
    text-transform: capitalize;
}

.forum-titles>.bbp-topic-title {
    visibility: hidden;
}

.bbp-topic-title .bbp-author-avatar .bbp-author-name {
    display: none;
}

.bbp-topics .bbp-body .bbp-topic-title .bbp-author-name {
    display: none;
}

.forum-archive .bbp-body .type-forum {
    display: flex;
    justify-content: space-between;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    margin: 25px 0;
    padding: 30px 15px;
}

.bbp-topics .bbp-body ul {
    border-bottom: #0000002b solid 1px !important;
}

#bbpress-forums .bbp-replies {
    box-shadow: none !important;
    border: none !important;
}

.bbp-body .type-reply {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    width: auto !important;
}

.bbp-body .topic, .bbp-body .reply {
    margin: 25px 5px;
    padding: 25px;
}

.bbp-template-notice.info {background: #65AAC4 !important;opacity: 1 !important;}

.bbp-template-notice:before, .indicator-hint:before {
    content: '' !important;
}

.forum-archive .bbp-body .type-forum a, .bbp-topics a {
    color: #000 !important;
}
.forum-archive .bbp-body .type-forum a:hover, .bbp-topics a:hover {
    text-decoration: none !important;
}
.type-forum h2, .type-topic h2, .type-reply h2 {
    font-size: 32px;
    margin-bottom: 5px;
    color: #53748A;
    margin: 20px 0 5px 0;
}

.type-reply .bbp-reply-form h2 {
    display: none;
}

.forum-list-right {
    display: flex;
    flex-flow: row wrap;
}
.forum-list-right h4 {
    margin: 0 0 10px 0;
}
.forum-list-right h6 {
    margin: 0;
}

.divider {
    width: 100%;
}

.bbp-forum-latest-title {
    margin: auto;
    font-size: 16px;
}

.bbp-topics {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: none !important;
}

.bbp-topics .bbp-body ul {
    border-bottom: #0000002b solid 1px !important;
    font-family: Gilroy-Medium, san-serif;
}

.bbp-topics .bbp-body .bbp-topic-title .bbp-author-name {
    display: none;
}

.bbp-topics .bbp-header .bbp-subscription {
    float: right;
}

    /*.bbp-topics li.bbp-topic-title {*/
/*    width: 45%;*/
/*}*/

.bbp-topic-title .bbp-topic-permalink {
    text-transform: initial;
}

.bbp-replies .bbp-body .bbp-reply-author {
    min-width: 275px;
    text-align: left !important;
}

.bbp-replies .bbp-body .bbp-reply-author .bbp-author-name {
    display: inline !important;
    vertical-align: top;
}

.bbp-replies .bbp-body .cbw-reply-top {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.bbp-replies .bbp-body .bbp-reply-content {
    margin-left: 65px !important;
    margin-top: -40px;
}



#bbpress-forums div.bbp-forum-author img.avatar, #bbpress-forums div.bbp-reply-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar, #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums img.avatar {
    border-radius: 10px;
}

/* Individual Forum Page */
#bbpress-forums {
    width: 100%;
}

.bbp-forum-info #subscription-toggle {
    float: none !important;
    margin: 25px 0;
    display: block;
}

#bbpress-forums a.subscription-toggle {
    text-decoration: none !important;
    background-color: #EE394E;
    cursor: pointer;
    box-sizing: border-box;
    text-transform: none !important;
    color: #fff !important;
    float: none;
    font-weight: 300 !important;
    padding: 5px 30px !important;
    margin: 15px 0;
    border: 0;
    border-radius: 5px !important;
    white-space: normal;
    font-size: 16px !important;
    font-family: Gilroy-Medium, sans-serif;
}
#bbpress-forums a.subscription-toggle:hover {
    background-color: #9C2137;
}

#bbpress-forums .modal-btn:hover {
    background-color: #9C2137;
}

.bbp-forum-info  a.subscription-toggle {
    font-size: 16px;
}

#bbpress-forums div.bbp-topic-tags {
    clear: none;
}

.type-topic {
    /*margin: 15px !important;*/
    border: none !important;
}

/* New Forum Topic */
.bbp-form {
    border: none !important;
}
.bbp-form h2 {
    text-align: center;
    margin-bottom: 25px;
}

#bbpress-forums fieldset.bbp-form input[type=text], #bbpress-forums fieldset.bbp-form select {
    min-height: 50px;
    height: 50px;
}

.overlay {
    background: rgba(255, 255, 255, 0.77);
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
}

/* New Topic Modal */

.cbw-modal {
    visibility: hidden;
}

.cbw-modal_contents {
    background: #FFF;
    -webkit-box-shadow: 0 0 8px 2px rgba(182, 182, 182, 0.75);
    -moz-box-shadow: 0 0 8px 2px rgba(182,182,182, 0.75);
    -o-box-shadow: 0 0 8px 2px rgba(182,182,182,0.75);
    box-shadow: 0 0 8px 2px rgba(182, 182, 182, 0.75);
    width: 75%;
    position: absolute;
    left: 25%;
    margin-left: -16%;
    top: 0;
    min-height: 450px;
    z-index: 100;
}

.cbw-modal-show {
    visibility: visible;
}

.cbw-modal-transition {
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.cbw-modal-show .cbw-modal-transition {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

/* Profile Page */
#buddypress #woffice-bp-sidebar #item-header a img, #buddypress #woffice-bp-sidebar #item-header #item-header-content {
    float: left;
}

#buddypress #woffice-bp-sidebar #item-header #item-header-content .item-meta {
    display: none;
}

#buddypress #woffice-bp-sidebar #item-header #item-header-content h2, #buddypress #woffice-bp-sidebar #item-header #item-header-content p {
    text-align: left;
}
#buddypress #woffice-bp-sidebar #item-header #item-header-content h2 {
    font-size: 28px;
    color: #9c2137;
}

#buddypress #woffice-bp-sidebar {
    box-shadow: none;
}

#buddypress #woffice-bp-sidebar #item-header, #buddypress #woffice-bp-sidebar .main-navs ul li {
    border: none;
    padding: 5px 0;
}

#buddypress #woffice-bp-sidebar .main-navs ul li.current a, #buddypress #woffice-bp-sidebar .main-navs ul li.current a:before {
    background-color: transparent !important;
    color: #EF3A4E;
}

#buddypress #woffice-bp-sidebar .main-navs ul li a:before {
    color: #3c3f4d !important;
}

#buddypress #woffice-bp-sidebar #item-header #item-header-content {
    padding-left: 10px;
}

#buddypress #woffice-bp-sidebar #item-header #item-header-content p {
    padding-top: 5px;
}

#buddypress #woffice-bp-sidebar #item-header #item-header-content .member-header-actions {
    display: none;
}

#buddypress .field_unsubscribe-from-news-alerts input, #buddypress .field_unsubscribe-from-news-alerts .field-visibility-settings-toggle {
    display: none;
}

#main-content #buddypress #item-body {
    box-shadow: none;
}

#main-content #buddypress .bp-subnavs ul li a:before, #main-content #buddypress .dir-navs ul li a:before, .list-styled li:before, #nav-cart-trigger.active, #main-content #buddypress #item-body .bp-subnavs ul li.current a:before, #main-content #buddypress .dir-navs ul li.selected a:before, #content-container .blog-next-page .navigation li.active a, #buddypress #woffice-bp-sidebar #item-header #item-header-content .woffice-member-social li a:hover {
    display: none;
}

#main-content #buddypress .bp-subnavs ul li a, #main-content #buddypress .dir-navs ul li a {
    width: 100%;
}

#main-content #buddypress .bp-subnavs ul li, #main-content #buddypress .dir-navs ul li {
    display: block;
    width: 100%;
    margin: 0;
}

#main-content #buddypress .bp-subnavs ul, #main-content #buddypress .dir-navs ul {
    display: flex;
    justify-content: space-around;
}

body.buddypress .buddypress-wrap h1, body.buddypress .buddypress-wrap h2{
    margin: 15px 0;
    color: #53748A;
}

#main-content #buddypress .bp-subnavs ul li.current a, #main-content #buddypress .bp-subnavs ul li.selected a, #main-content #buddypress .dir-navs ul li.current a, #main-content #buddypress .dir-navs ul li.selected a {
    background: #9c2137;
    color: #fff;
    box-shadow: none;
}

#main-content #buddypress .subnav-filters {
    width: 30%;
    background: none;
}

.cbw-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#main-content #buddypress img.avatar {border-radius: 100%;}

#main-content #buddypress .activity-list.item-list.bp-list .activity-content {
    background: none;
}

#main-content #buddypress .activity-list.item-list.bp-list .activity-content:after, #main-content #buddypress #item-body .bp-list .action {
    display: none;
}

#main-content #buddypress .activity-list.item-list.bp-list .activity-content .activity-header p a {
    color: #9c2137;
}

/* DESKTOP ONLY */
@media (min-width: 768px) {
    .forum-list-right {
        border-left: #0000002b solid 1px;
        justify-content: space-around;
    }
    .divider {
        border-top: #0000002b solid 1px;
    }
    .bbp-forum-latest-title {
        text-overflow: ellipsis;
        height: 22px;
        overflow: hidden;
        max-width: 67%;
        font-size: 16px;
        flex-grow: 4;
    }
    .bbp-forum-latest-author {
        flex-grow: 1;
        padding: 15px 0 15px 35px;
    }
}


/* MOBILE ONLY */
@media (max-width: 767px) {
    .forum-list-right {
        justify-content: space-between;
    }
    .bbp-forum-topic-count {
        width: 33%;
    }
    .bbp-forum-latest-author {
        padding: 15px 0;
    }
    .bbp-forum-reply-count {
        width: 33%;
    }

    .cbw-modal_contents {
        top: 0;
        left: 0;
        bottom: 0;
        width: 95%;
        margin: 0;
    }
    .cbw-modal_close {
        display: block;
    }

    .cbw-modal-transition {
        -webkit-transform: translateX(-0) translateY(150%);
        -moz-transform: translateX(-0) translateY(150%);
        -ms-transform: translateX(-0) translateY(150%);
        transform: translateX(-0) translateY(150%);
    }

    #bbpress-forums a.subscription-toggle {
        font-size: 14px !important;
        display: block;
        margin: 20px 0;
        float: none;
    }
}

@media (max-width: 1139px){
    .cbw-modal:after {
        clear: both;
        content: '';
        display: table;
    }
}