.algolia-autocomplete {
	z-index: 999999 !important;
	
}
.aa-dropdown-menu {
	/* we set the width in JS */
	font-family: sans-serif;
	background-color: #fff;
	border-top: none;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	box-shadow: none!Important;
}

.aa-dropdown-menu:after {
	content: " ";
	display: block;
	clear: both;

}

.aa-dropdown-menu .aa-input, .aa-dropdown-menu .aa-hint {
	width: 100%;
}
.aa-dropdown-menu .aa-hint {
	color: #999;
}

/* Font */
.aa-dropdown-menu {
	color: #1a1a1a;
	font-size: 13px;
}

.aa-dropdown-menu a {
	font-size: 13px;
	color: #000;
	font-weight: normal;
	text-decoration: none;
}
.aa-dropdown-menu a:hover {
	text-decoration: none;
}

/* Header */
.aa-dropdown-menu .autocomplete-header {
	margin: 0 14px;
	line-height: 3em;
	border-bottom: 0px solid rgba(0,0,0,.05);
}
.aa-dropdown-menu .autocomplete-header-title,
.aa-dropdown-menu .autocomplete-header-more
{
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: bold;
}

.aa-dropdown-menu .autocomplete-header-title {
	float: left;
}

.aa-dropdown-menu .autocomplete-header-more {
	float: right;
}

.aa-dropdown-menu .autocomplete-header-more a {
	color: rgba(0,0,0,.3);
	font-weight: bold;
}

.aa-dropdown-menu .autocomplete-header-more a:hover {
	color:  rgba(0,0,0,.4);
}

/* Suggestion */

.aa-dropdown-menu .aa-suggestion {
	padding: 5px 0;

}

.aa-dropdown-menu .aa-suggestion:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.aa-dropdown-menu .aa-suggestion em {
	color: #174d8c;
	background: #fff;
	font-style: normal;
}

.aa-dropdown-menu .aa-suggestion .suggestion-post-title {
	font-weight: bold;
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden auto;
}

.aa-dropdown-menu .aa-suggestion .suggestion-post-content {
	color: #63676d;
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: auto!Important;
}

.aa-dropdown-menu .aa-suggestion .suggestion-post-content em {
	padding: 0 0 1px;
	background: inherit;
	box-shadow: none;
	color: inherit;
}

.aa-dropdown-menu .aa-suggestion.aa-cursor {
	background-color: #fff;

}

.aa-dropdown-menu a.suggestion-link {
	display: block;
	padding: 0 14px;
}

.aa-dropdown-menu a.suggestion-link.user-suggestion-link {
	line-height: 32px;
}


.aa-dropdown-menu a.suggestion-link svg {
	vertical-align: middle;
	fill: rgba(0,0,0,.3);
	float: left;
}

.aa-dropdown-menu .suggestion-post-thumbnail {
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
	border-radius: 3px;
	width: 32px;
	height: 32px;
}

.aa-dropdown-menu .suggestion-user-thumbnail {
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
	border-radius: 16px;
	width: 32px;
	height: 32px;
}

/* Footer */
.aa-dropdown-menu .autocomplete-footer-branding {
	padding: 15px 14px 0px;
	float: right;
	color: rgba(0,0,0,.3);
	margin-bottom: 7px;
}

/* Clearfix */
.aa-dropdown-menu .clear {
	clear: both;
}

/* Empty */
.autocomplete-empty {
	clear: both;
	padding: 15px;
}

.autocomplete-empty .empty-query {
	font-weight: bold;
}


.aa-dropdown-menu {
    width: 100%; /* Certifique-se de que o menu dropdown tenha largura total */
    max-width: 1000px; /* Ajuste conforme necessário para o máximo de largura */
    margin: auto; /* Centraliza o menu dropdown */
}

.aa-suggestion {
    width: 20%; /* Cada sugestão ocupa 25% da largura para 4 colunas */
    float: left; /* Alinha as sugestões lado a lado */
    box-sizing: border-box; /* Inclui padding e border na largura */
    padding: 10px; /* Espaçamento interno para cada sugestão */
    display: flex; /* Usa flex para alinhar elementos internos verticalmente */
    align-items: center; /* Centraliza verticalmente o conteúdo dentro da sugestão */
}

.aa-suggestion .suggestion-post-thumbnail {
    width: 100%!Important; /* Aumenta o tamanho da imagem para melhor visualização */
    height: auto!Important; /* Mantém a proporção da imagem */
    margin-right: 10px; /* Espaço entre imagem e texto */
    float: none; /* Remove o float para trabalhar com flex */
}

.aa-suggestion .suggestion-post-title,
.aa-suggestion .suggestion-post-content {
    flex: 1; /* Ocupa o espaço restante */
    white-space: normal; /* Permite que o texto ocupe mais de uma linha se necessário */
}

.aa-dropdown-menu .clear,
.aa-dropdown-menu .autocomplete-footer-branding {
    clear: both; /* Garante que nada flutue ao lado do footer */
}


.aa-dropdown-menu {
        font-family: sans-serif;
        background-color: #fff;
        border-top: none;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        box-shadow: none;
        width: 100%; /* Certifique-se de que o menu dropdown tenha largura total */
        max-width: 1000px; /* Ajuste conforme necessário para o máximo de largura */
        margin: auto; /* Centraliza o menu dropdown */
        display: block !important; /* Força o menu a ficar sempre visível */
        position: static !important; /* Pode precisar ajustar conforme o layout */
        opacity: 1 !important; /* Garante que o menu não fique transparente */
        visibility: visible !important; /* Força a visibilidade do menu */
    }
    
    
    .algolia-autocomplete {

    width: 100%!Important;
    left: 0!Important;
    background: #fff!Important;
}



@media only screen and (max-width: 979px) {
    
.aa-suggestion {
    display: block!Important; /* Define o layout flexível para as sugestões */
    align-items: center; /* Centraliza os itens verticalmente */
    width: 100%!Important; /* Utiliza a largura total disponível */
    padding: 10px; /* Adiciona um pouco de espaço interno */
}

.aa-suggestion .suggestion-post-thumbnail {
    width: 100px!Important; /* Define a largura da imagem para 20% da sugestão */
    height: auto; /* Mantém a proporção da imagem */
    margin-right: 10px; /* Espaço entre imagem e texto */
    float: none; /* Remove float, não necessário com flexbox */
}

.aa-suggestion .suggestion-post-title,
.aa-suggestion .suggestion-post-content {
    flex-grow: 1; /* Permite que o texto ocupe o restante do espaço */
    white-space: normal; /* Permite quebra de linha */
}
    .aa-suggestion {
        flex-direction: row; /* Organiza os elementos em uma linha */
    }
    
    .suggestion-post-attributes {
    DISPLAY: inline-grid!Important;
}

.aa-suggestion .suggestion-post-thumbnail {
    width: 70px!Important;
    height: auto;
    margin-right: 20px!Important;
    float: none;
    MARGIN-LEFT: 50PX!Important;
}
}
