/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0
*/




/* ------------------------------------------------------------------------- *
 *  Custom classes
/* ------------------------------------------------------------------------- */


/* visibility / display */

.display-none {
    display: none !important;
}

.d-flex {
	display: flex;
}

.justify-between {
	justify-content: space-between;
}

.align-center {
	align-items: center;
}

.text-white * {
    color: #fff !important; 
}

@media only screen and (min-width: 1025px) {
    .desktop-hidden {
        display: none;
    }
} 

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .tablet-hidden {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .mobile-hidden {
        display: none;
    }
}

/* layout */
.section.full-width.contain-content > .section_wrapper {
    max-width: 1220px !important;
}


/* margins / paddings */
.mb-0 {
    margin-bottom: 0;
}


/* btns  */
.button-custom .button.large-btn {
    padding: 10px 60px;
}

.toggle-btn {
    text-decoration: underline;
    cursor: pointer;
}


/* custom-post-grid classes */
@media only screen and (min-width: 480px) {
    .column_button .button.neg-mb-40 {
        margin-bottom: -40px !important;
    }

    .column.mb-30 {
        margin-bottom: 30px;
    }
} 

@media only screen and (max-width: 480px) {
    .mobile-p-0 {
        padding: 0 !important;
    }

    .mobile-pb-0 {
        padding-bottom: 0 !important; 
    }

    .mobile-pt-50 {
        padding-top: 50px !important; 
    }

    .mobile-pb-70 {
        padding-bottom: 70px !important; 
    }
} 










/* ------------------------------------------------------------------------- *
 *  Blog
/* ------------------------------------------------------------------------- */


 /* single blog post */
.single-post .post-meta .category,
.single-post .post .section-post-header .single-photo-wrapper.image {
    display: none !important;
}

.single-post.with_aside .content_wrapper {
    padding: 40px 0;
}

.widget:not(.widget_block) > h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
    
    
    

/* blog archives */
/* banner */
.newsroom_banner .section_wrapper {
    display: flex;
    max-width: 1195px;
}

.newsroom_banner .valign-middle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsroom_banner .valign-middle .mcb-wrap-inner {
    width: 100%;
}

@media only screen and (min-width: 960px) and (max-width: 1239px) {
    .newsroom_banner .section_wrapper {
        max-width: 915px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    .newsroom_banner .section_wrapper {
        max-width: 690px;   
    }
}

@media only screen and (max-width: 767px) {
    .newsroom_banner .section_wrapper {
        flex-direction: column;
    }
    
    .newsroom_banner .section_wrapper .valign-middle {
        display: none;
    }
}


/* custom grid */
.custom-post-grid .Latest_news ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 0 1%;
}


.custom-post-grid .Latest_news ul li {
    display: flex;
    flex-direction: column;
}

.custom-post-grid .Latest_news ul li .photo {
    width: 100%;
    border-right-width: 0;
}

.custom-post-grid .Latest_news ul li .desc_footer {
    border: none;
    margin-bottom: 8px;
    padding: 0;
}

.custom-post-grid .Latest_news ul li.has-post-thumbnail .desc {
    margin-left: 0;
    width: 100%;
    padding: 20px 20px 0;
    display: flex;
    flex-direction: column-reverse;
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    .custom-post-grid .Latest_news ul {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .custom-post-grid .Latest_news ul {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.blog-categories li.press-release {
    display: none !important;
}

#Filters {
    margin-bottom: 60px;
}

#Filters .filters_wrapper ul li a {
    max-height: 44px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


/* categories */
.archive.category :where(.extra_content, .grid .post-footer) {
    display: none;
}

.archive.category .content_wrapper {
    max-width: 1240px;
    margin: 0 auto;
}

.archive.category .sections_group {
    width: 75%;
    float: left;
    padding: 40px 0;
}

.archive.category .mcb-sidebar.style-simple {
    float: right;
    margin: 0;
}

@media only screen and (min-width: 960px) and (max-width: 1239px) {
    .archive.category .content_wrapper {
        max-width: 940px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    .archive.category .content_wrapper {
        max-width: 708px;   
    }
}







/* ------------------------------------------------------------------------- *
 *  Events
/* ------------------------------------------------------------------------- */


.single-tribe_events .wp-block-buttons {
    display: flex;
}

.single-tribe_events .tribe-events .tribe-events-c-subscribe-dropdown__container, .tribe-block__events-link .tribe-events .tribe-events-c-subscribe-dropdown__container {
    width: 100%;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__button, 
.tribe-block__events-link .tribe-events-c-subscribe-dropdown__button {
    width: auto;
    border: none;
    background: transparent !important;
    outline: none !important;
}

.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text {
    color: #fff;
    background: var(--tec-color-button-primary);
    cursor: pointer;
    margin: 0;
}

.tribe-common-c-svgicon {
    color: var(--tec-color-button-primary) !important;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-icon {
    visibility: hidden;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown {
    margin: 0;
}

.tribe-events-c-subscribe-dropdown__list .tribe-events-c-subscribe-dropdown__list-item {
    margin: 5px 0;
}

.post-type-archive-tribe_events .tribe-events .tribe-events-c-subscribe-dropdown__container,
.tribe-events-c-subscribe-dropdown__list .tribe-events-c-subscribe-dropdown__list-item:where(:nth-last-child(2), :last-child) {
    display: none;
}

@media only screen and (max-width:768px) {
    .tribe-events-sub-nav li a {
        background: transparent;
        padding: 0;
    }
}







/* ------------------------------------------------------------------------- *
 *  Members list on /about-us/#Board&Council
/* ------------------------------------------------------------------------- */


@media only screen and (min-width: 768px) and (max-width: 1024px) {    
    .single-member.one-third.column {
        width: 50%;
        min-height: 110px;
        padding-right: 5%;
        margin: 0 0 40px;
    }
}

@media only screen and (min-width: 1025px) {
    .single-member {
        min-height: 140px;
    } 
}

@media only screen and (min-width: 1300px) {
    .single-member {
        min-height: 120px;
    } 
}

.single-member .column_attr {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.single-member .column_attr hr {
    display: none;
}

.single-member .column_attr .big {
    line-height: 1.3em;
}

.single-member .column_attr img {
    height: 60px;
    min-height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 100%;
    margin-right: 20px;
}










/* ------------------------------------------------------------------------- *
 *  Campaing landing page 
/* ------------------------------------------------------------------------- */


.page-id-4402 #Content {
    padding-top: 0;
}

.section.n-mt-large .mcb-section-inner .wrap {
    margin-top: -20%;
}

.section.d-flex .section_wrapper {
    display: flex;
}

@media only screen and (max-width: 767px) {
    .testimonials-grid.section.d-flex .section_wrapper {
        flex-direction: column;
    }
}


/* banner + play btn */
.campaign-banner .column_button {
    margin-top: -30% !important;
}

.button-custom .button.play-btn {
    padding: 8px 20px;
}

.button-custom .button.play-btn .button_label {
    line-height: 1.5;
}

.play-btn i.icon-play:before {
    content: "";
    width: 20px;
    height: 20px;

    background: url(/wp-content/uploads/2022/05/Play-button-01.svg) no-repeat;
    background-size: contain;
}



/* testimonials */
.single-testimonial * {
    color: #fff;
}

.single-testimonial p {
    font-size: 12px;
    line-height: 1.3;
}

.single-testimonial h3 {
    font-size: 16px;
}

p.testimonial-author_name {
    font-weight: 700;
    margin-bottom: 0;
}

p.testimonial-author_position {
    font-size: 80%;
    line-height: 1.3;
    margin-bottom: 0;
}


/* blog posts */
.knowledge-hub-categories .grid .post-item:not(.category-knowledge-hub), 
.page-id-4667 .filters_wrapper ul li:not([class*="-kh"]) {
	display: none !important;
}

.knowledge-hub-categories .filters_wrapper ul li.reset {
	display: inline-block !important;
}


/* slider */
ul.slider-list {
    margin-left: 0 !important;
    list-style-type: none;
}

@media only screen and (min-width: 768px) {
    ul.slider-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 40px;
    }
}

@media only screen and (max-width: 767px) {
    ul.slider-list li {
        margin-bottom: 30px;
    }
}

ul.slider-list h3 {
    position: relative;
    font-size: 16px;
}

ul.slider-list h3:before {
    content: "";
    width: 17px;
    height: 17px;
    
    position: absolute;
    top: 4px;
    left: -25px;

    background: url(/wp-content/uploads/2022/05/Arrrow-02.svg) no-repeat;
    background-size: contain;
}








