/* Style cbt custom aside header */
@media screen and (max-width: 1400px) {
    #page .cbt-archive-section .e-con-inner {
        width: 96%;
    }

    .cbt-user-name-wrap {
        padding-left: 4px;
    }
}

@media screen and (max-width: 1200px) {
    .bb-mobile-header {
        height: 76px;
        flex-direction: row-reverse !important;
    }

    .site-header-container {
        display: none !important;
    }

    .bb-mobile-header-wrapper.bb-single-icon {
        display: unset !important;
    }

    .bb-mobile-header-wrapper.bb-single-icon .bb-mobile-header {
        display: flex;
        flex-direction: row-reverse !important;
    }

    #page .cbt-archive-section .e-con-inner {
        width: 93%;
    }

    .cbt-user-name-wrap {
        padding-left: 2px;
    }
}

header .bb-mobile-header-wrapper,
header .bb-mobile-panel-wrapper {
    display: unset !important;
}

@media screen and (max-width: 1100px) {
    #page footer .e-con-inner {
        width: 92%;
    }
}

@media screen and (max-width: 1000px) {
    .cbt-post-wrapper .cbt-single-post-wrapper {
        flex: 40%;
    }

    .cbt-custom-post-filter .cbt-order-by-filter,
    .cbt-custom-post-filter .cbt-teachers-by-filter {
        margin-top: 6px;
    }
}

@media only screen and (max-width: 999px) {

    body.login .login-split {
        left: unset !important;
    }

    #page .cbt-archive-section .e-con-inner {
        width: 91%;
    }

    .cbt-user-name-wrap {
        padding-left: 0;
    }
}

@media screen and (max-width: 820px) {
    .bb-single-course-sidebar.bb-preview-wrap {
        padding-right: unset !important;
    }
}

@media only screen and (max-width: 1400px) and (min-width: 1100px) {
    #page .cbt-lets-section .e-con-inner {
        width: 97%;
    }

    .cbt-user-login #page .cbt-lets-section .e-con-inner {
        width: 94%;
    }

    .site-header.site-header--bb.cbt-aside-header-wrap {
        padding-right: 4px;
    }
}

@media only screen and (max-width: 1100px) and (min-width: 800px) {
    #page .cbt-lets-section .e-con-inner {
        width: 97%;
    }

    .cbt-user-login #page .cbt-lets-section .e-con-inner {
        width: 91%;
    }

    .site-header.site-header--bb.cbt-aside-header-wrap {
        padding-right: 0;
    }
}

@media only screen and (max-width: 800px) {

    .bb-mobile-panel-inner .main-navigation {
        display: inline-block !important;
    }

    .cbt-content-sidebar-wrap .cbt-post-content {
        width: 90%;
        flex: unset;
        margin: auto;
    }

    .cbt-content-sidebar-wrap .cbt-post-sidebar {
        flex: unset;
        max-width: unset;
        width: 90%;
        margin: auto
    }

    #page .cbt-archive-section .e-con-inner {
        width: 91%;
    }

    body:not(.page-template-page-fullscreen) .site {
        margin-left: unset !important;
    }

    .cbt-user-login .buddypanel.buddypanel--toggle-on {
        display: none !important;
    }

    #page .cbt-custom-header {
        flex-direction: column-reverse;
        padding: unset;
    }

    #page .cbt-custom-header .cbt-profile-header-tag {
        border-bottom: 1px solid #e7eaed;
        padding-top: unset;
        padding-bottom: unset;
        margin: auto;
        width: 100%;
        padding-left: 4%;
        padding-right: 4%;
    }

    #page .cbt-custom-header .cbt-first-name-tag {
        padding: 30px 0;
        width: 96%;
    }

    .site-main .bp-wrap {
        width: 92%;
    }

    .cbt-aside-header-wrap .header-aside-inner .header-search-link,
    .cbt-custom-header .bb-separator.cbt-bar-icon {
        display: none !important;
    }

    .cbt-aside-header-wrap #header-aside {
        justify-content: space-between;
    }

    .cbt-aside-header-bar,
    #header-aside .cbt-header-aside-logo {
        display: inherit;
    }

    .cbt-aside-header-bar .cbt-header-bar-icon {
        font-size: 30px;
    }

    .cbt-custom-header .cbt-profile-header-tag .bb-footer,
    .cbt-custom-header .cbt-profile-header-tag .site-content,
    .cbt-custom-header .cbt-profile-header-tag .site-header {
        padding: 0;
    }

    .cbt-custom-header .cbt-header-aside-logo img {
        width: 200px;
    }

    #page .cbt-custom-header .user-wrap.user-wrap-container {
        margin-left: unset;
        display: none;
    }

    .cbt-custom-header .cbt-aside-header-bar {
        padding: unset;
    }

    #buddypress #cover-image-container {
        width: 92%;
    }

    .cbt-user-name-wrap {
        padding-left: 14px;
        text-align: left;
    }

    div#content {
        width: 96%;
        margin-left: auto;
        margin-right: auto;
        margin-top: unset !important;
    }
}

@media only screen and (max-width: 770px) {

    #page .cbt-lets-section .e-con-inner {
        width: 93%;
    }

    .cbt-user-login #page .cbt-lets-section .e-con-inner {
        width: 93%;
    }

    #page .elementor-819 .elementor-element.elementor-element-caf067a img {
        width: 43% !important;
        margin-bottom: 42px;
    }

    #page .site-title a img,
    .bb-mobile-panel-inner .bb-mobile-panel-header .logo-wrap img {
        width: 220px !important;
    }

    .cbt-footer-form {
        width: 96% !important;
    }

    /* profile header */
    .cbt-post-wrapper .cbt-single-post-wrapper {
        flex: 50%;
    }
}

@media only screen and (max-width: 600px) {
    #page .cbt-archive-section .e-con-inner {
        width: 88%;
    }

    .cbt-user-name-wrap {
        padding-left: 10px;
    }
}

@media only screen and (max-width: 550px) {

    #page footer .e-con-inner {
        width: 90%;
    }

    #page .site-title a img,
    .bb-mobile-panel-inner .bb-mobile-panel-header .logo-wrap img {
        width: 200px !important;
    }

    .cbt-lets-section .lets-togerher h2 {
        font-size: 40px !important;
    }

    span.blog_search_icon {
        left: 6%;
    }

    .anwp-pg-wrap .anwp-pg-post-teaser--layout-d .anwp-pg-post-teaser__thumbnail-img {
        height: unset;
    }

    .anwp-pg-wrap .anwp-pg-post-teaser__thumbnail {
        overflow: unset;
    }

    .cbt-mobile-header-cart,
    .cbt-mobile-header-notification,
    .cbt-mobile-header-message {
        margin-right: 6px;
    }

    .cbt-custom-post-filter .cbt-dropdown-wrapper {
        width: 94%;
        margin-top: 10px;
    }

    .cbt-post-container .cbt-filter-heading {
        margin: 10px auto auto 20px;
    }

    .cbt-aside-header-wrap .bb-icon-l.bb-icon-shopping-cart,
    .cbt-aside-header-wrap .bb-icon-bell,
    .cbt-aside-header-wrap .bb-icon-comment-dots {
        font-size: 16px;
    }

    #page .elementor .user-link img {
        max-width: 28px;
    }

    .cbt-aside-header-bar .cbt-header-bar-icon {
        font-size: 26px;
    }

    #page #header-messages-dropdown-elem,
    #page #header-notifications-dropdown-elem,
    #page .bb-header-more-menu,
    #page .bb-header-search-bar,
    #page .bb-help-dropdown-wrap,
    #page .header-cart-link-wrap,
    #page .header-search-link-wrap,
    #page .user-wrap-container {
        padding: 0 4px;
    }

    #page .elementor-widget-container .elementor-tabs-wrapper,
    .cbt-filter-heading.desktop {
        display: none;
    }

    .cbt-post-container.cbt-elementor-tab-dropdown,
    .cbt-filter-heading.mobile {
        display: block;
    }

    #page .bb-mobile-header-wrapper #header-notifications-dropdown-elem .notification-dropdown {
        right: -80px;
    }

    #page .bb-mobile-header-wrapper #header-messages-dropdown-elem .notification-dropdown {
        right: -100px;
    }
}

@media only screen and (max-width: 500px) {

    .cbt-single-teacher .teacher-name {
        font-size: 10px;
        font-weight: 600;
    }

    .cbt-post-author {
        padding-top: 12px;
    }

    .cbt-blog-tags a {
        padding: 4px 24px;
        margin-bottom: 5px;
    }

    /* .cbt-blog-tags {
    justify-content: center;
  } */
    .cbt-reviet-img .cbt-hand-img {
        height: 20px !important;
    }

    .cbt-review-main-container .cbt-reviet-img {
        display: flex;
    }

    .cbt-review-main-container {
        align-items: center;
    }

    .cbt-review-main-container .cbt-user-icon {
        margin-top: -10px;
    }

    .cbt-review-main-container .cbt-user-icon img {
        height: 15px;
    }

    .cbt-review-main-container .cbt-review-count,
    .cbt-review-main-container .cbt-course-users-count {
        font-size: 15px;
    }

    .cbt-review-main-container .cbt-review-count {
        padding-top: 6px;
    }
}

@media screen and (max-width: 400px) {

    #page .site-title a img,
    .bb-mobile-panel-inner .bb-mobile-panel-header .logo-wrap img {
        width: 170px !important;
    }

    #page header .bb-left-panel-mobile {
        margin-right: 0px;
    }

    .bb-mobile-panel-wrapper .bb-mobile-panel-header {
        padding-right: 10px !important;
    }

    .cbt-aside-header-wrap .bb-icon-shopping-cart {
        font-size: 12px;
    }

    .cbt-aside-header-wrap .cbt-header-bar-icon.bb-icon-bars {
        font-size: 22px;
    }

    .cbt-aside-header-wrap .user-wrap .user-link img {
        width: 24px;
    }

    /* .anwp-pg-wrap .swiper-container-autoheight, 
	.anwp-pg-wrap .swiper-container-autoheight .swiper-slide {
        height: 520px;
    } */
    .cbt-aside-header-wrap .bb-icon-l.bb-icon-shopping-cart,
    .cbt-aside-header-wrap .bb-icon-bell,
    .cbt-aside-header-wrap .bb-icon-comment-dots {
        font-size: 12px;
    }

    .cbt-aside-header-bar .cbt-header-bar-icon {
        font-size: 26px;
    }

    #page #header-messages-dropdown-elem,
    #page #header-notifications-dropdown-elem,
    #page .bb-header-more-menu,
    #page .bb-header-search-bar,
    #page .bb-help-dropdown-wrap,
    #page .header-cart-link-wrap,
    #page .header-search-link-wrap,
    #page .user-wrap-container {
        padding: 0 4px;
    }

    .cbt-aside-header-bar,
    #header-aside .cbt-header-aside-logo {
        padding: 0;
    }
}

/* Css for min width */
@media screen and (min-width: 300px) {
    .buddypanel-open:not(.register) .buddypanel {
        width: 230px !important;
    }

    .buddypanel-open .buddypanel-menu .sub-menu.bb-open {
        display: block;
        box-shadow: none;
        padding-left: 32px;
    }
}

@media screen and (min-width: 550px) {
    #page .container .cbt-lets-wake-up .elementor-element-populated {
        width: 96%;
        padding-left: 8px !important;
        margin: auto;
    }
}

@media screen and (min-width: 840px) {
    #page .container .cbt-lets-wake-up .elementor-element-populated {
        width: 95%;
        padding-left: 0 !important;
        margin: auto;
    }
}

@media screen and (max-width: 800px) {

    .bb-user-content-wrap .cbt-hell-text,
    .bb-user-content-wrap .cbt-hand-img {
        display: block;
    }
}

@media screen and (min-width: 800px) {
    .cbt-lets-wake-up .elementor-column-gap-default {
        width: 98%;
        min-height: 570px !important;
    }

    .cbt-buddypanel-mobile {
        display: none !important;
    }
}

@media screen and (min-width: 1000px) {
    .cbt-lets-wake-up .elementor-column-gap-default {
        width: 99%;
        min-height: 570px !important;
    }
}

@media screen and (min-width: 1200px) {
    .cbt-lets-wake-up .elementor-column-gap-default {
        width: 94%;
        min-height: 500px !important;
    }

    .cbt-summits-slider .elementor-column-gap-default {
        width: 95%;
    }

    header .bb-mobile-header-wrapper,
    header .bb-mobile-panel-wrapper {
        display: none !important;
    }
}

@media only screen and (max-width: 1400px) {
    .cbt-post-content-wrapper {
        display: flex;
    }

    .cbt-post-wrapper .cbt-single-post-wrapper {
        width: 49%;
    }
}

@media only screen and (max-width: 1000px) {
    .cbt-post-content-wrapper {
        display: block;
    }

    .cbt-post-wrapper .cbt-single-post-wrapper {
        width: 100%;
    }

    .cbt-custom-courses-list .learndash-course-list--elementor .columns-default .bb-course-items.grid-view .bb-course-item-wrap {
        flex: 0 0 100%;
    }
}