@media (max-width: 1330px) {
    .widget-product .module-title-btn {
        display: block;
    }

    .widget .card-header, .brand-slider .card-header {
        border-bottom: 1px solid #dfdfdf;
    }

    .widget .product-header {
        border-bottom: none;
    }

    .sticky-sidebar-distant {
        display: none !important;
    }

    .main-aside nav ul.stick-menu {
        display: none;
    }

    .main-content .topics .topics-content .post-module .post-module-title .social-act {
        float: left;
        width: 200px;
        margin-left: 20px;
    }

    .main-content .topics .topics-content .post-module .post-module-social .operation {
        width: 100%;
        text-align: center;
        direction: ltr;
    }


    .main-content .topics .topics-content .post-module .post-module-social .post-module-social-start .stars-wrapper {
        float: none;
    }

    .main-content .topics .topics-content .post-module .post-module-social .post-module-social-start .stars-wrapper i {
        font-size: 18px;
    }

    .main-content .topics .topics-content .post-module .post-module-social .social-networks {
        /*float: none;*/
    }

    .main-content .topics .topics-content .post-module .post-module-social .check-handler {
        float: none;
    }

    .main-content .topics .topics-content .post-module .post-module-social .post-module-social-btn-res {
        display: none;
    }

    .main-content .topics .topics-content .post-module .post-module-social .post-module-social-btn {
        float: none;
    }

    .main-content .topics .topics-content .post-module .post-module-social .post-module-social-sep {
        float: none;
        display: inline-block;
    }

    .main-content .topics .topics-content .post-module .post-module-social .social-networks a.icon-social {
        display: inline;

    }

    .main-content .topics .topics-content .sidebar-banner {
        display: none;
    }

    .d-b {
        display: none !important;
    }

    nav.top-menu-box {
        padding: 0 104px;
    }
}

@media (max-width: 1200px) {
    .nav-btn {
        display: block;
        margin-top: 0;
        right: 4px;
    }

    .main-content .topics .topics-content .post-module .comments-template .comment-respond .comment-form .comment-fields .input-textbox {
        margin-right: 0;
        margin-bottom: 10px;
        margin-top: 10px;
        padding: 0 15px;
        font-size: 14px;
        width: 100%;
        border-radius: 3px;
        background-color: #ffffff;
        float: right;
    }

    .main-content .topics .post-nav .post-nav-body ul.related-posts li.related-posts-item {
        display: flex;
        padding: 20px 5px 20px 5px;
    }

    .main .main-content .sidebar-topics-aside .post-list-widget ul.favourites-list li.favourites-list .item-detail {
        width: 55%;
        float: right;
    }

    .main .main-content .sidebar-topics-aside .post-list-widget ul.favourites-list li.favourites-list a {
        float: right;
    }

    .main .main-content .sidebar-topics-aside .post-list-widget ul.favourites-list li.favourites-list .item-detail .item-detail-time {
        float: right;
    }

}

@media (max-width: 1110px) {
    .homepage-top .logo {
        display: none;
    }

    .res-div {
        max-width: 100%;
        padding: 0;
    }

    .homepage-top .header-right .mobile-bar {
        display: block;
        padding: 0 20px;
    }

    .homepage-top .header-right .mobile-bar .nav-btn {
        display: block;
    }

    .homepage-header-aside {
        display: none;
    }

    .sidebar-digimag {
        display: none;
    }

    .header-responsive-left {
        display: block !important;
        float: left;
        width: 85px;
        padding-bottom: 10px;
        height: 100%;
    }

    .homepage-top .header-left {
        display: none;
    }

    .homepage-top .header-left .search-btn {
        margin-left: 0;
        cursor: pointer;
        float: right;
        line-height: 60px;
        padding: 0;
    }

    .homepage-top .header-left .user-pane {
        padding-right: 0;
        float: left;
        line-height: 60px;
    }

    .homepage-top .hashtag .hashtag-title {
        padding-right: 20px;
    }

    .modal-dialog .modal-content .modal-body .login-pop-wrapper .login-pop-wrapper-result form.login-box .forgotten .forgotten-wrapper {
        float: right;
        width: 100%;
        text-align: right;
    }

    .homepage-header-content {
        display: none;
    }

    nav.top-menu-box {
        display: none;
    }
}

@media (max-width: 991px) {

    .main .main-content .sidebar-topics-aside .post-list-widget .favourites-title {
        padding: 0 0 50px;
    }

    .main .main-content .sidebar-topics-aside .post-list-widget .widget-title::after {
        content: "";
        display: block;
        width: 0;
    }

    .archive-header .media-header img {
        width: 25px;
        height: 25px;
        display: inline-block;
        float: right;
        margin-left: 10px !important;
        margin-top: 7px;
    }

    .archive-header .media-header .media-header-content .input-sesarch {
        display: block;
        background-color: #fafafa;
        padding: 0 15px;
        height: 40px;
        border-radius: 50px;
        font-size: 12px;
        width: 100%;
    }

    .archive-header .category .category-vol {
        width: 100%;
        text-align: center;
    }

    .archive-header .category .category-sort .order {
        margin-left: 0;
    }

    .archive-header .category .category-sort .order:last-child {
        float: left;
    }

    .main-content .topics .topics-content .post-module .post-module-title .social-act .social-act-txt {
        display: none;
    }

    .main-content .topics .topics-content .post-module .post-module-title .social-act .social-act-sep {
        display: none;
    }

    .main-content .topics .topics-content .post-module .post-module-title .social-act {
        text-align: left;
        position: absolute;
        width: auto;
        left: 0;
    }

    .main-content .topics .topics-content .post-module .post-module-title .social-act .bookmark-wrapper .popularity {
        width: 100%;
    }

    .main-content .topics .topics-content .post-module .post-module-title .social-act i {
        background: rgba(0, 0, 0, .5);
        color: #fff;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 18px;
        border-radius: 50px;
        margin-bottom: 10px;
    }

    .main-content .topics .topics-content .post-module {
        padding: 0 10px;
    }

    .main-content .topics .topics-content .post-module .post-module-title h1.txt-entry-title {
        max-width: 75%;
        font-size: 14px !important;
        margin-top: 0;
        font-weight: 700;
    }

}

@media (max-width: 768px) {
    
    .masonry-gallery{
        padding: 0 10px;
    }
    .slider-main  {
        display: block;
        margin: 8px;
        border-radius: 8px;
    }
    .main .main-content .topics .topics-content .masonry-gallery-item {
        /*max-height: 276px !important;*/
    }
    
    .card {
        margin-top: 0;
        margin-bottom: 0
    }

    .main-container {

        margin-top: 0 !important;
    }

    .main .main-content .module-title {
        padding: 10px !important;
    }

    .flickity .widget-product .owl-carousel .owl-nav .owl-prev {
        right: 0 !important;
    }

    .flickity .widget-product .owl-carousel .owl-nav .owl-next {
        left: 0 !important;
    }


    .widget .card-header, .brand-slider .card-header {
        background: #fff;
        padding: 0 15px 0 !important;
    }

    .widget-product .module-title-sep {
        width: 19vw;
        height: 2px;
        display: none;
    }


    .main .main-content .topics .topics-content .masonry-gallery-item .image {
        max-height: 50% ;
        height: 50% ;
    }

    .pic-masonry-gallery-item {
        bottom: -50%;
    }

    .main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-detail {
        padding: 1px 0 0 0;
        margin-bottom: 0;
    }

    .main .main-content .topics .topics-content .masonry-gallery-item {
        /*height: 330px;*/
    }

    .main-content .topics .topics-content .post-module .post-module-social .operation {
        border-radius: 3px;
        background: #797979 !important;
    }

    .modal-dialog .modal-content .modal-body .login-pop-wrapper .login-pop-wrapper-result form.login-box {
        width: 100%;
    }

    .modal-dialog .modal-content .modal-body .login-pop-wrapper .login-pop-wrapper-result form.login-box span.login-box-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .modal-dialog .modal-content .modal-body .login-pop-wrapper .login-pop-wrapper-result form.login-box span.login-box-hint {
        font-size: 14px;
    }

    .modal-dialog .modal-content .modal-body .login-pop-wrapper .login-pop-wrapper-result form.login-box .input-wrapper .input-wrapper-item .title {
        display: none;
    }

    .modal-dialog .modal-content .modal-body .login-pop-wrapper .login-pop-wrapper-result form.login-box .input-wrapper .input-wrapper-item input {
        width: 100%;
        border-radius: 50px;
        display: block;
        background-color: #fafafa;
        height: 40px;
        padding: 0 20px;
    }

    .modal-dialog .modal-content .modal-body .login-pop-wrapper .login-pop-wrapper-result form.login-box .input-wrapper .input-wrapper-item {
        border-bottom: none;
    }

    .modal-dialog .modal-content .modal-body .login-pop-wrapper .login-pop-wrapper-result form.login-box .input-wrapper .input-wrapper-item input::placeholder {
        opacity: 1;
    }


    .main .main-content .sidebar-topics-aside .post-list-widget .favourites-title {
        padding: 0 0 50px;
    }

    footer.footer .footer-head .footer-head-colleagues .footer-head-item {
        width: 700px;
        display: block !important;
        overflow-x: auto;
    }

    footer.footer .footer-head .footer-head-colleagues .footer-head-item .footer-head-scroll {
        width: 950px;
        overflow-x: auto;
    }

    footer.footer .footer-head .footer-head-colleagues span.title {
        margin-bottom: 10px;
        display: block;
    }

    footer.footer .footer-body ul.footer-body-nav {
        display: none;
    }

    footer.footer .footer-head .footer-head-colleagues {
        overflow: hidden;
    }

    footer.footer .footer-body form.newsletter-form {
        text-align: center;
    }

    footer.footer .footer-body form.newsletter-form .news-letter-txt {
        float: none;
        display: block;
    }

    .main-content .topics .topics-content .post-module nav {
        width: 1300px;
        overflow-x: hidden;
    }

    .main-content .topics .topics-content .post-module nav .breadcrumb {
        width: fit-content;
        overflow: hidden;
        /*height: 27px !important;*/
    }

}


@media (max-width: 570px) {
    
    .owl-dots {
        position: absolute;
        bottom: 5px;
        text-align: center;
        right: 0;
        left: 0;
    }
    
    
    .owl-dots span {
         outline: none;
         width: 8px;
         height: 8px;
         margin: 5px 4px;
         background: var(--BackgroundColor)!important;
         display: inline-block;
         border-radius: 30px;
         -webkit-transition: all .2s ease-in-out !important;
         transition: all .2s ease-in-out !important;
         border: 1px solid #fff!important;
     }
    .slider-main .owl-dots span.active {
        width: 30px;
        background: var(--BackgroundColorSecound) !important;
    }

    .slider-main .product-carousel-main .item img {
        padding: 0 !important;
    }
    
    .selectedCard .item-details-author {
        padding-right: 5px !important;
    }

    .breadcrumb-item + .breadcrumb-item::before {

        padding-right: 0.2rem !important;
        padding-left: 0 !important;

    }

    .widget .card-header, .brand-slider .card-header {
        border-bottom: 0;
    }

    .main-content .topics .topics-content .post-module .post-module-author .user-profile-stat-wrapper .vcard-author {
        font-size: 10px !important;
    }

    .main-content .topics .topics-content .post-module .post-module-author .post-module-author-date {
        font-size: 10px !important;
    }

    .main-content .topics .topics-content .post-module .post-module-title {

        padding-right: 13px !important;

    }

    .res-div .slider-main .widget-product .owl-loaded .owl-nav .owl-next {
        top: 50% !important;
    }

    .module-title-two {
        margin: 0 !important;
    }

    .main .main-content .module-title-two .module-title-sep-two {
        display: none;
    }

    .homepage-top .hashtag .hashtag-wrapper {
        width: 300px;
        overflow-x: auto;
        position: absolute;
    }

    .homepage-top .hashtag .hashtag-wrapper .hashtag-wrapper-scroll {
        width: 300px;
        overflow-x: auto;
    }

    .main .main-content .module-title {
        display: block;
    }

    footer.footer .footer-bottom .social-networks {
        display: block;
        margin-top: 25px;
        text-align: center;
    }

    footer.footer .footer-body form.newsletter-form input.news-letter-email {
        margin: 0;
        width: 100%;
    }

    footer.footer .footer-body form.newsletter-form button.news-letter-btn {
        display: block;
        margin: 20px auto 0;
    }

    .archive-header .category .category-sort .order {
        width: 100%;
    }

    .d-n {
        display: block;
    }

    .main-pt .main .pull-right .container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 450px) {
    .slider-main .product-carousel-main .item img {

        height: 234px !important;
    }


    .main .main-content .module-title-two .module-title-btn {
        margin: 0 auto;
        display: flex;
        width: max-content;
    }

    .widget-product .module-title-btn {
        width: 145px !important;
        font-size: 10px !important;
        padding: 5px 0 !important;
        margin-top: 4px !important;
    }

    .txtContentMag {
        /*padding: 0 7px !important;*/
    }

    .main-content .topics .topics-content .post-module .post-module-content p {
        padding: 0 5px !important;
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }

    .main-content .topics .topics-content .post-module .post-module-author {
        padding: 0 !important;
        margin: 0 !important;
        justify-content: right !important;
    }


    .sidebarNewsIndex {
        margin-top: 0;
    }

    .main .main-content .sidebar-topics-aside .post-list-widget .widget-title {
        padding: 25px 0 !important;

    }

    .middle-bar-footer {

        margin-top: 0;

    }

    .main {

        margin-top: 0;

    }

    .homepage-top .hashtag .hashtag-wrapper {
        width: 150px;
    }

    .main .main-content .sidebar-topics-aside .post-list-widget ul.favourites-list li.favourites-list {
        padding: 30px 10px 0;
    }

    .main .main-content .sidebar-topics-aside .post-list-widget ul.favourites-list li.favourites-list .item-detail {
        margin-right: 15px;
    }

    .archive-header {
        padding: 15px;
    }

    .archive-header a.breadcrumbs-icons {
        left: 45px;
    }

    .archive-header .category {
        height: auto !important;
        font-size: 13px;
        text-align: center;
        padding-left: 0;
    }

    .main-content .topics .topics-content .post-module .post-module-author .user-profile-stat-wrapper img {
        width: 50px;
        object-fit: contain;
        height: 50px;
    }

    .main-content .topics .topics-content .post-module .post-module-author .user-profile-stat-wrapper {

        padding-right: 30px;
    }

    .main-content .topics .topics-content .post-module .post-module-author .user-profile-stat-wrapper .vcard-author {
        font-size: 13px;
        padding-right: 5px;
    }

    .main-content .topics .topics-content .post-module .post-module-author .post-module-author-date {
        text-align: center;
        width: 100%;
        display: block;
        line-height: 32px !important;
    }

    .main-content .topics .topics-content .post-module .post-module-author i {
        margin-right: 0;
        padding: 5px 0;
    }

    .main-content .topics .topics-content .post-module .post-module-social .check-handler {
        padding: 7px 0 7px 10px;
    }

    .main-content .topics .post-nav .post-nav-body ul.related-posts li.related-posts-item {
        padding: 20px 7px 20px 7px;
    }

    .user-profile-stat-wrapper {
        width: 100%;
        text-align: right;
    }

    .main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-detail img {
        width: 30px !important;
        height: 30px;
        margin-left: 5px;
        object-fit: contain;
    }

    .main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-detail .popularity-time-to-read {
        text-align: left;
        margin-top: 0;
    }
}

@media (max-width: 330px) {
    .main-content .topics .topics-content .post-module .post-module-social .post-module-social-btn-res {
        margin-left: 0;
    }

    .main-content .topics .topics-content .post-module .post-module-social .post-module-social-sep {
        margin-left: 5px;
    }
}


@media (min-width: 992px) {
    .main-content .topics .topics-content .post-module .post-module-social {
        padding-bottom: 10px;
    }

}


.page-item:first-child .page-link {

    border-radius: 0 0.25rem 0.25rem 0;
}

.page-item:last-child .page-link {
    border-radius: 0.25rem 0 0 0.25rem;
}

.selectedCard {
    width: auto;

}


.page-item.active .page-link {
    background-color: var(--BackgroundColor) !important;
    color: #fff;
    border: none;
}

.pagination-container {
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
    width: 100%;
}


.owl-carousel .owl-nav .owl-next i {
    line-height: 51px !important;
}

.widget-product .owl-carousel .owl-nav .owl-prev, .widget-product .owl-carousel .owl-nav .owl-next {
    width: 25px !important;
    height: 50px !important;
}