body {
    --bg: #ECEFF2;
    --blue-light: #03A0F1;
    --blue-dark: #3352DD;
    --ns-bg: #ECEFF2;
    background-color: var(--ns-bg);
    overflow: visible;
}

body.dark {
    --grey-light: #353a48;
    --ns-bg: #121212;
    --grey-dark: #FFFF;
    --main-bg: #151619;
}



.cg,
.cg-l {
    color: var(--grey-dark);
}

.cg2 {
    color: #808080;
}

body.dark .cg-l {
    color: #707070;
}

.d-flex button {
    width: auto;
    padding: 15px 30px;
    flex: auto;
    height: auto;
}

.d-flex button {
    width: auto;
}

.btn-gris {
    background-color: var(--grey-light);
    border-color: var(--grey-light);
    color: var(--grey-dark);
}

.btn-gris:hover {
    background-color: var(--grey-dark);
    border-color: var(--grey-dark);
    color: var(--grey-light);
}

.btn-w-grey {
    border-color: transparent;
    background-color: transparent;
    color: var(--grey-dark);
    padding: 10px 10px;
}

.btn-w-grey:hover {
    background-color: var(--grey-light);
    border-color: transparent;
}


.btn-book-coach {
    font-weight: 600;
    width: 170px;
    background-color: white;
    background-color: var(--main-bg);
    color: #19CF89;
    border: solid 2px #19CF89;
    background-position: left 20px center;
    background-repeat: no-repeat;
    background-size: 20px 25px;
    padding-right: 20px !important;
    padding-left: 50px !important;
    border-radius: 50px;
    height: 45px;
    background-image: url(../images/icons/ic_lightbolt_green.svg);
}

.btn-book-coach:hover {
    box-shadow: 0px 3px 6px 0px rgba(25, 207, 137, 0.363);
    color: white;
    background-color: #19CF89;
    border: solid 2px #19CF89;
    background-image: url(../images/icons/ic_lightbolt_white.svg);
}

#preview-card {
    opacity: 0;
    position: absolute;
    z-index: 50000;
    pointer-events: none;
    transition: opacity .2s ease;
    box-shadow: -6px 3px 16px 0px var(--shadow);
}

#preview-card.top-pos {
    box-shadow: 0px 5px 16px 0px var(--shadow);
}

#preview-card.visible,
#preview-card:hover {
    opacity: 1;
    pointer-events: all;
}

#preview-card .arrow {
    position: absolute;
    top: calc(50% - 10px);
    left: -9px;
    z-index: 10;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--main-bg);
}

#preview-card.top-pos .arrow {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: none;
    border-top: 10px solid var(--main-bg);
    left: calc(50% - 10px);
    top: auto;
    bottom: -9px;
}

.explore-communities {
    padding-top: 3px;
    padding-right: 30px;
    background-position: right 0px center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-image: url(../images/icons/ic_arrow_right_black.svg);
}

.chat-list-container {
    bottom: 5px;
    right: 5px;
    z-index: 500;
    flex-direction: column;
}

body.dark .chat-list-container .ic-chat {
    border: solid 1px #353A48;
}

.chat-list-container .item img {
    z-index: 10;
}

.chat-list-container .item .available {
    z-index: 15;
    border: solid 2px var(--main-bg);
    background-color: #19CF89;
    width: 15px;
    height: 15px;
    left: 2px;
    bottom: -7px;
}

.chat-list-container .item .new-message {
    z-index: 15;
    background-color: #FF5050;
    width: 12px;
    height: 12px;
    right: -1px;
    top: 2px;
}

.chat-list-container .item .title {
    background-color: var(--main-bg);
    padding: 3px 7px;
    border-radius: 5px;
    right: 55px;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    top: calc(50% - 21px);
    max-width: 200px;
}

.chat-list-container .item:hover .title {
    opacity: 1;
}

@media screen and (max-width:1500px) {
    .chat-list-container {
        display: none;
    }
}

.ns-bg {
    background-image: url(../images/head_bg_newsfeed.svg);
    background-position: top -5px right;
    background-size: contain;
    background-repeat: no-repeat;
}

.new-feed-container {
    max-width: 700px;
    width: calc(100% - 20px);
}

.new-feed-container.hashtag-container
{
    max-width: 200px;
    margin-left: 20px;
    width: auto;
}

.community-nav-container .name {
    max-width: 230px;
}

@media screen and (max-width:1600px) {
    .community-nav-container .name {
        max-width: 185px;
    }
}

.nf-nav .nav-content {
    position: -webkit-sticky;
    position: sticky;
    top: 85px;
    max-width: 320px;
    margin-left: auto;
}

.nf-nav .nav-content .nav-item {
    padding: 10px 20px;
}

.nf-nav .nav-content .nav-item:hover {
    background-color: var(--grey-light);
}

.nf-nav .nav-content .nav-item .ic-text {
    width: 26px;
    height: 26px;
    vertical-align: -6px;
}

.nf-sidebar {
    padding-top: 0px;
}

.nf-sidebar .sidebar-content {
    max-width: 330px;
    padding-bottom: 20px;
    padding-right: 10px;
    scrollbar-width: none;
}

.nf-sidebar .sidebar-content::-webkit-scrollbar {
    width: 5px;
}

.nf-sidebar .sidebar-content::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 5px;
}

.nf-sidebar .sidebar-content .interest-item-wrapper .item {
    border: solid 2px var(--grey-light);
    padding: 6px 15px;
    background-color: var(--main-bg);
    cursor: pointer;
}

.profile-interests-mobile {
    display: none;
}

.new-feed-container .trend-community {
    height: 230px;
    color: #FFFFFF;
}

.new-feed-container .trend-community * {
    z-index: 2;
}

.new-feed-container .trend-community .community-bg {
    left: calc(50%);
    top: calc(50%);
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1;
}

.new-feed-container .trend-community .bottom-txt {
    margin-top: auto;
}

@media screen and (max-width:1600px) {
    .new-feed-container {
        max-width: 650px;
    }
}

@media screen and (max-height:850px),
screen and (max-width:1350px) {
    .nf-nav .nav-content .nav-item .ic-text {
        width: 22px;
        height: 22px;
    }

    .nf-nav .nav-content .nav-item {
        font-size: 1rem;
        padding: 8px 15px;
        padding-left: 50px !important;
    }

    .nf-nav {
        padding: 10px;
    }

    .nf-nav .nav-content .nav-item svg {
        margin-left: -40px;
    }

    .nf-nav .nav-content .nav-item img {
        margin-left: -40px;
    }
}

@media screen and (max-height:760px) {
    .nav-content .br15.padding20.others {
        display: none;
    }
}

@media screen and (max-width:1270px) {
    .nf-nav .nav-content .nav-item .ic-text {
        width: 26px;
        height: 26px;
    }

    .nf-nav .nav-content .nav-item {
        overflow: hidden;
        max-width: 42px;
        white-space: nowrap;
        padding: 8px !important;
    }

    .nf-nav .nav-content .others {
        display: none;
    }

    .nf-nav .nav-content {
        max-width: 82px;
    }

    .nf-sidebar .sidebar-content {
        display: none;
    }

    .nf-nav .nav-content .nav-item svg {
        margin-left: 0px;
    }

    .nf-nav .nav-content .nav-item img {
        margin-left: 0px;
    }

    .nav-content .nav-links {
        display: none;
    }

    .profile-interests-mobile {
        display: block;
    }
}

@media screen and (max-width:850px) {
    .nf-nav {
        display: none;
    }

    .nf-sidebar {
        display: none;
    }

    .new-feed-container {
        max-width: 850px;
    }
}

.stories-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 15px;
    margin-bottom: -20px;
}

.stories-wrapper .item {
    height: 250px;
    max-width: 127px;
    flex: 0 0 127px;
}

.stories-wrapper .item .story-img {
    max-width: 100%;
}

.stories-wrapper .item.new {
    color: #FFFFFF;
    background: url(../images/new_story_bg.svg) center no-repeat;
    flex: 0 0 165px;
    max-width: 165px;
}



.border-box-wrapper {
    background: rgb(63, 63, 216);
    background: linear-gradient(90deg, rgba(63, 63, 216, 1) 0%, rgba(3, 160, 241, 1) 100%);
}

.border-box-wrapper.orange {
    background: rgb(255, 49, 0);
    background: linear-gradient(90deg, rgba(255, 49, 0, 1) 0%, rgba(255, 145, 0, 1) 100%);
}

.border-box-wrapper.purple {
    background: rgb(115, 6, 255);
    background: linear-gradient(90deg, rgba(115, 6, 255, 1) 0%, rgba(230, 80, 230, 1) 100%);
}

.border-box-wrapper .content {
    z-index: 10;

}

@media screen and (min-width:850px) {
    .border-box-wrapper .content {
        padding: 50px 100px;
    }
}

.border-box-wrapper::after {
    z-index: 1;
    content: '';
    position: absolute;
    border-radius: 9px;
    width: calc(100% - 14px);
    left: 7px;
    top: 7px;
    height: calc(100% - 14px);
    background-color: var(--main-bg);
    background-image: url(../images/bg_borderbox_ns.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


.interests-container .close-wrapper {
    width: 50px;
    z-index: 150;
    height: 50px;
    right: 20px;
    top: 20px;
    position: absolute;
    margin-left: auto;
}

.interests-container .content {
    z-index: 5000;
    height: calc(95% - 65px);
    top: calc(2.5% + 65px);
    width: 95%;
    left: 2.5%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

@media screen and (max-width:1170px) {
    .interests-container .content {
        height: calc(100% - 50px);
        width: 100%;
        left: 0px;
        top: 50px;
        border-radius: 0px;
    }
}


.interests-container .background-overlay {
    z-index: 4900;
    height: 100vh;
    width: 100vw;
    left: 0px;
    top: 0px;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.interests-container .content {
    background-image: url(../images/head_bg_newsfeed.svg);
    background-position: top -5px right;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
}

.interests-container .content .bg-img {
    z-index: -1;
    position: absolute;
    width: 100%;
    bottom: 0px;
    left: -30px;
    transform: rotate(175deg);
    display: none;
}

.interests-container .tags-wrapper .tag {
    flex: 0 0 auto;
    padding: 5px 10px;
    margin: 3px 5px;
    cursor: pointer;
    border-radius: 17px;
    color: var(--grey-dark);
    border: solid 1px var(--grey-light);
}

@media screen and (min-width:1170px) {
    .interests-container .tags-wrapper .tag:hover {
        border-color: var(--blue-light);
    }
}


.interests-container .tags-wrapper .tag.selected {
    background-color: var(--blue-light);
    color: white;
    border-color: var(--blue-light);
}

.interests-container .details-tags-wrapper .tag-name::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url(../images/icons/ic_arrow_right_black.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    background-position: center;
    right: 30px;
    top: calc(50% - 10px);
    transform: rotate(90deg);
    transition: all .2s ease;
}

.interests-container .details-tags-wrapper .tag-name {
    padding: 20px 60px 20px 30px;
    position: relative;
}

.interests-container .details-tags-wrapper.open .tag-name::after {
    transform: rotate(-90deg);
}

.interests-container .details-tags-wrapper .tags-list {
    max-height: 0px;
    transition: all .2s ease;
    overflow: hidden;
    padding: 0px 30px;
}

.interests-container .details-tags-wrapper.open .tags-list {
    max-height: 1000px;
    padding: 10px 30px;
}

.interests-container .details-tags-wrapper .tags-list .tag {
    flex: 0 0 auto;
    padding: 10px;
    border-radius: 8px;
    transition: all .2s ease;
    border: solid 1px #C9C9C9;
    cursor: pointer;
    margin: 5px;
    font-weight: 500;
    max-width: 100%;
}

.interests-container .details-tags-wrapper .tags-list .tag:hover {
    border-color: var(--blue-light);
}

.interests-container .details-tags-wrapper .tags-list .tag.selected {
    background-color: var(--blue-light);
    color: white;
    border-color: var(--blue-light);
}

.interests-container .content .d-flex-column {
    display: flex;
    flex-direction: column;
}

.interests-container .details-tags-wrapper {
    border: solid 2px transparent;
}

.interests-container .details-tags-wrapper.highlight {
    order: -1;
    border-color: var(--blue-light);
}

.nf-mobile-nav {
    display: none;
    bottom: 0px;
    left: 0px;
    z-index: 5002;
    padding: 12px 12px;
    box-shadow: 0px -3px 16px 0px var(--shadow);
    align-items: center;
}

/*.nf-mobile-nav .nav-item svg,
.nf-mobile-nav .nav-item img {
    width: auto;
    height: 20px;
}*/

/*.nf-mobile-nav .nav-item svg.home {
    width: 20px;
    height: 30px;
}*/

.nf-mobile-nav .nav-item svg.plus {
    margin: -5px;
    width: 37px;
    height: 37px;
}

.nf-mobile-nav .nav-item svg.post {
    margin: -5px;
    width: 37px;
    height: 37px;
}

.nf-mobile-nav .nav-item svg.pp {
    margin: -5px;
    width: 37px;
    height: 37px;
}

body.dark .nf-mobile-nav {
    background-color: #1D2024;
    color: #82849A;
}

.nf-mobile-nav .nav-item.current {
    color: #2170E5;
    transform: scale(1.2);
}

@media screen and (max-width:1270px) {
    .nf-mobile-nav {
        display: flex;
    }

    .interests-container .title {
        margin-top: 0px;
    }

    .interests-container .content {
        padding: 30px 10px;
    }

    .interests-container .close-wrapper {
        top: 0px;
        right: 0px;
    }
}

.feed-selection-wrapper .item {
    flex: 1;
    padding: 10px 20px;
    background-color: var(--main-bg);
}

.feed-selection-wrapper .item.active,
.feed-selection-wrapper .item:hover {
    color: white;
}

.feed-selection-wrapper .item.blue.active,
.feed-selection-wrapper .item.blue:hover {
    background: var(--blue-start-gradient);
    background: linear-gradient(180deg, var(--blue-start-gradient) 0%, var(--blue-end-gradient) 100%);
}

.feed-selection-wrapper .item.orange.active,
.feed-selection-wrapper .item.orange:hover {
    background: var(--orange-start-gradient);
    background: linear-gradient(180deg, var(--orange-start-gradient) 0%, var(--orange-end-gradient) 100%);
}

.feed-selection-wrapper .item.purple.active,
.feed-selection-wrapper .item.purple:hover {
    background: var(--purple-start-gradient);
    background: linear-gradient(180deg, var(--purple-start-gradient) 0%, var(--purple-end-gradient) 100%);
}

.current-quests-wrapper.mobile-version {
    display: none;
}

@media screen and (max-width:850px) {
    .current-quests-wrapper.mobile-version {
        display: block;
    }

    .new-feed-container {
        padding-top: 0px;
    }

    .feed-selection-wrapper .item {
        padding: 10px 10px;

    }

    .feed-selection-wrapper {
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 20px);
        border-radius: 0px;
    }
}



.more-infos-wrapper {
    padding: 25px;
    border: solid 3px var(--blue-primary);
    background-image: url(../images/bg_borderbox_ns.png);
    background-size: cover;
}

body.dark .more-infos-wrapper {
    background-image: url(../images/bus_mozaique2.png);
}

.more-infos-wrapper.purple {
    border-color: var(--purple-end-gradient);
}

.more-infos-wrapper.orange {
    border-color: var(--orange-end-gradient);
}

.more-infos-wrapper button.btn-grey {
    background-color: var(--grey-light);
    border: none;
}

.more-infos-wrapper button:hover {
    filter: brightness(1.1);
}

.more-infos-wrapper.purple button.btn-violet.gradient {
    background: var(--purple-start-gradient);
    background: linear-gradient(180deg, var(--purple-start-gradient) 0%, var(--purple-end-gradient) 100%);
    border: none;
}

.more-infos-wrapper.orange button.btn-orange.gradient {
    background: var(--orange-start-gradient);
    background: linear-gradient(180deg, var(--orange-start-gradient) 0%, var(--orange-end-gradient) 100%);
    border: none;
}

.current-quests-wrapper .xp-bar {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 3px;
    border-radius: 5px;
    background: rgb(249, 49, 17);
    background: linear-gradient(95deg, rgba(249, 49, 17, 1) 0%, rgba(216, 37, 210, 1) 60%, rgba(0, 168, 255, 1) 100%);
}

.new-feed-container .btn-follow-hash {
    position: relative;
    color: white;
    height: 45px;
    padding: 13px 13px 13px 48px;
    background-color: var(--blue-primary);
    /*background-color: var(--grey-dark);*/
    background-size: 25px;
    background-image: url(../images/icons/ic_follow_white.svg);
    background-repeat: no-repeat;
    background-position: center left 12px;
    border-radius: 8px;
    cursor: pointer;
}

body.dark .new-feed-container .btn-follow-hash {
    background-color: var(--grey-light);
}

.new-feed-container .btn-follow-hash.unfollow {
    background-size: 20px;
    background-color: var(--grey-dark);
    background-image: url(../images/icons/ic_x_white.svg);
}

.new-feed-container .btn-follow-hash:hover {
    filter: brightness(1.1);
}





/*start managing btn-follow-hash in cards*/

.new-feed-container .btn-follow-hash-card {
    position: relative;
    color: white;
    height: 45px;
    padding: 13px 13px 13px 48px;
    background-color: var(--blue-primary);
    /*background-color: var(--grey-dark);*/
    background-size: 25px;
    background-image: url(../images/icons/ic_follow_white.svg);
    background-repeat: no-repeat;
    background-position: center left 12px;
    border-radius: 8px;
    cursor: pointer;
    width: auto;
}

@media screen and (max-width:830px) {
    .new-feed-container .btn-follow-hash-card {
        width: 25px;
        margin-left: auto;
        margin-right: 0px;
        background-position: center;
    }

    .new-feed-container .btn-follow-hash-card span {
        display: none;
    }
}

body.dark .new-feed-container .btn-follow-hash-card {
    background-color: var(--grey-light);
}

.new-feed-container .btn-follow-hash-card.unfollow {
    background-size: 20px;
    background-color: var(--grey-dark);
    background-image: url(../images/icons/ic_x_white.svg);
}

.new-feed-container .btn-follow-hash-card:hover {
    filter: brightness(1.1);
}

/*end managing btn-follow-hash in cards*/




.profil-suggestions-wrapper {
    overflow: hidden;
}

.profil-suggestions-wrapper .item {
    padding: 15px;
    max-width: 230px;
    min-width: 230px;
    overflow: hidden;
}

.profil-suggestions-wrapper .item .banner {
    width: calc(100% + 30px);
    margin: -15px;
}

.profil-suggestions-wrapper .item .profil-pic-wrapper {
    background-color: var(--main-bg);
    width: 75px;
    height: 75px;
    margin-top: -15px;
    border: solid 2px var(--main-bg);
    margin-left: auto;
    margin-right: auto;
}

.profil-suggestions-wrapper .item .profil-pic-wrapper img {
    width: 100%;

}

.profil-suggestions-wrapper .item .profil-type {
    border-radius: 8px;
    background: var(--blue-start-gradient);
    background: linear-gradient(180deg, var(--blue-start-gradient) 0%, var(--blue-end-gradient) 100%);
    padding: 10px;
    color: white;
}


.profil-suggestions-wrapper .item .profil-type.green {
    background: var(--green-start-gradient);
    background: linear-gradient(180deg, var(--green-start-gradient) 0%, var(--green-end-gradient) 100%);
}

.profil-suggestions-wrapper .item .profil-type.orange {
    background: var(--orange-start-gradient);
    background: linear-gradient(180deg, var(--orange-start-gradient) 0%, var(--orange-end-gradient) 100%);
}

.profil-suggestions-wrapper .item .profil-type.purple {
    background: var(--purple-start-gradient);
    background: linear-gradient(180deg, var(--purple-start-gradient) 0%, var(--purple-end-gradient) 100%);
}

.profil-suggestions-wrapper .owl-stage {
    display: flex;
}

.slider-container-profil+.more-suggestions {
    background: var(--blue-start-gradient);
    background: linear-gradient(180deg, var(--blue-start-gradient) 0%, var(--blue-end-gradient) 100%);
    padding: 10px;
    cursor: pointer;
    color: white;
}

.slider-container-profil .slide-btn-next {
    right: 0px;
    height: 100%;
    width: 50px;
    cursor: pointer;
    z-index: 50;
    background-color: var(--ns-bg);
}

.slider-container-profil .slide-btn-next::after {
    content: '';
    position: absolute;
    right: 0px;
    width: 40px;
    top: 0px;
    height: 100%;
    background-color: var(--main-bg);
    background-size: 10px;
    background-position: center center;
    z-index: 55;
    pointer-events: none;
    background-repeat: no-repeat;
    background-image: url(../images/icons/ic_arrow_right_black.svg);
    border-radius: 8px;
}

body.dark .slider-container-profil .slide-btn-next::after {
    background-image: url(../images/icons/ic_arrow_right_white.svg);
}


.groupes-suggestions-wrapper .owl-stage {
    display: flex;
}

.groupes-suggestions-wrapper .item .group-img {
    width: 150px;
    height: 150px;
}

.groupes-suggestions-wrapper .item .group-img.add {
    position: relative;
    background: var(--blue-start-gradient);
    background: linear-gradient(180deg, var(--blue-start-gradient) 0%, var(--blue-end-gradient) 100%);

}

.groupes-suggestions-wrapper .item .group-img.add::after {
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-image: url(../images/icons/ic_plus_white.svg);
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: center;
}

.slider-container-groupes .slide-btn-next {
    right: 0px;
    height: 100%;
    width: 50px;
    cursor: pointer;
    z-index: 50;
    background-color: var(--ns-bg);
}

.slider-container-groupes .slide-btn-next::after {
    content: '';
    position: absolute;
    right: 0px;
    width: 40px;
    top: 0px;
    height: 100%;
    background-color: var(--main-bg);
    background-size: 10px;
    background-position: center center;
    z-index: 55;
    pointer-events: none;
    background-repeat: no-repeat;
    background-image: url(../images/icons/ic_arrow_right_black.svg);
    border-radius: 8px;
}

body.dark .slider-container-groupes .slide-btn-next::after {
    background-image: url(../images/icons/ic_arrow_right_white.svg);
}

.groupes-suggestions-wrapper .item .group-img {
    position: relative;
}

.groupes-suggestions-wrapper .item .group-img img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.sidebar-content .sidebar-feed-btn {
    width: 100%;
    height: auto;
    padding: 20px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
}

.sidebar-content .sidebar-feed-btn.orange {
    background: var(--orange-start-gradient);
    background: linear-gradient(-90deg, var(--orange-start-gradient) 0%, var(--orange-end-gradient) 100%);
}

.sidebar-content .sidebar-feed-btn.purple {
    background: var(--purple-start-gradient);
    background: linear-gradient(-90deg, var(--purple-start-gradient) 0%, var(--purple-end-gradient) 100%);
}