@media (max-width: 767px) {
    .logo img {
        width: 170px;
        height: auto;
        margin: 0px 10px 0px 14px;
        background-repeat: no-repeat;
        background-position: center 54%;
        display: inline-block;
    }

    .top-notice {
        font-size: 0.9rem;
        padding: 8px 0rem;
        text-align: left;
    }

    .header-middle {
        padding: 6px 0px;
    }

    .mobile-cart {
        font-size: 1.5rem;
    }

    .mobile-cart .cart-count {
        top: -7px;
        left: 18px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        color: #0089cb;
        background: white;
        font-weight: 600;
        font-size: 10px;
        line-height: 14px;
    }

    .mobile-cart .dropdown-toggle {
        right: -7px;
        top: 14px;
    }

    /***** Products *****/
    .popular-section-title {
        margin: 0px 4px 20px;
    }

    .popular-front-product .item {
        width: auto;
    }

    .product-item img {
        height: 120px;
    }

    .product-item .view-details {
        display: none;
    }

    .products-grid-front .slick-list {
        margin-left: -10px;
        margin-right: -10px;
    }

    .products-grid-front .product-item {
        border-style: solid;
        border-color: #ebebeb;
        border-width: 1px 0px 1px 0px;
        margin-bottom: 0;
        padding: 10px;
    }

    .products-grid-front > div .product-item:first-child {
        border-left-width: 1px;
    }

    .products-grid-front > div:last-child {
        border-bottom-width: 1px;
    }

    /***** End Products *****/
    /***** Footer *****/
    .footer .fanpage-btn {
        margin-top: 20px;
    }

    .footer .widget-bct {
        margin-top: 10px;
    }
    /***** End Footer *****/
}

/***** Small screen menu toggle *****/
@media (max-width: 1023px) {
    .header-middle.fixed {
        position: fixed;
        top: -60px;
        right: 0;
        left: 0;
        padding: 0;
        box-shadow: 0 1px 5px rgba(0,0,0,0.08);
        z-index: 2;
        animation: goDown 0.5s ease-in-out forwards;
    }

    .header-bottom {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 320px;
        transform: translateX(-100%);
        transition: all .25s;
        background-color: #1D1E20;
        font-size: 1.4rem;
        line-height: 1.6;
        box-shadow: 0.1rem 0 0.6rem 0 rgba(50,50,50,0.65);
        visibility: hidden;
        z-index: 1004;
        overflow-y: auto;
        color: white;
    }

    .mmenu-active .header-bottom {
        transform: translateX(-0%);
        visibility: visible;
    }

    .main, footer, .header-middle, .top-notice {
        position: relative;
        transition: transform .25s;
    }

    .mmenu-active main, .mmenu-active footer, .mmenu-active .header-middle,.mmenu-active .top-notice {
        transform: translateX(320px);
    }
    .mmenu-active .header-middle.fixed{
        left: 320px;
        width: 100%;
        transition: left .25s;
    }

    .header-bottom::-webkit-scrollbar {
        display: none;
    }

    #main-menu {
        flex-direction: column;
    }

    .menu .submenu.menu-3cols, .menu .submenu.menu-2cols {
        column-count: auto;
    }

    .main-nav .menu>li:hover>a, .main-nav .menu>li.show>a, .main-nav .menu>li.active>a {
        color: #b7b7b7;
    }

    .header-bottom>.container {
        position: relative;
        padding: 3.2rem 0 2rem;
    }

    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        padding: .4rem;
        color: #fff;
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        z-index: 9;
    }

    .main-nav .menu>li {
        display: block;
        position: relative;
        border-bottom: 1px solid #242527;
        margin-right: 0;
    }

    .main-nav .menu>li a {
        display: inline-block;
        position: relative;
        margin-right: 4.5rem;
        padding: 1.1rem 0 1.1rem 1.5rem;
        color: #fff;
        font-weight: 600;
    }

    nav.main-nav {
        margin: 0 0 1rem;
        padding: 0;
    }

    .has-sub>a:after, .menu .megamenu:before, .has-sub>.submenu:before {
        display: none;
    }

    .mmenu-btn {
        display: block;
        position: absolute;
        top: 24px;
        right: 0.4rem;
        width: 3rem;
        height: 3rem;
        margin-top: -1.5rem;
        text-align: center;
        border-radius: 0;
        outline: none;
        background-color: transparent;
        color: #fff;
        font-size: 1rem;
        line-height: 3rem;
        cursor: pointer;
    }

    .mmenu-btn:after {
        display: inline-block;
        margin-top: -2px;
        font-family: 'obelix-custom-fonts';
        content: '\e910';
    }

    .open .mmenu-btn:after {
        content: '\e90d';
    }

    .menu .megamenu, .has-sub>.submenu {
        display: none;
        background: unset;
        width: auto;
        position: relative;
        box-shadow: none;
        z-index: auto;
        border-radius: 0;
        white-space: nowrap;
        padding: 0;
        visibility: visible;
        opacity: 1;
    }

    .menu .megamenu, .has-sub.open .submenu {
        display: inline;
    }

    .menu .submenu.menu-3cols ul {
        column-count: auto;
    }

    .main-nav .has-sub>.submenu li a {
        padding: 0.6rem 0 0.6rem 2rem;
        display: block;
        border-bottom: 1px solid #242527;
        color: inherit;
        font-size: 1rem;
        margin: 0;
        font-weight: 500;
    }

    .menu .submenu li:not(:last-child) a {
        border-bottom: 1px solid #242527;
    }

    .menu .submenu .group-label {
        padding-top: 0px;
    }

    .menu .submenu .group-label h2 {
        text-transform: unset;
        font-size: 1rem;
        position: relative;
    }

    .menu .submenu .group-label h2::after {
        font-size: 14px;
        content: '----';
        position: absolute;
        margin-left: 10px;
        letter-spacing: 3px;
        font-weight: 400;
    }

    .mobile-search-wrap {
        padding: 8px 18px;
        position: relative;
        margin: 18px 0px;
    }

    .mobile-search-wrap input {
        background: #2c2e31;
        border: none;
        height: 40px;
        text-indent: 40px;
        padding: 0;
        font-size: 15px;
        color: white;
    }

    .mobile-search-wrap input[type="search"]::-webkit-search-cancel-button {
        display: none;
    }

    .mobile-search-wrap input.form-control:focus {
        outline: none;
        box-shadow: none;
        background: #2c2e31;
        color: white;
    }

    .mobile-search-wrap .icon-search {
        position: absolute;
        font-size: 17px;
        top: 12px;
        left: 13px;
        color: #777;
    }

    .mobile-search-wrap .search-results {
        display: none;
        overflow: unset;
        height: 100%;
        max-height: unset;
        border: none;
        padding: 0;
        color: white;
    }

    .input-active .search-results {
        display: block;
    }

    .mobile-search-wrap .search-results .results-list-item a span {
        color: white;
    }

    .header-bottom.input-active {
        max-width: unset;
    }

    .header-bottom.input-active .container {
        padding: 0;
    }

    .header-bottom.input-active .mobile-search-wrap input {
        width: calc(100% - (20px * 2));
    }

    .menu-cat-image {
        display: none;
    }

    /***** Products *****/
    .light-title {
        margin-bottom: 10px;
    }
    .single-blog-area{
    }
    .post-heading .post-title{
        font-size: 24px;
        line-height: 1.6;
    }
    .ck-text-content .content h4{
        font-size: 20px;
    }
    .products-section .swiper-pagination {
        height: 2px;
        display: block;
        width: 100%;
        position: relative;
    }
    .with-sidebar .ck-text-content.sidenav-active{
        flex-direction:column;
    }
    .with-sidebar .main-content, .with-sidebar, .ck-text-content.sidenav-active .content-wrapper{
        max-width: 100%;
        padding: 0;
    }
    .with-sidebar .main-content{
        padding: 40px 22px 40px 22px;
    }
    .with-sidebar .ck-text-content.sidenav-active .side-nav{
        display: none;
    }

    .products-grid-front .swiper-container {
        margin-top: 28px;
    }
    .obelix-shop-area .sidebar .sticky-sidebar{
        padding-right: 0;
    }


    /***** End Products *****/
}

/***** Ipad *****/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    .container {
        max-width: calc(100% - 30px);
    }

    .section-padding {
        padding: 2rem 0;
    }

    .header-middle {
        padding: 20px 0px;
    }

    .mobile-cart {
        font-size: 1.5rem;
        align-items: center;
        justify-content: flex-end;
    }

    .mobile-cart .cart-count {
        top: -7px;
        left: 18px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        color: #0089cb;
        background: white;
        font-weight: 600;
        font-size: 10px;
        line-height: 14px;
    }

    .mobile-cart .dropdown-toggle {
        right: 14px;
        top: 2px;
    }

    .mobile-menu-toggler {
        margin-right: 20px;
    }

    .logo img {
        height: 84px;
    }

    .header-search-wrapper {
        top: 2rem;
        width: 100%;
    }

    .mobile-cart {
        font-size: 2.1rem;
        align-items: flex-end
    }

    .mobile-cart .dropdown-toggle {
        top: auto;
        bottom: 8px;
    }

    .popular-section-title {
        margin: 6px 13% 34px;
    }

    /***** Products *****/

    .product-item img {
        height: 130px;
    }

    /***** End Products *****/
}

/***** End Ipad *****/
@media (min-width: 992px) {
    .mobile-menu-toggler {
        display: none;
    }
    .sidebar-fixed .sidebar-content{
        position: relative;
        overflow: visible;
        padding: 0;
        opacity: 1;
        z-index: 2;
        width: auto;
        -webkit-transform: none;
        transform: none;
    }
}

@media (min-width: 1160px) and (max-width: 2500px) {
    /*.container {*/
    /*    max-width: calc(100% - 90px);*/
    /*}*/
    .container {
        max-width: calc(85%);
    }
    .with-sidebar .main-content{
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        max-width: calc( 100% - 260px );
    }
    .with-sidebar .sidebar{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 260px;
        flex: 0 0 260px;
        max-width: 260px;
    }
}
