/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.6
*/


/* Theme customization starts here
-------------------------------------------------------------- */


/* Author Bio Styles August 2024 */

.author-bio-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-top: 4px solid #5eb6eb;
    padding-top: 35px;
}

.author-bio-section .author-pic {
    width: 100%;
    max-width: 270px;
}

.author-bio-section .author-description {
    width: 100%;
    max-width: calc(100% - 270px);
    padding-left: 30px;
}

.author-bio-section .author-description .author-name {
    font-size: 20px;
    font-weight: bold;
}

.author-bio-section .author-pic p {
    text-align: center;
}

@media screen and (max-width: 767px) {
    .author-bio-section .author-pic {
        max-width: 100%;
    }
    .author-bio-section .author-description {
        max-width: 100%;
        padding-left: 0;
    }
}


/* Fixed Sidebar */

#Footer .footer_copy .social li {
    margin-right: 10px;
}

.lcp_catlist {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 15px;
}

.lcp_catlist li {
    display: flex;
    flex-direction: column-reverse;
    font-size: 16px;
    align-items: flex-start;
}

@media screen and (max-width: 992px) {
    .lcp_catlist {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 15px;
        flex-wrap: wrap;
    }
    .lcp_catlist li {
        display: flex;
        font-size: 16px;
        align-items: flex-start;
        width: calc(50% - 15px);
        flex-direction: column-reverse;
    }
}


/**********************
 * HOME BANNER UPDATE *
 **********************/

.banner-wrapper {
    overflow: hidden;
}

.banner-image *,
.banner-image {
    height: 100% !important;
    object-fit: cover;
    object-position: top center;
}

@media (max-width: 767px) {
    .banner-image *,
    .banner-image {
        height: 350px !important;
    }
}


/**********************
 * HOME FEATURED GRID *
 **********************/

.featured-grid .gallery {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    margin: -6px !important;
}

.featured-grid .gallery-item {
    margin-bottom: 0;
    box-sizing: border-box;
    padding: 6px !important;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
}

.featured-grid .gallery-item-wrapper {
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.featured-grid .gallery-item-wrapper img {
    width: auto;
}

.featured-grid .gallery-item-wrapper .mask {
    display: none;
}

.featured-grid .image_frame,
.featured-grid .gallery-item-wrapper a {
    pointer-events: none;
}

.featured-grid .gallery-item .gallery-icon {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
}

@media (max-width: 959px) {
    .featured-grid .gallery-item {
        width: 25% !important;
    }
}

@media (max-width: 767px) {
    .featured-grid .gallery-item {
        width: 33.3% !important;
    }
}


/**********************
 * HOME FEATURED GRID *
 **********************/

.featured-grid .gallery {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    margin: -6px !important;
}

.featured-grid .gallery-item {
    margin-bottom: 0;
    box-sizing: border-box;
    padding: 6px !important;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
}

.featured-grid .gallery-item-wrapper {
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.featured-grid .gallery-item-wrapper img {
    width: auto;
}

.featured-grid .gallery-item-wrapper .mask {
    display: none;
}

.featured-grid .image_frame,
.featured-grid .gallery-item-wrapper a {
    pointer-events: none;
}

.featured-grid .gallery-item .gallery-icon {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
}

@media (max-width: 959px) {
    .featured-grid .gallery-item {
        width: 25% !important;
    }
}

@media (max-width: 767px) {
    .featured-grid .gallery-item {
        width: 33.3% !important;
    }
}


/*************************
 * FEATURED SLIDER STYLE *
 *************************/

.slick-slider-init {
    opacity: 0;
}

.slick-initialized {
    opacity: 1;
    transition: opacity 0.4s ease;
    -webkit-transition: opacity 0.4s ease;
    -moz-transition: opacity 0.4s ease;
    -ms-transition: opacity 0.4s ease;
    -o-transition: opacity 0.4s ease;
}

.featured-slider-holder {
    position: relative;
}

.featured-slider {
    margin: 0 -5px 0px;
}

.featured-slider-holder .slick-list.draggable {
    margin-right: -10vw;
    padding-right: 30vw;
    margin-left: -5vw;
}

.featured-slider .slick-track {
    display: flex;
}

.featured-slider .slick-track>.slick-slide {
    height: auto;
}

.featured-slider .slick-track>.slick-slide>div {
    height: 100%;
}

.featured-slider-box {
    box-sizing: border-box;
    padding: 0 5px;
    height: inherit;
}

.featured-slider-box-inner {
    box-sizing: border-box;
    padding: 20px 15px;
    border: 1px solid #D9D9D9;
    text-align: center;
    height: 100%;
}

.featured-slider-box-inner .title {
    color: #5EB6EB;
    font-weight: bold;
    font-size: 20px;
    display: block;
    line-height: 1.2;
    margin: 20px 0;
}

.featured-slider-box-inner img {
    background: none !important;
}

.btn-1 {
    box-sizing: border-box;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #8DC644;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    display: inline-block;
    line-height: 1.2;
    padding: 13px 5px;
    width: 100%;
}

@media (min-width: 500px) {
    .featured-slider-holder .slick-list.draggable {
        margin-right: -17vw;
        padding-right: 17vw;
        margin-left: -3vw;
    }
}

@media (min-width: 767px) {
    .featured-slider-holder .slick-list.draggable {
        margin-right: 0;
        padding-right: 0;
        margin-left: 0;
    }
}


/****************************
 * SLIDER NAVIGATION STYLES *
 ****************************/

.featured-slider-holder .slider-nav>a {
    width: 30px;
    height: 30px;
    background-color: #8DC644;
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    border: 2px solid #8DC644;
    opacity: 0;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.featured-slider-holder .slider-nav>a,
.featured-slider-holder .slider-nav>a>svg {
    transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
}

.featured-slider-holder .slider-nav>a>svg {
    fill: #fff;
    height: 20px;
    width: auto;
}

.featured-slider-holder .slider-nav>a.left {
    left: -15px;
}

.featured-slider-holder .slider-nav>a.right {
    right: -15px;
}

.featured-slider-holder:hover .slider-nav>a {
    opacity: 1;
}

.featured-slider-holder:hover .slider-nav>a.right {
    right: 0;
}

.featured-slider-holder:hover .slider-nav>a.left {
    left: 0;
}

.featured-slider-holder .slider-nav>a:hover {
    background-color: #fff;
}

.featured-slider-holder .slider-nav>a:hover svg {
    fill: #8DC644;
}

@media (min-width: 990px) {
    .featured-slider-holder.books .slider-nav {
        display: none;
    }
}


/********************
 * SLIDER DOT STYLE *
 ********************/

.featured-slider-holder .slick-dots {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    margin: 20px -7px 0;
}

.featured-slider-holder .slick-dots>li {
    box-sizing: border-box;
    padding: 7px;
}

.featured-slider-holder .slick-dots>li>button {
    font-size: 0;
    box-shadow: none;
    width: 20px;
    height: 4px;
    background-color: #D9D9D9;
    border: 0;
    outline: 0;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.featured-slider-holder .slick-dots>li.slick-active>button {
    background-color: #5EB6EB;
}


/********************************************
 * HEADER NAVIGATION RESPONSIVE ISSUE FIXED *
 ********************************************/

@media only screen and (max-width: 1240px) {
    #Top_bar .logo {
        margin-right: 0 !important;
    }
    #Top_bar #logo img {
        max-width: 250px !important;
    }
}


/********************************************
 * New Menu Layout Jan 2025 *
 ********************************************/

@media screen and (max-width: 1099px) {
    #Top_bar .one.column {
        width: calc(100% - 100px);
    }
    .main-menu-wrapper {
        position: absolute;
        right: 30px;
        bottom: 46px;
    }
}

@media screen and (min-width: 1100px) {
    .main-menu-wrapper {
        border-bottom: 1px solid #DEDEE1;
        background: #F8F8F8;
    }
    #Top_bar .main-menu-wrapper #menu {
        background: transparent;
    }
    .menuo-right #Top_bar .menu_wrapper {
        float: none;
        width: 100%;
    }
    #Top_bar .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    #Top_bar .main-menu-wrapper .menu li ul li {
        width: 253px;
    }
    #Top_bar .main-menu-wrapper .menu>li>a {
        padding: 0;
    }
    .menu-arrow-top #Top_bar .menu>li>a:after {
        border-width: 7px 7px 0;
        display: block;
        height: 0;
        left: auto;
        right: 5%;
        margin-left: 0px;
    }
    .menuo-arrows:not(.keyboard-support) #Top_bar .main-menu-wrapper .menu>li.submenu>a:not(.menu-toggle):after {
        border-top: 5px solid #444;
        opacity: 1;
    }
    .menuo-arrows:not(.keyboard-support) #Top_bar .main-menu-wrapper .menu>li.submenu.hover>a:not(.menu-toggle):after {
        border-top: 5px solid #8dc644 !important;
    }
}

@media screen and (max-width: 767px) {
    .mobile-header-mini #Top_bar .main-menu-wrapper a.responsive-menu-toggle {
        top: 0 !important;
        margin-top: 0px;
    }
}


/*******************************
 *** certificate-logo-grid ***
 *******************************/

#certificate-logo-grid .gallery {
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
}

#certificate-logo-grid .gallery-item {
    width: calc(50% - 15px) !important;
    margin-bottom: 0 !important;
}

#certificate-logo-grid .gallery-item a {
    display: inline-block;
    width: auto;
}

#certificate-logo-grid .gallery-item-wrapper img {
    width: auto;
}

#certificate-logo-grid .gallery-item-wrapper .mask {
    display: none;
}

#certificate-logo-grid .image_frame,
#certificate-logo-grid .gallery-item-wrapper a {
    pointer-events: none;
}

@media (min-width: 550px) {
    #certificate-logo-grid .gallery-item {
        width: calc(25% - 15px) !important;
    }
}

.klaviyo-form-UECPAC form{
   max-width: 100% !important;
}

@media screen and (max-width: 767px) {
    .klaviyo-form-UECPAC form div[data-testid="form-row"] > div.needsclick{
        width: 100% !important;
        flex: auto !important;
    }
}
