/**
 * @package 	WordPress
 * @subpackage 	Welfare
 * @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) {
  .cmsms_woo {
    outline: none;
  }
}
/*-------------------------------------------------------------------------*/
/*	2.	Tablet Monitor
/*-------------------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  .cmsms_woo.fullwidth .cmsms_products .product {
    width: 46%;
  }
  .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: 46%;
  }
  .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;
  }
  #page .cmsms_dynamic_cart {
    margin-top: 50px !important;
  }
  #page .cmsms_dynamic_cart .widget_shopping_cart_content .cart_list {
    max-height: 100px;
  }
}
/*-------------------------------------------------------------------------*/
/*	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: 96%;
    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 .product .product_outer .product_inner .cmsms_product_footer > a span {
    display: none;
  }
  .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: 96%;
    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: 96%;
    margin-bottom: 40px;
    float: none;
    clear: both;
  }
  .col2-set > *:last-child,
  .cart-collaterals > *:last-child {
    margin-bottom: 0;
  }
  #order_review .shop_table th,
  #order_review .shop_table td {
    padding-left: 10px;
  }
  #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 .cart_item {
    border-bottom-width: 1px;
    border-bottom-style: solid;
  }
  .shop_table.cart td {
    padding: 25px;
    border-width: 0;
    border-style: solid;
  }
  .shop_table.cart td.product-remove {
    display: none;
  }
  .shop_table.cart td.product-thumbnail,
  .shop_table.cart td.product-name {
    padding-bottom: 0;
  }
  .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.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 {
    float: none;
    text-align: center;
  }
  .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 td {
    padding: 25px;
  }
  .shop_table.my_account_orders td.order-number,
  .shop_table.my_account_orders td.order-date,
  .shop_table.my_account_orders 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;
  }
  .shop_table.my_account_orders td.order-status {
    text-align: center !important;
  }
  .shop_table.my_account_orders td.order-total {
    padding-bottom: 0;
    border-bottom-width: 0;
    border-bottom-style: solid;
  }
  ul.order_details li {
    width: 50%;
    border-top-width: 1px;
    border-top-style: solid;
  }
  ul.order_details li:nth-child(2n + 1) {
    border-left-width: 0;
    border-left-style: solid;
  }
  ul.order_details li:first-child,
  ul.order_details li:nth-child(2) {
    border-top-width: 0;
    border-top-style: solid;
  }
  ul.order_details li span {
    border-width: 0;
    border-style: solid;
  }
  .shop_table.order_details th,
  .shop_table.order_details td {
    padding-left: 10px;
  }
}
/*-------------------------------------------------------------------------*/
/*	4.	Phone Monitor
/*-------------------------------------------------------------------------*/
@media only screen and (max-width: 540px) {
  .cmsms_dynamic_cart {
    display: none;
    visibility: hidden;
  }
  .form-row,
  .shipping_calculator .shipping-calculator-form .form-row {
    width: 96%;
    float: none;
    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.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 {
    float: none;
    text-align: center;
  }
  .shop_table.my_account_orders td {
    padding: 15px;
  }
  .shop_table.my_account_orders td.order-number,
  .shop_table.my_account_orders td.order-date,
  .shop_table.my_account_orders td.order-status {
    display: block;
    width: auto;
    margin: 0;
  }
  #order_review #payment .place-order .terms {
    float: none;
    padding: 10px 0 10px 5px;
  }
  ul.order_details li {
    width: 100%;
  }
  ul.order_details li:nth-child(n) {
    border-top-width: 1px;
    border-top-style: solid;
    border-left-width: 0;
    border-left-style: solid;
  }
  ul.order_details li:first-child {
    border-top-width: 0;
    border-top-style: solid;
  }
  ul.order_details li span {
    padding-bottom: 0;
  }
  .cmsms_single_product .cmsms_woo_tabs .shop_attributes th {
    width: auto;
  }
}
