﻿@media (max-width: 991px) {
    .sidebar {
        display: none;
        width: 0;
    }

    .composer {
        left: 0;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .top-header {
        margin-left: 0;
    }

    .main-content {
        margin-left: 0;
        margin-bottom: 70px;
    }

    .top-header.desktop {
        display: none;
    }

    .top-header.mobile {
        display: flex;
    }

    .mobile-logo {
        display: block;
        /* margin-left: 16px;*/
    }

        .mobile-logo img {
            border-radius: 10px;
            width: 40px;
        }

    .mobile-account {
        display: block;
        margin-right: 16px;
    }

        .mobile-account .rounded-circle {
            border: 2px solid var(--offside-blue);
        }

    .mobile-footer-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: #fff;
        border-top: 1px solid #ccc;
        z-index: 1000;
    }

        .mobile-footer-nav a {
            flex: 1;
            text-align: center;
            color: #000;
            font-size: 22px;
            padding: 10px;
        }

            .mobile-footer-nav a.active::after {
                content: '';
                width: 6px;
                height: 6px;
                background-color: #000;
                border-radius: 50%;
                position: absolute;
                transform: translate(-50%, -50%);
            }

    .search-bar input {
        width: 88%;
        padding: 5px 5px 5px 5px;
        text-align: center;
        font-size: 12px;
    }

    /*.search-icon {
        position:absolute;
        left: 34%;
    }*/
    .swiper {
        overflow: hidden !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.175);
        margin-left: -16px !important;
        margin-right: -16px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

        .swiper.container-lg {
            width: initial;
        }

        .swiper .container-lg {
            border-bottom: none;
        }

    .custom-swiper {
        padding-bottom: 20px;
    }

    .swiper-container h2 {
        margin-bottom: 10px;
    }

        .swiper-container h2.pl-50 {
            padding-left: 0px;
            font-size: 20px;
        }

    .swiper-button-prev, .swiper-button-next {
        width: 28px !important;
        height: 28px !important;
    }

    .swiper-nav-top-right {
        top: 30px;
    }

    .card img {
        max-height: 220px;
    }

    .hot-articles {
        height: 250px;
        margin-left: 5px;
        margin-right: 5px;
    }
    /* CREATOR */
    .creator-avatar {
        width: 60px;
        height: 60px;
        margin-left: 0px;
        margin-top: 0px;
    }

    .creator-short-bio {
        margin-left: 86px;
        margin-top: 0px;
        font-size: 13px;
    }

    .creator-page.post-back-button {
        margin-top: 26px;
        font-size: 16px;
        width: 35px;
        height: 35px;
        margin-left: 16px;
    }

    .creator-page.justify-content-center {
        justify-content: space-evenly !important;
    }

    .creator-page.nav {
        align-items: center;
        justify-content: space-evenly;
    }

    .creator-page li {
        font-size: 11px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .creator-page hr {
        margin-left: -16px;
        margin-right: -16px;
    }

    .creator-page.main-content, .creator-page.p-l-r-30, .creator-banner {
        padding-left: 0px;
        padding-right: 0px;
    }

    .creator-banner {
        padding-left: 0px;
        padding-right: 0px;
        margin-top: 0px;
    }

    .creator-cover {
        height: 140px;
        border-radius: 0px;
    }

    .creator-details {
        margin-top: 12px;
        margin-left: 10px;
    }

        .creator-details h1 {
            font-size: 16px;
        }

        .creator-details .subscribers {
            font-size: 12px;
        }

    .creator-actions {
        margin-left: 70px;
    }

        .creator-actions .btn {
            padding: 6px 16px;
            font-size: 11px;
        }

    .subscriber-info .creator-actions {
        margin-left: 0px;
    }
    .creator-content.publication-card {
        margin-top: 0px !important;
    }

    .creator-info {
        margin-top: -25px;
        padding-left: 16px;
        padding-right: 16px;
    }
    /*******/
    /*ARTICLE*/
    .fixed-bottom small {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    .post-page.p-l-r-30 {
        padding-left: 0px;
        padding-right: 0px;
    }
    /*******/
    .publication-card {
        left: 0px;
        padding-left: 0px;
        position: absolute;
        right: 0px;
        padding-right: 0px;
    }

    .post-container {
        margin-top: 20px;
    }

    .post-title {
        font-size: 22px;
    }

    .post-body {
        font-size: 15px;
    }

    .card-body .post-content {
        padding-left: 0px;
    }

    .post-content {
        padding-right: 0px;
    }

    .post-back-button {
        font-size: 20px;
        width: 40px;
        height: 40px;
        margin-left: 40px;
        background-color: var(--offside-white);
    }

    .post-share-button {
        font-size: 20px;
        margin-top: 0px;
        width: 40px;
        height: 40px;
        margin-left: 85%;
    }

    .post-cover {
        margin-top: -60px;
    }

    .footer-main {
        padding-left: 0px;
        position: initial;
    }

    .subscription-card {
        flex-direction: column;
    }

    .thumb {
        width: 100%;
        height: 200px;
    }

    .topic-nav {
        width: 82px;
        font-size: 10px;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .main-nav {
        font-size: 12px;
    }

    .main-nav-menu.mt--12 {
        margin-top: -3px;
    }

    .main-nav-cat-menu .gap-2 {
        gap: 4px !important;
    }

    .container-xl.main-nav-cat-menu {
        padding-left: 0px;
        padding-right: 0px;
    }

    .main-content {
        margin-top: 0px;
    }

    .post-social .social-buttons {
        margin-top: 6px;
    }

    .new-article-card {
        flex-direction: column;
    }

    .p-l-r-0 {
        padding-left: 16px;
        padding-right: 16px;
    }

    .publication-card .card.mb-4:last-child {
        margin-bottom: 4rem !important;
    }

    .no-border-bottom {
        border-bottom: 0px;
    }

    .btn-mobile {
        display: flex;
    }

    .btn-w-200 {
        width: auto;
    }

    .custom-pop-swiper .card-label-creator span {
        font-size: 0.7rem;
    }

    .custom-swiper h3 {
        font-size: 13px;
    }

    .card-body .post-head a.creator-name {
        font-size: 13px;
    }

    .card-body .post-head .text-muted {
        font-size: 11px;
    }

    .card-body p {
        font-size: 13px;
    }

    .publication-card-overlay .card-label-creator {
        font-size: 0.7rem;
    }

    .publication-card-overlay h3 {
        font-size: 13px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
    }

    .publication-card .card img {
        max-height: 270px;
    }

    .publication-card-overlay {
        height: 90px;
        margin-top: -97px;
    }

    .cover-overlay {
        height: 22px;
        margin-top: -20px;
    }

    .creator-page.sub-content {
        margin-top: 0px;
    }

    .repassed {
        padding-left: 0px;
        padding-bottom: 10px;
    }

    .subscription-page h4 {
        font-size: 20px;
    }

    .subscription-page .text-start p {
        font-size: 12px;
    }

    .subscription-page .btn-main {
        font-size: 12px;
    }

    .m-mb-32 {
        margin-bottom: 32px;
    }

    .offside-subscription-area h3 {
        font-size: 20px;
    }

    .offside-subscription-area .text-start p, .offside-subscription-area .monthly-price {
        font-size: 12px;
    }

    .offside-subscription-area .card-member {
        padding-left: 10px !important;
    }

    .search-icon {
        font-size: 11px;
    }

    .short-post-media-item {
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
        max-height: 100% !important;
    }
    .video-rounded.short-post-media-item {
        height: 475px !important;
        object-fit: cover;
    }
}

@media (min-width: 1200px) {
    .container-lg.post-page {
        max-width: 1000px;
    }
}

@media (min-width: 1400px) {
    .container-lg.post-page {
        max-width: 1000px;
    }
}
