/* block top search */
/* block top search */
#search_block_top {
	width: 70%;
	top: -4px;
	float: right;
	position: relative;
	border: 1px solid #444242;
}

#search_block_top p {
	padding: 0;
	margin: 0;
}

#search_block_top #search_query_top {
	float: left;
	padding: 8px !important;
	border: none;
	background: none;
}

#search_block_top .button {
	border: none;
	border-radius: 0;
	color: #fff;
	text-transform: uppercase;
	background: url(img/i_search.png) no-repeat center;
	float: left;
	height: 28px;
	width: 20px;
	text-indent: -9999px;
	padding: 0;
}

form#searchbox {

}

form#searchbox label {
	color: #333;
	margin-bottom: 1px
}

form#searchbox input#search_query_block {
	border: 1px solid #CCCCCC;
	-webkit-border-radius: 3px !important;
	-moz-border-radius: 3px !important;
	border-radius: 3px !important;
	height: 18px;
	margin-top: 10px;
}

form#searchbox input#search_button {
	padding: 1px 4px;
}

#reswrapper {
	width: 100%;
	position: absolute;
	z-index: 99999;
	left: 0;
	top: -10px !important;
}

#resultado {
	width: 100%;
	margin: auto;
	background-color: #fff;
	border: 1px solid #f3f2ee;
	padding: 15px;
	display: none;
	position: absolute;
	top: 87px;
	text-align: center;
	height: calc(100vh - 87px);
    overflow-y: scroll;
    position: fixed;
}

#resultado_producto {
	width: 75%;
	display: inline-block;
	margin-bottom: 35px;
}

#resultado_producto div{
	float: left;
}

#resultado_categoria {
	width: 25%;
	text-align: left;
	float: left;
}

#resultado_categoria a {
	text-transform: none;
	display: block;
	margin-bottom: 15px;
}

@media (min-width:991.1px) and (max-width: 1290px) {
	#resultado {
		top: 105px;
		height: calc(100vh - 105px);
	}

	.header-fixed #resultado {
		top: 85px;
		height: calc(100vh - 85px);
	}
}

@media (max-width: 991px) {
	#resultado {
		top: 148px;
		height: calc(100vh - 148px);
	}

	.header-fixed #resultado {
		top: 123px;
		height: calc(100vh - 123px);
	}
}

#resultado_producto span {
	display: block;
	clear: both;
	text-overflow: ellipsis;
	word-wrap: break-word;
	overflow: hidden;
	max-height: 3.6em;
	min-height: 3.6em;
	line-height: 1.8em;
	padding: 0 15px;
	text-transform: initial;
}

#resultado_producto img{
	padding: 30px;
}

#resultado_producto img {
	max-width: 100%;
}

#resultado_categoria h3 {
	margin-bottom: 15px;
}

@media (max-width: 767px) {
	#resultado_producto {
		width: 100%
	}
	#resultado_producto div {
		width: 33%;
	}
	#resultado_producto img {
		padding: 15px;
	}
	#resultado_producto span {
		font-size: 12px;
		line-height: initial;
	}
	#resultado_categoria {
		width: 100%;
 	    display: none;
	}
	#resultado_categoria span {
		font-size: 14px;
	}
}

@media (min-width: 768px) {
	#resultado_producto {
		width: 100%
	}
	#resultado_producto div {
		width: 25%;
	}
	#resultado_producto img {
		padding: 15px;
	}
	#resultado_producto span {
		font-size: 12px;
		line-height: initial;
	}
	#resultado_categoria {
		width: 40%;
	}

	#resultado_categoria span {
		font-size: 14px;
	}

	#resultado_producto {
		width: 60%;
	}

}

@media (min-width: 1400px) {
	#resultado_producto div {
		width: 16.66%;
	}
	#resultado_producto img {
		padding: 15px;
	}
	#resultado_categoria {
		width: 25%;
	}
	#resultado_producto {
		width: 75%;
	}
}

@media (min-width:991.1px) and (max-width: 1290px) {
	#resultado_producto div {
		width: 25%;
	}
	#resultado_producto img {
		padding: 15px;
	}
	#resultado_categoria {
		width: 40%;
	}
	#resultado_producto {
		width: 60%;
	}
}

#resultado_cierre {
	width: 100% !important;
	text-align: right;
	border-bottom: 1px solid #ececec;

}

#resultado_cierre i {
	font-family: fontawesome;
	font-size: 16px;
	line-height: 1em !important;
	min-height: 1.6em !important;
	font-style: normal;
	display: inline-block;
	cursor: pointer;
}
