@media (min-width:1200px){
}

@media (min-width: 640px) {

    /* Order shipment */
    .account .table.table-order-items.invoice .col.qty,
    .account .table.table-order-items.shipment .col.qty {
        text-align: center;
    }

    .account .table-order-items tfoot td.amount,
    .account .table-order-items .subtotal {
        text-align: right;
    }
}

@media (min-width: 768px) {
    /* Patient Information */
    .account.customer-account-patient .form.form-edit-account {
        width: 66%;
    }

    /* Account Information */
    .account.customer-address-form.page-layout-2columns-left fieldset.fieldset:first-child,
    .customer-account-edit.page-layout-2columns-left fieldset.fieldset.info {
        width: 48%;
        display: inline-block;
        margin-right: 2%;
        vertical-align: top;
    }

    .account.customer-address-form.page-layout-2columns-left fieldset.fieldset:nth-child(2),
    .customer-account-edit.page-layout-2columns-left fieldset.fieldset.password {
        width: 48%;
        display: inline-block !important;
        vertical-align: top;
    }


    /* Paypal review */
    .paypal-express-review .cart.table-wrapper .table-paypal-review-items .item .col.item,
    .paypal-express-review .cart.table-wrapper .table-paypal-review-items .item .col.subtotal,
    .paypal-express-review .cart.table-wrapper .table-paypal-review-items .item .col.qty
    {
        float: none;
        display: table-cell;
    }
    .paypal-express-review .cart.table-wrapper .item .col.item {
        width: auto;
    }
}

@media (min-width: 768px), print {
    .account .column.main .block:not(.widget) .block-content .box {
        width: 48.8%;
    }
    .account .column.main .block:not(.widget) .block-content .box:nth-child(odd) {
        clear: left;
        float: left;
    }
    .account .column.main .block:not(.widget) .block-content .box:nth-child(even) {
        float: right;
    }
    .account .table-order-items tfoot td.amount, .account .table-order-items .subtotal {
        text-align: right !important;
    }
}


@media (min-width: 992px) {
    /* Product page */
    body.account.page-layout-2columns-left .sidebar-main,
    body.account.page-layout-2columns-left .sidebar-additional,
    .page-products.page-layout-2columns-left .sidebar-main,
    .page-products.page-layout-2columns-left .sidebar-additional{
        width: calc(25% - 16px);
        padding-right: 0;
        margin-right: 21px;
        float: left;
    }

    body.account.page-layout-2columns-left .column.main,
    .page-products.page-layout-2columns-left .column.main {
        width: calc(75% - 5px);
        float: right;
    }

    .block.filter .filter-title{
        display: none;
    }
}


@media (max-width: 1199px) {
    /* Product page */
    .mobile-only {
        display: block;
    }

    .login-note {
        margin-bottom: 25px;
    }

    body.catalog-product-view .products-sliders .owl-theme .owl-buttons {
        top: -65px;
    }

    .product-info-main .product-main .brand,
    .product-info-main .product-main .page-title-wrapper.product {
        display: none;
    }

    body.catalog-product-view #maincontent {
        padding-top: 10px;
    }

    .mobile-only.product-main .page-title-wrapper .page-title {
        margin-bottom: 22px;
    }

    .catalog-product-view .product-info-main {
        margin-top: 16px;
    }
    .catalog-product-view .tier-price select {
        max-width: 229px;
    }
    .product-add-form .fieldset > .field:not(.choice) > .control {
        display: inline-block;
    }
    .catalog-product-view .product-main .box-tocart .actions {
        text-align: left;
        width: 100%;
    }
    .catalog-product-view .product-main .box-tocart .action.tocart {
        width: 75%;
        padding-left: 14px;
        padding-right: 14px;
    }

    .catalog-product-view  .product-main .box-tocart,
    .catalog-product-view  .tier-price + .product-add-form .box-tocart {
        margin-bottom: 0;
        margin-top: 12px;
    }
    .catalog-product-view .product-social-links {
        margin-bottom: 17px;
    }
    .catalog-product-view .product-social-links a {
        margin-left: 0px;
        margin-right: 13px;
    }
    .catalog-product-view .product-social-links a span {
        margin-left: 6px;
    }

    .catalog-product-view .product.info.detailed {
        margin: 0 -15px;
        padding-top: 0;
    }

    .catalog-product-view .product-upsell {
        margin-bottom: 15px;
    }

    .catalog-product-view .product.data.items .data.item {
        padding: 0 15px;
        background: #fff;
    }

    .catalog-product-view .product.data.items .data.item:nth-last-child(2) > .switch {
        border-bottom: 1px solid #d7d7d7;
    }
    .catalog-product-view .product.data.items .data.item.active:nth-last-child(2) > .switch {
        border-bottom: 0;
    }

    .catalog-product-view .product.data.items > .item.title > .switch {
        padding: 8px 0 !important;
    }

    .catalog-product-view .product.data.items > .item.title > .switch {
        border: 0;
        letter-spacing: -0.5px;
        background: #fff;
        border-top: 1px solid #d7d7d7;
        position: relative;
    }

    .catalog-product-view .product.data.items > .item.content {
        padding: 24px 15px;
        background: #fff;
        font-size: 16px;
    }

    .catalog-product-view .pagebuilder-product-list.related {
        margin-top: 29px;
    }
    .catalog-product-view .product-item-info.related-available .product-image-container,
    .catalog-product-view .product-item-info.related-available .owl-carousel .owl-item img {
        max-width: 100%;
        width: 100%;
    }
    .products.wrapper.grid.products-grid.products-related {
        margin-bottom: 4px;
    }
    .products-sliders .owl-pagination {
        margin-top: 0 !important;
    }

    .catalog-product-view .product.data.items > .item.title > .switch:before {
        content: "\f107";
        position: absolute;
        right: 5px;
        font-family: "Font Awesome\ 5 Pro";
        font-size: 19px;
        line-height: 43px;
        color: #000;
    }
    .catalog-product-view .product.data.items > .item.title.active > .switch:before {
        content: "\f106";
        color: #000;
        right: 20px;
    }

    .catalog-product-view .fotorama__nav-wrap.fotorama__nav-wrap--horizontal {
        background: #fff;
    }

    .product.details.product-item-details {
        margin-top: 12px;
    }

    .tier-price .tooltip.content,
    .tooltip.content {
        left: auto;
        right: -5px;
    }
    .tier-price .tooltip.content:after,
    .tooltip.content:after {
        left: auto;
        right: 8px;
    }


    /* Prescription page */
    #ec-widget-35682826.widget.wysiwyg h3 {
        width: 295px;
        margin: auto;
        line-height: 26px;
    }
    .box-prescription.box-1 strong {
        font-size: 24px !important;
    }
    .box-prescription #algolia-autocomplete-tt.algolia-autocomplete {
        width: 90% !important;
    }
    .box-prescription .block-search .action.search {
        background: #f2aa31;
        color: #fff;
        right: 5% !important;
    }

    body.cms-prescription  #algolia-autocomplete-container .aa-dropdown-menu {
        max-width: 87% !important;
    }

    /* Cart */
    .block.discount input {
        width: 168px;
    }


    /* Checkout page */
    .simple-header .logo img {
        width: auto;
    }
    .simple-header .logo {
        margin: 0 15px;
    }

    .checkout-index-index  .opc-estimated-wrapper {
        background: #f5f5f5;
        border-color: #ddd;
    }

    .checkout-index-index  .field .control._with-tooltip input {
        width: calc(100% - 60px);
    }

    .checkout-index-index  .field-tooltip {
        right: 23px;
    }

    .checkout-index-index  .opc-wrapper .fieldset div[name="shippingAddress.telephone"],
    .checkout-index-index  .opc-wrapper .fieldset div[name="shippingAddress.company"]+fieldset,
    .checkout-index-index  .opc-wrapper .fieldset > .field {
        width: calc(100% - 20px);
    }

    .checkout-index-index .opc > li {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 13px;
        margin-bottom: 10px !important;
    }

    .checkout-index-index .opc > li#payment {
        padding: 20px 20px 30px;
    }

    .checkout-index-index .opc > li#payment .step-title {
        margin-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .checkout-index-index .opc > li .step-title {
        padding-bottom: 13px;
        margin-bottom: 15px;
    }

    .checkout-index-index .opc-wrapper .form-login .fieldset .note,
    .checkout-index-index .opc-wrapper .form-shipping-address .fieldset .note {
        font-size: 14px;
    }

    .checkout-index-index .opc-wrapper .form-login {
        border: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .checkout-index-index .authentication-wrapper {
        margin-top: 0;
        float: none;
        padding: 0 10px;
        text-align: right;
        max-width: 100%;
    }

    .opc-estimated-wrapper .estimated-block .estimated-label {
        font-size: 14px;
        line-height: 16px;
    }

    .opc-estimated-wrapper .estimated-block .estimated-price {
        font-size: 16px;
    }

    .opc-estimated-wrapper .minicart-wrapper button.action.showcart {
        background: url(../images/cart-blue.png) center center no-repeat;
        margin: 5px 0px 0 0px;
        background-size: 30px auto;
        position: relative;
    }
    .checkout-index-index .minicart-wrapper .action.showcart .counter.qty {
        top: 1px;
        right: 6px;
    }

    .view_order_summary {
        background: #f5f5f5;
        text-align: center;
        padding: 9px 0 13px;
        margin-bottom: 12px;
        display: block;
    }

    .view_order_summary a {
        color: #141b41;
        font-size: 14px;
        text-decoration: underline;
        font-family: "Droid Sans Bold";
    }

    .checkout-index-index .opc-wrapper {
        margin-top: 12px;
    }

    .checkout-index-index .table-checkout-shipping-method tbody tr:first-child td {
        padding-top: 6px;
    }
    .checkout-index-index .methods-shipping .actions-toolbar .action.primary {
        margin-top: 0;
    }
    .checkout-index-index .shipping-note {
        margin-top: 14px;
        text-align: center;
    }

    .checkout-index-index .checkout-payment-method .payment-option,
    .checkout-index-index .checkout-payment-method .payment-methods {
        margin: 0;
    }
    .checkout-index-index .checkout-payment-method .payment-method-title {
        padding: 20px 0;
        height: 20px;
    }
    .checkout-index-index .checkout-payment-method .payment-option-title .action-toggle:after {
        color: #878787;
    }

    .checkout-payment-method .form-discount .payment-option-inner {
        width: 40%;
    }

    .checkout-payment-method .form-discount button.action.action-cancel {
        padding-left: 10px;
        padding-right: 10px;
    }

    .checkout-index-index .page-title-wrapper {
        margin-top: 16px;
    }
    .checkout-index-index .page-title-wrapper h1 {
        margin-bottom: 17px;
    }
    .checkout-index-index .opc-progress-bar,
    .checkout-index-index .breadcrumbs {
        display: none;
    }

    .simple-header .header-secondary {
        padding: 18px 0;
    }

    /* multiple shipping */
    .multicheckout .actions-toolbar .secondary .action {
        margin-left: 0;
    }
    .multicheckout .actions-toolbar > .primary {
        margin: 27.5px 0;
    }

    body.multishipping-checkout-addresses .actions-toolbar .primary {
        float: none;
        text-align: center;
        margin: 0;
    }
    body.multishipping-checkout-addresses .actions-toolbar .secondary {
        float: none;
        text-align: center;
        margin-bottom: 0;
    }


    /* My account */
    .account .column.main .toolbar {
        text-align: right;
        border-top: 0;
    }
    .account .actions-toolbar > .primary,
    .account .actions-toolbar > .secondary {
        text-align: right;
    }

    /* Paypal review */
    .paypal-express-review tfoot.opc-block-summary td.amount {
        text-align: right;
    }

}

@media (max-width: 991px) {
    .page-products.page-layout-2columns-left .column.main .product-items {
        margin: 0 -5px;
    }

    /* Search result Algolia */
    #algolia_instant_selector .hidden-sm {
        display: none!important;
    }

    body #algolia_instant_selector.with-facets #algolia-right-container,
    body #algolia_instant_selector.with-facets #algolia-left-container {
        width: 100%;
    }

    #algolia-autocomplete-container .aa-dropdown-menu {
        width: 100% !important;
        max-width: calc(100%) !important;
    }


    #algolia-autocomplete-container.reverse .col3 {
        border-top: 1px solid #ddd;
    }

    #algolia-autocomplete-container .aa-dataset-products {
        min-height: auto !important;
    }

    /* sidebar category page */
    .toolbar-products .modes,
    .toolbar-products .field.limiter {
        display: none;
    }

    .sorter-options {
        width: 108px;
    }

    .filter.active {
        position: relative;
        visibility: visible;
        z-index: 99;
    }

    .category-nav-block{
        overflow: hidden;
        position: fixed;
        top: 50px;
        padding: 0 20px;
        overflow: auto;
        width: calc(100% - 40px);
        background: #ffffff;
        overflow: scroll;
        z-index: 10;
        height: calc(100% - 50px);

        transform: translateX(100%);
        -webkit-transform: translateX(100%);
    }

    /* Category List */
    .page-products.page-layout-2columns-left .column.main .product-items {
        display: flex;
        flex-wrap: wrap;
    }
    .page-wrapper > .breadcrumbs {
        display: none;
    }

    .toolbar-products {
        margin-bottom: 15px;
    }

    .category-image {
        margin-bottom: 30px;
        -webkit-box-shadow: 0px 8px 10px 0px rgba(209,228,243,0.57);
        -moz-box-shadow: 0px 8px 10px 0px rgba(209,228,243,0.57);
        box-shadow: 0px 8px 10px 0px rgba(209,228,243,0.57);
    }
    .category-image .image {
        width: 100%;
    }

    .column.main .products.list .product-item {
        padding-left: 0;
    }

    .category-view {
        margin-bottom: 17px;
    }

    ol.products.list.items.product-items {
        margin: 0 -5px;
    }

    .category-description {
        font-size: 16px;
    }
    .catalog-category-view .page-title-wrapper {
        padding-top: 30px;
    }
    .catalog-category-view .page-title-wrapper .page-title {
        margin-bottom: 10px;
    }

    .catalog-category-view .sidebar.sidebar-main .page-title-wrapper .page-title {
        display: none;
    }

    .toolbar-sorter.sorter a.action.sorter-action {
        display: none;
    }

    /* Cart */
    .form-cart .action.action-edit,
    .form-cart .action-delete {
        margin: 0;
        display: block;
        text-align: center;
    }

    /* Account */
    account.sales-order-history .toolbar-amount {
        width: 100%;
    }

    .account .column.main .order-products-toolbar.toolbar.bottom {
        text-align: center;
    }

    .sales-order-history.account .order-products-toolbar.toolbar.bottom .limiter {
        float: none;
    }

    .catalog-product-view .product-add-form .box-tocart > div.fieldset {
        display: flex;
    }
}



@media (max-width: 770px) {

    /* Blog */
    .amblog-container.list .am-pager {
        text-align: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    /* Category */
    .page-products .columns.filter-is-open {
        z-index: 15;
    }

    .column.main .products.list .product-item {
        padding-left: 0;
        margin-bottom: 20px;
    }

    /* cart */
    .checkout-cart-index .page-wrapper > .breadcrumbs {
        display: none;
    }

    .checkout-cart-index .cart.table-wrapper tr th.col.item {
        display: none;
    }

    .checkout-cart-index .cart.table-wrapper .items thead + .item {
        border-top: 0;
    }

    .checkout-cart-index .product-image-container,
    .checkout-cart-index .product-image-container img {
        max-width: 120px !important;
        width: 120px;
    }

    .cart.table-wrapper tbody.cart.item:nth-child(3) .col.item {
        padding-top: 0 !important;
    }

    .cart.table-wrapper .item .col.item {
        width: 100%;
    }

    .cart.table-wrapper .col.qty,
    .cart.table-wrapper .col.price,
    .cart.table-wrapper .col.subtotal,
    .cart.table-wrapper .col.msrp {
        width: 33.3333%;
        padding-top: 18px !important;
    }

    .cart.table-wrapper .col.price {
        text-align: right;
    }

    .cart.table-wrapper .col.action {
        width: 100%;
        display: block;
        text-align: center;
        clear: both;
        padding-top: 0 !important;
        padding-bottom: 13px;
    }

    .checkout-cart-index .cart.main.actions {
        display: none;
    }
    .checkout-cart-index .block.discount {
        float: none;
        margin: 28px 0 0;
        width: 100%;
        clear: both;
        text-align: center;
    }

    .checkout-cart-index .block.discount .title {
        margin-bottom: 0;
    }

    .checkout-cart-index .block.discount form#discount-coupon-form {
        text-align: center;
        margin-top: 11px;
    }

    .checkout-cart-index .block.discount .fieldset.coupon {
        display: inline-block;
    }

    .checkout-cart-index .cart.action_button_mobile {
        text-align: center;
        display: block;
        padding-top: 28px;
        clear: both;
    }

    .checkout-cart-index .cart.action_button_mobile button {
        width: 100%;
        font-size: 15px;
    }

    .checkout-cart-index button.update_shopping_cart_btt_fake {
        margin-bottom: 10px;
        background: #e6e6e6;
        color: #141b41;
    }

    .checkout-cart-index .page-footer {
        margin-top: 1px;
    }

    .checkout-cart-index .page-title-wrapper {
        margin-top: 20px;
    }

    .checkout-cart-index .page-title-wrapper h1 {
        margin-bottom: 20px;
    }


    .form-cart .action.action-edit,
    .form-cart .action-delete {
        margin: 5px 20px 5px 5px ;
        display: inline-block;
        text-align: center;
    }

    /* Prescription page */
    .box-prescription ul li:last-child {
        border: 0;
    }

    /* Paypal review */
    .paypal-express-review .cart.table-wrapper .table-paypal-review-items tbody,
    .paypal-express-review .cart.table-wrapper .table-paypal-review-items tfoot,
    .paypal-express-review .cart.table-wrapper .table-paypal-review-items tr,
    .paypal-express-review .cart.table-wrapper .table-paypal-review-items {
        display: block;
        clear: both;
    }

    .paypal-express-review .cart.table-wrapper .table-paypal-review-items tbody:after,
    .paypal-express-review .cart.table-wrapper .table-paypal-review-items tfoot:after {
        content: "";
        clear: both;
        height: 0;
    }

    .paypal-express-review .cart.table-wrapper .items thead + .item {
        border: 0;
    }

    .paypal-express-review .cart.table-wrapper .items thead + tbody.item {
        border-top: 1px solid #ddd;
    }

    .paypal-express-review .cart.table-wrapper .table-paypal-review-items tbody.cart.item:nth-child(3) .col.item {
        padding-top: 40px !important;
    }
    .paypal-express-review .cart.table-wrapper .col.subtotal {
        text-align: left;
    }

    .paypal-express-review .cart.table-wrapper .col.price,
    .paypal-express-review .cart.table-wrapper .col.qty,
    .paypal-express-review .cart.table-wrapper .col.subtotal {
        padding-bottom: 30px;
    }

    .paypal-express-review tfoot.opc-block-summary {
        padding-left: 0;
        padding-right: 0;
        border-top: 1px solid #ddd;
    }
    .paypal-express-review tfoot.opc-block-summary:after {
        display: block;
        content: "";
        clear: both;
        height: 0;
    }

    .paypal-express-review tfoot.opc-block-summary th,
    .paypal-express-review tfoot.opc-block-summary td {
        width: 50%;
        text-align: left;
        float: left;
        display: block;
    }
    .paypal-express-review tfoot.opc-block-summary td.amount {
        text-align: right;
    }
    .product-info-main .text-left,
    .product-info-main .text-right{
        width: 100%;
    }
/*
    Product
 */
    .product-info-main .product-view{
        padding-left: 0 !important;
    }
    .product-info-main .text-left, .product-info-main .text-right{
        width: 100% !important;
        text-align: left;
    }
    .product-info-main .text-left{
        margin-bottom: 30px;
    }
    .product-view .product-shop .price-info{
        text-align: left;
    }
    .product-view .product-shop .price-box .price-container > span{
        width: 50%;
        display: inline-block;
    }
    .product-view .product-shop .price-box .price-container > span.price-excluding-tax{
        float: right;
    }
    .add-to-cart-block .box-tocart .actions{
        display: inline-block !important;
        margin: 0 !important    ;
    }
    .add-to-cart-block .box-tocart{
        margin-top: 10px !important;
    }
    .add-to-cart-block .box-tocart .actions button{
        padding-top: 9px !important;
        padding-bottom: 9px !important;
    }
    .product-info-social .product-social-links a{
        margin-bottom: 10px;
    }
    .product-info-social .product-social-links a:last-child{
        margin-bottom: 0;
    }
    .block.upsell .action.tocart.primary{
        padding: 12px 10px!important;
        font-size: 1.3rem !important;
    }
    .catalog-product-view .product.data.items > .item.title.active > .switch {
        border-top: 0;
        background: #f1f0f0;
        color: #0059a9;
        padding: 8px 15px !important;
    }
}

@media (max-width: 639px) {
    /* multiple address */
    .multicheckout tr td.qty,
    .multicheckout.order-review .data.table tbody tr .col.qty,
    .multicheckout.order-review .data.table tbody tr .col.price,
    .multicheckout.order-review .data.table tbody tr .col.subtotal {
        text-align: left;
    }

    .multishipping-checkout-addresses .table-wrapper .table#multiship-addresses-table > tbody > tr td {
        padding-bottom: 10px;
    }

    .multishipping-checkout-addresses .table-wrapper .table:not(.cart):not(.totals):not(.table-comparison) > tbody > tr td.col.actions:before {
        display: none;
    }

    .multishipping-checkout-shipping .block.block-shipping .box.box-items .box-title {
        padding-left: 0;
    }

    .multishipping-checkout-overview .block.block-billing,
    .multishipping-checkout-overview .block.block-shipping {
        margin-bottom: 0;
    }

    /* Checkout */
    .opc-wrapper .edit-address-link {
        margin-top: 0;
        padding: 0;
        border: 0;
    }

    .opc-wrapper .edit-address-link:focus,
    .opc-wrapper .edit-address-link:visited,
    .opc-wrapper .edit-address-link:hover {
        background: transparent;
        border: 0;
    }

    /* Search result algolia */
    #instant-search-results-container .ais-hits--item {
        width: calc((100% - 20px) / 2);
    }

    /* Prescription */
    body.cms-prescription  #algolia-autocomplete-container .aa-dropdown-menu {
        max-width: 84% !important;
    }
}

@media (max-width: 568px) {

    /* category */
    .product-item-name {
        min-height: 68px;
    }

    .sales-order-shipment .product-item-name {
        min-height: 18px;
    }

    .account .table-wrapper .table:not(.cart):not(.totals):not(.table-comparison) > tbody > tr:last-child td:last-child {
        border: none;
        padding-bottom: 25px;
    }

    .products-list .product-img,
    .product-image-container,
    .product-image-container img {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
    .products-list .product-item-details {
        width: 75%;
        margin-top: 2px;
    }
    .products-list .product-item-details .text-right{
        text-align: left;
    }
    .products-list .actions-secondary,
    .products-list .price-box .minimal-price-link{
        padding-left: 0;
    }
    .products-list .product.details.product-item-details{
        margin-top: 0;
    }
    .products-list .product-item-name{
        margin-bottom: 15px;
    }
    .discount-percent {
        top: 5px;
        left: 5px;
    }

    /* list mode */
    .products-list.list .product-img,
    .products-list.list .product-image-container,
    .products-list.list .product-image-container img
    {
        width: 130px;
    }

    .products-list .product-item-photo{
        width: 24.3333%;
    }

    /* Cart */
    .block.discount input {
        width: 135px;
        padding-right: 0;
    }

    /* Checkout page */
    .form.payments .payment-method-content .actions-toolbar {
        width: 100%;
        max-width: 100%;
    }
    .checkout-payment-method .payment-method-content > .actions-toolbar > .primary .action.primary {
        width: 100%;
    }

    .modal-popup.modal-slide._inner-scroll._show .modal-footer button {
        margin-bottom: 15px;
    }

    /* Account */
    .account .table-order-items .product-item-name {
        min-height: 25px;
    }
}
