/**
 * @package 	WordPress
 * @subpackage 	Medicine Plus
 * @version		1.0.0
 * 
 * Responsive WooCommerce CSS Rules
 * Created by CMSMasters
 * 
 */
/*-------------------------------------------------------------------------

	1.	Medium Monitor
	2.	Tablet Monitor
	3.	Small Tablet Monitor
	4.	Phone Monitor

-------------------------------------------------------------------------*/



/*-------------------------------------------------------------------------*/
/*	1. Medium Monitor
/*-------------------------------------------------------------------------*/
@media only screen and (min-width: 1024px) and (max-width: 1440px) {
  .cmsms_woo.fullwidth .cmsms_products .product .product_outer .product_inner .cmsms_product_footer > a,
  .cmsms_products_shortcode .columns-4 .cmsms_products .product .product_outer .product_inner .cmsms_product_footer > a,
  .cmsms_selected_products_shortcode .columns-4 .cmsms_products .product .product_outer .product_inner .cmsms_product_footer > a {
    padding-left: 3px;
    padding-right: 0;
  }
  .cmsms_woo.fullwidth .cmsms_products .product .product_outer .product_inner .cmsms_product_footer > a:before,
  .cmsms_products_shortcode .columns-4 .cmsms_products .product .product_outer .product_inner .cmsms_product_footer > a:before,
  .cmsms_selected_products_shortcode .columns-4 .cmsms_products .product .product_outer .product_inner .cmsms_product_footer > a:before {
    margin-right: 5px;
  }
}



/*-------------------------------------------------------------------------*/
/*	2.	Tablet Monitor
/*-------------------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  .cmsms_woo.fullwidth .cmsms_products .product {
    width: 48%;
  }
  .cmsms_woo.fullwidth .cmsms_products .product:nth-child(4n+1) {
    clear: none;
  }
  .cmsms_woo.fullwidth .cmsms_products .product:nth-child(2n+1) {
    clear: left;
  }
  .cmsms_products_shortcode .columns-4 .cmsms_products .product,
  .cmsms_selected_products_shortcode .columns-4 .cmsms_products .product {
    width: 48%;
  }
  .cmsms_products_shortcode .columns-4 .cmsms_products .product:nth-child(4n+1),
  .cmsms_selected_products_shortcode .columns-4 .cmsms_products .product:nth-child(4n+1) {
    clear: none;
  }
  .cmsms_products_shortcode .columns-4 .cmsms_products .product:nth-child(2n+1),
  .cmsms_selected_products_shortcode .columns-4 .cmsms_products .product:nth-child(2n+1) {
    clear: left;
  }
}



/*-------------------------------------------------------------------------*/
/*	3.	Small Tablet Monitor
/*-------------------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
  .cmsms_woo.fullwidth .cmsms_products .product,
  .cmsms_woo.r_sidebar .cmsms_products .product,
  .cmsms_woo.l_sidebar .cmsms_products .product {
    width: 98%;
    float: none;
    clear: both;
  }
  .cmsms_woo.fullwidth .cmsms_products .product:nth-child(4n+1),
  .cmsms_woo.r_sidebar .cmsms_products .product:nth-child(4n+1),
  .cmsms_woo.l_sidebar .cmsms_products .product:nth-child(4n+1),
  .cmsms_woo.fullwidth .cmsms_products .product:nth-child(3n+1),
  .cmsms_woo.r_sidebar .cmsms_products .product:nth-child(3n+1),
  .cmsms_woo.l_sidebar .cmsms_products .product:nth-child(3n+1),
  .cmsms_woo.fullwidth .cmsms_products .product:nth-child(2n+1),
  .cmsms_woo.r_sidebar .cmsms_products .product:nth-child(2n+1),
  .cmsms_woo.l_sidebar .cmsms_products .product:nth-child(2n+1),
  .cmsms_woo.fullwidth .cmsms_products .product:nth-child(n),
  .cmsms_woo.r_sidebar .cmsms_products .product:nth-child(n),
  .cmsms_woo.l_sidebar .cmsms_products .product:nth-child(n) {
    clear: both;
  }
  .cmsms_products_shortcode .columns-4 .cmsms_products .product,
  .cmsms_selected_products_shortcode .columns-4 .cmsms_products .product,
  .cmsms_products_shortcode .columns-3 .cmsms_products .product,
  .cmsms_selected_products_shortcode .columns-3 .cmsms_products .product,
  .cmsms_products_shortcode .columns-2 .cmsms_products .product,
  .cmsms_selected_products_shortcode .columns-2 .cmsms_products .product,
  .cmsms_products_shortcode .columns-1 .cmsms_products .product,
  .cmsms_selected_products_shortcode .columns-1 .cmsms_products .product {
    width: 98%;
    float: none;
    clear: both;
  }
  .cmsms_products_shortcode .columns-4 .cmsms_products .product:nth-child(4n+1),
  .cmsms_selected_products_shortcode .columns-4 .cmsms_products .product:nth-child(4n+1),
  .cmsms_products_shortcode .columns-3 .cmsms_products .product:nth-child(4n+1),
  .cmsms_selected_products_shortcode .columns-3 .cmsms_products .product:nth-child(4n+1),
  .cmsms_products_shortcode .columns-2 .cmsms_products .product:nth-child(4n+1),
  .cmsms_selected_products_shortcode .columns-2 .cmsms_products .product:nth-child(4n+1),
  .cmsms_products_shortcode .columns-1 .cmsms_products .product:nth-child(4n+1),
  .cmsms_selected_products_shortcode .columns-1 .cmsms_products .product:nth-child(4n+1),
  .cmsms_products_shortcode .columns-4 .cmsms_products .product:nth-child(3n+1),
  .cmsms_selected_products_shortcode .columns-4 .cmsms_products .product:nth-child(3n+1),
  .cmsms_products_shortcode .columns-3 .cmsms_products .product:nth-child(3n+1),
  .cmsms_selected_products_shortcode .columns-3 .cmsms_products .product:nth-child(3n+1),
  .cmsms_products_shortcode .columns-2 .cmsms_products .product:nth-child(3n+1),
  .cmsms_selected_products_shortcode .columns-2 .cmsms_products .product:nth-child(3n+1),
  .cmsms_products_shortcode .columns-1 .cmsms_products .product:nth-child(3n+1),
  .cmsms_selected_products_shortcode .columns-1 .cmsms_products .product:nth-child(3n+1),
  .cmsms_products_shortcode .columns-4 .cmsms_products .product:nth-child(2n+1),
  .cmsms_selected_products_shortcode .columns-4 .cmsms_products .product:nth-child(2n+1),
  .cmsms_products_shortcode .columns-3 .cmsms_products .product:nth-child(2n+1),
  .cmsms_selected_products_shortcode .columns-3 .cmsms_products .product:nth-child(2n+1),
  .cmsms_products_shortcode .columns-2 .cmsms_products .product:nth-child(2n+1),
  .cmsms_selected_products_shortcode .columns-2 .cmsms_products .product:nth-child(2n+1),
  .cmsms_products_shortcode .columns-1 .cmsms_products .product:nth-child(2n+1),
  .cmsms_selected_products_shortcode .columns-1 .cmsms_products .product:nth-child(2n+1),
  .cmsms_products_shortcode .columns-4 .cmsms_products .product:nth-child(n),
  .cmsms_selected_products_shortcode .columns-4 .cmsms_products .product:nth-child(n),
  .cmsms_products_shortcode .columns-3 .cmsms_products .product:nth-child(n),
  .cmsms_selected_products_shortcode .columns-3 .cmsms_products .product:nth-child(n),
  .cmsms_products_shortcode .columns-2 .cmsms_products .product:nth-child(n),
  .cmsms_selected_products_shortcode .columns-2 .cmsms_products .product:nth-child(n),
  .cmsms_products_shortcode .columns-1 .cmsms_products .product:nth-child(n),
  .cmsms_selected_products_shortcode .columns-1 .cmsms_products .product:nth-child(n) {
    clear: both;
  }
  .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;
  }
  ul.order_details li,
  ul.order_details.bacs_details li {
    width: 50%;
  }
  ul.order_details li:first-child,
  ul.order_details.bacs_details li:first-child {
    -webkit-border-radius: 20px 0 0 0;
    border-radius: 20px 0 0 0;
  }
  ul.order_details li:first-child > a,
  ul.order_details.bacs_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),
  ul.order_details.bacs_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,
  ul.order_details.bacs_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.bacs_details li:nth-child(3) {
    -webkit-border-radius: 0 0 0 20px;
    border-radius: 0 0 0 20px;
  }
  ul.order_details li:nth-child(3) > a,
  ul.order_details.bacs_details li:nth-child(3) > a {
    -webkit-border-radius: 0 0 0 20px;
    border-radius: 0 0 0 20px;
  }
  ul.order_details li:last-child,
  ul.order_details.bacs_details li:last-child {
    -webkit-border-radius: 0 0 20px 0;
    border-radius: 0 0 20px 0;
  }
  ul.order_details li:last-child > a,
  ul.order_details.bacs_details li:last-child > a {
    -webkit-border-radius: 0 0 20px 0;
    border-radius: 0 0 20px 0;
  }
  .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;
  }
}



/*-------------------------------------------------------------------------*/
/*	4.	Phone Monitor
/*-------------------------------------------------------------------------*/
@media only screen and (max-width: 540px) {
  .cmsms_dynamic_cart {
    display: none;
    visibility: hidden;
  }
  .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,
  ul.order_details.bacs_details li {
    width: 100%;
    -webkit-border-radius: 0;
    border-radius: 0;
  }
  ul.order_details li:first-child,
  ul.order_details.bacs_details li:first-child {
    -webkit-border-radius: 20px 20px 0 0;
    border-radius: 20px 20px 0 0;
  }
  ul.order_details li:first-child > a,
  ul.order_details.bacs_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.bacs_details li:nth-child(2),
  ul.order_details li:nth-child(3),
  ul.order_details.bacs_details li:nth-child(3) {
    -webkit-border-radius: 0;
    border-radius: 0;
  }
  ul.order_details li:nth-child(2) > a,
  ul.order_details.bacs_details li:nth-child(2) > a,
  ul.order_details li:nth-child(3) > a,
  ul.order_details.bacs_details li:nth-child(3) > a {
    -webkit-border-radius: 0;
    border-radius: 0;
  }
  ul.order_details li:last-child,
  ul.order_details.bacs_details li:last-child {
    -webkit-border-radius: 0 0 20px 20px;
    border-radius: 0 0 20px 20px;
  }
  ul.order_details li:last-child > a,
  ul.order_details.bacs_details li:last-child > 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;
  }
}
