/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (via jqModal.js). */
	
.jqmWindow {
    display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
	
	z-index: 9999999;
}

@media only screen and (max-width: 700px) {
	.jqmWindow {
		margin-left: -200px;
		width: 400px;
	}
}


@media only screen and (max-width: 500px) {
	.jqmWindow {
		margin-left: -150px;
		width: 300px;
	}
}
@media only screen and (max-width: 400px) {
	.jqmWindow {
		left: 5%;
		margin-left: 0px;
		width: 85%;
		top: 2%;
	}
}


.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}


#addtocart_confirm.jqmWindow {
    display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -283px;
    width: 566px;
    
    background-color: #fff;
    color: #6D6E71;
    border: none;
	z-index: 99999;
	box-sizing: border-box;
	padding-left: 36px;
	padding-top: 29px;
	padding-right: 50px;
	padding-bottom: 48px;
}

.closepopup_img{
	position:absolute;
	right:-5px;
	top:-5px;
	z-index:9999;
}

/* classes for custom items on the popup */
.addclose_img{
	float:right;
	margin-right:-67px;
	margin-top:-50px;
	cursor:pointer;
}

.addttl_p{
	font-size: 24px;
	line-height: 25px;
	font-weight: 100;
	color: #87CEC8;
	padding-bottom: 14px;
}
.addprodthumb{
	width:54px;
	height: 54px;
	float: left;
}
.addproddetails{
	width:380px;
	float: left;
	box-sizing: border-box;
	padding-left: 23px;
}
.addprodbutton{
	margin-bottom: 5px;
}

/* Add responsive media queries here */
@media only screen and (max-width: 600px) {
	#addtocart_confirm.jqmWindow {
		margin-left: -230px;
		width: 460px;
		
		padding-left: 30px;
		padding-top: 20px;
		padding-right: 40px;
		padding-bottom: 38px;
		
		font-size: 14px;
		line-height: 18px;
	}
	
	.addclose_img{
		float:right;
		margin-right:-57px;
		margin-top:-40px;
	}
	
	.addproddetails{
		width:310px;
		padding-left: 18px;
	}
	
	
}
@media only screen and (max-width: 500px) {
	#addtocart_confirm.jqmWindow {
		margin-left: -45%;
		width: 90%;
		
		padding-left: 30px;
		padding-top: 20px;
		padding-right: 40px;
		padding-bottom: 38px;
		
		font-size: 14px;
		line-height: 18px;
	}
	
	.addclose_img{
		float:right;
		margin-right:-57px;
		margin-top:-40px;
	}
	
	.addprodthumb{
		float:none;
		margin-bottom: 20px;
	}
	.addproddetails{
		float:none;
		width:auto;
		padding-left: 0px;
	}
	
	
}
