/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .subscrip-des {
        margin-top: 40px;
    }
}

@media only screen and (max-width: 991px) {
    .navbar-light .navbar-toggler {
        border: 0;
    }

    .navbar-collapse {
        overflow: auto;
        left: -100%;
        bottom: 0;
        width: 82%;
        max-width: 400px;
        height: 100%;
        opacity: 0;
        position: fixed;
        background-color: #fff;
        transition: left .4s, opacity .5s;
        z-index: 9999;
        box-shadow: 1px 0 5px 0 rgba(50, 50, 50, .55);
    }

    .navbar-collapse.show {
        visibility: visible;
        left: 0;
        opacity: 1;
    }

    .collapse:not(.show) {
        display: inline;
    }
    #Foo.collapse:not(.show) {
        display: none;
    }
    a#close_in {
        display: block;
        position: absolute;
        right: 15px;
        top: 10px;
        width: 20px;
        height: 20px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: .5rem 1rem;
        border-bottom: 1px solid #e3e1e1;
    }

    .post-details .post-tags ul li {
        margin: 5px 6px;
    }

    .post-details .post-tags {
        padding-bottom: 40px;
    }

    .author-post {
        margin-top: 20px;
        border-bottom: 0px;
        margin-bottom: 15px;
    }

    .pricingTable {
        margin-bottom: 30px;
    }

    .event .event-box2 a {
        bottom: 13px;
        padding: 6px 14px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1640px) {}

@media only screen and (min-width: 1200px) {}

@media only screen and (min-width: 1440px) {}

@media only screen and (min-width: 768px) {
    .mainmenu .collapse ul ul {
        position: absolute;
        top: 80px;
        left: 0;
        min-width: 360px;
        display: block;
        visibility: hidden;
        opacity: 0;
        -webkit-transition: 0.5s ease all;
        transition: 0.5s ease all;
        display: flex;
        flex-wrap: wrap;
    }

    .mainmenu .collapse ul li:hover>ul {
        visibility: visible;
        opacity: 1;
        top: 100%;
        border-bottom: 2px solid var(--red);
    }

    .mainmenu .collapse ul ul li.active a {
        font-weight: 500;
        text-decoration: underline;
    }

    /* Level 2 */
    .mainmenu .collapse ul ul li {
        position: relative;
        padding: 6px 15px;
        max-width: 50%;
        flex: 0 50%;
        font-size: 14px;
    }
}

@media only screen and (min-width: 600px) {
    /* For tablets: */

}

@media only screen and (max-width: 480px) {

    /* For mobile Phone: */
    .pricingTable {
        margin-bottom: 60px;
    }
}

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

    /* For mobile phones: */


    section {
        padding: 30px 0px;
    }


    .navbar {
        padding: .5rem 0rem;
    }

    .top-search {
        max-width: 280px;
    }

    .mainmenu ul li a .fa-angle-down {
        position: absolute;
        right: 15px;
        top: 7px;
        width: 25px;
        height: 25px;
        background-color: #fff;
        color: #000000;
        text-align: center;
        line-height: 25px;
    }

    .mainmenu .collapse ul ul {
        margin-left: 12px;
        border: 0;
        padding-top: 0;
    }

    .mainmenu .collapse ul ul li {
        position: relative;
        padding: 5px 10px;
        font-size: 14px;
        border-bottom: 1px dotted #e3e1e1;
    }

    .mainmenu .collapse ul ul li a {
        color: #747272;
    }

    .heading-title h2 {
        font-size: 20px;
        line-height: 28px;
    }

    .trending {
        padding: 10px;
    }

    .trending .trend-text p {
        font-size: 13px;
        line-height: 20px;
    }

    .list-post-block .post-block-style,
    .trending-news-item {
        margin-bottom: 20px;
    }

    .post-listing li {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .post-listing,
    .topic-buttons {
        overflow-x: auto;
        padding-bottom: 12px;
    }

    .topic-buttons .btn {
        margin: 2px 6px;
        white-space: nowrap;
    }

    .populer-topic h3 {
        font-size: 16px;
    }

    section.testimonials {
        padding-top: 0px;
    }

    .testimonial-box .post-thumb {
        display: flex;
        width: 30%;
    }

    .testimonial-box .post-content {
        width: 70%;
    }

    .testimonial-box {
        gap: 10px;
    }

    .testimonial-box .post-content p {
        line-height: 22px;
    }

    .become-contributer .text {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .event-box {
        background-image: url(../images/banner-add-mob.jpg);
        height: 126px;
    }

    .event-box .btn {
        left: inherit;
        transform: none;
        right: 20px;
        bottom: 5px;
    }

    .modal.fade.modal-slide-right .modal-dialog {
        max-width: 300px;
    }

    .author-btn .btn-outline-dark {
        width: 100%;
        margin-top: 10px;
    }

    .profile-details-form .btn {
        margin: auto;
        margin-top: 12px;
        width: 95%;
    }

    .pricingTable {
        margin-bottom: 50px;
    }

    .subscription-plan {
        margin-top: 30px;
    }

    .pricingTable {
        margin-bottom: 30px;
    }

    .pricingTabletop,
    .pricingTable {
        margin-top: auto;
    }

    .price-head {
        top: -3px;
    }

    .recent-tab-box li .text p {
        font-size: 12px;
    }

    .contribution .card-body figure {
        display: flex;
    }

    .event.home-page .event-box2 {
        background: #1c1c1c;
    }

    .event.home-page .event-box2 a {
        position: relative;
        margin-top: 12px;
        margin-bottom: 12px;
        width: 80%;
    }
}