@media (min-width: 1280px) {

    #content .l-wrapper:not(.m-sidebar-wider) {
        max-width: calc(100% - 16px);
    }

    .l-sidebar__inner {
        width: 282px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1312px !important;
    }

    .l-sidebar__wrapper-close {
        width: 280px;
    }

    .l-sidebar__inner {
        width: 282px;
    }

    .l-header:not(.m-narrow-width-header) {
        flex: 1 0 auto !important;
        max-width: 281px;
        width: auto;
    }

    #content {
        max-width: 1000px;
    }

    .l-header {
        padding-left: 16px;
        box-sizing: border-box;
    }

    .l-header__menu {
        padding-left: 0 !important;
        padding-right: 16px !important;
        max-width: 264px;
    }

    .l-header:not(.m-narrow-width-header) .m-create-post .l-header__menu__item__text {
        font-size: 14px;
        margin-left: 2px;
    }

    .l-header__menu__item__icon {
        width: 32px;
        height: 32px;
    }

    .m-create-post .l-header__menu__item__icon {
        position: absolute;
        left: 9px;
        top: 50%;
        transform: translateY(-50%);
    }

    .l-header:not(.m-narrow-width-header) .l-header__menu__item.m-create-post {
        width: auto;
        flex: 0 0 100%;
    }

    .l-header:not(.m-narrow-width-header) .l-header__menu__item.m-create-post {
        width: auto;
        flex: 0 0 100%;
    }

    .l-header:not(.m-narrow-width-header) .l-header__menu__item:not(.m-create-post) {
        justify-content: flex-start;
        padding-left: 3px;
        flex: 0 0 240px;
        width: 240px;
    }

    .b-feed__wrapper {
        margin-right: 0px !important;
    }
}

/*------------------End Media 1280px------------------*/
@media (min-width: 1080px) {
    .m-align-tabs .b-tabs__nav__item:not(:last-child) {
        margin-right: 21px;
    }
}


@media (min-width: 1004px) {
    .container {
        max-width: 1080px;
    }

    .l-header {
        margin-left: -16px;
    }

    .l-sidebar-column.m-l-side {
        border-right: 1px solid rgba(138, 150, 163, .25);
        min-height: 100vh;
    }

    .l-sidebar-column.m-l-side {
        border-right: 1px solid rgba(138, 150, 163, .25);
        min-height: 100vh;
    }

    .l-main-content.m-r-side {
        margin-left: auto;
    }

    .l-main-content {
        width: calc(66.71% + 16px);
    }

    .b-settings__nav.m-inside-sidebar {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 0;
    }

    .b-tabs__nav.m-inside-sidebar {
        position: sticky;
        top: 56px;
        margin-top: 0;
        max-height: calc(100vh - 56px);
        align-self: flex-start;
        overflow: hidden;
    }

    .b-settings__nav {
        display: block;
    }

    .b-feed {
        max-width: 568px;
        flex: 0 1 auto;
    }

    .b-settings__nav .b-tabs__nav__item {
        font-size: 16px;
        line-height: 24px;
        position: relative;
    }

    .b-settings__nav .b-tabs__nav__item {
        margin-right: 0;
    }

    .b-tabs__nav__item {
        font-size: 16px;
    }

    .m-inside-sidebar .b-tabs__nav__link {
        padding: 17px 4px 17px 12px;
    }

    .b-settings__nav .b-tabs__nav__item:after {
        position: absolute;
        width: 100%;
        left: 0;
        bottom: 0;
        content: "";
        height: 1px;
        background: rgba(138, 150, 163, .25);
    }

    .b-settings__nav .b-tabs__nav__item .g-icon.m-gap-lg {
        margin-left: 6px;
        margin-right: 13px;
    }

    .b-settings__nav .b-tabs__nav__item .g-icon {
        margin-right: 5px;
    }

    .b-tabs__nav__item .g-icon,
    .b-tabs__nav__item .v-icon.v-icon {
        margin-right: 5px;
    }

    .m-inside-sidebar.m-row-item .b-tabs__nav__text:after {
        left: -55px;
    }

    .b-settings__nav.m-row-item .b-tabs__nav__text:after {
        left: -29px;
    }

    .m-row-item .b-tabs__nav__text:after {
        content: "";
        position: absolute;
        right: -4px;
        bottom: -19px;
        height: 2px;
        transition: background-color .1s;
    }

    .bookmark_tab_header.m-row-item .b-tabs__nav__text:after {
        bottom: 0;
    }

    .empty-message .g-icon {
        font-size: 64px;
    }

    .b-settings__wrapper {
        display: flex;
        position: relative;
        flex: 1 1 0%;
    }

    .b-settings__content {
        flex: 1 1 auto;
        min-width: 0px;
    }

    .b-chats__conversations-content {
        max-width: calc(100% - 395px);
        padding-left: 16px;
        padding-right: 16px;
    }

    .b-settings__wrapper:after {
        content: "";
        top: 0;
        bottom: 0;
        width: 1px;
        background: rgba(138, 150, 163, .25);
        position: absolute;
        left: 33.33%;
    }

    .b-settings .g-page__header:before {
        position: absolute;
        content: "";
        width: 1px;
        left: 33.33%;
        top: 0;
        height: 100%;
        background: rgba(138, 150, 163, .25);
    }

    .b-settings__header__left-col {
        flex: 0 0 calc(33.33% - 24px);
        margin-right: 32px;
    }

    .b-settings .b-settings__nav {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        margin-right: 1px;
        position: sticky;
        align-self: flex-start;
        top: 56px;
        margin-top: -7px;
        height: calc(100vh - 56px);
    }
    .b-settings__nav
    .b-tabs__nav__item {
        margin-right: 0;
    }

    .b-feed__wrapper {
        flex-direction: unset;
        justify-content: space-between;
        min-height: calc(var(--vh, 1vh)*100 - 64px);
        margin-right: -16px;
    }

    .b-chats__scroller {
        inset: 0px;
        padding-right: 26px;
        margin-right: -26px;
        max-height: calc(100vh - 56px);
    }

    .m-height-scroller {
        position: absolute;
    }

    .l-wrapper__content {
        flex: 0 0 600px;
        max-width: 600px;
        min-height: 100vh;
        position: relative;
        z-index: 0;
        border-right: 1px solid rgba(138, 150, 163, .25);
        margin-right: auto;
    }

    .l-wrapper__sidebar:not(.m-disable-autoscroll) {
        pointer-events: none;
        scrollbar-width: none;
    }

    .l-wrapper__sidebar {
        flex: 1;
        max-width: 368px;
        margin-left: 16px;
        z-index: 2;
        padding-top: 16px;
        padding-bottom: 16px;
        top: 0;
        overflow: auto;
        position: sticky;
        min-height: 100vh;
        /*    min-height: calc(var(--vh, 1vh)*100);*/
    }

    .l-wrapper__sidebar > * {
        pointer-events: auto;
    }

    .l-wrapper__sidebar .b-profile__content__item:not(.m-subscribe-item) {
        padding-top: 0;
        padding-bottom: 0;
    }

    .l-wrapper__sidebar .b-profile__content__item:not(.m-subscribe-item):after {
        top: 0;
        bottom: 0;
        height: auto;
        background-color: transparent;
        border: 1px solid rgba(138, 150, 163, .25);
        border-radius: 6px;
    }

    .b-profile__content__item__title .b-profile__bio__link {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .l-wrapper__sidebar .g-btn.m-spotify.m-flex {
        margin-bottom: 16px;
    }

    .m-tabs-default .b-tabs__nav__link:not(.m-disabled):not([disabled]).m-current,
    .m-tabs-default .m-current .b-tabs__nav__link:not(.m-disabled):not([disabled]) {
        /*    border-bottom-color: currentColor;*/
    }

    .l-wrapper__sidebar:not(.m-disable-autoscroll) {
        pointer-events: none;
        scrollbar-width: none;
    }

    .l-wrapper__sidebar {
        flex: 1;
        max-width: 368px;
        margin-left: 16px;
        z-index: 2;
        padding-top: 16px;
        padding-bottom: 16px;
        top: 0;
        overflow: auto;
        position: sticky;
        min-height: 100vh;
        /*    min-height: calc(var(--vh, 1vh)*100);*/
    }

    .spotify_btns {
        display: none;
    }

    .b-feed__aside {
        position: absolute;
        top: 0px;
        width: calc(100% - 600px);
        max-width: 368px;
        right: 0px;
        bottom: 0px;
    }

    .b-feed__aside-column {
        position: sticky;
        top: 0px;
        max-height: 100vh;
        padding-bottom: 16px;
    }
    .b-feed.m-feed-bookmarks {
        max-width: 682px;
    }
    .b-payments__aside {
        position: sticky;
        top: 56px;
        margin-top: -8px;
        height: calc(100vh - 56px);
        align-self: flex-start;
    }
    .b-settings__nav.m-inside-sidebar {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 0;
    }
    .b-feed__wrapper::after {
        content: "";
        position: absolute;
        top: -64px;
        bottom: 0px;
        left: 0px;
        border-right: 1px solid rgba(138, 150, 163, 0.25);
        width: 585px;
        pointer-events: none;
        min-height: calc(100vh + 64px);
    }
    .b-comment-form__emoji-btn {
        right: 54px;
    }
    .b-chats__conversations-list {
        flex: 0 0 395px;
        max-width: 395px;
        border-right: 1px solid rgba(138,150,163,.2);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    /*
        .b-chat {
        flex: 1;
    }
        .b-chats .b-chat {
        flex: 1;
    }
        .b-chats__conversations-content .b-chat {
        width: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    */
    .b-chats__available-users__value {
        padding-right: 40px;
    }
    .b-chats__search-users-input {
        padding-right: 60px;
    }
    .b-chats__search-users-clear {
        right: 34px;
    }
    .m-friend-card .b-users__item__cover {
        height: 56px;
    }
    .l-wrapper__sidebar .b-profile__content__item:not(:last-child) {
        margin-bottom: 16px;
    }
    .b-chat__subheader {
        margin-top: -8px;
    }
    .b-chat__message {
        margin-left: 60px;
        margin-right: 52px;
    }
    .b-chats__conversations .b-chat {
        height: 100%;
    }

}

/*------------------End Media 1004px------------------*/

@media (min-width: 768px) {
    .l-container {
        min-height: 100vh;
    }

    .l-sidebar__inner {
        top: 0;
        bottom: 0;
    }



    .b-settings__content > .row,
    .b-settings__wrapper > .row {
        margin: 0px;
    }

    .g-page__header__btn:first-child {
        margin-left: -7px;
        margin-right: 4px;
    }

    .b-settings {
        display: flex;
        flex-direction: column;
    }

    .b-settings .m-profile-images + .g-input__fieldset {
        padding: 0px 16px;
    }

    .b-chats__conversations-content.m-empty-chat {
        max-width: 100%;
        min-height: 100vh;
    }

    .b-users__item.m-model-card .g-btn.m-lg:last-child {
        margin-bottom: 10px;
    }

    .b-profile__content__list.m-end {
        padding: 0;
    }

    .l-wrapper__sidebar .b-profile__bio__link .g-icon.m-button-arrow {
        margin-left: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .l-wrapper__sidebar .b-profile__content__item__title .g-icon {
        margin-right: 12px;
    }

    .g-btn.m-spotify.m-flex {
        margin: 0 16px;
    }

    .g-btn.m-spotify {
        width: calc(100% - 32px);
    }

    .b-compact-header .b-group-profile-btns {
        margin-right: 38px;
    }
    .b-chats__conversations-content .b-chat {
        max-height: 100%;
    }
    .chat-footer__alert {
        padding-left: 16px;
        padding-right: 16px;
    }
    .b-chats__search-users-wrapper {
        transition: padding .1s,border .1s;
    }

}

/*------------------End Media 768px------------------*/

@media only screen and (min-width: 680px) {
    .container.m-main-container:not(.m-right-sidebar) #content {
        border-right: 1px solid rgba(138, 150, 163, .25);
    }
}


/*------------------End Media 680px------------------*/


@media (min-width: 616px) {


    .l-header:not(.m-narrow-width-header) {
        width: 80px;
        flex: 0 0 80px;
    }
}

/*------------------End Media 616px------------------*/
@media (min-width: 560px) {

    .g-page__header .b-btns-group:not(.w-100) {
        margin-left: 12px;
    }
}

/*------------------End Media 560px------------------*/

@media (min-width: 500px) {
    .m-sidebar-visible .l-sidebar__inner-overlay {
        left: 280px;
    }
    #mobile_navbar.l-header__menu{
        display: none;
    }

    .l-sidebar__inner {
        bottom: 0;
        right: auto;
        left: 0;
        transform: translate(-100%);
        padding-left: 10px;
        padding-right: 10px;
    }

    .l-sidebar__inner-overlay {
        left: -100%;
        right: auto;
    }

    .l-sidebar__wrapper-close {
        right: auto;
        left: 0;
        transform: translate(-100%);
    }

    .l-header {
        top: 0;
        width: 64px;
        flex: 0 0 64px;
        box-sizing: content-box;
        align-self: flex-start;
        position: sticky;
    }

    .l-header__menu__item {
        width: 100%;
        flex: 0 0 100%;
        height: 48px;
        justify-content: center;
        margin-bottom: 8px;
    }

    .l-header__menu__item.m-create-post {
        order: 20;
        width: 48px;
        flex: 0 0 48px;
        min-width: auto;
        margin-top: 8px;
    }

    .l-header__menu {
        flex-wrap: wrap;
        height: auto;
        justify-content: center;
        padding: 16px 8px;
    }

    .container.m-main-container {
        flex-direction: row;
        align-items: flex-start;
        align-content: flex-start;
    }

    .m-main-container .l-sidebar ~ #content {
        border-left: 1px solid rgba(138, 150, 163, .25);
    }

    .m-main-container #content {
        border-left: 1px solid rgba(138, 150, 163, .25);
    }


}

/*------------------End Media 500px------------------*/




/*-----------------
::: Max-Width CSS
-----------------*/

@media (max-width: 1279px) {
    .l-header__menu__item__text {
        display: none;
    }
}




@media (max-width: 1003px) {
    .container.m-main-container {
        padding-left: 0;
        padding-right: 0;
    }

    .b-profile-list {
        border-top: 1px solid rgba(138, 150, 163, .2);
    }

    .b-profile__content__item.active {
        padding-bottom: 16px;
        border-bottom: 8px solid #f6f7f8;
    }

    .custom_l_wrapper__sidebar {
        display: none;
    }

    .b-settings__nav.b-settings__menu {
        display: none;
    }

    .b-settings__header__left-col.middle_header > .g-page-title {
        display: none;
    }
    .r-story{
        max-width: 100%;
    }
    .story_sidebar{
        display: none;
    }
    .b-chats__conversations-list.custom_msg_list{
        display: none;
    }
    .b-chats__conversations {
        display: unset;
    }
}

@media (max-width: 767px) {

    .b-profile__bio__content {
        padding-left: 16px;
        padding-right: 16px;
    }
    .b-settings .Language .g-switcher-wrapper {
        padding: 3px 22px 3px;
    }
}

@media (max-width: 575px) {
    .b-settings__wrapper {
        padding-right: 10px;
    }

}

@media (max-width: 499px) {


    .l-header {
        bottom: 0;
        order: 2;
        border-top: 1px solid rgba(138, 150, 163, .25);
        background: #fff;
        position: fixed;
        z-index: 998;
        width: 100%;
        max-height: 56px;
        /*margin-top: 30px !important;*/
        /*border: 1px solid red;*/
        /*margin-top: auto;*/
    }

    /*.b-fans__container {*/
    /*    !*border: 1px solid red;*!*/
    /*    height: 70vh !important;*/
    /*    overflow-y: auto;*/
    /*    !*padding-bottom: 30px !important;*!*/
    /*    overflow-x: hidden;*/
    /*}*/
    #navbar.l-header__menu{
        display: none;
    }
    .l-header__menu {
        height: 56px;
        padding-left: 15px;
        padding-right: 15px;
    }
    /*.row {*/
    /*    !*height: 65vh !important;*!*/
    /*    !*overflow: auto;*!*/
    /*    !*margin-bottom: 50px !important;*!*/
    /*    padding-bottom: 50px !important;*/
    /*    !*border : 1px solid green;*!*/
    /*}*/

    .container {
        padding-bottom: 58px !important;
        margin-bottom: env(safe-area-inset-bottom);
    }

    .b-settings__wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .b-chats__list-dialogues {
        padding-right: 10px;
    }
    .story_slider button.owl-prev,
    button.owl-next {
        left: 0;
    }

    .story_slider button.owl-next {
        right: 0;
    }

    .g-stack-responsive{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .review-btn {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .l-sidebar__inner {
        width: 202px;
    }

    .g-btn.m-profile-edit {
        min-width: 48px;
    }

    .g-btn.m-profile-edit.m-flex .g-icon {
        margin: auto;
    }

}
