@media screen and (max-width:480px) {
    .send-message {
        margin-left: 10px;
        width: 40px;
        height: 40px;
        font-size: 0;
    }

    .search-mobile {
        display: flex;
    }

    .ssp-btm-wrap img {
        max-width: 23px;
    }

    .s-sport .ssp-slider .swiper-button-prev::before,
    .s-sport .ssp-slider .swiper-button-next::before {
        background-size: contain;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
    }

    .s-sport .ssp-slider .swiper-button-prev::before,
    .s-sport .ssp-slider .swiper-button-next::before {
        width: 30px;
        height: 21px;

    }

    /* .bgs.active {
        display: block;
        overflow-y: scroll;
        padding: 50px 0;
        height: calc(100% - 100px);
    } */

    .s-sport .ssp-slider .swiper-button-prev {
        left: 5%;
        z-index: 1000;
    }

    .s-sport .ssp-slider .swiper-button-next {
        right: 5%;
        z-index: 1000;
    }


    /* .bgs form {
        margin: 20px auto;
    } */

    .photo480 {
        margin-left: 20px;
    }

    .search-confirm {
        display: inline-block;
        margin-top: 40px;
    }

    .search-inside {
        padding: 20px;
    }

    .mobile-view .aside-close {
        display: block;
    }

    .left_aside.mobile-view ul {
        list-style: none;
    }

    .more1000 {
        display: none;
    }

    .less1000 {
        display: block;
    }


    .add-channel .form-input textarea {
        font-size: 14px;
    }

    .form-input input {
        font-size: 14px;
    }

    .post-comments form {
        position: relative;
        border: 2px solid #000000;
        border-radius: 3px;
        padding: 10px;
        margin-bottom: 60px;
        min-height: 80px;
    }

    .form-left {
        display: none;
    }

    .form-right {
        flex-basis: 100%;
        width: 100%;
    }

    .tag-title {
        margin: 20px 0 20px;
        font-size: 22px;
    }

    .single-channel-middle-top {
        margin-bottom: 15px;
    }

    .single-channel-date {
        margin-bottom: 0;
    }

    .add-post-page {
        width: 100%;
    }

    .single-channel-bottom-right {
        background: #fff;
        margin-left: 0;
        max-width: 100%;
        flex-basis: 100%;
        font-size: 0;
    }

    .wrap.single-channel.subscribers .channel-inside {
        display: none;
    }

    header .btn {
        font-size: 12px;
        padding: 7px 24px;
    }

    .form-right-inside {
        padding: 30px 20px !important;
    }

    .mobile-logout {
        display: block;
    }

    .single-channel-middle {
        padding: 0 10px;
    }

    .single-channel-name span {
        margin-left: 0;
        display: block;
        flex-basis: 100%;
        margin-bottom: 5px;
    }

    .profile-channel-right_left {
        flex-basis: 100%;
        margin-bottom: 10px;
    }

    .profile-channel-header {
        width: 100%;
    }

    .single-channel-name {
        flex-wrap: wrap;
    }

    .pb svg {
        max-height: 16px;
    }

    .bgs .btn {
        margin-bottom: 15px;
    }

    .registration .white-block {
        padding: 25px;
    }

    .two-inputs {
        flex-wrap: wrap;
    }

    .registration .two-inputs input {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .mobile-search-filter {
        display: block;
        top: calc(50% - 13px);
        cursor: pointer;
        background: none;
        outline: none;
        border: 0;
        position: absolute;
        right: 20px;
    }

    .search-page .search form .button {
        right: 20px;
    }

    .search-page .search {
        width: 100%;
        margin: 10px 0 60px;
        display: block !important;
    }


    .send-message img {
        margin-left: 0;
    }

    .photo480 img {
        width: 42px;
        height: 42px;
        border-radius: 100%;
        overflow: hidden;
    }

    .post-author a {
        font-size: 13px;
    }

    .hidden-context {
        top: 20px;
    }

    .left_aside {
        display: none;
    }

    .right_aside {
        display: none;
    }

    header {
        padding: 7px 20px;
        max-height: 46px;
        height: 60px;
    }

    .menu {
        margin-right: 15px;
        height: 19px;
    }

    .head-buttons {
        display: none;
    }

    .search {
        display: none;
    }

    .logo {
        margin-right: 30px;
        width: 73px;
    }

    .menu svg {
        width: 16px;
    }

    .big-posts-top {
        flex-wrap: wrap;
    }

    .container {
        padding: 0 20px;
    }

    .homepage .wrap {
        width: 100%;
    }

    .wrap {
        flex-basis: 100%;
    }

    #primary {
        padding: 0 20px 50px;
        display: block;
    }

    .big-posts-top_left {
        margin-bottom: 20px;
        max-width: 100%;
    }

    .big-posts-top_left .absi a {
        font-size: 16px;
        max-width: 90%;
    }

    .big-posts-top_right .absi a {
        font-size: 16px;
        max-width: 90%;
    }

    .big-posts-bottom {
        flex-wrap: wrap;
    }

    .big-posts-top_middle {
        flex-basis: 100%;
        height: 378px;
        position: relative;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .homepage .posts {
        padding: 25px;
    }



    .absi a {
        font-size: 16px;
    }

    .big-posts-top_right {
        flex-basis: 100%;
        height: 378px;
        max-width: 100%;
    }

    .big-posts-top_left {
        flex-basis: 100%;
        height: 378px;
    }

    .big-posts {
        margin-bottom: 0px;
    }

    .posts h2 a {
        font-size: 16px;
        display: inline-block;
        line-height: 22px;
    }

    .posts p,
    .single-post p,
    .single-post ul li,
    .single-post ol li {
        font-size: 14px;
        line-height: 1.7;
    }

    #tab6 .posts {
        padding-top: 0;
    }

    .profile-channels p, 
    .profile-comments p, 
    .profile-blacklist p  {
        font-size: 14px;
        line-height: 1.7;
    }

    .post-channel-name a {
        font-size: 13px;
        line-height: 18px;
        display: inline-block;
    }

    .post-author {
        font-size: 13px;
    }

    .post .tags a {
        font-size: 10px;
        line-height: 19px;
        opacity: 0.7;
        margin-right: 10px;
    }

    .pb {
        margin-right: 4px;
    }

    .pb>span {
        margin-right: 5px;
        font-size: 12px;
        margin-left: 8px;
    }

    .post-channel-name {
        margin-bottom: 1px;
    }

    .subser {
        margin-bottom: 20px;
    }

    .posts .post {
        padding-bottom: 15px;
    }

    .profile-channel-unsubs {
        font-size: 0 !important;
    }

    .ads {
        display: none;
    }

    .s-sport .ssp-slider .swiper-slide .ssp-itm .ssp-descr {
        font-size: 14px;
        line-height: 130%;
        min-height: 70px;
    }

    .single {
        background: #fff;
    }

    .single .posts {
        padding: 0;
        max-width: 100%;
        margin: 0 auto;
        padding-top: 20px;
    }

    #tab2 .subtab {
        padding-top: 20px;
    }

    .single-post h1 {
        margin-bottom: 30px;
        font-size: 18px;
        line-height: 140%;
        margin-bottom: 15px;
    }

    .single-post h2 {
        font-size: 16px;
        line-height: 130%;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .post-channel-name span {
        margin-left: 0;
        margin-bottom: 5px;
        display: block;
        flex-basis: 100%;
    }

    .single-comment-top-right p {
        font-size: 12px;
    }

    .single-comment-top-right span a {
        font-size: 14px;
        margin-bottom: 1px;
    }

    .single-comment-top {
        margin-bottom: 11px;
    }

    .single-comment-text {
        font-size: 14px;
    }

    .need-auth {
        font-weight: bold;
        font-size: 14px;
        margin: 20px 0;
    }

    .single-comment-top-left {
        width: 27px;
        height: 27px;
    }


    .post-comments form textarea {
        width: 100%;
        min-height: 80px;
        font-size: 13px;
    }

    .subscribe-channel {
        height: 36px;
        line-height: 36px;
    }

    .post-comments form .btn {
        bottom: -45px;
        right: 0;
        font-size: 12px;
        height: 36px;
        line-height: 36px;
    }

    .comments-list {
        margin-top: 50px;
    }

    .comment-rating span {
        font-size: 12px;
        /* margin: 0 4px; */
        min-width: 25px;
    }

    .post-bottom img {
        max-width: 22px;
        margin: 0;
    }

    .children-comment {
        padding-left: 10px;
    }

    .search-page .posts {
        min-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .search-right {
        display: none;
        position: fixed;
        overflow-y: scroll;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        z-index: 1000;
        padding: 0;
    }

    .search-right.mobile-view {
        display: block;
        top: inherit;
    }

    .search-page .search {
        margin-bottom: 20px;
    }

    .profile-page {
        max-width: 100%;
        padding: 0;
        padding-top: 20px;
    }

    .profile-wrap-right {
        display: none;
    }

    .profile-bottom ul li a {
        padding-bottom: 0;
    }

    .profile-bottom ul {
        max-width: 100%;
        overflow-x: scroll;
        padding-bottom: 10px;
    }

    .profile-bottom ul::-webkit-scrollbar {
        height: 2px !important;
        border-radius: 16px;
    }

    .profile-bottom ul::-webkit-scrollbar-track {
        background: #999999;
        border-radius: 16px;
    }

    .profile-bottom ul::-webkit-scrollbar-thumb {

        border-radius: 16px;
        height: 2px !important;
    }

    .profile-bottom {
        margin-top: 16px;
        overflow: hidden;
    }

    .profile-bottom p {
        font-size: 13px;
        line-height: 140%;
        margin-bottom: 20px;
    }

    .infinity {
        padding-bottom: 5px;
    }

    .infinity .posts {
        padding-bottom: 10px;
    }

    .single-channel-bottom-left {
        flex-basis: 100%;
    }

    .single-channel-bottom {
        flex-wrap: wrap;
    }

    .single .single-channel-bottom .posts {
        padding: 20px;
    }

    .profile-top {
        margin-bottom: 15px;
    }

    .profile-top img {
        margin-bottom: 0px;
    }

    .profile-middle ul li {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 5px;
        margin-right: 15px;
    }

    .profile-wrap-left {
        padding: 0;
        flex-basis: 100%;
    }

    .page {
        max-width: 100%;
        padding: 0;
        padding-top: 20px;
    }

    .item-cat {
        padding: 10px 10px 10px 10px;
        flex-basis: calc(50% - 20px);
    }

    .ite {
        font-size: 13px;
    }

    .avatar:after,
    .form-file.bg:after,
    .ava:after {
        position: relative;
        left: 0;
        font-size: 15px;
        top: 0;
        display: block;
        margin-top: 10px;
    }

    div.add-post {
        margin-bottom: 100px;
    }

    .item-cat.act .rem {
        position: relative;
        top: -3px;
    }

    .comment-text {
        font-size: 13px;
    }

    .form-input label {
        font-size: 12px;
    }

    .settings h1 {
        font-size: 20px;
    }

    .settings h1 img {
        width: 29px;
    }



    

    .mobile-buttons480 {
        display: flex;
        align-items: center;
    }

    .mobile-buttons480 a {
        margin-left: 20px;
    }


    #draftButton {
        color: #fff;
        background: #CB2C30;
        padding: 11px 19px 12px 19px;
    }

    #li3,
    #li7 {
        min-width: 120px;
    }

    #draftButton {
        display: block;
        margin-left: 0;
    }


    .ssp-btm-wrap {
        position: absolute;
        bottom: 20px;
        left: 20px;
    }
}

@media screen and (min-width:481px) and (max-width:767.98px) {

    .profile-bottom ul::-webkit-scrollbar {
        width: 2px;
        border-radius: 16px;
    }

    .profile-bottom ul::-webkit-scrollbar-track {
        background: #999999;
        border-radius: 16px;
    }

    .profile-bottom ul::-webkit-scrollbar-thumb {
        background: #CB2C30;
        border-radius: 16px;
        width: 2px;
    }

    .ssp-btm-wrap {
        position: absolute;
        bottom: 20px;
        left: 20px;
    }

    .add-post-page {
        width: 100%;
    }

    #li3,
    #li7 {
        min-width: 120px;
    }

    #draftButton {
        color: #fff;
        background: #CB2C30;
        padding: 11px 19px 12px 19px;
    }

    .send-message {
        margin-left: 10px;
        width: 40px;
        height: 40px;
        font-size: 0;
    }

    .search-mobile {
        display: flex;
    }

    .photo480 {
        margin-left: 20px;
    }

    .search-confirm {
        display: inline-block;
        margin-top: 40px;
    }

    .search-inside {
        padding: 20px;
    }

    .mobile-view .aside-close {
        display: block;
    }

    .left_aside.mobile-view ul {
        list-style: none;
    }

    .more1000 {
        display: none;
    }

    .less1000 {
        display: block;
    }


    .add-channel .form-input textarea {
        font-size: 14px;
    }

    .form-input input {
        font-size: 14px;
    }

    .post-comments form {
        position: relative;
        border: 2px solid #000000;
        border-radius: 3px;
        padding: 10px;
        margin-bottom: 60px;
        min-height: 80px;
    }

    .form-left {
        display: none;
    }

    .form-right {
        flex-basis: 100%;
        width: 100%;
    }

    .tag-title {
        margin: 20px 0 20px;
        font-size: 22px;
    }

    .single-channel-middle-top {
        margin-bottom: 15px;
    }

    .single-channel-date {
        margin-bottom: 0;
    }

    .single-channel-bottom-right {
        background: #fff;
        margin-left: 0;
        max-width: 100%;
        flex-basis: 100%;
        font-size: 0;
    }

    .wrap.single-channel.subscribers .channel-inside {
        display: none;
    }

    header .btn {
        font-size: 12px;
        padding: 7px 24px;
    }

    .form-right-inside {
        padding: 30px 20px !important;
    }

    .mobile-logout {
        display: block;
    }

    .single-channel-middle {
        padding: 0 10px;
    }

    .single-channel-name span {
        margin-left: 0;
        display: block;
        flex-basis: 100%;
        margin-bottom: 5px;
    }

    .profile-channel-right_left {
        flex-basis: 100%;
        margin-bottom: 10px;
    }

    .profile-channel-header {
        width: 100%;
    }

    .single-channel-name {
        flex-wrap: wrap;
    }

    .pb svg {
        max-height: 16px;
    }

    .bgs .btn {
        margin-bottom: 15px;
    }

    .registration .white-block {
        padding: 25px;
    }

    .two-inputs {
        flex-wrap: wrap;
    }

    .registration .two-inputs input {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .mobile-search-filter {
        display: block;
        top: calc(50% - 13px);
        cursor: pointer;
        background: none;
        outline: none;
        border: 0;
        position: absolute;
        right: 20px;
    }

    .search-page .search form .button {
        right: 20px;
    }

    .search-page .search {
        width: 100%;
        margin: 10px 0 60px;
        display: block !important;
    }


    .send-message img {
        margin-left: 0;
    }

    .photo480 img {
        width: 42px;
        height: 42px;
        border-radius: 100%;
        overflow: hidden;
    }

    .post-author a {
        font-size: 13px;
    }

    .hidden-context {
        top: 20px;
    }

    .left_aside {
        display: none;
    }

    .right_aside {
        display: none;
    }

    header {
        padding: 7px 20px;
        max-height: 46px;
        height: 60px;
    }

    .menu {
        margin-right: 15px;
        height: 19px;
    }

    .head-buttons {
        display: none;
    }

    .search {
        display: none;
    }

    .logo {
        margin-right: 30px;
        width: 73px;
    }

    .menu svg {
        width: 16px;
    }

    .big-posts-top {
        flex-wrap: wrap;
    }

    .container {
        padding: 0 20px;
    }

    .homepage .wrap {
        width: 100%;
    }

    .wrap {
        flex-basis: 100%;
    }

    #primary {
        padding: 0 20px 50px;
        display: block;
    }

    .big-posts-top_left {
        margin-bottom: 20px;
        max-width: 100%;
    }

    .big-posts-top_left .absi a {
        font-size: 16px;
        max-width: 90%;
    }

    .big-posts-top_right .absi a {
        font-size: 16px;
        max-width: 90%;
    }

    .big-posts-bottom {
        flex-wrap: wrap;
    }

    .big-posts-top_middle {
        flex-basis: 100%;
        height: 378px;
        position: relative;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .homepage .posts {
        padding: 25px;
    }



    .absi a {
        font-size: 16px;
    }

    .big-posts-top_right {
        flex-basis: 100%;
        height: 378px;
        max-width: 100%;
    }

    .big-posts-top_left {
        flex-basis: 100%;
        height: 378px;
    }

    .big-posts {
        margin-bottom: 0px;
    }

    .posts h2 a {
        font-size: 16px;
        display: inline-block;
        line-height: 22px;
    }

    .posts p,
    .single-post p,
    .single-post ul li,
    .single-post ol li {
        font-size: 14px;
        line-height: 1.7;
    }

    .profile-channels p, 
    .profile-comments p, 
    .profile-blacklist p  {
        font-size: 14px;
        line-height: 1.7;
    }

    #tab6 .posts {
        padding-top: 0;
    }

    .post-channel-name a {
        font-size: 13px;
        line-height: 18px;
        display: inline-block;
    }

    .post-author {
        font-size: 13px;
    }

    .post .tags a {
        font-size: 10px;
        line-height: 19px;
        opacity: 0.7;
        margin-right: 10px;
    }

    .pb {
        margin-right: 10px;
    }

    .pb>span {
        margin-right: 5px;
        font-size: 12px;
        margin-left: 8px;
    }

    .post-channel-name {
        margin-bottom: 1px;
    }

    .subser {
        margin-bottom: 20px;
    }

    .posts .post {
        padding-bottom: 15px;
    }

    .profile-channel-unsubs {
        font-size: 0 !important;
    }

    .ads {
        display: none;
    }

    .s-sport .ssp-slider .swiper-slide .ssp-itm .ssp-descr {
        font-size: 14px;
        line-height: 130%;
        min-height: 70px;
    }

    .single {
        background: #fff;
    }

    .single .posts {
        padding: 0;
        max-width: 100%;
        margin: 0 auto;
        padding-top: 20px;
    }

    #tab2 .subtab {
        padding-top: 20px;
    }

    .single-post h1 {
        margin-bottom: 30px;
        font-size: 18px;
        line-height: 140%;
        margin-bottom: 15px;
    }

    .single-post h2 {
        font-size: 16px;
        line-height: 130%;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .post-channel-name span {
        margin-left: 0;
        margin-bottom: 5px;
        display: block;
        flex-basis: 100%;
    }

    .single-comment-top-right p {
        font-size: 12px;
    }

    .single-comment-top-right span a {
        font-size: 14px;
        margin-bottom: 1px;
    }

    .single-comment-top {
        margin-bottom: 11px;
    }

    .single-comment-text {
        font-size: 14px;
    }

    .need-auth {
        font-weight: bold;
        font-size: 14px;
        margin: 20px 0;
    }

    .single-comment-top-left {
        width: 27px;
        height: 27px;
    }


    .post-comments form textarea {
        width: 100%;
        min-height: 80px;
        font-size: 13px;
    }

    .subscribe-channel {
        height: 36px;
        line-height: 36px;
    }

    .post-comments form .btn {
        bottom: -45px;
        right: 0;
        font-size: 12px;
        height: 36px;
        line-height: 36px;
    }

    .comments-list {
        margin-top: 50px;
    }

    .comment-rating span {
        font-size: 12px;
        /* margin: 0 4px; */
        min-width: 25px;
    }

    .post-bottom img {
        max-width: 22px;
        margin: 0;
    }

    .children-comment {
        padding-left: 10px;
    }

    .search-page .posts {
        min-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .search-right {
        display: none;
        position: fixed;
        overflow-y: scroll;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        z-index: 1000;
        padding: 0;
    }

    .search-right.mobile-view {
        display: block;
        top: inherit;
    }

    .search-page .search {
        margin-bottom: 20px;
    }

    .profile-page {
        max-width: 100%;
        padding: 0;
        padding-top: 20px;
    }

    .profile-wrap-right {
        display: none;
    }

    .profile-bottom ul li a {
        padding-bottom: 0;
    }

    .profile-bottom ul {
        max-width: 100%;
        overflow-x: scroll;
    }

    .profile-bottom {
        margin-top: 16px;
        overflow: hidden;
    }

    .profile-bottom p {
        font-size: 13px;
        line-height: 140%;
        margin-bottom: 20px;
    }

    .infinity {
        padding-bottom: 5px;
    }

    .infinity .posts {
        padding-bottom: 10px;
    }

    .single-channel-bottom-left {
        flex-basis: 100%;
    }

    .single-channel-bottom {
        flex-wrap: wrap;
    }

    .single .single-channel-bottom .posts {
        padding: 20px;
    }

    .profile-top {
        margin-bottom: 15px;
    }

    .profile-top img {
        margin-bottom: 0px;
    }

    .profile-middle ul li {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 5px;
        margin-right: 15px;
    }

    .profile-wrap-left {
        padding: 0;
        flex-basis: 100%;
    }

    .page {
        max-width: 100%;
        padding: 0;
        padding-top: 20px;
    }

    .item-cat {
        padding: 10px 10px 10px 10px;
        flex-basis: calc(50% - 20px);
    }

    .ite {
        font-size: 13px;
    }

    .avatar:after,
    .form-file.bg:after,
    .ava:after {
        position: relative;
        left: 0;
        font-size: 15px;
        top: 0;
        display: block;
        margin-top: 10px;
    }

    div.add-post {
        margin-bottom: 100px;
    }

    .item-cat.act .rem {
        position: relative;
        top: -3px;
    }

    .comment-text {
        font-size: 13px;
    }

    .form-input label {
        font-size: 12px;
    }

    .settings h1 {
        font-size: 20px;
    }

    .settings h1 img {
        width: 29px;
    }

    .mobile-buttons480 {
        display: flex;
        align-items: center;
    }

    .mobile-buttons480 a {
        margin-left: 20px;
    }


}

@media screen and (max-width:1000px) {
    .ads-before-slider{
        padding: 3px;
        font-size: 16px;
    }
    .ads-before-slider img{
        width: 19px;
        height: 19px;
    }
    #adsBeforeSlider{
        min-height: 22px !important;
    }

    .single-post blockquote p {
        color: #fff;
        font-size: 16px !important;
        line-height: 30px !important;
    }

    .single-post blockquote {

        font-size: 16px;
        padding: 20px 25px !important;
    }

    #primary {
        min-height: 100vh;
    }
}

@media screen and (min-width:768px) and (max-width:1000px) {


    .send-message {
        margin-left: 10px;
        width: 40px;
        height: 40px;
        font-size: 0;
    }

    .search-mobile {
        display: flex;
    }

    .photo480 {
        margin-left: 20px;
    }

    .search-confirm {
        display: inline-block;
        margin-top: 40px;
    }

    .search-inside {
        padding: 20px;
    }

    .mobile-view .aside-close {
        display: block;
    }

    .mobile-view .aside-close {
        display: block;
    }

    .left_aside.mobile-view ul {
        list-style: none;
    }

    .more1000 {
        display: none;
    }

    .less1000 {
        display: block;
    }


    .add-channel .form-input textarea {
        font-size: 14px;
    }

    .form-input input {
        font-size: 14px;
    }

    .post-comments form {
        position: relative;
        border: 2px solid #000000;
        border-radius: 3px;
        padding: 10px;
        margin-bottom: 60px;
        min-height: 80px;
    }

    .form-right {

    }
    /* .form-left {
        display: none;
    } */

    .tag-title {
        margin: 20px 0 20px;
        font-size: 22px;
    }

    .single-channel-middle-top {
        margin-bottom: 15px;
    }

    .single-channel-date {
        margin-bottom: 0;
    }

    .single-channel-bottom-right {
        background: #fff;
        margin-left: 0;
        max-width: 100%;
        flex-basis: 100%;
        font-size: 0;
    }

    .wrap.single-channel.subscribers .channel-inside {
        display: none;
    }

    header .btn {
        font-size: 12px;
        padding: 7px 24px;
    }

    .form-right-inside {
        padding: 30px 20px !important;
    }

    .mobile-logout {
        display: block;
    }

    .single-channel-middle {
        padding: 0 10px;
    }

    .single-channel-name span {
        margin-left: 0;
        display: block;
        flex-basis: 100%;
        margin-bottom: 5px;
    }

    .profile-channel-right_left {
        flex-basis: 100%;
        margin-bottom: 10px;
    }

    .profile-channel-header {
        width: 100%;
    }

    .single-channel-name {
        flex-wrap: wrap;
    }

    .pb svg {
        max-height: 16px;
    }

    .bgs .btn {
        margin-bottom: 15px;
    }

    .registration .white-block {
        padding: 25px;
    }

    .two-inputs {
        flex-wrap: wrap;
    }

    .registration .two-inputs input {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .mobile-search-filter {
        display: block;
        top: calc(50% - 13px);
        cursor: pointer;
        background: none;
        outline: none;
        border: 0;
        position: absolute;
        right: 20px;
    }

    .search-page .search form .button {
        right: 20px;
    }

    .search-page .search {
        width: 100%;
        margin: 10px 0 60px;
        display: block !important;
    }


    .send-message img {
        margin-left: 0;
    }

    .photo480 img {
        width: 42px;
        height: 42px;
        border-radius: 100%;
        overflow: hidden;
    }

    .post-author a {
        font-size: 13px;
    }

    .hidden-context {
        top: 20px;
    }

    .left_aside {
        display: none;
    }

    .right_aside {
        display: none;
    }

    header {
        padding: 7px 20px;
        max-height: 46px;
    }

    .menu {
        margin-right: 15px;
        height: 19px;
    }

    .head-buttons {
        display: none;
    }

    .search {
        display: none;
    }

    .logo {
        margin-right: 30px;
        width: 73px;
    }

    .menu svg {
        width: 16px;
    }

    .big-posts-top {
        flex-wrap: wrap;
    }

    .container {
        padding: 0 20px;
    }

    .homepage .wrap {
        width: 100%;
    }

    .wrap {
        flex-basis: 100%;
    }

    #primary {
        padding: 0 20px;
        display: block;
    }

    .big-posts-top_left {
        margin-bottom: 20px;
        max-width: 100%;
    }

    .big-posts-top_left .absi a {
        font-size: 16px;
        max-width: 90%;
    }

    .big-posts-top_right .absi a {
        font-size: 16px;
        max-width: 90%;
    }

    .big-posts-bottom {
        flex-wrap: wrap;
    }

    .big-posts-top_middle {
        flex-basis: 100%;
        height: 378px;
        position: relative;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .homepage .posts {
        padding: 25px;
    }



    .absi a {
        font-size: 16px;
    }

    .big-posts-top_right {
        flex-basis: 100%;
        height: 378px;
        max-width: 100%;
    }

    .big-posts-top_left {
        flex-basis: 100%;
        height: 378px;
    }

    .big-posts {
        margin-bottom: 0px;
    }

    .posts h2 a {
        font-size: 16px;
        display: inline-block;
        line-height: 22px;
    }

    .posts p,
    .single-post p,
    .single-post ul li,
    .single-post ol li {
        font-size: 14px;
        line-height: 1.7;
    }

    .profile-channels p, 
    .profile-comments p, 
    .profile-blacklist p  {
        font-size: 14px;
        line-height: 1.7;
    }

    #tab6 .posts {
        padding-top: 0;
    }

    .post-channel-name a {
        font-size: 13px;
        line-height: 18px;
        display: inline-block;
    }

    .post-author {
        font-size: 13px;
    }

    .post .tags a {
        font-size: 10px;
        line-height: 19px;
        opacity: 0.7;
        margin-right: 10px;
    }

    .pb {
        margin-right: 10px;
    }

    .pb>span {
        margin-right: 5px;
        font-size: 12px;
        margin-left: 8px;
    }

    .post-channel-name {
        margin-bottom: 1px;
    }

    .subser {
        margin-bottom: 20px;
    }

    .posts .post {
        padding-bottom: 15px;
    }

    .profile-channel-unsubs {
        font-size: 0 !important;
    }

    .ads {
        display: none;
    }

    .s-sport .ssp-slider .swiper-slide .ssp-itm .ssp-descr {
        font-size: 14px;
        line-height: 130%;
        min-height: 70px;
    }

    .single {
        background: #fff;
    }

    .single .posts {
        padding: 0;
        max-width: 100%;
        margin: 0 auto;
        padding-top: 20px;
    }

    #tab2 .subtab {
        padding-top: 20px;
    }

    .single-post h1 {
        margin-bottom: 30px;
        font-size: 18px;
        line-height: 140%;
        margin-bottom: 15px;
    }

    .single-post h2 {
        font-size: 16px;
        line-height: 130%;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .post-channel-name span {
        margin-left: 0;
        margin-bottom: 5px;
        display: block;
        flex-basis: 100%;
    }

    .single-comment-top-right p {
        font-size: 12px;
    }

    .single-comment-top-right span a {
        font-size: 14px;
        margin-bottom: 1px;
    }

    .single-comment-top {
        margin-bottom: 11px;
    }

    .single-comment-text {
        font-size: 14px;
    }

    .need-auth {
        font-weight: bold;
        font-size: 14px;
        margin: 20px 0;
    }

    .single-comment-top-left {
        width: 27px;
        height: 27px;
    }


    .post-comments form textarea {
        width: 100%;
        min-height: 80px;
        font-size: 13px;
    }

    .subscribe-channel {
        height: 36px;
        line-height: 36px;
    }

    .post-comments form .btn {
        bottom: -45px;
        right: 0;
        font-size: 12px;
        height: 36px;
        line-height: 36px;
    }

    .comments-list {
        margin-top: 50px;
    }

    .comment-rating span {
        font-size: 12px;
        /* margin: 0 4px; */
        min-width: 25px;
    }

    .post-bottom img {
        max-width: 22px;
        margin: 0;
    }

    .children-comment {
        padding-left: 10px;
    }

    .search-page .posts {
        min-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .search-right {
        display: none;
        position: fixed;
        overflow-y: scroll;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        z-index: 1000;
        padding: 0;
    }

    .search-right.mobile-view {
        display: block;
        top: inherit;
    }

    .search-page .search {
        margin-bottom: 20px;
    }

    .profile-page {
        max-width: 100%;
        padding: 0;
        padding-top: 20px;
    }

    .profile-wrap-right {
        display: none;
    }

    .profile-bottom ul li a {
        padding-bottom: 0;
    }

    .profile-bottom ul {
        width: 700px;
        overflow-x: scroll;
    }

    .profile-bottom {
        margin-top: 16px;
        overflow: hidden;
    }

    .profile-bottom p {
        font-size: 13px;
        line-height: 140%;
        margin-bottom: 20px;
    }

    .infinity {
        padding-bottom: 5px;
    }

    .infinity .posts {
        padding-bottom: 10px;
    }

    .single-channel-bottom-left {
        flex-basis: 100%;
    }

    .single-channel-bottom {
        flex-wrap: wrap;
    }

    .single .single-channel-bottom .posts {
        padding: 20px;
    }

    .profile-top {
        margin-bottom: 15px;
    }

    .profile-top img {
        margin-bottom: 0px;
    }

    .profile-middle ul li {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 5px;
        margin-right: 15px;
    }

    .profile-wrap-left {
        padding: 0;
        flex-basis: 100%;
    }

    .page {
        max-width: 100%;
        padding: 0;
        padding-top: 20px;
    }

    .item-cat {
        padding: 10px 10px 10px 10px;
        flex-basis: calc(50% - 20px);
    }

    .ite {
        font-size: 13px;
    }

    .avatar:after,
    .form-file.bg:after,
    .ava:after {
        position: relative;
        left: 0;
        font-size: 15px;
        top: 0;
        display: block;
        margin-top: 10px;
    }

    div.add-post {
        margin-bottom: 100px;
    }

    .item-cat.act .rem {
        position: relative;
        top: -3px;
    }

    .comment-text {
        font-size: 13px;
    }

    .form-input label {
        font-size: 12px;
    }

    .settings h1 {
        font-size: 20px;
    }

    .settings h1 img {
        width: 29px;
    }

    .mobile-buttons480 {
        display: flex;
        align-items: center;
    }

    .mobile-buttons480 a {
        margin-left: 20px;
    }

    .mobile-buttons480 {
        display: flex;
    }
}

/* От нуля и выше (режим мобилы на этом сайте до 1200) */
@media screen and (max-width: 1200px) {

    aside {
        padding: 15px;
        max-width: 100%;
        width: 100%;
    }

    .left_aside.mobile-view,
    .right_aside.mobile-view {
        padding: 0;
        /* Общий сброс */
        box-sizing: border-box;
        position: fixed;
        top: 0;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 30px;
        height: 100%;
        display: block;
        background: #F8F6F5;
        z-index: 1000;
        overflow-y: scroll;
    }

    .left_aside.mobile-view {
        left: 0;
    }

    .right_aside.mobile-view {
        right: 0;
        padding-left: 20px;
    }
}

@media screen and (min-width:1001px) and (max-width:1200px) {

    #primary {
        padding: 0 20px;
    }

    .left_aside ul li a,
    ul.popular-tags li {
        font-size: 15px;
    }

    .info-menu a {
        font-size: 15px;
    }

    .left_aside.mobile-view {
        max-width: 200px;
    }

    .right_aside.mobile-view {
        max-width: 200px;
    }

    .wrap {
        flex-basis: calc(100% - 440px);
        max-width: 1180px;
        width: calc(100% - 420px);
    }

    .page {
        width: auto;
    }

    .search-page .posts {
        padding: 50px 50px;
        min-width: 10px;
        flex-basis: calc(100% - 260px);
    }

    .page {
        max-width: none;
        margin: 0 auto;
        width: auto;
    }

    ul.ul-categories li {
        font-size: 13px;
        line-height: 229%;
        padding: 0px 8px 0px 0;
        margin-right: 6px;
    }

    .side-user-right span a {
        font-size: 16px;
    }

    .search-right {
        min-width: 180px;
        max-width: 180px;
    }

    .homepage .wrap {
        flex-basis: 100%;
        max-width: 1180px;
        width: 100%;
    }

    .profile-middle ul li {
        font-size: 14px;
    }

    .wrap {
        flex-basis: 100%;
        max-width: 1180px;
        width: 100%;
    }

    .popular-name a {
        font-size: 14px;
        line-height: 140%;
    }

    .posts h2 a {
        font-size: 22px;
    }

    .socials a {
        margin-right: 16px;
    }

    .s-sport .ssp-slider .swiper-slide .ssp-itm .ssp-descr {
        font-size: 14px;
    }

    .absi a {
        font-size: 14px;
    }

    .big-posts-top_left .absi a {
        font-size: 17px;
        max-width: 90%;
    }

    .big-posts-top_right .absi a {
        font-size: 17px;
        max-width: 90%;
    }

    ul.link-profile li a {
        font-size: 14px;
    }

    .search {
        width: 400px;
    }

    .absi {
        left: 20px;
        max-width: 88%;
    }

    .single-post h1 {
        font-size: 24px;
    }

    .posts p,
    .single-post p,
    .single-post ul li,
    .single-post ol li {
        font-size: 15px;
        line-height: 1.7;
    }

    #tab6 .posts {
        padding-top: 0;
    }

    .profile-channels p, 
    .profile-comments p, 
    .profile-blacklist p  {
        font-size: 15px;
        line-height: 1.7;
    }

    .single-post h2 {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .profile-bottom ul li a {
        font-size: 13px;
    }

    .page {
        padding: 40px;
    }

    .profile-bottom p {
        font-size: 13px;
    }

    .profile-middle ul {
        justify-content: start;
    }

    .profile-bottom ul li a {
        padding-bottom: 10px;
    }

    .profile-bottom ul {
        justify-content: start;
    }

    .profile-bottom ul li {
        margin-right: 20px;
    }

    .profile-wrap-left {
        flex-basis: calc(100% - 400px);
        max-width: calc(100% - 400px);
    }

    .profile-wrap {
        max-width: 100%;
    }

    .profile-middle ul li {
        margin: 0;
        margin-right: 20px;
    }


    /* .chat-block {
        position: relative;
        padding: 30px;
        padding-bottom: 100px;
    } */

    .menu {
        cursor: pointer;
    }

    .absi-date {
        font-size: 13px;
    }


    .right_aside .profile-channel-left img {
        max-width: 100%;
    }

    .right_aside .profile-channel-left {
        max-width: 34px;
        min-width: 35px;
    }

    .big-posts-top_right .absi a {
        font-size: 18px;
    }

    .left_aside ul li a {
        font-size: 14px;
    }

    .single-post blockquote p {
        color: #fff;
        font-size: 18px !important;
        line-height: 34px !important;
    }

    .single-post blockquote {

        font-size: 25px;
        padding: 20px 25px !important;
    }


    ul.popular-tags li a {
        font-size: 14px;
    }

    .info-menu a {
        font-size: 14px;
    }

    .socials a {
        margin-right: 13px;
    }

    .profile-channel-top {
        font-size: 13px;
    }

    .side-user-left {
        max-width: 60px;
    }

    .left_aside {
        display: none;
    }

    .right_aside {
        display: none;
    }

    .search {
        width: 280px;
    }

    .ads,
    .menu.more1000,
    .head-buttons,
    header .search {
        display: none;
    }

    .menu.less1000 {
        display: block;
    }

    .mobile-buttons480 {
        display: flex;
        align-items: center;
    }

    .mobile-buttons480 a,
    .photo480 {
        margin-left: 20px;
    }

    .photo480 img {
        width: 42px;
        height: 42px;
        border-radius: 100%;
        overflow: hidden;
        cursor: pointer;
    }

    .mobile-view .aside-close {
        display: block;
    }

    .left_aside.mobile-view ul {
        list-style: none;
    }
}

@media screen and (min-width:1201px) and (max-width:1284px) {
    .profile-bottom ul {
        width: 100%;
        overflow-x: scroll;
    }
}

@media screen and (min-width:1201px) and (max-width:1450px) {
    .profile-wrap-left {
        margin-right: 20px;
    }
    .profile-channel-bottom span a {
        font-size: 13px;
    }

    #primary {
        padding: 0 20px;
    }

    .left_aside ul li a,
    ul.popular-tags li {
        font-size: 15px;
    }

    .info-menu a {
        font-size: 15px;
    }

    .wrap {
        flex-basis: calc(100% - 440px);
        max-width: 1180px;
        width: calc(100% - 420px);
    }

    .page {
        width: auto;
    }

    .search-page .posts {
        padding: 50px 50px;
        min-width: 10px;
        flex-basis: calc(100% - 260px);
    }

    .page {
        max-width: none;
        margin: 0 auto;
        width: auto;
    }

    ul.ul-categories li {
        font-size: 13px;
        line-height: 229%;
        padding: 0px 8px 0px 0;
        margin-right: 6px;
    }

    .side-user-right span a {
        font-size: 16px;
    }

    .search-right {
        min-width: 180px;
        max-width: 180px;
    }

    .homepage .wrap {
        max-width: 1180px;
        width: calc(66% - 40px);
    }

    .profile-middle ul li {
        font-size: 14px;
    }

    .homepage .wrap {
        flex-basis: calc(100% - 440px);
        max-width: 1180px;
        width: calc(100% - 420px);
    }

    .popular-name a {
        font-size: 13px;
        line-height: 140%;
    }

    .posts h2 a {
        font-size: 22px;
    }

    .socials a {
        margin-right: 16px;
    }

    .s-sport .ssp-slider .swiper-slide .ssp-itm .ssp-descr {
        font-size: 14px;
    }

    .absi a {
        font-size: 14px;
    }

    .big-posts-top_left .absi a {
        font-size: 17px;
        max-width: 90%;
    }

    .big-posts-top_right .absi a {
        font-size: 17px;
        max-width: 90%;
    }

    ul.link-profile li a {
        font-size: 13px;
    }

    .search {
        width: 400px;
    }

    .absi {
        left: 20px;
        max-width: 88%;
    }

    .single-post h1 {
        font-size: 24px;
    }

    .posts p,
    .single-post p,
    .single-post ul li,
    .single-post ol li {
        font-size: 15px;
        line-height: 1.7;
    }

    .profile-channels p, 
    .profile-comments p, 
    .profile-blacklist p  {
        font-size: 15px;
        line-height: 1.7;
    }

    #tab6 .posts {
        padding-top: 0;
    }

    .single-post h2 {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .profile-bottom ul li a {
        font-size: 13px;
    }

    .page {
        padding: 40px;
    }

    .profile-bottom p {
        font-size: 13px;
    }

    .profile-middle ul {
        justify-content: space-between;
    }

    .profile-middle ul li {
        margin: 0;
    }


    /* .chat-block {
        position: relative;
        padding: 30px;
        padding-bottom: 100px;
    } */

    .menu {
        cursor: pointer;
    }

    .absi-date {
        font-size: 13px;
    }

    .right_aside .profile-channel-left img {
        max-width: 100%;
    }

    .right_aside .profile-channel-left {
        max-width: 25px;
        min-width: 25px;
    }

    .big-posts-top_right .absi a {
        font-size: 18px;
    }

    .left_aside ul li a {
        font-size: 14px;
    }

    .single-post blockquote p {
        color: #fff;
        font-size: 18px !important;
        line-height: 34px !important;
    }

    .single-post blockquote {

        font-size: 25px;
        padding: 20px 25px !important;
    }


    ul.popular-tags li a {
        font-size: 13px;
    }

    .info-menu a {
        font-size: 13px;
    }

    .socials a {
        margin-right: 13px;
    }

    .profile-channel-top {
        font-size: 13px;
    }

    .side-user-left {
        max-width: 60px;
    }


}

@media screen and (min-width:1451px) and (max-width:1651px) {

    .page {
        max-width: none;
        margin: 0 auto;
        width: auto;
    }


    .big-posts-top_right .absi a {
        font-size: 18px;
    }

    .left_aside ul li a {
        font-size: 16px;
    }

    ul.popular-tags li a {
        font-size: 16px;
    }

    .info-menu a {
        font-size: 16px;
    }

    .socials a {
        margin-right: 13px;
    }

    .profile-channel-top {
        font-size: 13px;
    }

    .profile-page {
        padding-right: 90px;
        max-width: none;
        padding-bottom: 0;
        flex-basis: auto;
        width: auto;
    }

    .profile-wrap-left {
        margin-right: 20px;
    }

    .comment-user-left {
        overflow: hidden;
    }

    .comment-text {
        font-size: 14px;
    }

    .profile-wrap {
        max-width: none;
    }

    .search-page .posts {
        padding: 50px 50px;
        min-width: 10px;
        flex-basis: calc(100% - 260px);
    }



}

@media screen and (min-width:767px) and (max-width:1651px) {
    .homepage .posts {
        margin: 0 auto;
        padding: 35px 20px;
    }
}

@media screen and (min-width:1652px) {
    .homepage .posts {
        margin: 0 10%;
    }
}

@media screen and (min-width:1920px) and (max-width:7681px) {
    .profile-wrap-left {
        margin-right: 20px;
    }

    #brand {
        max-width: 80%;
    }

    .homepage .wrap {
        max-width: 75%;
    }

    .homepage .posts,
    .profile-wrap,
    .profile-wrap-left,
    .single .posts .posts,
    .single-channel .posts .posts,
    .single .profile-wrap .posts,
    .profile-wrap .posts,
    .single-channel .subsers.posts {
        max-width: 100%;
    }

    .profile-wrap-left,
    .single-channel-bottom-left {
        flex-basis: calc(100% - 280px);
    }

    .single .posts,
    .single-channel,
    .single .single-channel.posts {
        box-sizing: border-box;
        max-width: 60%;
    }

    .big-posts-top_left {
        flex-basis: 66%;
    }

    .big-posts-top_right,
    .big-posts-top_middle {
        flex-basis: 33%;
    }

    .page {
        box-sizing: border-box;
        max-width: 100%;
    }

}

@media screen and (min-width:992px) {
    .swiper-slide {
        background: none !important;
    }
}

@media screen and (max-width: 991.98px) {
    .ssp-btm-wrap {
        position: absolute;
        bottom: 20px;
        left: 20px;
    }

    .balance-block-top,
    .balance-block-bottom {
        flex-direction: column;
        gap: 10px;
    }
    .balance-block-bottom-c1 {
        margin: auto;
    }
}

@media screen and (max-width: 575.98px) {
    .post-channel-data {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        grid-row-gap: 18px;
    }

    .post-channel-data__ava {
        grid-area: 1 / 1 / 2 / 2;
    }

    .post-channel-data__content {
        grid-area: 1 / 2 / 2 / 3;
    }

    .post-channel-data__button {
        grid-area: 2 / 1 / 3 / 3;
    }

    .post-channel-and-user {
        flex-direction: column;
    }

    .post-channel-and-user a {
        font-size: 13px;
    }

    .balance-buttons {
        padding-left: 0;
    }

    .operations-block {
        padding: 10px 0;
    }

    .operations-block table,
    .operations-block tbody,
    .operations-block tr,
    .operations-block td {
        display: block;
        border-bottom: 0;
    }
    .operations-block tr {
        border-bottom:1px solid #C9C9C9;
    }
}




.rsb-popular-channels__buttons {
    padding-top: 10px;
    grid-area: 3/1/4/3;
}

@media (min-width: 576px) {
    .rsb-popular-channels__buttons {
        grid-area: 1/3/3/4;
    }
}


.rsb-popular-channels__buttons {
    display: flex;
    justify-content: flex-end;
}


.rsb-popular-channels__button {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid #CB2C30;
    color: #FFFFFF;
    background: #CB2C30;
    border-radius: 5px;
    text-decoration: none;
    height: 20px;
    width: 120px;
    margin-bottom: 8px;
    transition: 0.3s;
}
@media (max-width:1200px ) {
    .rsb-popular-channels__button{
        width: 100px;
    }
}
.rsb-popular-channels__button:hover {
    color: #CB2C30;
    background: #FFFFFF;
}

.rsb-popular-channels__unsubscribe {
    background: #CCCCCC;
    border: 1px solid #CCCCCC;
    color: #FFFFFF;
}
.rsb-popular-channels__unsubscribe:hover {
    color: #CCCCCC;
    background: #FFFFFF;
}

/* Вкладки на странице профиля. 
Добавлено, чтобы избежать бага в мобильной версии,
когда трогаем другую вкладку, но не нажимаем */
@media (hover: hover){
    .profile-bottom ul li:hover {
        color: #CB2C30;
        border-bottom:2px solid #CB2C30;
    }
}

@media (hover: none){
    .profile-bottom ul li:active {
        color: #CB2C30;
        border-bottom:2px solid #CB2C30;
    }
}

/* в зависимости от подписан или нет отображаем разные кнопки*/
.rsb-popular-channels__subscribe {display: flex}
.rsb-popular-channels__unsubscribe {display: none}
.subscribed .rsb-popular-channels__subscribe {display: none}
.subscribed .rsb-popular-channels__unsubscribe {display: flex}