@media (min-width:1000px) {
    .home .widget {
        margin-top: 15px;
    }

    figure#more_pics {
        text-align: center
    }

    .btn-list a {
        flex: none;
        /*min-width: 120px;*/
    }
}

@media (min-width:390px) {

    html .rank-item .btn-item:before {
        opacity: 1;
    }
}

@media (max-width:1000px) {
    html .list-selector{
        min-width: auto;
    }

    html .archive .page-header {
        display: block
    }
    .boxed_layout #page {
        width: 100%
    }

    .list-thumb-items article.rank-item {
        width: 100%;
        padding: 5px 0;
    }

    html .btn-list.legend-ranking-perform {
        position: unset;
        margin: 9px 0;
        min-width: 100%;
    }
    html .modal-content {
        width: 100%;
        height: 100%;
        margin: 0;
        top: 0!important;
        bottom: 0!important;
        padding-bottom: 3rem;
        border-radius: 0;
        overflow-y: auto;
    }
    html .modal footer{
        background-color: #fff;
        margin-top: 0;
        margin-bottom: 20px;
        position: sticky;
    }
}

@media (max-width:2500px) {
    #site-navigation ul li.open-item .sub-menu {
        display: block;
    }

    .search-form input.search-field,
    input[type=email],
    input[type=password],
    input[type=search],
    input[type=text],
    input[type=url] {
        font-size: 16px;
    }

    .animated {
        -webkit-animation-duration: .3s;
        animation-duration: .3s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both
    }

    @-webkit-keyframes slideInUp {
        from {
            -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100%, 0);
            visibility: visible
        }

        to {
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0)
        }
    }

    @-webkit-keyframes slideInLeft {
        from {
            -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
            visibility: visible;
        }

        to {
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }
    }

    @keyframes slideInLeft {
        from {
            -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
            visibility: visible;
        }

        to {
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }
    }

    .slide-in-left {
        -webkit-animation-name: slideInLeft;
        animation-name: slideInLeft;
    }

    @-webkit-keyframes slideOutLeft {
        from {
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }

        to {
            visibility: hidden;
            -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
        }
    }

    @keyframes slideOutLeft {
        from {
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }

        to {
            visibility: hidden;
            -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
        }
    }

    .slide-out-left {
        -webkit-animation-name: slideOutLeft;
        animation-name: slideOutLeft;
    }


    input[type=submit] {
        width: 100%
    }

    .site-branding {
        float: none;
        text-align: center
    }

    .featured-post-wrapper,
    .teg-featured-slider-wrapper {
        float: none;
        margin: 0;
        width: 100%
    }

    .eggnewsSlider img {
        width: 100%
    }

    .eggnewsCarousel img {
        width: 100%
    }

    .featured-post-wrapper {
        margin-top: 12px
    }

    .featured-slider-section .eggnews_block_grid .post-meta-wrapper {
        display: none
    }

    .featured-slider-section .eggnews_block_grid .post-content-wrapper .post-title a {
        font-size: 15px
    }

    .menu-toggle i {
        display: block;
        margin: 6px 0;
        height: 2px;
        background: #111;
        border-radius: 15px;
        -webkit-transition: all .1s ease;
        transition: all .1s ease;
    }

    a.menu-toggle.open i.nd {
        display: none
    }

    a.menu-toggle.open i.st {
        -ms-transform: rotate(45deg) translateY(10px) translatex(7px);
        -webkit-transform: rotate(45deg) translateY(10px) translatex(7px);
        transform: rotate(45deg) translateY(10px) translatex(7px)
    }

    #site-navigation {
        background-color: #111;
        display: none;
        left: 0;
        top: 100%;
        margin: 0;
        position: absolute;
        min-width: 30rem;
        z-index: 99;
        color: #fff;

    }
    #site-navigation a{
        color: #fff;
    }

    .bottom-header-wrapper {
        position: relative;
    }

    #site-navigation ul li {
        display: block;
        float: none
    }


    .main-small-navigation li.current-menu-item>.sub-toggle {
        background: #fff none repeat scroll 0 0
    }

    .main-small-navigation li.current-menu-item>.sub-toggle i {
        color: #408c40
    }

    #site-navigation li.menu-item-has-children>a::after,
    .menu-primary-container .sub-menu {
        display: none
    }

    #site-navigation ul.children,
    #site-navigation ul.sub-menu {
        position: static;
        min-width: 100%;
        opacity: 1;
        top: 0;
        left: 0;
        visibility: visible;
        display: none;
        background: 0 0;
        -webkit-transition: none;
        transition: none
    }

    #site-navigation ul.sub-menu {
        padding-left: 10px;
        background-color: #110e13
    }

    #site-navigation ul>li:hover>.children,
    #site-navigation ul>li:hover>.sub-menu {
        top: 0
    }

    html body.home #callnowbutton {
        top: 46px
    }

    html body #callnowbutton {
        display: block;
        text-decoration: none;
        bottom: 15px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
        transform: scale(.7)
    }

    .flex.block-mob {
        gap: 20px
    }
}

@media (max-width:768px) {


    html .single-post-image{
        
        display: block
    }
    .wp-block-embed__wrapper{
        float: none;
        padding: 0;
    }
    .buy-now-cont {
        max-width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px 10px 25px 10px;
        z-index: 9;
    }

    .marquee-box {
        display: flex;
        list-style: none;
        animation: scrolling 10s linear infinite;
    }

    @keyframes scrolling {
        0% {
            transform: translateX(0)
        }

        100% {
            transform: translateX(-100%)
        }
    }

    .buy-now-cont button.border-button {
        background-color: #fff
    }

    .widget .widget-title,
    html .block-header .block-title,
    html .header-ads-wrapper,
    html .related-articles-wrapper .related-title {
        font-size: 1.45rem
    }

    html .list-thumb-items .post-image {
        min-width: 100%
    }

    html body .list-thumb-items .entry-header {
        min-width: 100%;
        text-align: center
    }

    #primary404 {
        width: 100%;
        float: none
    }

    html body input[type=file] {
        width: 100%
    }

    .single-post-image img,html .single-post-image figure,
    html .post-image.search-list img {
        float: none;
        max-width: 100%
    }

    #site-navigation ul li.current-menu-item a {
        border-bottom: 0
    }

    .related-posts-wrapper .single-post-wrap {
        margin-left: 0;
        margin-right: 0;
        padding-left: 10px
    }

    .home-primary-wrapper,
    .home-secondary-wrapper {
        float: none;
        width: 100%
    }

    .footer-menu {
        display: block
    }

    #footer-navigation .footer-menu ul li {
        display: none;
        text-align: left;

    }

    #footer-navigation .footer-menu ul li.footer-header-item {
        display: block
    }

    #footer-navigation .footer-menu ul h4 {
        text-align: left;
        padding: 10px;
        border: 1px solid;
    }

    #footer-navigation .footer-menu ul h4:after {
        font-family: mk;
        content: '\E803';
        position: absolute;
        right: 40px;
        line-height: 28px;
        z-index: 99;
    }

    #footer-navigation .footer-menu ul.opened h4:after {
        transform: rotate(270deg)
    }

    #footer-navigation .footer-menu ul.opened li {
        display: block;
    }

    .teg-footer-widget-wrapper {
        margin-left: 0
    }

    #primary,
    #secondary,
    .home.blog #primary,
    .home.blog #secondary,
    .left-sidebar #primary,
    .left-sidebar #secondary {
        float: none;
        width: 100%
    }

    #secondary,
    .home.blog #secondary {
        margin-top: 20px
    }

    .archive .entry-title,
    .entry-title,
    .search-results .entry-title,
    .single .entry-title {
        font-size: 18px
    }

    .archive.archive-classic .entry-title a::after {
        bottom: -10px
    }
}

@media (max-width:600px) {
    .home #menu-brands li.button-wrap{
        flex: calc(33.333%);
    }
    .home #btn_filter .ic-search{
        display: none;
    }
    html .post-image.products-list img{
        width: 80%;
    }
    html .img-full .post-image.products-list img{
        width: 100%;
        border-radius: 0;
    }
    html .item-wrap {
        box-shadow: none;
        border-bottom: 5px solid #eee;
    }
    .list-thumb-items div.post-cat-list{
        display: none
    }
    #menu-brands li.brand-logo-button-wrap,
    html .list-thumb-items article {
        width: 100%;
        padding: 5px 0;
    }
    .search-page .search-form {
        display: block;
    }
    .single-post-image.car-detail figure{
        max-width: 100%;
    }
    html .list-selector {
        position: relative;
        max-width: 100%;
        margin: 1rem 0;
        right: 0;
        min-width: auto;
    }

    .disclaimer-price-condition {
        margin: 0;
        position: initial
    }

    #site-navigation {
        width: 100%
    }

    .eggnews_block_grid .column-3-layout .single-post-wrapper {
        margin: 0
    }

    .navigation.pagination {
        text-align: center
    }

    .eggnews_block_grid .column-3-layout .block-posts-wrapper {
        margin: 0
    }

    .eggnews_block_grid .single-post-wrapper img {
        width: 100%
    }

    .featured-slider-section .eggnews_block_grid .post-content-wrapper .post-title a {
        font-size: 18px
    }

    .eggnews_block_grid .column-2-layout .single-post-wrapper,
    .eggnews_block_grid .column-3-layout .single-post-wrapper,
    .eggnews_block_grid .column-4-layout .single-post-wrapper,
    .home-primary-wrapper .eggnews_block_column {
        margin-left: 0
    }

    .eggnews_block_grid .block-posts-wrapper,
    .home-primary-wrapper .eggnews_block_column-wrap,
    .teg-column-wrapper {
        margin-left: 0
    }

    .teg-column-1,
    .teg-column-2,
    .teg-column-3,
    .teg-column-4 {
        margin: 0 0 20px;
        width: 100%;
        float: none
    }

    #top-header-navigation,
    .top-header-section .date-section {
        display: inline-block;
        float: none
    }

    .top-left-header {
        text-align: center
    }

    #bottom-footer .site-info,
    #footer-navigation {
        float: none;
        text-align: center;
        margin: 5px 0
    }

    .featured-slider-section .eggnews_block_grid .post-meta-wrapper {
        display: block
    }

    .archive-columns .archive-content-wrapper article {
        margin-left: 0;
        width: 100%
    }

    .archive-columns .archive-content-wrapper {
        margin-left: 0
    }

    .archive-columns .archive-content-wrapper article img {
        width: 100%
    }

    .ticker-caption::after {
        display: none
    }

    .ticker-caption {
        display: block;
        float: none;
        padding: 5px 0;
        text-align: center;
        width: 100%
    }

    .ticker-content-wrapper {
        width: 100%
    }

    .flex.block-mob {
        display: block
    }
}

@media (max-width:480px) {
    .top-header-section .date-section {
        margin: 0;
    }

    html .related-posts-wrapper .single-post-wrap {
        min-width: 100%;
        float: none
    }

    html .list-thumb-items {
        margin: 0;
    }

    .item-wrap {
        min-height: auto
    }

    .navigation.pagination {
        text-align: center
    }

    html body .page-numbers {
        padding: 13px 10px
    }

    .nav-links .nav-next a:after,
    .nav-links .nav-previous a:before,
    a.next.page-numbers:after,
    a.prev.page-numbers:before {
        color: #111;
        position: relative;
        font-size: 2rem;
        top: 50%;
        left: -1px
    }

    .eggnews_featured_slider .slide-title {
        line-height: 24px
    }

    .eggnews_featured_slider .slide-title a {
        font-size: 16px;
        line-height: 10px
    }

    .featured-left-section,
    .featured-right-section {
        float: none;
        width: 100%
    }

    .featured-right-section {
        margin-top: 10px
    }

    .eggnews_block_list .post-thumb-wrapper {
        float: none;
        width: 100%
    }

    .eggnews_block_list .post-content-wrapper {
        float: none;
        margin-bottom: 20px;
        width: 100%
    }

    html .product-card-features .price-item i {
        min-width: auto;
        float: none;
        display: block
    }

    html .buy-now-cont button,
    html .buy-now-cont .border-button {
        display: block;
        width: 100%;
        margin-top: 1rem;
    }
}

/*This is for iOS */
@supports (-webkit-touch-callout: none) {

    .btn-item,
    .border-button,
    .dark-button,
    .consuption-line p,
    .btn-list a,
    button,
    select,
    .category-button a,
    .list-selector,
    span.index-rank,
    .products-list .status-tag,
    .list-thumb-items .rank-item p,
    .rank-item .btn-item {
        font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;
    }
}