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

    /*  common  */
    .ad {
        text-align: center;
    }

    .h-title {
        margin-top: 10px;
    }

        .h-title h2 {
            font-weight: 800;
            font-size: 1.6em;
        }


    /* Mobile Only Elements*/
    .m-only {
        display: block;
    }

    .d-only {
        display: none;
    }

    main {
        margin-top: 105px;
    }

    .container {
        margin: 0;
        padding: 0 20px;
        max-width: 768px;
        width: 100%;
    }

    .fixed-top button.drawer-toggle {
        margin-left: -10px;
    }

    .top-nav nav.scroll, .t-bar {
        margin-top: auto;
        position: absolute;
        border-top: solid 1px rgba(218, 207, 207, 0.33);
        margin-left: -20px;
        margin-top: 50px;
        width: 100%;
        padding: 8px 10px 8px 15px;
        background-color: #fff;
    }

    .top-nav .nav-item {
        margin: 0;
        font-size: 0.7em;
        font-weight: 700;
        color: #312f2f;
    }

    button.drawer-toggle {
        margin: 0;
        padding: 0;
    }

    .t-rt a i, .t-rt .t-search i, .t-langs {
        font-size: 1em;
    }

        .t-langs span {
            font-size: 1.15em;
            font-weight: 600;
        }



    /* Mobile Base Navigation */
    .m-base {
        background-color: rgb(250, 250, 250);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px 0 1px;
        visibility: visible;
        z-index: 999;
        width: 100% !important;
    }

        .m-base ul {
            display: flex;
            margin: 0;
            padding: 0;
            justify-content: space-evenly;
            list-style: none;
        }

    .m-base-bx a {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .m-base-bx a {
        color: #272727;
        font-size: 0.8em;
    }

        .m-base-bx a i {
            font-size: 1.2em;
        }

    .m-base-bx label {
        font-size: 0.85em;
        padding: 2px;
        font-weight: 700;
    }

    /* Top navigation */

    .t-rt {
        margin-left: auto !important;
    }

    /* Homepage */
    .home-trending-list {
        margin-top: -5px;
    }

    .home-t-rt {
        display: flex;
        flex-direction: column-reverse;
    }

    .main-post img {
        height: 320px !important;
    }

    .main-post h1 {
        font-size: 0.95em;
    }


    .n-item {
        min-height: 310px;
        margin-bottom: 22px;
    }

    .m-img img {
        max-height: 190px;
        width: 100%;
        object-fit: cover;
        object-position: top;
        border-radius: 4px 4px 0 0 !important;
    }

    .home-top-4 {
        margin-bottom: 0;
    }

    .home-top-20-wrap {
        margin-top: 0;
        padding-top: 5px;
    }

    .h-t-20 {
        flex-direction: row-reverse
    }

        .h-t-20 li h2 {
            font-weight: 600;
        }

    .news-item {
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
        padding: 10px 10px 5px;
    }


        .news-item .news-h {
            -webkit-line-clamp: 5; /* number of lines to show */
        }

            .news-item .news-h h2 {
                font-weight: 600 !important;
            }

    .top-story {
        margin-top: 0;
        border: none;
    }

        .top-story h2 a {
            font-size: 0.8em;
            font-weight: 700;
        }

    .home-top-20-wrap {
        margin-bottom: 0;
    }
    /* Home Categories*/

    .home-cat {
        padding-bottom: 10px !important;
        padding-top: 20px !important;
    }

        .home-cat h2.cat-h {
            font-size: 1.5em;
        }

        .home-cat .first-post {
            background-color: #fff;
            padding: 10px;
            box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
            margin-bottom: 10px !important;
            border-radius: 4px;
        }

    .first-post .post-detail h2 {
        font-size: 1.15em;
    }

    .home-cat .news-item {
        background-color: #fff;
        margin-right: 10px;
        border-radius: 4px;
    }

    .left-block {
        min-height: auto;
    }

        .left-block h2 {
            font-size: 1em;
        }

    .cat-posts {
        margin-bottom: 0px !important;
    }

        .cat-posts .m-feed-i {
            margin-top: auto;
        }
    /* Slider */

    .h-slide-scroll img {
        height: 150px;
    }

    .int-top {
        display: flex;
        flex-direction: column-reverse;
    }

        .int-top h2 {
            margin-bottom: 0;
            font-size: 0.9em;
        }

    .h-int-lst p {
        display: none;
    }

    /* Home Gallery */



    .h-gal .cat-h h2 {
        font-weight: 900;
        font-size: 2em;
    }

    .h-gal .cat-h p {
        font-size: 1em;
    }


    .h-gal-lft {
        width: 35%;
    }

    .h-gal-rt {
        width: 65%;
    }



    .h-gal-lft li > h2 {
        font-size: 0.9em;
    }


    .gal-top img {
        height: 250px;
    }

    .gal-top h2 {
        font-size: 1.25em;
    }

    .gal-top-2 img {
        height: 145px;
        width: 100%;
        object-fit: cover;
        object-position: top;
    }

    .gal-top-2 h2 {
        font-size: 1em;
    }

    /* Featured Homepage */
    .f-posts {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .f-post {
        width: 48.5%;
        margin: 0 10px 25px 0;
    }

        .f-post h2 {
            font-size: 0.9em;
        }
}
