/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 @media only screen and (max-width: 800px) {
    
    /* Force table to not be like tables anymore */
	#dc-rtfw-table table.cart, 
	#dc-rtfw-table thead, 
	#dc-rtfw-table tbody, 
	#dc-rtfw-table th, 
	#dc-rtfw-table td, 
	#dc-rtfw-table tr { 
		display: block; 
	}
 
	#dc-rtfw-table table.cart {
		border: none;
		padding-left: 0;
		padding-right: 0;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	#dc-rtfw-table table.cart thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	#dc-rtfw-table table.cart tr { border: 1px solid #ccc; }
 
	#dc-rtfw-table table.cart td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		white-space: normal;
		text-align:left;
	}
 
	#dc-rtfw-table table.cart td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}
 
	/*
	Label the data
	*/
	#dc-rtfw-table table.cart td:before { content: attr(data-title); }

	#dc-rtfw-table > table.cart > tbody > tr:last-child > td {
		padding-left: 10px;
	}

	#dc-rtfw-table > table.cart > tbody > tr:last-child > td input{
		width: 100% !important;
	}

	#dc-rtfw-table > table.cart > tbody > tr: > td > a.remove {
		margin-left: auto;
    	margin-right: auto;
	}
}