/* 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: 5%;
/*    top: 15%; */
/*	bottom: 15%; */
/*	height: 70%; */
    width: 60%;
	max-height: 100%;
	left: 20%;
    right: 20%;
    background-color: #fff;
    padding: 25px;
	border-radius: 15px;
}

@media (min-width: 320px) and (max-width: 991px) {
	.jqmWindow {
		width: 90%;
		height: 90%;
		top: 5%;
		bottom: 5%;
		left: 5%;
		right: 5%;
	}
	.jqmWindow .form .product-item-detail-slider-images-container .product-item-detail-slider-image {
		height: auto;
	}
}
@media (max-height: 450px) {
	.jqmWindow .form .product-item-detail-slider-images-container .product-item-detail-slider-image>img {
		max-width: 60%;
		max-height: 60%;
	}
	.jqmWindow .form .product-item-detail-info-section {
		max-height: 140px;
		overflow-y: scroll;
/*		max-height: 100%;
		overflow-y: auto;
		*/
	}
}
@media (min-height: 451px) and (max-height: 568px) {
	.jqmWindow .form .product-item-detail-slider-images-container .product-item-detail-slider-image>img {
		max-width: 60%;
		max-height: 60%;
	}
	.jqmWindow .form .product-item-detail-info-section {
		max-height: 200px;
		overflow-y: scroll;

/*		max-height: 100%;
		overflow-y: auto;
		*/
	}
}
@media (min-height: 569px) and (max-height: 666px) {
	.jqmWindow .form .product-item-detail-info-section {
		max-height: 250px;
		overflow-y: scroll;
/*
		max-height: 100%;
		overflow-y: auto;
		*/
	}
}
@media (min-height: 667px) and (max-height: 735px) {
	.jqmWindow .form .product-item-detail-info-section {
		max-height: 270px;
		overflow-y: scroll;
/*		max-height: 100%;
		overflow-y: auto;*/
	}
}
@media (min-height: 736px) and (max-height: 740px) {
	.jqmWindow .form .product-item-detail-info-section {
		max-height: 300px;
		overflow-y: scroll;
/*
		max-height: 100%;
		overflow-y: auto;*/
	}
}
@media (min-height: 741px) and (max-height: 822px) {
	.jqmWindow .form .product-item-detail-info-section {
		max-height: 350px;
		overflow-y: scroll;
/*
		max-height: 100%;
		overflow-y: auto;*/
	}
}
@media (min-height: 823px) and (max-height: 895px) {
	.jqmWindow .form .product-item-detail-info-section {
		max-height: 380px;
		overflow-y: scroll;
/*
		max-height: 100%;
		overflow-y: auto;
		*/
	}
}
@media (min-height: 896px) and (max-height: 1023px) {
	.jqmWindow .form .product-item-detail-info-section {
/*		max-height: 450px;
		overflow-y: scroll;
*/
		max-height: 100%;
		overflow-y: auto;

	}
}

/** laptops **/

@media screen 
	and (min-device-width: 992px) 
	and (max-device-width: 1600px)
	and (max-height: 669px)
	and (orientation: landscape) {
	.jqmWindow .form .product-item-detail-info-section {
/*		max-height: 450px;
		overflow-y: scroll;
*/
		max-height: 100%;
		overflow-y: auto;
	}
	.product-item-detail-slider-images-container .product-item-detail-slider-image {
		height: 300px;
	}
	.product-item-detail-info-section h3 {
		margin: 0 0 1rem;
	}
}
@media screen 
	and (min-device-width: 992px) 
	and (max-device-width: 1600px)
	and (min-height: 670px)
	and (max-height: 760px)
	and (orientation: landscape) {
	.jqmWindow .form .product-item-detail-info-section {
/*		max-height: 450px;
		overflow-y: scroll;
*/
		max-height: 100%;
		overflow-y: auto;
	}
	.product-item-detail-slider-images-container .product-item-detail-slider-image {
		height: 380px;
	}
	.product-item-detail-info-section h3 {
		margin: 0 0 1rem;
	}
}
@media screen 
	and (min-device-width: 992px) 
	and (max-device-width: 1600px)
	and (min-height: 761px)
	and (max-height: 800px)
	and (orientation: landscape) {
	.jqmWindow .form .product-item-detail-info-section {
/*		max-height: 450px;
		overflow-y: scroll;
*/
		max-height: 100%;
		overflow-y: auto;
	}
	.product-item-detail-slider-images-container .product-item-detail-slider-image {
		height: 400px;
	}
}
@media screen 
	and (min-device-width: 992px) 
	and (max-device-width: 1600px)
	and (min-height: 801px)
	and (max-height: 992px)
	and (orientation: landscape) {
	.jqmWindow .form .product-item-detail-info-section {
/*		max-height: 450px;
		overflow-y: scroll;
*/
		max-height: 100%;
		overflow-y: auto;
	}
}

.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');
}