﻿/**
 * @package 	WordPress
 * @subpackage 	Medicine Plus
 * @version		1.2.1
 * 
 * Responsive WooCommerce CSS Rules
 * Created by CMSMasters
 * 
 */
/*-------------------------------------------------------------------------

	1. 	Large Monitor
	2.	Medium Monitor
	3.	Tablet Monitor
	4.	Small Tablet Monitor
	5.	Phone Monitor

-------------------------------------------------------------------------*/


@media only screen and (min-width: 1440px) {
    ul.order_details li > span {
        padding: 15px 20px;
    }

    ul.order_details li > strong {
        padding: 15px 20px;
    }
}

@media only screen and (min-width: 1025px) {
    .cmsms_dynamic_cart:before {
        content: '';
        width: 100%;
        height: 100%;
        z-index: 6;
        position: absolute;
        left: 13px;
        top: -6px;
    }
}

@media only screen and (max-width: 1024px) {
    .cmsms_products.columns-6 .product {
        width: 31.33%;
    }

        .cmsms_products.columns-6 .product:nth-child(6n+1) {
            clear: none;
        }

        .cmsms_products.columns-6 .product:nth-child(3n+1) {
            clear: left;
        }

    .cmsms_products.columns-5 .product {
        width: 31.33%;
    }

        .cmsms_products.columns-5 .product:nth-child(5n+1) {
            clear: none;
        }

        .cmsms_products.columns-5 .product:nth-child(3n+1) {
            clear: left;
        }

    .cmsms_products.columns-4 .product {
        width: 48%;
    }

        .cmsms_products.columns-4 .product:nth-child(4n+1) {
            clear: none;
        }

        .cmsms_products.columns-4 .product:nth-child(2n+1) {
            clear: left;
        }

    .cmsms_dynamic_cart {
        display: inline-block !important;
        opacity: 1;
    }

        .cmsms_dynamic_cart .widget_shopping_cart_content_wrap {
            display: none !important;
        }

    ul.order_details {
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

        ul.order_details li {
            width: 50%;
        }

            ul.order_details li:first-child {
                -webkit-border-radius: 20px 0 0 0;
                border-radius: 20px 0 0 0;
            }

                ul.order_details li:first-child > a {
                    -webkit-border-radius: 20px 0 0 0;
                    border-radius: 20px 0 0 0;
                }

            ul.order_details li:nth-child(2) {
                -webkit-border-radius: 0 20px 0 0;
                border-radius: 0 20px 0 0;
            }

                ul.order_details li:nth-child(2) > a {
                    -webkit-border-radius: 0 20px 0 0;
                    border-radius: 0 20px 0 0;
                }

            ul.order_details li:nth-child(3),
            ul.order_details li:nth-child(4) {
                -webkit-border-radius: 0;
                border-radius: 0;
            }

                ul.order_details li:nth-child(3) > a,
                ul.order_details li:nth-child(4) > a {
                    -webkit-border-radius: 0;
                    border-radius: 0;
                }

            ul.order_details li:nth-child(5) {
                width: 100%;
                -webkit-border-radius: 0 0 20px 20px;
                border-radius: 0 0 20px 20px;
            }

                ul.order_details li:nth-child(5) > a {
                    -webkit-border-radius: 0 0 20px 20px;
                    border-radius: 0 0 20px 20px;
                }
}

@media only screen and (max-width: 767px) {
    .col2-set > *,
    .cart-collaterals > * {
        width: 98%;
        margin-bottom: 40px;
        float: none;
        clear: both;
    }

        .col2-set > *:last-child,
        .cart-collaterals > *:last-child {
            margin-bottom: 0;
        }

    .shipping_calculator .shipping-calculator-form .form-row {
        width: 98%;
        float: none;
        clear: both;
    }

    .checkout_coupon .form-row {
        width: 98%;
        float: none;
        clear: both;
    }

    .shop_table.cart .cart_item {
        padding-top: 20px;
        border-top-width: 1px;
        border-top-style: solid;
    }

        .shop_table.cart .cart_item:first-child {
            padding-top: 0;
            border-top-width: 0;
            border-top-style: solid;
        }

        .shop_table.cart .cart_item td {
            display: block;
            width: 100%;
            border-width: 0;
            border-style: solid;
        }

        .shop_table.cart .cart_item tr td:last-child {
            border-width: 0;
            border-style: solid;
        }

    .checkout .woocommerce-billing-fields #billing_first_name_field,
    .checkout .woocommerce-billing-fields #billing_last_name_field,
    .checkout .woocommerce-billing-fields #billing_state_field,
    .checkout .woocommerce-billing-fields #billing_postcode_field,
    .checkout .woocommerce-billing-fields #billing_email_field,
    .checkout .woocommerce-billing-fields #billing_phone_field {
        width: 98%;
        float: none;
        clear: both;
    }

    .checkout .woocommerce-shipping-fields .shipping_address #shipping_first_name_field,
    .checkout .woocommerce-shipping-fields .shipping_address #shipping_last_name_field,
    .checkout .woocommerce-shipping-fields .shipping_address #shipping_state_field,
    .checkout .woocommerce-shipping-fields .shipping_address #shipping_postcode_field {
        width: 98%;
        float: none;
        clear: both;
    }

    .checkout #order_review .shop_table th,
    .checkout #order_review .shop_table td {
        padding-left: 10px;
    }

    .checkout #order_review #payment {
        padding: 15px 20px;
    }

    .cmsms_single_product .cmsms_product_left_column,
    .cmsms_single_product .cmsms_product_right_column {
        width: 100%;
        float: none;
        padding: 0 0 50px;
    }

    .cmsms_single_product .cmsms_product_left_column {
        padding-bottom: 20px;
    }

    .shop_table.cart {
        display: block;
        position: relative;
        text-align: center;
        overflow: hidden;
    }

        .shop_table.cart tbody,
        .shop_table.cart tr,
        .shop_table.cart th,
        .shop_table.cart td {
            display: block;
            position: relative;
            text-align: center;
            overflow: hidden;
        }

        .shop_table.cart thead {
            display: none;
        }

        .shop_table.cart td {
            padding: 25px;
        }

            .shop_table.cart td.product-remove {
                display: none;
            }

            .shop_table.cart td.product-thumbnail,
            .shop_table.cart td.product-name {
                padding-bottom: 0;
                border-bottom-width: 0;
                border-bottom-style: solid;
            }

            .shop_table.cart td.product-price,
            .shop_table.cart td.product-quantity,
            .shop_table.cart td.product-subtotal {
                display: inline-block;
                width: 33.33%;
                margin: 0 -2px;
                vertical-align: bottom;
            }

            .shop_table.cart td.product-price,
            .shop_table.cart td.product-subtotal {
                padding-top: 33px;
                padding-bottom: 33px;
            }

            .shop_table.cart td.product-quantity .buttons_added {
                float: none;
                display: inline-block;
                vertical-align: middle;
            }

            .shop_table.cart td.product-quantity .input-text {
                width: 100%;
            }

            .shop_table.cart td.actions {
                padding: 15px 15px 0;
                border-top-width: 1px;
                border-top-style: solid;
                text-align: center;
                -webkit-border-radius: 5px;
                border-radius: 5px;
            }

                .shop_table.cart td.actions .button,
                .shop_table.cart td.actions input[type=text] {
                    margin-bottom: 15px;
                }

                .shop_table.cart td.actions .button {
                    float: right;
                }

                .shop_table.cart td.actions input[type=text] {
                    min-width: 180px;
                }

    .shop_table.my_account_orders {
        display: block;
        position: relative;
        text-align: center;
        overflow: hidden;
    }

        .shop_table.my_account_orders tbody,
        .shop_table.my_account_orders tr,
        .shop_table.my_account_orders th,
        .shop_table.my_account_orders td {
            display: block;
            position: relative;
            text-align: center;
            overflow: hidden;
        }

        .shop_table.my_account_orders thead {
            display: none;
        }

        .shop_table.my_account_orders tr:first-child td.order-number,
        .shop_table.my_account_orders tr:first-child td.order-date,
        .shop_table.my_account_orders tr:first-child td.order-status {
            border-top-width: 1px;
            border-top-style: solid;
        }

        .shop_table.my_account_orders tr:first-child td.order-number {
            -webkit-border-radius: 20px 0 0 0;
            border-radius: 20px 0 0 0;
        }

        .shop_table.my_account_orders tr:first-child td.order-status {
            -webkit-border-radius: 0 20px 0 0;
            border-radius: 0 20px 0 0;
        }

        .shop_table.my_account_orders tr:last-child td.order-number {
            -webkit-border-radius: 0 !important;
            border-radius: 0 !important;
        }

        .shop_table.my_account_orders tr:last-child td.order-actions {
            -webkit-border-radius: 0 0 20px 20px !important;
            border-radius: 0 0 20px 20px !important;
        }

        .shop_table.my_account_orders tr td {
            padding: 25px;
        }

            .shop_table.my_account_orders tr td.order-number,
            .shop_table.my_account_orders tr td.order-date,
            .shop_table.my_account_orders tr td.order-status {
                display: inline-block;
                width: 33.33%;
                margin: 0 -2px;
                padding-bottom: 0;
                vertical-align: bottom;
                border-bottom-width: 0;
                border-bottom-style: solid;
                -webkit-border-radius: 0;
                border-radius: 0;
            }

            .shop_table.my_account_orders tr td.order-status {
                text-align: center !important;
                border-right-width: 1px;
                border-right-style: solid;
            }

            .shop_table.my_account_orders tr td.order-total {
                margin: 1px;
                padding-bottom: 0;
                border-bottom-width: 0;
                border-bottom-style: solid;
                border-left-width: 1px;
                border-left-style: solid;
                border-right-width: 1px;
                border-right-style: solid;
            }

            .shop_table.my_account_orders tr td.order-actions {
                margin: 0 1px;
                border-left-width: 1px;
                border-left-style: solid;
            }

    .shop_table.order_details th,
    .shop_table.order_details td {
        padding-left: 10px;
    }

    .woocommerce .track_order .form-row input[type="text"] {
        width: 100%;
    }

    #tribe-mobile-container .tribe-mobile-day .tribe-mobile-day-date,
    #tribe-mobile-container .tribe-mobile-day .tribe-mobile-day-heading {
        -webkit-border-radius: 25px;
        border-radius: 25px;
    }
}

@media only screen and (max-width: 600px) {
    .cmsms_products.columns-6 .product,
    .cmsms_products.columns-5 .product,
    .cmsms_products.columns-3 .product {
        width: 98%;
        float: none;
    }

        .cmsms_products.columns-6 .product:nth-child(n),
        .cmsms_products.columns-5 .product:nth-child(n),
        .cmsms_products.columns-3 .product:nth-child(n) {
            clear: both;
        }
}

@media only screen and (max-width: 540px) {
    .cmsms_products.columns-6 .product,
    .cmsms_products.columns-5 .product,
    .cmsms_products.columns-4 .product,
    .cmsms_products.columns-3 .product,
    .cmsms_products.columns-2 .product {
        width: 98%;
        float: none;
    }

        .cmsms_products.columns-6 .product:nth-child(n),
        .cmsms_products.columns-5 .product:nth-child(n),
        .cmsms_products.columns-4 .product:nth-child(n),
        .cmsms_products.columns-3 .product:nth-child(n),
        .cmsms_products.columns-2 .product:nth-child(n) {
            clear: both;
        }

    .cmsms_woo_wrap_result .woocommerce-result-count {
        float: none;
        margin: 0 0 10px;
        text-align: center;
    }

    .cmsms_woo_wrap_result .woocommerce-ordering {
        float: none;
        width: 100%;
    }

    .cmsms_single_product .cmsms_woo_tabs #reviews #comments .commentlist .comment .comment_container .comment-text .cmsms_star_rating {
        margin: 5px 0;
        float: none;
    }

    .cmsms_single_product .cmsms_woo_tabs #reviews #comments .commentlist .comment .comment_container .comment-text .meta {
        padding-right: 0;
    }

    .woocommerce-message,
    .woocommerce-info {
        text-align: center;
    }

        .woocommerce-message .button,
        .woocommerce-info .button {
            display: block;
            margin-right: 0;
            text-align: center;
        }

    .shop_table.cart td {
        padding: 15px;
    }

        .shop_table.cart td.product-price,
        .shop_table.cart td.product-quantity,
        .shop_table.cart td.product-subtotal {
            display: block;
            width: auto;
            margin: 0;
        }

        .shop_table.cart td.product-price,
        .shop_table.cart td.product-subtotal {
            padding-top: 15px;
            padding-bottom: 15px;
        }

        .shop_table.cart td.product-price,
        .shop_table.cart td.product-quantity {
            padding-bottom: 0;
            border-bottom-width: 0;
            border-bottom-style: solid;
        }

        .shop_table.cart td.product-quantity {
            paddin-left: 0;
            padding-right: 0;
        }

        .shop_table.cart td.actions {
            padding-bottom: 0;
            text-align: center;
        }

            .shop_table.cart td.actions .button,
            .shop_table.cart td.actions input[type=text] {
                margin-bottom: 15px;
            }

            .shop_table.cart td.actions .coupon,
            .shop_table.cart td.actions .button {
                float: none;
                text-align: center;
            }

    .shop_table.my_account_orders tr.order:first-child td.order-number {
        -webkit-border-radius: 20px 20px 0 0;
        border-radius: 20px 20px 0 0;
    }

    .shop_table.my_account_orders tr.order:first-child td.order-status,
    .shop_table.my_account_orders tr.order:first-child td.order-date {
        border-top-width: 0;
        border-top-style: solid;
    }

    .shop_table.my_account_orders tr.order:first-child td.order-status {
        -webkit-border-radius: 0;
        border-radius: 0;
    }

    .shop_table.my_account_orders tr.order td {
        margin: 0;
        padding: 15px;
        border-left-width: 1px;
        border-left-style: solid;
        border-right-width: 1px;
        border-right-style: solid;
        -webkit-border-radius: 0;
        border-radius: 0;
    }

        .shop_table.my_account_orders tr.order td.order-number,
        .shop_table.my_account_orders tr.order td.order-date,
        .shop_table.my_account_orders tr.order td.order-status {
            display: block;
            width: auto;
            margin: 0;
        }

    .checkout #order_review #payment .place-order .terms {
        float: none;
        padding: 10px 0;
    }

    ul.order_details li {
        float: none;
        width: 100%;
        -webkit-border-radius: 0;
        border-radius: 0;
    }

        ul.order_details li:first-child {
            -webkit-border-radius: 20px 20px 0 0;
            border-radius: 20px 20px 0 0;
        }

            ul.order_details li:first-child > a {
                -webkit-border-radius: 20px 20px 0 0;
                border-radius: 20px 20px 0 0;
            }

        ul.order_details li:nth-child(2),
        ul.order_details li:nth-child(3),
        ul.order_details li:nth-child(4) {
            -webkit-border-radius: 0;
            border-radius: 0;
        }

            ul.order_details li:nth-child(2) > a,
            ul.order_details li:nth-child(3) > a,
            ul.order_details li:nth-child(4) > a {
                -webkit-border-radius: 0;
                border-radius: 0;
            }

        ul.order_details li:nth-child(5) {
            -webkit-border-radius: 0 0 20px 20px;
            border-radius: 0 0 20px 20px;
        }

            ul.order_details li:nth-child(5) > a {
                -webkit-border-radius: 0 0 20px 20px;
                border-radius: 0 0 20px 20px;
            }

    .cmsms_single_product .cmsms_woo_tabs .shop_attributes th {
        width: auto;
    }
}
