@media screen and (min-width: 1380px) {
    .pull-left.search-top{
        width: calc(100% - 565px);
    }
}
@media screen and (max-width: 1495px) {
    body .header-wrapper .menu-inner ul li > a span{
        font-size: 14px;
    }
}

@media screen and (min-width: 1080px) and (max-width: 1379px) {
    body .header-wrapper .menu-inner ul li > a span{
        font-size: 11px;
    }
    .pull-left.search-top{
        width: calc(100% - 365px);
    }
    .header-wrapper .page-header .section .call-us{
        display: none;
    }
}
@media screen and (min-width: 992px) and (max-width: 1079px) {
    .pull-left.search-top{
        width: calc(100% - 360px);
    }
    .header-wrapper .page-header .section .call-us{
        display: none;
    }
    .page-header .logo{
        width: 340px;
    }
    .page-header .logo img{
        width: 100%;
        height: auto;
    }
    .header-wrapper .page-header .section{

        width: calc(100% - 340px);
    }

    body .header-wrapper .menu-inner ul li > a span{
        font-size: 11px;
    }
    body .header-wrapper .navbar-collapse.collapse a.level-top{
        padding-left: 5px;
        padding-right: 5px;
    }
    #shipping-new-address-form .field[name="shippingAddress.firstname"], #shipping-new-address-form .field[name="shippingAddress.middlename"], #shipping-new-address-form .field[name="shippingAddress.lastname"]{
        width: 50%;
    }
    .mpbrand-index-index .block-brand-search .block-title strong {
        font-size: 24px;
    }
    .mpbrand-index-index .widget-title h2{
        font-size: 16px;
    }
    body .product.data.items > .item.title > .switch {
        display: block;
        padding-left: 5px;
        padding-right: 5px;
        font-size: 1.2rem;
    }
    body .product.info.detailed .products-grid.three-columns .item{
        width: 50%;
    }
    .checkout-methods-items li a {
        font-size: 11px;
        width: 100%;
        display: block;
        text-align: center;
    }
    .checkout.methods.items.checkout-methods-items
    .action.primary.checkout{
        font-size: 10px;
    }
    .products.wrapper.grid.products-grid .product-item-details .actions-primary a {
        text-indent: -9999px;
        line-height: 0; /* Collapse the original line */
    }
    .products.wrapper.grid.products-grid .product-item-details .actions-primary a:after{
        content: "More info";
        text-indent: 0;
        display: block;
        line-height: 29px;
    }
    .home-banners div:hover .text-banner-content span,
    .home-banners div:hover .text-banner-content span strong{
        font-size: 2rem !important;
        line-height: 2rem !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .pull-left.search-top{
        max-width: 100%;
        margin-left: 0;
    }
    .header-wrapper .page-header .section{
        width: 100%;
        margin-top: 15px;
    }
    .header-wrapper .page-header .section .call-us{
        display: none;
    }
    .pull-left.search-top{
        width: calc(100% - 374px);
    }
    .mpbrand-index-index .block-brand-search .block-title strong {
        font-size: 24px;
    }
    .mpbrand-index-index .widget-title h2{
        font-size: 16px;
    }
    .footer .footer-second-line .footer-block-title h5{
        font-size: 1.2em;
    }
    .footer .custom-footer-content ul.links li a{
        line-height: 1.4;
    }
    .home-banners div:hover .text-banner-content span,
    .home-banners div:hover .text-banner-content span strong{
        font-size: 1.2rem !important;
        line-height: 1.2rem !important;
    }
    .sidebar .block.filter .filter-options-title{
        font-size: 12px;
    }
    .product-item-inner{
        flex-direction: column;
    }
    body .sidebar .block.filter.categories .filter-options-title{
        margin-left: 0;
    }
    body.catalog-category-view .product-item-inner .btn-cart span{
        line-height: 42px;
    }

    body .products-list .product-item-actions,
    body .products-list .product-item-actions .actions-primary{
        width:100%;
    }
    body .products-list .product-item-actions .actions-primary a,
    body .products-list .product-item-actions .actions-primary .btn-cart,
    body .products-list .product-item-actions .actions-primary  a,
    body .products-list .product-item-actions .actions-primary  .btn-cart {
        height: 31px;
        line-height: 29px;
        font-size: 11px;
        padding: 0;
        text-align: center;
    }
    body .products-list .product-item-actions .actions-primary .btn-cart{
        line-height: 23px;
    }
    body .products-list .product-item-actions .actions-primary .btn-cart span{
        font-size: 11px;
        line-height: 23px;
    }
    body .products-list .product-item-actions .btn-cart{
        float:left
    }
    body .products-list .product-item-actions .actions-primary a{
        float: right;
        clear: none;
    }
    body .products-list .product-item-actions .actions-primary a,
    body .products-list .product-item-actions .btn-cart{
        width: 48%;
    }

    body .cart.main.actions a span,
    body .cart.main.actions button{
        font-size: 12px;
    }

    .checkout-cart-index .products-grid ol.widget-product-grid li.product-item,
    .checkout-cart-index .products-grid:not(.widget-product-grid) li.item{
        width: 33%;
    }
    .checkout-cart-index .products-grid ol.widget-product-grid li.product-item:nth-child(4),
    .checkout-cart-index .products-grid:not(.widget-product-grid) li.item:nth-child(4){
        display: none;
    }
    .products.wrapper.grid.products-grid .product-item-details .actions-primary a {
        text-indent: -9999px;
        line-height: 0; /* Collapse the original line */
    }
    .products.wrapper.grid.products-grid .product-item-details .actions-primary a:after{
        content: "More info";
        text-indent: 0;
        display: block;
        line-height: 29px;
    }
    #shipping-new-address-form .field[name="shippingAddress.firstname"], #shipping-new-address-form .field[name="shippingAddress.middlename"], #shipping-new-address-form .field[name="shippingAddress.lastname"]{
        width: 50%;
    }
    .product.data.items > .item.title > .switch{
        padding-left: 10px;
        padding-right: 10px;
    }
    .catalog-product-view .product-info-upsell{display: none}
    .catalog-product-view .product-info-gray .price{
        font-size: 1.2em;
    }
    .catalog-product-view .product-info-gray .price-box.price-final_price::after{
        font-size: 1.2em;
    }
}

@media screen and (max-width: 767px) {
    body .product.data.items > .item.content{
        margin-top: 0;
    }
    .header-wrapper .page-header .section .call-us {
        display: none;
    }

    .pull-left.search-top {
        width: calc(100% - 362px);
        margin-left: 0;
        max-width: 100%;
    }

    .header-wrapper .page-header .section {
        width: 100%;
        margin-top: 15px;
    }

    .home-banners div:hover .text-banner-content span,
    .home-banners div:hover .text-banner-content span strong{
        font-size: 1rem !important;
        line-height: 1rem !important;
    }

    .mpbrand-index-index .block-brand-search .block-title strong {
        font-size: 24px;
    }

    body .brand-list-content li,
    body .brand-list-content li div,
    body .brand-list-content li div span {
        width: 100% !important;
    }

    body .brand-list-content li div img {
        margin: 0 auto;
        display: block;
    }

    body.catalog-category-view .products-grid .product-item-name a,
    .products.wrapper.grid.products-grid .product-item-details .price-box {
        text-align: center;
    }

    .widget-title h2 {
        text-align: center;
    }

    .widget.block.block-static-block.cwiw {
        display: none;
    }

    table#shopping-cart-table tr td.price-wrapper,
    table#shopping-cart-table tr td.col.qty,
    table#shopping-cart-table tr td.col.subtotal,
    table#shopping-cart-table tr td.col.remove{
        padding: 5px 0 5px 120px;
    }

    #shopping-cart-table tr td.price-wrapper:before,
    #shopping-cart-table tr td.col.qty:before,
    #shopping-cart-table tr td.col.subtotal:before,
    #shopping-cart-table tr td.col.remove:before
    {
        position: absolute;
        left: 10px;
        font-weight: bold;
        font-size: 1.1em;
        color: #6d6e71;
        line-height: 24px;
    }
    #shopping-cart-table tr td.price-wrapper span,
    #shopping-cart-table tr td.col.qty span,
    #shopping-cart-table tr td.col.subtotal span {
        line-height: 24px;
    }

    #shopping-cart-table tr td.price-wrapper:before {
        content: "Unit Price:";
    }

    #shopping-cart-table tr td.col.qty:before {
        content: "Quantity:";
    }

    #shopping-cart-table tr td.col.subtotal:before {
        content: attr(data-th) ":";
    }

    #shopping-cart-table tr td.col.remove:before {
        content: "Remove:";
    }
    #shopping-cart-table.table  td.remove a{
        position: relative;
        right: auto;
        top: 4px;
    }
    #shopping-cart-table tr td.col.qty input{
        width: 24px;
        height: 24px;
        line-height: 24px;
        float:left;
    }
    #shopping-cart-table tr td.col.qty .qty-box{
        display: flex;
    }
    #shopping-cart-table tr td.col.qty .qty-box i{
        padding-left: 4px;
        padding-right: 5px;
    }
    #shopping-cart-table tr td.col.qty .qty-box div.quantity-decrease{
        right: auto;
        left:0;
        position: relative;
        top:2px;
        bottom: auto;
    }
    #shopping-cart-table tr td.col.qty .qty-box div.quantity-increase{
        position: relative;
        top:2px;
        bottom: auto;
    }

    body .opc-block-summary table.table.totals tr,
    body #cart-totals table.table.totals tr{
        display: flex!important;
        justify-content: space-between!important;
    }
    body .opc-block-summary table.table.totals tr th,
    body #cart-totals table.table.totals:not(#product-review-table):not(#product-comparison) th{
        width:50% !important;
        clear:none !important;
        display: table !important;
    }
    body .opc-block-summary table.table.totals tr td,
    body #cart-totals table.table.totals:not(#product-review-table):not(#product-comparison) td{
        display: table !important;
        text-align: right !important;
    }
    .totals-inner{
        padding-left: 15px;
        padding-right: 15px;
    }
    body .opc-block-summary table.table.totals tr,
    body #cart-totals table.table.totals tr{
        padding-left: 15px;
        padding-right: 15px;
    }
    body .opc-block-summary table.table.totals .grand.totals,
    body #cart-totals table.table.totals .grand.totals{
        background: #fff;
    }
    body .opc-block-summary table.table.totals caption{
        display: none;
    }
    body #cart-totals table.table.totals caption{
        padding-left: 15px;
        padding-right: 15px;
    }
    #shipping-new-address-form .field[name="shippingAddress.firstname"], #shipping-new-address-form .field[name="shippingAddress.middlename"], #shipping-new-address-form .field[name="shippingAddress.lastname"]{
        width: 50%;
    }
    .products-list .product-item-description{
        display: none;
    }
    body .products-list .product-item-actions,
    body .products-list .product-item-actions .actions-primary{
        width:100%;
    }
    body .products-list .product-item-actions .actions-primary a,
    body .products-list .product-item-actions .actions-primary .btn-cart,
    body .products-list .product-item-actions .actions-primary  a,
    body .products-list .product-item-actions .actions-primary  .btn-cart {
        height: 31px;
        line-height: 29px;
        font-size: 11px;
        padding: 0;
        text-align: center;
    }
    body .products-list .product-item-actions .actions-primary .btn-cart{
        line-height: 23px;
    }
    body .products-list .product-item-actions .actions-primary .btn-cart span{
        font-size: 11px;
        line-height: 23px;
    }
    body .products-list .product-item-actions .btn-cart{
        float:left
    }
    body .products-list .product-item-actions .actions-primary a{
        float: right;
        clear: none;
    }
    body .products-list .product-item-actions .actions-primary a,
    body .products-list .product-item-actions .btn-cart{
        width: 48%;
    }
    body.catalog-category-view .products-grid .product-item-name a, body.catalog-category-view .products-list .product-item-name a{
        text-align: center;
    }
    body.catalog-category-view .price-availability-block .brand.pull-right{
        display: none;
    }
    .products-list .price-availability-block .price-box{
        float: none;
        text-align: center;
    }
    .widget-title h2{
        font-size: 1.5em;
    }
    .widget-title .left-divider, .widget-title .right-divider{
        margin-top: 1em;
    }
    .footer-bottom-wrapper .container{
        display: block;
    }
    .footer-bottom-wrapper .container ul{
        display: block;
        margin-bottom: 10px;
    }
    .footer-bottom-wrapper .container div.pull-left{
        margin-bottom: 10px;
    }

    .catalog-product-view .product-info-gray .price{
        font-size: 1.2em;
    }
    .catalog-product-view .product-info-gray .price-box.price-final_price::after{
        font-size: 1.2em;
    }
    .product.media .gallery-placeholder{
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 590px) {
    .header-wrapper .page-header .section .cart .showcart{
        width:  0;
        color:#fff;
        text-indent: -9999px;
        font-size: 0;
        padding-left: 32px;
        margin-left: 15px;
    }
    .pull-left.search-top{
        width: calc(100% - 125px);
        margin-left: 0;
        max-width: 100%;
    }
    .header-wrapper .header.links{
        margin-left: 0;
    }
    .header.links li a{
        padding-left: 5px;
        padding-right: 5px;

    }
    .header.links{
        float:left;
    }
    .header-wrapper .header.links .checkout{
        display: none;
    }
}
@media screen and (max-width: 414px) {

    body .header-wrapper .page-header .header.links li a{
        font-size: 0;
        color: #0070ac;
    }
    .top-links li a::before{
        margin-right: 0;
    }
    .page-header .minicart-wrapper{
        position: static;
    }
    .page-header .container .section{
        position: relative;
    }
    .minicart-wrapper .block-minicart{
        width: 300px;
    }
}
@media screen and (max-width: 991px) {
    .page-header  .open-menu.action.nav-toggle{
        display: block;
    }
}
@media screen and (min-width: 991px) {
    .widget-product-grid .owl-carousel .owl-prev {
        display: block!IMPORTANT;
        position: absolute;
        top: 40%;
        left: -45px;
    }

    .widget-product-grid .owl-carousel .owl-next {
        display: block!IMPORTANT;
        position: absolute;
        top: 40%;
        right: -45px;
    }
}

@media screen and (min-width: 576px)and (max-width: 767px){
    hr.indent-18.visible-xs {
        display: none!important;
    }
}


@media only screen and (min-height: 600px) {
    #amhideprice-form {
        top: 50%;
        position: relative;
        transform: translateY(-50%);
    }
}