/* @media (min-width: 992px) {} */

@media (min-width: 768px) and (max-width: 991px) {
    .main-logo {
        text-align: center !important;
        display: inherit;
    }

    .site-title {
        padding-top: 20px;
    }

    .bexplore-header-content.entry-header .entry-meta {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and  (max-width: 991px) {
    .menu-toggle-area {
        display: block;
        text-align: right;
    }

    .main-navigation ul {
        background-color: var(--color-base);
    }

    .main-navigation a {
        width: 100% !important;
        text-align: left;
        border-bottom: 1px solid var(--color-border);
    }

    #primary-menu {
        top: 100px;
        position: absolute;
        z-index: 99999;
        background-color: var(--color-border);
        width: 300px;
    }

    .menu-right {
        padding: 0;
        text-align: center;
    }

    .menu-toggle {
        background-color: #9ba78a;
        border: 1px solid var(--color-border);
        color: var(--color-base-text);
        margin: 10px 0;
        font-weight: 700;
    }

    button.menu-toggle {
        width: 45px;
        height: 45px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .menu-toggle i {
        color: var(--color-base);
        font-size: 25px;
    }

    #mobile-close {
        display: none;
    }

    .toggled #mobile-close {
        display: block;
    }

    .toggled #mobile-open {
        display: none;
    }

    .main-logo {
        text-align: center;
    }

    .main-navigation li:hover > a::before {
        opacity: 10;
        visibility: hidden;
    }

    .site-title {
        font-size: 30px;
        margin-top: 0;
        padding-top: 0;
    }

    .footer-column .widget {
        padding: 20px 15px 0;
    }

    .main-navigation ul {
        list-style: none;
        margin: 0;
        padding: 10px 25px;
        text-align: center;
        display: inherit;
    }

    .main-navigation ul ul {
        padding: 0;
    }

    .main-navigation ul ul li a {
        padding-right: 0px;
        color: var(--color-base-text);
    }

    .main-navigation .menu-item-has-children > a {
        padding-right: 48px;
    }

    .main-navigation li ul li a:hover {
        background: transparent;
        color: var(--color-link-text-hr);
    }
    .site-search-icon .header-search-icon{
        display: none;
    }
    .site-search-icon {
        display: block !important;
    }
}

@media only screen and (min-width: 991px) {
    .site-header-menu {
        display: block;
    }

    .main-navigation {
        margin: 0 -0.875em;
    }

    .main-navigation .primary-menu,
    .main-navigation .primary-menu > li {
        border: 0;
    }

    .main-navigation .primary-menu > li {
        float: left;
    }

    .main-navigation a {
        padding: 15px 15px;
    }

    .main-navigation ul ul {
        display: block;
        left: -999em;
        position: absolute;
        z-index: 99999;
        border: none;
        background: var(--color-base-text);
        margin-top: 40px;
        transition: 0.4s ease;
    }

    .main-navigation ul ul ul {
        top: 0;
    }

    .main-navigation ul ul ul:before,
    .main-navigation ul ul ul:after {
        border: 0;
    }

    .main-navigation ul ul a {
        white-space: normal;
        width: 210px;
        padding: 10px 0;
        transition: .3s;
        font-size: 14px;
        text-align: right;
    }

    .main-navigation ul ul a:hover {
        white-space: normal;
    }

    .main-navigation li:hover > ul,
    .main-navigation li.focus > ul {
        left: auto;
        right: 0;
        margin-top: 0;
    }

    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li.focus > ul {
        left: auto;
        right: 100%;
    }

    .main-navigation .menu-item-has-children > a {
        margin: 0;
    }

    .main-navigation .menu-item-has-children > a::after {
        content: "\f107";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-left: 10px;
    }

    .main-navigation ul ul .menu-item-has-children > a {
        padding-right: 2.0625em;
    }

    .main-navigation ul ul .menu-item-has-children > a::after {
        right: 25px;
        top: 15px;
        position: absolute;
        transform: rotate(90deg) translateY(calc(-50%));
    }

    .dropdown-toggle,
    .main-navigation ul .dropdown-toggle.toggled-on {
        display: none;
    }
}


/*For ipad landscape*/
@media (min-width: 992px) and (max-width: 1024px) {
    .bexplore-header-content.entry-header .entry-meta {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    h1,
    .h1 {
        font-size: 2.375rem;
    }

    h2,
    .h2 {
        font-size: 2rem;
    }
}

/*For Wide Mobile Layout*/
@media only screen and (max-width: 767px) {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: 1.25;
    }

    h1,
    .h1 {
        font-size: 2.25rem;
    }

    h2,
    .h2 {
        font-size: 1.875rem;
    }

    h3,
    .h3 {
        font-size: 1.5rem;
    }

    .slider-content-item .bexplore-blog-box {
        padding: 25px;
    }

    .slider-content-item .bexplore-blog-box .bexplore-blog-box h3 {
        font-size: 36px;
    }

    .entry-title {
        font-size: 28px;
    }

    .comment-navigation .nav-links, .posts-navigation .nav-links, .post-navigation .nav-links {
        display: block;
    }

    .comment-navigation .nav-previous,
    .posts-navigation .nav-previous,
    .post-navigation .nav-previous {
        margin-bottom: 15px;
    }

    .comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {
        text-align: start;
    }

    .comment-content h2 {
        font-size: 22px;
    }

    .comment-content h1 {
        font-size: 24px;
    }

    .comments-title {
        font-size: 24px;
    }

    nav.navigation.pagination {
        position: inherit;
    }

    .navigation.pagination .nav-links a.page-numbers, .navigation.pagination .nav-links span.page-numbers, .bexplore-pagination li.page-item a.page-numbers, .page-links .post-page-numbers {
        margin-bottom: 15px;
    }

    .bexplore-blog-pagination {
        position: inherit;
        z-index: 1;
    }

    .bexplore-blog-pagination .pagination {
        display: inline-block;
    }

    a.prev.page-numbers {
        position: inherit;
        display: inline-block;
        margin-bottom: 15px;
    }

    a.next.page-numbers {
        position: inherit;
        display: inline-block;
    }

    .slider-content-item .bexplore-blog-box h3 {
        font-size: 32px;
        line-height: 38px;
    }

    .bexplore-blog-pagination .pagination a, .bexplore-blog-pagination .pagination span {
        margin: 5px;
    }

    .site-info {
        display: block;
        text-align: center;
    }

    .main-navigation ul ul li a {
        padding-right: 0;
        color: var(--color-base-text);
    }

    .widget {
        padding: 0;
    }

    #wrapper-footer-full {
        padding: 0;
    }

    .bexplore-social-links {
        text-align: center;
        margin-top: 15px;
        margin-right: 15px;
    }

    .header-top-area {
        text-align: center;
    }

    /* --------------------------------------------
  Banner Section
  --------------------------------------- */
    .banner-container-bg {
        height: 100vh;
        padding: 40px 0;
    }

    h1.banner-title a {
        font-size: 28px;
        line-height: 32px;
    }

    p.banner-short-description {
        font-size: 18px;
    }

    .banner-content .btn-read-more {
        padding: 8px 20px;
        margin-bottom: 30px;
    }
}

/*-`sm` applies to x-small devices (portrait phones, less than 576px)
-----------------------------------------------------------------------*/
@media (max-width: 575.98px) {
    .header-top-area {
        text-align: center;
    }
}