/*
 * SP Estilos: ajustes de Superpulga.
 * Antes estaban en Apariencia > Personalizar > CSS adicional del tema.
 * Las reglas de la busqueda estan escritas para Algolia Search (1.11.0 o mas nueva).
 */

/* =========================================================
   Banners de anuncios (sin cambios, del CSS adicional del tema)
   ========================================================= */
.ImgBanner {
	margin-top: 11px;
}
.ImgBanner a img {
	margin-top: 4px;
	margin-bottom: 4px;
}
.example_responsive_1 {
	width: 320px;
	height: 100px;
}
@media (min-width: 500px) {
	.example_responsive_1 { width: 468px; height: 60px; }
}
@media (min-width: 800px) {
	.example_responsive_1 { width: 728px; height: 90px; }
}

/* =========================================================
   Búsqueda de la portada ([Algolia-Search], aspecto clásico)
   Antes: .titulo_algolia_jl, .descripcion_algolia_jl,
   .ais-Hits-item, .left-panel, .right-panel
   ========================================================= */
.aes-widget-combined.aes-look-classic.aes-has-facets {
	gap: 5px;
}
.aes-widget-combined.aes-look-classic.aes-has-facets .aes-facets-panel {
	flex-basis: 220px;
}
.aes-look-classic .aes-hits .ais-Hits-item {
	padding: 10px;
}
.aes-look-classic .aes-hit-title {
	line-height: 20px;
	text-transform: lowercase;
}
.aes-look-classic .aes-hit-excerpt {
	line-height: 17px;
}

/* =========================================================
   Buscador de la página del anuncio ([Algolia-Search-Ajax])
   Antes: .search-input, .search-button, .resultados,
   .individual, .titulo_h4, .desc_indi
   ========================================================= */
.aes-widget[data-aes-id="legacy-search-ajax"] .aes-results-panel {
	position: relative;
}
.aes-widget[data-aes-id="legacy-search-ajax"] .aes-search-input {
	height: 40px;
	padding: 0 44px 0 12px;
	font-size: 15px;
	font-weight: 400;
	color: rgba(0, 0, 0, .75);
	border: 1px solid #000;
	border-radius: 7px;
}
/* Resultados flotando sobre la página, como la lista desplegable de antes */
.aes-widget[data-aes-id="legacy-search-ajax"] .aes-hits {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 999;
	max-height: 400px;
	margin-top: 3px;
	overflow-y: auto;
	background: #fff;
	border: 4px solid rgb(92, 183, 225);
	border-radius: 7px;
	box-shadow: rgba(9, 30, 66, .31) 2px 3px 4px 1px, rgba(9, 30, 66, .25) 3px 3px 8px 1px;
}
.aes-widget[data-aes-id="legacy-search-ajax"] .aes-hits .ais-Hits-list {
	display: block;
	margin: 0;
	padding: 0;
}
.aes-widget[data-aes-id="legacy-search-ajax"] .aes-hits .ais-Hits-item {
	display: block;
	margin: 0;
	padding: 10px;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.aes-widget[data-aes-id="legacy-search-ajax"] .aes-hits .ais-Hits-item:hover {
	background-color: #acacac1f;
	box-shadow: rgb(9 30 66 / 12%) 0 0 3px 1px;
}
.aes-widget[data-aes-id="legacy-search-ajax"] .aes-hit-title {
	margin: 0;
	font-family: "Lato", sans-serif;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.3;
	color: rgb(5, 94, 148);
}
.aes-widget[data-aes-id="legacy-search-ajax"] .aes-hit-excerpt {
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	line-height: 1.35em;
	color: rgb(74, 74, 74);
	text-transform: lowercase;
}
.aes-widget[data-aes-id="legacy-search-ajax"] .aes-pagination {
	display: none;
}
