.cart-window
{	
	display:none;
	position:fixed;
    padding:0;
    margin:0;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background:rgba(0,0,0,0.9);
	z-index: 998;

}
.cart-window-inner
{
	position:relative;
	margin: 20% auto 0 auto;
	z-index: 999;
	width: 100%;
	min-height: 400px;
	height:auto;	
}

.cart-Block
{
	display: block;
	width: 100%;
	min-height: 240px;
	background: #202020;
	border: 1px solid #000000;
	border-radius: 5px;
	padding: 10px;
	margin: 0;
	height: auto !important;
	overflow: hidden;
}

.CartCountDot
{
	visibility:hidden;
	display: inline-block;
	width: 20px;
	height: 100%;
	background: #00CC00;
	border-radius: 5px;
	color: #FFFFFF;
	text-align: center;
	right: 0;
	font-weight: 600;
}

.removeFromCart,
.CencelSub
{
	display:block;
	width: 36px;
	height:36px;
	margin: 0;
	padding: 0;
	float: right;
}

.checkOut    
{	
	float: right;
}

.payfast
{
	float: right;
}

.UpdateCart
{
	margin-right: 10px;
}

.PMT-Wrapper
{
	display: block;
}

.PMT-Wrapper.select
{
	width: 100%;
	display: block;
}

.select-style {
    display: block;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 700;
    color: #c0c0c0;
    line-height: 1.3;
    padding: .6em 1.4em .5em .8em;
    width: 100%;
    max-width: 100%; 
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #000000;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: .5em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #202020;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
      linear-gradient(to bottom, #303030 0%,#000000 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}
.select-style::-ms-expand {
    display: none;
}
.select-style:hover {
    border-color: #111111;
}
.select-style:focus {
    border-color: #00cc00;
    /*box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
    box-shadow: 0 0 0 3px -moz-mac-focusring;*/
    color: #ccc; 
    outline: none;
}
.select-style option {
    font-weight:normal;
}


input[type=number]
{
    -moz-appearance:textfield;
	width: 60px;
	font-weight: bold;
	border: 1px solid #000;
	border-radius: 5px;
	background: #101010;
	color: #00CC00 !important;
	height: 32px;
	padding-left: 5px;

}

.card-Close
{
	display:block;
	top: 0;
	right: 0;
	position: absolute;
	width: 36px;
	height:36px;
	line-height: 30px;
	background: #AA0000;
	text-align:center;
	font-size: 30px;
	color: #DDD;
	border-bottom-left-radius: 5px;
	border-top-right-radius: 5px;
	transition: all 250ms ease-in-out;
}

.card-Close:hover
{
	background: #FF0000;
	color: #FFF;
}

/* Remove Global Styling of H tag elements */
.cart-Block h1, 
.cart-Block h2,
.cart-Block h3,
.cart-Block h4
{
	font-family: 'Aileron', sans-serif;
	margin: 0;
	padding: 0 0 10px 0;	
}

/* Stock List Table*/

Generic Styling, for Desktops/Laptops 

.table { 
  width: 100%; 
  border-collapse: collapse; 
  border: 0;  
}								

.table th
{
	background: #303030;
	color: #00CC00;	
	border: 0 !important;
	border-collapse: collapse;	
	font-weight: 600;
	text-transform: uppercase;
	
}
.table tr
{
	border: 1px solid #000000;
}
.table td
{
	border: 0 !important;
	border-collapse: collapse;
	font-weight: 550;
	vertical-align: middle !important;
}


/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/

@media screen and (max-width: 760px)
{	
	.checkOut    
	{	
		display: block !important;
		width: 100% !important;
		float: none;
	}
	
	.payfast
	{
		display: block !important;
		width: 100% !important;
		float: none;
	}
	
	.UpdateCart
	{
		display: block !important;
		width: 100% !important;
		float: none;
		margin: 0;
	}
	
	.removeFromCart,
	.CancelSub
	{
		float: none;
	}
	
	.cart-window
	{	
		display:none;
		position:relative;
		padding-bottom: 10%;
		width: 100%;
		height: 100%;
		background:rgba(0,0,0,0.9);
		z-index: 998;

	}	
	.cart-Block
	{
		position: relative;
		overflow-y: auto;
	}	
	
	.CartCountDot
	{
		visibility:hidden;
		display: inline-block;
		width: 16px;
		height: 16px;
		line-height: 16px;
		background: #ff0000;
		border-radius: 50%;
		color: #FFFFFF;
		text-align: center;
		right: 0;
		font-weight: 600;
	}
}

@media not print /* Done apply to print output */
{
	@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)
	{
		/* Force table to not be like tables anymore */
		table, thead, StockList, tbody, th, td, tr { 
			display: block;		
		}
		
		/* Hide table headers (but not display: none;, for accessibility) */
		thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		
		td { 
			/* Behave  like a "row" */	
			position: relative;
			padding-left: 50%;	
		}
		
		td:before { 
			/* Now like a table header */
			position: absolute;
			top: 6px;
			left: 6px;
			width: 45%; 
			padding-right: 10px; 
			white-space: nowrap;
		}
	}		
}

.TopSpace /* Only apply to invoice Template - Removed in Print Layout */
{
	margin-top: 30px;
}

@media print
{	
	@page
	{
		size: auto;
		margin: 5mm;  
	}
	
	body
	{
		margin: 0;
		color: #000;
		background-color: #fff;
	}
	
	.TopSpace
	{
		margin: 0px;
	}	
	
	.CompanyLogo
	{
		width: 240px !important;
		height: auto;				
	}
	
	h4, h3
	{
		font-size: 12px;		
	}
	
	p
	{
		font-size: 10px;
	}
		
	thead tr
	{		
		font-size: 10px;	
		color: #000;	
	}
	
	tbody
	{
		font-size: 9px;
	}
	
	.print {display:block}
	.btn-print {display:none;}
	.NoPrint {display:none;}
}

@media screen and (max-width: 760px)
{
	.CompanyLogo
	{
		width: 100% !important;
		height: auto;
		padding: 0px;
	}
}
