#fancybox-wrap {
    position : fixed !important;    
   top : 130px !important; 
}
@media only screen and (max-device-width: 640px), only screen and (max-device-width: 667px), only screen and (max-width: 480px) and (orientation : landscape){
		#fancybox-content{
			-webkit-overflow-scrolling:touch;
			overflow-y:scroll;
		}
		#fancybox-wrap {
		   top :40px !important; 
		}
}

#adv_search_wrap{
	width:100%; 
	margin:auto; 
	margin-top:30px; 
	clear:both
	
}
/*Left side*/
.left_adv_search_wrap{
	width:229px;
	height:auto;
	float:left;
}
.left_adv_search_wrap .key_search_wrap{
	width:229px;
	height:30px;
	
}
.left_adv_search_wrap .key_search_wrap input.key_input{
	border: 1px solid #dff4fd;
	display: block;
	float: left;
	height: 18px;
	padding: 5px;
	width: 190px;
	color: #155492;
}
.left_adv_search_wrap .key_search_wrap input.key_submit{
	width:25px;
	height:30px;
	border: none;
	cursor: pointer;
	background: url("../../search_result_grid/images/searchIcon.jpg") no-repeat scroll 0 0 transparent;
	display: block;
	float: left;
}
.left_adv_search_wrap .criteria_title_wrap{
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	height: 24px;
	line-height: 20px;
	margin-top: 8px;
	padding: 5px;
	width: 219px;
	background: url("../../search_result_grid/images/BlueBar.jpg") no-repeat scroll 0 0 transparent;
	
	
}
.left_adv_search_wrap .criteria_title_wrap a.up{
	display:block;
	text-decoration:none !important; 
	float:right;
	height: 20px;
	width: 20px;
	background: url("../../search_result_grid/images/upIcon.png") no-repeat scroll center center #3d9bcd; 
}
.left_adv_search_wrap .criteria_title_wrap a.down{
	display:block;
	text-decoration:none !important;
	float:right;
	height: 20px;
	width: 20px;
	background: url("../../search_result_grid/images/downIcon.png") no-repeat scroll center center #3d9bcd; 
}
.left_adv_search_wrap .criteria_item_wrap ul{
	display: inline-block;
}
.left_adv_search_wrap .criteria_item_wrap li{
	clear: both;
	padding: 3px;
	width:223px;
		height: 23px;
		display: block;
}
.left_adv_search_wrap .criteria_item_wrap input[type="checkbox"]{
	display:none;
	float: left;
}
.left_adv_search_wrap .criteria_item_wrap input[type="checkbox"]:not(:checked) + label.label_box_wrap {
	display: inline-block;
	width: 13px;
	height: 13px;
	border: #dff4fd solid 1px;
	background: url(../../search_result_grid/images/unselectIcon.jpg) no-repeat 0 0 #fff;
	margin: 5px 5px;
	float: left;
}
.left_adv_search_wrap .criteria_item_wrap input[type="checkbox"]:checked + label.label_box_wrap { 
	display: inline-block;
	width: 13px;
	height: 13px;
	border: #dff4fd solid 1px;
	background: url(../../search_result_grid/images/selectIcon.jpg) no-repeat 0 0 #f55ea1;
	margin: 5px 5px;
	float: left;
}		
.left_adv_search_wrap .criteria_item_wrap input[type="checkbox"] + label + label.label_text  { 
	color: #797a7a;
	display: block;
	float: left;
	font-family: arial;
	font-size: 12px;
	line-height: 24px;
	float: left;
	width:196px;
	height: 25px;
}

.adv_empty_result_top{
	height: auto;
    margin: 30px auto 0;
    width: 100%;
}		
.adv_empty_result_top .adv_empty_result_content{
	height: 59px;
    margin: 0 auto;
    max-width: 489px;
    padding-bottom: 5%;
    padding-top: 5%;
    width: 100%;
}

/*Right side*/
#adv_search_top_banner{
	width: 100%;
	margin: 0px 0 20px 0;
}
#adv_search_top_banner a{
	width: 100%;
	max-width: 928px;
	display:block;
}
#adv_search_top_banner img{
	width: 100%;
	max-width: 928px;
}

#adv_search_wrap .right_adv_search_wrap{
	width:100%; 
	margin:auto; 
	margin-top:30px; 
	clear:both

	
	
}
.adv_sort_wrap{
	float:right;
	width: 235px;
	height:29px;
	overflow: hidden;
	background: url(../../search_result_grid/images/sortIcon.jpg) no-repeat right #fff;
}
.adv_sort_wrap select{
	   background: transparent;
	   color:#797a7a;
	   width: 253px;
	   height:29px;
	   padding: 3px;
	   padding-right: 0px\9;/* IE6, IE7, IE8, IE9 */
	   font-size: 12px;
	   line-height: 1;
	   border-radius: 0;
	   -webkit-appearance: none;
	   border: 1px solid #004282;			
}
@media all and (-ms-high-contrast:none){
  *::-ms-backdrop, .adv_sort_wrap select{
						   background: transparent;
						   color:#797a7a;
						   width: 255px;
						   height:29px;
						   padding: 0px;
						   padding-right: 0px;
						   font-size: 12px;
						   line-height: 1;
						   border-radius: 0;
						   -webkit-appearance: none;
						   border: 2px solid #dff4fd;			
					} /*IE11*/
}
@media all and (-ms-high-contrast:none){
	.adv_sort_wrap select{
		   background: transparent;
		   color:#797a7a;
		   width: 255px;
		   height:29px;
		   padding: 0px;
		   padding-right: 0px;
		   font-size: 12px;
		   line-height: 1;
		   border-radius: 0;
		   -webkit-appearance: none;
		   border: 2px solid #dff4fd;			
	}  /* IE10 */
}

.line-separator{
	height: 8px;
	margin: 3px 0;
	width:100%; 
	background: url(../../search_result_grid/images/resultLine_2.png) repeat-x 0 0  transparent;
}

.adv_result_product_list{
/*
	width:928px;
	*/
	max-width:905px;
	margin-top: 13px;
	margin:auto;	
	position:relative;
}

.adv_result_product_list .product_item_wrap{		
	width:17%; 
	text-align:center; 
	border-style:solid; 
	border-color:#e7e7e7; 
	border-width:1px; 
	position:relative; 
	margin-left:2%; 
	margin-top:15px; 
	float:left;
	overflow:hidden;
	height: auto;

}

	.adv_result_product_list .item_custom_str {
		color:#000; 
		font-family:Verdana, Geneva, sans-serif; 
		font-size:12px; 
		font-weight:bold; 
		width:100%;
		height:12px;
		margin-top: 0px;
		margin-bottom: 12px;
		overflow:hidden;
	}

@media screen and (max-width: 640px){
	.adv_result_product_list .product_item_wrap{
		width:30%;
	}
	#fancybox-wrap {
	       top : 60px !important; overrides default fancybox style 
	}

}
@media screen and (max-width: 465px){
	.adv_result_product_list .product_item_wrap{
		width:95%;
	}
	.adv_result_product_list .item_img{
		margin:0 0 !important;
 		max-width:126px;
	}
	.adv_result_product_list .img_main{
		float:left;
		width:30% !importtant;
		max-width: 126px !importtant;
		max-height: 126px !importtant;
		text-align:center;
	 }
	.adv_result_product_list .img_qv {
		display:none;

	}
	.adv_result_product_list .item_title {
		min-height: 38px;
		margin:0 auto;
		margin-top: 30px;
		color: #155492;
	}
	

	
	.adv_result_product_list .atc{
		max-width:100%;
	}
	.adv_sort_wrap{
		float: none;
		margin: 0 auto;
	}
	.line-separator{
		display:none;
	}

}

@media (max-width: 28em) {
	.adv_result_product_list .img_qv {
		display: none;
	}
	.adv_result_product_list .img_main {
		
		max-width: 30% !important;
		height: auto;
		
	}
	.adv_result_product_list .img_main {
		float: left;
		vertical-align: top;
	}
	.adv_result_product_list .item_title {
		margin-top: -10px;
	}
	
	 .item_custom_str {
		overflow: visible!important;
		height:auto !important;

	}
	
}

.adv_result_product_list .product_item_wrap:hover{
    border: 1px solid #B0DBEE;
    box-shadow: 0px 0px 15px 1px rgba(72, 182, 227, 0.56);
	
}
	
.product_item_wrap .item_img{
	margin: 0 auto 15px;
	width: 145px;
}
.product_item_wrap .item_title{
	min-height: 30px;
	margin-top: 0px !important;
	color: #155492;	
	height:70px;
	
	line-height: 1.5em;
	letter-spacing: 0.12em;
	word-spacing: 0.16em;
	margin-bottom: 2em;
	overflow: hidden;
}
/* .product_item_wrap .item_title:hover{
	color: #000000;
} */

.product_item_wrap .img_right {
	margin-bottom: 20px;
}
.product_item_wrap .img_right a{
		text-decoration: none;
}
.product_item_wrap .cart{
 width: auto !important;
 height: auto !important;
 background: none !important;
 float : none !important;
}
.product_item_wrap .result_add2cart a {
	background: url("/themes/default/modules/search_result_grid/images/addtocart.jpg") no-repeat scroll 0 0 transparent;
	display: block;
	width: 154;
	height: 26px;
	text-indent: -99999px;
}
.product_item_wrap .item_title a{
	width: 154px;
	height: 25px;
	display:block;
}
.product_item_wrap .atc{
	max-width:90%;
}

.product_item_wrap .price_wrap{
	color: #f00;
	font-family: verdana;
	font-size: 12px;
	font-weight: bold;
	padding: 3px;
	margin:0 auto;
	text-align: center;
	width: 150px;
}
.product_item_wrap .price_wrap .line_through{
	color:#8b8b8b;
	text-decoration:line-through;
	
}
.product_item_wrap .price_wrap .line_through_text{
		color:#8b8b8b;
		font-family: verdana;
		font-size:12px;
}
.product_item_wrap .img_main {
	margin: auto;
	position: relative;
	max-width: 90% !important;
	height: auto;
}
.product_item_wrap .img_qv_wrapper {
	position: absolute;
	width: 91px;
	height: 105px;
	left: 20%;
	top: 20%;
	display: block;
}

.product_item_wrap .img_qv{
	width: 100%;
	height: 100%;
}
.product_item_wrap .img_qv:hover,
.product_item_wrap .img_qv_wrapper:focus .img_qv {
	background-image: url("../../../../../themes/default/modules/search_result_grid/images/quickview.png");
}

.more_wrap{
	height: 30px;
	margin: 25px auto;
	text-align: right;
	width: 165px;
	z-index: 2;
	position: relative;
}
.more_wrap_loader{
	height: 27px;
	margin: 25px auto;
	width: 27px;
	background: url(../../search_result_grid/images/loader.GIF) no-repeat center center transparent;
}
.more_wrap_loader a {
	display: none;
}
.more_wrap a{
		display: block;
		font-family: verdana;
		font-size: 12px;
		height: 30px;
		line-height: 30px;
		text-decoration: none;
		background: #155492;
    color: #ffffff;
    width: 165px;
    text-align: center;
    border-radius: 5px;
	}

.as_pageup{
	height: 29px;
	position: fixed;
	top: 50%;
	width: 700px;
	z-index: 1;
}
.as_pageup a{
	width:14px;
	height:24px;
	display:block;
	float:right;
	background-color: #2f669a;
}

.as_back_to_top{
	width:104px;
	height:23px;
	float: right;
	z-index: 2;
}
.as_back_to_top a{
	width:104px;
	height:23px;
	display: block;
	background:url(../../search_result_grid/images/BackToTopBtn.png) no-repeat 0 0 transparent;
	text-indent:-9999px;
}

.scroll-top-wrapper.show{
	position: fixed;
	top: 50%;
	z-index: 1;
}
.fancybox-slide .fancybox-content{
	border-width: 0px;
    width: 560px !important;
	height: 529px !important;
}