/* Custom template for datatable layout */
/*body { font-family:Verdana; font-size:95%; }*/

/*
.customdatatable { font-size: 100%; font-family: Verdana; }
.bottomcustomdatatable, .topcustomdatatable { font-size: 100%; font-family: Verdana; }
*/

.greencart { color:green; }
.red { color:coral; }

/* Button generator http://www.bestcssbuttongenerator.com/#/14 */
.a_checkout {
	-moz-box-shadow: 0px 1px 0px 0px #fff6af;
	-webkit-box-shadow: 0px 1px 0px 0px #fff6af;
	box-shadow: 0px 1px 0px 0px #fff6af;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23));
	background:-moz-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:-webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:-o-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:-ms-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23',GradientType=0);
	background-color:#ffec64;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:4px;
	border:1px solid #ffaa22;
	display:inline-block;
	cursor:pointer;
	color:#333333;
	font-family:Arial;
	font-size:14px;
	font-weight: bold;
	padding:2px 3px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffee66;
}
.a_checkout:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffab23), color-stop(1, #ffec64));
	background:-moz-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:-webkit-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:-o-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:-ms-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64',GradientType=0);
	background-color:#ffab23;
}
.a_checkout:active {
	position:relative;
	top:1px;
}

button { cursor: pointer; cursor: hand; } /* Change cursor default behaviour */

table.dataTable thead th, table.dataTable thead td { text-align:left; /*padding-left:5px;*/ }
table.dataTable tfoot th, table.dataTable tfoot td { text-align:left; /*padding-left:5px;*/ }

#shoppingcart .dataTables_wrapper {	font-size: 90%; }
#shoppingcart {	width:420px; }
/*#shoppingcart .dataTables_wrapper {	font-size:smaller; }*/
	

	/* RESPONSIVE TABLES */
	/* 
	Max width before this PARTICULAR table gets nasty
	This query will take effect for any screen smaller than 760px
	and also iPads specifically.
	*/
	@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {
	
		/* Force table to not be like tables anymore */
		#products table, thead, tbody, th, td, tr { 
			display: block; 
		}		
		/* Hide table headers (but not display: none;, for accessibility) */
		#products thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		#products tfoot tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}		
		#products tr { border: 1px solid #ccc; }		
		#products td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50%; 
		}		
		#products 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;
		}		
		
		/* Label the data */
	
		#products td:nth-of-type(1):before { content: "Clip"; font-weight: bold; }
		#products td:nth-of-type(2):before { content: "Product"; font-weight: bold; }
		#products td:nth-of-type(3):before { content: "Item"; font-weight: bold; }
		#products td:nth-of-type(4):before { content: "Category"; font-weight: bold; }
		#products td:nth-of-type(5):before { content: "SubCategory"; font-weight: bold; }
		#products td:nth-of-type(6):before { content: "Currency"; font-weight: bold; }
		#products td:nth-of-type(7):before { content: "Price"; font-weight: bold; }
		/*#products td:nth-of-type(7):before { content: "Buy"; font-weight: bold; }*/
		
		/*#products td:before { content: attr(data-title); }*/
		
		/* Force table to not be like tables anymore */
		#cart table, thead, tbody, th, td, tr { 
			display: block; 
		}		
		/* Hide table headers (but not display: none;, for accessibility) */
		#cart thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}	
		#cart tr { border: 1px solid #ccc; }		
		#cart td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50%; 
		}		
		#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;
		}		
		
		/* Label the data */
		
		#cart td:nth-of-type(1):before { content: "Item"; }
		#cart td:nth-of-type(2):before { content: "Currency"; }		
		#cart td:nth-of-type(3):before { content: "Price"; }
		
		table.dataTable tfoot th, table.dataTable tfoot td {
    		padding: 0px 0px 0px 0px;
    		border-top: 0px solid #111;		
		}
		
		.a_checkout_outer { 
			padding-top: 3px;
			padding-bottom: 8px;
			padding-left: 50px;
		}
		
	}
	
	/* Smartphones (portrait and landscape) ----------- */
	@media only screen
	and (min-device-width : 320px)
	and (max-device-width : 480px) {
		body { 
			padding: 0; 
			margin: 0; 
			width: 320px; }
		}
	
	/* iPads (portrait and landscape) ----------- */
	@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
		body { 
			width: 495px; 
		}
	}

	
