/*--------------------------------------------------------------
This is your custom stylesheet.
Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.
--------------------------------------------------------------*/

.bp-dir-hori-nav .menu-item-has-children{
    position: relative;
}
.bp-dir-hori-nav .menu-item-has-children .sub-menu{
    background: #fff;
    box-shadow: 0 2px 7px 1px rgba(0,0,0,.05), 0 6px 32px 0 rgba(18,43,70,.1);
    border-radius: 4px;
    list-style: none;
    padding: 10px 0;
    position: absolute;
    right: -20px;
    top: 100%;
    margin: 0;
    min-width: 168px;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}
.buddypress-wrap.bp-dir-hori-nav .bp-subnavs ul.sub-menu li{
    margin: 0;
    display: block;
    width: 100%;
    padding: 0;}
.bp-dir-hori-nav .menu-item-has-children .sub-menu a{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 13px;
    font-weight: inherit;
    color: #939597;
    letter-spacing: -0.24px;
    line-height: 1;
    margin-bottom: 1px;
    padding: .75rem .9375rem;
    overflow: hidden;
}
.buddypress-wrap.bp-dir-hori-nav .bp-subnavs ul.sub-menu a:hover {
    background: #F5F5F5;
}
.bp-dir-hori-nav .menu-item-has-children:hover .sub-menu{
    opacity: 1;
    visibility: visible;
}
.bp-dir-hori-nav .menu-item-has-children .sub-menu:after{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    right: 23px;
    border: 7px solid #000;
    border-color: #fff #fff transparent transparent;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-shadow: 2px -3px 3px 0 rgba(0,0,0,.02);
    z-index: 1002;
}
.bp-dir-hori-nav .menu-item-has-children .bb-icon-angle-down{
    transform: scale(1.5);
}
.custom-post-views-container .post-views{
    justify-content: flex-end;
    color: #939597;
    font-size: 12px;
    margin: 0;
}
.custom-post-views-container .post-views .post-views-icon{
    margin-right: 5px!important;
}

/* custom fancybox start */
.custom-fancy-container{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    height: 100vh;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    overflow: auto;
    padding: 50px;
}
.custom-fancy-container img{
    color: #fff;
}
.custom-fancy-container .CFC-close-btn{
    position: fixed;
    top: 30px;
    right: 30px;
    color: #fff;
    z-index: 111199999999;
    font-weight: bold;
    font-size: 25px;
    cursor: pointer;
}
/* custom fancybox end */

.stars-container {
    position: relative;
    display: inline-block;
    color: transparent;
    font-size: 20px;
    font-weight: 900;
}
.stars-container:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '★★★★★';
    color: lightgray;
}
.stars-container:after {
    position: absolute;
    top: 0;
    left: 0;
    content: '★★★★★';
    color: #f4ba03;
    overflow: hidden;
    white-space: nowrap;
}
.stars-0:after { width: 0%; }
.stars-0andhalf:after { width: 10%; }
.stars-1 { width: 20%; }
.stars-1andhalf:after { width: 30%; }
.stars-2:after { width: 40%; }
.stars-2andhalf:after { width: 50%; }
.stars-3:after { width: 60%; }
.stars-3andhalf:after { width: 70%; }
.stars-4:after { width: 80%; }
.stars-4andhalf:after { width: 90%; }
.stars-5:after { width: 100%; }
.review-rating-point {
    font-size: 14px;
    color: #757982;
    line-height: 1;
    position: relative;
    top: -2px;
    display: inline-block;
    left: 2px;
}
.bb-user-content-wrap .detail-all-review-count{
    vertical-align: text-bottom;
    display: inline-block;
}
.bb-user-content-wrap .rating-stars.total-rating.grand-average {
    display: inline-block;
    margin-right: 10px;
}
.bb-user-content-wrap .detail-all-review-count a {
    color: #ff865a;
    font-weight: bold;
    font-size: 15px;
}
.bb-user-content-wrap .detail-all-review-count a:hover {
    color: #e36436;
}

/* Start a new discussion CSS */
.new-discussion .new_topic_title {
    width: 100%;
}
.new-discussion .bb-modal {
    position: relative;
    background-color: #fff;
    border: 1px solid #e7e9ec;
    border-radius: 4px;
    padding: 0;
    width: auto;
    max-width: unset;
    margin: 10px auto;
    box-shadow: none;
}
.new-discussion fieldset.bbp-form {
    margin: 0;
}
.new-discussion #new-post .bbp_topic_title_wrapper {
    margin: 0;
    padding: 18px 15px;
}
.new-discussion #new-post .bbp_topic_form_type_wrapper label,
.new-discussion #new-post .bbp_topic_title_wrapper label {
    display: none ;
}
.new-discussion #new-post .bb-form-select-fields .bbp_topic_subscription_wrapper{
    padding: 0 20px;
    flex: none;
}
.new-discussion #new-post .bb-form-select-fields>div {
    max-width: max-content;
    margin: auto;
    min-width: 180px;
}
.new-discussion #bbp_topic_title {
    border: 0;
    width: 100%;
}
.new-discussion #new-post .bb-form-select-fields,
.new-discussion #new-post #whats-new-toolbar {
    padding: 15px;
    margin-bottom: 0;
    width: 100%;
}
.new-discussion #new-post .bbp-form .bbp_topic_tags_wrapper {
    border: none;
    border-bottom: 1px solid #e7e9ec;
    border-top: 1px solid #e7e9ec;
    margin: 0 !important;
}
.new-discussion #new-post .bb-form-select-fields{
    display: inline-flex;
    margin: auto;
}
.new-discussion #new-post .bb-form-select-fields>div{
    margin: 0;
}
.new-discussion #new-post .bb-form-select-fields .bbp-submit-wrapper{
    margin-left: auto;
    justify-content: flex-end;
}

@media (max-width: 720px){
    .new-discussion #new-post .bb-form-select-fields {
        flex-direction: column;
        align-items: flex-start;
    }
    .new-discussion #new-post .bb-form-select-fields .bbp_topic_subscription_wrapper{
        padding: 0;
        margin: 10px 0;
    }
    .new-discussion #new-post .bb-form-select-fields .bbp-submit-wrapper{
        margin-left: 0;
        justify-content: flex-start;
    }
}
.job_filters .wp-job-manager-showing-all{
    display: none !important;
}